@clerk/types 4.69.0-snapshot.v20250722142254 → 4.69.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +15 -1
- package/dist/index.d.ts +15 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2824,8 +2824,15 @@ interface PublicUserData {
|
|
|
2824
2824
|
identifier: string;
|
|
2825
2825
|
userId?: string;
|
|
2826
2826
|
}
|
|
2827
|
+
/**
|
|
2828
|
+
* Represents a required action that a user must complete
|
|
2829
|
+
* before their session becomes fully active
|
|
2830
|
+
*/
|
|
2827
2831
|
interface SessionTask {
|
|
2828
|
-
|
|
2832
|
+
/**
|
|
2833
|
+
* The unique identifier for the type of task that needs to be completed
|
|
2834
|
+
*/
|
|
2835
|
+
key: 'select-organization';
|
|
2829
2836
|
}
|
|
2830
2837
|
type GetTokenOptions = {
|
|
2831
2838
|
template?: string;
|
|
@@ -7852,6 +7859,13 @@ type ClerkOptions = PendingSessionOptions & ClerkOptionsNavigation & SignInForce
|
|
|
7852
7859
|
* @internal
|
|
7853
7860
|
*/
|
|
7854
7861
|
__internal_keyless_dismissPrompt?: (() => Promise<void>) | null;
|
|
7862
|
+
/**
|
|
7863
|
+
* Customize the URL paths users are redirected to after sign-in or sign-up when specific
|
|
7864
|
+
* session tasks need to be completed.
|
|
7865
|
+
*
|
|
7866
|
+
* @default undefined - Uses Clerk's default task flow URLs
|
|
7867
|
+
*/
|
|
7868
|
+
taskUrls?: Record<SessionTask['key'], string>;
|
|
7855
7869
|
};
|
|
7856
7870
|
interface NavigateOptions {
|
|
7857
7871
|
replace?: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -2824,8 +2824,15 @@ interface PublicUserData {
|
|
|
2824
2824
|
identifier: string;
|
|
2825
2825
|
userId?: string;
|
|
2826
2826
|
}
|
|
2827
|
+
/**
|
|
2828
|
+
* Represents a required action that a user must complete
|
|
2829
|
+
* before their session becomes fully active
|
|
2830
|
+
*/
|
|
2827
2831
|
interface SessionTask {
|
|
2828
|
-
|
|
2832
|
+
/**
|
|
2833
|
+
* The unique identifier for the type of task that needs to be completed
|
|
2834
|
+
*/
|
|
2835
|
+
key: 'select-organization';
|
|
2829
2836
|
}
|
|
2830
2837
|
type GetTokenOptions = {
|
|
2831
2838
|
template?: string;
|
|
@@ -7852,6 +7859,13 @@ type ClerkOptions = PendingSessionOptions & ClerkOptionsNavigation & SignInForce
|
|
|
7852
7859
|
* @internal
|
|
7853
7860
|
*/
|
|
7854
7861
|
__internal_keyless_dismissPrompt?: (() => Promise<void>) | null;
|
|
7862
|
+
/**
|
|
7863
|
+
* Customize the URL paths users are redirected to after sign-in or sign-up when specific
|
|
7864
|
+
* session tasks need to be completed.
|
|
7865
|
+
*
|
|
7866
|
+
* @default undefined - Uses Clerk's default task flow URLs
|
|
7867
|
+
*/
|
|
7868
|
+
taskUrls?: Record<SessionTask['key'], string>;
|
|
7855
7869
|
};
|
|
7856
7870
|
interface NavigateOptions {
|
|
7857
7871
|
replace?: boolean;
|