@clerk/types
Advanced tools
Comparing version 1.5.0 to 1.6.0
@@ -7,3 +7,3 @@ /** | ||
import { PreferredSignInStrategy, SignInIdentifier, SignInStatus, SignInStrategy, SignInStrategyName, UserData } from './signIn'; | ||
import { SignUpAttributeRequirements, SignUpIdentificationRequirements, SignUpMissingRequirements, SignUpStatus } from './signUp'; | ||
import { SignUpAttributeRequirements, SignUpField, SignUpIdentificationField, SignUpIdentificationRequirements, SignUpMissingRequirements, SignUpStatus } from './signUp'; | ||
import { BoxShadow, Color, EmUnit, FontFamily, FontWeight, HexColor } from './theme'; | ||
@@ -77,2 +77,5 @@ export interface ClerkResourceJSON { | ||
status: SignUpStatus; | ||
required_fields: SignUpField[]; | ||
optional_fields: SignUpField[]; | ||
unverified_fields: SignUpIdentificationField[]; | ||
identification_requirements: SignUpIdentificationRequirements; | ||
@@ -79,0 +82,0 @@ attribute_requirements: SignUpAttributeRequirements; |
@@ -7,2 +7,5 @@ import { OAuthStrategy } from './oauth'; | ||
status: SignUpStatus | null; | ||
requiredFields: SignUpField[]; | ||
optionalFields: SignUpField[]; | ||
unverifiedFields: SignUpIdentificationField[]; | ||
identificationRequirements: SignUpIdentificationRequirements; | ||
@@ -38,3 +41,5 @@ attributeRequirements: SignUpAttributeRequirements; | ||
export declare type SignUpStatus = 'missing_requirements' | 'complete' | 'abandoned'; | ||
export declare type SignUpIdentification = 'email_address' | 'phone_number' | 'username' | OAuthStrategy; | ||
export declare type SignUpField = SignUpAttribute | SignUpIdentificationField; | ||
export declare type SignUpIdentificationField = 'email_address' | 'phone_number' | 'username'; | ||
export declare type SignUpIdentification = SignUpIdentificationField | OAuthStrategy; | ||
export declare type SignUpIdentificationRequirements = SignUpIdentification[][]; | ||
@@ -41,0 +46,0 @@ export declare type SignUpAttribute = 'first_name' | 'last_name' | 'password' | 'birthday' | 'gender'; |
{ | ||
"name": "@clerk/types", | ||
"version": "1.5.0", | ||
"version": "1.6.0", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Clerk.dev Types", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
76691
1094