Skip to content

Commit 17828f4

Browse files
committed
Add webhooks capability to insight team capabilities
1 parent 1d598ce commit 17828f4

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

.changeset/smooth-ghosts-rhyme.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@thirdweb-dev/service-utils": patch
3+
---
4+
5+
add insight.webhooks to capabilities

apps/dashboard/src/stories/stubs.ts

+1
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ export function teamStub(id: string, billingPlan: Team["billingPlan"]): Team {
7979
insight: {
8080
enabled: true,
8181
rateLimit: 1000,
82+
webhooks: true,
8283
},
8384
embeddedWallets: {
8485
enabled: true,

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

+1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ type TeamCapabilities = {
5555
insight: {
5656
enabled: boolean;
5757
rateLimit: number;
58+
webhooks: boolean;
5859
};
5960
storage: {
6061
enabled: boolean;

packages/service-utils/src/mocks.ts

+1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ export const validTeamResponse: TeamResponse = {
6767
insight: {
6868
enabled: true,
6969
rateLimit: 1000,
70+
webhooks: true,
7071
},
7172
storage: {
7273
enabled: true,

0 commit comments

Comments
 (0)