@dmptool/types 1.0.8 → 1.1.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.
- package/README.md +2 -0
- package/dist/answers/__tests__/answers.spec.js +18 -17
- package/dist/answers/index.d.ts +80 -55
- package/dist/answers/index.js +19 -17
- package/dist/answers/numberAnswers.d.ts +91 -0
- package/dist/answers/numberAnswers.js +21 -0
- package/dist/answers/optionBasedAnswers.d.ts +25 -0
- package/dist/answers/optionBasedAnswers.js +5 -1
- package/dist/answers/tableAnswers.d.ts +108 -108
- package/dist/answers/tableAnswers.js +9 -8
- package/dist/answers/textAnswers.d.ts +101 -0
- package/dist/answers/textAnswers.js +22 -0
- package/dist/questions/__tests__/dateQuestions.spec.js +20 -74
- package/dist/questions/__tests__/graphQLQuestions.spec.js +6 -0
- package/dist/questions/__tests__/numberQuestions.spec.js +108 -0
- package/dist/questions/__tests__/optionBasedQuestions.spec.js +91 -54
- package/dist/questions/__tests__/tableQuestion.spec.js +2 -0
- package/dist/questions/__tests__/textQuestions.spec.d.ts +1 -0
- package/dist/questions/__tests__/textQuestions.spec.js +120 -0
- package/dist/questions/dateQuestions.d.ts +159 -178
- package/dist/questions/dateQuestions.js +9 -15
- package/dist/questions/graphQLQuestions.d.ts +67 -38
- package/dist/questions/graphQLQuestions.js +3 -2
- package/dist/questions/index.d.ts +1800 -1379
- package/dist/questions/index.js +22 -19
- package/dist/questions/numberQuestions.d.ts +292 -0
- package/dist/questions/numberQuestions.js +28 -0
- package/dist/questions/optionBasedQuestions.d.ts +186 -157
- package/dist/questions/optionBasedQuestions.js +17 -20
- package/dist/questions/question.d.ts +29 -11
- package/dist/questions/question.js +10 -4
- package/dist/questions/tableQuestions.d.ts +2395 -2048
- package/dist/questions/tableQuestions.js +12 -10
- package/dist/questions/textQuestions.d.ts +261 -0
- package/dist/questions/textQuestions.js +42 -0
- package/dist/schemas/anyQuestion.schema.json +269 -238
- package/dist/schemas/anyTableColumnQuestion.schema.json +207 -216
- package/dist/schemas/booleanQuestion.schema.json +17 -11
- package/dist/schemas/checkboxesQuestion.schema.json +24 -27
- package/dist/schemas/currencyQuestion.schema.json +23 -18
- package/dist/schemas/dateQuestion.schema.json +21 -16
- package/dist/schemas/dateRangeQuestion.schema.json +31 -56
- package/dist/schemas/emailQuestion.schema.json +24 -19
- package/dist/schemas/filteredSearchQuestion.schema.json +18 -13
- package/dist/schemas/numberQuestion.schema.json +21 -16
- package/dist/schemas/numberRangeQuestion.schema.json +31 -56
- package/dist/schemas/radioButtonsQuestion.schema.json +24 -27
- package/dist/schemas/selectBoxQuestion.schema.json +27 -36
- package/dist/schemas/tableQuestion.schema.json +233 -234
- package/dist/schemas/textAreaQuestion.schema.json +22 -16
- package/dist/schemas/textQuestion.schema.json +21 -16
- package/dist/schemas/typeaheadSearchQuestion.schema.json +15 -4
- package/dist/schemas/urlQuestion.schema.json +21 -16
- package/package.json +1 -1
- package/dist/answers/primitiveAnswers.d.ts +0 -216
- package/dist/answers/primitiveAnswers.js +0 -41
- package/dist/questions/__tests__/primitiveQuestions.spec.js +0 -281
- package/dist/questions/primitiveQuestions.d.ts +0 -555
- package/dist/questions/primitiveQuestions.js +0 -86
- /package/dist/questions/__tests__/{primitiveQuestions.spec.d.ts → numberQuestions.spec.d.ts} +0 -0
|
@@ -10,35 +10,41 @@
|
|
|
10
10
|
"type": "string",
|
|
11
11
|
"const": "boolean"
|
|
12
12
|
},
|
|
13
|
-
"
|
|
13
|
+
"attributes": {
|
|
14
14
|
"type": "object",
|
|
15
15
|
"properties": {
|
|
16
|
-
"
|
|
17
|
-
"type": "string"
|
|
18
|
-
|
|
16
|
+
"label": {
|
|
17
|
+
"type": "string"
|
|
18
|
+
},
|
|
19
|
+
"help": {
|
|
20
|
+
"type": "string"
|
|
19
21
|
},
|
|
20
22
|
"labelTranslationKey": {
|
|
21
23
|
"type": "string"
|
|
24
|
+
},
|
|
25
|
+
"checked": {
|
|
26
|
+
"type": "boolean"
|
|
22
27
|
}
|
|
23
28
|
},
|
|
24
|
-
"required": [
|
|
25
|
-
"schemaVersion"
|
|
26
|
-
],
|
|
27
29
|
"additionalProperties": false
|
|
28
30
|
},
|
|
29
|
-
"
|
|
31
|
+
"meta": {
|
|
30
32
|
"type": "object",
|
|
31
33
|
"properties": {
|
|
32
|
-
"
|
|
33
|
-
"type": "
|
|
34
|
+
"schemaVersion": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"const": "1.0"
|
|
34
37
|
}
|
|
35
38
|
},
|
|
39
|
+
"required": [
|
|
40
|
+
"schemaVersion"
|
|
41
|
+
],
|
|
36
42
|
"additionalProperties": false
|
|
37
43
|
}
|
|
38
44
|
},
|
|
39
45
|
"required": [
|
|
40
46
|
"type",
|
|
41
|
-
"
|
|
47
|
+
"attributes"
|
|
42
48
|
],
|
|
43
49
|
"additionalProperties": false
|
|
44
50
|
},
|
|
@@ -49,6 +55,21 @@
|
|
|
49
55
|
"type": "string",
|
|
50
56
|
"const": "checkBoxes"
|
|
51
57
|
},
|
|
58
|
+
"attributes": {
|
|
59
|
+
"type": "object",
|
|
60
|
+
"properties": {
|
|
61
|
+
"label": {
|
|
62
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/attributes/properties/label"
|
|
63
|
+
},
|
|
64
|
+
"help": {
|
|
65
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/attributes/properties/help"
|
|
66
|
+
},
|
|
67
|
+
"labelTranslationKey": {
|
|
68
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/attributes/properties/labelTranslationKey"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"additionalProperties": false
|
|
72
|
+
},
|
|
52
73
|
"meta": {
|
|
53
74
|
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/meta"
|
|
54
75
|
},
|
|
@@ -57,33 +78,19 @@
|
|
|
57
78
|
"items": {
|
|
58
79
|
"type": "object",
|
|
59
80
|
"properties": {
|
|
60
|
-
"
|
|
61
|
-
"type": "string"
|
|
62
|
-
"const": "option"
|
|
81
|
+
"label": {
|
|
82
|
+
"type": "string"
|
|
63
83
|
},
|
|
64
|
-
"
|
|
65
|
-
"type": "
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
},
|
|
70
|
-
"value": {
|
|
71
|
-
"type": "string"
|
|
72
|
-
},
|
|
73
|
-
"checked": {
|
|
74
|
-
"type": "boolean"
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
"required": [
|
|
78
|
-
"label",
|
|
79
|
-
"value"
|
|
80
|
-
],
|
|
81
|
-
"additionalProperties": false
|
|
84
|
+
"value": {
|
|
85
|
+
"type": "string"
|
|
86
|
+
},
|
|
87
|
+
"checked": {
|
|
88
|
+
"type": "boolean"
|
|
82
89
|
}
|
|
83
90
|
},
|
|
84
91
|
"required": [
|
|
85
|
-
"
|
|
86
|
-
"
|
|
92
|
+
"label",
|
|
93
|
+
"value"
|
|
87
94
|
],
|
|
88
95
|
"additionalProperties": false
|
|
89
96
|
}
|
|
@@ -91,7 +98,6 @@
|
|
|
91
98
|
},
|
|
92
99
|
"required": [
|
|
93
100
|
"type",
|
|
94
|
-
"meta",
|
|
95
101
|
"options"
|
|
96
102
|
],
|
|
97
103
|
"additionalProperties": false
|
|
@@ -103,27 +109,18 @@
|
|
|
103
109
|
"type": "string",
|
|
104
110
|
"const": "currency"
|
|
105
111
|
},
|
|
106
|
-
"
|
|
112
|
+
"attributes": {
|
|
107
113
|
"type": "object",
|
|
108
114
|
"properties": {
|
|
109
|
-
"
|
|
110
|
-
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/
|
|
115
|
+
"label": {
|
|
116
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/attributes/properties/label"
|
|
117
|
+
},
|
|
118
|
+
"help": {
|
|
119
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/attributes/properties/help"
|
|
111
120
|
},
|
|
112
121
|
"labelTranslationKey": {
|
|
113
|
-
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/
|
|
122
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/attributes/properties/labelTranslationKey"
|
|
114
123
|
},
|
|
115
|
-
"denomination": {
|
|
116
|
-
"type": "string"
|
|
117
|
-
}
|
|
118
|
-
},
|
|
119
|
-
"required": [
|
|
120
|
-
"schemaVersion"
|
|
121
|
-
],
|
|
122
|
-
"additionalProperties": false
|
|
123
|
-
},
|
|
124
|
-
"attributes": {
|
|
125
|
-
"type": "object",
|
|
126
|
-
"properties": {
|
|
127
124
|
"max": {
|
|
128
125
|
"type": "number"
|
|
129
126
|
},
|
|
@@ -132,14 +129,19 @@
|
|
|
132
129
|
},
|
|
133
130
|
"step": {
|
|
134
131
|
"type": "number"
|
|
132
|
+
},
|
|
133
|
+
"denomination": {
|
|
134
|
+
"type": "string"
|
|
135
135
|
}
|
|
136
136
|
},
|
|
137
137
|
"additionalProperties": false
|
|
138
|
+
},
|
|
139
|
+
"meta": {
|
|
140
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/meta"
|
|
138
141
|
}
|
|
139
142
|
},
|
|
140
143
|
"required": [
|
|
141
|
-
"type"
|
|
142
|
-
"meta"
|
|
144
|
+
"type"
|
|
143
145
|
],
|
|
144
146
|
"additionalProperties": false
|
|
145
147
|
},
|
|
@@ -150,12 +152,18 @@
|
|
|
150
152
|
"type": "string",
|
|
151
153
|
"const": "date"
|
|
152
154
|
},
|
|
153
|
-
"meta": {
|
|
154
|
-
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/meta"
|
|
155
|
-
},
|
|
156
155
|
"attributes": {
|
|
157
156
|
"type": "object",
|
|
158
157
|
"properties": {
|
|
158
|
+
"label": {
|
|
159
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/attributes/properties/label"
|
|
160
|
+
},
|
|
161
|
+
"help": {
|
|
162
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/attributes/properties/help"
|
|
163
|
+
},
|
|
164
|
+
"labelTranslationKey": {
|
|
165
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/attributes/properties/labelTranslationKey"
|
|
166
|
+
},
|
|
159
167
|
"max": {
|
|
160
168
|
"type": "string"
|
|
161
169
|
},
|
|
@@ -167,11 +175,13 @@
|
|
|
167
175
|
}
|
|
168
176
|
},
|
|
169
177
|
"additionalProperties": false
|
|
178
|
+
},
|
|
179
|
+
"meta": {
|
|
180
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/meta"
|
|
170
181
|
}
|
|
171
182
|
},
|
|
172
183
|
"required": [
|
|
173
|
-
"type"
|
|
174
|
-
"meta"
|
|
184
|
+
"type"
|
|
175
185
|
],
|
|
176
186
|
"additionalProperties": false
|
|
177
187
|
},
|
|
@@ -182,6 +192,9 @@
|
|
|
182
192
|
"type": "string",
|
|
183
193
|
"const": "dateRange"
|
|
184
194
|
},
|
|
195
|
+
"attributes": {
|
|
196
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/1/properties/attributes"
|
|
197
|
+
},
|
|
185
198
|
"meta": {
|
|
186
199
|
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/meta"
|
|
187
200
|
},
|
|
@@ -189,74 +202,17 @@
|
|
|
189
202
|
"type": "object",
|
|
190
203
|
"properties": {
|
|
191
204
|
"start": {
|
|
192
|
-
"
|
|
193
|
-
"properties": {
|
|
194
|
-
"type": {
|
|
195
|
-
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/3/properties/type"
|
|
196
|
-
},
|
|
197
|
-
"meta": {
|
|
198
|
-
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/meta"
|
|
199
|
-
},
|
|
200
|
-
"attributes": {
|
|
201
|
-
"type": "object",
|
|
202
|
-
"properties": {
|
|
203
|
-
"label": {
|
|
204
|
-
"type": "string"
|
|
205
|
-
}
|
|
206
|
-
},
|
|
207
|
-
"required": [
|
|
208
|
-
"label"
|
|
209
|
-
],
|
|
210
|
-
"additionalProperties": false
|
|
211
|
-
}
|
|
212
|
-
},
|
|
213
|
-
"required": [
|
|
214
|
-
"type",
|
|
215
|
-
"meta",
|
|
216
|
-
"attributes"
|
|
217
|
-
],
|
|
218
|
-
"additionalProperties": false
|
|
205
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/3/properties/attributes"
|
|
219
206
|
},
|
|
220
207
|
"end": {
|
|
221
|
-
"
|
|
222
|
-
"properties": {
|
|
223
|
-
"type": {
|
|
224
|
-
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/3/properties/type"
|
|
225
|
-
},
|
|
226
|
-
"meta": {
|
|
227
|
-
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/meta"
|
|
228
|
-
},
|
|
229
|
-
"attributes": {
|
|
230
|
-
"type": "object",
|
|
231
|
-
"properties": {
|
|
232
|
-
"label": {
|
|
233
|
-
"type": "string"
|
|
234
|
-
}
|
|
235
|
-
},
|
|
236
|
-
"required": [
|
|
237
|
-
"label"
|
|
238
|
-
],
|
|
239
|
-
"additionalProperties": false
|
|
240
|
-
}
|
|
241
|
-
},
|
|
242
|
-
"required": [
|
|
243
|
-
"type",
|
|
244
|
-
"meta",
|
|
245
|
-
"attributes"
|
|
246
|
-
],
|
|
247
|
-
"additionalProperties": false
|
|
208
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/3/properties/attributes"
|
|
248
209
|
}
|
|
249
210
|
},
|
|
250
|
-
"required": [
|
|
251
|
-
"start",
|
|
252
|
-
"end"
|
|
253
|
-
],
|
|
254
211
|
"additionalProperties": false
|
|
255
212
|
}
|
|
256
213
|
},
|
|
257
214
|
"required": [
|
|
258
215
|
"type",
|
|
259
|
-
"meta",
|
|
260
216
|
"columns"
|
|
261
217
|
],
|
|
262
218
|
"additionalProperties": false
|
|
@@ -268,31 +224,39 @@
|
|
|
268
224
|
"type": "string",
|
|
269
225
|
"const": "email"
|
|
270
226
|
},
|
|
271
|
-
"meta": {
|
|
272
|
-
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/meta"
|
|
273
|
-
},
|
|
274
227
|
"attributes": {
|
|
275
228
|
"type": "object",
|
|
276
229
|
"properties": {
|
|
230
|
+
"label": {
|
|
231
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/attributes/properties/label"
|
|
232
|
+
},
|
|
233
|
+
"help": {
|
|
234
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/attributes/properties/help"
|
|
235
|
+
},
|
|
236
|
+
"labelTranslationKey": {
|
|
237
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/attributes/properties/labelTranslationKey"
|
|
238
|
+
},
|
|
277
239
|
"maxLength": {
|
|
278
240
|
"type": "number"
|
|
279
241
|
},
|
|
280
242
|
"minLength": {
|
|
281
243
|
"type": "number"
|
|
282
244
|
},
|
|
283
|
-
"multiple": {
|
|
284
|
-
"type": "boolean"
|
|
285
|
-
},
|
|
286
245
|
"pattern": {
|
|
287
246
|
"type": "string"
|
|
247
|
+
},
|
|
248
|
+
"multiple": {
|
|
249
|
+
"type": "boolean"
|
|
288
250
|
}
|
|
289
251
|
},
|
|
290
252
|
"additionalProperties": false
|
|
253
|
+
},
|
|
254
|
+
"meta": {
|
|
255
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/meta"
|
|
291
256
|
}
|
|
292
257
|
},
|
|
293
258
|
"required": [
|
|
294
|
-
"type"
|
|
295
|
-
"meta"
|
|
259
|
+
"type"
|
|
296
260
|
],
|
|
297
261
|
"additionalProperties": false
|
|
298
262
|
},
|
|
@@ -303,6 +267,24 @@
|
|
|
303
267
|
"type": "string",
|
|
304
268
|
"const": "filteredSearch"
|
|
305
269
|
},
|
|
270
|
+
"attributes": {
|
|
271
|
+
"type": "object",
|
|
272
|
+
"properties": {
|
|
273
|
+
"label": {
|
|
274
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/attributes/properties/label"
|
|
275
|
+
},
|
|
276
|
+
"help": {
|
|
277
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/attributes/properties/help"
|
|
278
|
+
},
|
|
279
|
+
"labelTranslationKey": {
|
|
280
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/attributes/properties/labelTranslationKey"
|
|
281
|
+
},
|
|
282
|
+
"multiple": {
|
|
283
|
+
"type": "boolean"
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
"additionalProperties": false
|
|
287
|
+
},
|
|
306
288
|
"meta": {
|
|
307
289
|
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/meta"
|
|
308
290
|
},
|
|
@@ -377,20 +359,10 @@
|
|
|
377
359
|
"responseField"
|
|
378
360
|
],
|
|
379
361
|
"additionalProperties": false
|
|
380
|
-
},
|
|
381
|
-
"attributes": {
|
|
382
|
-
"type": "object",
|
|
383
|
-
"properties": {
|
|
384
|
-
"multiple": {
|
|
385
|
-
"type": "boolean"
|
|
386
|
-
}
|
|
387
|
-
},
|
|
388
|
-
"additionalProperties": false
|
|
389
362
|
}
|
|
390
363
|
},
|
|
391
364
|
"required": [
|
|
392
365
|
"type",
|
|
393
|
-
"meta",
|
|
394
366
|
"graphQL"
|
|
395
367
|
],
|
|
396
368
|
"additionalProperties": false
|
|
@@ -402,16 +374,36 @@
|
|
|
402
374
|
"type": "string",
|
|
403
375
|
"const": "number"
|
|
404
376
|
},
|
|
377
|
+
"attributes": {
|
|
378
|
+
"type": "object",
|
|
379
|
+
"properties": {
|
|
380
|
+
"label": {
|
|
381
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/attributes/properties/label"
|
|
382
|
+
},
|
|
383
|
+
"help": {
|
|
384
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/attributes/properties/help"
|
|
385
|
+
},
|
|
386
|
+
"labelTranslationKey": {
|
|
387
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/attributes/properties/labelTranslationKey"
|
|
388
|
+
},
|
|
389
|
+
"max": {
|
|
390
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/2/properties/attributes/properties/max"
|
|
391
|
+
},
|
|
392
|
+
"min": {
|
|
393
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/2/properties/attributes/properties/min"
|
|
394
|
+
},
|
|
395
|
+
"step": {
|
|
396
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/2/properties/attributes/properties/step"
|
|
397
|
+
}
|
|
398
|
+
},
|
|
399
|
+
"additionalProperties": false
|
|
400
|
+
},
|
|
405
401
|
"meta": {
|
|
406
402
|
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/meta"
|
|
407
|
-
},
|
|
408
|
-
"attributes": {
|
|
409
|
-
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/2/properties/attributes"
|
|
410
403
|
}
|
|
411
404
|
},
|
|
412
405
|
"required": [
|
|
413
|
-
"type"
|
|
414
|
-
"meta"
|
|
406
|
+
"type"
|
|
415
407
|
],
|
|
416
408
|
"additionalProperties": false
|
|
417
409
|
},
|
|
@@ -422,6 +414,9 @@
|
|
|
422
414
|
"type": "string",
|
|
423
415
|
"const": "radioButtons"
|
|
424
416
|
},
|
|
417
|
+
"attributes": {
|
|
418
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/1/properties/attributes"
|
|
419
|
+
},
|
|
425
420
|
"meta": {
|
|
426
421
|
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/meta"
|
|
427
422
|
},
|
|
@@ -430,33 +425,19 @@
|
|
|
430
425
|
"items": {
|
|
431
426
|
"type": "object",
|
|
432
427
|
"properties": {
|
|
433
|
-
"
|
|
434
|
-
"
|
|
435
|
-
"const": "option"
|
|
428
|
+
"label": {
|
|
429
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/1/properties/options/items/properties/label"
|
|
436
430
|
},
|
|
437
|
-
"
|
|
438
|
-
"
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
},
|
|
443
|
-
"value": {
|
|
444
|
-
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/1/properties/options/items/properties/attributes/properties/value"
|
|
445
|
-
},
|
|
446
|
-
"selected": {
|
|
447
|
-
"type": "boolean"
|
|
448
|
-
}
|
|
449
|
-
},
|
|
450
|
-
"required": [
|
|
451
|
-
"label",
|
|
452
|
-
"value"
|
|
453
|
-
],
|
|
454
|
-
"additionalProperties": false
|
|
431
|
+
"value": {
|
|
432
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/1/properties/options/items/properties/value"
|
|
433
|
+
},
|
|
434
|
+
"selected": {
|
|
435
|
+
"type": "boolean"
|
|
455
436
|
}
|
|
456
437
|
},
|
|
457
438
|
"required": [
|
|
458
|
-
"
|
|
459
|
-
"
|
|
439
|
+
"label",
|
|
440
|
+
"value"
|
|
460
441
|
],
|
|
461
442
|
"additionalProperties": false
|
|
462
443
|
}
|
|
@@ -464,7 +445,6 @@
|
|
|
464
445
|
},
|
|
465
446
|
"required": [
|
|
466
447
|
"type",
|
|
467
|
-
"meta",
|
|
468
448
|
"options"
|
|
469
449
|
],
|
|
470
450
|
"additionalProperties": false
|
|
@@ -476,28 +456,36 @@
|
|
|
476
456
|
"type": "string",
|
|
477
457
|
"const": "selectBox"
|
|
478
458
|
},
|
|
479
|
-
"meta": {
|
|
480
|
-
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/meta"
|
|
481
|
-
},
|
|
482
|
-
"options": {
|
|
483
|
-
"type": "array",
|
|
484
|
-
"items": {
|
|
485
|
-
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/8/properties/options/items"
|
|
486
|
-
}
|
|
487
|
-
},
|
|
488
459
|
"attributes": {
|
|
489
460
|
"type": "object",
|
|
490
461
|
"properties": {
|
|
462
|
+
"label": {
|
|
463
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/attributes/properties/label"
|
|
464
|
+
},
|
|
465
|
+
"help": {
|
|
466
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/attributes/properties/help"
|
|
467
|
+
},
|
|
468
|
+
"labelTranslationKey": {
|
|
469
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/attributes/properties/labelTranslationKey"
|
|
470
|
+
},
|
|
491
471
|
"multiple": {
|
|
492
472
|
"type": "boolean"
|
|
493
473
|
}
|
|
494
474
|
},
|
|
495
475
|
"additionalProperties": false
|
|
476
|
+
},
|
|
477
|
+
"meta": {
|
|
478
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/meta"
|
|
479
|
+
},
|
|
480
|
+
"options": {
|
|
481
|
+
"type": "array",
|
|
482
|
+
"items": {
|
|
483
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/8/properties/options/items"
|
|
484
|
+
}
|
|
496
485
|
}
|
|
497
486
|
},
|
|
498
487
|
"required": [
|
|
499
488
|
"type",
|
|
500
|
-
"meta",
|
|
501
489
|
"options"
|
|
502
490
|
],
|
|
503
491
|
"additionalProperties": false
|
|
@@ -509,27 +497,18 @@
|
|
|
509
497
|
"type": "string",
|
|
510
498
|
"const": "textArea"
|
|
511
499
|
},
|
|
512
|
-
"
|
|
500
|
+
"attributes": {
|
|
513
501
|
"type": "object",
|
|
514
502
|
"properties": {
|
|
515
|
-
"
|
|
516
|
-
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/
|
|
503
|
+
"label": {
|
|
504
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/attributes/properties/label"
|
|
505
|
+
},
|
|
506
|
+
"help": {
|
|
507
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/attributes/properties/help"
|
|
517
508
|
},
|
|
518
509
|
"labelTranslationKey": {
|
|
519
|
-
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/
|
|
510
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/attributes/properties/labelTranslationKey"
|
|
520
511
|
},
|
|
521
|
-
"asRichText": {
|
|
522
|
-
"type": "boolean"
|
|
523
|
-
}
|
|
524
|
-
},
|
|
525
|
-
"required": [
|
|
526
|
-
"schemaVersion"
|
|
527
|
-
],
|
|
528
|
-
"additionalProperties": false
|
|
529
|
-
},
|
|
530
|
-
"attributes": {
|
|
531
|
-
"type": "object",
|
|
532
|
-
"properties": {
|
|
533
512
|
"cols": {
|
|
534
513
|
"type": "number"
|
|
535
514
|
},
|
|
@@ -544,6 +523,21 @@
|
|
|
544
523
|
}
|
|
545
524
|
},
|
|
546
525
|
"additionalProperties": false
|
|
526
|
+
},
|
|
527
|
+
"meta": {
|
|
528
|
+
"type": "object",
|
|
529
|
+
"properties": {
|
|
530
|
+
"schemaVersion": {
|
|
531
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/meta/properties/schemaVersion"
|
|
532
|
+
},
|
|
533
|
+
"asRichText": {
|
|
534
|
+
"type": "boolean"
|
|
535
|
+
}
|
|
536
|
+
},
|
|
537
|
+
"required": [
|
|
538
|
+
"schemaVersion"
|
|
539
|
+
],
|
|
540
|
+
"additionalProperties": false
|
|
547
541
|
}
|
|
548
542
|
},
|
|
549
543
|
"required": [
|
|
@@ -559,28 +553,36 @@
|
|
|
559
553
|
"type": "string",
|
|
560
554
|
"const": "text"
|
|
561
555
|
},
|
|
562
|
-
"meta": {
|
|
563
|
-
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/meta"
|
|
564
|
-
},
|
|
565
556
|
"attributes": {
|
|
566
557
|
"type": "object",
|
|
567
558
|
"properties": {
|
|
559
|
+
"label": {
|
|
560
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/attributes/properties/label"
|
|
561
|
+
},
|
|
562
|
+
"help": {
|
|
563
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/attributes/properties/help"
|
|
564
|
+
},
|
|
565
|
+
"labelTranslationKey": {
|
|
566
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/attributes/properties/labelTranslationKey"
|
|
567
|
+
},
|
|
568
568
|
"maxLength": {
|
|
569
|
-
"
|
|
569
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/5/properties/attributes/properties/maxLength"
|
|
570
570
|
},
|
|
571
571
|
"minLength": {
|
|
572
|
-
"
|
|
572
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/5/properties/attributes/properties/minLength"
|
|
573
573
|
},
|
|
574
574
|
"pattern": {
|
|
575
|
-
"
|
|
575
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/5/properties/attributes/properties/pattern"
|
|
576
576
|
}
|
|
577
577
|
},
|
|
578
578
|
"additionalProperties": false
|
|
579
|
+
},
|
|
580
|
+
"meta": {
|
|
581
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/meta"
|
|
579
582
|
}
|
|
580
583
|
},
|
|
581
584
|
"required": [
|
|
582
|
-
"type"
|
|
583
|
-
"meta"
|
|
585
|
+
"type"
|
|
584
586
|
],
|
|
585
587
|
"additionalProperties": false
|
|
586
588
|
},
|
|
@@ -591,6 +593,9 @@
|
|
|
591
593
|
"type": "string",
|
|
592
594
|
"const": "typeaheadSearch"
|
|
593
595
|
},
|
|
596
|
+
"attributes": {
|
|
597
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/1/properties/attributes"
|
|
598
|
+
},
|
|
594
599
|
"meta": {
|
|
595
600
|
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/meta"
|
|
596
601
|
},
|
|
@@ -600,7 +605,6 @@
|
|
|
600
605
|
},
|
|
601
606
|
"required": [
|
|
602
607
|
"type",
|
|
603
|
-
"meta",
|
|
604
608
|
"graphQL"
|
|
605
609
|
],
|
|
606
610
|
"additionalProperties": false
|
|
@@ -612,28 +616,15 @@
|
|
|
612
616
|
"type": "string",
|
|
613
617
|
"const": "url"
|
|
614
618
|
},
|
|
619
|
+
"attributes": {
|
|
620
|
+
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/11/properties/attributes"
|
|
621
|
+
},
|
|
615
622
|
"meta": {
|
|
616
623
|
"$ref": "#/definitions/AnyTableColumnQuestion/anyOf/0/properties/meta"
|
|
617
|
-
},
|
|
618
|
-
"attributes": {
|
|
619
|
-
"type": "object",
|
|
620
|
-
"properties": {
|
|
621
|
-
"maxLength": {
|
|
622
|
-
"type": "number"
|
|
623
|
-
},
|
|
624
|
-
"minLength": {
|
|
625
|
-
"type": "number"
|
|
626
|
-
},
|
|
627
|
-
"pattern": {
|
|
628
|
-
"type": "string"
|
|
629
|
-
}
|
|
630
|
-
},
|
|
631
|
-
"additionalProperties": false
|
|
632
624
|
}
|
|
633
625
|
},
|
|
634
626
|
"required": [
|
|
635
|
-
"type"
|
|
636
|
-
"meta"
|
|
627
|
+
"type"
|
|
637
628
|
],
|
|
638
629
|
"additionalProperties": false
|
|
639
630
|
}
|