@authhero/adapter-interfaces 3.1.1 → 3.2.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.
|
@@ -213,6 +213,39 @@ declare const choiceField: z.ZodObject<{
|
|
|
213
213
|
default_value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
214
214
|
}, z.core.$strip>>;
|
|
215
215
|
}, z.core.$strip>;
|
|
216
|
+
declare const codeField: z.ZodObject<{
|
|
217
|
+
id: z.ZodString;
|
|
218
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
219
|
+
visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
220
|
+
category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
|
|
221
|
+
label: z.ZodOptional<z.ZodString>;
|
|
222
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
223
|
+
messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
224
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
225
|
+
text: z.ZodString;
|
|
226
|
+
type: z.ZodEnum<{
|
|
227
|
+
error: "error";
|
|
228
|
+
success: "success";
|
|
229
|
+
info: "info";
|
|
230
|
+
warning: "warning";
|
|
231
|
+
}>;
|
|
232
|
+
}, z.core.$strip>>>;
|
|
233
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
234
|
+
sensitive: z.ZodOptional<z.ZodBoolean>;
|
|
235
|
+
type: z.ZodLiteral<"CODE">;
|
|
236
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
237
|
+
length: z.ZodOptional<z.ZodNumber>;
|
|
238
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
239
|
+
numeric: "numeric";
|
|
240
|
+
alphanumeric: "alphanumeric";
|
|
241
|
+
}>>;
|
|
242
|
+
auto_submit: z.ZodOptional<z.ZodBoolean>;
|
|
243
|
+
group_size: z.ZodOptional<z.ZodNumber>;
|
|
244
|
+
separator: z.ZodOptional<z.ZodString>;
|
|
245
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
246
|
+
default_value: z.ZodOptional<z.ZodString>;
|
|
247
|
+
}, z.core.$strip>>;
|
|
248
|
+
}, z.core.$strip>;
|
|
216
249
|
declare const customField: z.ZodObject<{
|
|
217
250
|
id: z.ZodString;
|
|
218
251
|
order: z.ZodOptional<z.ZodNumber>;
|
|
@@ -801,6 +834,38 @@ export declare const fieldComponentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
801
834
|
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
802
835
|
default_value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
803
836
|
}, z.core.$strip>>;
|
|
837
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
838
|
+
id: z.ZodString;
|
|
839
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
840
|
+
visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
841
|
+
category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
|
|
842
|
+
label: z.ZodOptional<z.ZodString>;
|
|
843
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
844
|
+
messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
845
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
846
|
+
text: z.ZodString;
|
|
847
|
+
type: z.ZodEnum<{
|
|
848
|
+
error: "error";
|
|
849
|
+
success: "success";
|
|
850
|
+
info: "info";
|
|
851
|
+
warning: "warning";
|
|
852
|
+
}>;
|
|
853
|
+
}, z.core.$strip>>>;
|
|
854
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
855
|
+
sensitive: z.ZodOptional<z.ZodBoolean>;
|
|
856
|
+
type: z.ZodLiteral<"CODE">;
|
|
857
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
858
|
+
length: z.ZodOptional<z.ZodNumber>;
|
|
859
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
860
|
+
numeric: "numeric";
|
|
861
|
+
alphanumeric: "alphanumeric";
|
|
862
|
+
}>>;
|
|
863
|
+
auto_submit: z.ZodOptional<z.ZodBoolean>;
|
|
864
|
+
group_size: z.ZodOptional<z.ZodNumber>;
|
|
865
|
+
separator: z.ZodOptional<z.ZodString>;
|
|
866
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
867
|
+
default_value: z.ZodOptional<z.ZodString>;
|
|
868
|
+
}, z.core.$strip>>;
|
|
804
869
|
}, z.core.$strip>, z.ZodObject<{
|
|
805
870
|
id: z.ZodString;
|
|
806
871
|
order: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1368,6 +1433,38 @@ export declare const formNodeComponentDefinition: z.ZodUnion<readonly [z.ZodDisc
|
|
|
1368
1433
|
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
1369
1434
|
default_value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1370
1435
|
}, z.core.$strip>>;
|
|
1436
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1437
|
+
id: z.ZodString;
|
|
1438
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
1439
|
+
visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1440
|
+
category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
|
|
1441
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1442
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
1443
|
+
messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1444
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
1445
|
+
text: z.ZodString;
|
|
1446
|
+
type: z.ZodEnum<{
|
|
1447
|
+
error: "error";
|
|
1448
|
+
success: "success";
|
|
1449
|
+
info: "info";
|
|
1450
|
+
warning: "warning";
|
|
1451
|
+
}>;
|
|
1452
|
+
}, z.core.$strip>>>;
|
|
1453
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
1454
|
+
sensitive: z.ZodOptional<z.ZodBoolean>;
|
|
1455
|
+
type: z.ZodLiteral<"CODE">;
|
|
1456
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
1457
|
+
length: z.ZodOptional<z.ZodNumber>;
|
|
1458
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
1459
|
+
numeric: "numeric";
|
|
1460
|
+
alphanumeric: "alphanumeric";
|
|
1461
|
+
}>>;
|
|
1462
|
+
auto_submit: z.ZodOptional<z.ZodBoolean>;
|
|
1463
|
+
group_size: z.ZodOptional<z.ZodNumber>;
|
|
1464
|
+
separator: z.ZodOptional<z.ZodString>;
|
|
1465
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1466
|
+
default_value: z.ZodOptional<z.ZodString>;
|
|
1467
|
+
}, z.core.$strip>>;
|
|
1371
1468
|
}, z.core.$strip>, z.ZodObject<{
|
|
1372
1469
|
id: z.ZodString;
|
|
1373
1470
|
order: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1756,6 +1853,7 @@ export type RecaptchaWidget = z.infer<typeof recaptchaWidget>;
|
|
|
1756
1853
|
export type BooleanField = z.infer<typeof booleanField>;
|
|
1757
1854
|
export type CardsField = z.infer<typeof cardsField>;
|
|
1758
1855
|
export type ChoiceField = z.infer<typeof choiceField>;
|
|
1856
|
+
export type CodeField = z.infer<typeof codeField>;
|
|
1759
1857
|
export type CountryField = z.infer<typeof countryField>;
|
|
1760
1858
|
export type CustomField = z.infer<typeof customField>;
|
|
1761
1859
|
export type DateField = z.infer<typeof dateField>;
|
|
@@ -2025,6 +2123,38 @@ declare const stepNodeSchema: z.ZodObject<{
|
|
|
2025
2123
|
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
2026
2124
|
default_value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
2027
2125
|
}, z.core.$strip>>;
|
|
2126
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2127
|
+
id: z.ZodString;
|
|
2128
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
2129
|
+
visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2130
|
+
category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
|
|
2131
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2132
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
2133
|
+
messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2134
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
2135
|
+
text: z.ZodString;
|
|
2136
|
+
type: z.ZodEnum<{
|
|
2137
|
+
error: "error";
|
|
2138
|
+
success: "success";
|
|
2139
|
+
info: "info";
|
|
2140
|
+
warning: "warning";
|
|
2141
|
+
}>;
|
|
2142
|
+
}, z.core.$strip>>>;
|
|
2143
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2144
|
+
sensitive: z.ZodOptional<z.ZodBoolean>;
|
|
2145
|
+
type: z.ZodLiteral<"CODE">;
|
|
2146
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
2147
|
+
length: z.ZodOptional<z.ZodNumber>;
|
|
2148
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
2149
|
+
numeric: "numeric";
|
|
2150
|
+
alphanumeric: "alphanumeric";
|
|
2151
|
+
}>>;
|
|
2152
|
+
auto_submit: z.ZodOptional<z.ZodBoolean>;
|
|
2153
|
+
group_size: z.ZodOptional<z.ZodNumber>;
|
|
2154
|
+
separator: z.ZodOptional<z.ZodString>;
|
|
2155
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
2156
|
+
default_value: z.ZodOptional<z.ZodString>;
|
|
2157
|
+
}, z.core.$strip>>;
|
|
2028
2158
|
}, z.core.$strip>, z.ZodObject<{
|
|
2029
2159
|
id: z.ZodString;
|
|
2030
2160
|
order: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2630,6 +2760,38 @@ export declare const formNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2630
2760
|
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
2631
2761
|
default_value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
2632
2762
|
}, z.core.$strip>>;
|
|
2763
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2764
|
+
id: z.ZodString;
|
|
2765
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
2766
|
+
visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2767
|
+
category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
|
|
2768
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2769
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
2770
|
+
messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2771
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
2772
|
+
text: z.ZodString;
|
|
2773
|
+
type: z.ZodEnum<{
|
|
2774
|
+
error: "error";
|
|
2775
|
+
success: "success";
|
|
2776
|
+
info: "info";
|
|
2777
|
+
warning: "warning";
|
|
2778
|
+
}>;
|
|
2779
|
+
}, z.core.$strip>>>;
|
|
2780
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2781
|
+
sensitive: z.ZodOptional<z.ZodBoolean>;
|
|
2782
|
+
type: z.ZodLiteral<"CODE">;
|
|
2783
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
2784
|
+
length: z.ZodOptional<z.ZodNumber>;
|
|
2785
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
2786
|
+
numeric: "numeric";
|
|
2787
|
+
alphanumeric: "alphanumeric";
|
|
2788
|
+
}>>;
|
|
2789
|
+
auto_submit: z.ZodOptional<z.ZodBoolean>;
|
|
2790
|
+
group_size: z.ZodOptional<z.ZodNumber>;
|
|
2791
|
+
separator: z.ZodOptional<z.ZodString>;
|
|
2792
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
2793
|
+
default_value: z.ZodOptional<z.ZodString>;
|
|
2794
|
+
}, z.core.$strip>>;
|
|
2633
2795
|
}, z.core.$strip>, z.ZodObject<{
|
|
2634
2796
|
id: z.ZodString;
|
|
2635
2797
|
order: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3253,6 +3415,38 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
3253
3415
|
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
3254
3416
|
default_value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
3255
3417
|
}, z.core.$strip>>;
|
|
3418
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3419
|
+
id: z.ZodString;
|
|
3420
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
3421
|
+
visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3422
|
+
category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
|
|
3423
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3424
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
3425
|
+
messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3426
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
3427
|
+
text: z.ZodString;
|
|
3428
|
+
type: z.ZodEnum<{
|
|
3429
|
+
error: "error";
|
|
3430
|
+
success: "success";
|
|
3431
|
+
info: "info";
|
|
3432
|
+
warning: "warning";
|
|
3433
|
+
}>;
|
|
3434
|
+
}, z.core.$strip>>>;
|
|
3435
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
3436
|
+
sensitive: z.ZodOptional<z.ZodBoolean>;
|
|
3437
|
+
type: z.ZodLiteral<"CODE">;
|
|
3438
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
3439
|
+
length: z.ZodOptional<z.ZodNumber>;
|
|
3440
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
3441
|
+
numeric: "numeric";
|
|
3442
|
+
alphanumeric: "alphanumeric";
|
|
3443
|
+
}>>;
|
|
3444
|
+
auto_submit: z.ZodOptional<z.ZodBoolean>;
|
|
3445
|
+
group_size: z.ZodOptional<z.ZodNumber>;
|
|
3446
|
+
separator: z.ZodOptional<z.ZodString>;
|
|
3447
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
3448
|
+
default_value: z.ZodOptional<z.ZodString>;
|
|
3449
|
+
}, z.core.$strip>>;
|
|
3256
3450
|
}, z.core.$strip>, z.ZodObject<{
|
|
3257
3451
|
id: z.ZodString;
|
|
3258
3452
|
order: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3908,6 +4102,38 @@ export declare const formSchema: z.ZodObject<{
|
|
|
3908
4102
|
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
3909
4103
|
default_value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
3910
4104
|
}, z.core.$strip>>;
|
|
4105
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4106
|
+
id: z.ZodString;
|
|
4107
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
4108
|
+
visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
4109
|
+
category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
|
|
4110
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4111
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
4112
|
+
messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4113
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
4114
|
+
text: z.ZodString;
|
|
4115
|
+
type: z.ZodEnum<{
|
|
4116
|
+
error: "error";
|
|
4117
|
+
success: "success";
|
|
4118
|
+
info: "info";
|
|
4119
|
+
warning: "warning";
|
|
4120
|
+
}>;
|
|
4121
|
+
}, z.core.$strip>>>;
|
|
4122
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
4123
|
+
sensitive: z.ZodOptional<z.ZodBoolean>;
|
|
4124
|
+
type: z.ZodLiteral<"CODE">;
|
|
4125
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
4126
|
+
length: z.ZodOptional<z.ZodNumber>;
|
|
4127
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
4128
|
+
numeric: "numeric";
|
|
4129
|
+
alphanumeric: "alphanumeric";
|
|
4130
|
+
}>>;
|
|
4131
|
+
auto_submit: z.ZodOptional<z.ZodBoolean>;
|
|
4132
|
+
group_size: z.ZodOptional<z.ZodNumber>;
|
|
4133
|
+
separator: z.ZodOptional<z.ZodString>;
|
|
4134
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
4135
|
+
default_value: z.ZodOptional<z.ZodString>;
|
|
4136
|
+
}, z.core.$strip>>;
|
|
3911
4137
|
}, z.core.$strip>, z.ZodObject<{
|
|
3912
4138
|
id: z.ZodString;
|
|
3913
4139
|
order: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4554,6 +4780,38 @@ export declare const uiScreenSchema: z.ZodObject<{
|
|
|
4554
4780
|
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
4555
4781
|
default_value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
4556
4782
|
}, z.core.$strip>>;
|
|
4783
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4784
|
+
id: z.ZodString;
|
|
4785
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
4786
|
+
visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
4787
|
+
category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
|
|
4788
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4789
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
4790
|
+
messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4791
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
4792
|
+
text: z.ZodString;
|
|
4793
|
+
type: z.ZodEnum<{
|
|
4794
|
+
error: "error";
|
|
4795
|
+
success: "success";
|
|
4796
|
+
info: "info";
|
|
4797
|
+
warning: "warning";
|
|
4798
|
+
}>;
|
|
4799
|
+
}, z.core.$strip>>>;
|
|
4800
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
4801
|
+
sensitive: z.ZodOptional<z.ZodBoolean>;
|
|
4802
|
+
type: z.ZodLiteral<"CODE">;
|
|
4803
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
4804
|
+
length: z.ZodOptional<z.ZodNumber>;
|
|
4805
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
4806
|
+
numeric: "numeric";
|
|
4807
|
+
alphanumeric: "alphanumeric";
|
|
4808
|
+
}>>;
|
|
4809
|
+
auto_submit: z.ZodOptional<z.ZodBoolean>;
|
|
4810
|
+
group_size: z.ZodOptional<z.ZodNumber>;
|
|
4811
|
+
separator: z.ZodOptional<z.ZodString>;
|
|
4812
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
4813
|
+
default_value: z.ZodOptional<z.ZodString>;
|
|
4814
|
+
}, z.core.$strip>>;
|
|
4557
4815
|
}, z.core.$strip>, z.ZodObject<{
|
|
4558
4816
|
id: z.ZodString;
|
|
4559
4817
|
order: z.ZodOptional<z.ZodNumber>;
|