Skip to content

Commit 746b0c9

Browse files
authored
Add mcp to team capabilities (#7636)
1 parent 0f38a12 commit 746b0c9

File tree

4 files changed

+17
-0
lines changed

4 files changed

+17
-0
lines changed

.changeset/free-boxes-lose.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@thirdweb-dev/service-utils": patch
3+
---
4+
5+
add `mcp` to team capabilities

apps/dashboard/src/@/storybook/stubs.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ export function teamStub(id: string, billingPlan: Team["billingPlan"]): Team {
8585
totalFileSizeBytesLimit: 1_000_000_000,
8686
},
8787
},
88+
mcp: {
89+
enabled: true,
90+
rateLimit: 10,
91+
},
8892
},
8993
createdAt: new Date().toISOString(),
9094
dedicatedSupportChannel: null,

packages/service-utils/src/core/api.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,10 @@ type TeamCapabilities = {
112112
enabled: boolean;
113113
rateLimit: number;
114114
};
115+
mcp: {
116+
enabled: boolean;
117+
rateLimit: number;
118+
};
115119
};
116120

117121
type TeamPlan =

packages/service-utils/src/mocks.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,10 @@ export const validTeamResponse: TeamResponse = {
103103
totalFileSizeBytesLimit: 1_000_000_000,
104104
},
105105
},
106+
mcp: {
107+
enabled: true,
108+
rateLimit: 10,
109+
},
106110
},
107111
createdAt: new Date("2024-06-01").toISOString(),
108112
dedicatedSupportChannel: null,

0 commit comments

Comments
 (0)