@dmptool/types 1.1.0 → 1.1.2
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/README.md +2 -0
- package/dist/answers/__tests__/answers.spec.js +13 -7
- package/dist/answers/answer.d.ts +3 -3
- package/dist/answers/graphQLAnswers.d.ts +2 -2
- package/dist/answers/graphQLAnswers.js +2 -2
- package/dist/answers/index.d.ts +111 -74
- package/dist/answers/index.js +4 -4
- package/dist/answers/numberAnswers.d.ts +0 -25
- package/dist/answers/numberAnswers.js +1 -5
- package/dist/answers/optionBasedAnswers.d.ts +52 -2
- package/dist/answers/optionBasedAnswers.js +9 -1
- package/dist/answers/tableAnswers.d.ts +304 -140
- package/dist/answers/tableAnswers.js +3 -2
- package/dist/questions/__tests__/graphQLQuestions.spec.js +7 -7
- package/dist/questions/__tests__/numberQuestions.spec.js +0 -48
- package/dist/questions/__tests__/optionBasedQuestions.spec.js +98 -1
- package/dist/questions/dateQuestions.d.ts +47 -16
- package/dist/questions/dateQuestions.js +25 -1
- package/dist/questions/graphQLQuestions.d.ts +59 -28
- package/dist/questions/graphQLQuestions.js +40 -3
- package/dist/questions/index.d.ts +1567 -689
- package/dist/questions/index.js +7 -4
- package/dist/questions/numberQuestions.d.ts +71 -76
- package/dist/questions/numberQuestions.js +37 -8
- package/dist/questions/optionBasedQuestions.d.ts +227 -23
- package/dist/questions/optionBasedQuestions.js +89 -5
- package/dist/questions/question.d.ts +51 -4
- package/dist/questions/question.js +14 -2
- package/dist/questions/tableQuestions.d.ts +1965 -1056
- package/dist/questions/tableQuestions.js +14 -2
- package/dist/questions/textQuestions.d.ts +100 -40
- package/dist/questions/textQuestions.js +45 -7
- package/dist/schemas/affiliationSearchAnswer.schema.json +37 -0
- package/dist/schemas/affiliationSearchQuestion.schema.json +133 -0
- package/dist/schemas/anyAnswer.schema.json +41 -23
- package/dist/schemas/anyQuestion.schema.json +563 -146
- package/dist/schemas/anyTableColumnAnswer.schema.json +35 -14
- package/dist/schemas/anyTableColumnQuestion.schema.json +398 -119
- package/dist/schemas/booleanQuestion.schema.json +12 -0
- package/dist/schemas/checkboxesQuestion.schema.json +12 -0
- package/dist/schemas/currencyQuestion.schema.json +12 -0
- package/dist/schemas/dateQuestion.schema.json +12 -0
- package/dist/schemas/dateRangeQuestion.schema.json +12 -0
- package/dist/schemas/emailQuestion.schema.json +12 -0
- package/dist/schemas/filteredSearchQuestion.schema.json +10 -0
- package/dist/schemas/multiselectBoxAnswer.schema.json +40 -0
- package/dist/schemas/multiselectBoxQuestion.schema.json +90 -0
- package/dist/schemas/numberQuestion.schema.json +12 -0
- package/dist/schemas/numberRangeQuestion.schema.json +12 -0
- package/dist/schemas/radioButtonsQuestion.schema.json +12 -0
- package/dist/schemas/selectBoxAnswer.schema.json +1 -4
- package/dist/schemas/selectBoxQuestion.schema.json +18 -1
- package/dist/schemas/tableAnswer.schema.json +35 -14
- package/dist/schemas/tableQuestion.schema.json +420 -120
- package/dist/schemas/textAreaQuestion.schema.json +15 -4
- package/dist/schemas/textQuestion.schema.json +12 -0
- package/dist/schemas/urlQuestion.schema.json +12 -0
- package/package.json +1 -1
|
@@ -7,6 +7,29 @@ export declare const AnyTableColumnAnswerSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
7
7
|
}, {
|
|
8
8
|
schemaVersion: "1.0";
|
|
9
9
|
}>;
|
|
10
|
+
} & {
|
|
11
|
+
type: z.ZodLiteral<"typeaheadSearch">;
|
|
12
|
+
answer: z.ZodString;
|
|
13
|
+
}, "strip", z.ZodTypeAny, {
|
|
14
|
+
type: "typeaheadSearch";
|
|
15
|
+
meta: {
|
|
16
|
+
schemaVersion: "1.0";
|
|
17
|
+
};
|
|
18
|
+
answer: string;
|
|
19
|
+
}, {
|
|
20
|
+
type: "typeaheadSearch";
|
|
21
|
+
meta: {
|
|
22
|
+
schemaVersion: "1.0";
|
|
23
|
+
};
|
|
24
|
+
answer: string;
|
|
25
|
+
}>, z.ZodObject<{
|
|
26
|
+
meta: z.ZodObject<{
|
|
27
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
28
|
+
}, "strip", z.ZodTypeAny, {
|
|
29
|
+
schemaVersion: "1.0";
|
|
30
|
+
}, {
|
|
31
|
+
schemaVersion: "1.0";
|
|
32
|
+
}>;
|
|
10
33
|
} & {
|
|
11
34
|
type: z.ZodLiteral<"boolean">;
|
|
12
35
|
answer: z.ZodBoolean;
|
|
@@ -183,6 +206,29 @@ export declare const AnyTableColumnAnswerSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
183
206
|
}, {
|
|
184
207
|
schemaVersion: "1.0";
|
|
185
208
|
}>;
|
|
209
|
+
} & {
|
|
210
|
+
type: z.ZodLiteral<"multiselectBox">;
|
|
211
|
+
answer: z.ZodArray<z.ZodString, "many">;
|
|
212
|
+
}, "strip", z.ZodTypeAny, {
|
|
213
|
+
type: "multiselectBox";
|
|
214
|
+
meta: {
|
|
215
|
+
schemaVersion: "1.0";
|
|
216
|
+
};
|
|
217
|
+
answer: string[];
|
|
218
|
+
}, {
|
|
219
|
+
type: "multiselectBox";
|
|
220
|
+
meta: {
|
|
221
|
+
schemaVersion: "1.0";
|
|
222
|
+
};
|
|
223
|
+
answer: string[];
|
|
224
|
+
}>, z.ZodObject<{
|
|
225
|
+
meta: z.ZodObject<{
|
|
226
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
227
|
+
}, "strip", z.ZodTypeAny, {
|
|
228
|
+
schemaVersion: "1.0";
|
|
229
|
+
}, {
|
|
230
|
+
schemaVersion: "1.0";
|
|
231
|
+
}>;
|
|
186
232
|
} & {
|
|
187
233
|
type: z.ZodLiteral<"number">;
|
|
188
234
|
answer: z.ZodNumber;
|
|
@@ -231,19 +277,19 @@ export declare const AnyTableColumnAnswerSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
231
277
|
}>;
|
|
232
278
|
} & {
|
|
233
279
|
type: z.ZodLiteral<"selectBox">;
|
|
234
|
-
answer: z.
|
|
280
|
+
answer: z.ZodString;
|
|
235
281
|
}, "strip", z.ZodTypeAny, {
|
|
236
282
|
type: "selectBox";
|
|
237
283
|
meta: {
|
|
238
284
|
schemaVersion: "1.0";
|
|
239
285
|
};
|
|
240
|
-
answer: string
|
|
286
|
+
answer: string;
|
|
241
287
|
}, {
|
|
242
288
|
type: "selectBox";
|
|
243
289
|
meta: {
|
|
244
290
|
schemaVersion: "1.0";
|
|
245
291
|
};
|
|
246
|
-
answer: string
|
|
292
|
+
answer: string;
|
|
247
293
|
}>, z.ZodObject<{
|
|
248
294
|
meta: z.ZodObject<{
|
|
249
295
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
@@ -298,29 +344,6 @@ export declare const AnyTableColumnAnswerSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
298
344
|
}, {
|
|
299
345
|
schemaVersion: "1.0";
|
|
300
346
|
}>;
|
|
301
|
-
} & {
|
|
302
|
-
type: z.ZodLiteral<"typeaheadSearch">;
|
|
303
|
-
answer: z.ZodString;
|
|
304
|
-
}, "strip", z.ZodTypeAny, {
|
|
305
|
-
type: "typeaheadSearch";
|
|
306
|
-
meta: {
|
|
307
|
-
schemaVersion: "1.0";
|
|
308
|
-
};
|
|
309
|
-
answer: string;
|
|
310
|
-
}, {
|
|
311
|
-
type: "typeaheadSearch";
|
|
312
|
-
meta: {
|
|
313
|
-
schemaVersion: "1.0";
|
|
314
|
-
};
|
|
315
|
-
answer: string;
|
|
316
|
-
}>, z.ZodObject<{
|
|
317
|
-
meta: z.ZodObject<{
|
|
318
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
319
|
-
}, "strip", z.ZodTypeAny, {
|
|
320
|
-
schemaVersion: "1.0";
|
|
321
|
-
}, {
|
|
322
|
-
schemaVersion: "1.0";
|
|
323
|
-
}>;
|
|
324
347
|
} & {
|
|
325
348
|
type: z.ZodLiteral<"url">;
|
|
326
349
|
answer: z.ZodString;
|
|
@@ -347,6 +370,29 @@ export declare const TableColumnAnswerSchema: z.ZodObject<{
|
|
|
347
370
|
}, {
|
|
348
371
|
schemaVersion: "1.0";
|
|
349
372
|
}>;
|
|
373
|
+
} & {
|
|
374
|
+
type: z.ZodLiteral<"typeaheadSearch">;
|
|
375
|
+
answer: z.ZodString;
|
|
376
|
+
}, "strip", z.ZodTypeAny, {
|
|
377
|
+
type: "typeaheadSearch";
|
|
378
|
+
meta: {
|
|
379
|
+
schemaVersion: "1.0";
|
|
380
|
+
};
|
|
381
|
+
answer: string;
|
|
382
|
+
}, {
|
|
383
|
+
type: "typeaheadSearch";
|
|
384
|
+
meta: {
|
|
385
|
+
schemaVersion: "1.0";
|
|
386
|
+
};
|
|
387
|
+
answer: string;
|
|
388
|
+
}>, z.ZodObject<{
|
|
389
|
+
meta: z.ZodObject<{
|
|
390
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
391
|
+
}, "strip", z.ZodTypeAny, {
|
|
392
|
+
schemaVersion: "1.0";
|
|
393
|
+
}, {
|
|
394
|
+
schemaVersion: "1.0";
|
|
395
|
+
}>;
|
|
350
396
|
} & {
|
|
351
397
|
type: z.ZodLiteral<"boolean">;
|
|
352
398
|
answer: z.ZodBoolean;
|
|
@@ -523,6 +569,29 @@ export declare const TableColumnAnswerSchema: z.ZodObject<{
|
|
|
523
569
|
}, {
|
|
524
570
|
schemaVersion: "1.0";
|
|
525
571
|
}>;
|
|
572
|
+
} & {
|
|
573
|
+
type: z.ZodLiteral<"multiselectBox">;
|
|
574
|
+
answer: z.ZodArray<z.ZodString, "many">;
|
|
575
|
+
}, "strip", z.ZodTypeAny, {
|
|
576
|
+
type: "multiselectBox";
|
|
577
|
+
meta: {
|
|
578
|
+
schemaVersion: "1.0";
|
|
579
|
+
};
|
|
580
|
+
answer: string[];
|
|
581
|
+
}, {
|
|
582
|
+
type: "multiselectBox";
|
|
583
|
+
meta: {
|
|
584
|
+
schemaVersion: "1.0";
|
|
585
|
+
};
|
|
586
|
+
answer: string[];
|
|
587
|
+
}>, z.ZodObject<{
|
|
588
|
+
meta: z.ZodObject<{
|
|
589
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
590
|
+
}, "strip", z.ZodTypeAny, {
|
|
591
|
+
schemaVersion: "1.0";
|
|
592
|
+
}, {
|
|
593
|
+
schemaVersion: "1.0";
|
|
594
|
+
}>;
|
|
526
595
|
} & {
|
|
527
596
|
type: z.ZodLiteral<"number">;
|
|
528
597
|
answer: z.ZodNumber;
|
|
@@ -571,19 +640,19 @@ export declare const TableColumnAnswerSchema: z.ZodObject<{
|
|
|
571
640
|
}>;
|
|
572
641
|
} & {
|
|
573
642
|
type: z.ZodLiteral<"selectBox">;
|
|
574
|
-
answer: z.
|
|
643
|
+
answer: z.ZodString;
|
|
575
644
|
}, "strip", z.ZodTypeAny, {
|
|
576
645
|
type: "selectBox";
|
|
577
646
|
meta: {
|
|
578
647
|
schemaVersion: "1.0";
|
|
579
648
|
};
|
|
580
|
-
answer: string
|
|
649
|
+
answer: string;
|
|
581
650
|
}, {
|
|
582
651
|
type: "selectBox";
|
|
583
652
|
meta: {
|
|
584
653
|
schemaVersion: "1.0";
|
|
585
654
|
};
|
|
586
|
-
answer: string
|
|
655
|
+
answer: string;
|
|
587
656
|
}>, z.ZodObject<{
|
|
588
657
|
meta: z.ZodObject<{
|
|
589
658
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
@@ -638,29 +707,6 @@ export declare const TableColumnAnswerSchema: z.ZodObject<{
|
|
|
638
707
|
}, {
|
|
639
708
|
schemaVersion: "1.0";
|
|
640
709
|
}>;
|
|
641
|
-
} & {
|
|
642
|
-
type: z.ZodLiteral<"typeaheadSearch">;
|
|
643
|
-
answer: z.ZodString;
|
|
644
|
-
}, "strip", z.ZodTypeAny, {
|
|
645
|
-
type: "typeaheadSearch";
|
|
646
|
-
meta: {
|
|
647
|
-
schemaVersion: "1.0";
|
|
648
|
-
};
|
|
649
|
-
answer: string;
|
|
650
|
-
}, {
|
|
651
|
-
type: "typeaheadSearch";
|
|
652
|
-
meta: {
|
|
653
|
-
schemaVersion: "1.0";
|
|
654
|
-
};
|
|
655
|
-
answer: string;
|
|
656
|
-
}>, z.ZodObject<{
|
|
657
|
-
meta: z.ZodObject<{
|
|
658
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
659
|
-
}, "strip", z.ZodTypeAny, {
|
|
660
|
-
schemaVersion: "1.0";
|
|
661
|
-
}, {
|
|
662
|
-
schemaVersion: "1.0";
|
|
663
|
-
}>;
|
|
664
710
|
} & {
|
|
665
711
|
type: z.ZodLiteral<"url">;
|
|
666
712
|
answer: z.ZodString;
|
|
@@ -706,6 +752,12 @@ export declare const TableColumnAnswerSchema: z.ZodObject<{
|
|
|
706
752
|
schemaVersion: "1.0";
|
|
707
753
|
};
|
|
708
754
|
answer: string;
|
|
755
|
+
} | {
|
|
756
|
+
type: "boolean";
|
|
757
|
+
meta: {
|
|
758
|
+
schemaVersion: "1.0";
|
|
759
|
+
};
|
|
760
|
+
answer: boolean;
|
|
709
761
|
} | {
|
|
710
762
|
type: "checkBoxes";
|
|
711
763
|
meta: {
|
|
@@ -723,13 +775,13 @@ export declare const TableColumnAnswerSchema: z.ZodObject<{
|
|
|
723
775
|
meta: {
|
|
724
776
|
schemaVersion: "1.0";
|
|
725
777
|
};
|
|
726
|
-
answer: string
|
|
778
|
+
answer: string;
|
|
727
779
|
} | {
|
|
728
|
-
type: "
|
|
780
|
+
type: "multiselectBox";
|
|
729
781
|
meta: {
|
|
730
782
|
schemaVersion: "1.0";
|
|
731
783
|
};
|
|
732
|
-
answer:
|
|
784
|
+
answer: string[];
|
|
733
785
|
} | {
|
|
734
786
|
type: "currency";
|
|
735
787
|
meta: {
|
|
@@ -796,6 +848,12 @@ export declare const TableColumnAnswerSchema: z.ZodObject<{
|
|
|
796
848
|
schemaVersion: "1.0";
|
|
797
849
|
};
|
|
798
850
|
answer: string;
|
|
851
|
+
} | {
|
|
852
|
+
type: "boolean";
|
|
853
|
+
meta: {
|
|
854
|
+
schemaVersion: "1.0";
|
|
855
|
+
};
|
|
856
|
+
answer: boolean;
|
|
799
857
|
} | {
|
|
800
858
|
type: "checkBoxes";
|
|
801
859
|
meta: {
|
|
@@ -813,13 +871,13 @@ export declare const TableColumnAnswerSchema: z.ZodObject<{
|
|
|
813
871
|
meta: {
|
|
814
872
|
schemaVersion: "1.0";
|
|
815
873
|
};
|
|
816
|
-
answer: string
|
|
874
|
+
answer: string;
|
|
817
875
|
} | {
|
|
818
|
-
type: "
|
|
876
|
+
type: "multiselectBox";
|
|
819
877
|
meta: {
|
|
820
878
|
schemaVersion: "1.0";
|
|
821
879
|
};
|
|
822
|
-
answer:
|
|
880
|
+
answer: string[];
|
|
823
881
|
} | {
|
|
824
882
|
type: "currency";
|
|
825
883
|
meta: {
|
|
@@ -869,6 +927,29 @@ export declare const TableRowAnswerSchema: z.ZodObject<{
|
|
|
869
927
|
}, {
|
|
870
928
|
schemaVersion: "1.0";
|
|
871
929
|
}>;
|
|
930
|
+
} & {
|
|
931
|
+
type: z.ZodLiteral<"typeaheadSearch">;
|
|
932
|
+
answer: z.ZodString;
|
|
933
|
+
}, "strip", z.ZodTypeAny, {
|
|
934
|
+
type: "typeaheadSearch";
|
|
935
|
+
meta: {
|
|
936
|
+
schemaVersion: "1.0";
|
|
937
|
+
};
|
|
938
|
+
answer: string;
|
|
939
|
+
}, {
|
|
940
|
+
type: "typeaheadSearch";
|
|
941
|
+
meta: {
|
|
942
|
+
schemaVersion: "1.0";
|
|
943
|
+
};
|
|
944
|
+
answer: string;
|
|
945
|
+
}>, z.ZodObject<{
|
|
946
|
+
meta: z.ZodObject<{
|
|
947
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
948
|
+
}, "strip", z.ZodTypeAny, {
|
|
949
|
+
schemaVersion: "1.0";
|
|
950
|
+
}, {
|
|
951
|
+
schemaVersion: "1.0";
|
|
952
|
+
}>;
|
|
872
953
|
} & {
|
|
873
954
|
type: z.ZodLiteral<"boolean">;
|
|
874
955
|
answer: z.ZodBoolean;
|
|
@@ -1045,6 +1126,29 @@ export declare const TableRowAnswerSchema: z.ZodObject<{
|
|
|
1045
1126
|
}, {
|
|
1046
1127
|
schemaVersion: "1.0";
|
|
1047
1128
|
}>;
|
|
1129
|
+
} & {
|
|
1130
|
+
type: z.ZodLiteral<"multiselectBox">;
|
|
1131
|
+
answer: z.ZodArray<z.ZodString, "many">;
|
|
1132
|
+
}, "strip", z.ZodTypeAny, {
|
|
1133
|
+
type: "multiselectBox";
|
|
1134
|
+
meta: {
|
|
1135
|
+
schemaVersion: "1.0";
|
|
1136
|
+
};
|
|
1137
|
+
answer: string[];
|
|
1138
|
+
}, {
|
|
1139
|
+
type: "multiselectBox";
|
|
1140
|
+
meta: {
|
|
1141
|
+
schemaVersion: "1.0";
|
|
1142
|
+
};
|
|
1143
|
+
answer: string[];
|
|
1144
|
+
}>, z.ZodObject<{
|
|
1145
|
+
meta: z.ZodObject<{
|
|
1146
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
1147
|
+
}, "strip", z.ZodTypeAny, {
|
|
1148
|
+
schemaVersion: "1.0";
|
|
1149
|
+
}, {
|
|
1150
|
+
schemaVersion: "1.0";
|
|
1151
|
+
}>;
|
|
1048
1152
|
} & {
|
|
1049
1153
|
type: z.ZodLiteral<"number">;
|
|
1050
1154
|
answer: z.ZodNumber;
|
|
@@ -1093,19 +1197,19 @@ export declare const TableRowAnswerSchema: z.ZodObject<{
|
|
|
1093
1197
|
}>;
|
|
1094
1198
|
} & {
|
|
1095
1199
|
type: z.ZodLiteral<"selectBox">;
|
|
1096
|
-
answer: z.
|
|
1200
|
+
answer: z.ZodString;
|
|
1097
1201
|
}, "strip", z.ZodTypeAny, {
|
|
1098
1202
|
type: "selectBox";
|
|
1099
1203
|
meta: {
|
|
1100
1204
|
schemaVersion: "1.0";
|
|
1101
1205
|
};
|
|
1102
|
-
answer: string
|
|
1206
|
+
answer: string;
|
|
1103
1207
|
}, {
|
|
1104
1208
|
type: "selectBox";
|
|
1105
1209
|
meta: {
|
|
1106
1210
|
schemaVersion: "1.0";
|
|
1107
1211
|
};
|
|
1108
|
-
answer: string
|
|
1212
|
+
answer: string;
|
|
1109
1213
|
}>, z.ZodObject<{
|
|
1110
1214
|
meta: z.ZodObject<{
|
|
1111
1215
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
@@ -1160,29 +1264,6 @@ export declare const TableRowAnswerSchema: z.ZodObject<{
|
|
|
1160
1264
|
}, {
|
|
1161
1265
|
schemaVersion: "1.0";
|
|
1162
1266
|
}>;
|
|
1163
|
-
} & {
|
|
1164
|
-
type: z.ZodLiteral<"typeaheadSearch">;
|
|
1165
|
-
answer: z.ZodString;
|
|
1166
|
-
}, "strip", z.ZodTypeAny, {
|
|
1167
|
-
type: "typeaheadSearch";
|
|
1168
|
-
meta: {
|
|
1169
|
-
schemaVersion: "1.0";
|
|
1170
|
-
};
|
|
1171
|
-
answer: string;
|
|
1172
|
-
}, {
|
|
1173
|
-
type: "typeaheadSearch";
|
|
1174
|
-
meta: {
|
|
1175
|
-
schemaVersion: "1.0";
|
|
1176
|
-
};
|
|
1177
|
-
answer: string;
|
|
1178
|
-
}>, z.ZodObject<{
|
|
1179
|
-
meta: z.ZodObject<{
|
|
1180
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
1181
|
-
}, "strip", z.ZodTypeAny, {
|
|
1182
|
-
schemaVersion: "1.0";
|
|
1183
|
-
}, {
|
|
1184
|
-
schemaVersion: "1.0";
|
|
1185
|
-
}>;
|
|
1186
1267
|
} & {
|
|
1187
1268
|
type: z.ZodLiteral<"url">;
|
|
1188
1269
|
answer: z.ZodString;
|
|
@@ -1228,6 +1309,12 @@ export declare const TableRowAnswerSchema: z.ZodObject<{
|
|
|
1228
1309
|
schemaVersion: "1.0";
|
|
1229
1310
|
};
|
|
1230
1311
|
answer: string;
|
|
1312
|
+
} | {
|
|
1313
|
+
type: "boolean";
|
|
1314
|
+
meta: {
|
|
1315
|
+
schemaVersion: "1.0";
|
|
1316
|
+
};
|
|
1317
|
+
answer: boolean;
|
|
1231
1318
|
} | {
|
|
1232
1319
|
type: "checkBoxes";
|
|
1233
1320
|
meta: {
|
|
@@ -1245,13 +1332,13 @@ export declare const TableRowAnswerSchema: z.ZodObject<{
|
|
|
1245
1332
|
meta: {
|
|
1246
1333
|
schemaVersion: "1.0";
|
|
1247
1334
|
};
|
|
1248
|
-
answer: string
|
|
1335
|
+
answer: string;
|
|
1249
1336
|
} | {
|
|
1250
|
-
type: "
|
|
1337
|
+
type: "multiselectBox";
|
|
1251
1338
|
meta: {
|
|
1252
1339
|
schemaVersion: "1.0";
|
|
1253
1340
|
};
|
|
1254
|
-
answer:
|
|
1341
|
+
answer: string[];
|
|
1255
1342
|
} | {
|
|
1256
1343
|
type: "currency";
|
|
1257
1344
|
meta: {
|
|
@@ -1318,6 +1405,12 @@ export declare const TableRowAnswerSchema: z.ZodObject<{
|
|
|
1318
1405
|
schemaVersion: "1.0";
|
|
1319
1406
|
};
|
|
1320
1407
|
answer: string;
|
|
1408
|
+
} | {
|
|
1409
|
+
type: "boolean";
|
|
1410
|
+
meta: {
|
|
1411
|
+
schemaVersion: "1.0";
|
|
1412
|
+
};
|
|
1413
|
+
answer: boolean;
|
|
1321
1414
|
} | {
|
|
1322
1415
|
type: "checkBoxes";
|
|
1323
1416
|
meta: {
|
|
@@ -1335,13 +1428,13 @@ export declare const TableRowAnswerSchema: z.ZodObject<{
|
|
|
1335
1428
|
meta: {
|
|
1336
1429
|
schemaVersion: "1.0";
|
|
1337
1430
|
};
|
|
1338
|
-
answer: string
|
|
1431
|
+
answer: string;
|
|
1339
1432
|
} | {
|
|
1340
|
-
type: "
|
|
1433
|
+
type: "multiselectBox";
|
|
1341
1434
|
meta: {
|
|
1342
1435
|
schemaVersion: "1.0";
|
|
1343
1436
|
};
|
|
1344
|
-
answer:
|
|
1437
|
+
answer: string[];
|
|
1345
1438
|
} | {
|
|
1346
1439
|
type: "currency";
|
|
1347
1440
|
meta: {
|
|
@@ -1410,6 +1503,12 @@ export declare const TableRowAnswerSchema: z.ZodObject<{
|
|
|
1410
1503
|
schemaVersion: "1.0";
|
|
1411
1504
|
};
|
|
1412
1505
|
answer: string;
|
|
1506
|
+
} | {
|
|
1507
|
+
type: "boolean";
|
|
1508
|
+
meta: {
|
|
1509
|
+
schemaVersion: "1.0";
|
|
1510
|
+
};
|
|
1511
|
+
answer: boolean;
|
|
1413
1512
|
} | {
|
|
1414
1513
|
type: "checkBoxes";
|
|
1415
1514
|
meta: {
|
|
@@ -1427,13 +1526,13 @@ export declare const TableRowAnswerSchema: z.ZodObject<{
|
|
|
1427
1526
|
meta: {
|
|
1428
1527
|
schemaVersion: "1.0";
|
|
1429
1528
|
};
|
|
1430
|
-
answer: string
|
|
1529
|
+
answer: string;
|
|
1431
1530
|
} | {
|
|
1432
|
-
type: "
|
|
1531
|
+
type: "multiselectBox";
|
|
1433
1532
|
meta: {
|
|
1434
1533
|
schemaVersion: "1.0";
|
|
1435
1534
|
};
|
|
1436
|
-
answer:
|
|
1535
|
+
answer: string[];
|
|
1437
1536
|
} | {
|
|
1438
1537
|
type: "currency";
|
|
1439
1538
|
meta: {
|
|
@@ -1502,6 +1601,12 @@ export declare const TableRowAnswerSchema: z.ZodObject<{
|
|
|
1502
1601
|
schemaVersion: "1.0";
|
|
1503
1602
|
};
|
|
1504
1603
|
answer: string;
|
|
1604
|
+
} | {
|
|
1605
|
+
type: "boolean";
|
|
1606
|
+
meta: {
|
|
1607
|
+
schemaVersion: "1.0";
|
|
1608
|
+
};
|
|
1609
|
+
answer: boolean;
|
|
1505
1610
|
} | {
|
|
1506
1611
|
type: "checkBoxes";
|
|
1507
1612
|
meta: {
|
|
@@ -1519,13 +1624,13 @@ export declare const TableRowAnswerSchema: z.ZodObject<{
|
|
|
1519
1624
|
meta: {
|
|
1520
1625
|
schemaVersion: "1.0";
|
|
1521
1626
|
};
|
|
1522
|
-
answer: string
|
|
1627
|
+
answer: string;
|
|
1523
1628
|
} | {
|
|
1524
|
-
type: "
|
|
1629
|
+
type: "multiselectBox";
|
|
1525
1630
|
meta: {
|
|
1526
1631
|
schemaVersion: "1.0";
|
|
1527
1632
|
};
|
|
1528
|
-
answer:
|
|
1633
|
+
answer: string[];
|
|
1529
1634
|
} | {
|
|
1530
1635
|
type: "currency";
|
|
1531
1636
|
meta: {
|
|
@@ -1586,6 +1691,29 @@ export declare const TableAnswerSchema: z.ZodObject<{
|
|
|
1586
1691
|
}, {
|
|
1587
1692
|
schemaVersion: "1.0";
|
|
1588
1693
|
}>;
|
|
1694
|
+
} & {
|
|
1695
|
+
type: z.ZodLiteral<"typeaheadSearch">;
|
|
1696
|
+
answer: z.ZodString;
|
|
1697
|
+
}, "strip", z.ZodTypeAny, {
|
|
1698
|
+
type: "typeaheadSearch";
|
|
1699
|
+
meta: {
|
|
1700
|
+
schemaVersion: "1.0";
|
|
1701
|
+
};
|
|
1702
|
+
answer: string;
|
|
1703
|
+
}, {
|
|
1704
|
+
type: "typeaheadSearch";
|
|
1705
|
+
meta: {
|
|
1706
|
+
schemaVersion: "1.0";
|
|
1707
|
+
};
|
|
1708
|
+
answer: string;
|
|
1709
|
+
}>, z.ZodObject<{
|
|
1710
|
+
meta: z.ZodObject<{
|
|
1711
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
1712
|
+
}, "strip", z.ZodTypeAny, {
|
|
1713
|
+
schemaVersion: "1.0";
|
|
1714
|
+
}, {
|
|
1715
|
+
schemaVersion: "1.0";
|
|
1716
|
+
}>;
|
|
1589
1717
|
} & {
|
|
1590
1718
|
type: z.ZodLiteral<"boolean">;
|
|
1591
1719
|
answer: z.ZodBoolean;
|
|
@@ -1762,6 +1890,29 @@ export declare const TableAnswerSchema: z.ZodObject<{
|
|
|
1762
1890
|
}, {
|
|
1763
1891
|
schemaVersion: "1.0";
|
|
1764
1892
|
}>;
|
|
1893
|
+
} & {
|
|
1894
|
+
type: z.ZodLiteral<"multiselectBox">;
|
|
1895
|
+
answer: z.ZodArray<z.ZodString, "many">;
|
|
1896
|
+
}, "strip", z.ZodTypeAny, {
|
|
1897
|
+
type: "multiselectBox";
|
|
1898
|
+
meta: {
|
|
1899
|
+
schemaVersion: "1.0";
|
|
1900
|
+
};
|
|
1901
|
+
answer: string[];
|
|
1902
|
+
}, {
|
|
1903
|
+
type: "multiselectBox";
|
|
1904
|
+
meta: {
|
|
1905
|
+
schemaVersion: "1.0";
|
|
1906
|
+
};
|
|
1907
|
+
answer: string[];
|
|
1908
|
+
}>, z.ZodObject<{
|
|
1909
|
+
meta: z.ZodObject<{
|
|
1910
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
1911
|
+
}, "strip", z.ZodTypeAny, {
|
|
1912
|
+
schemaVersion: "1.0";
|
|
1913
|
+
}, {
|
|
1914
|
+
schemaVersion: "1.0";
|
|
1915
|
+
}>;
|
|
1765
1916
|
} & {
|
|
1766
1917
|
type: z.ZodLiteral<"number">;
|
|
1767
1918
|
answer: z.ZodNumber;
|
|
@@ -1810,19 +1961,19 @@ export declare const TableAnswerSchema: z.ZodObject<{
|
|
|
1810
1961
|
}>;
|
|
1811
1962
|
} & {
|
|
1812
1963
|
type: z.ZodLiteral<"selectBox">;
|
|
1813
|
-
answer: z.
|
|
1964
|
+
answer: z.ZodString;
|
|
1814
1965
|
}, "strip", z.ZodTypeAny, {
|
|
1815
1966
|
type: "selectBox";
|
|
1816
1967
|
meta: {
|
|
1817
1968
|
schemaVersion: "1.0";
|
|
1818
1969
|
};
|
|
1819
|
-
answer: string
|
|
1970
|
+
answer: string;
|
|
1820
1971
|
}, {
|
|
1821
1972
|
type: "selectBox";
|
|
1822
1973
|
meta: {
|
|
1823
1974
|
schemaVersion: "1.0";
|
|
1824
1975
|
};
|
|
1825
|
-
answer: string
|
|
1976
|
+
answer: string;
|
|
1826
1977
|
}>, z.ZodObject<{
|
|
1827
1978
|
meta: z.ZodObject<{
|
|
1828
1979
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
@@ -1877,29 +2028,6 @@ export declare const TableAnswerSchema: z.ZodObject<{
|
|
|
1877
2028
|
}, {
|
|
1878
2029
|
schemaVersion: "1.0";
|
|
1879
2030
|
}>;
|
|
1880
|
-
} & {
|
|
1881
|
-
type: z.ZodLiteral<"typeaheadSearch">;
|
|
1882
|
-
answer: z.ZodString;
|
|
1883
|
-
}, "strip", z.ZodTypeAny, {
|
|
1884
|
-
type: "typeaheadSearch";
|
|
1885
|
-
meta: {
|
|
1886
|
-
schemaVersion: "1.0";
|
|
1887
|
-
};
|
|
1888
|
-
answer: string;
|
|
1889
|
-
}, {
|
|
1890
|
-
type: "typeaheadSearch";
|
|
1891
|
-
meta: {
|
|
1892
|
-
schemaVersion: "1.0";
|
|
1893
|
-
};
|
|
1894
|
-
answer: string;
|
|
1895
|
-
}>, z.ZodObject<{
|
|
1896
|
-
meta: z.ZodObject<{
|
|
1897
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
1898
|
-
}, "strip", z.ZodTypeAny, {
|
|
1899
|
-
schemaVersion: "1.0";
|
|
1900
|
-
}, {
|
|
1901
|
-
schemaVersion: "1.0";
|
|
1902
|
-
}>;
|
|
1903
2031
|
} & {
|
|
1904
2032
|
type: z.ZodLiteral<"url">;
|
|
1905
2033
|
answer: z.ZodString;
|
|
@@ -1945,6 +2073,12 @@ export declare const TableAnswerSchema: z.ZodObject<{
|
|
|
1945
2073
|
schemaVersion: "1.0";
|
|
1946
2074
|
};
|
|
1947
2075
|
answer: string;
|
|
2076
|
+
} | {
|
|
2077
|
+
type: "boolean";
|
|
2078
|
+
meta: {
|
|
2079
|
+
schemaVersion: "1.0";
|
|
2080
|
+
};
|
|
2081
|
+
answer: boolean;
|
|
1948
2082
|
} | {
|
|
1949
2083
|
type: "checkBoxes";
|
|
1950
2084
|
meta: {
|
|
@@ -1962,13 +2096,13 @@ export declare const TableAnswerSchema: z.ZodObject<{
|
|
|
1962
2096
|
meta: {
|
|
1963
2097
|
schemaVersion: "1.0";
|
|
1964
2098
|
};
|
|
1965
|
-
answer: string
|
|
2099
|
+
answer: string;
|
|
1966
2100
|
} | {
|
|
1967
|
-
type: "
|
|
2101
|
+
type: "multiselectBox";
|
|
1968
2102
|
meta: {
|
|
1969
2103
|
schemaVersion: "1.0";
|
|
1970
2104
|
};
|
|
1971
|
-
answer:
|
|
2105
|
+
answer: string[];
|
|
1972
2106
|
} | {
|
|
1973
2107
|
type: "currency";
|
|
1974
2108
|
meta: {
|
|
@@ -2035,6 +2169,12 @@ export declare const TableAnswerSchema: z.ZodObject<{
|
|
|
2035
2169
|
schemaVersion: "1.0";
|
|
2036
2170
|
};
|
|
2037
2171
|
answer: string;
|
|
2172
|
+
} | {
|
|
2173
|
+
type: "boolean";
|
|
2174
|
+
meta: {
|
|
2175
|
+
schemaVersion: "1.0";
|
|
2176
|
+
};
|
|
2177
|
+
answer: boolean;
|
|
2038
2178
|
} | {
|
|
2039
2179
|
type: "checkBoxes";
|
|
2040
2180
|
meta: {
|
|
@@ -2052,13 +2192,13 @@ export declare const TableAnswerSchema: z.ZodObject<{
|
|
|
2052
2192
|
meta: {
|
|
2053
2193
|
schemaVersion: "1.0";
|
|
2054
2194
|
};
|
|
2055
|
-
answer: string
|
|
2195
|
+
answer: string;
|
|
2056
2196
|
} | {
|
|
2057
|
-
type: "
|
|
2197
|
+
type: "multiselectBox";
|
|
2058
2198
|
meta: {
|
|
2059
2199
|
schemaVersion: "1.0";
|
|
2060
2200
|
};
|
|
2061
|
-
answer:
|
|
2201
|
+
answer: string[];
|
|
2062
2202
|
} | {
|
|
2063
2203
|
type: "currency";
|
|
2064
2204
|
meta: {
|
|
@@ -2127,6 +2267,12 @@ export declare const TableAnswerSchema: z.ZodObject<{
|
|
|
2127
2267
|
schemaVersion: "1.0";
|
|
2128
2268
|
};
|
|
2129
2269
|
answer: string;
|
|
2270
|
+
} | {
|
|
2271
|
+
type: "boolean";
|
|
2272
|
+
meta: {
|
|
2273
|
+
schemaVersion: "1.0";
|
|
2274
|
+
};
|
|
2275
|
+
answer: boolean;
|
|
2130
2276
|
} | {
|
|
2131
2277
|
type: "checkBoxes";
|
|
2132
2278
|
meta: {
|
|
@@ -2144,13 +2290,13 @@ export declare const TableAnswerSchema: z.ZodObject<{
|
|
|
2144
2290
|
meta: {
|
|
2145
2291
|
schemaVersion: "1.0";
|
|
2146
2292
|
};
|
|
2147
|
-
answer: string
|
|
2293
|
+
answer: string;
|
|
2148
2294
|
} | {
|
|
2149
|
-
type: "
|
|
2295
|
+
type: "multiselectBox";
|
|
2150
2296
|
meta: {
|
|
2151
2297
|
schemaVersion: "1.0";
|
|
2152
2298
|
};
|
|
2153
|
-
answer:
|
|
2299
|
+
answer: string[];
|
|
2154
2300
|
} | {
|
|
2155
2301
|
type: "currency";
|
|
2156
2302
|
meta: {
|
|
@@ -2219,6 +2365,12 @@ export declare const TableAnswerSchema: z.ZodObject<{
|
|
|
2219
2365
|
schemaVersion: "1.0";
|
|
2220
2366
|
};
|
|
2221
2367
|
answer: string;
|
|
2368
|
+
} | {
|
|
2369
|
+
type: "boolean";
|
|
2370
|
+
meta: {
|
|
2371
|
+
schemaVersion: "1.0";
|
|
2372
|
+
};
|
|
2373
|
+
answer: boolean;
|
|
2222
2374
|
} | {
|
|
2223
2375
|
type: "checkBoxes";
|
|
2224
2376
|
meta: {
|
|
@@ -2236,13 +2388,13 @@ export declare const TableAnswerSchema: z.ZodObject<{
|
|
|
2236
2388
|
meta: {
|
|
2237
2389
|
schemaVersion: "1.0";
|
|
2238
2390
|
};
|
|
2239
|
-
answer: string
|
|
2391
|
+
answer: string;
|
|
2240
2392
|
} | {
|
|
2241
|
-
type: "
|
|
2393
|
+
type: "multiselectBox";
|
|
2242
2394
|
meta: {
|
|
2243
2395
|
schemaVersion: "1.0";
|
|
2244
2396
|
};
|
|
2245
|
-
answer:
|
|
2397
|
+
answer: string[];
|
|
2246
2398
|
} | {
|
|
2247
2399
|
type: "currency";
|
|
2248
2400
|
meta: {
|
|
@@ -2317,6 +2469,12 @@ export declare const TableAnswerSchema: z.ZodObject<{
|
|
|
2317
2469
|
schemaVersion: "1.0";
|
|
2318
2470
|
};
|
|
2319
2471
|
answer: string;
|
|
2472
|
+
} | {
|
|
2473
|
+
type: "boolean";
|
|
2474
|
+
meta: {
|
|
2475
|
+
schemaVersion: "1.0";
|
|
2476
|
+
};
|
|
2477
|
+
answer: boolean;
|
|
2320
2478
|
} | {
|
|
2321
2479
|
type: "checkBoxes";
|
|
2322
2480
|
meta: {
|
|
@@ -2334,13 +2492,13 @@ export declare const TableAnswerSchema: z.ZodObject<{
|
|
|
2334
2492
|
meta: {
|
|
2335
2493
|
schemaVersion: "1.0";
|
|
2336
2494
|
};
|
|
2337
|
-
answer: string
|
|
2495
|
+
answer: string;
|
|
2338
2496
|
} | {
|
|
2339
|
-
type: "
|
|
2497
|
+
type: "multiselectBox";
|
|
2340
2498
|
meta: {
|
|
2341
2499
|
schemaVersion: "1.0";
|
|
2342
2500
|
};
|
|
2343
|
-
answer:
|
|
2501
|
+
answer: string[];
|
|
2344
2502
|
} | {
|
|
2345
2503
|
type: "currency";
|
|
2346
2504
|
meta: {
|
|
@@ -2415,6 +2573,12 @@ export declare const TableAnswerSchema: z.ZodObject<{
|
|
|
2415
2573
|
schemaVersion: "1.0";
|
|
2416
2574
|
};
|
|
2417
2575
|
answer: string;
|
|
2576
|
+
} | {
|
|
2577
|
+
type: "boolean";
|
|
2578
|
+
meta: {
|
|
2579
|
+
schemaVersion: "1.0";
|
|
2580
|
+
};
|
|
2581
|
+
answer: boolean;
|
|
2418
2582
|
} | {
|
|
2419
2583
|
type: "checkBoxes";
|
|
2420
2584
|
meta: {
|
|
@@ -2432,13 +2596,13 @@ export declare const TableAnswerSchema: z.ZodObject<{
|
|
|
2432
2596
|
meta: {
|
|
2433
2597
|
schemaVersion: "1.0";
|
|
2434
2598
|
};
|
|
2435
|
-
answer: string
|
|
2599
|
+
answer: string;
|
|
2436
2600
|
} | {
|
|
2437
|
-
type: "
|
|
2601
|
+
type: "multiselectBox";
|
|
2438
2602
|
meta: {
|
|
2439
2603
|
schemaVersion: "1.0";
|
|
2440
2604
|
};
|
|
2441
|
-
answer:
|
|
2605
|
+
answer: string[];
|
|
2442
2606
|
} | {
|
|
2443
2607
|
type: "currency";
|
|
2444
2608
|
meta: {
|