File tree Expand file tree Collapse file tree
clerk-js/src/core/resources Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,6 +25,10 @@ export class DisplayConfig extends BaseResource implements DisplayConfigResource
2525 userProfileUrl ! : string ;
2626 clerkJSVersion ?: string ;
2727 experimental__forceOauthFirst ?: boolean ;
28+ organizationProfileUrl ! : string ;
29+ createOrganizationUrl ! : string ;
30+ afterLeaveOrganizationUrl ! : string ;
31+ afterCreateOrganizationUrl ! : string ;
2832
2933 public constructor ( data : DisplayConfigJSON ) {
3034 super ( ) ;
@@ -54,6 +58,10 @@ export class DisplayConfig extends BaseResource implements DisplayConfigResource
5458 this . supportEmail = data . support_email || '' ;
5559 this . clerkJSVersion = data . clerk_js_version ;
5660 this . experimental__forceOauthFirst = data . experimental_force_oauth_first || false ;
61+ this . organizationProfileUrl = data . organization_profile_url ;
62+ this . createOrganizationUrl = data . create_organization_url ;
63+ this . afterLeaveOrganizationUrl = data . after_leave_organization_url ;
64+ this . afterCreateOrganizationUrl = data . after_create_organization_url ;
5765 return this ;
5866 }
5967}
Original file line number Diff line number Diff line change @@ -27,6 +27,10 @@ export interface DisplayConfigJSON {
2727 user_profile_url : string ;
2828 clerk_js_version ?: string ;
2929 experimental_force_oauth_first ?: boolean ;
30+ organization_profile_url : string ;
31+ create_organization_url : string ;
32+ after_leave_organization_url : string ;
33+ after_create_organization_url : string ;
3034}
3135
3236export interface DisplayConfigResource extends ClerkResource {
@@ -52,4 +56,8 @@ export interface DisplayConfigResource extends ClerkResource {
5256 userProfileUrl : string ;
5357 clerkJSVersion ?: string ;
5458 experimental__forceOauthFirst ?: boolean ;
59+ organizationProfileUrl : string ;
60+ createOrganizationUrl : string ;
61+ afterLeaveOrganizationUrl : string ;
62+ afterCreateOrganizationUrl : string ;
5563}
You can’t perform that action at this time.
0 commit comments