@authhero/kysely-adapter 10.27.0 → 10.29.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 +123 -81
- package/dist/kysely-adapter.mjs +54 -41
- package/package.json +3 -3
package/dist/kysely-adapter.d.ts
CHANGED
|
@@ -372,6 +372,7 @@ declare const applicationInsertSchema: z.ZodObject<{
|
|
|
372
372
|
]>>>;
|
|
373
373
|
client_secret: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
374
374
|
disable_sign_ups: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
375
|
+
client_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
375
376
|
}, "strip", z.ZodTypeAny, {
|
|
376
377
|
name: string;
|
|
377
378
|
id: string;
|
|
@@ -403,6 +404,7 @@ declare const applicationInsertSchema: z.ZodObject<{
|
|
|
403
404
|
} | undefined;
|
|
404
405
|
email_validation?: "enabled" | "disabled" | "enforced" | undefined;
|
|
405
406
|
client_secret?: string | undefined;
|
|
407
|
+
client_metadata?: Record<string, string> | undefined;
|
|
406
408
|
}, {
|
|
407
409
|
name: string;
|
|
408
410
|
id: string;
|
|
@@ -434,8 +436,9 @@ declare const applicationInsertSchema: z.ZodObject<{
|
|
|
434
436
|
email_validation?: "enabled" | "disabled" | "enforced" | undefined;
|
|
435
437
|
client_secret?: string | undefined;
|
|
436
438
|
disable_sign_ups?: boolean | undefined;
|
|
439
|
+
client_metadata?: Record<string, string> | undefined;
|
|
437
440
|
}>;
|
|
438
|
-
export type ApplicationInsert = z.
|
|
441
|
+
export type ApplicationInsert = z.input<typeof applicationInsertSchema>;
|
|
439
442
|
declare const applicationSchema: z.ZodObject<{
|
|
440
443
|
id: z.ZodString;
|
|
441
444
|
name: z.ZodString;
|
|
@@ -543,6 +546,7 @@ declare const applicationSchema: z.ZodObject<{
|
|
|
543
546
|
]>>>;
|
|
544
547
|
client_secret: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
545
548
|
disable_sign_ups: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
549
|
+
client_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
546
550
|
created_at: z.ZodEffects<z.ZodString, string, string>;
|
|
547
551
|
updated_at: z.ZodEffects<z.ZodString, string, string>;
|
|
548
552
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -578,6 +582,7 @@ declare const applicationSchema: z.ZodObject<{
|
|
|
578
582
|
} | undefined;
|
|
579
583
|
email_validation?: "enabled" | "disabled" | "enforced" | undefined;
|
|
580
584
|
client_secret?: string | undefined;
|
|
585
|
+
client_metadata?: Record<string, string> | undefined;
|
|
581
586
|
}, {
|
|
582
587
|
created_at: string;
|
|
583
588
|
updated_at: string;
|
|
@@ -611,6 +616,7 @@ declare const applicationSchema: z.ZodObject<{
|
|
|
611
616
|
email_validation?: "enabled" | "disabled" | "enforced" | undefined;
|
|
612
617
|
client_secret?: string | undefined;
|
|
613
618
|
disable_sign_ups?: boolean | undefined;
|
|
619
|
+
client_metadata?: Record<string, string> | undefined;
|
|
614
620
|
}>;
|
|
615
621
|
export type Application = z.infer<typeof applicationSchema>;
|
|
616
622
|
declare enum AuthorizationResponseType {
|
|
@@ -980,6 +986,7 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
980
986
|
]>>>;
|
|
981
987
|
client_secret: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
982
988
|
disable_sign_ups: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
989
|
+
client_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
983
990
|
created_at: z.ZodEffects<z.ZodString, string, string>;
|
|
984
991
|
updated_at: z.ZodEffects<z.ZodString, string, string>;
|
|
985
992
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1059,6 +1066,7 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1059
1066
|
} | undefined;
|
|
1060
1067
|
email_validation?: "enabled" | "disabled" | "enforced" | undefined;
|
|
1061
1068
|
client_secret?: string | undefined;
|
|
1069
|
+
client_metadata?: Record<string, string> | undefined;
|
|
1062
1070
|
}, {
|
|
1063
1071
|
created_at: string;
|
|
1064
1072
|
updated_at: string;
|
|
@@ -1136,6 +1144,7 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1136
1144
|
email_validation?: "enabled" | "disabled" | "enforced" | undefined;
|
|
1137
1145
|
client_secret?: string | undefined;
|
|
1138
1146
|
disable_sign_ups?: boolean | undefined;
|
|
1147
|
+
client_metadata?: Record<string, string> | undefined;
|
|
1139
1148
|
}>;
|
|
1140
1149
|
export type Client = z.infer<typeof ClientSchema>;
|
|
1141
1150
|
declare const codeTypeSchema: z.ZodEnum<[
|
|
@@ -4326,12 +4335,16 @@ declare const themeInsertSchema: z.ZodObject<{
|
|
|
4326
4335
|
button_border_radius: z.ZodNumber;
|
|
4327
4336
|
button_border_weight: z.ZodNumber;
|
|
4328
4337
|
buttons_style: z.ZodEnum<[
|
|
4329
|
-
"pill"
|
|
4338
|
+
"pill",
|
|
4339
|
+
"rounded",
|
|
4340
|
+
"sharp"
|
|
4330
4341
|
]>;
|
|
4331
4342
|
input_border_radius: z.ZodNumber;
|
|
4332
4343
|
input_border_weight: z.ZodNumber;
|
|
4333
4344
|
inputs_style: z.ZodEnum<[
|
|
4334
|
-
"pill"
|
|
4345
|
+
"pill",
|
|
4346
|
+
"rounded",
|
|
4347
|
+
"sharp"
|
|
4335
4348
|
]>;
|
|
4336
4349
|
show_widget_shadow: z.ZodBoolean;
|
|
4337
4350
|
widget_border_weight: z.ZodNumber;
|
|
@@ -4339,20 +4352,20 @@ declare const themeInsertSchema: z.ZodObject<{
|
|
|
4339
4352
|
}, "strip", z.ZodTypeAny, {
|
|
4340
4353
|
button_border_radius: number;
|
|
4341
4354
|
button_border_weight: number;
|
|
4342
|
-
buttons_style: "pill";
|
|
4355
|
+
buttons_style: "pill" | "rounded" | "sharp";
|
|
4343
4356
|
input_border_radius: number;
|
|
4344
4357
|
input_border_weight: number;
|
|
4345
|
-
inputs_style: "pill";
|
|
4358
|
+
inputs_style: "pill" | "rounded" | "sharp";
|
|
4346
4359
|
show_widget_shadow: boolean;
|
|
4347
4360
|
widget_border_weight: number;
|
|
4348
4361
|
widget_corner_radius: number;
|
|
4349
4362
|
}, {
|
|
4350
4363
|
button_border_radius: number;
|
|
4351
4364
|
button_border_weight: number;
|
|
4352
|
-
buttons_style: "pill";
|
|
4365
|
+
buttons_style: "pill" | "rounded" | "sharp";
|
|
4353
4366
|
input_border_radius: number;
|
|
4354
4367
|
input_border_weight: number;
|
|
4355
|
-
inputs_style: "pill";
|
|
4368
|
+
inputs_style: "pill" | "rounded" | "sharp";
|
|
4356
4369
|
show_widget_shadow: boolean;
|
|
4357
4370
|
widget_border_weight: number;
|
|
4358
4371
|
widget_corner_radius: number;
|
|
@@ -4362,7 +4375,9 @@ declare const themeInsertSchema: z.ZodObject<{
|
|
|
4362
4375
|
base_hover_color: z.ZodString;
|
|
4363
4376
|
body_text: z.ZodString;
|
|
4364
4377
|
captcha_widget_theme: z.ZodEnum<[
|
|
4365
|
-
"auto"
|
|
4378
|
+
"auto",
|
|
4379
|
+
"dark",
|
|
4380
|
+
"light"
|
|
4366
4381
|
]>;
|
|
4367
4382
|
error: z.ZodString;
|
|
4368
4383
|
header: z.ZodString;
|
|
@@ -4383,7 +4398,7 @@ declare const themeInsertSchema: z.ZodObject<{
|
|
|
4383
4398
|
base_focus_color: string;
|
|
4384
4399
|
base_hover_color: string;
|
|
4385
4400
|
body_text: string;
|
|
4386
|
-
captcha_widget_theme: "auto";
|
|
4401
|
+
captcha_widget_theme: "auto" | "dark" | "light";
|
|
4387
4402
|
error: string;
|
|
4388
4403
|
header: string;
|
|
4389
4404
|
icons: string;
|
|
@@ -4403,7 +4418,7 @@ declare const themeInsertSchema: z.ZodObject<{
|
|
|
4403
4418
|
base_focus_color: string;
|
|
4404
4419
|
base_hover_color: string;
|
|
4405
4420
|
body_text: string;
|
|
4406
|
-
captcha_widget_theme: "auto";
|
|
4421
|
+
captcha_widget_theme: "auto" | "dark" | "light";
|
|
4407
4422
|
error: string;
|
|
4408
4423
|
header: string;
|
|
4409
4424
|
icons: string;
|
|
@@ -4464,7 +4479,8 @@ declare const themeInsertSchema: z.ZodObject<{
|
|
|
4464
4479
|
size: number;
|
|
4465
4480
|
}>;
|
|
4466
4481
|
links_style: z.ZodEnum<[
|
|
4467
|
-
"normal"
|
|
4482
|
+
"normal",
|
|
4483
|
+
"underlined"
|
|
4468
4484
|
]>;
|
|
4469
4485
|
reference_text_size: z.ZodNumber;
|
|
4470
4486
|
subtitle: z.ZodObject<{
|
|
@@ -4509,7 +4525,7 @@ declare const themeInsertSchema: z.ZodObject<{
|
|
|
4509
4525
|
bold: boolean;
|
|
4510
4526
|
size: number;
|
|
4511
4527
|
};
|
|
4512
|
-
links_style: "normal";
|
|
4528
|
+
links_style: "normal" | "underlined";
|
|
4513
4529
|
reference_text_size: number;
|
|
4514
4530
|
subtitle: {
|
|
4515
4531
|
bold: boolean;
|
|
@@ -4537,7 +4553,7 @@ declare const themeInsertSchema: z.ZodObject<{
|
|
|
4537
4553
|
bold: boolean;
|
|
4538
4554
|
size: number;
|
|
4539
4555
|
};
|
|
4540
|
-
links_style: "normal";
|
|
4556
|
+
links_style: "normal" | "underlined";
|
|
4541
4557
|
reference_text_size: number;
|
|
4542
4558
|
subtitle: {
|
|
4543
4559
|
bold: boolean;
|
|
@@ -4548,53 +4564,61 @@ declare const themeInsertSchema: z.ZodObject<{
|
|
|
4548
4564
|
background_color: z.ZodString;
|
|
4549
4565
|
background_image_url: z.ZodString;
|
|
4550
4566
|
page_layout: z.ZodEnum<[
|
|
4551
|
-
"center"
|
|
4567
|
+
"center",
|
|
4568
|
+
"left",
|
|
4569
|
+
"right"
|
|
4552
4570
|
]>;
|
|
4553
4571
|
}, "strip", z.ZodTypeAny, {
|
|
4554
4572
|
background_color: string;
|
|
4555
4573
|
background_image_url: string;
|
|
4556
|
-
page_layout: "center";
|
|
4574
|
+
page_layout: "center" | "left" | "right";
|
|
4557
4575
|
}, {
|
|
4558
4576
|
background_color: string;
|
|
4559
4577
|
background_image_url: string;
|
|
4560
|
-
page_layout: "center";
|
|
4578
|
+
page_layout: "center" | "left" | "right";
|
|
4561
4579
|
}>;
|
|
4562
4580
|
widget: z.ZodObject<{
|
|
4563
4581
|
header_text_alignment: z.ZodEnum<[
|
|
4564
|
-
"center"
|
|
4582
|
+
"center",
|
|
4583
|
+
"left",
|
|
4584
|
+
"right"
|
|
4565
4585
|
]>;
|
|
4566
4586
|
logo_height: z.ZodNumber;
|
|
4567
4587
|
logo_position: z.ZodEnum<[
|
|
4568
|
-
"center"
|
|
4588
|
+
"center",
|
|
4589
|
+
"left",
|
|
4590
|
+
"none",
|
|
4591
|
+
"right"
|
|
4569
4592
|
]>;
|
|
4570
4593
|
logo_url: z.ZodString;
|
|
4571
4594
|
social_buttons_layout: z.ZodEnum<[
|
|
4572
|
-
"bottom"
|
|
4595
|
+
"bottom",
|
|
4596
|
+
"top"
|
|
4573
4597
|
]>;
|
|
4574
4598
|
}, "strip", z.ZodTypeAny, {
|
|
4575
4599
|
logo_url: string;
|
|
4576
|
-
header_text_alignment: "center";
|
|
4600
|
+
header_text_alignment: "center" | "left" | "right";
|
|
4577
4601
|
logo_height: number;
|
|
4578
|
-
logo_position: "center";
|
|
4579
|
-
social_buttons_layout: "bottom";
|
|
4602
|
+
logo_position: "center" | "left" | "right" | "none";
|
|
4603
|
+
social_buttons_layout: "bottom" | "top";
|
|
4580
4604
|
}, {
|
|
4581
4605
|
logo_url: string;
|
|
4582
|
-
header_text_alignment: "center";
|
|
4606
|
+
header_text_alignment: "center" | "left" | "right";
|
|
4583
4607
|
logo_height: number;
|
|
4584
|
-
logo_position: "center";
|
|
4585
|
-
social_buttons_layout: "bottom";
|
|
4608
|
+
logo_position: "center" | "left" | "right" | "none";
|
|
4609
|
+
social_buttons_layout: "bottom" | "top";
|
|
4586
4610
|
}>;
|
|
4587
4611
|
}, "strip", z.ZodTypeAny, {
|
|
4588
4612
|
page_background: {
|
|
4589
4613
|
background_color: string;
|
|
4590
4614
|
background_image_url: string;
|
|
4591
|
-
page_layout: "center";
|
|
4615
|
+
page_layout: "center" | "left" | "right";
|
|
4592
4616
|
};
|
|
4593
4617
|
colors: {
|
|
4594
4618
|
base_focus_color: string;
|
|
4595
4619
|
base_hover_color: string;
|
|
4596
4620
|
body_text: string;
|
|
4597
|
-
captcha_widget_theme: "auto";
|
|
4621
|
+
captcha_widget_theme: "auto" | "dark" | "light";
|
|
4598
4622
|
error: string;
|
|
4599
4623
|
header: string;
|
|
4600
4624
|
icons: string;
|
|
@@ -4614,10 +4638,10 @@ declare const themeInsertSchema: z.ZodObject<{
|
|
|
4614
4638
|
borders: {
|
|
4615
4639
|
button_border_radius: number;
|
|
4616
4640
|
button_border_weight: number;
|
|
4617
|
-
buttons_style: "pill";
|
|
4641
|
+
buttons_style: "pill" | "rounded" | "sharp";
|
|
4618
4642
|
input_border_radius: number;
|
|
4619
4643
|
input_border_weight: number;
|
|
4620
|
-
inputs_style: "pill";
|
|
4644
|
+
inputs_style: "pill" | "rounded" | "sharp";
|
|
4621
4645
|
show_widget_shadow: boolean;
|
|
4622
4646
|
widget_border_weight: number;
|
|
4623
4647
|
widget_corner_radius: number;
|
|
@@ -4645,7 +4669,7 @@ declare const themeInsertSchema: z.ZodObject<{
|
|
|
4645
4669
|
bold: boolean;
|
|
4646
4670
|
size: number;
|
|
4647
4671
|
};
|
|
4648
|
-
links_style: "normal";
|
|
4672
|
+
links_style: "normal" | "underlined";
|
|
4649
4673
|
reference_text_size: number;
|
|
4650
4674
|
subtitle: {
|
|
4651
4675
|
bold: boolean;
|
|
@@ -4654,22 +4678,22 @@ declare const themeInsertSchema: z.ZodObject<{
|
|
|
4654
4678
|
};
|
|
4655
4679
|
widget: {
|
|
4656
4680
|
logo_url: string;
|
|
4657
|
-
header_text_alignment: "center";
|
|
4681
|
+
header_text_alignment: "center" | "left" | "right";
|
|
4658
4682
|
logo_height: number;
|
|
4659
|
-
logo_position: "center";
|
|
4660
|
-
social_buttons_layout: "bottom";
|
|
4683
|
+
logo_position: "center" | "left" | "right" | "none";
|
|
4684
|
+
social_buttons_layout: "bottom" | "top";
|
|
4661
4685
|
};
|
|
4662
4686
|
}, {
|
|
4663
4687
|
page_background: {
|
|
4664
4688
|
background_color: string;
|
|
4665
4689
|
background_image_url: string;
|
|
4666
|
-
page_layout: "center";
|
|
4690
|
+
page_layout: "center" | "left" | "right";
|
|
4667
4691
|
};
|
|
4668
4692
|
colors: {
|
|
4669
4693
|
base_focus_color: string;
|
|
4670
4694
|
base_hover_color: string;
|
|
4671
4695
|
body_text: string;
|
|
4672
|
-
captcha_widget_theme: "auto";
|
|
4696
|
+
captcha_widget_theme: "auto" | "dark" | "light";
|
|
4673
4697
|
error: string;
|
|
4674
4698
|
header: string;
|
|
4675
4699
|
icons: string;
|
|
@@ -4689,10 +4713,10 @@ declare const themeInsertSchema: z.ZodObject<{
|
|
|
4689
4713
|
borders: {
|
|
4690
4714
|
button_border_radius: number;
|
|
4691
4715
|
button_border_weight: number;
|
|
4692
|
-
buttons_style: "pill";
|
|
4716
|
+
buttons_style: "pill" | "rounded" | "sharp";
|
|
4693
4717
|
input_border_radius: number;
|
|
4694
4718
|
input_border_weight: number;
|
|
4695
|
-
inputs_style: "pill";
|
|
4719
|
+
inputs_style: "pill" | "rounded" | "sharp";
|
|
4696
4720
|
show_widget_shadow: boolean;
|
|
4697
4721
|
widget_border_weight: number;
|
|
4698
4722
|
widget_corner_radius: number;
|
|
@@ -4720,7 +4744,7 @@ declare const themeInsertSchema: z.ZodObject<{
|
|
|
4720
4744
|
bold: boolean;
|
|
4721
4745
|
size: number;
|
|
4722
4746
|
};
|
|
4723
|
-
links_style: "normal";
|
|
4747
|
+
links_style: "normal" | "underlined";
|
|
4724
4748
|
reference_text_size: number;
|
|
4725
4749
|
subtitle: {
|
|
4726
4750
|
bold: boolean;
|
|
@@ -4729,10 +4753,10 @@ declare const themeInsertSchema: z.ZodObject<{
|
|
|
4729
4753
|
};
|
|
4730
4754
|
widget: {
|
|
4731
4755
|
logo_url: string;
|
|
4732
|
-
header_text_alignment: "center";
|
|
4756
|
+
header_text_alignment: "center" | "left" | "right";
|
|
4733
4757
|
logo_height: number;
|
|
4734
|
-
logo_position: "center";
|
|
4735
|
-
social_buttons_layout: "bottom";
|
|
4758
|
+
logo_position: "center" | "left" | "right" | "none";
|
|
4759
|
+
social_buttons_layout: "bottom" | "top";
|
|
4736
4760
|
};
|
|
4737
4761
|
}>;
|
|
4738
4762
|
export type ThemeInsert = z.input<typeof themeInsertSchema>;
|
|
@@ -4741,12 +4765,16 @@ declare const themeSchema: z.ZodObject<{
|
|
|
4741
4765
|
button_border_radius: z.ZodNumber;
|
|
4742
4766
|
button_border_weight: z.ZodNumber;
|
|
4743
4767
|
buttons_style: z.ZodEnum<[
|
|
4744
|
-
"pill"
|
|
4768
|
+
"pill",
|
|
4769
|
+
"rounded",
|
|
4770
|
+
"sharp"
|
|
4745
4771
|
]>;
|
|
4746
4772
|
input_border_radius: z.ZodNumber;
|
|
4747
4773
|
input_border_weight: z.ZodNumber;
|
|
4748
4774
|
inputs_style: z.ZodEnum<[
|
|
4749
|
-
"pill"
|
|
4775
|
+
"pill",
|
|
4776
|
+
"rounded",
|
|
4777
|
+
"sharp"
|
|
4750
4778
|
]>;
|
|
4751
4779
|
show_widget_shadow: z.ZodBoolean;
|
|
4752
4780
|
widget_border_weight: z.ZodNumber;
|
|
@@ -4754,20 +4782,20 @@ declare const themeSchema: z.ZodObject<{
|
|
|
4754
4782
|
}, "strip", z.ZodTypeAny, {
|
|
4755
4783
|
button_border_radius: number;
|
|
4756
4784
|
button_border_weight: number;
|
|
4757
|
-
buttons_style: "pill";
|
|
4785
|
+
buttons_style: "pill" | "rounded" | "sharp";
|
|
4758
4786
|
input_border_radius: number;
|
|
4759
4787
|
input_border_weight: number;
|
|
4760
|
-
inputs_style: "pill";
|
|
4788
|
+
inputs_style: "pill" | "rounded" | "sharp";
|
|
4761
4789
|
show_widget_shadow: boolean;
|
|
4762
4790
|
widget_border_weight: number;
|
|
4763
4791
|
widget_corner_radius: number;
|
|
4764
4792
|
}, {
|
|
4765
4793
|
button_border_radius: number;
|
|
4766
4794
|
button_border_weight: number;
|
|
4767
|
-
buttons_style: "pill";
|
|
4795
|
+
buttons_style: "pill" | "rounded" | "sharp";
|
|
4768
4796
|
input_border_radius: number;
|
|
4769
4797
|
input_border_weight: number;
|
|
4770
|
-
inputs_style: "pill";
|
|
4798
|
+
inputs_style: "pill" | "rounded" | "sharp";
|
|
4771
4799
|
show_widget_shadow: boolean;
|
|
4772
4800
|
widget_border_weight: number;
|
|
4773
4801
|
widget_corner_radius: number;
|
|
@@ -4777,7 +4805,9 @@ declare const themeSchema: z.ZodObject<{
|
|
|
4777
4805
|
base_hover_color: z.ZodString;
|
|
4778
4806
|
body_text: z.ZodString;
|
|
4779
4807
|
captcha_widget_theme: z.ZodEnum<[
|
|
4780
|
-
"auto"
|
|
4808
|
+
"auto",
|
|
4809
|
+
"dark",
|
|
4810
|
+
"light"
|
|
4781
4811
|
]>;
|
|
4782
4812
|
error: z.ZodString;
|
|
4783
4813
|
header: z.ZodString;
|
|
@@ -4798,7 +4828,7 @@ declare const themeSchema: z.ZodObject<{
|
|
|
4798
4828
|
base_focus_color: string;
|
|
4799
4829
|
base_hover_color: string;
|
|
4800
4830
|
body_text: string;
|
|
4801
|
-
captcha_widget_theme: "auto";
|
|
4831
|
+
captcha_widget_theme: "auto" | "dark" | "light";
|
|
4802
4832
|
error: string;
|
|
4803
4833
|
header: string;
|
|
4804
4834
|
icons: string;
|
|
@@ -4818,7 +4848,7 @@ declare const themeSchema: z.ZodObject<{
|
|
|
4818
4848
|
base_focus_color: string;
|
|
4819
4849
|
base_hover_color: string;
|
|
4820
4850
|
body_text: string;
|
|
4821
|
-
captcha_widget_theme: "auto";
|
|
4851
|
+
captcha_widget_theme: "auto" | "dark" | "light";
|
|
4822
4852
|
error: string;
|
|
4823
4853
|
header: string;
|
|
4824
4854
|
icons: string;
|
|
@@ -4879,7 +4909,8 @@ declare const themeSchema: z.ZodObject<{
|
|
|
4879
4909
|
size: number;
|
|
4880
4910
|
}>;
|
|
4881
4911
|
links_style: z.ZodEnum<[
|
|
4882
|
-
"normal"
|
|
4912
|
+
"normal",
|
|
4913
|
+
"underlined"
|
|
4883
4914
|
]>;
|
|
4884
4915
|
reference_text_size: z.ZodNumber;
|
|
4885
4916
|
subtitle: z.ZodObject<{
|
|
@@ -4924,7 +4955,7 @@ declare const themeSchema: z.ZodObject<{
|
|
|
4924
4955
|
bold: boolean;
|
|
4925
4956
|
size: number;
|
|
4926
4957
|
};
|
|
4927
|
-
links_style: "normal";
|
|
4958
|
+
links_style: "normal" | "underlined";
|
|
4928
4959
|
reference_text_size: number;
|
|
4929
4960
|
subtitle: {
|
|
4930
4961
|
bold: boolean;
|
|
@@ -4952,7 +4983,7 @@ declare const themeSchema: z.ZodObject<{
|
|
|
4952
4983
|
bold: boolean;
|
|
4953
4984
|
size: number;
|
|
4954
4985
|
};
|
|
4955
|
-
links_style: "normal";
|
|
4986
|
+
links_style: "normal" | "underlined";
|
|
4956
4987
|
reference_text_size: number;
|
|
4957
4988
|
subtitle: {
|
|
4958
4989
|
bold: boolean;
|
|
@@ -4963,41 +4994,49 @@ declare const themeSchema: z.ZodObject<{
|
|
|
4963
4994
|
background_color: z.ZodString;
|
|
4964
4995
|
background_image_url: z.ZodString;
|
|
4965
4996
|
page_layout: z.ZodEnum<[
|
|
4966
|
-
"center"
|
|
4997
|
+
"center",
|
|
4998
|
+
"left",
|
|
4999
|
+
"right"
|
|
4967
5000
|
]>;
|
|
4968
5001
|
}, "strip", z.ZodTypeAny, {
|
|
4969
5002
|
background_color: string;
|
|
4970
5003
|
background_image_url: string;
|
|
4971
|
-
page_layout: "center";
|
|
5004
|
+
page_layout: "center" | "left" | "right";
|
|
4972
5005
|
}, {
|
|
4973
5006
|
background_color: string;
|
|
4974
5007
|
background_image_url: string;
|
|
4975
|
-
page_layout: "center";
|
|
5008
|
+
page_layout: "center" | "left" | "right";
|
|
4976
5009
|
}>;
|
|
4977
5010
|
widget: z.ZodObject<{
|
|
4978
5011
|
header_text_alignment: z.ZodEnum<[
|
|
4979
|
-
"center"
|
|
5012
|
+
"center",
|
|
5013
|
+
"left",
|
|
5014
|
+
"right"
|
|
4980
5015
|
]>;
|
|
4981
5016
|
logo_height: z.ZodNumber;
|
|
4982
5017
|
logo_position: z.ZodEnum<[
|
|
4983
|
-
"center"
|
|
5018
|
+
"center",
|
|
5019
|
+
"left",
|
|
5020
|
+
"none",
|
|
5021
|
+
"right"
|
|
4984
5022
|
]>;
|
|
4985
5023
|
logo_url: z.ZodString;
|
|
4986
5024
|
social_buttons_layout: z.ZodEnum<[
|
|
4987
|
-
"bottom"
|
|
5025
|
+
"bottom",
|
|
5026
|
+
"top"
|
|
4988
5027
|
]>;
|
|
4989
5028
|
}, "strip", z.ZodTypeAny, {
|
|
4990
5029
|
logo_url: string;
|
|
4991
|
-
header_text_alignment: "center";
|
|
5030
|
+
header_text_alignment: "center" | "left" | "right";
|
|
4992
5031
|
logo_height: number;
|
|
4993
|
-
logo_position: "center";
|
|
4994
|
-
social_buttons_layout: "bottom";
|
|
5032
|
+
logo_position: "center" | "left" | "right" | "none";
|
|
5033
|
+
social_buttons_layout: "bottom" | "top";
|
|
4995
5034
|
}, {
|
|
4996
5035
|
logo_url: string;
|
|
4997
|
-
header_text_alignment: "center";
|
|
5036
|
+
header_text_alignment: "center" | "left" | "right";
|
|
4998
5037
|
logo_height: number;
|
|
4999
|
-
logo_position: "center";
|
|
5000
|
-
social_buttons_layout: "bottom";
|
|
5038
|
+
logo_position: "center" | "left" | "right" | "none";
|
|
5039
|
+
social_buttons_layout: "bottom" | "top";
|
|
5001
5040
|
}>;
|
|
5002
5041
|
} & {
|
|
5003
5042
|
themeId: z.ZodString;
|
|
@@ -5005,13 +5044,13 @@ declare const themeSchema: z.ZodObject<{
|
|
|
5005
5044
|
page_background: {
|
|
5006
5045
|
background_color: string;
|
|
5007
5046
|
background_image_url: string;
|
|
5008
|
-
page_layout: "center";
|
|
5047
|
+
page_layout: "center" | "left" | "right";
|
|
5009
5048
|
};
|
|
5010
5049
|
colors: {
|
|
5011
5050
|
base_focus_color: string;
|
|
5012
5051
|
base_hover_color: string;
|
|
5013
5052
|
body_text: string;
|
|
5014
|
-
captcha_widget_theme: "auto";
|
|
5053
|
+
captcha_widget_theme: "auto" | "dark" | "light";
|
|
5015
5054
|
error: string;
|
|
5016
5055
|
header: string;
|
|
5017
5056
|
icons: string;
|
|
@@ -5031,10 +5070,10 @@ declare const themeSchema: z.ZodObject<{
|
|
|
5031
5070
|
borders: {
|
|
5032
5071
|
button_border_radius: number;
|
|
5033
5072
|
button_border_weight: number;
|
|
5034
|
-
buttons_style: "pill";
|
|
5073
|
+
buttons_style: "pill" | "rounded" | "sharp";
|
|
5035
5074
|
input_border_radius: number;
|
|
5036
5075
|
input_border_weight: number;
|
|
5037
|
-
inputs_style: "pill";
|
|
5076
|
+
inputs_style: "pill" | "rounded" | "sharp";
|
|
5038
5077
|
show_widget_shadow: boolean;
|
|
5039
5078
|
widget_border_weight: number;
|
|
5040
5079
|
widget_corner_radius: number;
|
|
@@ -5062,7 +5101,7 @@ declare const themeSchema: z.ZodObject<{
|
|
|
5062
5101
|
bold: boolean;
|
|
5063
5102
|
size: number;
|
|
5064
5103
|
};
|
|
5065
|
-
links_style: "normal";
|
|
5104
|
+
links_style: "normal" | "underlined";
|
|
5066
5105
|
reference_text_size: number;
|
|
5067
5106
|
subtitle: {
|
|
5068
5107
|
bold: boolean;
|
|
@@ -5071,23 +5110,23 @@ declare const themeSchema: z.ZodObject<{
|
|
|
5071
5110
|
};
|
|
5072
5111
|
widget: {
|
|
5073
5112
|
logo_url: string;
|
|
5074
|
-
header_text_alignment: "center";
|
|
5113
|
+
header_text_alignment: "center" | "left" | "right";
|
|
5075
5114
|
logo_height: number;
|
|
5076
|
-
logo_position: "center";
|
|
5077
|
-
social_buttons_layout: "bottom";
|
|
5115
|
+
logo_position: "center" | "left" | "right" | "none";
|
|
5116
|
+
social_buttons_layout: "bottom" | "top";
|
|
5078
5117
|
};
|
|
5079
5118
|
themeId: string;
|
|
5080
5119
|
}, {
|
|
5081
5120
|
page_background: {
|
|
5082
5121
|
background_color: string;
|
|
5083
5122
|
background_image_url: string;
|
|
5084
|
-
page_layout: "center";
|
|
5123
|
+
page_layout: "center" | "left" | "right";
|
|
5085
5124
|
};
|
|
5086
5125
|
colors: {
|
|
5087
5126
|
base_focus_color: string;
|
|
5088
5127
|
base_hover_color: string;
|
|
5089
5128
|
body_text: string;
|
|
5090
|
-
captcha_widget_theme: "auto";
|
|
5129
|
+
captcha_widget_theme: "auto" | "dark" | "light";
|
|
5091
5130
|
error: string;
|
|
5092
5131
|
header: string;
|
|
5093
5132
|
icons: string;
|
|
@@ -5107,10 +5146,10 @@ declare const themeSchema: z.ZodObject<{
|
|
|
5107
5146
|
borders: {
|
|
5108
5147
|
button_border_radius: number;
|
|
5109
5148
|
button_border_weight: number;
|
|
5110
|
-
buttons_style: "pill";
|
|
5149
|
+
buttons_style: "pill" | "rounded" | "sharp";
|
|
5111
5150
|
input_border_radius: number;
|
|
5112
5151
|
input_border_weight: number;
|
|
5113
|
-
inputs_style: "pill";
|
|
5152
|
+
inputs_style: "pill" | "rounded" | "sharp";
|
|
5114
5153
|
show_widget_shadow: boolean;
|
|
5115
5154
|
widget_border_weight: number;
|
|
5116
5155
|
widget_corner_radius: number;
|
|
@@ -5138,7 +5177,7 @@ declare const themeSchema: z.ZodObject<{
|
|
|
5138
5177
|
bold: boolean;
|
|
5139
5178
|
size: number;
|
|
5140
5179
|
};
|
|
5141
|
-
links_style: "normal";
|
|
5180
|
+
links_style: "normal" | "underlined";
|
|
5142
5181
|
reference_text_size: number;
|
|
5143
5182
|
subtitle: {
|
|
5144
5183
|
bold: boolean;
|
|
@@ -5147,10 +5186,10 @@ declare const themeSchema: z.ZodObject<{
|
|
|
5147
5186
|
};
|
|
5148
5187
|
widget: {
|
|
5149
5188
|
logo_url: string;
|
|
5150
|
-
header_text_alignment: "center";
|
|
5189
|
+
header_text_alignment: "center" | "left" | "right";
|
|
5151
5190
|
logo_height: number;
|
|
5152
|
-
logo_position: "center";
|
|
5153
|
-
social_buttons_layout: "bottom";
|
|
5191
|
+
logo_position: "center" | "left" | "right" | "none";
|
|
5192
|
+
social_buttons_layout: "bottom" | "top";
|
|
5154
5193
|
};
|
|
5155
5194
|
themeId: string;
|
|
5156
5195
|
}>;
|
|
@@ -5725,6 +5764,7 @@ declare const sqlApplicationSchema: z.ZodObject<{
|
|
|
5725
5764
|
"enforced"
|
|
5726
5765
|
]>>>;
|
|
5727
5766
|
client_secret: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
5767
|
+
client_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
5728
5768
|
created_at: z.ZodEffects<z.ZodString, string, string>;
|
|
5729
5769
|
updated_at: z.ZodEffects<z.ZodString, string, string>;
|
|
5730
5770
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5742,6 +5782,7 @@ declare const sqlApplicationSchema: z.ZodObject<{
|
|
|
5742
5782
|
updated_at: string;
|
|
5743
5783
|
email_validation?: "enabled" | "disabled" | "enforced" | undefined;
|
|
5744
5784
|
client_secret?: string | undefined;
|
|
5785
|
+
client_metadata?: Record<string, string> | undefined;
|
|
5745
5786
|
}, {
|
|
5746
5787
|
tenant_id: string;
|
|
5747
5788
|
addons: string;
|
|
@@ -5757,6 +5798,7 @@ declare const sqlApplicationSchema: z.ZodObject<{
|
|
|
5757
5798
|
updated_at: string;
|
|
5758
5799
|
email_validation?: "enabled" | "disabled" | "enforced" | undefined;
|
|
5759
5800
|
client_secret?: string | undefined;
|
|
5801
|
+
client_metadata?: Record<string, string> | undefined;
|
|
5760
5802
|
}>;
|
|
5761
5803
|
declare const sqlPromptSettingSchema: z.ZodObject<{
|
|
5762
5804
|
identifier_first: z.ZodNumber;
|