Skip to content

Commit 2497c3a

Browse files
committed
fix(types): PublicOrganizationDataJSON should not extend ClerkResourceJSON
1 parent 304fe9d commit 2497c3a

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

packages/types/src/json.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ export interface OrganizationDomainJSON extends ClerkResourceJSON {
364364
updated_at: number;
365365
}
366366

367-
export interface PublicOrganizationDataJSON extends ClerkResourceJSON {
367+
export interface PublicOrganizationDataJSON {
368368
id: string;
369369
name: string;
370370
slug: string | null;
@@ -381,6 +381,15 @@ export interface OrganizationSuggestionJSON extends ClerkResourceJSON {
381381
updated_at: number;
382382
}
383383

384+
export interface OrganizationSuggestionJSON extends ClerkResourceJSON {
385+
object: 'organization_suggestion';
386+
id: string;
387+
public_organization_data: PublicOrganizationDataJSON;
388+
status: OrganizationSuggestionStatus;
389+
created_at: number;
390+
updated_at: number;
391+
}
392+
384393
export interface OrganizationMembershipRequestJSON extends ClerkResourceJSON {
385394
object: 'organization_membership_request';
386395
id: string;

0 commit comments

Comments
 (0)