@authhero/kysely-adapter 10.63.0 → 10.63.1

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.
@@ -2538,20 +2538,20 @@ declare const formInsertSchema: z.ZodObject<{
2538
2538
  alias: z.ZodOptional<z.ZodString>;
2539
2539
  config: z.ZodObject<{
2540
2540
  flow_id: z.ZodString;
2541
- next_node: z.ZodString;
2541
+ next_node: z.ZodOptional<z.ZodString>;
2542
2542
  }, "strip", z.ZodTypeAny, {
2543
- next_node: string;
2544
2543
  flow_id: string;
2544
+ next_node?: string | undefined;
2545
2545
  }, {
2546
- next_node: string;
2547
2546
  flow_id: string;
2547
+ next_node?: string | undefined;
2548
2548
  }>;
2549
2549
  }, "strip", z.ZodTypeAny, {
2550
2550
  type: "FLOW";
2551
2551
  id: string;
2552
2552
  config: {
2553
- next_node: string;
2554
2553
  flow_id: string;
2554
+ next_node?: string | undefined;
2555
2555
  };
2556
2556
  coordinates: {
2557
2557
  x: number;
@@ -2562,8 +2562,8 @@ declare const formInsertSchema: z.ZodObject<{
2562
2562
  type: "FLOW";
2563
2563
  id: string;
2564
2564
  config: {
2565
- next_node: string;
2566
2565
  flow_id: string;
2566
+ next_node?: string | undefined;
2567
2567
  };
2568
2568
  coordinates: {
2569
2569
  x: number;
@@ -2602,7 +2602,7 @@ declare const formInsertSchema: z.ZodObject<{
2602
2602
  alias?: string | undefined;
2603
2603
  condition?: any;
2604
2604
  }>, "many">;
2605
- fallback: z.ZodArray<z.ZodString, "many">;
2605
+ fallback: z.ZodString;
2606
2606
  }, "strip", z.ZodTypeAny, {
2607
2607
  rules: {
2608
2608
  id: string;
@@ -2610,7 +2610,7 @@ declare const formInsertSchema: z.ZodObject<{
2610
2610
  alias?: string | undefined;
2611
2611
  condition?: any;
2612
2612
  }[];
2613
- fallback: string[];
2613
+ fallback: string;
2614
2614
  }, {
2615
2615
  rules: {
2616
2616
  id: string;
@@ -2618,7 +2618,7 @@ declare const formInsertSchema: z.ZodObject<{
2618
2618
  alias?: string | undefined;
2619
2619
  condition?: any;
2620
2620
  }[];
2621
- fallback: string[];
2621
+ fallback: string;
2622
2622
  }>;
2623
2623
  }, "strip", z.ZodTypeAny, {
2624
2624
  type: "ROUTER";
@@ -2630,7 +2630,7 @@ declare const formInsertSchema: z.ZodObject<{
2630
2630
  alias?: string | undefined;
2631
2631
  condition?: any;
2632
2632
  }[];
2633
- fallback: string[];
2633
+ fallback: string;
2634
2634
  };
2635
2635
  coordinates: {
2636
2636
  x: number;
@@ -2647,7 +2647,7 @@ declare const formInsertSchema: z.ZodObject<{
2647
2647
  alias?: string | undefined;
2648
2648
  condition?: any;
2649
2649
  }[];
2650
- fallback: string[];
2650
+ fallback: string;
2651
2651
  };
2652
2652
  coordinates: {
2653
2653
  x: number;
@@ -2673,6 +2673,7 @@ declare const formInsertSchema: z.ZodObject<{
2673
2673
  components: z.ZodArray<z.ZodDiscriminatedUnion<"type", [
2674
2674
  z.ZodObject<{
2675
2675
  id: z.ZodString;
2676
+ category: z.ZodOptional<z.ZodLiteral<"BLOCK">>;
2676
2677
  type: z.ZodLiteral<"RICH_TEXT">;
2677
2678
  config: z.ZodObject<{
2678
2679
  content: z.ZodString;
@@ -2690,6 +2691,7 @@ declare const formInsertSchema: z.ZodObject<{
2690
2691
  content: string;
2691
2692
  };
2692
2693
  visible: boolean;
2694
+ category?: "BLOCK" | undefined;
2693
2695
  order?: number | undefined;
2694
2696
  }, {
2695
2697
  type: "RICH_TEXT";
@@ -2697,11 +2699,13 @@ declare const formInsertSchema: z.ZodObject<{
2697
2699
  config: {
2698
2700
  content: string;
2699
2701
  };
2702
+ category?: "BLOCK" | undefined;
2700
2703
  order?: number | undefined;
2701
2704
  visible?: boolean | undefined;
2702
2705
  }>,
2703
2706
  z.ZodObject<{
2704
2707
  id: z.ZodString;
2708
+ category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
2705
2709
  type: z.ZodLiteral<"LEGAL">;
2706
2710
  config: z.ZodObject<{
2707
2711
  text: z.ZodString;
@@ -2725,6 +2729,7 @@ declare const formInsertSchema: z.ZodObject<{
2725
2729
  };
2726
2730
  visible: boolean;
2727
2731
  required?: boolean | undefined;
2732
+ category?: "FIELD" | undefined;
2728
2733
  order?: number | undefined;
2729
2734
  }, {
2730
2735
  type: "LEGAL";
@@ -2734,11 +2739,13 @@ declare const formInsertSchema: z.ZodObject<{
2734
2739
  html?: boolean | undefined;
2735
2740
  };
2736
2741
  required?: boolean | undefined;
2742
+ category?: "FIELD" | undefined;
2737
2743
  order?: number | undefined;
2738
2744
  visible?: boolean | undefined;
2739
2745
  }>,
2740
2746
  z.ZodObject<{
2741
2747
  id: z.ZodString;
2748
+ category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
2742
2749
  type: z.ZodLiteral<"TEXT">;
2743
2750
  config: z.ZodObject<{
2744
2751
  placeholder: z.ZodOptional<z.ZodString>;
@@ -2763,6 +2770,7 @@ declare const formInsertSchema: z.ZodObject<{
2763
2770
  };
2764
2771
  visible: boolean;
2765
2772
  required?: boolean | undefined;
2773
+ category?: "FIELD" | undefined;
2766
2774
  sensitive?: boolean | undefined;
2767
2775
  order?: number | undefined;
2768
2776
  }, {
@@ -2773,12 +2781,14 @@ declare const formInsertSchema: z.ZodObject<{
2773
2781
  multiline?: boolean | undefined;
2774
2782
  };
2775
2783
  required?: boolean | undefined;
2784
+ category?: "FIELD" | undefined;
2776
2785
  sensitive?: boolean | undefined;
2777
2786
  order?: number | undefined;
2778
2787
  visible?: boolean | undefined;
2779
2788
  }>,
2780
2789
  z.ZodObject<{
2781
2790
  id: z.ZodString;
2791
+ category: z.ZodOptional<z.ZodLiteral<"BLOCK">>;
2782
2792
  type: z.ZodLiteral<"NEXT_BUTTON">;
2783
2793
  config: z.ZodObject<{
2784
2794
  text: z.ZodOptional<z.ZodString>;
@@ -2796,6 +2806,7 @@ declare const formInsertSchema: z.ZodObject<{
2796
2806
  text?: string | undefined;
2797
2807
  };
2798
2808
  visible: boolean;
2809
+ category?: "BLOCK" | undefined;
2799
2810
  order?: number | undefined;
2800
2811
  }, {
2801
2812
  type: "NEXT_BUTTON";
@@ -2803,11 +2814,12 @@ declare const formInsertSchema: z.ZodObject<{
2803
2814
  config: {
2804
2815
  text?: string | undefined;
2805
2816
  };
2817
+ category?: "BLOCK" | undefined;
2806
2818
  order?: number | undefined;
2807
2819
  visible?: boolean | undefined;
2808
2820
  }>
2809
2821
  ]>, "many">;
2810
- next_node: z.ZodString;
2822
+ next_node: z.ZodOptional<z.ZodString>;
2811
2823
  }, "strip", z.ZodTypeAny, {
2812
2824
  components: ({
2813
2825
  type: "RICH_TEXT";
@@ -2816,6 +2828,7 @@ declare const formInsertSchema: z.ZodObject<{
2816
2828
  content: string;
2817
2829
  };
2818
2830
  visible: boolean;
2831
+ category?: "BLOCK" | undefined;
2819
2832
  order?: number | undefined;
2820
2833
  } | {
2821
2834
  type: "LEGAL";
@@ -2826,6 +2839,7 @@ declare const formInsertSchema: z.ZodObject<{
2826
2839
  };
2827
2840
  visible: boolean;
2828
2841
  required?: boolean | undefined;
2842
+ category?: "FIELD" | undefined;
2829
2843
  order?: number | undefined;
2830
2844
  } | {
2831
2845
  type: "TEXT";
@@ -2836,6 +2850,7 @@ declare const formInsertSchema: z.ZodObject<{
2836
2850
  };
2837
2851
  visible: boolean;
2838
2852
  required?: boolean | undefined;
2853
+ category?: "FIELD" | undefined;
2839
2854
  sensitive?: boolean | undefined;
2840
2855
  order?: number | undefined;
2841
2856
  } | {
@@ -2845,9 +2860,10 @@ declare const formInsertSchema: z.ZodObject<{
2845
2860
  text?: string | undefined;
2846
2861
  };
2847
2862
  visible: boolean;
2863
+ category?: "BLOCK" | undefined;
2848
2864
  order?: number | undefined;
2849
2865
  })[];
2850
- next_node: string;
2866
+ next_node?: string | undefined;
2851
2867
  }, {
2852
2868
  components: ({
2853
2869
  type: "RICH_TEXT";
@@ -2855,6 +2871,7 @@ declare const formInsertSchema: z.ZodObject<{
2855
2871
  config: {
2856
2872
  content: string;
2857
2873
  };
2874
+ category?: "BLOCK" | undefined;
2858
2875
  order?: number | undefined;
2859
2876
  visible?: boolean | undefined;
2860
2877
  } | {
@@ -2865,6 +2882,7 @@ declare const formInsertSchema: z.ZodObject<{
2865
2882
  html?: boolean | undefined;
2866
2883
  };
2867
2884
  required?: boolean | undefined;
2885
+ category?: "FIELD" | undefined;
2868
2886
  order?: number | undefined;
2869
2887
  visible?: boolean | undefined;
2870
2888
  } | {
@@ -2875,6 +2893,7 @@ declare const formInsertSchema: z.ZodObject<{
2875
2893
  multiline?: boolean | undefined;
2876
2894
  };
2877
2895
  required?: boolean | undefined;
2896
+ category?: "FIELD" | undefined;
2878
2897
  sensitive?: boolean | undefined;
2879
2898
  order?: number | undefined;
2880
2899
  visible?: boolean | undefined;
@@ -2884,10 +2903,11 @@ declare const formInsertSchema: z.ZodObject<{
2884
2903
  config: {
2885
2904
  text?: string | undefined;
2886
2905
  };
2906
+ category?: "BLOCK" | undefined;
2887
2907
  order?: number | undefined;
2888
2908
  visible?: boolean | undefined;
2889
2909
  })[];
2890
- next_node: string;
2910
+ next_node?: string | undefined;
2891
2911
  }>;
2892
2912
  }, "strip", z.ZodTypeAny, {
2893
2913
  type: "STEP";
@@ -2900,6 +2920,7 @@ declare const formInsertSchema: z.ZodObject<{
2900
2920
  content: string;
2901
2921
  };
2902
2922
  visible: boolean;
2923
+ category?: "BLOCK" | undefined;
2903
2924
  order?: number | undefined;
2904
2925
  } | {
2905
2926
  type: "LEGAL";
@@ -2910,6 +2931,7 @@ declare const formInsertSchema: z.ZodObject<{
2910
2931
  };
2911
2932
  visible: boolean;
2912
2933
  required?: boolean | undefined;
2934
+ category?: "FIELD" | undefined;
2913
2935
  order?: number | undefined;
2914
2936
  } | {
2915
2937
  type: "TEXT";
@@ -2920,6 +2942,7 @@ declare const formInsertSchema: z.ZodObject<{
2920
2942
  };
2921
2943
  visible: boolean;
2922
2944
  required?: boolean | undefined;
2945
+ category?: "FIELD" | undefined;
2923
2946
  sensitive?: boolean | undefined;
2924
2947
  order?: number | undefined;
2925
2948
  } | {
@@ -2929,9 +2952,10 @@ declare const formInsertSchema: z.ZodObject<{
2929
2952
  text?: string | undefined;
2930
2953
  };
2931
2954
  visible: boolean;
2955
+ category?: "BLOCK" | undefined;
2932
2956
  order?: number | undefined;
2933
2957
  })[];
2934
- next_node: string;
2958
+ next_node?: string | undefined;
2935
2959
  };
2936
2960
  coordinates: {
2937
2961
  x: number;
@@ -2948,6 +2972,7 @@ declare const formInsertSchema: z.ZodObject<{
2948
2972
  config: {
2949
2973
  content: string;
2950
2974
  };
2975
+ category?: "BLOCK" | undefined;
2951
2976
  order?: number | undefined;
2952
2977
  visible?: boolean | undefined;
2953
2978
  } | {
@@ -2958,6 +2983,7 @@ declare const formInsertSchema: z.ZodObject<{
2958
2983
  html?: boolean | undefined;
2959
2984
  };
2960
2985
  required?: boolean | undefined;
2986
+ category?: "FIELD" | undefined;
2961
2987
  order?: number | undefined;
2962
2988
  visible?: boolean | undefined;
2963
2989
  } | {
@@ -2968,6 +2994,7 @@ declare const formInsertSchema: z.ZodObject<{
2968
2994
  multiline?: boolean | undefined;
2969
2995
  };
2970
2996
  required?: boolean | undefined;
2997
+ category?: "FIELD" | undefined;
2971
2998
  sensitive?: boolean | undefined;
2972
2999
  order?: number | undefined;
2973
3000
  visible?: boolean | undefined;
@@ -2977,10 +3004,11 @@ declare const formInsertSchema: z.ZodObject<{
2977
3004
  config: {
2978
3005
  text?: string | undefined;
2979
3006
  };
3007
+ category?: "BLOCK" | undefined;
2980
3008
  order?: number | undefined;
2981
3009
  visible?: boolean | undefined;
2982
3010
  })[];
2983
- next_node: string;
3011
+ next_node?: string | undefined;
2984
3012
  };
2985
3013
  coordinates: {
2986
3014
  x: number;
@@ -3119,8 +3147,8 @@ declare const formInsertSchema: z.ZodObject<{
3119
3147
  type: "FLOW";
3120
3148
  id: string;
3121
3149
  config: {
3122
- next_node: string;
3123
3150
  flow_id: string;
3151
+ next_node?: string | undefined;
3124
3152
  };
3125
3153
  coordinates: {
3126
3154
  x: number;
@@ -3137,7 +3165,7 @@ declare const formInsertSchema: z.ZodObject<{
3137
3165
  alias?: string | undefined;
3138
3166
  condition?: any;
3139
3167
  }[];
3140
- fallback: string[];
3168
+ fallback: string;
3141
3169
  };
3142
3170
  coordinates: {
3143
3171
  x: number;
@@ -3155,6 +3183,7 @@ declare const formInsertSchema: z.ZodObject<{
3155
3183
  content: string;
3156
3184
  };
3157
3185
  visible: boolean;
3186
+ category?: "BLOCK" | undefined;
3158
3187
  order?: number | undefined;
3159
3188
  } | {
3160
3189
  type: "LEGAL";
@@ -3165,6 +3194,7 @@ declare const formInsertSchema: z.ZodObject<{
3165
3194
  };
3166
3195
  visible: boolean;
3167
3196
  required?: boolean | undefined;
3197
+ category?: "FIELD" | undefined;
3168
3198
  order?: number | undefined;
3169
3199
  } | {
3170
3200
  type: "TEXT";
@@ -3175,6 +3205,7 @@ declare const formInsertSchema: z.ZodObject<{
3175
3205
  };
3176
3206
  visible: boolean;
3177
3207
  required?: boolean | undefined;
3208
+ category?: "FIELD" | undefined;
3178
3209
  sensitive?: boolean | undefined;
3179
3210
  order?: number | undefined;
3180
3211
  } | {
@@ -3184,9 +3215,10 @@ declare const formInsertSchema: z.ZodObject<{
3184
3215
  text?: string | undefined;
3185
3216
  };
3186
3217
  visible: boolean;
3218
+ category?: "BLOCK" | undefined;
3187
3219
  order?: number | undefined;
3188
3220
  })[];
3189
- next_node: string;
3221
+ next_node?: string | undefined;
3190
3222
  };
3191
3223
  coordinates: {
3192
3224
  x: number;
@@ -3237,8 +3269,8 @@ declare const formInsertSchema: z.ZodObject<{
3237
3269
  type: "FLOW";
3238
3270
  id: string;
3239
3271
  config: {
3240
- next_node: string;
3241
3272
  flow_id: string;
3273
+ next_node?: string | undefined;
3242
3274
  };
3243
3275
  coordinates: {
3244
3276
  x: number;
@@ -3255,7 +3287,7 @@ declare const formInsertSchema: z.ZodObject<{
3255
3287
  alias?: string | undefined;
3256
3288
  condition?: any;
3257
3289
  }[];
3258
- fallback: string[];
3290
+ fallback: string;
3259
3291
  };
3260
3292
  coordinates: {
3261
3293
  x: number;
@@ -3272,6 +3304,7 @@ declare const formInsertSchema: z.ZodObject<{
3272
3304
  config: {
3273
3305
  content: string;
3274
3306
  };
3307
+ category?: "BLOCK" | undefined;
3275
3308
  order?: number | undefined;
3276
3309
  visible?: boolean | undefined;
3277
3310
  } | {
@@ -3282,6 +3315,7 @@ declare const formInsertSchema: z.ZodObject<{
3282
3315
  html?: boolean | undefined;
3283
3316
  };
3284
3317
  required?: boolean | undefined;
3318
+ category?: "FIELD" | undefined;
3285
3319
  order?: number | undefined;
3286
3320
  visible?: boolean | undefined;
3287
3321
  } | {
@@ -3292,6 +3326,7 @@ declare const formInsertSchema: z.ZodObject<{
3292
3326
  multiline?: boolean | undefined;
3293
3327
  };
3294
3328
  required?: boolean | undefined;
3329
+ category?: "FIELD" | undefined;
3295
3330
  sensitive?: boolean | undefined;
3296
3331
  order?: number | undefined;
3297
3332
  visible?: boolean | undefined;
@@ -3301,10 +3336,11 @@ declare const formInsertSchema: z.ZodObject<{
3301
3336
  config: {
3302
3337
  text?: string | undefined;
3303
3338
  };
3339
+ category?: "BLOCK" | undefined;
3304
3340
  order?: number | undefined;
3305
3341
  visible?: boolean | undefined;
3306
3342
  })[];
3307
- next_node: string;
3343
+ next_node?: string | undefined;
3308
3344
  };
3309
3345
  coordinates: {
3310
3346
  x: number;
@@ -3374,20 +3410,20 @@ declare const formSchema: z.ZodObject<{
3374
3410
  alias: z.ZodOptional<z.ZodString>;
3375
3411
  config: z.ZodObject<{
3376
3412
  flow_id: z.ZodString;
3377
- next_node: z.ZodString;
3413
+ next_node: z.ZodOptional<z.ZodString>;
3378
3414
  }, "strip", z.ZodTypeAny, {
3379
- next_node: string;
3380
3415
  flow_id: string;
3416
+ next_node?: string | undefined;
3381
3417
  }, {
3382
- next_node: string;
3383
3418
  flow_id: string;
3419
+ next_node?: string | undefined;
3384
3420
  }>;
3385
3421
  }, "strip", z.ZodTypeAny, {
3386
3422
  type: "FLOW";
3387
3423
  id: string;
3388
3424
  config: {
3389
- next_node: string;
3390
3425
  flow_id: string;
3426
+ next_node?: string | undefined;
3391
3427
  };
3392
3428
  coordinates: {
3393
3429
  x: number;
@@ -3398,8 +3434,8 @@ declare const formSchema: z.ZodObject<{
3398
3434
  type: "FLOW";
3399
3435
  id: string;
3400
3436
  config: {
3401
- next_node: string;
3402
3437
  flow_id: string;
3438
+ next_node?: string | undefined;
3403
3439
  };
3404
3440
  coordinates: {
3405
3441
  x: number;
@@ -3438,7 +3474,7 @@ declare const formSchema: z.ZodObject<{
3438
3474
  alias?: string | undefined;
3439
3475
  condition?: any;
3440
3476
  }>, "many">;
3441
- fallback: z.ZodArray<z.ZodString, "many">;
3477
+ fallback: z.ZodString;
3442
3478
  }, "strip", z.ZodTypeAny, {
3443
3479
  rules: {
3444
3480
  id: string;
@@ -3446,7 +3482,7 @@ declare const formSchema: z.ZodObject<{
3446
3482
  alias?: string | undefined;
3447
3483
  condition?: any;
3448
3484
  }[];
3449
- fallback: string[];
3485
+ fallback: string;
3450
3486
  }, {
3451
3487
  rules: {
3452
3488
  id: string;
@@ -3454,7 +3490,7 @@ declare const formSchema: z.ZodObject<{
3454
3490
  alias?: string | undefined;
3455
3491
  condition?: any;
3456
3492
  }[];
3457
- fallback: string[];
3493
+ fallback: string;
3458
3494
  }>;
3459
3495
  }, "strip", z.ZodTypeAny, {
3460
3496
  type: "ROUTER";
@@ -3466,7 +3502,7 @@ declare const formSchema: z.ZodObject<{
3466
3502
  alias?: string | undefined;
3467
3503
  condition?: any;
3468
3504
  }[];
3469
- fallback: string[];
3505
+ fallback: string;
3470
3506
  };
3471
3507
  coordinates: {
3472
3508
  x: number;
@@ -3483,7 +3519,7 @@ declare const formSchema: z.ZodObject<{
3483
3519
  alias?: string | undefined;
3484
3520
  condition?: any;
3485
3521
  }[];
3486
- fallback: string[];
3522
+ fallback: string;
3487
3523
  };
3488
3524
  coordinates: {
3489
3525
  x: number;
@@ -3509,6 +3545,7 @@ declare const formSchema: z.ZodObject<{
3509
3545
  components: z.ZodArray<z.ZodDiscriminatedUnion<"type", [
3510
3546
  z.ZodObject<{
3511
3547
  id: z.ZodString;
3548
+ category: z.ZodOptional<z.ZodLiteral<"BLOCK">>;
3512
3549
  type: z.ZodLiteral<"RICH_TEXT">;
3513
3550
  config: z.ZodObject<{
3514
3551
  content: z.ZodString;
@@ -3526,6 +3563,7 @@ declare const formSchema: z.ZodObject<{
3526
3563
  content: string;
3527
3564
  };
3528
3565
  visible: boolean;
3566
+ category?: "BLOCK" | undefined;
3529
3567
  order?: number | undefined;
3530
3568
  }, {
3531
3569
  type: "RICH_TEXT";
@@ -3533,11 +3571,13 @@ declare const formSchema: z.ZodObject<{
3533
3571
  config: {
3534
3572
  content: string;
3535
3573
  };
3574
+ category?: "BLOCK" | undefined;
3536
3575
  order?: number | undefined;
3537
3576
  visible?: boolean | undefined;
3538
3577
  }>,
3539
3578
  z.ZodObject<{
3540
3579
  id: z.ZodString;
3580
+ category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
3541
3581
  type: z.ZodLiteral<"LEGAL">;
3542
3582
  config: z.ZodObject<{
3543
3583
  text: z.ZodString;
@@ -3561,6 +3601,7 @@ declare const formSchema: z.ZodObject<{
3561
3601
  };
3562
3602
  visible: boolean;
3563
3603
  required?: boolean | undefined;
3604
+ category?: "FIELD" | undefined;
3564
3605
  order?: number | undefined;
3565
3606
  }, {
3566
3607
  type: "LEGAL";
@@ -3570,11 +3611,13 @@ declare const formSchema: z.ZodObject<{
3570
3611
  html?: boolean | undefined;
3571
3612
  };
3572
3613
  required?: boolean | undefined;
3614
+ category?: "FIELD" | undefined;
3573
3615
  order?: number | undefined;
3574
3616
  visible?: boolean | undefined;
3575
3617
  }>,
3576
3618
  z.ZodObject<{
3577
3619
  id: z.ZodString;
3620
+ category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
3578
3621
  type: z.ZodLiteral<"TEXT">;
3579
3622
  config: z.ZodObject<{
3580
3623
  placeholder: z.ZodOptional<z.ZodString>;
@@ -3599,6 +3642,7 @@ declare const formSchema: z.ZodObject<{
3599
3642
  };
3600
3643
  visible: boolean;
3601
3644
  required?: boolean | undefined;
3645
+ category?: "FIELD" | undefined;
3602
3646
  sensitive?: boolean | undefined;
3603
3647
  order?: number | undefined;
3604
3648
  }, {
@@ -3609,12 +3653,14 @@ declare const formSchema: z.ZodObject<{
3609
3653
  multiline?: boolean | undefined;
3610
3654
  };
3611
3655
  required?: boolean | undefined;
3656
+ category?: "FIELD" | undefined;
3612
3657
  sensitive?: boolean | undefined;
3613
3658
  order?: number | undefined;
3614
3659
  visible?: boolean | undefined;
3615
3660
  }>,
3616
3661
  z.ZodObject<{
3617
3662
  id: z.ZodString;
3663
+ category: z.ZodOptional<z.ZodLiteral<"BLOCK">>;
3618
3664
  type: z.ZodLiteral<"NEXT_BUTTON">;
3619
3665
  config: z.ZodObject<{
3620
3666
  text: z.ZodOptional<z.ZodString>;
@@ -3632,6 +3678,7 @@ declare const formSchema: z.ZodObject<{
3632
3678
  text?: string | undefined;
3633
3679
  };
3634
3680
  visible: boolean;
3681
+ category?: "BLOCK" | undefined;
3635
3682
  order?: number | undefined;
3636
3683
  }, {
3637
3684
  type: "NEXT_BUTTON";
@@ -3639,11 +3686,12 @@ declare const formSchema: z.ZodObject<{
3639
3686
  config: {
3640
3687
  text?: string | undefined;
3641
3688
  };
3689
+ category?: "BLOCK" | undefined;
3642
3690
  order?: number | undefined;
3643
3691
  visible?: boolean | undefined;
3644
3692
  }>
3645
3693
  ]>, "many">;
3646
- next_node: z.ZodString;
3694
+ next_node: z.ZodOptional<z.ZodString>;
3647
3695
  }, "strip", z.ZodTypeAny, {
3648
3696
  components: ({
3649
3697
  type: "RICH_TEXT";
@@ -3652,6 +3700,7 @@ declare const formSchema: z.ZodObject<{
3652
3700
  content: string;
3653
3701
  };
3654
3702
  visible: boolean;
3703
+ category?: "BLOCK" | undefined;
3655
3704
  order?: number | undefined;
3656
3705
  } | {
3657
3706
  type: "LEGAL";
@@ -3662,6 +3711,7 @@ declare const formSchema: z.ZodObject<{
3662
3711
  };
3663
3712
  visible: boolean;
3664
3713
  required?: boolean | undefined;
3714
+ category?: "FIELD" | undefined;
3665
3715
  order?: number | undefined;
3666
3716
  } | {
3667
3717
  type: "TEXT";
@@ -3672,6 +3722,7 @@ declare const formSchema: z.ZodObject<{
3672
3722
  };
3673
3723
  visible: boolean;
3674
3724
  required?: boolean | undefined;
3725
+ category?: "FIELD" | undefined;
3675
3726
  sensitive?: boolean | undefined;
3676
3727
  order?: number | undefined;
3677
3728
  } | {
@@ -3681,9 +3732,10 @@ declare const formSchema: z.ZodObject<{
3681
3732
  text?: string | undefined;
3682
3733
  };
3683
3734
  visible: boolean;
3735
+ category?: "BLOCK" | undefined;
3684
3736
  order?: number | undefined;
3685
3737
  })[];
3686
- next_node: string;
3738
+ next_node?: string | undefined;
3687
3739
  }, {
3688
3740
  components: ({
3689
3741
  type: "RICH_TEXT";
@@ -3691,6 +3743,7 @@ declare const formSchema: z.ZodObject<{
3691
3743
  config: {
3692
3744
  content: string;
3693
3745
  };
3746
+ category?: "BLOCK" | undefined;
3694
3747
  order?: number | undefined;
3695
3748
  visible?: boolean | undefined;
3696
3749
  } | {
@@ -3701,6 +3754,7 @@ declare const formSchema: z.ZodObject<{
3701
3754
  html?: boolean | undefined;
3702
3755
  };
3703
3756
  required?: boolean | undefined;
3757
+ category?: "FIELD" | undefined;
3704
3758
  order?: number | undefined;
3705
3759
  visible?: boolean | undefined;
3706
3760
  } | {
@@ -3711,6 +3765,7 @@ declare const formSchema: z.ZodObject<{
3711
3765
  multiline?: boolean | undefined;
3712
3766
  };
3713
3767
  required?: boolean | undefined;
3768
+ category?: "FIELD" | undefined;
3714
3769
  sensitive?: boolean | undefined;
3715
3770
  order?: number | undefined;
3716
3771
  visible?: boolean | undefined;
@@ -3720,10 +3775,11 @@ declare const formSchema: z.ZodObject<{
3720
3775
  config: {
3721
3776
  text?: string | undefined;
3722
3777
  };
3778
+ category?: "BLOCK" | undefined;
3723
3779
  order?: number | undefined;
3724
3780
  visible?: boolean | undefined;
3725
3781
  })[];
3726
- next_node: string;
3782
+ next_node?: string | undefined;
3727
3783
  }>;
3728
3784
  }, "strip", z.ZodTypeAny, {
3729
3785
  type: "STEP";
@@ -3736,6 +3792,7 @@ declare const formSchema: z.ZodObject<{
3736
3792
  content: string;
3737
3793
  };
3738
3794
  visible: boolean;
3795
+ category?: "BLOCK" | undefined;
3739
3796
  order?: number | undefined;
3740
3797
  } | {
3741
3798
  type: "LEGAL";
@@ -3746,6 +3803,7 @@ declare const formSchema: z.ZodObject<{
3746
3803
  };
3747
3804
  visible: boolean;
3748
3805
  required?: boolean | undefined;
3806
+ category?: "FIELD" | undefined;
3749
3807
  order?: number | undefined;
3750
3808
  } | {
3751
3809
  type: "TEXT";
@@ -3756,6 +3814,7 @@ declare const formSchema: z.ZodObject<{
3756
3814
  };
3757
3815
  visible: boolean;
3758
3816
  required?: boolean | undefined;
3817
+ category?: "FIELD" | undefined;
3759
3818
  sensitive?: boolean | undefined;
3760
3819
  order?: number | undefined;
3761
3820
  } | {
@@ -3765,9 +3824,10 @@ declare const formSchema: z.ZodObject<{
3765
3824
  text?: string | undefined;
3766
3825
  };
3767
3826
  visible: boolean;
3827
+ category?: "BLOCK" | undefined;
3768
3828
  order?: number | undefined;
3769
3829
  })[];
3770
- next_node: string;
3830
+ next_node?: string | undefined;
3771
3831
  };
3772
3832
  coordinates: {
3773
3833
  x: number;
@@ -3784,6 +3844,7 @@ declare const formSchema: z.ZodObject<{
3784
3844
  config: {
3785
3845
  content: string;
3786
3846
  };
3847
+ category?: "BLOCK" | undefined;
3787
3848
  order?: number | undefined;
3788
3849
  visible?: boolean | undefined;
3789
3850
  } | {
@@ -3794,6 +3855,7 @@ declare const formSchema: z.ZodObject<{
3794
3855
  html?: boolean | undefined;
3795
3856
  };
3796
3857
  required?: boolean | undefined;
3858
+ category?: "FIELD" | undefined;
3797
3859
  order?: number | undefined;
3798
3860
  visible?: boolean | undefined;
3799
3861
  } | {
@@ -3804,6 +3866,7 @@ declare const formSchema: z.ZodObject<{
3804
3866
  multiline?: boolean | undefined;
3805
3867
  };
3806
3868
  required?: boolean | undefined;
3869
+ category?: "FIELD" | undefined;
3807
3870
  sensitive?: boolean | undefined;
3808
3871
  order?: number | undefined;
3809
3872
  visible?: boolean | undefined;
@@ -3813,10 +3876,11 @@ declare const formSchema: z.ZodObject<{
3813
3876
  config: {
3814
3877
  text?: string | undefined;
3815
3878
  };
3879
+ category?: "BLOCK" | undefined;
3816
3880
  order?: number | undefined;
3817
3881
  visible?: boolean | undefined;
3818
3882
  })[];
3819
- next_node: string;
3883
+ next_node?: string | undefined;
3820
3884
  };
3821
3885
  coordinates: {
3822
3886
  x: number;
@@ -3960,8 +4024,8 @@ declare const formSchema: z.ZodObject<{
3960
4024
  type: "FLOW";
3961
4025
  id: string;
3962
4026
  config: {
3963
- next_node: string;
3964
4027
  flow_id: string;
4028
+ next_node?: string | undefined;
3965
4029
  };
3966
4030
  coordinates: {
3967
4031
  x: number;
@@ -3978,7 +4042,7 @@ declare const formSchema: z.ZodObject<{
3978
4042
  alias?: string | undefined;
3979
4043
  condition?: any;
3980
4044
  }[];
3981
- fallback: string[];
4045
+ fallback: string;
3982
4046
  };
3983
4047
  coordinates: {
3984
4048
  x: number;
@@ -3996,6 +4060,7 @@ declare const formSchema: z.ZodObject<{
3996
4060
  content: string;
3997
4061
  };
3998
4062
  visible: boolean;
4063
+ category?: "BLOCK" | undefined;
3999
4064
  order?: number | undefined;
4000
4065
  } | {
4001
4066
  type: "LEGAL";
@@ -4006,6 +4071,7 @@ declare const formSchema: z.ZodObject<{
4006
4071
  };
4007
4072
  visible: boolean;
4008
4073
  required?: boolean | undefined;
4074
+ category?: "FIELD" | undefined;
4009
4075
  order?: number | undefined;
4010
4076
  } | {
4011
4077
  type: "TEXT";
@@ -4016,6 +4082,7 @@ declare const formSchema: z.ZodObject<{
4016
4082
  };
4017
4083
  visible: boolean;
4018
4084
  required?: boolean | undefined;
4085
+ category?: "FIELD" | undefined;
4019
4086
  sensitive?: boolean | undefined;
4020
4087
  order?: number | undefined;
4021
4088
  } | {
@@ -4025,9 +4092,10 @@ declare const formSchema: z.ZodObject<{
4025
4092
  text?: string | undefined;
4026
4093
  };
4027
4094
  visible: boolean;
4095
+ category?: "BLOCK" | undefined;
4028
4096
  order?: number | undefined;
4029
4097
  })[];
4030
- next_node: string;
4098
+ next_node?: string | undefined;
4031
4099
  };
4032
4100
  coordinates: {
4033
4101
  x: number;
@@ -4081,8 +4149,8 @@ declare const formSchema: z.ZodObject<{
4081
4149
  type: "FLOW";
4082
4150
  id: string;
4083
4151
  config: {
4084
- next_node: string;
4085
4152
  flow_id: string;
4153
+ next_node?: string | undefined;
4086
4154
  };
4087
4155
  coordinates: {
4088
4156
  x: number;
@@ -4099,7 +4167,7 @@ declare const formSchema: z.ZodObject<{
4099
4167
  alias?: string | undefined;
4100
4168
  condition?: any;
4101
4169
  }[];
4102
- fallback: string[];
4170
+ fallback: string;
4103
4171
  };
4104
4172
  coordinates: {
4105
4173
  x: number;
@@ -4116,6 +4184,7 @@ declare const formSchema: z.ZodObject<{
4116
4184
  config: {
4117
4185
  content: string;
4118
4186
  };
4187
+ category?: "BLOCK" | undefined;
4119
4188
  order?: number | undefined;
4120
4189
  visible?: boolean | undefined;
4121
4190
  } | {
@@ -4126,6 +4195,7 @@ declare const formSchema: z.ZodObject<{
4126
4195
  html?: boolean | undefined;
4127
4196
  };
4128
4197
  required?: boolean | undefined;
4198
+ category?: "FIELD" | undefined;
4129
4199
  order?: number | undefined;
4130
4200
  visible?: boolean | undefined;
4131
4201
  } | {
@@ -4136,6 +4206,7 @@ declare const formSchema: z.ZodObject<{
4136
4206
  multiline?: boolean | undefined;
4137
4207
  };
4138
4208
  required?: boolean | undefined;
4209
+ category?: "FIELD" | undefined;
4139
4210
  sensitive?: boolean | undefined;
4140
4211
  order?: number | undefined;
4141
4212
  visible?: boolean | undefined;
@@ -4145,10 +4216,11 @@ declare const formSchema: z.ZodObject<{
4145
4216
  config: {
4146
4217
  text?: string | undefined;
4147
4218
  };
4219
+ category?: "BLOCK" | undefined;
4148
4220
  order?: number | undefined;
4149
4221
  visible?: boolean | undefined;
4150
4222
  })[];
4151
- next_node: string;
4223
+ next_node?: string | undefined;
4152
4224
  };
4153
4225
  coordinates: {
4154
4226
  x: number;
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.63.0",
14
+ "version": "10.63.1",
15
15
  "files": [
16
16
  "dist"
17
17
  ],
@@ -42,7 +42,7 @@
42
42
  "dependencies": {
43
43
  "kysely": "^0.27.4",
44
44
  "nanoid": "^5.0.8",
45
- "@authhero/adapter-interfaces": "^0.103.0"
45
+ "@authhero/adapter-interfaces": "^0.104.0"
46
46
  },
47
47
  "peerDependencies": {
48
48
  "@hono/zod-openapi": "^0.19.2",