@dmptool/types 1.0.4 → 1.0.5
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 +25 -3
- package/dist/questions/dateQuestions.d.ts +6 -6
- package/dist/questions/dateQuestions.js +1 -1
- package/dist/questions/graphQLQuestions.d.ts +36 -36
- package/dist/questions/graphQLQuestions.js +1 -1
- package/dist/questions/index.d.ts +248 -248
- package/dist/questions/optionBasedQuestions.d.ts +6 -6
- package/dist/questions/optionBasedQuestions.js +1 -1
- package/dist/questions/primitiveQuestions.d.ts +42 -42
- package/dist/questions/primitiveQuestions.js +6 -6
- package/dist/questions/tableQuestions.d.ts +248 -248
- package/dist/questions/tableQuestions.js +1 -1
- package/dist/schemas/anyQuestion.schema.json +11 -22
- package/dist/schemas/anyTableColumnQuestion.schema.json +10 -20
- package/dist/schemas/booleanQuestion.schema.json +1 -2
- package/dist/schemas/currencyQuestion.schema.json +1 -2
- package/dist/schemas/datePickerQuestion.schema.json +1 -2
- package/dist/schemas/emailQuestion.schema.json +1 -2
- package/dist/schemas/filteredSearchQuestion.schema.json +1 -2
- package/dist/schemas/numberQuestion.schema.json +1 -2
- package/dist/schemas/selectBoxQuestion.schema.json +1 -2
- package/dist/schemas/tableQuestion.schema.json +11 -22
- package/dist/schemas/textAreaQuestion.schema.json +1 -2
- package/dist/schemas/textQuestion.schema.json +1 -2
- package/dist/schemas/typeaheadSearchQuestion.schema.json +1 -2
- package/dist/schemas/urlQuestion.schema.json +1 -2
- package/package.json +1 -1
|
@@ -34,5 +34,5 @@ exports.TableQuestionSchema = question_1.QuestionSchema.merge(zod_1.z.object({
|
|
|
34
34
|
initialRows: zod_1.z.number().optional(), // The initial number of rows (default is 1)
|
|
35
35
|
maxRows: zod_1.z.number().optional(), // The maximum number of rows (no default)
|
|
36
36
|
minRows: zod_1.z.number().optional() // The minimum number of rows (no default)
|
|
37
|
-
})
|
|
37
|
+
}).optional(),
|
|
38
38
|
}));
|
|
@@ -38,8 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
"required": [
|
|
40
40
|
"type",
|
|
41
|
-
"meta"
|
|
42
|
-
"attributes"
|
|
41
|
+
"meta"
|
|
43
42
|
],
|
|
44
43
|
"additionalProperties": false
|
|
45
44
|
},
|
|
@@ -131,8 +130,7 @@
|
|
|
131
130
|
},
|
|
132
131
|
"required": [
|
|
133
132
|
"type",
|
|
134
|
-
"meta"
|
|
135
|
-
"attributes"
|
|
133
|
+
"meta"
|
|
136
134
|
],
|
|
137
135
|
"additionalProperties": false
|
|
138
136
|
},
|
|
@@ -164,8 +162,7 @@
|
|
|
164
162
|
},
|
|
165
163
|
"required": [
|
|
166
164
|
"type",
|
|
167
|
-
"meta"
|
|
168
|
-
"attributes"
|
|
165
|
+
"meta"
|
|
169
166
|
],
|
|
170
167
|
"additionalProperties": false
|
|
171
168
|
},
|
|
@@ -286,8 +283,7 @@
|
|
|
286
283
|
},
|
|
287
284
|
"required": [
|
|
288
285
|
"type",
|
|
289
|
-
"meta"
|
|
290
|
-
"attributes"
|
|
286
|
+
"meta"
|
|
291
287
|
],
|
|
292
288
|
"additionalProperties": false
|
|
293
289
|
},
|
|
@@ -369,8 +365,7 @@
|
|
|
369
365
|
},
|
|
370
366
|
"required": [
|
|
371
367
|
"displayFields",
|
|
372
|
-
"responseField"
|
|
373
|
-
"variables"
|
|
368
|
+
"responseField"
|
|
374
369
|
],
|
|
375
370
|
"additionalProperties": false
|
|
376
371
|
},
|
|
@@ -408,8 +403,7 @@
|
|
|
408
403
|
},
|
|
409
404
|
"required": [
|
|
410
405
|
"type",
|
|
411
|
-
"meta"
|
|
412
|
-
"attributes"
|
|
406
|
+
"meta"
|
|
413
407
|
],
|
|
414
408
|
"additionalProperties": false
|
|
415
409
|
},
|
|
@@ -496,8 +490,7 @@
|
|
|
496
490
|
"required": [
|
|
497
491
|
"type",
|
|
498
492
|
"meta",
|
|
499
|
-
"options"
|
|
500
|
-
"attributes"
|
|
493
|
+
"options"
|
|
501
494
|
],
|
|
502
495
|
"additionalProperties": false
|
|
503
496
|
},
|
|
@@ -582,8 +575,7 @@
|
|
|
582
575
|
},
|
|
583
576
|
"required": [
|
|
584
577
|
"type",
|
|
585
|
-
"meta"
|
|
586
|
-
"attributes"
|
|
578
|
+
"meta"
|
|
587
579
|
],
|
|
588
580
|
"additionalProperties": false
|
|
589
581
|
},
|
|
@@ -615,8 +607,7 @@
|
|
|
615
607
|
},
|
|
616
608
|
"required": [
|
|
617
609
|
"type",
|
|
618
|
-
"meta"
|
|
619
|
-
"attributes"
|
|
610
|
+
"meta"
|
|
620
611
|
],
|
|
621
612
|
"additionalProperties": false
|
|
622
613
|
},
|
|
@@ -669,8 +660,7 @@
|
|
|
669
660
|
},
|
|
670
661
|
"required": [
|
|
671
662
|
"type",
|
|
672
|
-
"meta"
|
|
673
|
-
"attributes"
|
|
663
|
+
"meta"
|
|
674
664
|
],
|
|
675
665
|
"additionalProperties": false
|
|
676
666
|
}
|
|
@@ -702,8 +692,7 @@
|
|
|
702
692
|
"required": [
|
|
703
693
|
"type",
|
|
704
694
|
"meta",
|
|
705
|
-
"columns"
|
|
706
|
-
"attributes"
|
|
695
|
+
"columns"
|
|
707
696
|
],
|
|
708
697
|
"additionalProperties": false
|
|
709
698
|
},
|
|
@@ -38,8 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
"required": [
|
|
40
40
|
"type",
|
|
41
|
-
"meta"
|
|
42
|
-
"attributes"
|
|
41
|
+
"meta"
|
|
43
42
|
],
|
|
44
43
|
"additionalProperties": false
|
|
45
44
|
},
|
|
@@ -131,8 +130,7 @@
|
|
|
131
130
|
},
|
|
132
131
|
"required": [
|
|
133
132
|
"type",
|
|
134
|
-
"meta"
|
|
135
|
-
"attributes"
|
|
133
|
+
"meta"
|
|
136
134
|
],
|
|
137
135
|
"additionalProperties": false
|
|
138
136
|
},
|
|
@@ -164,8 +162,7 @@
|
|
|
164
162
|
},
|
|
165
163
|
"required": [
|
|
166
164
|
"type",
|
|
167
|
-
"meta"
|
|
168
|
-
"attributes"
|
|
165
|
+
"meta"
|
|
169
166
|
],
|
|
170
167
|
"additionalProperties": false
|
|
171
168
|
},
|
|
@@ -286,8 +283,7 @@
|
|
|
286
283
|
},
|
|
287
284
|
"required": [
|
|
288
285
|
"type",
|
|
289
|
-
"meta"
|
|
290
|
-
"attributes"
|
|
286
|
+
"meta"
|
|
291
287
|
],
|
|
292
288
|
"additionalProperties": false
|
|
293
289
|
},
|
|
@@ -369,8 +365,7 @@
|
|
|
369
365
|
},
|
|
370
366
|
"required": [
|
|
371
367
|
"displayFields",
|
|
372
|
-
"responseField"
|
|
373
|
-
"variables"
|
|
368
|
+
"responseField"
|
|
374
369
|
],
|
|
375
370
|
"additionalProperties": false
|
|
376
371
|
},
|
|
@@ -408,8 +403,7 @@
|
|
|
408
403
|
},
|
|
409
404
|
"required": [
|
|
410
405
|
"type",
|
|
411
|
-
"meta"
|
|
412
|
-
"attributes"
|
|
406
|
+
"meta"
|
|
413
407
|
],
|
|
414
408
|
"additionalProperties": false
|
|
415
409
|
},
|
|
@@ -496,8 +490,7 @@
|
|
|
496
490
|
"required": [
|
|
497
491
|
"type",
|
|
498
492
|
"meta",
|
|
499
|
-
"options"
|
|
500
|
-
"attributes"
|
|
493
|
+
"options"
|
|
501
494
|
],
|
|
502
495
|
"additionalProperties": false
|
|
503
496
|
},
|
|
@@ -538,8 +531,7 @@
|
|
|
538
531
|
},
|
|
539
532
|
"required": [
|
|
540
533
|
"type",
|
|
541
|
-
"meta"
|
|
542
|
-
"attributes"
|
|
534
|
+
"meta"
|
|
543
535
|
],
|
|
544
536
|
"additionalProperties": false
|
|
545
537
|
},
|
|
@@ -571,8 +563,7 @@
|
|
|
571
563
|
},
|
|
572
564
|
"required": [
|
|
573
565
|
"type",
|
|
574
|
-
"meta"
|
|
575
|
-
"attributes"
|
|
566
|
+
"meta"
|
|
576
567
|
],
|
|
577
568
|
"additionalProperties": false
|
|
578
569
|
},
|
|
@@ -625,8 +616,7 @@
|
|
|
625
616
|
},
|
|
626
617
|
"required": [
|
|
627
618
|
"type",
|
|
628
|
-
"meta"
|
|
629
|
-
"attributes"
|
|
619
|
+
"meta"
|
|
630
620
|
],
|
|
631
621
|
"additionalProperties": false
|
|
632
622
|
}
|
|
@@ -50,8 +50,7 @@
|
|
|
50
50
|
},
|
|
51
51
|
"required": [
|
|
52
52
|
"type",
|
|
53
|
-
"meta"
|
|
54
|
-
"attributes"
|
|
53
|
+
"meta"
|
|
55
54
|
],
|
|
56
55
|
"additionalProperties": false
|
|
57
56
|
},
|
|
@@ -143,8 +142,7 @@
|
|
|
143
142
|
},
|
|
144
143
|
"required": [
|
|
145
144
|
"type",
|
|
146
|
-
"meta"
|
|
147
|
-
"attributes"
|
|
145
|
+
"meta"
|
|
148
146
|
],
|
|
149
147
|
"additionalProperties": false
|
|
150
148
|
},
|
|
@@ -176,8 +174,7 @@
|
|
|
176
174
|
},
|
|
177
175
|
"required": [
|
|
178
176
|
"type",
|
|
179
|
-
"meta"
|
|
180
|
-
"attributes"
|
|
177
|
+
"meta"
|
|
181
178
|
],
|
|
182
179
|
"additionalProperties": false
|
|
183
180
|
},
|
|
@@ -298,8 +295,7 @@
|
|
|
298
295
|
},
|
|
299
296
|
"required": [
|
|
300
297
|
"type",
|
|
301
|
-
"meta"
|
|
302
|
-
"attributes"
|
|
298
|
+
"meta"
|
|
303
299
|
],
|
|
304
300
|
"additionalProperties": false
|
|
305
301
|
},
|
|
@@ -381,8 +377,7 @@
|
|
|
381
377
|
},
|
|
382
378
|
"required": [
|
|
383
379
|
"displayFields",
|
|
384
|
-
"responseField"
|
|
385
|
-
"variables"
|
|
380
|
+
"responseField"
|
|
386
381
|
],
|
|
387
382
|
"additionalProperties": false
|
|
388
383
|
},
|
|
@@ -420,8 +415,7 @@
|
|
|
420
415
|
},
|
|
421
416
|
"required": [
|
|
422
417
|
"type",
|
|
423
|
-
"meta"
|
|
424
|
-
"attributes"
|
|
418
|
+
"meta"
|
|
425
419
|
],
|
|
426
420
|
"additionalProperties": false
|
|
427
421
|
},
|
|
@@ -508,8 +502,7 @@
|
|
|
508
502
|
"required": [
|
|
509
503
|
"type",
|
|
510
504
|
"meta",
|
|
511
|
-
"options"
|
|
512
|
-
"attributes"
|
|
505
|
+
"options"
|
|
513
506
|
],
|
|
514
507
|
"additionalProperties": false
|
|
515
508
|
},
|
|
@@ -550,8 +543,7 @@
|
|
|
550
543
|
},
|
|
551
544
|
"required": [
|
|
552
545
|
"type",
|
|
553
|
-
"meta"
|
|
554
|
-
"attributes"
|
|
546
|
+
"meta"
|
|
555
547
|
],
|
|
556
548
|
"additionalProperties": false
|
|
557
549
|
},
|
|
@@ -583,8 +575,7 @@
|
|
|
583
575
|
},
|
|
584
576
|
"required": [
|
|
585
577
|
"type",
|
|
586
|
-
"meta"
|
|
587
|
-
"attributes"
|
|
578
|
+
"meta"
|
|
588
579
|
],
|
|
589
580
|
"additionalProperties": false
|
|
590
581
|
},
|
|
@@ -637,8 +628,7 @@
|
|
|
637
628
|
},
|
|
638
629
|
"required": [
|
|
639
630
|
"type",
|
|
640
|
-
"meta"
|
|
641
|
-
"attributes"
|
|
631
|
+
"meta"
|
|
642
632
|
],
|
|
643
633
|
"additionalProperties": false
|
|
644
634
|
}
|
|
@@ -670,8 +660,7 @@
|
|
|
670
660
|
"required": [
|
|
671
661
|
"type",
|
|
672
662
|
"meta",
|
|
673
|
-
"columns"
|
|
674
|
-
"attributes"
|
|
663
|
+
"columns"
|
|
675
664
|
],
|
|
676
665
|
"additionalProperties": false
|
|
677
666
|
}
|