Skip to content

Commit

Permalink
Update SignInProps
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcarpenter committed Dec 16, 2024
1 parent 273f234 commit 37f3f57
Showing 1 changed file with 0 additions and 44 deletions.
44 changes: 0 additions & 44 deletions packages/types/src/clerk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -895,50 +895,6 @@ export type RoutingOptions =
| { path?: never; routing?: Extract<RoutingStrategy, 'hash' | 'virtual'> };

export type SignInProps = RoutingOptions & {
/**
* Full URL or path to navigate after successful sign in.
* This value has precedence over other redirect props, environment variables or search params.
* Use this prop to override the redirect URL when needed.
* @default undefined
*/
forceRedirectUrl?: string | null;
/**
* Full URL or path to navigate after successful sign in.
* This value is used when no other redirect props, environment variables or search params are present.
* @default undefined
*/
fallbackRedirectUrl?: string | null;
/**
* Full URL or path to for the sign up process.
* Used to fill the "Sign up" link in the SignUp component.
*/
signUpUrl?: string;
/**
* Customisation options to fully match the Clerk components to your own brand.
* These options serve as overrides and will be merged with the global `appearance`
* prop of ClerkProvider (if one is provided)
*/
appearance?: SignInTheme;
/**
* Initial values that are used to prefill the sign in form.
*/
initialValues?: SignInInitialValues;
/**
* Enable experimental flags to gain access to new features. These flags are not guaranteed to be stable and may change drastically in between patch or minor versions.
*/
__experimental?: Record<string, any> & { newComponents?: boolean; combinedProps?: SignInCombinedProps };
/**
* Full URL or path to for the waitlist process.
* Used to fill the "Join waitlist" link in the SignUp component.
*/
waitlistUrl?: string;
} & TransferableOption &
SignUpForceRedirectUrl &
SignUpFallbackRedirectUrl &
LegacyRedirectProps &
AfterSignOutUrl;

export type SignInCombinedProps = RoutingOptions & {
/**
* Full URL or path to navigate after successful sign in.
* This value has precedence over other redirect props, environment variables or search params.
Expand Down

0 comments on commit 37f3f57

Please sign in to comment.