@authhero/kysely-adapter 10.8.0 → 10.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 +89 -85
- package/package.json +3 -3
package/dist/kysely-adapter.d.ts
CHANGED
|
@@ -8,8 +8,8 @@ export interface Totals {
|
|
|
8
8
|
limit: number;
|
|
9
9
|
length: number;
|
|
10
10
|
}
|
|
11
|
-
declare const userInsertSchema: z.ZodObject<
|
|
12
|
-
email: z.ZodOptional<z.ZodString>;
|
|
11
|
+
declare const userInsertSchema: z.ZodObject<{
|
|
12
|
+
email: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
|
|
13
13
|
username: z.ZodOptional<z.ZodString>;
|
|
14
14
|
phone_number: z.ZodOptional<z.ZodString>;
|
|
15
15
|
given_name: z.ZodOptional<z.ZodString>;
|
|
@@ -20,10 +20,9 @@ declare const userInsertSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
20
20
|
locale: z.ZodOptional<z.ZodString>;
|
|
21
21
|
linked_to: z.ZodOptional<z.ZodString>;
|
|
22
22
|
profileData: z.ZodOptional<z.ZodString>;
|
|
23
|
-
user_id: z.ZodOptional<z.ZodString>;
|
|
24
23
|
app_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
|
|
25
24
|
user_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
|
|
26
|
-
}
|
|
25
|
+
} & {
|
|
27
26
|
email_verified: z.ZodDefault<z.ZodBoolean>;
|
|
28
27
|
verify_email: z.ZodOptional<z.ZodBoolean>;
|
|
29
28
|
last_ip: z.ZodOptional<z.ZodString>;
|
|
@@ -32,7 +31,7 @@ declare const userInsertSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
32
31
|
provider: z.ZodDefault<z.ZodString>;
|
|
33
32
|
connection: z.ZodDefault<z.ZodString>;
|
|
34
33
|
is_social: z.ZodOptional<z.ZodBoolean>;
|
|
35
|
-
}
|
|
34
|
+
}, "strip", z.ZodTypeAny, {
|
|
36
35
|
email_verified: boolean;
|
|
37
36
|
connection: string;
|
|
38
37
|
provider: string;
|
|
@@ -82,7 +81,7 @@ declare const userSchema: z.ZodObject<{
|
|
|
82
81
|
user_id: z.ZodString;
|
|
83
82
|
is_social: z.ZodBoolean;
|
|
84
83
|
email: z.ZodOptional<z.ZodString>;
|
|
85
|
-
login_count: z.ZodNumber
|
|
84
|
+
login_count: z.ZodDefault<z.ZodNumber>;
|
|
86
85
|
identities: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
87
86
|
connection: z.ZodString;
|
|
88
87
|
user_id: z.ZodString;
|
|
@@ -225,7 +224,6 @@ declare const userSchema: z.ZodObject<{
|
|
|
225
224
|
updated_at: string;
|
|
226
225
|
user_id: string;
|
|
227
226
|
is_social: boolean;
|
|
228
|
-
login_count: number;
|
|
229
227
|
email?: string | undefined;
|
|
230
228
|
email_verified?: boolean | undefined;
|
|
231
229
|
name?: string | undefined;
|
|
@@ -245,6 +243,7 @@ declare const userSchema: z.ZodObject<{
|
|
|
245
243
|
verify_email?: boolean | undefined;
|
|
246
244
|
last_ip?: string | undefined;
|
|
247
245
|
last_login?: string | undefined;
|
|
246
|
+
login_count?: number | undefined;
|
|
248
247
|
identities?: {
|
|
249
248
|
connection: string;
|
|
250
249
|
user_id: string;
|
|
@@ -748,15 +747,14 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
748
747
|
secondary_color?: string | undefined;
|
|
749
748
|
language?: string | undefined;
|
|
750
749
|
}>;
|
|
751
|
-
connections: z.ZodArray<z.ZodObject<
|
|
752
|
-
id: z.ZodString;
|
|
750
|
+
connections: z.ZodArray<z.ZodObject<{
|
|
753
751
|
created_at: z.ZodEffects<z.ZodString, string, string>;
|
|
754
752
|
updated_at: z.ZodEffects<z.ZodString, string, string>;
|
|
755
|
-
}
|
|
753
|
+
} & {
|
|
756
754
|
id: z.ZodOptional<z.ZodString>;
|
|
757
755
|
name: z.ZodString;
|
|
758
756
|
strategy: z.ZodString;
|
|
759
|
-
options: z.
|
|
757
|
+
options: z.ZodDefault<z.ZodObject<{
|
|
760
758
|
kid: z.ZodOptional<z.ZodString>;
|
|
761
759
|
team_id: z.ZodOptional<z.ZodString>;
|
|
762
760
|
realms: z.ZodOptional<z.ZodString>;
|
|
@@ -764,12 +762,12 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
764
762
|
client_secret: z.ZodOptional<z.ZodString>;
|
|
765
763
|
app_secret: z.ZodOptional<z.ZodString>;
|
|
766
764
|
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.
|
|
765
|
+
authorization_endpoint: z.ZodOptional<z.ZodString>;
|
|
766
|
+
token_endpoint: z.ZodOptional<z.ZodString>;
|
|
767
|
+
userinfo_endpoint: z.ZodOptional<z.ZodString>;
|
|
768
|
+
jwks_uri: z.ZodOptional<z.ZodString>;
|
|
769
|
+
discovery_url: z.ZodOptional<z.ZodString>;
|
|
770
|
+
issuer: z.ZodOptional<z.ZodString>;
|
|
773
771
|
provider: z.ZodOptional<z.ZodString>;
|
|
774
772
|
from: z.ZodOptional<z.ZodString>;
|
|
775
773
|
twilio_sid: z.ZodOptional<z.ZodString>;
|
|
@@ -810,16 +808,12 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
810
808
|
from?: string | undefined;
|
|
811
809
|
twilio_sid?: string | undefined;
|
|
812
810
|
twilio_token?: string | undefined;
|
|
813
|
-
}
|
|
811
|
+
}>>;
|
|
814
812
|
enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
815
813
|
response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
|
|
816
814
|
response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
|
|
817
|
-
}
|
|
818
|
-
|
|
819
|
-
updated_at: string;
|
|
820
|
-
name: string;
|
|
821
|
-
strategy: string;
|
|
822
|
-
options?: {
|
|
815
|
+
}, "strip", z.ZodTypeAny, {
|
|
816
|
+
options: {
|
|
823
817
|
provider?: string | undefined;
|
|
824
818
|
issuer?: string | undefined;
|
|
825
819
|
client_secret?: string | undefined;
|
|
@@ -837,7 +831,11 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
837
831
|
from?: string | undefined;
|
|
838
832
|
twilio_sid?: string | undefined;
|
|
839
833
|
twilio_token?: string | undefined;
|
|
840
|
-
}
|
|
834
|
+
};
|
|
835
|
+
created_at: string;
|
|
836
|
+
updated_at: string;
|
|
837
|
+
name: string;
|
|
838
|
+
strategy: string;
|
|
841
839
|
id?: string | undefined;
|
|
842
840
|
response_type?: AuthorizationResponseType | undefined;
|
|
843
841
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
@@ -1000,11 +998,7 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1000
998
|
language?: string | undefined;
|
|
1001
999
|
};
|
|
1002
1000
|
connections: {
|
|
1003
|
-
|
|
1004
|
-
updated_at: string;
|
|
1005
|
-
name: string;
|
|
1006
|
-
strategy: string;
|
|
1007
|
-
options?: {
|
|
1001
|
+
options: {
|
|
1008
1002
|
provider?: string | undefined;
|
|
1009
1003
|
issuer?: string | undefined;
|
|
1010
1004
|
client_secret?: string | undefined;
|
|
@@ -1022,7 +1016,11 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1022
1016
|
from?: string | undefined;
|
|
1023
1017
|
twilio_sid?: string | undefined;
|
|
1024
1018
|
twilio_token?: string | undefined;
|
|
1025
|
-
}
|
|
1019
|
+
};
|
|
1020
|
+
created_at: string;
|
|
1021
|
+
updated_at: string;
|
|
1022
|
+
name: string;
|
|
1023
|
+
strategy: string;
|
|
1026
1024
|
id?: string | undefined;
|
|
1027
1025
|
response_type?: AuthorizationResponseType | undefined;
|
|
1028
1026
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
@@ -1221,7 +1219,7 @@ declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1221
1219
|
id: z.ZodOptional<z.ZodString>;
|
|
1222
1220
|
name: z.ZodString;
|
|
1223
1221
|
strategy: z.ZodString;
|
|
1224
|
-
options: z.
|
|
1222
|
+
options: z.ZodDefault<z.ZodObject<{
|
|
1225
1223
|
kid: z.ZodOptional<z.ZodString>;
|
|
1226
1224
|
team_id: z.ZodOptional<z.ZodString>;
|
|
1227
1225
|
realms: z.ZodOptional<z.ZodString>;
|
|
@@ -1229,12 +1227,12 @@ declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1229
1227
|
client_secret: z.ZodOptional<z.ZodString>;
|
|
1230
1228
|
app_secret: z.ZodOptional<z.ZodString>;
|
|
1231
1229
|
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.
|
|
1230
|
+
authorization_endpoint: z.ZodOptional<z.ZodString>;
|
|
1231
|
+
token_endpoint: z.ZodOptional<z.ZodString>;
|
|
1232
|
+
userinfo_endpoint: z.ZodOptional<z.ZodString>;
|
|
1233
|
+
jwks_uri: z.ZodOptional<z.ZodString>;
|
|
1234
|
+
discovery_url: z.ZodOptional<z.ZodString>;
|
|
1235
|
+
issuer: z.ZodOptional<z.ZodString>;
|
|
1238
1236
|
provider: z.ZodOptional<z.ZodString>;
|
|
1239
1237
|
from: z.ZodOptional<z.ZodString>;
|
|
1240
1238
|
twilio_sid: z.ZodOptional<z.ZodString>;
|
|
@@ -1275,14 +1273,12 @@ declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1275
1273
|
from?: string | undefined;
|
|
1276
1274
|
twilio_sid?: string | undefined;
|
|
1277
1275
|
twilio_token?: string | undefined;
|
|
1278
|
-
}
|
|
1276
|
+
}>>;
|
|
1279
1277
|
enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
1280
1278
|
response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
|
|
1281
1279
|
response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
|
|
1282
1280
|
}, "strip", z.ZodTypeAny, {
|
|
1283
|
-
|
|
1284
|
-
strategy: string;
|
|
1285
|
-
options?: {
|
|
1281
|
+
options: {
|
|
1286
1282
|
provider?: string | undefined;
|
|
1287
1283
|
issuer?: string | undefined;
|
|
1288
1284
|
client_secret?: string | undefined;
|
|
@@ -1300,7 +1296,9 @@ declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1300
1296
|
from?: string | undefined;
|
|
1301
1297
|
twilio_sid?: string | undefined;
|
|
1302
1298
|
twilio_token?: string | undefined;
|
|
1303
|
-
}
|
|
1299
|
+
};
|
|
1300
|
+
name: string;
|
|
1301
|
+
strategy: string;
|
|
1304
1302
|
id?: string | undefined;
|
|
1305
1303
|
response_type?: AuthorizationResponseType | undefined;
|
|
1306
1304
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
@@ -1333,15 +1331,14 @@ declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1333
1331
|
enabled_clients?: string[] | undefined;
|
|
1334
1332
|
}>;
|
|
1335
1333
|
export type ConnectionInsert = z.infer<typeof connectionInsertSchema>;
|
|
1336
|
-
declare const connectionSchema: z.ZodObject<
|
|
1337
|
-
id: z.ZodString;
|
|
1334
|
+
declare const connectionSchema: z.ZodObject<{
|
|
1338
1335
|
created_at: z.ZodEffects<z.ZodString, string, string>;
|
|
1339
1336
|
updated_at: z.ZodEffects<z.ZodString, string, string>;
|
|
1340
|
-
}
|
|
1337
|
+
} & {
|
|
1341
1338
|
id: z.ZodOptional<z.ZodString>;
|
|
1342
1339
|
name: z.ZodString;
|
|
1343
1340
|
strategy: z.ZodString;
|
|
1344
|
-
options: z.
|
|
1341
|
+
options: z.ZodDefault<z.ZodObject<{
|
|
1345
1342
|
kid: z.ZodOptional<z.ZodString>;
|
|
1346
1343
|
team_id: z.ZodOptional<z.ZodString>;
|
|
1347
1344
|
realms: z.ZodOptional<z.ZodString>;
|
|
@@ -1349,12 +1346,12 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1349
1346
|
client_secret: z.ZodOptional<z.ZodString>;
|
|
1350
1347
|
app_secret: z.ZodOptional<z.ZodString>;
|
|
1351
1348
|
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.
|
|
1349
|
+
authorization_endpoint: z.ZodOptional<z.ZodString>;
|
|
1350
|
+
token_endpoint: z.ZodOptional<z.ZodString>;
|
|
1351
|
+
userinfo_endpoint: z.ZodOptional<z.ZodString>;
|
|
1352
|
+
jwks_uri: z.ZodOptional<z.ZodString>;
|
|
1353
|
+
discovery_url: z.ZodOptional<z.ZodString>;
|
|
1354
|
+
issuer: z.ZodOptional<z.ZodString>;
|
|
1358
1355
|
provider: z.ZodOptional<z.ZodString>;
|
|
1359
1356
|
from: z.ZodOptional<z.ZodString>;
|
|
1360
1357
|
twilio_sid: z.ZodOptional<z.ZodString>;
|
|
@@ -1395,16 +1392,12 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1395
1392
|
from?: string | undefined;
|
|
1396
1393
|
twilio_sid?: string | undefined;
|
|
1397
1394
|
twilio_token?: string | undefined;
|
|
1398
|
-
}
|
|
1395
|
+
}>>;
|
|
1399
1396
|
enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
1400
1397
|
response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
|
|
1401
1398
|
response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
|
|
1402
|
-
}
|
|
1403
|
-
|
|
1404
|
-
updated_at: string;
|
|
1405
|
-
name: string;
|
|
1406
|
-
strategy: string;
|
|
1407
|
-
options?: {
|
|
1399
|
+
}, "strip", z.ZodTypeAny, {
|
|
1400
|
+
options: {
|
|
1408
1401
|
provider?: string | undefined;
|
|
1409
1402
|
issuer?: string | undefined;
|
|
1410
1403
|
client_secret?: string | undefined;
|
|
@@ -1422,7 +1415,11 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1422
1415
|
from?: string | undefined;
|
|
1423
1416
|
twilio_sid?: string | undefined;
|
|
1424
1417
|
twilio_token?: string | undefined;
|
|
1425
|
-
}
|
|
1418
|
+
};
|
|
1419
|
+
created_at: string;
|
|
1420
|
+
updated_at: string;
|
|
1421
|
+
name: string;
|
|
1422
|
+
strategy: string;
|
|
1426
1423
|
id?: string | undefined;
|
|
1427
1424
|
response_type?: AuthorizationResponseType | undefined;
|
|
1428
1425
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
@@ -1588,7 +1585,7 @@ declare const customDomainSchema: z.ZodObject<{
|
|
|
1588
1585
|
} | undefined;
|
|
1589
1586
|
}>;
|
|
1590
1587
|
export type CustomDomain = z.infer<typeof customDomainSchema>;
|
|
1591
|
-
declare const customDomainWithTenantIdSchema: z.ZodObject<
|
|
1588
|
+
declare const customDomainWithTenantIdSchema: z.ZodObject<{
|
|
1592
1589
|
custom_domain_id: z.ZodString;
|
|
1593
1590
|
primary: z.ZodBoolean;
|
|
1594
1591
|
status: z.ZodEnum<[
|
|
@@ -1642,9 +1639,9 @@ declare const customDomainWithTenantIdSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
1642
1639
|
"null"
|
|
1643
1640
|
]>>;
|
|
1644
1641
|
domain_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1645
|
-
}
|
|
1642
|
+
} & {
|
|
1646
1643
|
tenant_id: z.ZodString;
|
|
1647
|
-
}
|
|
1644
|
+
}, "strip", z.ZodTypeAny, {
|
|
1648
1645
|
type: "auth0_managed_certs" | "self_managed_certs";
|
|
1649
1646
|
status: "disabled" | "pending" | "pending_verification" | "ready";
|
|
1650
1647
|
primary: boolean;
|
|
@@ -1711,7 +1708,7 @@ declare const hookInsertSchema: z.ZodObject<{
|
|
|
1711
1708
|
priority?: number | undefined;
|
|
1712
1709
|
}>;
|
|
1713
1710
|
export type HookInsert = z.infer<typeof hookInsertSchema>;
|
|
1714
|
-
declare const hookSchema: z.ZodObject<
|
|
1711
|
+
declare const hookSchema: z.ZodObject<{
|
|
1715
1712
|
trigger_id: z.ZodEnum<[
|
|
1716
1713
|
"pre-user-signup",
|
|
1717
1714
|
"post-user-registration",
|
|
@@ -1719,14 +1716,13 @@ declare const hookSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1719
1716
|
]>;
|
|
1720
1717
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1721
1718
|
url: z.ZodString;
|
|
1722
|
-
hook_id: z.ZodOptional<z.ZodString>;
|
|
1723
1719
|
synchronous: z.ZodDefault<z.ZodBoolean>;
|
|
1724
1720
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
1725
|
-
}
|
|
1721
|
+
} & {
|
|
1726
1722
|
hook_id: z.ZodString;
|
|
1727
1723
|
created_at: z.ZodString;
|
|
1728
1724
|
updated_at: z.ZodString;
|
|
1729
|
-
}
|
|
1725
|
+
}, "strip", z.ZodTypeAny, {
|
|
1730
1726
|
created_at: string;
|
|
1731
1727
|
updated_at: string;
|
|
1732
1728
|
enabled: boolean;
|
|
@@ -2834,7 +2830,7 @@ declare const themeInsertSchema: z.ZodObject<{
|
|
|
2834
2830
|
};
|
|
2835
2831
|
}>;
|
|
2836
2832
|
export type ThemeInsert = z.infer<typeof themeInsertSchema>;
|
|
2837
|
-
declare const themeSchema: z.ZodObject<
|
|
2833
|
+
declare const themeSchema: z.ZodObject<{
|
|
2838
2834
|
borders: z.ZodObject<{
|
|
2839
2835
|
button_border_radius: z.ZodNumber;
|
|
2840
2836
|
button_border_weight: z.ZodNumber;
|
|
@@ -3097,9 +3093,9 @@ declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3097
3093
|
logo_position: "center";
|
|
3098
3094
|
social_buttons_layout: "bottom";
|
|
3099
3095
|
}>;
|
|
3100
|
-
}
|
|
3096
|
+
} & {
|
|
3101
3097
|
themeId: z.ZodString;
|
|
3102
|
-
}
|
|
3098
|
+
}, "strip", z.ZodTypeAny, {
|
|
3103
3099
|
page_background: {
|
|
3104
3100
|
background_color: string;
|
|
3105
3101
|
background_image_url: string;
|
|
@@ -3748,36 +3744,44 @@ export interface SqlLog {
|
|
|
3748
3744
|
hostname?: string;
|
|
3749
3745
|
session_connection?: string;
|
|
3750
3746
|
}
|
|
3751
|
-
declare const sqlThemeSchema: z.ZodObject<
|
|
3747
|
+
declare const sqlThemeSchema: z.ZodObject<{
|
|
3748
|
+
[x: string]: any;
|
|
3749
|
+
} & {
|
|
3752
3750
|
tenant_id: z.ZodString;
|
|
3753
|
-
}
|
|
3751
|
+
}, "strip", z.ZodTypeAny, {
|
|
3754
3752
|
[x: string]: any;
|
|
3755
3753
|
tenant_id?: unknown;
|
|
3756
3754
|
}, {
|
|
3757
3755
|
[x: string]: any;
|
|
3758
3756
|
tenant_id?: unknown;
|
|
3759
3757
|
}>;
|
|
3760
|
-
declare const sqlLoginSchema: z.ZodObject<
|
|
3758
|
+
declare const sqlLoginSchema: z.ZodObject<{
|
|
3759
|
+
[x: string]: any;
|
|
3760
|
+
} & {
|
|
3761
3761
|
tenant_id: z.ZodString;
|
|
3762
|
-
}
|
|
3762
|
+
}, "strip", z.ZodTypeAny, {
|
|
3763
3763
|
[x: string]: any;
|
|
3764
3764
|
tenant_id?: unknown;
|
|
3765
3765
|
}, {
|
|
3766
3766
|
[x: string]: any;
|
|
3767
3767
|
tenant_id?: unknown;
|
|
3768
3768
|
}>;
|
|
3769
|
-
declare const sqlConnectionSchema: z.ZodObject<
|
|
3769
|
+
declare const sqlConnectionSchema: z.ZodObject<{
|
|
3770
|
+
[x: string]: any;
|
|
3771
|
+
} & {
|
|
3770
3772
|
tenant_id: z.ZodString;
|
|
3771
|
-
}
|
|
3773
|
+
}, "strip", z.ZodTypeAny, {
|
|
3772
3774
|
[x: string]: any;
|
|
3773
3775
|
tenant_id?: unknown;
|
|
3774
3776
|
}, {
|
|
3775
3777
|
[x: string]: any;
|
|
3776
3778
|
tenant_id?: unknown;
|
|
3777
3779
|
}>;
|
|
3778
|
-
declare const sqlBrandingSchema: z.ZodObject<
|
|
3780
|
+
declare const sqlBrandingSchema: z.ZodObject<{
|
|
3781
|
+
[x: string]: any;
|
|
3782
|
+
} & {
|
|
3779
3783
|
tenant_id: z.ZodString;
|
|
3780
|
-
}
|
|
3784
|
+
}, "strip", z.ZodTypeAny, {
|
|
3781
3785
|
[x: string]: any;
|
|
3782
3786
|
tenant_id?: unknown;
|
|
3783
3787
|
}, {
|
|
@@ -3864,7 +3868,7 @@ declare const sqlUserSchema: z.ZodObject<{
|
|
|
3864
3868
|
tenant_id: z.ZodString;
|
|
3865
3869
|
user_id: z.ZodString;
|
|
3866
3870
|
email: z.ZodOptional<z.ZodString>;
|
|
3867
|
-
login_count: z.ZodNumber
|
|
3871
|
+
login_count: z.ZodDefault<z.ZodNumber>;
|
|
3868
3872
|
identities: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3869
3873
|
connection: z.ZodString;
|
|
3870
3874
|
user_id: z.ZodString;
|
|
@@ -4009,9 +4013,9 @@ declare const sqlUserSchema: z.ZodObject<{
|
|
|
4009
4013
|
app_metadata: string;
|
|
4010
4014
|
user_metadata: string;
|
|
4011
4015
|
user_id: string;
|
|
4012
|
-
login_count: number;
|
|
4013
4016
|
name?: string | undefined;
|
|
4014
4017
|
email?: string | undefined;
|
|
4018
|
+
login_count?: number | undefined;
|
|
4015
4019
|
identities?: {
|
|
4016
4020
|
connection: string;
|
|
4017
4021
|
user_id: string;
|
|
@@ -4065,20 +4069,20 @@ declare const sqlHookSchema: z.ZodObject<{
|
|
|
4065
4069
|
enabled: number;
|
|
4066
4070
|
created_at: string;
|
|
4067
4071
|
updated_at: string;
|
|
4072
|
+
synchronous: number;
|
|
4068
4073
|
trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
|
|
4069
4074
|
url: string;
|
|
4070
4075
|
hook_id: string;
|
|
4071
|
-
synchronous: number;
|
|
4072
4076
|
priority?: number | undefined;
|
|
4073
4077
|
}, {
|
|
4074
4078
|
tenant_id: string;
|
|
4075
4079
|
enabled: number;
|
|
4076
4080
|
created_at: string;
|
|
4077
4081
|
updated_at: string;
|
|
4082
|
+
synchronous: number;
|
|
4078
4083
|
trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
|
|
4079
4084
|
url: string;
|
|
4080
4085
|
hook_id: string;
|
|
4081
|
-
synchronous: number;
|
|
4082
4086
|
priority?: number | undefined;
|
|
4083
4087
|
}>;
|
|
4084
4088
|
declare const sqlEmailProvidersSchema: z.ZodObject<{
|
|
@@ -4250,9 +4254,9 @@ declare const sqlCustomDomainSchema: z.ZodObject<{
|
|
|
4250
4254
|
]>>;
|
|
4251
4255
|
domain_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4252
4256
|
}, "strip", z.ZodTypeAny, {
|
|
4253
|
-
tenant_id: string;
|
|
4254
4257
|
type: "auth0_managed_certs" | "self_managed_certs";
|
|
4255
4258
|
status: "disabled" | "pending" | "pending_verification" | "ready";
|
|
4259
|
+
tenant_id: string;
|
|
4256
4260
|
created_at: string;
|
|
4257
4261
|
updated_at: string;
|
|
4258
4262
|
primary: number;
|
|
@@ -4271,9 +4275,9 @@ declare const sqlCustomDomainSchema: z.ZodObject<{
|
|
|
4271
4275
|
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
4272
4276
|
domain_metadata?: Record<string, string> | undefined;
|
|
4273
4277
|
}, {
|
|
4274
|
-
tenant_id: string;
|
|
4275
4278
|
type: "auth0_managed_certs" | "self_managed_certs";
|
|
4276
4279
|
status: "disabled" | "pending" | "pending_verification" | "ready";
|
|
4280
|
+
tenant_id: string;
|
|
4277
4281
|
created_at: string;
|
|
4278
4282
|
updated_at: string;
|
|
4279
4283
|
primary: number;
|
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.10.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.60.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.60.0"
|
|
53
53
|
},
|
|
54
54
|
"scripts": {
|
|
55
55
|
"build": "tsc && vite build && dts-bundle-generator --config ./dts-bundle-generator.config.ts",
|