@authhero/kysely-adapter 10.8.0 → 10.9.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 +46 -46
- package/package.json +3 -3
package/dist/kysely-adapter.d.ts
CHANGED
|
@@ -756,7 +756,7 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
756
756
|
id: z.ZodOptional<z.ZodString>;
|
|
757
757
|
name: z.ZodString;
|
|
758
758
|
strategy: z.ZodString;
|
|
759
|
-
options: z.
|
|
759
|
+
options: z.ZodDefault<z.ZodObject<{
|
|
760
760
|
kid: z.ZodOptional<z.ZodString>;
|
|
761
761
|
team_id: z.ZodOptional<z.ZodString>;
|
|
762
762
|
realms: z.ZodOptional<z.ZodString>;
|
|
@@ -764,12 +764,12 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
764
764
|
client_secret: z.ZodOptional<z.ZodString>;
|
|
765
765
|
app_secret: z.ZodOptional<z.ZodString>;
|
|
766
766
|
scope: z.ZodOptional<z.ZodString>;
|
|
767
|
-
authorization_endpoint: z.ZodOptional<z.
|
|
768
|
-
token_endpoint: z.ZodOptional<z.
|
|
769
|
-
userinfo_endpoint: z.ZodOptional<z.
|
|
770
|
-
jwks_uri: z.ZodOptional<z.
|
|
771
|
-
discovery_url: z.ZodOptional<z.
|
|
772
|
-
issuer: z.ZodOptional<z.
|
|
767
|
+
authorization_endpoint: z.ZodOptional<z.ZodString>;
|
|
768
|
+
token_endpoint: z.ZodOptional<z.ZodString>;
|
|
769
|
+
userinfo_endpoint: z.ZodOptional<z.ZodString>;
|
|
770
|
+
jwks_uri: z.ZodOptional<z.ZodString>;
|
|
771
|
+
discovery_url: z.ZodOptional<z.ZodString>;
|
|
772
|
+
issuer: z.ZodOptional<z.ZodString>;
|
|
773
773
|
provider: z.ZodOptional<z.ZodString>;
|
|
774
774
|
from: z.ZodOptional<z.ZodString>;
|
|
775
775
|
twilio_sid: z.ZodOptional<z.ZodString>;
|
|
@@ -810,16 +810,12 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
810
810
|
from?: string | undefined;
|
|
811
811
|
twilio_sid?: string | undefined;
|
|
812
812
|
twilio_token?: string | undefined;
|
|
813
|
-
}
|
|
813
|
+
}>>;
|
|
814
814
|
enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
815
815
|
response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
|
|
816
816
|
response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
|
|
817
817
|
}>, "strip", z.ZodTypeAny, {
|
|
818
|
-
|
|
819
|
-
updated_at: string;
|
|
820
|
-
name: string;
|
|
821
|
-
strategy: string;
|
|
822
|
-
options?: {
|
|
818
|
+
options: {
|
|
823
819
|
provider?: string | undefined;
|
|
824
820
|
issuer?: string | undefined;
|
|
825
821
|
client_secret?: string | undefined;
|
|
@@ -837,7 +833,11 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
837
833
|
from?: string | undefined;
|
|
838
834
|
twilio_sid?: string | undefined;
|
|
839
835
|
twilio_token?: string | undefined;
|
|
840
|
-
}
|
|
836
|
+
};
|
|
837
|
+
created_at: string;
|
|
838
|
+
updated_at: string;
|
|
839
|
+
name: string;
|
|
840
|
+
strategy: string;
|
|
841
841
|
id?: string | undefined;
|
|
842
842
|
response_type?: AuthorizationResponseType | undefined;
|
|
843
843
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
@@ -1000,11 +1000,7 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1000
1000
|
language?: string | undefined;
|
|
1001
1001
|
};
|
|
1002
1002
|
connections: {
|
|
1003
|
-
|
|
1004
|
-
updated_at: string;
|
|
1005
|
-
name: string;
|
|
1006
|
-
strategy: string;
|
|
1007
|
-
options?: {
|
|
1003
|
+
options: {
|
|
1008
1004
|
provider?: string | undefined;
|
|
1009
1005
|
issuer?: string | undefined;
|
|
1010
1006
|
client_secret?: string | undefined;
|
|
@@ -1022,7 +1018,11 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1022
1018
|
from?: string | undefined;
|
|
1023
1019
|
twilio_sid?: string | undefined;
|
|
1024
1020
|
twilio_token?: string | undefined;
|
|
1025
|
-
}
|
|
1021
|
+
};
|
|
1022
|
+
created_at: string;
|
|
1023
|
+
updated_at: string;
|
|
1024
|
+
name: string;
|
|
1025
|
+
strategy: string;
|
|
1026
1026
|
id?: string | undefined;
|
|
1027
1027
|
response_type?: AuthorizationResponseType | undefined;
|
|
1028
1028
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
@@ -1221,7 +1221,7 @@ declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1221
1221
|
id: z.ZodOptional<z.ZodString>;
|
|
1222
1222
|
name: z.ZodString;
|
|
1223
1223
|
strategy: z.ZodString;
|
|
1224
|
-
options: z.
|
|
1224
|
+
options: z.ZodDefault<z.ZodObject<{
|
|
1225
1225
|
kid: z.ZodOptional<z.ZodString>;
|
|
1226
1226
|
team_id: z.ZodOptional<z.ZodString>;
|
|
1227
1227
|
realms: z.ZodOptional<z.ZodString>;
|
|
@@ -1229,12 +1229,12 @@ declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1229
1229
|
client_secret: z.ZodOptional<z.ZodString>;
|
|
1230
1230
|
app_secret: z.ZodOptional<z.ZodString>;
|
|
1231
1231
|
scope: z.ZodOptional<z.ZodString>;
|
|
1232
|
-
authorization_endpoint: z.ZodOptional<z.
|
|
1233
|
-
token_endpoint: z.ZodOptional<z.
|
|
1234
|
-
userinfo_endpoint: z.ZodOptional<z.
|
|
1235
|
-
jwks_uri: z.ZodOptional<z.
|
|
1236
|
-
discovery_url: z.ZodOptional<z.
|
|
1237
|
-
issuer: z.ZodOptional<z.
|
|
1232
|
+
authorization_endpoint: z.ZodOptional<z.ZodString>;
|
|
1233
|
+
token_endpoint: z.ZodOptional<z.ZodString>;
|
|
1234
|
+
userinfo_endpoint: z.ZodOptional<z.ZodString>;
|
|
1235
|
+
jwks_uri: z.ZodOptional<z.ZodString>;
|
|
1236
|
+
discovery_url: z.ZodOptional<z.ZodString>;
|
|
1237
|
+
issuer: z.ZodOptional<z.ZodString>;
|
|
1238
1238
|
provider: z.ZodOptional<z.ZodString>;
|
|
1239
1239
|
from: z.ZodOptional<z.ZodString>;
|
|
1240
1240
|
twilio_sid: z.ZodOptional<z.ZodString>;
|
|
@@ -1275,14 +1275,12 @@ declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1275
1275
|
from?: string | undefined;
|
|
1276
1276
|
twilio_sid?: string | undefined;
|
|
1277
1277
|
twilio_token?: string | undefined;
|
|
1278
|
-
}
|
|
1278
|
+
}>>;
|
|
1279
1279
|
enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
1280
1280
|
response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
|
|
1281
1281
|
response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
|
|
1282
1282
|
}, "strip", z.ZodTypeAny, {
|
|
1283
|
-
|
|
1284
|
-
strategy: string;
|
|
1285
|
-
options?: {
|
|
1283
|
+
options: {
|
|
1286
1284
|
provider?: string | undefined;
|
|
1287
1285
|
issuer?: string | undefined;
|
|
1288
1286
|
client_secret?: string | undefined;
|
|
@@ -1300,7 +1298,9 @@ declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1300
1298
|
from?: string | undefined;
|
|
1301
1299
|
twilio_sid?: string | undefined;
|
|
1302
1300
|
twilio_token?: string | undefined;
|
|
1303
|
-
}
|
|
1301
|
+
};
|
|
1302
|
+
name: string;
|
|
1303
|
+
strategy: string;
|
|
1304
1304
|
id?: string | undefined;
|
|
1305
1305
|
response_type?: AuthorizationResponseType | undefined;
|
|
1306
1306
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
@@ -1341,7 +1341,7 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1341
1341
|
id: z.ZodOptional<z.ZodString>;
|
|
1342
1342
|
name: z.ZodString;
|
|
1343
1343
|
strategy: z.ZodString;
|
|
1344
|
-
options: z.
|
|
1344
|
+
options: z.ZodDefault<z.ZodObject<{
|
|
1345
1345
|
kid: z.ZodOptional<z.ZodString>;
|
|
1346
1346
|
team_id: z.ZodOptional<z.ZodString>;
|
|
1347
1347
|
realms: z.ZodOptional<z.ZodString>;
|
|
@@ -1349,12 +1349,12 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1349
1349
|
client_secret: z.ZodOptional<z.ZodString>;
|
|
1350
1350
|
app_secret: z.ZodOptional<z.ZodString>;
|
|
1351
1351
|
scope: z.ZodOptional<z.ZodString>;
|
|
1352
|
-
authorization_endpoint: z.ZodOptional<z.
|
|
1353
|
-
token_endpoint: z.ZodOptional<z.
|
|
1354
|
-
userinfo_endpoint: z.ZodOptional<z.
|
|
1355
|
-
jwks_uri: z.ZodOptional<z.
|
|
1356
|
-
discovery_url: z.ZodOptional<z.
|
|
1357
|
-
issuer: z.ZodOptional<z.
|
|
1352
|
+
authorization_endpoint: z.ZodOptional<z.ZodString>;
|
|
1353
|
+
token_endpoint: z.ZodOptional<z.ZodString>;
|
|
1354
|
+
userinfo_endpoint: z.ZodOptional<z.ZodString>;
|
|
1355
|
+
jwks_uri: z.ZodOptional<z.ZodString>;
|
|
1356
|
+
discovery_url: z.ZodOptional<z.ZodString>;
|
|
1357
|
+
issuer: z.ZodOptional<z.ZodString>;
|
|
1358
1358
|
provider: z.ZodOptional<z.ZodString>;
|
|
1359
1359
|
from: z.ZodOptional<z.ZodString>;
|
|
1360
1360
|
twilio_sid: z.ZodOptional<z.ZodString>;
|
|
@@ -1395,16 +1395,12 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1395
1395
|
from?: string | undefined;
|
|
1396
1396
|
twilio_sid?: string | undefined;
|
|
1397
1397
|
twilio_token?: string | undefined;
|
|
1398
|
-
}
|
|
1398
|
+
}>>;
|
|
1399
1399
|
enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
1400
1400
|
response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
|
|
1401
1401
|
response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
|
|
1402
1402
|
}>, "strip", z.ZodTypeAny, {
|
|
1403
|
-
|
|
1404
|
-
updated_at: string;
|
|
1405
|
-
name: string;
|
|
1406
|
-
strategy: string;
|
|
1407
|
-
options?: {
|
|
1403
|
+
options: {
|
|
1408
1404
|
provider?: string | undefined;
|
|
1409
1405
|
issuer?: string | undefined;
|
|
1410
1406
|
client_secret?: string | undefined;
|
|
@@ -1422,7 +1418,11 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1422
1418
|
from?: string | undefined;
|
|
1423
1419
|
twilio_sid?: string | undefined;
|
|
1424
1420
|
twilio_token?: string | undefined;
|
|
1425
|
-
}
|
|
1421
|
+
};
|
|
1422
|
+
created_at: string;
|
|
1423
|
+
updated_at: string;
|
|
1424
|
+
name: string;
|
|
1425
|
+
strategy: string;
|
|
1426
1426
|
id?: string | undefined;
|
|
1427
1427
|
response_type?: AuthorizationResponseType | undefined;
|
|
1428
1428
|
response_mode?: AuthorizationResponseMode | undefined;
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"type": "git",
|
|
12
12
|
"url": "https://github.com/markusahlstrand/authhero"
|
|
13
13
|
},
|
|
14
|
-
"version": "10.
|
|
14
|
+
"version": "10.9.0",
|
|
15
15
|
"files": [
|
|
16
16
|
"dist"
|
|
17
17
|
],
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"typescript": "^5.6.3",
|
|
39
39
|
"vite": "^5.4.11",
|
|
40
40
|
"vitest": "^2.1.5",
|
|
41
|
-
"@authhero/adapter-interfaces": "0.
|
|
41
|
+
"@authhero/adapter-interfaces": "0.59.0"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"kysely": "^0.27.4",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"hono": "^4.6.8",
|
|
50
50
|
"kysely-bun-sqlite": "^0.3.2",
|
|
51
51
|
"kysely-planetscale": "^1.5.0",
|
|
52
|
-
"@authhero/adapter-interfaces": "0.
|
|
52
|
+
"@authhero/adapter-interfaces": "0.59.0"
|
|
53
53
|
},
|
|
54
54
|
"scripts": {
|
|
55
55
|
"build": "tsc && vite build && dts-bundle-generator --config ./dts-bundle-generator.config.ts",
|