authhero 0.156.0 → 0.158.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.
@@ -9344,6 +9344,46 @@ export declare const formNodeComponentDefinition: z.ZodDiscriminatedUnion<"type"
9344
9344
  order?: number | undefined;
9345
9345
  visible?: boolean | undefined;
9346
9346
  }>,
9347
+ z.ZodObject<{
9348
+ id: z.ZodString;
9349
+ type: z.ZodLiteral<"TEXT">;
9350
+ config: z.ZodObject<{
9351
+ placeholder: z.ZodOptional<z.ZodString>;
9352
+ multiline: z.ZodOptional<z.ZodBoolean>;
9353
+ }, "strip", z.ZodTypeAny, {
9354
+ placeholder?: string | undefined;
9355
+ multiline?: boolean | undefined;
9356
+ }, {
9357
+ placeholder?: string | undefined;
9358
+ multiline?: boolean | undefined;
9359
+ }>;
9360
+ required: z.ZodOptional<z.ZodBoolean>;
9361
+ sensitive: z.ZodOptional<z.ZodBoolean>;
9362
+ order: z.ZodOptional<z.ZodNumber>;
9363
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
9364
+ }, "strip", z.ZodTypeAny, {
9365
+ type: "TEXT";
9366
+ id: string;
9367
+ config: {
9368
+ placeholder?: string | undefined;
9369
+ multiline?: boolean | undefined;
9370
+ };
9371
+ visible: boolean;
9372
+ required?: boolean | undefined;
9373
+ sensitive?: boolean | undefined;
9374
+ order?: number | undefined;
9375
+ }, {
9376
+ type: "TEXT";
9377
+ id: string;
9378
+ config: {
9379
+ placeholder?: string | undefined;
9380
+ multiline?: boolean | undefined;
9381
+ };
9382
+ required?: boolean | undefined;
9383
+ sensitive?: boolean | undefined;
9384
+ order?: number | undefined;
9385
+ visible?: boolean | undefined;
9386
+ }>,
9347
9387
  z.ZodObject<{
9348
9388
  id: z.ZodString;
9349
9389
  type: z.ZodLiteral<"NEXT_BUTTON">;
@@ -9617,6 +9657,46 @@ export declare const formInsertSchema: z.ZodObject<{
9617
9657
  order?: number | undefined;
9618
9658
  visible?: boolean | undefined;
9619
9659
  }>,
9660
+ z.ZodObject<{
9661
+ id: z.ZodString;
9662
+ type: z.ZodLiteral<"TEXT">;
9663
+ config: z.ZodObject<{
9664
+ placeholder: z.ZodOptional<z.ZodString>;
9665
+ multiline: z.ZodOptional<z.ZodBoolean>;
9666
+ }, "strip", z.ZodTypeAny, {
9667
+ placeholder?: string | undefined;
9668
+ multiline?: boolean | undefined;
9669
+ }, {
9670
+ placeholder?: string | undefined;
9671
+ multiline?: boolean | undefined;
9672
+ }>;
9673
+ required: z.ZodOptional<z.ZodBoolean>;
9674
+ sensitive: z.ZodOptional<z.ZodBoolean>;
9675
+ order: z.ZodOptional<z.ZodNumber>;
9676
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
9677
+ }, "strip", z.ZodTypeAny, {
9678
+ type: "TEXT";
9679
+ id: string;
9680
+ config: {
9681
+ placeholder?: string | undefined;
9682
+ multiline?: boolean | undefined;
9683
+ };
9684
+ visible: boolean;
9685
+ required?: boolean | undefined;
9686
+ sensitive?: boolean | undefined;
9687
+ order?: number | undefined;
9688
+ }, {
9689
+ type: "TEXT";
9690
+ id: string;
9691
+ config: {
9692
+ placeholder?: string | undefined;
9693
+ multiline?: boolean | undefined;
9694
+ };
9695
+ required?: boolean | undefined;
9696
+ sensitive?: boolean | undefined;
9697
+ order?: number | undefined;
9698
+ visible?: boolean | undefined;
9699
+ }>,
9620
9700
  z.ZodObject<{
9621
9701
  id: z.ZodString;
9622
9702
  type: z.ZodLiteral<"NEXT_BUTTON">;
@@ -9667,6 +9747,17 @@ export declare const formInsertSchema: z.ZodObject<{
9667
9747
  visible: boolean;
9668
9748
  required?: boolean | undefined;
9669
9749
  order?: number | undefined;
9750
+ } | {
9751
+ type: "TEXT";
9752
+ id: string;
9753
+ config: {
9754
+ placeholder?: string | undefined;
9755
+ multiline?: boolean | undefined;
9756
+ };
9757
+ visible: boolean;
9758
+ required?: boolean | undefined;
9759
+ sensitive?: boolean | undefined;
9760
+ order?: number | undefined;
9670
9761
  } | {
9671
9762
  type: "NEXT_BUTTON";
9672
9763
  id: string;
@@ -9696,6 +9787,17 @@ export declare const formInsertSchema: z.ZodObject<{
9696
9787
  required?: boolean | undefined;
9697
9788
  order?: number | undefined;
9698
9789
  visible?: boolean | undefined;
9790
+ } | {
9791
+ type: "TEXT";
9792
+ id: string;
9793
+ config: {
9794
+ placeholder?: string | undefined;
9795
+ multiline?: boolean | undefined;
9796
+ };
9797
+ required?: boolean | undefined;
9798
+ sensitive?: boolean | undefined;
9799
+ order?: number | undefined;
9800
+ visible?: boolean | undefined;
9699
9801
  } | {
9700
9802
  type: "NEXT_BUTTON";
9701
9803
  id: string;
@@ -9729,6 +9831,17 @@ export declare const formInsertSchema: z.ZodObject<{
9729
9831
  visible: boolean;
9730
9832
  required?: boolean | undefined;
9731
9833
  order?: number | undefined;
9834
+ } | {
9835
+ type: "TEXT";
9836
+ id: string;
9837
+ config: {
9838
+ placeholder?: string | undefined;
9839
+ multiline?: boolean | undefined;
9840
+ };
9841
+ visible: boolean;
9842
+ required?: boolean | undefined;
9843
+ sensitive?: boolean | undefined;
9844
+ order?: number | undefined;
9732
9845
  } | {
9733
9846
  type: "NEXT_BUTTON";
9734
9847
  id: string;
@@ -9767,6 +9880,17 @@ export declare const formInsertSchema: z.ZodObject<{
9767
9880
  required?: boolean | undefined;
9768
9881
  order?: number | undefined;
9769
9882
  visible?: boolean | undefined;
9883
+ } | {
9884
+ type: "TEXT";
9885
+ id: string;
9886
+ config: {
9887
+ placeholder?: string | undefined;
9888
+ multiline?: boolean | undefined;
9889
+ };
9890
+ required?: boolean | undefined;
9891
+ sensitive?: boolean | undefined;
9892
+ order?: number | undefined;
9893
+ visible?: boolean | undefined;
9770
9894
  } | {
9771
9895
  type: "NEXT_BUTTON";
9772
9896
  id: string;
@@ -9962,6 +10086,17 @@ export declare const formInsertSchema: z.ZodObject<{
9962
10086
  visible: boolean;
9963
10087
  required?: boolean | undefined;
9964
10088
  order?: number | undefined;
10089
+ } | {
10090
+ type: "TEXT";
10091
+ id: string;
10092
+ config: {
10093
+ placeholder?: string | undefined;
10094
+ multiline?: boolean | undefined;
10095
+ };
10096
+ visible: boolean;
10097
+ required?: boolean | undefined;
10098
+ sensitive?: boolean | undefined;
10099
+ order?: number | undefined;
9965
10100
  } | {
9966
10101
  type: "NEXT_BUTTON";
9967
10102
  id: string;
@@ -10069,6 +10204,17 @@ export declare const formInsertSchema: z.ZodObject<{
10069
10204
  required?: boolean | undefined;
10070
10205
  order?: number | undefined;
10071
10206
  visible?: boolean | undefined;
10207
+ } | {
10208
+ type: "TEXT";
10209
+ id: string;
10210
+ config: {
10211
+ placeholder?: string | undefined;
10212
+ multiline?: boolean | undefined;
10213
+ };
10214
+ required?: boolean | undefined;
10215
+ sensitive?: boolean | undefined;
10216
+ order?: number | undefined;
10217
+ visible?: boolean | undefined;
10072
10218
  } | {
10073
10219
  type: "NEXT_BUTTON";
10074
10220
  id: string;
@@ -10350,6 +10496,46 @@ export declare const formSchema: z.ZodObject<{
10350
10496
  order?: number | undefined;
10351
10497
  visible?: boolean | undefined;
10352
10498
  }>,
10499
+ z.ZodObject<{
10500
+ id: z.ZodString;
10501
+ type: z.ZodLiteral<"TEXT">;
10502
+ config: z.ZodObject<{
10503
+ placeholder: z.ZodOptional<z.ZodString>;
10504
+ multiline: z.ZodOptional<z.ZodBoolean>;
10505
+ }, "strip", z.ZodTypeAny, {
10506
+ placeholder?: string | undefined;
10507
+ multiline?: boolean | undefined;
10508
+ }, {
10509
+ placeholder?: string | undefined;
10510
+ multiline?: boolean | undefined;
10511
+ }>;
10512
+ required: z.ZodOptional<z.ZodBoolean>;
10513
+ sensitive: z.ZodOptional<z.ZodBoolean>;
10514
+ order: z.ZodOptional<z.ZodNumber>;
10515
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
10516
+ }, "strip", z.ZodTypeAny, {
10517
+ type: "TEXT";
10518
+ id: string;
10519
+ config: {
10520
+ placeholder?: string | undefined;
10521
+ multiline?: boolean | undefined;
10522
+ };
10523
+ visible: boolean;
10524
+ required?: boolean | undefined;
10525
+ sensitive?: boolean | undefined;
10526
+ order?: number | undefined;
10527
+ }, {
10528
+ type: "TEXT";
10529
+ id: string;
10530
+ config: {
10531
+ placeholder?: string | undefined;
10532
+ multiline?: boolean | undefined;
10533
+ };
10534
+ required?: boolean | undefined;
10535
+ sensitive?: boolean | undefined;
10536
+ order?: number | undefined;
10537
+ visible?: boolean | undefined;
10538
+ }>,
10353
10539
  z.ZodObject<{
10354
10540
  id: z.ZodString;
10355
10541
  type: z.ZodLiteral<"NEXT_BUTTON">;
@@ -10400,6 +10586,17 @@ export declare const formSchema: z.ZodObject<{
10400
10586
  visible: boolean;
10401
10587
  required?: boolean | undefined;
10402
10588
  order?: number | undefined;
10589
+ } | {
10590
+ type: "TEXT";
10591
+ id: string;
10592
+ config: {
10593
+ placeholder?: string | undefined;
10594
+ multiline?: boolean | undefined;
10595
+ };
10596
+ visible: boolean;
10597
+ required?: boolean | undefined;
10598
+ sensitive?: boolean | undefined;
10599
+ order?: number | undefined;
10403
10600
  } | {
10404
10601
  type: "NEXT_BUTTON";
10405
10602
  id: string;
@@ -10429,6 +10626,17 @@ export declare const formSchema: z.ZodObject<{
10429
10626
  required?: boolean | undefined;
10430
10627
  order?: number | undefined;
10431
10628
  visible?: boolean | undefined;
10629
+ } | {
10630
+ type: "TEXT";
10631
+ id: string;
10632
+ config: {
10633
+ placeholder?: string | undefined;
10634
+ multiline?: boolean | undefined;
10635
+ };
10636
+ required?: boolean | undefined;
10637
+ sensitive?: boolean | undefined;
10638
+ order?: number | undefined;
10639
+ visible?: boolean | undefined;
10432
10640
  } | {
10433
10641
  type: "NEXT_BUTTON";
10434
10642
  id: string;
@@ -10462,6 +10670,17 @@ export declare const formSchema: z.ZodObject<{
10462
10670
  visible: boolean;
10463
10671
  required?: boolean | undefined;
10464
10672
  order?: number | undefined;
10673
+ } | {
10674
+ type: "TEXT";
10675
+ id: string;
10676
+ config: {
10677
+ placeholder?: string | undefined;
10678
+ multiline?: boolean | undefined;
10679
+ };
10680
+ visible: boolean;
10681
+ required?: boolean | undefined;
10682
+ sensitive?: boolean | undefined;
10683
+ order?: number | undefined;
10465
10684
  } | {
10466
10685
  type: "NEXT_BUTTON";
10467
10686
  id: string;
@@ -10500,6 +10719,17 @@ export declare const formSchema: z.ZodObject<{
10500
10719
  required?: boolean | undefined;
10501
10720
  order?: number | undefined;
10502
10721
  visible?: boolean | undefined;
10722
+ } | {
10723
+ type: "TEXT";
10724
+ id: string;
10725
+ config: {
10726
+ placeholder?: string | undefined;
10727
+ multiline?: boolean | undefined;
10728
+ };
10729
+ required?: boolean | undefined;
10730
+ sensitive?: boolean | undefined;
10731
+ order?: number | undefined;
10732
+ visible?: boolean | undefined;
10503
10733
  } | {
10504
10734
  type: "NEXT_BUTTON";
10505
10735
  id: string;
@@ -10700,6 +10930,17 @@ export declare const formSchema: z.ZodObject<{
10700
10930
  visible: boolean;
10701
10931
  required?: boolean | undefined;
10702
10932
  order?: number | undefined;
10933
+ } | {
10934
+ type: "TEXT";
10935
+ id: string;
10936
+ config: {
10937
+ placeholder?: string | undefined;
10938
+ multiline?: boolean | undefined;
10939
+ };
10940
+ visible: boolean;
10941
+ required?: boolean | undefined;
10942
+ sensitive?: boolean | undefined;
10943
+ order?: number | undefined;
10703
10944
  } | {
10704
10945
  type: "NEXT_BUTTON";
10705
10946
  id: string;
@@ -10810,6 +11051,17 @@ export declare const formSchema: z.ZodObject<{
10810
11051
  required?: boolean | undefined;
10811
11052
  order?: number | undefined;
10812
11053
  visible?: boolean | undefined;
11054
+ } | {
11055
+ type: "TEXT";
11056
+ id: string;
11057
+ config: {
11058
+ placeholder?: string | undefined;
11059
+ multiline?: boolean | undefined;
11060
+ };
11061
+ required?: boolean | undefined;
11062
+ sensitive?: boolean | undefined;
11063
+ order?: number | undefined;
11064
+ visible?: boolean | undefined;
10813
11065
  } | {
10814
11066
  type: "NEXT_BUTTON";
10815
11067
  id: string;
@@ -14178,6 +14430,17 @@ export declare function init(config: AuthHeroConfig): {
14178
14430
  visible: boolean;
14179
14431
  required?: boolean | undefined | undefined;
14180
14432
  order?: number | undefined | undefined;
14433
+ } | {
14434
+ type: "TEXT";
14435
+ id: string;
14436
+ config: {
14437
+ placeholder?: string | undefined | undefined;
14438
+ multiline?: boolean | undefined | undefined;
14439
+ };
14440
+ visible: boolean;
14441
+ required?: boolean | undefined | undefined;
14442
+ sensitive?: boolean | undefined | undefined;
14443
+ order?: number | undefined | undefined;
14181
14444
  } | {
14182
14445
  type: "NEXT_BUTTON";
14183
14446
  id: string;
@@ -14298,6 +14561,17 @@ export declare function init(config: AuthHeroConfig): {
14298
14561
  visible: boolean;
14299
14562
  required?: boolean | undefined | undefined;
14300
14563
  order?: number | undefined | undefined;
14564
+ } | {
14565
+ type: "TEXT";
14566
+ id: string;
14567
+ config: {
14568
+ placeholder?: string | undefined | undefined;
14569
+ multiline?: boolean | undefined | undefined;
14570
+ };
14571
+ visible: boolean;
14572
+ required?: boolean | undefined | undefined;
14573
+ sensitive?: boolean | undefined | undefined;
14574
+ order?: number | undefined | undefined;
14301
14575
  } | {
14302
14576
  type: "NEXT_BUTTON";
14303
14577
  id: string;
@@ -14432,6 +14706,17 @@ export declare function init(config: AuthHeroConfig): {
14432
14706
  visible: boolean;
14433
14707
  required?: boolean | undefined | undefined;
14434
14708
  order?: number | undefined | undefined;
14709
+ } | {
14710
+ type: "TEXT";
14711
+ id: string;
14712
+ config: {
14713
+ placeholder?: string | undefined | undefined;
14714
+ multiline?: boolean | undefined | undefined;
14715
+ };
14716
+ visible: boolean;
14717
+ required?: boolean | undefined | undefined;
14718
+ sensitive?: boolean | undefined | undefined;
14719
+ order?: number | undefined | undefined;
14435
14720
  } | {
14436
14721
  type: "NEXT_BUTTON";
14437
14722
  id: string;
@@ -14575,6 +14860,17 @@ export declare function init(config: AuthHeroConfig): {
14575
14860
  required?: boolean | undefined;
14576
14861
  order?: number | undefined;
14577
14862
  visible?: boolean | undefined;
14863
+ } | {
14864
+ type: "TEXT";
14865
+ id: string;
14866
+ config: {
14867
+ placeholder?: string | undefined;
14868
+ multiline?: boolean | undefined;
14869
+ };
14870
+ required?: boolean | undefined;
14871
+ sensitive?: boolean | undefined;
14872
+ order?: number | undefined;
14873
+ visible?: boolean | undefined;
14578
14874
  } | {
14579
14875
  type: "NEXT_BUTTON";
14580
14876
  id: string;
@@ -14691,6 +14987,17 @@ export declare function init(config: AuthHeroConfig): {
14691
14987
  visible: boolean;
14692
14988
  required?: boolean | undefined | undefined;
14693
14989
  order?: number | undefined | undefined;
14990
+ } | {
14991
+ type: "TEXT";
14992
+ id: string;
14993
+ config: {
14994
+ placeholder?: string | undefined | undefined;
14995
+ multiline?: boolean | undefined | undefined;
14996
+ };
14997
+ visible: boolean;
14998
+ required?: boolean | undefined | undefined;
14999
+ sensitive?: boolean | undefined | undefined;
15000
+ order?: number | undefined | undefined;
14694
15001
  } | {
14695
15002
  type: "NEXT_BUTTON";
14696
15003
  id: string;
@@ -14813,6 +15120,17 @@ export declare function init(config: AuthHeroConfig): {
14813
15120
  required?: boolean | undefined;
14814
15121
  order?: number | undefined;
14815
15122
  visible?: boolean | undefined;
15123
+ } | {
15124
+ type: "TEXT";
15125
+ id: string;
15126
+ config: {
15127
+ placeholder?: string | undefined;
15128
+ multiline?: boolean | undefined;
15129
+ };
15130
+ required?: boolean | undefined;
15131
+ sensitive?: boolean | undefined;
15132
+ order?: number | undefined;
15133
+ visible?: boolean | undefined;
14816
15134
  } | {
14817
15135
  type: "NEXT_BUTTON";
14818
15136
  id: string;
@@ -14929,6 +15247,17 @@ export declare function init(config: AuthHeroConfig): {
14929
15247
  visible: boolean;
14930
15248
  required?: boolean | undefined | undefined;
14931
15249
  order?: number | undefined | undefined;
15250
+ } | {
15251
+ type: "TEXT";
15252
+ id: string;
15253
+ config: {
15254
+ placeholder?: string | undefined | undefined;
15255
+ multiline?: boolean | undefined | undefined;
15256
+ };
15257
+ visible: boolean;
15258
+ required?: boolean | undefined | undefined;
15259
+ sensitive?: boolean | undefined | undefined;
15260
+ order?: number | undefined | undefined;
14932
15261
  } | {
14933
15262
  type: "NEXT_BUTTON";
14934
15263
  id: string;