@aooth/auth-moost 0.2.1 → 0.2.3

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.
@@ -1,10 +1,9 @@
1
1
  import { TAtscriptAnnotatedType, TAtscriptTypeObject, TMetadataMap, TValidatorOptions, Validator } from "@atscript/typescript/utils";
2
- //#region src/atscript/models/forms.as.d.ts
3
2
  /**
4
3
  * Atscript interface **WithInlineConsentForm**
5
4
  * @see {@link ./forms.as:34:18}
6
5
  */
7
- declare class WithInlineConsentForm {
6
+ export declare class WithInlineConsentForm {
8
7
  consents: string[];
9
8
  static __is_atscript_annotated_type: true;
10
9
  static type: TAtscriptTypeObject<keyof WithInlineConsentForm, WithInlineConsentForm>;
@@ -19,7 +18,7 @@ declare class WithInlineConsentForm {
19
18
  * Atscript interface **LoginCredentialsForm**
20
19
  * @see {@link ./forms.as:61:18}
21
20
  */
22
- declare class LoginCredentialsForm {
21
+ export declare class LoginCredentialsForm {
23
22
  username: string;
24
23
  password: string;
25
24
  // signup: ui.action
@@ -38,7 +37,7 @@ declare class LoginCredentialsForm {
38
37
  * Atscript interface **MfaCodeForm**
39
38
  * @see {@link ./forms.as:137:18}
40
39
  */
41
- declare class MfaCodeForm {
40
+ export declare class MfaCodeForm {
42
41
  // transportHint: ui.paragraph
43
42
  code: string;
44
43
  // useDifferentMethod: ui.action
@@ -56,7 +55,7 @@ declare class MfaCodeForm {
56
55
  * Atscript interface **EmailIdentifierForm**
57
56
  * @see {@link ./forms.as:174:18}
58
57
  */
59
- declare class EmailIdentifierForm {
58
+ export declare class EmailIdentifierForm {
60
59
  email: string; /* email */
61
60
  // backToLogin: ui.action
62
61
  static __is_atscript_annotated_type: true;
@@ -72,7 +71,7 @@ declare class EmailIdentifierForm {
72
71
  * Atscript interface **SignupForm**
73
72
  * @see {@link ./forms.as:206:18}
74
73
  */
75
- declare class SignupForm {
74
+ export declare class SignupForm {
76
75
  email: string; /* email */
77
76
  // backToLogin: ui.action
78
77
  static __is_atscript_annotated_type: true;
@@ -88,7 +87,7 @@ declare class SignupForm {
88
87
  * Atscript interface **SetPasswordForm**
89
88
  * @see {@link ./forms.as:264:18}
90
89
  */
91
- declare class SetPasswordForm extends WithInlineConsentForm {
90
+ export declare class SetPasswordForm extends WithInlineConsentForm {
92
91
  // intro: ui.paragraph
93
92
  newPassword: string;
94
93
  confirmPassword: string;
@@ -106,7 +105,7 @@ declare class SetPasswordForm extends WithInlineConsentForm {
106
105
  * Atscript interface **InviteForm**
107
106
  * @see {@link ./forms.as:342:18}
108
107
  */
109
- declare class InviteForm {
108
+ export declare class InviteForm {
110
109
  email: string; /* email */
111
110
  roles: string[];
112
111
  static __is_atscript_annotated_type: true;
@@ -122,7 +121,7 @@ declare class InviteForm {
122
121
  * Atscript interface **InviteChooseUsernameForm**
123
122
  * @see {@link ./forms.as:367:18}
124
123
  */
125
- declare class InviteChooseUsernameForm {
124
+ export declare class InviteChooseUsernameForm {
126
125
  username: string;
127
126
  static __is_atscript_annotated_type: true;
128
127
  static type: TAtscriptTypeObject<keyof InviteChooseUsernameForm, InviteChooseUsernameForm>;
@@ -137,7 +136,7 @@ declare class InviteChooseUsernameForm {
137
136
  * Atscript interface **Select2faForm**
138
137
  * @see {@link ./forms.as:391:18}
139
138
  */
140
- declare class Select2faForm {
139
+ export declare class Select2faForm {
141
140
  methodName: string;
142
141
  saveAsDefault: boolean;
143
142
  rememberDevice: boolean;
@@ -154,7 +153,7 @@ declare class Select2faForm {
154
153
  * Atscript interface **PincodeForm**
155
154
  * @see {@link ./forms.as:441:18}
156
155
  */
157
- declare class PincodeForm {
156
+ export declare class PincodeForm {
158
157
  // transportHint: ui.paragraph
159
158
  code: string;
160
159
  rememberDevice: boolean;
@@ -174,7 +173,7 @@ declare class PincodeForm {
174
173
  * Atscript interface **AskEmailForm**
175
174
  * @see {@link ./forms.as:480:18}
176
175
  */
177
- declare class AskEmailForm extends WithInlineConsentForm {
176
+ export declare class AskEmailForm extends WithInlineConsentForm {
178
177
  // disclosure: ui.paragraph
179
178
  email: string; /* email */
180
179
  static __is_atscript_annotated_type: true;
@@ -190,7 +189,7 @@ declare class AskEmailForm extends WithInlineConsentForm {
190
189
  * Atscript interface **AskPhoneForm**
191
190
  * @see {@link ./forms.as:510:18}
192
191
  */
193
- declare class AskPhoneForm extends WithInlineConsentForm {
192
+ export declare class AskPhoneForm extends WithInlineConsentForm {
194
193
  // disclosure: ui.paragraph
195
194
  phone: string;
196
195
  static __is_atscript_annotated_type: true;
@@ -206,7 +205,7 @@ declare class AskPhoneForm extends WithInlineConsentForm {
206
205
  * Atscript interface **EnrollPickMethodForm**
207
206
  * @see {@link ./forms.as:534:18}
208
207
  */
209
- declare class EnrollPickMethodForm {
208
+ export declare class EnrollPickMethodForm {
210
209
  method: string;
211
210
  // skip: ui.action
212
211
  // cancel: ui.action
@@ -223,7 +222,7 @@ declare class EnrollPickMethodForm {
223
222
  * Atscript interface **EnrollAddressForm**
224
223
  * @see {@link ./forms.as:568:18}
225
224
  */
226
- declare class EnrollAddressForm {
225
+ export declare class EnrollAddressForm {
227
226
  address: string;
228
227
  // skip: ui.action
229
228
  // cancel: ui.action
@@ -241,7 +240,7 @@ declare class EnrollAddressForm {
241
240
  * Atscript interface **EnrollConfirmForm**
242
241
  * @see {@link ./forms.as:614:18}
243
242
  */
244
- declare class EnrollConfirmForm {
243
+ export declare class EnrollConfirmForm {
245
244
  // transportHint: ui.paragraph
246
245
  code: string;
247
246
  // resend: ui.action
@@ -261,7 +260,7 @@ declare class EnrollConfirmForm {
261
260
  * Atscript interface **EnrollTotpQrForm**
262
261
  * @see {@link ./forms.as:664:18}
263
262
  */
264
- declare class EnrollTotpQrForm {
263
+ export declare class EnrollTotpQrForm {
265
264
  // qrCode: ui.paragraph
266
265
  // useDifferentMethod: ui.action
267
266
  // cancel: ui.action
@@ -279,7 +278,7 @@ declare class EnrollTotpQrForm {
279
278
  * Atscript interface **ManageMfaForm**
280
279
  * @see {@link ./forms.as:707:18}
281
280
  */
282
- declare class ManageMfaForm {
281
+ export declare class ManageMfaForm {
283
282
  // lockedNote: ui.paragraph
284
283
  // requiredNote: ui.paragraph
285
284
  operation: string;
@@ -297,7 +296,7 @@ declare class ManageMfaForm {
297
296
  * Atscript interface **RemoveMfaConfirmForm**
298
297
  * @see {@link ./forms.as:741:18}
299
298
  */
300
- declare class RemoveMfaConfirmForm {
299
+ export declare class RemoveMfaConfirmForm {
301
300
  // notice: ui.paragraph
302
301
  // cancel: ui.action
303
302
  static __is_atscript_annotated_type: true;
@@ -313,7 +312,7 @@ declare class RemoveMfaConfirmForm {
313
312
  * Atscript interface **PasswordReauthForm**
314
313
  * @see {@link ./forms.as:764:18}
315
314
  */
316
- declare class PasswordReauthForm {
315
+ export declare class PasswordReauthForm {
317
316
  password: string;
318
317
  // cancel: ui.action
319
318
  static __is_atscript_annotated_type: true;
@@ -329,7 +328,7 @@ declare class PasswordReauthForm {
329
328
  * Atscript interface **StepUpConfirmForm**
330
329
  * @see {@link ./forms.as:795:18}
331
330
  */
332
- declare class StepUpConfirmForm {
331
+ export declare class StepUpConfirmForm {
333
332
  // notice: ui.paragraph
334
333
  // useDifferentMethod: ui.action
335
334
  // cancel: ui.action
@@ -346,7 +345,7 @@ declare class StepUpConfirmForm {
346
345
  * Atscript interface **TermsBumpForm**
347
346
  * @see {@link ./forms.as:823:18}
348
347
  */
349
- declare class TermsBumpForm extends WithInlineConsentForm {
348
+ export declare class TermsBumpForm extends WithInlineConsentForm {
350
349
  static __is_atscript_annotated_type: true;
351
350
  static type: TAtscriptTypeObject<keyof TermsBumpForm, TermsBumpForm>;
352
351
  static metadata: TMetadataMap<AtscriptMetadata>;
@@ -360,7 +359,7 @@ declare class TermsBumpForm extends WithInlineConsentForm {
360
359
  * Atscript interface **ConcurrencyLimitForm**
361
360
  * @see {@link ./forms.as:836:18}
362
361
  */
363
- declare class ConcurrencyLimitForm {
362
+ export declare class ConcurrencyLimitForm {
364
363
  static __is_atscript_annotated_type: true;
365
364
  static type: TAtscriptTypeObject<keyof ConcurrencyLimitForm, ConcurrencyLimitForm>;
366
365
  static metadata: TMetadataMap<AtscriptMetadata>;
@@ -374,7 +373,7 @@ declare class ConcurrencyLimitForm {
374
373
  * Atscript interface **MagicLinkRequestForm**
375
374
  * @see {@link ./forms.as:846:18}
376
375
  */
377
- declare class MagicLinkRequestForm {
376
+ export declare class MagicLinkRequestForm {
378
377
  identifier: string;
379
378
  static __is_atscript_annotated_type: true;
380
379
  static type: TAtscriptTypeObject<keyof MagicLinkRequestForm, MagicLinkRequestForm>;
@@ -389,7 +388,7 @@ declare class MagicLinkRequestForm {
389
388
  * Atscript interface **RecoveryModeSelectForm**
390
389
  * @see {@link ./forms.as:861:18}
391
390
  */
392
- declare class RecoveryModeSelectForm {
391
+ export declare class RecoveryModeSelectForm {
393
392
  mode: string;
394
393
  static __is_atscript_annotated_type: true;
395
394
  static type: TAtscriptTypeObject<keyof RecoveryModeSelectForm, RecoveryModeSelectForm>;
@@ -404,7 +403,7 @@ declare class RecoveryModeSelectForm {
404
403
  * Atscript interface **RecoveryFactorForm**
405
404
  * @see {@link ./forms.as:884:18}
406
405
  */
407
- declare class RecoveryFactorForm {
406
+ export declare class RecoveryFactorForm {
408
407
  factor: string;
409
408
  value: string;
410
409
  static __is_atscript_annotated_type: true;
@@ -420,7 +419,7 @@ declare class RecoveryFactorForm {
420
419
  * Atscript interface **ChangePasswordForm**
421
420
  * @see {@link ./forms.as:918:18}
422
421
  */
423
- declare class ChangePasswordForm {
422
+ export declare class ChangePasswordForm {
424
423
  // intro: ui.paragraph
425
424
  currentPassword: string;
426
425
  newPassword: string;
@@ -439,7 +438,7 @@ declare class ChangePasswordForm {
439
438
  * Atscript interface **ProveControlForm**
440
439
  * @see {@link ./forms.as:983:18}
441
440
  */
442
- declare class ProveControlForm {
441
+ export declare class ProveControlForm {
443
442
  // intro: ui.paragraph
444
443
  password: string;
445
444
  // cancel: ui.action
@@ -456,7 +455,7 @@ declare class ProveControlForm {
456
455
  * Atscript interface **ProveControlOtpForm**
457
456
  * @see {@link ./forms.as:1018:18}
458
457
  */
459
- declare class ProveControlOtpForm {
458
+ export declare class ProveControlOtpForm {
460
459
  // intro: ui.paragraph
461
460
  code: string;
462
461
  // resend: ui.action
@@ -474,7 +473,7 @@ declare class ProveControlOtpForm {
474
473
  * Atscript interface **AuthorizeConsentForm**
475
474
  * @see {@link ./forms.as:1070:18}
476
475
  */
477
- declare class AuthorizeConsentForm {
476
+ export declare class AuthorizeConsentForm {
478
477
  // notice: ui.paragraph
479
478
  // signedIn: ui.paragraph
480
479
  // deny: ui.action
@@ -487,6 +486,4 @@ declare class AuthorizeConsentForm {
487
486
  /** @deprecated Example Data support is disabled. To enable, set `exampleData: true` in tsPlugin options. */
488
487
  static toExampleData?: () => any;
489
488
  }
490
- // prettier-ignore-end
491
- //#endregion
492
- export { AskEmailForm, AskPhoneForm, AuthorizeConsentForm, ChangePasswordForm, ConcurrencyLimitForm, EmailIdentifierForm, EnrollAddressForm, EnrollConfirmForm, EnrollPickMethodForm, EnrollTotpQrForm, InviteChooseUsernameForm, InviteForm, LoginCredentialsForm, MagicLinkRequestForm, ManageMfaForm, MfaCodeForm, PasswordReauthForm, PincodeForm, ProveControlForm, ProveControlOtpForm, RecoveryFactorForm, RecoveryModeSelectForm, RemoveMfaConfirmForm, Select2faForm, SetPasswordForm, SignupForm, StepUpConfirmForm, TermsBumpForm, WithInlineConsentForm };
489
+ // prettier-ignore-end
@@ -1,2 +1 @@
1
- import { C as RemoveMfaConfirmForm, D as StepUpConfirmForm, E as SignupForm, O as TermsBumpForm, S as RecoveryModeSelectForm, T as SetPasswordForm, _ as PasswordReauthForm, a as ConcurrencyLimitForm, b as ProveControlOtpForm, c as EnrollConfirmForm, d as InviteChooseUsernameForm, f as InviteForm, g as MfaCodeForm, h as ManageMfaForm, i as ChangePasswordForm, k as WithInlineConsentForm, l as EnrollPickMethodForm, m as MagicLinkRequestForm, n as AskPhoneForm, o as EmailIdentifierForm, p as LoginCredentialsForm, r as AuthorizeConsentForm, s as EnrollAddressForm, t as AskEmailForm, u as EnrollTotpQrForm, v as PincodeForm, w as Select2faForm, x as RecoveryFactorForm, y as ProveControlForm } from "../forms-DDn6m5rP.mjs";
2
- export { AskEmailForm, AskPhoneForm, AuthorizeConsentForm, ChangePasswordForm, ConcurrencyLimitForm, EmailIdentifierForm, EnrollAddressForm, EnrollConfirmForm, EnrollPickMethodForm, EnrollTotpQrForm, InviteChooseUsernameForm, InviteForm, LoginCredentialsForm, MagicLinkRequestForm, ManageMfaForm, MfaCodeForm, PasswordReauthForm, PincodeForm, ProveControlForm, ProveControlOtpForm, RecoveryFactorForm, RecoveryModeSelectForm, RemoveMfaConfirmForm, Select2faForm, SetPasswordForm, SignupForm, StepUpConfirmForm, TermsBumpForm, WithInlineConsentForm };
1
+ export { t as AskEmailForm, n as AskPhoneForm, r as AuthorizeConsentForm, i as ChangePasswordForm, a as ConcurrencyLimitForm, o as EmailIdentifierForm, s as EnrollAddressForm, c as EnrollConfirmForm, l as EnrollPickMethodForm, u as EnrollTotpQrForm, d as InviteChooseUsernameForm, f as InviteForm, p as LoginCredentialsForm, m as MagicLinkRequestForm, h as ManageMfaForm, g as MfaCodeForm, _ as PasswordReauthForm, v as PincodeForm, y as ProveControlForm, b as ProveControlOtpForm, x as RecoveryFactorForm, S as RecoveryModeSelectForm, C as RemoveMfaConfirmForm, w as Select2faForm, T as SetPasswordForm, E as SignupForm, D as StepUpConfirmForm, O as TermsBumpForm, k as WithInlineConsentForm } from "../forms-C_VNxSDn.mjs";
@@ -1,5 +1,5 @@
1
1
  import { $ak, $f, $nr, defineAnnotatedType, throwFeatureDisabled } from "@atscript/typescript/utils";
2
- //#region src/atscript/models/forms.as
2
+ // src/atscript/models/forms.as
3
3
  var WithInlineConsentForm = class {
4
4
  static __is_atscript_annotated_type = true;
5
5
  static type = {};
@@ -470,5 +470,4 @@ defineAnnotatedType("object", AuthorizeConsentForm).annotate("meta.label", "Auth
470
470
  name: "align",
471
471
  value: "center"
472
472
  }, true).annotate("ui.form.pushDown", true).optional().$type);
473
- //#endregion
474
473
  export { RemoveMfaConfirmForm as C, StepUpConfirmForm as D, SignupForm as E, TermsBumpForm as O, RecoveryModeSelectForm as S, SetPasswordForm as T, PasswordReauthForm as _, ConcurrencyLimitForm as a, ProveControlOtpForm as b, EnrollConfirmForm as c, InviteChooseUsernameForm as d, InviteForm as f, MfaCodeForm as g, ManageMfaForm as h, ChangePasswordForm as i, WithInlineConsentForm as k, EnrollPickMethodForm as l, MagicLinkRequestForm as m, AskPhoneForm as n, EmailIdentifierForm as o, LoginCredentialsForm as p, AuthorizeConsentForm as r, EnrollAddressForm as s, AskEmailForm as t, EnrollTotpQrForm as u, PincodeForm as v, Select2faForm as w, RecoveryFactorForm as x, ProveControlForm as y };