@authhero/kysely-adapter 0.9.2 → 0.9.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.
- package/dist/kysely-adapter.cjs +1 -1
- package/dist/kysely-adapter.d.ts +75 -75
- package/dist/kysely-adapter.iife.js +1 -1
- package/dist/kysely-adapter.mjs +12 -12
- package/package.json +2 -2
package/dist/kysely-adapter.d.ts
CHANGED
|
@@ -245,12 +245,12 @@ export type User = z.infer<typeof userSchema>;
|
|
|
245
245
|
declare const applicationInsertSchema: z.ZodObject<{
|
|
246
246
|
id: z.ZodString;
|
|
247
247
|
name: z.ZodString;
|
|
248
|
-
callbacks: z.ZodDefault<z.ZodArray<z.ZodString, "many"
|
|
249
|
-
allowed_origins: z.ZodDefault<z.ZodArray<z.ZodString, "many"
|
|
250
|
-
web_origins: z.ZodDefault<z.ZodArray<z.ZodString, "many"
|
|
251
|
-
allowed_logout_urls: z.ZodDefault<z.ZodArray<z.ZodString, "many"
|
|
252
|
-
allowed_clients: z.ZodDefault<z.ZodArray<z.ZodString, "many"
|
|
253
|
-
addons: z.ZodDefault<z.ZodObject<{
|
|
248
|
+
callbacks: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
249
|
+
allowed_origins: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
250
|
+
web_origins: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
251
|
+
allowed_logout_urls: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
252
|
+
allowed_clients: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
253
|
+
addons: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
254
254
|
samlp: z.ZodOptional<z.ZodObject<{
|
|
255
255
|
audience: z.ZodOptional<z.ZodString>;
|
|
256
256
|
recipient: z.ZodOptional<z.ZodString>;
|
|
@@ -341,14 +341,14 @@ declare const applicationInsertSchema: z.ZodObject<{
|
|
|
341
341
|
authnContextClassRef?: string | undefined;
|
|
342
342
|
mappings?: Record<string, string> | undefined;
|
|
343
343
|
} | undefined;
|
|
344
|
-
}
|
|
345
|
-
email_validation: z.ZodDefault<z.ZodEnum<[
|
|
344
|
+
}>>>;
|
|
345
|
+
email_validation: z.ZodDefault<z.ZodOptional<z.ZodEnum<[
|
|
346
346
|
"enabled",
|
|
347
347
|
"disabled",
|
|
348
348
|
"enforced"
|
|
349
|
-
]
|
|
350
|
-
client_secret: z.ZodDefault<z.ZodString
|
|
351
|
-
disable_sign_ups: z.ZodDefault<z.ZodBoolean
|
|
349
|
+
]>>>;
|
|
350
|
+
client_secret: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
351
|
+
disable_sign_ups: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
352
352
|
}, "strip", z.ZodTypeAny, {
|
|
353
353
|
name: string;
|
|
354
354
|
id: string;
|
|
@@ -416,12 +416,12 @@ export type ApplicationInsert = z.infer<typeof applicationInsertSchema>;
|
|
|
416
416
|
declare const applicationSchema: z.ZodObject<{
|
|
417
417
|
id: z.ZodString;
|
|
418
418
|
name: z.ZodString;
|
|
419
|
-
callbacks: z.ZodDefault<z.ZodArray<z.ZodString, "many"
|
|
420
|
-
allowed_origins: z.ZodDefault<z.ZodArray<z.ZodString, "many"
|
|
421
|
-
web_origins: z.ZodDefault<z.ZodArray<z.ZodString, "many"
|
|
422
|
-
allowed_logout_urls: z.ZodDefault<z.ZodArray<z.ZodString, "many"
|
|
423
|
-
allowed_clients: z.ZodDefault<z.ZodArray<z.ZodString, "many"
|
|
424
|
-
addons: z.ZodDefault<z.ZodObject<{
|
|
419
|
+
callbacks: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
420
|
+
allowed_origins: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
421
|
+
web_origins: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
422
|
+
allowed_logout_urls: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
423
|
+
allowed_clients: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
424
|
+
addons: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
425
425
|
samlp: z.ZodOptional<z.ZodObject<{
|
|
426
426
|
audience: z.ZodOptional<z.ZodString>;
|
|
427
427
|
recipient: z.ZodOptional<z.ZodString>;
|
|
@@ -512,14 +512,14 @@ declare const applicationSchema: z.ZodObject<{
|
|
|
512
512
|
authnContextClassRef?: string | undefined;
|
|
513
513
|
mappings?: Record<string, string> | undefined;
|
|
514
514
|
} | undefined;
|
|
515
|
-
}
|
|
516
|
-
email_validation: z.ZodDefault<z.ZodEnum<[
|
|
515
|
+
}>>>;
|
|
516
|
+
email_validation: z.ZodDefault<z.ZodOptional<z.ZodEnum<[
|
|
517
517
|
"enabled",
|
|
518
518
|
"disabled",
|
|
519
519
|
"enforced"
|
|
520
|
-
]
|
|
521
|
-
client_secret: z.ZodDefault<z.ZodString
|
|
522
|
-
disable_sign_ups: z.ZodDefault<z.ZodBoolean
|
|
520
|
+
]>>>;
|
|
521
|
+
client_secret: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
522
|
+
disable_sign_ups: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
523
523
|
created_at: z.ZodEffects<z.ZodString, string, string>;
|
|
524
524
|
updated_at: z.ZodEffects<z.ZodString, string, string>;
|
|
525
525
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -764,7 +764,7 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
764
764
|
"oauth2",
|
|
765
765
|
"custom"
|
|
766
766
|
]>>;
|
|
767
|
-
options: z.ZodOptional<z.ZodObject<{
|
|
767
|
+
options: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
768
768
|
kid: z.ZodOptional<z.ZodString>;
|
|
769
769
|
team_id: z.ZodOptional<z.ZodString>;
|
|
770
770
|
realms: z.ZodOptional<z.ZodString>;
|
|
@@ -788,9 +788,9 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
788
788
|
team_id?: string | undefined;
|
|
789
789
|
realms?: string | undefined;
|
|
790
790
|
app_secret?: string | undefined;
|
|
791
|
-
}
|
|
792
|
-
enabled_clients: z.ZodOptional<z.ZodArray<z.ZodString, "many"
|
|
793
|
-
authorization_endpoint: z.ZodOptional<z.ZodString
|
|
791
|
+
}>>>;
|
|
792
|
+
enabled_clients: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
793
|
+
authorization_endpoint: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
794
794
|
response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
|
|
795
795
|
response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
|
|
796
796
|
client_id: z.ZodOptional<z.ZodString>;
|
|
@@ -803,10 +803,7 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
803
803
|
userinfo_endpoint: z.ZodOptional<z.ZodString>;
|
|
804
804
|
scope: z.ZodOptional<z.ZodString>;
|
|
805
805
|
}>, "strip", z.ZodTypeAny, {
|
|
806
|
-
|
|
807
|
-
updated_at: string;
|
|
808
|
-
name: string;
|
|
809
|
-
options?: {
|
|
806
|
+
options: {
|
|
810
807
|
client_secret?: string | undefined;
|
|
811
808
|
client_id?: string | undefined;
|
|
812
809
|
scope?: string | undefined;
|
|
@@ -814,7 +811,12 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
814
811
|
team_id?: string | undefined;
|
|
815
812
|
realms?: string | undefined;
|
|
816
813
|
app_secret?: string | undefined;
|
|
817
|
-
}
|
|
814
|
+
};
|
|
815
|
+
created_at: string;
|
|
816
|
+
updated_at: string;
|
|
817
|
+
name: string;
|
|
818
|
+
enabled_clients: string[];
|
|
819
|
+
authorization_endpoint: string;
|
|
818
820
|
id?: string | undefined;
|
|
819
821
|
client_secret?: string | undefined;
|
|
820
822
|
client_id?: string | undefined;
|
|
@@ -824,8 +826,6 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
824
826
|
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
825
827
|
kid?: string | undefined;
|
|
826
828
|
team_id?: string | undefined;
|
|
827
|
-
enabled_clients?: string[] | undefined;
|
|
828
|
-
authorization_endpoint?: string | undefined;
|
|
829
829
|
private_key?: string | undefined;
|
|
830
830
|
token_endpoint?: string | undefined;
|
|
831
831
|
token_exchange_basic_auth?: boolean | undefined;
|
|
@@ -861,12 +861,12 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
861
861
|
}>, "many">;
|
|
862
862
|
id: z.ZodString;
|
|
863
863
|
name: z.ZodString;
|
|
864
|
-
callbacks: z.ZodDefault<z.ZodArray<z.ZodString, "many"
|
|
865
|
-
allowed_origins: z.ZodDefault<z.ZodArray<z.ZodString, "many"
|
|
866
|
-
web_origins: z.ZodDefault<z.ZodArray<z.ZodString, "many"
|
|
867
|
-
allowed_logout_urls: z.ZodDefault<z.ZodArray<z.ZodString, "many"
|
|
868
|
-
allowed_clients: z.ZodDefault<z.ZodArray<z.ZodString, "many"
|
|
869
|
-
addons: z.ZodDefault<z.ZodObject<{
|
|
864
|
+
callbacks: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
865
|
+
allowed_origins: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
866
|
+
web_origins: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
867
|
+
allowed_logout_urls: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
868
|
+
allowed_clients: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
869
|
+
addons: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
870
870
|
samlp: z.ZodOptional<z.ZodObject<{
|
|
871
871
|
audience: z.ZodOptional<z.ZodString>;
|
|
872
872
|
recipient: z.ZodOptional<z.ZodString>;
|
|
@@ -957,14 +957,14 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
957
957
|
authnContextClassRef?: string | undefined;
|
|
958
958
|
mappings?: Record<string, string> | undefined;
|
|
959
959
|
} | undefined;
|
|
960
|
-
}
|
|
961
|
-
email_validation: z.ZodDefault<z.ZodEnum<[
|
|
960
|
+
}>>>;
|
|
961
|
+
email_validation: z.ZodDefault<z.ZodOptional<z.ZodEnum<[
|
|
962
962
|
"enabled",
|
|
963
963
|
"disabled",
|
|
964
964
|
"enforced"
|
|
965
|
-
]
|
|
966
|
-
client_secret: z.ZodDefault<z.ZodString
|
|
967
|
-
disable_sign_ups: z.ZodDefault<z.ZodBoolean
|
|
965
|
+
]>>>;
|
|
966
|
+
client_secret: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
967
|
+
disable_sign_ups: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
968
968
|
created_at: z.ZodEffects<z.ZodString, string, string>;
|
|
969
969
|
updated_at: z.ZodEffects<z.ZodString, string, string>;
|
|
970
970
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1022,10 +1022,7 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1022
1022
|
language?: string | undefined;
|
|
1023
1023
|
};
|
|
1024
1024
|
connections: {
|
|
1025
|
-
|
|
1026
|
-
updated_at: string;
|
|
1027
|
-
name: string;
|
|
1028
|
-
options?: {
|
|
1025
|
+
options: {
|
|
1029
1026
|
client_secret?: string | undefined;
|
|
1030
1027
|
client_id?: string | undefined;
|
|
1031
1028
|
scope?: string | undefined;
|
|
@@ -1033,7 +1030,12 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1033
1030
|
team_id?: string | undefined;
|
|
1034
1031
|
realms?: string | undefined;
|
|
1035
1032
|
app_secret?: string | undefined;
|
|
1036
|
-
}
|
|
1033
|
+
};
|
|
1034
|
+
created_at: string;
|
|
1035
|
+
updated_at: string;
|
|
1036
|
+
name: string;
|
|
1037
|
+
enabled_clients: string[];
|
|
1038
|
+
authorization_endpoint: string;
|
|
1037
1039
|
id?: string | undefined;
|
|
1038
1040
|
client_secret?: string | undefined;
|
|
1039
1041
|
client_id?: string | undefined;
|
|
@@ -1043,8 +1045,6 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1043
1045
|
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
1044
1046
|
kid?: string | undefined;
|
|
1045
1047
|
team_id?: string | undefined;
|
|
1046
|
-
enabled_clients?: string[] | undefined;
|
|
1047
|
-
authorization_endpoint?: string | undefined;
|
|
1048
1048
|
private_key?: string | undefined;
|
|
1049
1049
|
token_endpoint?: string | undefined;
|
|
1050
1050
|
token_exchange_basic_auth?: boolean | undefined;
|
|
@@ -1227,7 +1227,7 @@ declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1227
1227
|
"oauth2",
|
|
1228
1228
|
"custom"
|
|
1229
1229
|
]>>;
|
|
1230
|
-
options: z.ZodOptional<z.ZodObject<{
|
|
1230
|
+
options: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
1231
1231
|
kid: z.ZodOptional<z.ZodString>;
|
|
1232
1232
|
team_id: z.ZodOptional<z.ZodString>;
|
|
1233
1233
|
realms: z.ZodOptional<z.ZodString>;
|
|
@@ -1251,9 +1251,9 @@ declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1251
1251
|
team_id?: string | undefined;
|
|
1252
1252
|
realms?: string | undefined;
|
|
1253
1253
|
app_secret?: string | undefined;
|
|
1254
|
-
}
|
|
1255
|
-
enabled_clients: z.ZodOptional<z.ZodArray<z.ZodString, "many"
|
|
1256
|
-
authorization_endpoint: z.ZodOptional<z.ZodString
|
|
1254
|
+
}>>>;
|
|
1255
|
+
enabled_clients: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1256
|
+
authorization_endpoint: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1257
1257
|
response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
|
|
1258
1258
|
response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
|
|
1259
1259
|
client_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1266,8 +1266,7 @@ declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1266
1266
|
userinfo_endpoint: z.ZodOptional<z.ZodString>;
|
|
1267
1267
|
scope: z.ZodOptional<z.ZodString>;
|
|
1268
1268
|
}, "strip", z.ZodTypeAny, {
|
|
1269
|
-
|
|
1270
|
-
options?: {
|
|
1269
|
+
options: {
|
|
1271
1270
|
client_secret?: string | undefined;
|
|
1272
1271
|
client_id?: string | undefined;
|
|
1273
1272
|
scope?: string | undefined;
|
|
@@ -1275,7 +1274,10 @@ declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1275
1274
|
team_id?: string | undefined;
|
|
1276
1275
|
realms?: string | undefined;
|
|
1277
1276
|
app_secret?: string | undefined;
|
|
1278
|
-
}
|
|
1277
|
+
};
|
|
1278
|
+
name: string;
|
|
1279
|
+
enabled_clients: string[];
|
|
1280
|
+
authorization_endpoint: string;
|
|
1279
1281
|
id?: string | undefined;
|
|
1280
1282
|
client_secret?: string | undefined;
|
|
1281
1283
|
client_id?: string | undefined;
|
|
@@ -1285,8 +1287,6 @@ declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1285
1287
|
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
1286
1288
|
kid?: string | undefined;
|
|
1287
1289
|
team_id?: string | undefined;
|
|
1288
|
-
enabled_clients?: string[] | undefined;
|
|
1289
|
-
authorization_endpoint?: string | undefined;
|
|
1290
1290
|
private_key?: string | undefined;
|
|
1291
1291
|
token_endpoint?: string | undefined;
|
|
1292
1292
|
token_exchange_basic_auth?: boolean | undefined;
|
|
@@ -1337,7 +1337,7 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1337
1337
|
"oauth2",
|
|
1338
1338
|
"custom"
|
|
1339
1339
|
]>>;
|
|
1340
|
-
options: z.ZodOptional<z.ZodObject<{
|
|
1340
|
+
options: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
1341
1341
|
kid: z.ZodOptional<z.ZodString>;
|
|
1342
1342
|
team_id: z.ZodOptional<z.ZodString>;
|
|
1343
1343
|
realms: z.ZodOptional<z.ZodString>;
|
|
@@ -1361,9 +1361,9 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1361
1361
|
team_id?: string | undefined;
|
|
1362
1362
|
realms?: string | undefined;
|
|
1363
1363
|
app_secret?: string | undefined;
|
|
1364
|
-
}
|
|
1365
|
-
enabled_clients: z.ZodOptional<z.ZodArray<z.ZodString, "many"
|
|
1366
|
-
authorization_endpoint: z.ZodOptional<z.ZodString
|
|
1364
|
+
}>>>;
|
|
1365
|
+
enabled_clients: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1366
|
+
authorization_endpoint: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1367
1367
|
response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
|
|
1368
1368
|
response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
|
|
1369
1369
|
client_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1376,10 +1376,7 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1376
1376
|
userinfo_endpoint: z.ZodOptional<z.ZodString>;
|
|
1377
1377
|
scope: z.ZodOptional<z.ZodString>;
|
|
1378
1378
|
}>, "strip", z.ZodTypeAny, {
|
|
1379
|
-
|
|
1380
|
-
updated_at: string;
|
|
1381
|
-
name: string;
|
|
1382
|
-
options?: {
|
|
1379
|
+
options: {
|
|
1383
1380
|
client_secret?: string | undefined;
|
|
1384
1381
|
client_id?: string | undefined;
|
|
1385
1382
|
scope?: string | undefined;
|
|
@@ -1387,7 +1384,12 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1387
1384
|
team_id?: string | undefined;
|
|
1388
1385
|
realms?: string | undefined;
|
|
1389
1386
|
app_secret?: string | undefined;
|
|
1390
|
-
}
|
|
1387
|
+
};
|
|
1388
|
+
created_at: string;
|
|
1389
|
+
updated_at: string;
|
|
1390
|
+
name: string;
|
|
1391
|
+
enabled_clients: string[];
|
|
1392
|
+
authorization_endpoint: string;
|
|
1391
1393
|
id?: string | undefined;
|
|
1392
1394
|
client_secret?: string | undefined;
|
|
1393
1395
|
client_id?: string | undefined;
|
|
@@ -1397,8 +1399,6 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1397
1399
|
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
1398
1400
|
kid?: string | undefined;
|
|
1399
1401
|
team_id?: string | undefined;
|
|
1400
|
-
enabled_clients?: string[] | undefined;
|
|
1401
|
-
authorization_endpoint?: string | undefined;
|
|
1402
1402
|
private_key?: string | undefined;
|
|
1403
1403
|
token_endpoint?: string | undefined;
|
|
1404
1404
|
token_exchange_basic_auth?: boolean | undefined;
|
|
@@ -3133,13 +3133,13 @@ declare const sqlApplicationSchema: z.ZodObject<{
|
|
|
3133
3133
|
allowed_logout_urls: z.ZodString;
|
|
3134
3134
|
id: z.ZodString;
|
|
3135
3135
|
name: z.ZodString;
|
|
3136
|
-
allowed_clients: z.ZodDefault<z.ZodArray<z.ZodString, "many"
|
|
3137
|
-
email_validation: z.ZodDefault<z.ZodEnum<[
|
|
3136
|
+
allowed_clients: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
3137
|
+
email_validation: z.ZodDefault<z.ZodOptional<z.ZodEnum<[
|
|
3138
3138
|
"enabled",
|
|
3139
3139
|
"disabled",
|
|
3140
3140
|
"enforced"
|
|
3141
|
-
]
|
|
3142
|
-
client_secret: z.ZodDefault<z.ZodString
|
|
3141
|
+
]>>>;
|
|
3142
|
+
client_secret: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3143
3143
|
created_at: z.ZodEffects<z.ZodString, string, string>;
|
|
3144
3144
|
updated_at: z.ZodEffects<z.ZodString, string, string>;
|
|
3145
3145
|
}, "strip", z.ZodTypeAny, {
|