@authhero/kysely-adapter 10.106.0 → 10.106.2
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 +42 -1
- package/package.json +2 -2
package/dist/kysely-adapter.d.ts
CHANGED
|
@@ -2097,6 +2097,11 @@ declare const connectionInsertSchema: z.ZodObject<{
|
|
|
2097
2097
|
max?: number | undefined;
|
|
2098
2098
|
} | undefined;
|
|
2099
2099
|
}>>;
|
|
2100
|
+
set_user_root_attributes: z.ZodOptional<z.ZodEnum<[
|
|
2101
|
+
"on_each_login",
|
|
2102
|
+
"on_first_login",
|
|
2103
|
+
"never_on_login"
|
|
2104
|
+
]>>;
|
|
2100
2105
|
}, "strip", z.ZodTypeAny, {
|
|
2101
2106
|
validation?: {
|
|
2102
2107
|
username?: {
|
|
@@ -2199,6 +2204,7 @@ declare const connectionInsertSchema: z.ZodObject<{
|
|
|
2199
2204
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
2200
2205
|
} | undefined;
|
|
2201
2206
|
requires_username?: boolean | undefined;
|
|
2207
|
+
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
2202
2208
|
}, {
|
|
2203
2209
|
validation?: {
|
|
2204
2210
|
username?: {
|
|
@@ -2301,6 +2307,7 @@ declare const connectionInsertSchema: z.ZodObject<{
|
|
|
2301
2307
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
2302
2308
|
} | undefined;
|
|
2303
2309
|
requires_username?: boolean | undefined;
|
|
2310
|
+
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
2304
2311
|
}>>;
|
|
2305
2312
|
enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
2306
2313
|
response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
|
|
@@ -2412,6 +2419,7 @@ declare const connectionInsertSchema: z.ZodObject<{
|
|
|
2412
2419
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
2413
2420
|
} | undefined;
|
|
2414
2421
|
requires_username?: boolean | undefined;
|
|
2422
|
+
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
2415
2423
|
};
|
|
2416
2424
|
name: string;
|
|
2417
2425
|
strategy: string;
|
|
@@ -2529,6 +2537,7 @@ declare const connectionInsertSchema: z.ZodObject<{
|
|
|
2529
2537
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
2530
2538
|
} | undefined;
|
|
2531
2539
|
requires_username?: boolean | undefined;
|
|
2540
|
+
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
2532
2541
|
} | undefined;
|
|
2533
2542
|
id?: string | undefined;
|
|
2534
2543
|
is_system?: boolean | undefined;
|
|
@@ -2964,6 +2973,11 @@ declare const connectionSchema: z.ZodObject<{
|
|
|
2964
2973
|
max?: number | undefined;
|
|
2965
2974
|
} | undefined;
|
|
2966
2975
|
}>>;
|
|
2976
|
+
set_user_root_attributes: z.ZodOptional<z.ZodEnum<[
|
|
2977
|
+
"on_each_login",
|
|
2978
|
+
"on_first_login",
|
|
2979
|
+
"never_on_login"
|
|
2980
|
+
]>>;
|
|
2967
2981
|
}, "strip", z.ZodTypeAny, {
|
|
2968
2982
|
validation?: {
|
|
2969
2983
|
username?: {
|
|
@@ -3066,6 +3080,7 @@ declare const connectionSchema: z.ZodObject<{
|
|
|
3066
3080
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
3067
3081
|
} | undefined;
|
|
3068
3082
|
requires_username?: boolean | undefined;
|
|
3083
|
+
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
3069
3084
|
}, {
|
|
3070
3085
|
validation?: {
|
|
3071
3086
|
username?: {
|
|
@@ -3168,6 +3183,7 @@ declare const connectionSchema: z.ZodObject<{
|
|
|
3168
3183
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
3169
3184
|
} | undefined;
|
|
3170
3185
|
requires_username?: boolean | undefined;
|
|
3186
|
+
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
3171
3187
|
}>>;
|
|
3172
3188
|
enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
3173
3189
|
response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
|
|
@@ -3281,6 +3297,7 @@ declare const connectionSchema: z.ZodObject<{
|
|
|
3281
3297
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
3282
3298
|
} | undefined;
|
|
3283
3299
|
requires_username?: boolean | undefined;
|
|
3300
|
+
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
3284
3301
|
};
|
|
3285
3302
|
name: string;
|
|
3286
3303
|
strategy: string;
|
|
@@ -3400,6 +3417,7 @@ declare const connectionSchema: z.ZodObject<{
|
|
|
3400
3417
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
3401
3418
|
} | undefined;
|
|
3402
3419
|
requires_username?: boolean | undefined;
|
|
3420
|
+
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
3403
3421
|
} | undefined;
|
|
3404
3422
|
id?: string | undefined;
|
|
3405
3423
|
is_system?: boolean | undefined;
|
|
@@ -5571,14 +5589,17 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
5571
5589
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
5572
5590
|
default_country: z.ZodOptional<z.ZodString>;
|
|
5573
5591
|
default_value: z.ZodOptional<z.ZodString>;
|
|
5592
|
+
allow_email: z.ZodOptional<z.ZodBoolean>;
|
|
5574
5593
|
}, "strip", z.ZodTypeAny, {
|
|
5575
5594
|
placeholder?: string | undefined;
|
|
5576
5595
|
default_value?: string | undefined;
|
|
5577
5596
|
default_country?: string | undefined;
|
|
5597
|
+
allow_email?: boolean | undefined;
|
|
5578
5598
|
}, {
|
|
5579
5599
|
placeholder?: string | undefined;
|
|
5580
5600
|
default_value?: string | undefined;
|
|
5581
5601
|
default_country?: string | undefined;
|
|
5602
|
+
allow_email?: boolean | undefined;
|
|
5582
5603
|
}>>;
|
|
5583
5604
|
}, "strip", z.ZodTypeAny, {
|
|
5584
5605
|
type: "TEL";
|
|
@@ -5590,6 +5611,7 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
5590
5611
|
placeholder?: string | undefined;
|
|
5591
5612
|
default_value?: string | undefined;
|
|
5592
5613
|
default_country?: string | undefined;
|
|
5614
|
+
allow_email?: boolean | undefined;
|
|
5593
5615
|
} | undefined;
|
|
5594
5616
|
sensitive?: boolean | undefined;
|
|
5595
5617
|
label?: string | undefined;
|
|
@@ -5609,6 +5631,7 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
5609
5631
|
placeholder?: string | undefined;
|
|
5610
5632
|
default_value?: string | undefined;
|
|
5611
5633
|
default_country?: string | undefined;
|
|
5634
|
+
allow_email?: boolean | undefined;
|
|
5612
5635
|
} | undefined;
|
|
5613
5636
|
sensitive?: boolean | undefined;
|
|
5614
5637
|
label?: string | undefined;
|
|
@@ -6197,6 +6220,7 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
6197
6220
|
placeholder?: string | undefined;
|
|
6198
6221
|
default_value?: string | undefined;
|
|
6199
6222
|
default_country?: string | undefined;
|
|
6223
|
+
allow_email?: boolean | undefined;
|
|
6200
6224
|
} | undefined;
|
|
6201
6225
|
sensitive?: boolean | undefined;
|
|
6202
6226
|
label?: string | undefined;
|
|
@@ -6653,6 +6677,7 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
6653
6677
|
placeholder?: string | undefined;
|
|
6654
6678
|
default_value?: string | undefined;
|
|
6655
6679
|
default_country?: string | undefined;
|
|
6680
|
+
allow_email?: boolean | undefined;
|
|
6656
6681
|
} | undefined;
|
|
6657
6682
|
sensitive?: boolean | undefined;
|
|
6658
6683
|
label?: string | undefined;
|
|
@@ -7115,6 +7140,7 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
7115
7140
|
placeholder?: string | undefined;
|
|
7116
7141
|
default_value?: string | undefined;
|
|
7117
7142
|
default_country?: string | undefined;
|
|
7143
|
+
allow_email?: boolean | undefined;
|
|
7118
7144
|
} | undefined;
|
|
7119
7145
|
sensitive?: boolean | undefined;
|
|
7120
7146
|
label?: string | undefined;
|
|
@@ -7580,6 +7606,7 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
7580
7606
|
placeholder?: string | undefined;
|
|
7581
7607
|
default_value?: string | undefined;
|
|
7582
7608
|
default_country?: string | undefined;
|
|
7609
|
+
allow_email?: boolean | undefined;
|
|
7583
7610
|
} | undefined;
|
|
7584
7611
|
sensitive?: boolean | undefined;
|
|
7585
7612
|
label?: string | undefined;
|
|
@@ -8214,6 +8241,7 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
8214
8241
|
placeholder?: string | undefined;
|
|
8215
8242
|
default_value?: string | undefined;
|
|
8216
8243
|
default_country?: string | undefined;
|
|
8244
|
+
allow_email?: boolean | undefined;
|
|
8217
8245
|
} | undefined;
|
|
8218
8246
|
sensitive?: boolean | undefined;
|
|
8219
8247
|
label?: string | undefined;
|
|
@@ -8752,6 +8780,7 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
8752
8780
|
placeholder?: string | undefined;
|
|
8753
8781
|
default_value?: string | undefined;
|
|
8754
8782
|
default_country?: string | undefined;
|
|
8783
|
+
allow_email?: boolean | undefined;
|
|
8755
8784
|
} | undefined;
|
|
8756
8785
|
sensitive?: boolean | undefined;
|
|
8757
8786
|
label?: string | undefined;
|
|
@@ -10708,14 +10737,17 @@ declare const formSchema: z.ZodObject<{
|
|
|
10708
10737
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
10709
10738
|
default_country: z.ZodOptional<z.ZodString>;
|
|
10710
10739
|
default_value: z.ZodOptional<z.ZodString>;
|
|
10740
|
+
allow_email: z.ZodOptional<z.ZodBoolean>;
|
|
10711
10741
|
}, "strip", z.ZodTypeAny, {
|
|
10712
10742
|
placeholder?: string | undefined;
|
|
10713
10743
|
default_value?: string | undefined;
|
|
10714
10744
|
default_country?: string | undefined;
|
|
10745
|
+
allow_email?: boolean | undefined;
|
|
10715
10746
|
}, {
|
|
10716
10747
|
placeholder?: string | undefined;
|
|
10717
10748
|
default_value?: string | undefined;
|
|
10718
10749
|
default_country?: string | undefined;
|
|
10750
|
+
allow_email?: boolean | undefined;
|
|
10719
10751
|
}>>;
|
|
10720
10752
|
}, "strip", z.ZodTypeAny, {
|
|
10721
10753
|
type: "TEL";
|
|
@@ -10727,6 +10759,7 @@ declare const formSchema: z.ZodObject<{
|
|
|
10727
10759
|
placeholder?: string | undefined;
|
|
10728
10760
|
default_value?: string | undefined;
|
|
10729
10761
|
default_country?: string | undefined;
|
|
10762
|
+
allow_email?: boolean | undefined;
|
|
10730
10763
|
} | undefined;
|
|
10731
10764
|
sensitive?: boolean | undefined;
|
|
10732
10765
|
label?: string | undefined;
|
|
@@ -10746,6 +10779,7 @@ declare const formSchema: z.ZodObject<{
|
|
|
10746
10779
|
placeholder?: string | undefined;
|
|
10747
10780
|
default_value?: string | undefined;
|
|
10748
10781
|
default_country?: string | undefined;
|
|
10782
|
+
allow_email?: boolean | undefined;
|
|
10749
10783
|
} | undefined;
|
|
10750
10784
|
sensitive?: boolean | undefined;
|
|
10751
10785
|
label?: string | undefined;
|
|
@@ -11334,6 +11368,7 @@ declare const formSchema: z.ZodObject<{
|
|
|
11334
11368
|
placeholder?: string | undefined;
|
|
11335
11369
|
default_value?: string | undefined;
|
|
11336
11370
|
default_country?: string | undefined;
|
|
11371
|
+
allow_email?: boolean | undefined;
|
|
11337
11372
|
} | undefined;
|
|
11338
11373
|
sensitive?: boolean | undefined;
|
|
11339
11374
|
label?: string | undefined;
|
|
@@ -11790,6 +11825,7 @@ declare const formSchema: z.ZodObject<{
|
|
|
11790
11825
|
placeholder?: string | undefined;
|
|
11791
11826
|
default_value?: string | undefined;
|
|
11792
11827
|
default_country?: string | undefined;
|
|
11828
|
+
allow_email?: boolean | undefined;
|
|
11793
11829
|
} | undefined;
|
|
11794
11830
|
sensitive?: boolean | undefined;
|
|
11795
11831
|
label?: string | undefined;
|
|
@@ -12252,6 +12288,7 @@ declare const formSchema: z.ZodObject<{
|
|
|
12252
12288
|
placeholder?: string | undefined;
|
|
12253
12289
|
default_value?: string | undefined;
|
|
12254
12290
|
default_country?: string | undefined;
|
|
12291
|
+
allow_email?: boolean | undefined;
|
|
12255
12292
|
} | undefined;
|
|
12256
12293
|
sensitive?: boolean | undefined;
|
|
12257
12294
|
label?: string | undefined;
|
|
@@ -12717,6 +12754,7 @@ declare const formSchema: z.ZodObject<{
|
|
|
12717
12754
|
placeholder?: string | undefined;
|
|
12718
12755
|
default_value?: string | undefined;
|
|
12719
12756
|
default_country?: string | undefined;
|
|
12757
|
+
allow_email?: boolean | undefined;
|
|
12720
12758
|
} | undefined;
|
|
12721
12759
|
sensitive?: boolean | undefined;
|
|
12722
12760
|
label?: string | undefined;
|
|
@@ -13356,6 +13394,7 @@ declare const formSchema: z.ZodObject<{
|
|
|
13356
13394
|
placeholder?: string | undefined;
|
|
13357
13395
|
default_value?: string | undefined;
|
|
13358
13396
|
default_country?: string | undefined;
|
|
13397
|
+
allow_email?: boolean | undefined;
|
|
13359
13398
|
} | undefined;
|
|
13360
13399
|
sensitive?: boolean | undefined;
|
|
13361
13400
|
label?: string | undefined;
|
|
@@ -13897,6 +13936,7 @@ declare const formSchema: z.ZodObject<{
|
|
|
13897
13936
|
placeholder?: string | undefined;
|
|
13898
13937
|
default_value?: string | undefined;
|
|
13899
13938
|
default_country?: string | undefined;
|
|
13939
|
+
allow_email?: boolean | undefined;
|
|
13900
13940
|
} | undefined;
|
|
13901
13941
|
sensitive?: boolean | undefined;
|
|
13902
13942
|
label?: string | undefined;
|
|
@@ -17630,7 +17670,8 @@ declare const promptScreenSchema: z.ZodEnum<[
|
|
|
17630
17670
|
"common",
|
|
17631
17671
|
"passkeys",
|
|
17632
17672
|
"captcha",
|
|
17633
|
-
"custom-form"
|
|
17673
|
+
"custom-form",
|
|
17674
|
+
"login-passwordless"
|
|
17634
17675
|
]>;
|
|
17635
17676
|
export type PromptScreen = z.infer<typeof promptScreenSchema>;
|
|
17636
17677
|
declare const customTextSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>;
|
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.106.
|
|
14
|
+
"version": "10.106.2",
|
|
15
15
|
"files": [
|
|
16
16
|
"dist"
|
|
17
17
|
],
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"kysely": "^0.27.4",
|
|
44
44
|
"nanoid": "^5.0.8",
|
|
45
45
|
"ulid": "^2.3.0",
|
|
46
|
-
"@authhero/adapter-interfaces": "0.
|
|
46
|
+
"@authhero/adapter-interfaces": "0.146.0"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"@hono/zod-openapi": "^0.19.2",
|