@@ -16,12 +16,19 @@ const promptTypes = [
1616 'login' ,
1717 'login-id' ,
1818 'login-password' ,
19+ 'login-passwordless' ,
1920 'login-email-verification' ,
2021 'signup' ,
2122 'signup-id' ,
2223 'signup-password' ,
24+ 'phone-identifier-enrollment' ,
25+ 'phone-identifier-challenge' ,
26+ 'email-identifier-challenge' ,
2327 'reset-password' ,
28+ 'custom-form' ,
2429 'consent' ,
30+ 'customized-consent' ,
31+ 'logout' ,
2532 'mfa-push' ,
2633 'mfa-otp' ,
2734 'mfa-voice' ,
@@ -38,9 +45,10 @@ const promptTypes = [
3845 'organizations' ,
3946 'invitation' ,
4047 'common' ,
48+ 'captcha' ,
4149] as const ;
4250
43- export type PromptTypes = typeof promptTypes [ number ] ;
51+ export type PromptTypes = ( typeof promptTypes ) [ number ] ;
4452
4553const screenTypes = [
4654 'login' ,
@@ -104,7 +112,7 @@ const screenTypes = [
104112 'login-passwordless-sms-otp' ,
105113] as const ;
106114
107- export type ScreenTypes = typeof screenTypes [ number ] ;
115+ export type ScreenTypes = ( typeof screenTypes ) [ number ] ;
108116
109117const customPartialsPromptTypes = [
110118 'login' ,
@@ -116,7 +124,7 @@ const customPartialsPromptTypes = [
116124 'signup-password' ,
117125] ;
118126
119- export type CustomPartialsPromptTypes = typeof customPartialsPromptTypes [ number ] ;
127+ export type CustomPartialsPromptTypes = ( typeof customPartialsPromptTypes ) [ number ] ;
120128
121129const customPartialsScreenTypes = [
122130 'login' ,
@@ -129,7 +137,7 @@ const customPartialsScreenTypes = [
129137 'login-passwordless-email-code' ,
130138] as const ;
131139
132- export type CustomPartialsScreenTypes = typeof customPartialsPromptTypes [ number ] ;
140+ export type CustomPartialsScreenTypes = ( typeof customPartialsPromptTypes ) [ number ] ;
133141
134142const customPartialsInsertionPoints = [
135143 'form-content-start' ,
@@ -140,7 +148,7 @@ const customPartialsInsertionPoints = [
140148 'secondary-actions-end' ,
141149] as const ;
142150
143- export type CustomPartialsInsertionPoints = typeof customPartialsInsertionPoints [ number ] ;
151+ export type CustomPartialsInsertionPoints = ( typeof customPartialsInsertionPoints ) [ number ] ;
144152
145153export type CustomPromptPartialsScreens = Partial < {
146154 [ screen in CustomPartialsScreenTypes ] : Partial < {
0 commit comments