@authhero/adapter-interfaces 0.63.0 → 0.64.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/adapter-interfaces.cjs +1 -1
- package/dist/adapter-interfaces.d.ts +619 -14
- package/dist/adapter-interfaces.mjs +172 -142
- package/package.json +1 -1
|
@@ -9216,6 +9216,107 @@ export declare const formControlSchema: z.ZodObject<{
|
|
|
9216
9216
|
customizations?: Record<string, any> | undefined;
|
|
9217
9217
|
}>;
|
|
9218
9218
|
export type FormControl = z.infer<typeof formControlSchema>;
|
|
9219
|
+
/**
|
|
9220
|
+
* Schema for form components (fields, text, buttons, etc)
|
|
9221
|
+
*/
|
|
9222
|
+
export declare const formNodeComponentDefinition: z.ZodDiscriminatedUnion<"type", [
|
|
9223
|
+
z.ZodObject<{
|
|
9224
|
+
id: z.ZodString;
|
|
9225
|
+
type: z.ZodLiteral<"RICH_TEXT">;
|
|
9226
|
+
config: z.ZodObject<{
|
|
9227
|
+
content: z.ZodString;
|
|
9228
|
+
}, "strip", z.ZodTypeAny, {
|
|
9229
|
+
content: string;
|
|
9230
|
+
}, {
|
|
9231
|
+
content: string;
|
|
9232
|
+
}>;
|
|
9233
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
9234
|
+
visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
9235
|
+
}, "strip", z.ZodTypeAny, {
|
|
9236
|
+
type: "RICH_TEXT";
|
|
9237
|
+
id: string;
|
|
9238
|
+
config: {
|
|
9239
|
+
content: string;
|
|
9240
|
+
};
|
|
9241
|
+
visible: boolean;
|
|
9242
|
+
order?: number | undefined;
|
|
9243
|
+
}, {
|
|
9244
|
+
type: "RICH_TEXT";
|
|
9245
|
+
id: string;
|
|
9246
|
+
config: {
|
|
9247
|
+
content: string;
|
|
9248
|
+
};
|
|
9249
|
+
order?: number | undefined;
|
|
9250
|
+
visible?: boolean | undefined;
|
|
9251
|
+
}>,
|
|
9252
|
+
z.ZodObject<{
|
|
9253
|
+
id: z.ZodString;
|
|
9254
|
+
type: z.ZodLiteral<"LEGAL">;
|
|
9255
|
+
config: z.ZodObject<{
|
|
9256
|
+
text: z.ZodString;
|
|
9257
|
+
html: z.ZodOptional<z.ZodBoolean>;
|
|
9258
|
+
}, "strip", z.ZodTypeAny, {
|
|
9259
|
+
text: string;
|
|
9260
|
+
html?: boolean | undefined;
|
|
9261
|
+
}, {
|
|
9262
|
+
text: string;
|
|
9263
|
+
html?: boolean | undefined;
|
|
9264
|
+
}>;
|
|
9265
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
9266
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
9267
|
+
visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
9268
|
+
}, "strip", z.ZodTypeAny, {
|
|
9269
|
+
type: "LEGAL";
|
|
9270
|
+
id: string;
|
|
9271
|
+
config: {
|
|
9272
|
+
text: string;
|
|
9273
|
+
html?: boolean | undefined;
|
|
9274
|
+
};
|
|
9275
|
+
visible: boolean;
|
|
9276
|
+
required?: boolean | undefined;
|
|
9277
|
+
order?: number | undefined;
|
|
9278
|
+
}, {
|
|
9279
|
+
type: "LEGAL";
|
|
9280
|
+
id: string;
|
|
9281
|
+
config: {
|
|
9282
|
+
text: string;
|
|
9283
|
+
html?: boolean | undefined;
|
|
9284
|
+
};
|
|
9285
|
+
required?: boolean | undefined;
|
|
9286
|
+
order?: number | undefined;
|
|
9287
|
+
visible?: boolean | undefined;
|
|
9288
|
+
}>,
|
|
9289
|
+
z.ZodObject<{
|
|
9290
|
+
id: z.ZodString;
|
|
9291
|
+
type: z.ZodLiteral<"NEXT_BUTTON">;
|
|
9292
|
+
config: z.ZodObject<{
|
|
9293
|
+
text: z.ZodOptional<z.ZodString>;
|
|
9294
|
+
}, "strip", z.ZodTypeAny, {
|
|
9295
|
+
text?: string | undefined;
|
|
9296
|
+
}, {
|
|
9297
|
+
text?: string | undefined;
|
|
9298
|
+
}>;
|
|
9299
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
9300
|
+
visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
9301
|
+
}, "strip", z.ZodTypeAny, {
|
|
9302
|
+
type: "NEXT_BUTTON";
|
|
9303
|
+
id: string;
|
|
9304
|
+
config: {
|
|
9305
|
+
text?: string | undefined;
|
|
9306
|
+
};
|
|
9307
|
+
visible: boolean;
|
|
9308
|
+
order?: number | undefined;
|
|
9309
|
+
}, {
|
|
9310
|
+
type: "NEXT_BUTTON";
|
|
9311
|
+
id: string;
|
|
9312
|
+
config: {
|
|
9313
|
+
text?: string | undefined;
|
|
9314
|
+
};
|
|
9315
|
+
order?: number | undefined;
|
|
9316
|
+
visible?: boolean | undefined;
|
|
9317
|
+
}>
|
|
9318
|
+
]>;
|
|
9319
|
+
export type FormNodeComponent = z.infer<typeof formNodeComponentDefinition>;
|
|
9219
9320
|
/**
|
|
9220
9321
|
* Schema for forms (flow-based, matches new JSON structure)
|
|
9221
9322
|
*/
|
|
@@ -9391,20 +9492,194 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
9391
9492
|
}>;
|
|
9392
9493
|
alias: z.ZodOptional<z.ZodString>;
|
|
9393
9494
|
config: z.ZodObject<{
|
|
9394
|
-
components: z.ZodArray<z.
|
|
9495
|
+
components: z.ZodArray<z.ZodDiscriminatedUnion<"type", [
|
|
9496
|
+
z.ZodObject<{
|
|
9497
|
+
id: z.ZodString;
|
|
9498
|
+
type: z.ZodLiteral<"RICH_TEXT">;
|
|
9499
|
+
config: z.ZodObject<{
|
|
9500
|
+
content: z.ZodString;
|
|
9501
|
+
}, "strip", z.ZodTypeAny, {
|
|
9502
|
+
content: string;
|
|
9503
|
+
}, {
|
|
9504
|
+
content: string;
|
|
9505
|
+
}>;
|
|
9506
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
9507
|
+
visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
9508
|
+
}, "strip", z.ZodTypeAny, {
|
|
9509
|
+
type: "RICH_TEXT";
|
|
9510
|
+
id: string;
|
|
9511
|
+
config: {
|
|
9512
|
+
content: string;
|
|
9513
|
+
};
|
|
9514
|
+
visible: boolean;
|
|
9515
|
+
order?: number | undefined;
|
|
9516
|
+
}, {
|
|
9517
|
+
type: "RICH_TEXT";
|
|
9518
|
+
id: string;
|
|
9519
|
+
config: {
|
|
9520
|
+
content: string;
|
|
9521
|
+
};
|
|
9522
|
+
order?: number | undefined;
|
|
9523
|
+
visible?: boolean | undefined;
|
|
9524
|
+
}>,
|
|
9525
|
+
z.ZodObject<{
|
|
9526
|
+
id: z.ZodString;
|
|
9527
|
+
type: z.ZodLiteral<"LEGAL">;
|
|
9528
|
+
config: z.ZodObject<{
|
|
9529
|
+
text: z.ZodString;
|
|
9530
|
+
html: z.ZodOptional<z.ZodBoolean>;
|
|
9531
|
+
}, "strip", z.ZodTypeAny, {
|
|
9532
|
+
text: string;
|
|
9533
|
+
html?: boolean | undefined;
|
|
9534
|
+
}, {
|
|
9535
|
+
text: string;
|
|
9536
|
+
html?: boolean | undefined;
|
|
9537
|
+
}>;
|
|
9538
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
9539
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
9540
|
+
visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
9541
|
+
}, "strip", z.ZodTypeAny, {
|
|
9542
|
+
type: "LEGAL";
|
|
9543
|
+
id: string;
|
|
9544
|
+
config: {
|
|
9545
|
+
text: string;
|
|
9546
|
+
html?: boolean | undefined;
|
|
9547
|
+
};
|
|
9548
|
+
visible: boolean;
|
|
9549
|
+
required?: boolean | undefined;
|
|
9550
|
+
order?: number | undefined;
|
|
9551
|
+
}, {
|
|
9552
|
+
type: "LEGAL";
|
|
9553
|
+
id: string;
|
|
9554
|
+
config: {
|
|
9555
|
+
text: string;
|
|
9556
|
+
html?: boolean | undefined;
|
|
9557
|
+
};
|
|
9558
|
+
required?: boolean | undefined;
|
|
9559
|
+
order?: number | undefined;
|
|
9560
|
+
visible?: boolean | undefined;
|
|
9561
|
+
}>,
|
|
9562
|
+
z.ZodObject<{
|
|
9563
|
+
id: z.ZodString;
|
|
9564
|
+
type: z.ZodLiteral<"NEXT_BUTTON">;
|
|
9565
|
+
config: z.ZodObject<{
|
|
9566
|
+
text: z.ZodOptional<z.ZodString>;
|
|
9567
|
+
}, "strip", z.ZodTypeAny, {
|
|
9568
|
+
text?: string | undefined;
|
|
9569
|
+
}, {
|
|
9570
|
+
text?: string | undefined;
|
|
9571
|
+
}>;
|
|
9572
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
9573
|
+
visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
9574
|
+
}, "strip", z.ZodTypeAny, {
|
|
9575
|
+
type: "NEXT_BUTTON";
|
|
9576
|
+
id: string;
|
|
9577
|
+
config: {
|
|
9578
|
+
text?: string | undefined;
|
|
9579
|
+
};
|
|
9580
|
+
visible: boolean;
|
|
9581
|
+
order?: number | undefined;
|
|
9582
|
+
}, {
|
|
9583
|
+
type: "NEXT_BUTTON";
|
|
9584
|
+
id: string;
|
|
9585
|
+
config: {
|
|
9586
|
+
text?: string | undefined;
|
|
9587
|
+
};
|
|
9588
|
+
order?: number | undefined;
|
|
9589
|
+
visible?: boolean | undefined;
|
|
9590
|
+
}>
|
|
9591
|
+
]>, "many">;
|
|
9395
9592
|
next_node: z.ZodString;
|
|
9396
9593
|
}, "strip", z.ZodTypeAny, {
|
|
9397
|
-
components:
|
|
9594
|
+
components: ({
|
|
9595
|
+
type: "RICH_TEXT";
|
|
9596
|
+
id: string;
|
|
9597
|
+
config: {
|
|
9598
|
+
content: string;
|
|
9599
|
+
};
|
|
9600
|
+
visible: boolean;
|
|
9601
|
+
order?: number | undefined;
|
|
9602
|
+
} | {
|
|
9603
|
+
type: "LEGAL";
|
|
9604
|
+
id: string;
|
|
9605
|
+
config: {
|
|
9606
|
+
text: string;
|
|
9607
|
+
html?: boolean | undefined;
|
|
9608
|
+
};
|
|
9609
|
+
visible: boolean;
|
|
9610
|
+
required?: boolean | undefined;
|
|
9611
|
+
order?: number | undefined;
|
|
9612
|
+
} | {
|
|
9613
|
+
type: "NEXT_BUTTON";
|
|
9614
|
+
id: string;
|
|
9615
|
+
config: {
|
|
9616
|
+
text?: string | undefined;
|
|
9617
|
+
};
|
|
9618
|
+
visible: boolean;
|
|
9619
|
+
order?: number | undefined;
|
|
9620
|
+
})[];
|
|
9398
9621
|
next_node: string;
|
|
9399
9622
|
}, {
|
|
9400
|
-
components:
|
|
9623
|
+
components: ({
|
|
9624
|
+
type: "RICH_TEXT";
|
|
9625
|
+
id: string;
|
|
9626
|
+
config: {
|
|
9627
|
+
content: string;
|
|
9628
|
+
};
|
|
9629
|
+
order?: number | undefined;
|
|
9630
|
+
visible?: boolean | undefined;
|
|
9631
|
+
} | {
|
|
9632
|
+
type: "LEGAL";
|
|
9633
|
+
id: string;
|
|
9634
|
+
config: {
|
|
9635
|
+
text: string;
|
|
9636
|
+
html?: boolean | undefined;
|
|
9637
|
+
};
|
|
9638
|
+
required?: boolean | undefined;
|
|
9639
|
+
order?: number | undefined;
|
|
9640
|
+
visible?: boolean | undefined;
|
|
9641
|
+
} | {
|
|
9642
|
+
type: "NEXT_BUTTON";
|
|
9643
|
+
id: string;
|
|
9644
|
+
config: {
|
|
9645
|
+
text?: string | undefined;
|
|
9646
|
+
};
|
|
9647
|
+
order?: number | undefined;
|
|
9648
|
+
visible?: boolean | undefined;
|
|
9649
|
+
})[];
|
|
9401
9650
|
next_node: string;
|
|
9402
9651
|
}>;
|
|
9403
9652
|
}, "strip", z.ZodTypeAny, {
|
|
9404
9653
|
type: "STEP";
|
|
9405
9654
|
id: string;
|
|
9406
9655
|
config: {
|
|
9407
|
-
components:
|
|
9656
|
+
components: ({
|
|
9657
|
+
type: "RICH_TEXT";
|
|
9658
|
+
id: string;
|
|
9659
|
+
config: {
|
|
9660
|
+
content: string;
|
|
9661
|
+
};
|
|
9662
|
+
visible: boolean;
|
|
9663
|
+
order?: number | undefined;
|
|
9664
|
+
} | {
|
|
9665
|
+
type: "LEGAL";
|
|
9666
|
+
id: string;
|
|
9667
|
+
config: {
|
|
9668
|
+
text: string;
|
|
9669
|
+
html?: boolean | undefined;
|
|
9670
|
+
};
|
|
9671
|
+
visible: boolean;
|
|
9672
|
+
required?: boolean | undefined;
|
|
9673
|
+
order?: number | undefined;
|
|
9674
|
+
} | {
|
|
9675
|
+
type: "NEXT_BUTTON";
|
|
9676
|
+
id: string;
|
|
9677
|
+
config: {
|
|
9678
|
+
text?: string | undefined;
|
|
9679
|
+
};
|
|
9680
|
+
visible: boolean;
|
|
9681
|
+
order?: number | undefined;
|
|
9682
|
+
})[];
|
|
9408
9683
|
next_node: string;
|
|
9409
9684
|
};
|
|
9410
9685
|
coordinates: {
|
|
@@ -9416,7 +9691,33 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
9416
9691
|
type: "STEP";
|
|
9417
9692
|
id: string;
|
|
9418
9693
|
config: {
|
|
9419
|
-
components:
|
|
9694
|
+
components: ({
|
|
9695
|
+
type: "RICH_TEXT";
|
|
9696
|
+
id: string;
|
|
9697
|
+
config: {
|
|
9698
|
+
content: string;
|
|
9699
|
+
};
|
|
9700
|
+
order?: number | undefined;
|
|
9701
|
+
visible?: boolean | undefined;
|
|
9702
|
+
} | {
|
|
9703
|
+
type: "LEGAL";
|
|
9704
|
+
id: string;
|
|
9705
|
+
config: {
|
|
9706
|
+
text: string;
|
|
9707
|
+
html?: boolean | undefined;
|
|
9708
|
+
};
|
|
9709
|
+
required?: boolean | undefined;
|
|
9710
|
+
order?: number | undefined;
|
|
9711
|
+
visible?: boolean | undefined;
|
|
9712
|
+
} | {
|
|
9713
|
+
type: "NEXT_BUTTON";
|
|
9714
|
+
id: string;
|
|
9715
|
+
config: {
|
|
9716
|
+
text?: string | undefined;
|
|
9717
|
+
};
|
|
9718
|
+
order?: number | undefined;
|
|
9719
|
+
visible?: boolean | undefined;
|
|
9720
|
+
})[];
|
|
9420
9721
|
next_node: string;
|
|
9421
9722
|
};
|
|
9422
9723
|
coordinates: {
|
|
@@ -9585,7 +9886,33 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
9585
9886
|
type: "STEP";
|
|
9586
9887
|
id: string;
|
|
9587
9888
|
config: {
|
|
9588
|
-
components:
|
|
9889
|
+
components: ({
|
|
9890
|
+
type: "RICH_TEXT";
|
|
9891
|
+
id: string;
|
|
9892
|
+
config: {
|
|
9893
|
+
content: string;
|
|
9894
|
+
};
|
|
9895
|
+
visible: boolean;
|
|
9896
|
+
order?: number | undefined;
|
|
9897
|
+
} | {
|
|
9898
|
+
type: "LEGAL";
|
|
9899
|
+
id: string;
|
|
9900
|
+
config: {
|
|
9901
|
+
text: string;
|
|
9902
|
+
html?: boolean | undefined;
|
|
9903
|
+
};
|
|
9904
|
+
visible: boolean;
|
|
9905
|
+
required?: boolean | undefined;
|
|
9906
|
+
order?: number | undefined;
|
|
9907
|
+
} | {
|
|
9908
|
+
type: "NEXT_BUTTON";
|
|
9909
|
+
id: string;
|
|
9910
|
+
config: {
|
|
9911
|
+
text?: string | undefined;
|
|
9912
|
+
};
|
|
9913
|
+
visible: boolean;
|
|
9914
|
+
order?: number | undefined;
|
|
9915
|
+
})[];
|
|
9589
9916
|
next_node: string;
|
|
9590
9917
|
};
|
|
9591
9918
|
coordinates: {
|
|
@@ -9666,7 +9993,33 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
9666
9993
|
type: "STEP";
|
|
9667
9994
|
id: string;
|
|
9668
9995
|
config: {
|
|
9669
|
-
components:
|
|
9996
|
+
components: ({
|
|
9997
|
+
type: "RICH_TEXT";
|
|
9998
|
+
id: string;
|
|
9999
|
+
config: {
|
|
10000
|
+
content: string;
|
|
10001
|
+
};
|
|
10002
|
+
order?: number | undefined;
|
|
10003
|
+
visible?: boolean | undefined;
|
|
10004
|
+
} | {
|
|
10005
|
+
type: "LEGAL";
|
|
10006
|
+
id: string;
|
|
10007
|
+
config: {
|
|
10008
|
+
text: string;
|
|
10009
|
+
html?: boolean | undefined;
|
|
10010
|
+
};
|
|
10011
|
+
required?: boolean | undefined;
|
|
10012
|
+
order?: number | undefined;
|
|
10013
|
+
visible?: boolean | undefined;
|
|
10014
|
+
} | {
|
|
10015
|
+
type: "NEXT_BUTTON";
|
|
10016
|
+
id: string;
|
|
10017
|
+
config: {
|
|
10018
|
+
text?: string | undefined;
|
|
10019
|
+
};
|
|
10020
|
+
order?: number | undefined;
|
|
10021
|
+
visible?: boolean | undefined;
|
|
10022
|
+
})[];
|
|
9670
10023
|
next_node: string;
|
|
9671
10024
|
};
|
|
9672
10025
|
coordinates: {
|
|
@@ -9872,20 +10225,194 @@ export declare const formSchema: z.ZodObject<{
|
|
|
9872
10225
|
}>;
|
|
9873
10226
|
alias: z.ZodOptional<z.ZodString>;
|
|
9874
10227
|
config: z.ZodObject<{
|
|
9875
|
-
components: z.ZodArray<z.
|
|
10228
|
+
components: z.ZodArray<z.ZodDiscriminatedUnion<"type", [
|
|
10229
|
+
z.ZodObject<{
|
|
10230
|
+
id: z.ZodString;
|
|
10231
|
+
type: z.ZodLiteral<"RICH_TEXT">;
|
|
10232
|
+
config: z.ZodObject<{
|
|
10233
|
+
content: z.ZodString;
|
|
10234
|
+
}, "strip", z.ZodTypeAny, {
|
|
10235
|
+
content: string;
|
|
10236
|
+
}, {
|
|
10237
|
+
content: string;
|
|
10238
|
+
}>;
|
|
10239
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
10240
|
+
visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
10241
|
+
}, "strip", z.ZodTypeAny, {
|
|
10242
|
+
type: "RICH_TEXT";
|
|
10243
|
+
id: string;
|
|
10244
|
+
config: {
|
|
10245
|
+
content: string;
|
|
10246
|
+
};
|
|
10247
|
+
visible: boolean;
|
|
10248
|
+
order?: number | undefined;
|
|
10249
|
+
}, {
|
|
10250
|
+
type: "RICH_TEXT";
|
|
10251
|
+
id: string;
|
|
10252
|
+
config: {
|
|
10253
|
+
content: string;
|
|
10254
|
+
};
|
|
10255
|
+
order?: number | undefined;
|
|
10256
|
+
visible?: boolean | undefined;
|
|
10257
|
+
}>,
|
|
10258
|
+
z.ZodObject<{
|
|
10259
|
+
id: z.ZodString;
|
|
10260
|
+
type: z.ZodLiteral<"LEGAL">;
|
|
10261
|
+
config: z.ZodObject<{
|
|
10262
|
+
text: z.ZodString;
|
|
10263
|
+
html: z.ZodOptional<z.ZodBoolean>;
|
|
10264
|
+
}, "strip", z.ZodTypeAny, {
|
|
10265
|
+
text: string;
|
|
10266
|
+
html?: boolean | undefined;
|
|
10267
|
+
}, {
|
|
10268
|
+
text: string;
|
|
10269
|
+
html?: boolean | undefined;
|
|
10270
|
+
}>;
|
|
10271
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
10272
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
10273
|
+
visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
10274
|
+
}, "strip", z.ZodTypeAny, {
|
|
10275
|
+
type: "LEGAL";
|
|
10276
|
+
id: string;
|
|
10277
|
+
config: {
|
|
10278
|
+
text: string;
|
|
10279
|
+
html?: boolean | undefined;
|
|
10280
|
+
};
|
|
10281
|
+
visible: boolean;
|
|
10282
|
+
required?: boolean | undefined;
|
|
10283
|
+
order?: number | undefined;
|
|
10284
|
+
}, {
|
|
10285
|
+
type: "LEGAL";
|
|
10286
|
+
id: string;
|
|
10287
|
+
config: {
|
|
10288
|
+
text: string;
|
|
10289
|
+
html?: boolean | undefined;
|
|
10290
|
+
};
|
|
10291
|
+
required?: boolean | undefined;
|
|
10292
|
+
order?: number | undefined;
|
|
10293
|
+
visible?: boolean | undefined;
|
|
10294
|
+
}>,
|
|
10295
|
+
z.ZodObject<{
|
|
10296
|
+
id: z.ZodString;
|
|
10297
|
+
type: z.ZodLiteral<"NEXT_BUTTON">;
|
|
10298
|
+
config: z.ZodObject<{
|
|
10299
|
+
text: z.ZodOptional<z.ZodString>;
|
|
10300
|
+
}, "strip", z.ZodTypeAny, {
|
|
10301
|
+
text?: string | undefined;
|
|
10302
|
+
}, {
|
|
10303
|
+
text?: string | undefined;
|
|
10304
|
+
}>;
|
|
10305
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
10306
|
+
visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
10307
|
+
}, "strip", z.ZodTypeAny, {
|
|
10308
|
+
type: "NEXT_BUTTON";
|
|
10309
|
+
id: string;
|
|
10310
|
+
config: {
|
|
10311
|
+
text?: string | undefined;
|
|
10312
|
+
};
|
|
10313
|
+
visible: boolean;
|
|
10314
|
+
order?: number | undefined;
|
|
10315
|
+
}, {
|
|
10316
|
+
type: "NEXT_BUTTON";
|
|
10317
|
+
id: string;
|
|
10318
|
+
config: {
|
|
10319
|
+
text?: string | undefined;
|
|
10320
|
+
};
|
|
10321
|
+
order?: number | undefined;
|
|
10322
|
+
visible?: boolean | undefined;
|
|
10323
|
+
}>
|
|
10324
|
+
]>, "many">;
|
|
9876
10325
|
next_node: z.ZodString;
|
|
9877
10326
|
}, "strip", z.ZodTypeAny, {
|
|
9878
|
-
components:
|
|
10327
|
+
components: ({
|
|
10328
|
+
type: "RICH_TEXT";
|
|
10329
|
+
id: string;
|
|
10330
|
+
config: {
|
|
10331
|
+
content: string;
|
|
10332
|
+
};
|
|
10333
|
+
visible: boolean;
|
|
10334
|
+
order?: number | undefined;
|
|
10335
|
+
} | {
|
|
10336
|
+
type: "LEGAL";
|
|
10337
|
+
id: string;
|
|
10338
|
+
config: {
|
|
10339
|
+
text: string;
|
|
10340
|
+
html?: boolean | undefined;
|
|
10341
|
+
};
|
|
10342
|
+
visible: boolean;
|
|
10343
|
+
required?: boolean | undefined;
|
|
10344
|
+
order?: number | undefined;
|
|
10345
|
+
} | {
|
|
10346
|
+
type: "NEXT_BUTTON";
|
|
10347
|
+
id: string;
|
|
10348
|
+
config: {
|
|
10349
|
+
text?: string | undefined;
|
|
10350
|
+
};
|
|
10351
|
+
visible: boolean;
|
|
10352
|
+
order?: number | undefined;
|
|
10353
|
+
})[];
|
|
9879
10354
|
next_node: string;
|
|
9880
10355
|
}, {
|
|
9881
|
-
components:
|
|
10356
|
+
components: ({
|
|
10357
|
+
type: "RICH_TEXT";
|
|
10358
|
+
id: string;
|
|
10359
|
+
config: {
|
|
10360
|
+
content: string;
|
|
10361
|
+
};
|
|
10362
|
+
order?: number | undefined;
|
|
10363
|
+
visible?: boolean | undefined;
|
|
10364
|
+
} | {
|
|
10365
|
+
type: "LEGAL";
|
|
10366
|
+
id: string;
|
|
10367
|
+
config: {
|
|
10368
|
+
text: string;
|
|
10369
|
+
html?: boolean | undefined;
|
|
10370
|
+
};
|
|
10371
|
+
required?: boolean | undefined;
|
|
10372
|
+
order?: number | undefined;
|
|
10373
|
+
visible?: boolean | undefined;
|
|
10374
|
+
} | {
|
|
10375
|
+
type: "NEXT_BUTTON";
|
|
10376
|
+
id: string;
|
|
10377
|
+
config: {
|
|
10378
|
+
text?: string | undefined;
|
|
10379
|
+
};
|
|
10380
|
+
order?: number | undefined;
|
|
10381
|
+
visible?: boolean | undefined;
|
|
10382
|
+
})[];
|
|
9882
10383
|
next_node: string;
|
|
9883
10384
|
}>;
|
|
9884
10385
|
}, "strip", z.ZodTypeAny, {
|
|
9885
10386
|
type: "STEP";
|
|
9886
10387
|
id: string;
|
|
9887
10388
|
config: {
|
|
9888
|
-
components:
|
|
10389
|
+
components: ({
|
|
10390
|
+
type: "RICH_TEXT";
|
|
10391
|
+
id: string;
|
|
10392
|
+
config: {
|
|
10393
|
+
content: string;
|
|
10394
|
+
};
|
|
10395
|
+
visible: boolean;
|
|
10396
|
+
order?: number | undefined;
|
|
10397
|
+
} | {
|
|
10398
|
+
type: "LEGAL";
|
|
10399
|
+
id: string;
|
|
10400
|
+
config: {
|
|
10401
|
+
text: string;
|
|
10402
|
+
html?: boolean | undefined;
|
|
10403
|
+
};
|
|
10404
|
+
visible: boolean;
|
|
10405
|
+
required?: boolean | undefined;
|
|
10406
|
+
order?: number | undefined;
|
|
10407
|
+
} | {
|
|
10408
|
+
type: "NEXT_BUTTON";
|
|
10409
|
+
id: string;
|
|
10410
|
+
config: {
|
|
10411
|
+
text?: string | undefined;
|
|
10412
|
+
};
|
|
10413
|
+
visible: boolean;
|
|
10414
|
+
order?: number | undefined;
|
|
10415
|
+
})[];
|
|
9889
10416
|
next_node: string;
|
|
9890
10417
|
};
|
|
9891
10418
|
coordinates: {
|
|
@@ -9897,7 +10424,33 @@ export declare const formSchema: z.ZodObject<{
|
|
|
9897
10424
|
type: "STEP";
|
|
9898
10425
|
id: string;
|
|
9899
10426
|
config: {
|
|
9900
|
-
components:
|
|
10427
|
+
components: ({
|
|
10428
|
+
type: "RICH_TEXT";
|
|
10429
|
+
id: string;
|
|
10430
|
+
config: {
|
|
10431
|
+
content: string;
|
|
10432
|
+
};
|
|
10433
|
+
order?: number | undefined;
|
|
10434
|
+
visible?: boolean | undefined;
|
|
10435
|
+
} | {
|
|
10436
|
+
type: "LEGAL";
|
|
10437
|
+
id: string;
|
|
10438
|
+
config: {
|
|
10439
|
+
text: string;
|
|
10440
|
+
html?: boolean | undefined;
|
|
10441
|
+
};
|
|
10442
|
+
required?: boolean | undefined;
|
|
10443
|
+
order?: number | undefined;
|
|
10444
|
+
visible?: boolean | undefined;
|
|
10445
|
+
} | {
|
|
10446
|
+
type: "NEXT_BUTTON";
|
|
10447
|
+
id: string;
|
|
10448
|
+
config: {
|
|
10449
|
+
text?: string | undefined;
|
|
10450
|
+
};
|
|
10451
|
+
order?: number | undefined;
|
|
10452
|
+
visible?: boolean | undefined;
|
|
10453
|
+
})[];
|
|
9901
10454
|
next_node: string;
|
|
9902
10455
|
};
|
|
9903
10456
|
coordinates: {
|
|
@@ -10071,7 +10624,33 @@ export declare const formSchema: z.ZodObject<{
|
|
|
10071
10624
|
type: "STEP";
|
|
10072
10625
|
id: string;
|
|
10073
10626
|
config: {
|
|
10074
|
-
components:
|
|
10627
|
+
components: ({
|
|
10628
|
+
type: "RICH_TEXT";
|
|
10629
|
+
id: string;
|
|
10630
|
+
config: {
|
|
10631
|
+
content: string;
|
|
10632
|
+
};
|
|
10633
|
+
visible: boolean;
|
|
10634
|
+
order?: number | undefined;
|
|
10635
|
+
} | {
|
|
10636
|
+
type: "LEGAL";
|
|
10637
|
+
id: string;
|
|
10638
|
+
config: {
|
|
10639
|
+
text: string;
|
|
10640
|
+
html?: boolean | undefined;
|
|
10641
|
+
};
|
|
10642
|
+
visible: boolean;
|
|
10643
|
+
required?: boolean | undefined;
|
|
10644
|
+
order?: number | undefined;
|
|
10645
|
+
} | {
|
|
10646
|
+
type: "NEXT_BUTTON";
|
|
10647
|
+
id: string;
|
|
10648
|
+
config: {
|
|
10649
|
+
text?: string | undefined;
|
|
10650
|
+
};
|
|
10651
|
+
visible: boolean;
|
|
10652
|
+
order?: number | undefined;
|
|
10653
|
+
})[];
|
|
10075
10654
|
next_node: string;
|
|
10076
10655
|
};
|
|
10077
10656
|
coordinates: {
|
|
@@ -10155,7 +10734,33 @@ export declare const formSchema: z.ZodObject<{
|
|
|
10155
10734
|
type: "STEP";
|
|
10156
10735
|
id: string;
|
|
10157
10736
|
config: {
|
|
10158
|
-
components:
|
|
10737
|
+
components: ({
|
|
10738
|
+
type: "RICH_TEXT";
|
|
10739
|
+
id: string;
|
|
10740
|
+
config: {
|
|
10741
|
+
content: string;
|
|
10742
|
+
};
|
|
10743
|
+
order?: number | undefined;
|
|
10744
|
+
visible?: boolean | undefined;
|
|
10745
|
+
} | {
|
|
10746
|
+
type: "LEGAL";
|
|
10747
|
+
id: string;
|
|
10748
|
+
config: {
|
|
10749
|
+
text: string;
|
|
10750
|
+
html?: boolean | undefined;
|
|
10751
|
+
};
|
|
10752
|
+
required?: boolean | undefined;
|
|
10753
|
+
order?: number | undefined;
|
|
10754
|
+
visible?: boolean | undefined;
|
|
10755
|
+
} | {
|
|
10756
|
+
type: "NEXT_BUTTON";
|
|
10757
|
+
id: string;
|
|
10758
|
+
config: {
|
|
10759
|
+
text?: string | undefined;
|
|
10760
|
+
};
|
|
10761
|
+
order?: number | undefined;
|
|
10762
|
+
visible?: boolean | undefined;
|
|
10763
|
+
})[];
|
|
10159
10764
|
next_node: string;
|
|
10160
10765
|
};
|
|
10161
10766
|
coordinates: {
|