@authhero/kysely-adapter 10.27.0 → 10.28.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.
@@ -4326,12 +4326,16 @@ declare const themeInsertSchema: z.ZodObject<{
4326
4326
  button_border_radius: z.ZodNumber;
4327
4327
  button_border_weight: z.ZodNumber;
4328
4328
  buttons_style: z.ZodEnum<[
4329
- "pill"
4329
+ "pill",
4330
+ "rounded",
4331
+ "sharp"
4330
4332
  ]>;
4331
4333
  input_border_radius: z.ZodNumber;
4332
4334
  input_border_weight: z.ZodNumber;
4333
4335
  inputs_style: z.ZodEnum<[
4334
- "pill"
4336
+ "pill",
4337
+ "rounded",
4338
+ "sharp"
4335
4339
  ]>;
4336
4340
  show_widget_shadow: z.ZodBoolean;
4337
4341
  widget_border_weight: z.ZodNumber;
@@ -4339,20 +4343,20 @@ declare const themeInsertSchema: z.ZodObject<{
4339
4343
  }, "strip", z.ZodTypeAny, {
4340
4344
  button_border_radius: number;
4341
4345
  button_border_weight: number;
4342
- buttons_style: "pill";
4346
+ buttons_style: "pill" | "rounded" | "sharp";
4343
4347
  input_border_radius: number;
4344
4348
  input_border_weight: number;
4345
- inputs_style: "pill";
4349
+ inputs_style: "pill" | "rounded" | "sharp";
4346
4350
  show_widget_shadow: boolean;
4347
4351
  widget_border_weight: number;
4348
4352
  widget_corner_radius: number;
4349
4353
  }, {
4350
4354
  button_border_radius: number;
4351
4355
  button_border_weight: number;
4352
- buttons_style: "pill";
4356
+ buttons_style: "pill" | "rounded" | "sharp";
4353
4357
  input_border_radius: number;
4354
4358
  input_border_weight: number;
4355
- inputs_style: "pill";
4359
+ inputs_style: "pill" | "rounded" | "sharp";
4356
4360
  show_widget_shadow: boolean;
4357
4361
  widget_border_weight: number;
4358
4362
  widget_corner_radius: number;
@@ -4362,7 +4366,9 @@ declare const themeInsertSchema: z.ZodObject<{
4362
4366
  base_hover_color: z.ZodString;
4363
4367
  body_text: z.ZodString;
4364
4368
  captcha_widget_theme: z.ZodEnum<[
4365
- "auto"
4369
+ "auto",
4370
+ "dark",
4371
+ "light"
4366
4372
  ]>;
4367
4373
  error: z.ZodString;
4368
4374
  header: z.ZodString;
@@ -4383,7 +4389,7 @@ declare const themeInsertSchema: z.ZodObject<{
4383
4389
  base_focus_color: string;
4384
4390
  base_hover_color: string;
4385
4391
  body_text: string;
4386
- captcha_widget_theme: "auto";
4392
+ captcha_widget_theme: "auto" | "dark" | "light";
4387
4393
  error: string;
4388
4394
  header: string;
4389
4395
  icons: string;
@@ -4403,7 +4409,7 @@ declare const themeInsertSchema: z.ZodObject<{
4403
4409
  base_focus_color: string;
4404
4410
  base_hover_color: string;
4405
4411
  body_text: string;
4406
- captcha_widget_theme: "auto";
4412
+ captcha_widget_theme: "auto" | "dark" | "light";
4407
4413
  error: string;
4408
4414
  header: string;
4409
4415
  icons: string;
@@ -4464,7 +4470,8 @@ declare const themeInsertSchema: z.ZodObject<{
4464
4470
  size: number;
4465
4471
  }>;
4466
4472
  links_style: z.ZodEnum<[
4467
- "normal"
4473
+ "normal",
4474
+ "underlined"
4468
4475
  ]>;
4469
4476
  reference_text_size: z.ZodNumber;
4470
4477
  subtitle: z.ZodObject<{
@@ -4509,7 +4516,7 @@ declare const themeInsertSchema: z.ZodObject<{
4509
4516
  bold: boolean;
4510
4517
  size: number;
4511
4518
  };
4512
- links_style: "normal";
4519
+ links_style: "normal" | "underlined";
4513
4520
  reference_text_size: number;
4514
4521
  subtitle: {
4515
4522
  bold: boolean;
@@ -4537,7 +4544,7 @@ declare const themeInsertSchema: z.ZodObject<{
4537
4544
  bold: boolean;
4538
4545
  size: number;
4539
4546
  };
4540
- links_style: "normal";
4547
+ links_style: "normal" | "underlined";
4541
4548
  reference_text_size: number;
4542
4549
  subtitle: {
4543
4550
  bold: boolean;
@@ -4548,53 +4555,61 @@ declare const themeInsertSchema: z.ZodObject<{
4548
4555
  background_color: z.ZodString;
4549
4556
  background_image_url: z.ZodString;
4550
4557
  page_layout: z.ZodEnum<[
4551
- "center"
4558
+ "center",
4559
+ "left",
4560
+ "right"
4552
4561
  ]>;
4553
4562
  }, "strip", z.ZodTypeAny, {
4554
4563
  background_color: string;
4555
4564
  background_image_url: string;
4556
- page_layout: "center";
4565
+ page_layout: "center" | "left" | "right";
4557
4566
  }, {
4558
4567
  background_color: string;
4559
4568
  background_image_url: string;
4560
- page_layout: "center";
4569
+ page_layout: "center" | "left" | "right";
4561
4570
  }>;
4562
4571
  widget: z.ZodObject<{
4563
4572
  header_text_alignment: z.ZodEnum<[
4564
- "center"
4573
+ "center",
4574
+ "left",
4575
+ "right"
4565
4576
  ]>;
4566
4577
  logo_height: z.ZodNumber;
4567
4578
  logo_position: z.ZodEnum<[
4568
- "center"
4579
+ "center",
4580
+ "left",
4581
+ "none",
4582
+ "right"
4569
4583
  ]>;
4570
4584
  logo_url: z.ZodString;
4571
4585
  social_buttons_layout: z.ZodEnum<[
4572
- "bottom"
4586
+ "bottom",
4587
+ "top"
4573
4588
  ]>;
4574
4589
  }, "strip", z.ZodTypeAny, {
4575
4590
  logo_url: string;
4576
- header_text_alignment: "center";
4591
+ header_text_alignment: "center" | "left" | "right";
4577
4592
  logo_height: number;
4578
- logo_position: "center";
4579
- social_buttons_layout: "bottom";
4593
+ logo_position: "center" | "left" | "right" | "none";
4594
+ social_buttons_layout: "bottom" | "top";
4580
4595
  }, {
4581
4596
  logo_url: string;
4582
- header_text_alignment: "center";
4597
+ header_text_alignment: "center" | "left" | "right";
4583
4598
  logo_height: number;
4584
- logo_position: "center";
4585
- social_buttons_layout: "bottom";
4599
+ logo_position: "center" | "left" | "right" | "none";
4600
+ social_buttons_layout: "bottom" | "top";
4586
4601
  }>;
4587
4602
  }, "strip", z.ZodTypeAny, {
4588
4603
  page_background: {
4589
4604
  background_color: string;
4590
4605
  background_image_url: string;
4591
- page_layout: "center";
4606
+ page_layout: "center" | "left" | "right";
4592
4607
  };
4593
4608
  colors: {
4594
4609
  base_focus_color: string;
4595
4610
  base_hover_color: string;
4596
4611
  body_text: string;
4597
- captcha_widget_theme: "auto";
4612
+ captcha_widget_theme: "auto" | "dark" | "light";
4598
4613
  error: string;
4599
4614
  header: string;
4600
4615
  icons: string;
@@ -4614,10 +4629,10 @@ declare const themeInsertSchema: z.ZodObject<{
4614
4629
  borders: {
4615
4630
  button_border_radius: number;
4616
4631
  button_border_weight: number;
4617
- buttons_style: "pill";
4632
+ buttons_style: "pill" | "rounded" | "sharp";
4618
4633
  input_border_radius: number;
4619
4634
  input_border_weight: number;
4620
- inputs_style: "pill";
4635
+ inputs_style: "pill" | "rounded" | "sharp";
4621
4636
  show_widget_shadow: boolean;
4622
4637
  widget_border_weight: number;
4623
4638
  widget_corner_radius: number;
@@ -4645,7 +4660,7 @@ declare const themeInsertSchema: z.ZodObject<{
4645
4660
  bold: boolean;
4646
4661
  size: number;
4647
4662
  };
4648
- links_style: "normal";
4663
+ links_style: "normal" | "underlined";
4649
4664
  reference_text_size: number;
4650
4665
  subtitle: {
4651
4666
  bold: boolean;
@@ -4654,22 +4669,22 @@ declare const themeInsertSchema: z.ZodObject<{
4654
4669
  };
4655
4670
  widget: {
4656
4671
  logo_url: string;
4657
- header_text_alignment: "center";
4672
+ header_text_alignment: "center" | "left" | "right";
4658
4673
  logo_height: number;
4659
- logo_position: "center";
4660
- social_buttons_layout: "bottom";
4674
+ logo_position: "center" | "left" | "right" | "none";
4675
+ social_buttons_layout: "bottom" | "top";
4661
4676
  };
4662
4677
  }, {
4663
4678
  page_background: {
4664
4679
  background_color: string;
4665
4680
  background_image_url: string;
4666
- page_layout: "center";
4681
+ page_layout: "center" | "left" | "right";
4667
4682
  };
4668
4683
  colors: {
4669
4684
  base_focus_color: string;
4670
4685
  base_hover_color: string;
4671
4686
  body_text: string;
4672
- captcha_widget_theme: "auto";
4687
+ captcha_widget_theme: "auto" | "dark" | "light";
4673
4688
  error: string;
4674
4689
  header: string;
4675
4690
  icons: string;
@@ -4689,10 +4704,10 @@ declare const themeInsertSchema: z.ZodObject<{
4689
4704
  borders: {
4690
4705
  button_border_radius: number;
4691
4706
  button_border_weight: number;
4692
- buttons_style: "pill";
4707
+ buttons_style: "pill" | "rounded" | "sharp";
4693
4708
  input_border_radius: number;
4694
4709
  input_border_weight: number;
4695
- inputs_style: "pill";
4710
+ inputs_style: "pill" | "rounded" | "sharp";
4696
4711
  show_widget_shadow: boolean;
4697
4712
  widget_border_weight: number;
4698
4713
  widget_corner_radius: number;
@@ -4720,7 +4735,7 @@ declare const themeInsertSchema: z.ZodObject<{
4720
4735
  bold: boolean;
4721
4736
  size: number;
4722
4737
  };
4723
- links_style: "normal";
4738
+ links_style: "normal" | "underlined";
4724
4739
  reference_text_size: number;
4725
4740
  subtitle: {
4726
4741
  bold: boolean;
@@ -4729,10 +4744,10 @@ declare const themeInsertSchema: z.ZodObject<{
4729
4744
  };
4730
4745
  widget: {
4731
4746
  logo_url: string;
4732
- header_text_alignment: "center";
4747
+ header_text_alignment: "center" | "left" | "right";
4733
4748
  logo_height: number;
4734
- logo_position: "center";
4735
- social_buttons_layout: "bottom";
4749
+ logo_position: "center" | "left" | "right" | "none";
4750
+ social_buttons_layout: "bottom" | "top";
4736
4751
  };
4737
4752
  }>;
4738
4753
  export type ThemeInsert = z.input<typeof themeInsertSchema>;
@@ -4741,12 +4756,16 @@ declare const themeSchema: z.ZodObject<{
4741
4756
  button_border_radius: z.ZodNumber;
4742
4757
  button_border_weight: z.ZodNumber;
4743
4758
  buttons_style: z.ZodEnum<[
4744
- "pill"
4759
+ "pill",
4760
+ "rounded",
4761
+ "sharp"
4745
4762
  ]>;
4746
4763
  input_border_radius: z.ZodNumber;
4747
4764
  input_border_weight: z.ZodNumber;
4748
4765
  inputs_style: z.ZodEnum<[
4749
- "pill"
4766
+ "pill",
4767
+ "rounded",
4768
+ "sharp"
4750
4769
  ]>;
4751
4770
  show_widget_shadow: z.ZodBoolean;
4752
4771
  widget_border_weight: z.ZodNumber;
@@ -4754,20 +4773,20 @@ declare const themeSchema: z.ZodObject<{
4754
4773
  }, "strip", z.ZodTypeAny, {
4755
4774
  button_border_radius: number;
4756
4775
  button_border_weight: number;
4757
- buttons_style: "pill";
4776
+ buttons_style: "pill" | "rounded" | "sharp";
4758
4777
  input_border_radius: number;
4759
4778
  input_border_weight: number;
4760
- inputs_style: "pill";
4779
+ inputs_style: "pill" | "rounded" | "sharp";
4761
4780
  show_widget_shadow: boolean;
4762
4781
  widget_border_weight: number;
4763
4782
  widget_corner_radius: number;
4764
4783
  }, {
4765
4784
  button_border_radius: number;
4766
4785
  button_border_weight: number;
4767
- buttons_style: "pill";
4786
+ buttons_style: "pill" | "rounded" | "sharp";
4768
4787
  input_border_radius: number;
4769
4788
  input_border_weight: number;
4770
- inputs_style: "pill";
4789
+ inputs_style: "pill" | "rounded" | "sharp";
4771
4790
  show_widget_shadow: boolean;
4772
4791
  widget_border_weight: number;
4773
4792
  widget_corner_radius: number;
@@ -4777,7 +4796,9 @@ declare const themeSchema: z.ZodObject<{
4777
4796
  base_hover_color: z.ZodString;
4778
4797
  body_text: z.ZodString;
4779
4798
  captcha_widget_theme: z.ZodEnum<[
4780
- "auto"
4799
+ "auto",
4800
+ "dark",
4801
+ "light"
4781
4802
  ]>;
4782
4803
  error: z.ZodString;
4783
4804
  header: z.ZodString;
@@ -4798,7 +4819,7 @@ declare const themeSchema: z.ZodObject<{
4798
4819
  base_focus_color: string;
4799
4820
  base_hover_color: string;
4800
4821
  body_text: string;
4801
- captcha_widget_theme: "auto";
4822
+ captcha_widget_theme: "auto" | "dark" | "light";
4802
4823
  error: string;
4803
4824
  header: string;
4804
4825
  icons: string;
@@ -4818,7 +4839,7 @@ declare const themeSchema: z.ZodObject<{
4818
4839
  base_focus_color: string;
4819
4840
  base_hover_color: string;
4820
4841
  body_text: string;
4821
- captcha_widget_theme: "auto";
4842
+ captcha_widget_theme: "auto" | "dark" | "light";
4822
4843
  error: string;
4823
4844
  header: string;
4824
4845
  icons: string;
@@ -4879,7 +4900,8 @@ declare const themeSchema: z.ZodObject<{
4879
4900
  size: number;
4880
4901
  }>;
4881
4902
  links_style: z.ZodEnum<[
4882
- "normal"
4903
+ "normal",
4904
+ "underlined"
4883
4905
  ]>;
4884
4906
  reference_text_size: z.ZodNumber;
4885
4907
  subtitle: z.ZodObject<{
@@ -4924,7 +4946,7 @@ declare const themeSchema: z.ZodObject<{
4924
4946
  bold: boolean;
4925
4947
  size: number;
4926
4948
  };
4927
- links_style: "normal";
4949
+ links_style: "normal" | "underlined";
4928
4950
  reference_text_size: number;
4929
4951
  subtitle: {
4930
4952
  bold: boolean;
@@ -4952,7 +4974,7 @@ declare const themeSchema: z.ZodObject<{
4952
4974
  bold: boolean;
4953
4975
  size: number;
4954
4976
  };
4955
- links_style: "normal";
4977
+ links_style: "normal" | "underlined";
4956
4978
  reference_text_size: number;
4957
4979
  subtitle: {
4958
4980
  bold: boolean;
@@ -4963,41 +4985,49 @@ declare const themeSchema: z.ZodObject<{
4963
4985
  background_color: z.ZodString;
4964
4986
  background_image_url: z.ZodString;
4965
4987
  page_layout: z.ZodEnum<[
4966
- "center"
4988
+ "center",
4989
+ "left",
4990
+ "right"
4967
4991
  ]>;
4968
4992
  }, "strip", z.ZodTypeAny, {
4969
4993
  background_color: string;
4970
4994
  background_image_url: string;
4971
- page_layout: "center";
4995
+ page_layout: "center" | "left" | "right";
4972
4996
  }, {
4973
4997
  background_color: string;
4974
4998
  background_image_url: string;
4975
- page_layout: "center";
4999
+ page_layout: "center" | "left" | "right";
4976
5000
  }>;
4977
5001
  widget: z.ZodObject<{
4978
5002
  header_text_alignment: z.ZodEnum<[
4979
- "center"
5003
+ "center",
5004
+ "left",
5005
+ "right"
4980
5006
  ]>;
4981
5007
  logo_height: z.ZodNumber;
4982
5008
  logo_position: z.ZodEnum<[
4983
- "center"
5009
+ "center",
5010
+ "left",
5011
+ "none",
5012
+ "right"
4984
5013
  ]>;
4985
5014
  logo_url: z.ZodString;
4986
5015
  social_buttons_layout: z.ZodEnum<[
4987
- "bottom"
5016
+ "bottom",
5017
+ "top"
4988
5018
  ]>;
4989
5019
  }, "strip", z.ZodTypeAny, {
4990
5020
  logo_url: string;
4991
- header_text_alignment: "center";
5021
+ header_text_alignment: "center" | "left" | "right";
4992
5022
  logo_height: number;
4993
- logo_position: "center";
4994
- social_buttons_layout: "bottom";
5023
+ logo_position: "center" | "left" | "right" | "none";
5024
+ social_buttons_layout: "bottom" | "top";
4995
5025
  }, {
4996
5026
  logo_url: string;
4997
- header_text_alignment: "center";
5027
+ header_text_alignment: "center" | "left" | "right";
4998
5028
  logo_height: number;
4999
- logo_position: "center";
5000
- social_buttons_layout: "bottom";
5029
+ logo_position: "center" | "left" | "right" | "none";
5030
+ social_buttons_layout: "bottom" | "top";
5001
5031
  }>;
5002
5032
  } & {
5003
5033
  themeId: z.ZodString;
@@ -5005,13 +5035,13 @@ declare const themeSchema: z.ZodObject<{
5005
5035
  page_background: {
5006
5036
  background_color: string;
5007
5037
  background_image_url: string;
5008
- page_layout: "center";
5038
+ page_layout: "center" | "left" | "right";
5009
5039
  };
5010
5040
  colors: {
5011
5041
  base_focus_color: string;
5012
5042
  base_hover_color: string;
5013
5043
  body_text: string;
5014
- captcha_widget_theme: "auto";
5044
+ captcha_widget_theme: "auto" | "dark" | "light";
5015
5045
  error: string;
5016
5046
  header: string;
5017
5047
  icons: string;
@@ -5031,10 +5061,10 @@ declare const themeSchema: z.ZodObject<{
5031
5061
  borders: {
5032
5062
  button_border_radius: number;
5033
5063
  button_border_weight: number;
5034
- buttons_style: "pill";
5064
+ buttons_style: "pill" | "rounded" | "sharp";
5035
5065
  input_border_radius: number;
5036
5066
  input_border_weight: number;
5037
- inputs_style: "pill";
5067
+ inputs_style: "pill" | "rounded" | "sharp";
5038
5068
  show_widget_shadow: boolean;
5039
5069
  widget_border_weight: number;
5040
5070
  widget_corner_radius: number;
@@ -5062,7 +5092,7 @@ declare const themeSchema: z.ZodObject<{
5062
5092
  bold: boolean;
5063
5093
  size: number;
5064
5094
  };
5065
- links_style: "normal";
5095
+ links_style: "normal" | "underlined";
5066
5096
  reference_text_size: number;
5067
5097
  subtitle: {
5068
5098
  bold: boolean;
@@ -5071,23 +5101,23 @@ declare const themeSchema: z.ZodObject<{
5071
5101
  };
5072
5102
  widget: {
5073
5103
  logo_url: string;
5074
- header_text_alignment: "center";
5104
+ header_text_alignment: "center" | "left" | "right";
5075
5105
  logo_height: number;
5076
- logo_position: "center";
5077
- social_buttons_layout: "bottom";
5106
+ logo_position: "center" | "left" | "right" | "none";
5107
+ social_buttons_layout: "bottom" | "top";
5078
5108
  };
5079
5109
  themeId: string;
5080
5110
  }, {
5081
5111
  page_background: {
5082
5112
  background_color: string;
5083
5113
  background_image_url: string;
5084
- page_layout: "center";
5114
+ page_layout: "center" | "left" | "right";
5085
5115
  };
5086
5116
  colors: {
5087
5117
  base_focus_color: string;
5088
5118
  base_hover_color: string;
5089
5119
  body_text: string;
5090
- captcha_widget_theme: "auto";
5120
+ captcha_widget_theme: "auto" | "dark" | "light";
5091
5121
  error: string;
5092
5122
  header: string;
5093
5123
  icons: string;
@@ -5107,10 +5137,10 @@ declare const themeSchema: z.ZodObject<{
5107
5137
  borders: {
5108
5138
  button_border_radius: number;
5109
5139
  button_border_weight: number;
5110
- buttons_style: "pill";
5140
+ buttons_style: "pill" | "rounded" | "sharp";
5111
5141
  input_border_radius: number;
5112
5142
  input_border_weight: number;
5113
- inputs_style: "pill";
5143
+ inputs_style: "pill" | "rounded" | "sharp";
5114
5144
  show_widget_shadow: boolean;
5115
5145
  widget_border_weight: number;
5116
5146
  widget_corner_radius: number;
@@ -5138,7 +5168,7 @@ declare const themeSchema: z.ZodObject<{
5138
5168
  bold: boolean;
5139
5169
  size: number;
5140
5170
  };
5141
- links_style: "normal";
5171
+ links_style: "normal" | "underlined";
5142
5172
  reference_text_size: number;
5143
5173
  subtitle: {
5144
5174
  bold: boolean;
@@ -5147,10 +5177,10 @@ declare const themeSchema: z.ZodObject<{
5147
5177
  };
5148
5178
  widget: {
5149
5179
  logo_url: string;
5150
- header_text_alignment: "center";
5180
+ header_text_alignment: "center" | "left" | "right";
5151
5181
  logo_height: number;
5152
- logo_position: "center";
5153
- social_buttons_layout: "bottom";
5182
+ logo_position: "center" | "left" | "right" | "none";
5183
+ social_buttons_layout: "bottom" | "top";
5154
5184
  };
5155
5185
  themeId: string;
5156
5186
  }>;