@authhero/adapter-interfaces 3.1.1 → 3.3.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.
- package/dist/adapter-interfaces.cjs +1 -1
- package/dist/adapter-interfaces.d.ts +279 -1
- package/dist/adapter-interfaces.mjs +421 -401
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/adapters/Sessions.d.ts +17 -0
- package/dist/types/adapters/Tenants.d.ts +1 -0
- package/dist/types/types/Forms.d.ts +258 -0
- package/dist/types/types/Tenant.d.ts +2 -0
- package/package.json +1 -1
|
@@ -4,9 +4,26 @@ export interface ListSesssionsResponse extends Totals {
|
|
|
4
4
|
sessions: Session[];
|
|
5
5
|
}
|
|
6
6
|
export interface SessionsAdapter {
|
|
7
|
+
/**
|
|
8
|
+
* ADAPTER RESPONSIBILITY (footgun): when a session is created with an
|
|
9
|
+
* `expires_at`/`idle_expires_at`, the adapter MUST extend the parent
|
|
10
|
+
* `login_session` (referenced by `login_session_id`) so it lives at least as
|
|
11
|
+
* long as the session — never shortening it (only bump when the session's
|
|
12
|
+
* expiry is further out than the login_session's current expiry).
|
|
13
|
+
*
|
|
14
|
+
* If an adapter skips this, a long-lived session outlives its login_session
|
|
15
|
+
* and gets orphaned when cleanup reaps the login_session. The bump must be
|
|
16
|
+
* atomic with the insert. See `refreshTokens` for the equivalent contract.
|
|
17
|
+
*/
|
|
7
18
|
create: (tenant_id: string, session: SessionInsert) => Promise<Session>;
|
|
8
19
|
get: (tenant_id: string, id: string) => Promise<Session | null>;
|
|
9
20
|
list(tenantId: string, params?: ListParams): Promise<ListSesssionsResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* ADAPTER RESPONSIBILITY (footgun): when an update moves `expires_at`/
|
|
23
|
+
* `idle_expires_at` forward (session renewal), the adapter MUST extend the
|
|
24
|
+
* parent `login_session` the same way `create` does (never shortening). See
|
|
25
|
+
* the note on `create` above.
|
|
26
|
+
*/
|
|
10
27
|
update: (tenant_id: string, id: string, session: Partial<Session>) => Promise<boolean>;
|
|
11
28
|
remove: (tenant_id: string, id: string) => Promise<boolean>;
|
|
12
29
|
}
|
|
@@ -14,6 +14,7 @@ export interface CreateTenantParams {
|
|
|
14
14
|
provisioning_state_changed_at?: string;
|
|
15
15
|
bundle_configuration?: string;
|
|
16
16
|
worker_version?: string;
|
|
17
|
+
database_version?: string;
|
|
17
18
|
worker_script_name?: string;
|
|
18
19
|
storage_kind?: "own_d1" | "existing_d1" | "shared_planetscale";
|
|
19
20
|
d1_database_id?: string;
|
|
@@ -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>;
|
|
@@ -123,6 +123,7 @@ export declare const tenantInsertSchema: z.ZodObject<{
|
|
|
123
123
|
provisioning_state_changed_at: z.ZodOptional<z.ZodString>;
|
|
124
124
|
bundle_configuration: z.ZodOptional<z.ZodString>;
|
|
125
125
|
worker_version: z.ZodOptional<z.ZodString>;
|
|
126
|
+
database_version: z.ZodOptional<z.ZodString>;
|
|
126
127
|
worker_script_name: z.ZodOptional<z.ZodString>;
|
|
127
128
|
storage_kind: z.ZodOptional<z.ZodEnum<{
|
|
128
129
|
own_d1: "own_d1";
|
|
@@ -327,6 +328,7 @@ export declare const tenantSchema: z.ZodObject<{
|
|
|
327
328
|
provisioning_state_changed_at: z.ZodOptional<z.ZodString>;
|
|
328
329
|
bundle_configuration: z.ZodOptional<z.ZodString>;
|
|
329
330
|
worker_version: z.ZodOptional<z.ZodString>;
|
|
331
|
+
database_version: z.ZodOptional<z.ZodString>;
|
|
330
332
|
worker_script_name: z.ZodOptional<z.ZodString>;
|
|
331
333
|
storage_kind: z.ZodOptional<z.ZodEnum<{
|
|
332
334
|
own_d1: "own_d1";
|