Skip to content

Commit d95b3d3

Browse files
committed
chore: Add unthreadCustomerId to TeamResponse (#6837)
<!-- start pr-codex --> ## PR-Codex overview This PR focuses on adding a new property, `unthreadCustomerId`, to the `TeamResponse` structure across various files, enhancing the data model for teams in the application. ### Detailed summary - Added `unthreadCustomerId: null` to the `TeamResponse` in `apps/dashboard/src/stories/stubs.ts`. - Updated `validTeamAndProjectResponse` to include `unthreadCustomerId` in `packages/service-utils/src/mocks.ts`. - Defined `unthreadCustomerId: string | null` in the `TeamResponse` interface in `packages/service-utils/src/core/api.ts`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent b50b320 commit d95b3d3

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

.changeset/itchy-carrots-greet.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+
chore: Add unthreadCustomerId to TeamResponse

apps/dashboard/src/stories/stubs.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ export function teamStub(id: string, billingPlan: Team["billingPlan"]): Team {
9696
},
9797
},
9898
planCancellationDate: null,
99+
unthreadCustomerId: null,
99100
};
100101

101102
return team;

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ export type TeamResponse = {
123123
enabledScopes: ServiceName[];
124124
isOnboarded: boolean;
125125
capabilities: TeamCapabilities;
126+
unthreadCustomerId: string | null;
126127
planCancellationDate: string | null;
127128
};
128129

packages/service-utils/src/mocks.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ export const validTeamResponse: TeamResponse = {
9999
},
100100
},
101101
planCancellationDate: null,
102+
unthreadCustomerId: null,
102103
};
103104

104105
export const validTeamAndProjectResponse: TeamAndProjectResponse = {

0 commit comments

Comments
 (0)