@authhero/kysely-adapter 0.25.0 → 0.25.1
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 +11 -50
- package/dist/kysely-adapter.mjs +1 -15
- package/package.json +2 -2
package/dist/kysely-adapter.d.ts
CHANGED
|
@@ -704,20 +704,7 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
704
704
|
}, {
|
|
705
705
|
id: z.ZodOptional<z.ZodString>;
|
|
706
706
|
name: z.ZodString;
|
|
707
|
-
strategy: z.
|
|
708
|
-
"google-oauth2",
|
|
709
|
-
"facebook",
|
|
710
|
-
"vipps",
|
|
711
|
-
"freja",
|
|
712
|
-
"apple",
|
|
713
|
-
"email",
|
|
714
|
-
"auth0",
|
|
715
|
-
"authhero",
|
|
716
|
-
"Username-Password-Authentication",
|
|
717
|
-
"oidc",
|
|
718
|
-
"oauth2",
|
|
719
|
-
"custom"
|
|
720
|
-
]>;
|
|
707
|
+
strategy: z.ZodString;
|
|
721
708
|
options: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
|
722
709
|
kid: z.ZodOptional<z.ZodString>;
|
|
723
710
|
team_id: z.ZodOptional<z.ZodString>;
|
|
@@ -768,7 +755,7 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
768
755
|
created_at: string;
|
|
769
756
|
updated_at: string;
|
|
770
757
|
name: string;
|
|
771
|
-
strategy:
|
|
758
|
+
strategy: string;
|
|
772
759
|
options?: {
|
|
773
760
|
issuer?: string | undefined;
|
|
774
761
|
client_secret?: string | undefined;
|
|
@@ -792,7 +779,7 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
792
779
|
created_at: string;
|
|
793
780
|
updated_at: string;
|
|
794
781
|
name: string;
|
|
795
|
-
strategy:
|
|
782
|
+
strategy: string;
|
|
796
783
|
options?: {
|
|
797
784
|
issuer?: string | undefined;
|
|
798
785
|
client_secret?: string | undefined;
|
|
@@ -952,7 +939,7 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
952
939
|
created_at: string;
|
|
953
940
|
updated_at: string;
|
|
954
941
|
name: string;
|
|
955
|
-
strategy:
|
|
942
|
+
strategy: string;
|
|
956
943
|
options?: {
|
|
957
944
|
issuer?: string | undefined;
|
|
958
945
|
client_secret?: string | undefined;
|
|
@@ -1030,7 +1017,7 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1030
1017
|
created_at: string;
|
|
1031
1018
|
updated_at: string;
|
|
1032
1019
|
name: string;
|
|
1033
|
-
strategy:
|
|
1020
|
+
strategy: string;
|
|
1034
1021
|
options?: {
|
|
1035
1022
|
issuer?: string | undefined;
|
|
1036
1023
|
client_secret?: string | undefined;
|
|
@@ -1168,20 +1155,7 @@ export type Code = z.infer<typeof codeSchema>;
|
|
|
1168
1155
|
declare const connectionInsertSchema: z.ZodObject<{
|
|
1169
1156
|
id: z.ZodOptional<z.ZodString>;
|
|
1170
1157
|
name: z.ZodString;
|
|
1171
|
-
strategy: z.
|
|
1172
|
-
"google-oauth2",
|
|
1173
|
-
"facebook",
|
|
1174
|
-
"vipps",
|
|
1175
|
-
"freja",
|
|
1176
|
-
"apple",
|
|
1177
|
-
"email",
|
|
1178
|
-
"auth0",
|
|
1179
|
-
"authhero",
|
|
1180
|
-
"Username-Password-Authentication",
|
|
1181
|
-
"oidc",
|
|
1182
|
-
"oauth2",
|
|
1183
|
-
"custom"
|
|
1184
|
-
]>;
|
|
1158
|
+
strategy: z.ZodString;
|
|
1185
1159
|
options: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
|
1186
1160
|
kid: z.ZodOptional<z.ZodString>;
|
|
1187
1161
|
team_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1230,7 +1204,7 @@ declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1230
1204
|
response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
|
|
1231
1205
|
}, "strip", z.ZodTypeAny, {
|
|
1232
1206
|
name: string;
|
|
1233
|
-
strategy:
|
|
1207
|
+
strategy: string;
|
|
1234
1208
|
options?: {
|
|
1235
1209
|
issuer?: string | undefined;
|
|
1236
1210
|
client_secret?: string | undefined;
|
|
@@ -1252,7 +1226,7 @@ declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1252
1226
|
enabled_clients?: string[] | undefined;
|
|
1253
1227
|
}, {
|
|
1254
1228
|
name: string;
|
|
1255
|
-
strategy:
|
|
1229
|
+
strategy: string;
|
|
1256
1230
|
options?: {
|
|
1257
1231
|
issuer?: string | undefined;
|
|
1258
1232
|
client_secret?: string | undefined;
|
|
@@ -1281,20 +1255,7 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1281
1255
|
}, {
|
|
1282
1256
|
id: z.ZodOptional<z.ZodString>;
|
|
1283
1257
|
name: z.ZodString;
|
|
1284
|
-
strategy: z.
|
|
1285
|
-
"google-oauth2",
|
|
1286
|
-
"facebook",
|
|
1287
|
-
"vipps",
|
|
1288
|
-
"freja",
|
|
1289
|
-
"apple",
|
|
1290
|
-
"email",
|
|
1291
|
-
"auth0",
|
|
1292
|
-
"authhero",
|
|
1293
|
-
"Username-Password-Authentication",
|
|
1294
|
-
"oidc",
|
|
1295
|
-
"oauth2",
|
|
1296
|
-
"custom"
|
|
1297
|
-
]>;
|
|
1258
|
+
strategy: z.ZodString;
|
|
1298
1259
|
options: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
|
1299
1260
|
kid: z.ZodOptional<z.ZodString>;
|
|
1300
1261
|
team_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1345,7 +1306,7 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1345
1306
|
created_at: string;
|
|
1346
1307
|
updated_at: string;
|
|
1347
1308
|
name: string;
|
|
1348
|
-
strategy:
|
|
1309
|
+
strategy: string;
|
|
1349
1310
|
options?: {
|
|
1350
1311
|
issuer?: string | undefined;
|
|
1351
1312
|
client_secret?: string | undefined;
|
|
@@ -1369,7 +1330,7 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1369
1330
|
created_at: string;
|
|
1370
1331
|
updated_at: string;
|
|
1371
1332
|
name: string;
|
|
1372
|
-
strategy:
|
|
1333
|
+
strategy: string;
|
|
1373
1334
|
options?: {
|
|
1374
1335
|
issuer?: string | undefined;
|
|
1375
1336
|
client_secret?: string | undefined;
|
package/dist/kysely-adapter.mjs
CHANGED
|
@@ -3145,21 +3145,7 @@ i.object({
|
|
|
3145
3145
|
const us = i.object({
|
|
3146
3146
|
id: i.string().optional(),
|
|
3147
3147
|
name: i.string(),
|
|
3148
|
-
strategy: i.
|
|
3149
|
-
"google-oauth2",
|
|
3150
|
-
"facebook",
|
|
3151
|
-
"vipps",
|
|
3152
|
-
"freja",
|
|
3153
|
-
"apple",
|
|
3154
|
-
"email",
|
|
3155
|
-
"auth0",
|
|
3156
|
-
"authhero",
|
|
3157
|
-
// This is incorrect as strategy. Remove once data is migrated
|
|
3158
|
-
"Username-Password-Authentication",
|
|
3159
|
-
"oidc",
|
|
3160
|
-
"oauth2",
|
|
3161
|
-
"custom"
|
|
3162
|
-
]),
|
|
3148
|
+
strategy: i.string(),
|
|
3163
3149
|
options: i.object({
|
|
3164
3150
|
kid: i.string().optional(),
|
|
3165
3151
|
team_id: i.string().optional(),
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"type": "git",
|
|
12
12
|
"url": "https://github.com/markusahlstrand/authhero"
|
|
13
13
|
},
|
|
14
|
-
"version": "0.25.
|
|
14
|
+
"version": "0.25.1",
|
|
15
15
|
"files": [
|
|
16
16
|
"dist"
|
|
17
17
|
],
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"kysely": "^0.27.4",
|
|
43
43
|
"nanoid": "^5.0.8",
|
|
44
|
-
"@authhero/adapter-interfaces": "^0.
|
|
44
|
+
"@authhero/adapter-interfaces": "^0.32.0"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"@hono/zod-openapi": "^0.16.4",
|