@authhero/kysely-adapter 10.15.0 → 10.17.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.cjs +1 -1
- package/dist/kysely-adapter.d.ts +19 -1
- package/dist/kysely-adapter.mjs +809 -754
- package/package.json +3 -3
package/dist/kysely-adapter.d.ts
CHANGED
|
@@ -3341,6 +3341,7 @@ declare const loginSessionInsertSchema: z.ZodObject<{
|
|
|
3341
3341
|
useragent: z.ZodOptional<z.ZodString>;
|
|
3342
3342
|
session_id: z.ZodOptional<z.ZodString>;
|
|
3343
3343
|
authorization_url: z.ZodOptional<z.ZodString>;
|
|
3344
|
+
login_completed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3344
3345
|
}, "strip", z.ZodTypeAny, {
|
|
3345
3346
|
expires_at: string;
|
|
3346
3347
|
csrf_token: string;
|
|
@@ -3362,6 +3363,7 @@ declare const loginSessionInsertSchema: z.ZodObject<{
|
|
|
3362
3363
|
ui_locales?: string | undefined;
|
|
3363
3364
|
vendor_id?: string | undefined;
|
|
3364
3365
|
};
|
|
3366
|
+
login_completed: boolean;
|
|
3365
3367
|
auth0Client?: string | undefined;
|
|
3366
3368
|
deleted_at?: string | undefined;
|
|
3367
3369
|
ip?: string | undefined;
|
|
@@ -3395,8 +3397,9 @@ declare const loginSessionInsertSchema: z.ZodObject<{
|
|
|
3395
3397
|
useragent?: string | undefined;
|
|
3396
3398
|
session_id?: string | undefined;
|
|
3397
3399
|
authorization_url?: string | undefined;
|
|
3400
|
+
login_completed?: boolean | undefined;
|
|
3398
3401
|
}>;
|
|
3399
|
-
export type LoginSessionInsert = z.
|
|
3402
|
+
export type LoginSessionInsert = z.input<typeof loginSessionInsertSchema>;
|
|
3400
3403
|
declare const loginSessionSchema: z.ZodObject<{
|
|
3401
3404
|
id: z.ZodString;
|
|
3402
3405
|
created_at: z.ZodString;
|
|
@@ -3461,6 +3464,7 @@ declare const loginSessionSchema: z.ZodObject<{
|
|
|
3461
3464
|
useragent: z.ZodOptional<z.ZodString>;
|
|
3462
3465
|
session_id: z.ZodOptional<z.ZodString>;
|
|
3463
3466
|
authorization_url: z.ZodOptional<z.ZodString>;
|
|
3467
|
+
login_completed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3464
3468
|
}, "strip", z.ZodTypeAny, {
|
|
3465
3469
|
created_at: string;
|
|
3466
3470
|
updated_at: string;
|
|
@@ -3485,6 +3489,7 @@ declare const loginSessionSchema: z.ZodObject<{
|
|
|
3485
3489
|
ui_locales?: string | undefined;
|
|
3486
3490
|
vendor_id?: string | undefined;
|
|
3487
3491
|
};
|
|
3492
|
+
login_completed: boolean;
|
|
3488
3493
|
auth0Client?: string | undefined;
|
|
3489
3494
|
deleted_at?: string | undefined;
|
|
3490
3495
|
ip?: string | undefined;
|
|
@@ -3521,6 +3526,7 @@ declare const loginSessionSchema: z.ZodObject<{
|
|
|
3521
3526
|
useragent?: string | undefined;
|
|
3522
3527
|
session_id?: string | undefined;
|
|
3523
3528
|
authorization_url?: string | undefined;
|
|
3529
|
+
login_completed?: boolean | undefined;
|
|
3524
3530
|
}>;
|
|
3525
3531
|
export type LoginSession = z.infer<typeof loginSessionSchema>;
|
|
3526
3532
|
declare const LogType: z.ZodEnum<[
|
|
@@ -3727,6 +3733,7 @@ declare const sessionInsertSchema: z.ZodObject<{
|
|
|
3727
3733
|
used_at: z.ZodOptional<z.ZodString>;
|
|
3728
3734
|
user_id: z.ZodString;
|
|
3729
3735
|
expires_at: z.ZodOptional<z.ZodString>;
|
|
3736
|
+
login_session_id: z.ZodString;
|
|
3730
3737
|
idle_expires_at: z.ZodOptional<z.ZodString>;
|
|
3731
3738
|
device: z.ZodObject<{
|
|
3732
3739
|
initial_user_agent: z.ZodString;
|
|
@@ -3754,6 +3761,7 @@ declare const sessionInsertSchema: z.ZodObject<{
|
|
|
3754
3761
|
}, "strip", z.ZodTypeAny, {
|
|
3755
3762
|
user_id: string;
|
|
3756
3763
|
id: string;
|
|
3764
|
+
login_session_id: string;
|
|
3757
3765
|
device: {
|
|
3758
3766
|
last_ip: string;
|
|
3759
3767
|
initial_user_agent: string;
|
|
@@ -3770,6 +3778,7 @@ declare const sessionInsertSchema: z.ZodObject<{
|
|
|
3770
3778
|
}, {
|
|
3771
3779
|
user_id: string;
|
|
3772
3780
|
id: string;
|
|
3781
|
+
login_session_id: string;
|
|
3773
3782
|
device: {
|
|
3774
3783
|
last_ip: string;
|
|
3775
3784
|
initial_user_agent: string;
|
|
@@ -3791,6 +3800,7 @@ declare const sessionSchema: z.ZodObject<{
|
|
|
3791
3800
|
used_at: z.ZodOptional<z.ZodString>;
|
|
3792
3801
|
user_id: z.ZodString;
|
|
3793
3802
|
expires_at: z.ZodOptional<z.ZodString>;
|
|
3803
|
+
login_session_id: z.ZodString;
|
|
3794
3804
|
idle_expires_at: z.ZodOptional<z.ZodString>;
|
|
3795
3805
|
device: z.ZodObject<{
|
|
3796
3806
|
initial_user_agent: z.ZodString;
|
|
@@ -3824,6 +3834,7 @@ declare const sessionSchema: z.ZodObject<{
|
|
|
3824
3834
|
updated_at: string;
|
|
3825
3835
|
user_id: string;
|
|
3826
3836
|
id: string;
|
|
3837
|
+
login_session_id: string;
|
|
3827
3838
|
device: {
|
|
3828
3839
|
last_ip: string;
|
|
3829
3840
|
initial_user_agent: string;
|
|
@@ -3844,6 +3855,7 @@ declare const sessionSchema: z.ZodObject<{
|
|
|
3844
3855
|
updated_at: string;
|
|
3845
3856
|
user_id: string;
|
|
3846
3857
|
id: string;
|
|
3858
|
+
login_session_id: string;
|
|
3847
3859
|
device: {
|
|
3848
3860
|
last_ip: string;
|
|
3849
3861
|
initial_user_agent: string;
|
|
@@ -5298,12 +5310,15 @@ declare const sqlLoginSchema: z.ZodObject<{
|
|
|
5298
5310
|
[x: string]: any;
|
|
5299
5311
|
} & {
|
|
5300
5312
|
tenant_id: z.ZodString;
|
|
5313
|
+
login_completed: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
5301
5314
|
}, "strip", z.ZodTypeAny, {
|
|
5302
5315
|
[x: string]: any;
|
|
5303
5316
|
tenant_id?: unknown;
|
|
5317
|
+
login_completed?: unknown;
|
|
5304
5318
|
}, {
|
|
5305
5319
|
[x: string]: any;
|
|
5306
5320
|
tenant_id?: unknown;
|
|
5321
|
+
login_completed?: unknown;
|
|
5307
5322
|
}>;
|
|
5308
5323
|
declare const sqlConnectionSchema: z.ZodObject<{
|
|
5309
5324
|
[x: string]: any;
|
|
@@ -5660,6 +5675,7 @@ declare const sqlSessionSchema: z.ZodObject<{
|
|
|
5660
5675
|
used_at: z.ZodOptional<z.ZodString>;
|
|
5661
5676
|
user_id: z.ZodString;
|
|
5662
5677
|
expires_at: z.ZodOptional<z.ZodString>;
|
|
5678
|
+
login_session_id: z.ZodString;
|
|
5663
5679
|
idle_expires_at: z.ZodOptional<z.ZodString>;
|
|
5664
5680
|
created_at: z.ZodString;
|
|
5665
5681
|
updated_at: z.ZodString;
|
|
@@ -5673,6 +5689,7 @@ declare const sqlSessionSchema: z.ZodObject<{
|
|
|
5673
5689
|
user_id: string;
|
|
5674
5690
|
device: string;
|
|
5675
5691
|
clients: string;
|
|
5692
|
+
login_session_id: string;
|
|
5676
5693
|
authenticated_at: string;
|
|
5677
5694
|
last_interaction_at: string;
|
|
5678
5695
|
revoked_at?: string | undefined;
|
|
@@ -5687,6 +5704,7 @@ declare const sqlSessionSchema: z.ZodObject<{
|
|
|
5687
5704
|
user_id: string;
|
|
5688
5705
|
device: string;
|
|
5689
5706
|
clients: string;
|
|
5707
|
+
login_session_id: string;
|
|
5690
5708
|
authenticated_at: string;
|
|
5691
5709
|
last_interaction_at: string;
|
|
5692
5710
|
revoked_at?: string | undefined;
|