File tree Expand file tree Collapse file tree 1 file changed +9
-15
lines changed
Expand file tree Collapse file tree 1 file changed +9
-15
lines changed Original file line number Diff line number Diff line change @@ -364,29 +364,23 @@ export interface OrganizationDomainJSON extends ClerkResourceJSON {
364364 updated_at: number;
365365}
366366
367+ export interface PublicOrganizationDataJSON {
368+ id: string;
369+ name: string;
370+ slug: string | null;
371+ has_image: boolean;
372+ image_url: string;
373+ }
374+
367375export interface OrganizationSuggestionJSON extends ClerkResourceJSON {
368376 object: 'organization_suggestion';
369377 id: string;
370- public_organization_data: {
371- id: string;
372- name: string;
373- slug: string | null;
374- has_image: boolean;
375- image_url: string;
376- };
378+ public_organization_data: PublicOrganizationDataJSON;
377379 status: OrganizationSuggestionStatus;
378380 created_at: number;
379381 updated_at: number;
380382}
381383
382- export interface PublicOrganizationDataJSON extends ClerkResourceJSON {
383- id: string;
384- name: string;
385- slug: string | null;
386- has_image: boolean;
387- image_url: string;
388- }
389-
390384export interface OrganizationSuggestionJSON extends ClerkResourceJSON {
391385 object: 'organization_suggestion';
392386 id: string;
You can’t perform that action at this time.
0 commit comments