@authhero/kysely-adapter 0.9.6 → 0.10.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/kysely-adapter.d.ts
CHANGED
|
@@ -793,15 +793,6 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
793
793
|
authorization_endpoint: z.ZodOptional<z.ZodDefault<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
|
-
client_id: z.ZodOptional<z.ZodString>;
|
|
797
|
-
client_secret: z.ZodOptional<z.ZodString>;
|
|
798
|
-
private_key: z.ZodOptional<z.ZodString>;
|
|
799
|
-
kid: z.ZodOptional<z.ZodString>;
|
|
800
|
-
team_id: z.ZodOptional<z.ZodString>;
|
|
801
|
-
token_endpoint: z.ZodOptional<z.ZodString>;
|
|
802
|
-
token_exchange_basic_auth: z.ZodOptional<z.ZodBoolean>;
|
|
803
|
-
userinfo_endpoint: z.ZodOptional<z.ZodString>;
|
|
804
|
-
scope: z.ZodOptional<z.ZodString>;
|
|
805
796
|
}>, "strip", z.ZodTypeAny, {
|
|
806
797
|
created_at: string;
|
|
807
798
|
updated_at: string;
|
|
@@ -816,20 +807,11 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
816
807
|
app_secret?: string | undefined;
|
|
817
808
|
} | undefined;
|
|
818
809
|
id?: string | undefined;
|
|
819
|
-
client_secret?: string | undefined;
|
|
820
|
-
client_id?: string | undefined;
|
|
821
810
|
response_type?: AuthorizationResponseType | undefined;
|
|
822
811
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
823
|
-
scope?: string | undefined;
|
|
824
812
|
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
825
|
-
kid?: string | undefined;
|
|
826
|
-
team_id?: string | undefined;
|
|
827
813
|
enabled_clients?: string[] | undefined;
|
|
828
814
|
authorization_endpoint?: string | undefined;
|
|
829
|
-
private_key?: string | undefined;
|
|
830
|
-
token_endpoint?: string | undefined;
|
|
831
|
-
token_exchange_basic_auth?: boolean | undefined;
|
|
832
|
-
userinfo_endpoint?: string | undefined;
|
|
833
815
|
}, {
|
|
834
816
|
created_at: string;
|
|
835
817
|
updated_at: string;
|
|
@@ -844,20 +826,11 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
844
826
|
app_secret?: string | undefined;
|
|
845
827
|
} | undefined;
|
|
846
828
|
id?: string | undefined;
|
|
847
|
-
client_secret?: string | undefined;
|
|
848
|
-
client_id?: string | undefined;
|
|
849
829
|
response_type?: AuthorizationResponseType | undefined;
|
|
850
830
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
851
|
-
scope?: string | undefined;
|
|
852
831
|
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
853
|
-
kid?: string | undefined;
|
|
854
|
-
team_id?: string | undefined;
|
|
855
832
|
enabled_clients?: string[] | undefined;
|
|
856
833
|
authorization_endpoint?: string | undefined;
|
|
857
|
-
private_key?: string | undefined;
|
|
858
|
-
token_endpoint?: string | undefined;
|
|
859
|
-
token_exchange_basic_auth?: boolean | undefined;
|
|
860
|
-
userinfo_endpoint?: string | undefined;
|
|
861
834
|
}>, "many">;
|
|
862
835
|
id: z.ZodString;
|
|
863
836
|
name: z.ZodString;
|
|
@@ -1008,20 +981,11 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1008
981
|
app_secret?: string | undefined;
|
|
1009
982
|
} | undefined;
|
|
1010
983
|
id?: string | undefined;
|
|
1011
|
-
client_secret?: string | undefined;
|
|
1012
|
-
client_id?: string | undefined;
|
|
1013
984
|
response_type?: AuthorizationResponseType | undefined;
|
|
1014
985
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1015
|
-
scope?: string | undefined;
|
|
1016
986
|
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
1017
|
-
kid?: string | undefined;
|
|
1018
|
-
team_id?: string | undefined;
|
|
1019
987
|
enabled_clients?: string[] | undefined;
|
|
1020
988
|
authorization_endpoint?: string | undefined;
|
|
1021
|
-
private_key?: string | undefined;
|
|
1022
|
-
token_endpoint?: string | undefined;
|
|
1023
|
-
token_exchange_basic_auth?: boolean | undefined;
|
|
1024
|
-
userinfo_endpoint?: string | undefined;
|
|
1025
989
|
}[];
|
|
1026
990
|
callbacks?: string[] | undefined;
|
|
1027
991
|
allowed_origins?: string[] | undefined;
|
|
@@ -1090,20 +1054,11 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1090
1054
|
app_secret?: string | undefined;
|
|
1091
1055
|
} | undefined;
|
|
1092
1056
|
id?: string | undefined;
|
|
1093
|
-
client_secret?: string | undefined;
|
|
1094
|
-
client_id?: string | undefined;
|
|
1095
1057
|
response_type?: AuthorizationResponseType | undefined;
|
|
1096
1058
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1097
|
-
scope?: string | undefined;
|
|
1098
1059
|
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
1099
|
-
kid?: string | undefined;
|
|
1100
|
-
team_id?: string | undefined;
|
|
1101
1060
|
enabled_clients?: string[] | undefined;
|
|
1102
1061
|
authorization_endpoint?: string | undefined;
|
|
1103
|
-
private_key?: string | undefined;
|
|
1104
|
-
token_endpoint?: string | undefined;
|
|
1105
|
-
token_exchange_basic_auth?: boolean | undefined;
|
|
1106
|
-
userinfo_endpoint?: string | undefined;
|
|
1107
1062
|
}[];
|
|
1108
1063
|
callbacks?: string[] | undefined;
|
|
1109
1064
|
allowed_origins?: string[] | undefined;
|
|
@@ -1256,15 +1211,6 @@ declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1256
1211
|
authorization_endpoint: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1257
1212
|
response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
|
|
1258
1213
|
response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
|
|
1259
|
-
client_id: z.ZodOptional<z.ZodString>;
|
|
1260
|
-
client_secret: z.ZodOptional<z.ZodString>;
|
|
1261
|
-
private_key: z.ZodOptional<z.ZodString>;
|
|
1262
|
-
kid: z.ZodOptional<z.ZodString>;
|
|
1263
|
-
team_id: z.ZodOptional<z.ZodString>;
|
|
1264
|
-
token_endpoint: z.ZodOptional<z.ZodString>;
|
|
1265
|
-
token_exchange_basic_auth: z.ZodOptional<z.ZodBoolean>;
|
|
1266
|
-
userinfo_endpoint: z.ZodOptional<z.ZodString>;
|
|
1267
|
-
scope: z.ZodOptional<z.ZodString>;
|
|
1268
1214
|
}, "strip", z.ZodTypeAny, {
|
|
1269
1215
|
name: string;
|
|
1270
1216
|
options?: {
|
|
@@ -1277,20 +1223,11 @@ declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1277
1223
|
app_secret?: string | undefined;
|
|
1278
1224
|
} | undefined;
|
|
1279
1225
|
id?: string | undefined;
|
|
1280
|
-
client_secret?: string | undefined;
|
|
1281
|
-
client_id?: string | undefined;
|
|
1282
1226
|
response_type?: AuthorizationResponseType | undefined;
|
|
1283
1227
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1284
|
-
scope?: string | undefined;
|
|
1285
1228
|
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
1286
|
-
kid?: string | undefined;
|
|
1287
|
-
team_id?: string | undefined;
|
|
1288
1229
|
enabled_clients?: string[] | undefined;
|
|
1289
1230
|
authorization_endpoint?: string | undefined;
|
|
1290
|
-
private_key?: string | undefined;
|
|
1291
|
-
token_endpoint?: string | undefined;
|
|
1292
|
-
token_exchange_basic_auth?: boolean | undefined;
|
|
1293
|
-
userinfo_endpoint?: string | undefined;
|
|
1294
1231
|
}, {
|
|
1295
1232
|
name: string;
|
|
1296
1233
|
options?: {
|
|
@@ -1303,20 +1240,11 @@ declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1303
1240
|
app_secret?: string | undefined;
|
|
1304
1241
|
} | undefined;
|
|
1305
1242
|
id?: string | undefined;
|
|
1306
|
-
client_secret?: string | undefined;
|
|
1307
|
-
client_id?: string | undefined;
|
|
1308
1243
|
response_type?: AuthorizationResponseType | undefined;
|
|
1309
1244
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1310
|
-
scope?: string | undefined;
|
|
1311
1245
|
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
1312
|
-
kid?: string | undefined;
|
|
1313
|
-
team_id?: string | undefined;
|
|
1314
1246
|
enabled_clients?: string[] | undefined;
|
|
1315
1247
|
authorization_endpoint?: string | undefined;
|
|
1316
|
-
private_key?: string | undefined;
|
|
1317
|
-
token_endpoint?: string | undefined;
|
|
1318
|
-
token_exchange_basic_auth?: boolean | undefined;
|
|
1319
|
-
userinfo_endpoint?: string | undefined;
|
|
1320
1248
|
}>;
|
|
1321
1249
|
export type ConnectionInsert = z.infer<typeof connectionInsertSchema>;
|
|
1322
1250
|
declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -1366,15 +1294,6 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1366
1294
|
authorization_endpoint: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1367
1295
|
response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
|
|
1368
1296
|
response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
|
|
1369
|
-
client_id: z.ZodOptional<z.ZodString>;
|
|
1370
|
-
client_secret: z.ZodOptional<z.ZodString>;
|
|
1371
|
-
private_key: z.ZodOptional<z.ZodString>;
|
|
1372
|
-
kid: z.ZodOptional<z.ZodString>;
|
|
1373
|
-
team_id: z.ZodOptional<z.ZodString>;
|
|
1374
|
-
token_endpoint: z.ZodOptional<z.ZodString>;
|
|
1375
|
-
token_exchange_basic_auth: z.ZodOptional<z.ZodBoolean>;
|
|
1376
|
-
userinfo_endpoint: z.ZodOptional<z.ZodString>;
|
|
1377
|
-
scope: z.ZodOptional<z.ZodString>;
|
|
1378
1297
|
}>, "strip", z.ZodTypeAny, {
|
|
1379
1298
|
created_at: string;
|
|
1380
1299
|
updated_at: string;
|
|
@@ -1389,20 +1308,11 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1389
1308
|
app_secret?: string | undefined;
|
|
1390
1309
|
} | undefined;
|
|
1391
1310
|
id?: string | undefined;
|
|
1392
|
-
client_secret?: string | undefined;
|
|
1393
|
-
client_id?: string | undefined;
|
|
1394
1311
|
response_type?: AuthorizationResponseType | undefined;
|
|
1395
1312
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1396
|
-
scope?: string | undefined;
|
|
1397
1313
|
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
1398
|
-
kid?: string | undefined;
|
|
1399
|
-
team_id?: string | undefined;
|
|
1400
1314
|
enabled_clients?: string[] | undefined;
|
|
1401
1315
|
authorization_endpoint?: string | undefined;
|
|
1402
|
-
private_key?: string | undefined;
|
|
1403
|
-
token_endpoint?: string | undefined;
|
|
1404
|
-
token_exchange_basic_auth?: boolean | undefined;
|
|
1405
|
-
userinfo_endpoint?: string | undefined;
|
|
1406
1316
|
}, {
|
|
1407
1317
|
created_at: string;
|
|
1408
1318
|
updated_at: string;
|
|
@@ -1417,20 +1327,11 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1417
1327
|
app_secret?: string | undefined;
|
|
1418
1328
|
} | undefined;
|
|
1419
1329
|
id?: string | undefined;
|
|
1420
|
-
client_secret?: string | undefined;
|
|
1421
|
-
client_id?: string | undefined;
|
|
1422
1330
|
response_type?: AuthorizationResponseType | undefined;
|
|
1423
1331
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1424
|
-
scope?: string | undefined;
|
|
1425
1332
|
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
1426
|
-
kid?: string | undefined;
|
|
1427
|
-
team_id?: string | undefined;
|
|
1428
1333
|
enabled_clients?: string[] | undefined;
|
|
1429
1334
|
authorization_endpoint?: string | undefined;
|
|
1430
|
-
private_key?: string | undefined;
|
|
1431
|
-
token_endpoint?: string | undefined;
|
|
1432
|
-
token_exchange_basic_auth?: boolean | undefined;
|
|
1433
|
-
userinfo_endpoint?: string | undefined;
|
|
1434
1335
|
}>;
|
|
1435
1336
|
export type Connection = z.infer<typeof connectionSchema>;
|
|
1436
1337
|
declare const domainSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -3131,9 +3032,9 @@ declare const sqlApplicationSchema: z.ZodObject<{
|
|
|
3131
3032
|
allowed_origins: z.ZodString;
|
|
3132
3033
|
web_origins: z.ZodString;
|
|
3133
3034
|
allowed_logout_urls: z.ZodString;
|
|
3035
|
+
allowed_clients: z.ZodString;
|
|
3134
3036
|
id: z.ZodString;
|
|
3135
3037
|
name: z.ZodString;
|
|
3136
|
-
allowed_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
3137
3038
|
email_validation: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
|
|
3138
3039
|
"enabled",
|
|
3139
3040
|
"disabled",
|
|
@@ -3150,11 +3051,11 @@ declare const sqlApplicationSchema: z.ZodObject<{
|
|
|
3150
3051
|
allowed_origins: string;
|
|
3151
3052
|
web_origins: string;
|
|
3152
3053
|
allowed_logout_urls: string;
|
|
3054
|
+
allowed_clients: string;
|
|
3153
3055
|
id: string;
|
|
3154
3056
|
name: string;
|
|
3155
3057
|
created_at: string;
|
|
3156
3058
|
updated_at: string;
|
|
3157
|
-
allowed_clients?: string[] | undefined;
|
|
3158
3059
|
email_validation?: "enabled" | "disabled" | "enforced" | undefined;
|
|
3159
3060
|
client_secret?: string | undefined;
|
|
3160
3061
|
}, {
|
|
@@ -3165,11 +3066,11 @@ declare const sqlApplicationSchema: z.ZodObject<{
|
|
|
3165
3066
|
allowed_origins: string;
|
|
3166
3067
|
web_origins: string;
|
|
3167
3068
|
allowed_logout_urls: string;
|
|
3069
|
+
allowed_clients: string;
|
|
3168
3070
|
id: string;
|
|
3169
3071
|
name: string;
|
|
3170
3072
|
created_at: string;
|
|
3171
3073
|
updated_at: string;
|
|
3172
|
-
allowed_clients?: string[] | undefined;
|
|
3173
3074
|
email_validation?: "enabled" | "disabled" | "enforced" | undefined;
|
|
3174
3075
|
client_secret?: string | undefined;
|
|
3175
3076
|
}>;
|