@dmptool/types 1.0.6 → 1.0.8

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.
Files changed (43) hide show
  1. package/README.md +5 -4
  2. package/dist/answers/__tests__/answers.spec.js +59 -7
  3. package/dist/answers/answer.d.ts +3 -3
  4. package/dist/answers/dateAnswers.d.ts +5 -5
  5. package/dist/answers/dateAnswers.js +3 -3
  6. package/dist/answers/index.d.ts +892 -513
  7. package/dist/answers/index.js +3 -2
  8. package/dist/answers/primitiveAnswers.d.ts +40 -0
  9. package/dist/answers/primitiveAnswers.js +8 -1
  10. package/dist/answers/tableAnswers.d.ts +1639 -32
  11. package/dist/answers/tableAnswers.js +10 -3
  12. package/dist/questions/__tests__/dateQuestions.spec.js +20 -20
  13. package/dist/questions/__tests__/primitiveQuestions.spec.js +92 -0
  14. package/dist/questions/__tests__/tableQuestion.spec.d.ts +1 -0
  15. package/dist/questions/__tests__/tableQuestion.spec.js +73 -0
  16. package/dist/questions/dateQuestions.d.ts +19 -19
  17. package/dist/questions/dateQuestions.js +8 -8
  18. package/dist/questions/graphQLQuestions.d.ts +20 -20
  19. package/dist/questions/graphQLQuestions.js +1 -1
  20. package/dist/questions/index.d.ts +1856 -1413
  21. package/dist/questions/index.js +3 -2
  22. package/dist/questions/optionBasedQuestions.js +1 -1
  23. package/dist/questions/primitiveQuestions.d.ts +193 -0
  24. package/dist/questions/primitiveQuestions.js +17 -1
  25. package/dist/questions/question.d.ts +4 -4
  26. package/dist/questions/question.js +2 -1
  27. package/dist/questions/tableQuestions.d.ts +2124 -145
  28. package/dist/questions/tableQuestions.js +7 -3
  29. package/dist/schemas/anyAnswer.schema.json +144 -119
  30. package/dist/schemas/anyQuestion.schema.json +148 -137
  31. package/dist/schemas/anyTableColumnAnswer.schema.json +1 -1
  32. package/dist/schemas/anyTableColumnQuestion.schema.json +2 -3
  33. package/dist/schemas/dateAnswer.schema.json +37 -0
  34. package/dist/schemas/datePickerAnswer.schema.json +4 -4
  35. package/dist/schemas/datePickerQuestion.schema.json +6 -5
  36. package/dist/schemas/dateQuestion.schema.json +51 -0
  37. package/dist/schemas/dateRangeQuestion.schema.json +1 -1
  38. package/dist/schemas/filteredSearchQuestion.schema.json +1 -2
  39. package/dist/schemas/numberRangeAnswer.schema.json +50 -0
  40. package/dist/schemas/numberRangeQuestion.schema.json +106 -0
  41. package/dist/schemas/tableAnswer.schema.json +349 -324
  42. package/dist/schemas/tableQuestion.schema.json +491 -480
  43. package/package.json +1 -1
@@ -175,7 +175,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
175
175
  labelTranslationKey?: string | undefined;
176
176
  }>;
177
177
  } & {
178
- type: z.ZodLiteral<"datePicker">;
178
+ type: z.ZodLiteral<"date">;
179
179
  attributes: z.ZodOptional<z.ZodObject<{
180
180
  max: z.ZodOptional<z.ZodString>;
181
181
  min: z.ZodOptional<z.ZodString>;
@@ -190,7 +190,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
190
190
  step?: number | undefined;
191
191
  }>>;
192
192
  }, "strip", z.ZodTypeAny, {
193
- type: "datePicker";
193
+ type: "date";
194
194
  meta: {
195
195
  schemaVersion: "1.0";
196
196
  labelTranslationKey?: string | undefined;
@@ -201,7 +201,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
201
201
  step?: number | undefined;
202
202
  } | undefined;
203
203
  }, {
204
- type: "datePicker";
204
+ type: "date";
205
205
  meta: {
206
206
  schemaVersion: "1.0";
207
207
  labelTranslationKey?: string | undefined;
@@ -236,7 +236,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
236
236
  schemaVersion: "1.0";
237
237
  labelTranslationKey?: string | undefined;
238
238
  }>;
239
- type: z.ZodLiteral<"datePicker">;
239
+ type: z.ZodLiteral<"date">;
240
240
  } & {
241
241
  attributes: z.ZodObject<{
242
242
  label: z.ZodString;
@@ -246,7 +246,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
246
246
  label: string;
247
247
  }>;
248
248
  }, "strip", z.ZodTypeAny, {
249
- type: "datePicker";
249
+ type: "date";
250
250
  meta: {
251
251
  schemaVersion: "1.0";
252
252
  labelTranslationKey?: string | undefined;
@@ -255,7 +255,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
255
255
  label: string;
256
256
  };
257
257
  }, {
258
- type: "datePicker";
258
+ type: "date";
259
259
  meta: {
260
260
  schemaVersion: "1.0";
261
261
  labelTranslationKey?: string | undefined;
@@ -275,7 +275,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
275
275
  schemaVersion: "1.0";
276
276
  labelTranslationKey?: string | undefined;
277
277
  }>;
278
- type: z.ZodLiteral<"datePicker">;
278
+ type: z.ZodLiteral<"date">;
279
279
  } & {
280
280
  attributes: z.ZodObject<{
281
281
  label: z.ZodString;
@@ -285,7 +285,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
285
285
  label: string;
286
286
  }>;
287
287
  }, "strip", z.ZodTypeAny, {
288
- type: "datePicker";
288
+ type: "date";
289
289
  meta: {
290
290
  schemaVersion: "1.0";
291
291
  labelTranslationKey?: string | undefined;
@@ -294,7 +294,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
294
294
  label: string;
295
295
  };
296
296
  }, {
297
- type: "datePicker";
297
+ type: "date";
298
298
  meta: {
299
299
  schemaVersion: "1.0";
300
300
  labelTranslationKey?: string | undefined;
@@ -305,7 +305,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
305
305
  }>;
306
306
  }, "strip", z.ZodTypeAny, {
307
307
  start: {
308
- type: "datePicker";
308
+ type: "date";
309
309
  meta: {
310
310
  schemaVersion: "1.0";
311
311
  labelTranslationKey?: string | undefined;
@@ -315,7 +315,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
315
315
  };
316
316
  };
317
317
  end: {
318
- type: "datePicker";
318
+ type: "date";
319
319
  meta: {
320
320
  schemaVersion: "1.0";
321
321
  labelTranslationKey?: string | undefined;
@@ -326,7 +326,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
326
326
  };
327
327
  }, {
328
328
  start: {
329
- type: "datePicker";
329
+ type: "date";
330
330
  meta: {
331
331
  schemaVersion: "1.0";
332
332
  labelTranslationKey?: string | undefined;
@@ -336,7 +336,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
336
336
  };
337
337
  };
338
338
  end: {
339
- type: "datePicker";
339
+ type: "date";
340
340
  meta: {
341
341
  schemaVersion: "1.0";
342
342
  labelTranslationKey?: string | undefined;
@@ -354,7 +354,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
354
354
  };
355
355
  columns: {
356
356
  start: {
357
- type: "datePicker";
357
+ type: "date";
358
358
  meta: {
359
359
  schemaVersion: "1.0";
360
360
  labelTranslationKey?: string | undefined;
@@ -364,7 +364,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
364
364
  };
365
365
  };
366
366
  end: {
367
- type: "datePicker";
367
+ type: "date";
368
368
  meta: {
369
369
  schemaVersion: "1.0";
370
370
  labelTranslationKey?: string | undefined;
@@ -382,7 +382,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
382
382
  };
383
383
  columns: {
384
384
  start: {
385
- type: "datePicker";
385
+ type: "date";
386
386
  meta: {
387
387
  schemaVersion: "1.0";
388
388
  labelTranslationKey?: string | undefined;
@@ -392,7 +392,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
392
392
  };
393
393
  };
394
394
  end: {
395
- type: "datePicker";
395
+ type: "date";
396
396
  meta: {
397
397
  schemaVersion: "1.0";
398
398
  labelTranslationKey?: string | undefined;
@@ -496,15 +496,15 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
496
496
  type: string;
497
497
  name: string;
498
498
  labelTranslationKey?: string | undefined;
499
- minLength?: number | undefined;
500
499
  label?: string | undefined;
500
+ minLength?: number | undefined;
501
501
  defaultValue?: string | undefined;
502
502
  }, {
503
503
  type: string;
504
504
  name: string;
505
505
  labelTranslationKey?: string | undefined;
506
- minLength?: number | undefined;
507
506
  label?: string | undefined;
507
+ minLength?: number | undefined;
508
508
  defaultValue?: string | undefined;
509
509
  }>, "many">>;
510
510
  }, "strip", z.ZodTypeAny, {
@@ -520,8 +520,8 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
520
520
  type: string;
521
521
  name: string;
522
522
  labelTranslationKey?: string | undefined;
523
- minLength?: number | undefined;
524
523
  label?: string | undefined;
524
+ minLength?: number | undefined;
525
525
  defaultValue?: string | undefined;
526
526
  }[] | undefined;
527
527
  }, {
@@ -537,27 +537,24 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
537
537
  type: string;
538
538
  name: string;
539
539
  labelTranslationKey?: string | undefined;
540
- minLength?: number | undefined;
541
540
  label?: string | undefined;
541
+ minLength?: number | undefined;
542
542
  defaultValue?: string | undefined;
543
543
  }[] | undefined;
544
544
  }>;
545
- attributes: z.ZodObject<{
545
+ attributes: z.ZodOptional<z.ZodObject<{
546
546
  multiple: z.ZodOptional<z.ZodBoolean>;
547
547
  }, "strip", z.ZodTypeAny, {
548
548
  multiple?: boolean | undefined;
549
549
  }, {
550
550
  multiple?: boolean | undefined;
551
- }>;
551
+ }>>;
552
552
  }, "strip", z.ZodTypeAny, {
553
553
  type: "filteredSearch";
554
554
  meta: {
555
555
  schemaVersion: "1.0";
556
556
  labelTranslationKey?: string | undefined;
557
557
  };
558
- attributes: {
559
- multiple?: boolean | undefined;
560
- };
561
558
  graphQL: {
562
559
  displayFields: {
563
560
  label: string;
@@ -571,20 +568,20 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
571
568
  type: string;
572
569
  name: string;
573
570
  labelTranslationKey?: string | undefined;
574
- minLength?: number | undefined;
575
571
  label?: string | undefined;
572
+ minLength?: number | undefined;
576
573
  defaultValue?: string | undefined;
577
574
  }[] | undefined;
578
575
  };
576
+ attributes?: {
577
+ multiple?: boolean | undefined;
578
+ } | undefined;
579
579
  }, {
580
580
  type: "filteredSearch";
581
581
  meta: {
582
582
  schemaVersion: "1.0";
583
583
  labelTranslationKey?: string | undefined;
584
584
  };
585
- attributes: {
586
- multiple?: boolean | undefined;
587
- };
588
585
  graphQL: {
589
586
  displayFields: {
590
587
  label: string;
@@ -598,11 +595,14 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
598
595
  type: string;
599
596
  name: string;
600
597
  labelTranslationKey?: string | undefined;
601
- minLength?: number | undefined;
602
598
  label?: string | undefined;
599
+ minLength?: number | undefined;
603
600
  defaultValue?: string | undefined;
604
601
  }[] | undefined;
605
602
  };
603
+ attributes?: {
604
+ multiple?: boolean | undefined;
605
+ } | undefined;
606
606
  }>, z.ZodObject<{
607
607
  meta: z.ZodObject<{
608
608
  schemaVersion: z.ZodLiteral<"1.0">;
@@ -955,15 +955,15 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
955
955
  type: string;
956
956
  name: string;
957
957
  labelTranslationKey?: string | undefined;
958
- minLength?: number | undefined;
959
958
  label?: string | undefined;
959
+ minLength?: number | undefined;
960
960
  defaultValue?: string | undefined;
961
961
  }, {
962
962
  type: string;
963
963
  name: string;
964
964
  labelTranslationKey?: string | undefined;
965
- minLength?: number | undefined;
966
965
  label?: string | undefined;
966
+ minLength?: number | undefined;
967
967
  defaultValue?: string | undefined;
968
968
  }>, "many">>;
969
969
  }, "strip", z.ZodTypeAny, {
@@ -979,8 +979,8 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
979
979
  type: string;
980
980
  name: string;
981
981
  labelTranslationKey?: string | undefined;
982
- minLength?: number | undefined;
983
982
  label?: string | undefined;
983
+ minLength?: number | undefined;
984
984
  defaultValue?: string | undefined;
985
985
  }[] | undefined;
986
986
  }, {
@@ -996,8 +996,8 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
996
996
  type: string;
997
997
  name: string;
998
998
  labelTranslationKey?: string | undefined;
999
- minLength?: number | undefined;
1000
999
  label?: string | undefined;
1000
+ minLength?: number | undefined;
1001
1001
  defaultValue?: string | undefined;
1002
1002
  }[] | undefined;
1003
1003
  }>;
@@ -1020,8 +1020,8 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
1020
1020
  type: string;
1021
1021
  name: string;
1022
1022
  labelTranslationKey?: string | undefined;
1023
- minLength?: number | undefined;
1024
1023
  label?: string | undefined;
1024
+ minLength?: number | undefined;
1025
1025
  defaultValue?: string | undefined;
1026
1026
  }[] | undefined;
1027
1027
  };
@@ -1044,8 +1044,8 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
1044
1044
  type: string;
1045
1045
  name: string;
1046
1046
  labelTranslationKey?: string | undefined;
1047
- minLength?: number | undefined;
1048
1047
  label?: string | undefined;
1048
+ minLength?: number | undefined;
1049
1049
  defaultValue?: string | undefined;
1050
1050
  }[] | undefined;
1051
1051
  };
@@ -1098,20 +1098,9 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
1098
1098
  pattern?: string | undefined;
1099
1099
  } | undefined;
1100
1100
  }>]>;
1101
- export declare const TableQuestionSchema: z.ZodObject<{
1102
- meta: z.ZodObject<{
1103
- schemaVersion: z.ZodLiteral<"1.0">;
1104
- labelTranslationKey: z.ZodOptional<z.ZodString>;
1105
- }, "strip", z.ZodTypeAny, {
1106
- schemaVersion: "1.0";
1107
- labelTranslationKey?: string | undefined;
1108
- }, {
1109
- schemaVersion: "1.0";
1110
- labelTranslationKey?: string | undefined;
1111
- }>;
1112
- } & {
1113
- type: z.ZodLiteral<"table">;
1114
- columns: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1101
+ export declare const TableColumn: z.ZodObject<{
1102
+ heading: z.ZodOptional<z.ZodString>;
1103
+ content: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1115
1104
  meta: z.ZodObject<{
1116
1105
  schemaVersion: z.ZodLiteral<"1.0">;
1117
1106
  labelTranslationKey: z.ZodOptional<z.ZodString>;
@@ -1287,7 +1276,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1287
1276
  labelTranslationKey?: string | undefined;
1288
1277
  }>;
1289
1278
  } & {
1290
- type: z.ZodLiteral<"datePicker">;
1279
+ type: z.ZodLiteral<"date">;
1291
1280
  attributes: z.ZodOptional<z.ZodObject<{
1292
1281
  max: z.ZodOptional<z.ZodString>;
1293
1282
  min: z.ZodOptional<z.ZodString>;
@@ -1302,7 +1291,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1302
1291
  step?: number | undefined;
1303
1292
  }>>;
1304
1293
  }, "strip", z.ZodTypeAny, {
1305
- type: "datePicker";
1294
+ type: "date";
1306
1295
  meta: {
1307
1296
  schemaVersion: "1.0";
1308
1297
  labelTranslationKey?: string | undefined;
@@ -1313,7 +1302,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1313
1302
  step?: number | undefined;
1314
1303
  } | undefined;
1315
1304
  }, {
1316
- type: "datePicker";
1305
+ type: "date";
1317
1306
  meta: {
1318
1307
  schemaVersion: "1.0";
1319
1308
  labelTranslationKey?: string | undefined;
@@ -1348,7 +1337,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1348
1337
  schemaVersion: "1.0";
1349
1338
  labelTranslationKey?: string | undefined;
1350
1339
  }>;
1351
- type: z.ZodLiteral<"datePicker">;
1340
+ type: z.ZodLiteral<"date">;
1352
1341
  } & {
1353
1342
  attributes: z.ZodObject<{
1354
1343
  label: z.ZodString;
@@ -1358,7 +1347,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1358
1347
  label: string;
1359
1348
  }>;
1360
1349
  }, "strip", z.ZodTypeAny, {
1361
- type: "datePicker";
1350
+ type: "date";
1362
1351
  meta: {
1363
1352
  schemaVersion: "1.0";
1364
1353
  labelTranslationKey?: string | undefined;
@@ -1367,7 +1356,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1367
1356
  label: string;
1368
1357
  };
1369
1358
  }, {
1370
- type: "datePicker";
1359
+ type: "date";
1371
1360
  meta: {
1372
1361
  schemaVersion: "1.0";
1373
1362
  labelTranslationKey?: string | undefined;
@@ -1387,7 +1376,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1387
1376
  schemaVersion: "1.0";
1388
1377
  labelTranslationKey?: string | undefined;
1389
1378
  }>;
1390
- type: z.ZodLiteral<"datePicker">;
1379
+ type: z.ZodLiteral<"date">;
1391
1380
  } & {
1392
1381
  attributes: z.ZodObject<{
1393
1382
  label: z.ZodString;
@@ -1397,7 +1386,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1397
1386
  label: string;
1398
1387
  }>;
1399
1388
  }, "strip", z.ZodTypeAny, {
1400
- type: "datePicker";
1389
+ type: "date";
1401
1390
  meta: {
1402
1391
  schemaVersion: "1.0";
1403
1392
  labelTranslationKey?: string | undefined;
@@ -1406,7 +1395,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1406
1395
  label: string;
1407
1396
  };
1408
1397
  }, {
1409
- type: "datePicker";
1398
+ type: "date";
1410
1399
  meta: {
1411
1400
  schemaVersion: "1.0";
1412
1401
  labelTranslationKey?: string | undefined;
@@ -1417,7 +1406,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1417
1406
  }>;
1418
1407
  }, "strip", z.ZodTypeAny, {
1419
1408
  start: {
1420
- type: "datePicker";
1409
+ type: "date";
1421
1410
  meta: {
1422
1411
  schemaVersion: "1.0";
1423
1412
  labelTranslationKey?: string | undefined;
@@ -1427,7 +1416,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1427
1416
  };
1428
1417
  };
1429
1418
  end: {
1430
- type: "datePicker";
1419
+ type: "date";
1431
1420
  meta: {
1432
1421
  schemaVersion: "1.0";
1433
1422
  labelTranslationKey?: string | undefined;
@@ -1438,7 +1427,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1438
1427
  };
1439
1428
  }, {
1440
1429
  start: {
1441
- type: "datePicker";
1430
+ type: "date";
1442
1431
  meta: {
1443
1432
  schemaVersion: "1.0";
1444
1433
  labelTranslationKey?: string | undefined;
@@ -1448,7 +1437,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1448
1437
  };
1449
1438
  };
1450
1439
  end: {
1451
- type: "datePicker";
1440
+ type: "date";
1452
1441
  meta: {
1453
1442
  schemaVersion: "1.0";
1454
1443
  labelTranslationKey?: string | undefined;
@@ -1466,7 +1455,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1466
1455
  };
1467
1456
  columns: {
1468
1457
  start: {
1469
- type: "datePicker";
1458
+ type: "date";
1470
1459
  meta: {
1471
1460
  schemaVersion: "1.0";
1472
1461
  labelTranslationKey?: string | undefined;
@@ -1476,7 +1465,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1476
1465
  };
1477
1466
  };
1478
1467
  end: {
1479
- type: "datePicker";
1468
+ type: "date";
1480
1469
  meta: {
1481
1470
  schemaVersion: "1.0";
1482
1471
  labelTranslationKey?: string | undefined;
@@ -1494,7 +1483,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1494
1483
  };
1495
1484
  columns: {
1496
1485
  start: {
1497
- type: "datePicker";
1486
+ type: "date";
1498
1487
  meta: {
1499
1488
  schemaVersion: "1.0";
1500
1489
  labelTranslationKey?: string | undefined;
@@ -1504,7 +1493,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1504
1493
  };
1505
1494
  };
1506
1495
  end: {
1507
- type: "datePicker";
1496
+ type: "date";
1508
1497
  meta: {
1509
1498
  schemaVersion: "1.0";
1510
1499
  labelTranslationKey?: string | undefined;
@@ -1608,15 +1597,15 @@ export declare const TableQuestionSchema: z.ZodObject<{
1608
1597
  type: string;
1609
1598
  name: string;
1610
1599
  labelTranslationKey?: string | undefined;
1611
- minLength?: number | undefined;
1612
1600
  label?: string | undefined;
1601
+ minLength?: number | undefined;
1613
1602
  defaultValue?: string | undefined;
1614
1603
  }, {
1615
1604
  type: string;
1616
1605
  name: string;
1617
1606
  labelTranslationKey?: string | undefined;
1618
- minLength?: number | undefined;
1619
1607
  label?: string | undefined;
1608
+ minLength?: number | undefined;
1620
1609
  defaultValue?: string | undefined;
1621
1610
  }>, "many">>;
1622
1611
  }, "strip", z.ZodTypeAny, {
@@ -1632,8 +1621,8 @@ export declare const TableQuestionSchema: z.ZodObject<{
1632
1621
  type: string;
1633
1622
  name: string;
1634
1623
  labelTranslationKey?: string | undefined;
1635
- minLength?: number | undefined;
1636
1624
  label?: string | undefined;
1625
+ minLength?: number | undefined;
1637
1626
  defaultValue?: string | undefined;
1638
1627
  }[] | undefined;
1639
1628
  }, {
@@ -1649,27 +1638,24 @@ export declare const TableQuestionSchema: z.ZodObject<{
1649
1638
  type: string;
1650
1639
  name: string;
1651
1640
  labelTranslationKey?: string | undefined;
1652
- minLength?: number | undefined;
1653
1641
  label?: string | undefined;
1642
+ minLength?: number | undefined;
1654
1643
  defaultValue?: string | undefined;
1655
1644
  }[] | undefined;
1656
1645
  }>;
1657
- attributes: z.ZodObject<{
1646
+ attributes: z.ZodOptional<z.ZodObject<{
1658
1647
  multiple: z.ZodOptional<z.ZodBoolean>;
1659
1648
  }, "strip", z.ZodTypeAny, {
1660
1649
  multiple?: boolean | undefined;
1661
1650
  }, {
1662
1651
  multiple?: boolean | undefined;
1663
- }>;
1652
+ }>>;
1664
1653
  }, "strip", z.ZodTypeAny, {
1665
1654
  type: "filteredSearch";
1666
1655
  meta: {
1667
1656
  schemaVersion: "1.0";
1668
1657
  labelTranslationKey?: string | undefined;
1669
1658
  };
1670
- attributes: {
1671
- multiple?: boolean | undefined;
1672
- };
1673
1659
  graphQL: {
1674
1660
  displayFields: {
1675
1661
  label: string;
@@ -1683,20 +1669,20 @@ export declare const TableQuestionSchema: z.ZodObject<{
1683
1669
  type: string;
1684
1670
  name: string;
1685
1671
  labelTranslationKey?: string | undefined;
1686
- minLength?: number | undefined;
1687
1672
  label?: string | undefined;
1673
+ minLength?: number | undefined;
1688
1674
  defaultValue?: string | undefined;
1689
1675
  }[] | undefined;
1690
1676
  };
1677
+ attributes?: {
1678
+ multiple?: boolean | undefined;
1679
+ } | undefined;
1691
1680
  }, {
1692
1681
  type: "filteredSearch";
1693
1682
  meta: {
1694
1683
  schemaVersion: "1.0";
1695
1684
  labelTranslationKey?: string | undefined;
1696
1685
  };
1697
- attributes: {
1698
- multiple?: boolean | undefined;
1699
- };
1700
1686
  graphQL: {
1701
1687
  displayFields: {
1702
1688
  label: string;
@@ -1710,11 +1696,14 @@ export declare const TableQuestionSchema: z.ZodObject<{
1710
1696
  type: string;
1711
1697
  name: string;
1712
1698
  labelTranslationKey?: string | undefined;
1713
- minLength?: number | undefined;
1714
1699
  label?: string | undefined;
1700
+ minLength?: number | undefined;
1715
1701
  defaultValue?: string | undefined;
1716
1702
  }[] | undefined;
1717
1703
  };
1704
+ attributes?: {
1705
+ multiple?: boolean | undefined;
1706
+ } | undefined;
1718
1707
  }>, z.ZodObject<{
1719
1708
  meta: z.ZodObject<{
1720
1709
  schemaVersion: z.ZodLiteral<"1.0">;
@@ -2067,15 +2056,15 @@ export declare const TableQuestionSchema: z.ZodObject<{
2067
2056
  type: string;
2068
2057
  name: string;
2069
2058
  labelTranslationKey?: string | undefined;
2070
- minLength?: number | undefined;
2071
2059
  label?: string | undefined;
2060
+ minLength?: number | undefined;
2072
2061
  defaultValue?: string | undefined;
2073
2062
  }, {
2074
2063
  type: string;
2075
2064
  name: string;
2076
2065
  labelTranslationKey?: string | undefined;
2077
- minLength?: number | undefined;
2078
2066
  label?: string | undefined;
2067
+ minLength?: number | undefined;
2079
2068
  defaultValue?: string | undefined;
2080
2069
  }>, "many">>;
2081
2070
  }, "strip", z.ZodTypeAny, {
@@ -2091,8 +2080,8 @@ export declare const TableQuestionSchema: z.ZodObject<{
2091
2080
  type: string;
2092
2081
  name: string;
2093
2082
  labelTranslationKey?: string | undefined;
2094
- minLength?: number | undefined;
2095
2083
  label?: string | undefined;
2084
+ minLength?: number | undefined;
2096
2085
  defaultValue?: string | undefined;
2097
2086
  }[] | undefined;
2098
2087
  }, {
@@ -2108,8 +2097,8 @@ export declare const TableQuestionSchema: z.ZodObject<{
2108
2097
  type: string;
2109
2098
  name: string;
2110
2099
  labelTranslationKey?: string | undefined;
2111
- minLength?: number | undefined;
2112
2100
  label?: string | undefined;
2101
+ minLength?: number | undefined;
2113
2102
  defaultValue?: string | undefined;
2114
2103
  }[] | undefined;
2115
2104
  }>;
@@ -2132,8 +2121,8 @@ export declare const TableQuestionSchema: z.ZodObject<{
2132
2121
  type: string;
2133
2122
  name: string;
2134
2123
  labelTranslationKey?: string | undefined;
2135
- minLength?: number | undefined;
2136
2124
  label?: string | undefined;
2125
+ minLength?: number | undefined;
2137
2126
  defaultValue?: string | undefined;
2138
2127
  }[] | undefined;
2139
2128
  };
@@ -2156,8 +2145,8 @@ export declare const TableQuestionSchema: z.ZodObject<{
2156
2145
  type: string;
2157
2146
  name: string;
2158
2147
  labelTranslationKey?: string | undefined;
2159
- minLength?: number | undefined;
2160
2148
  label?: string | undefined;
2149
+ minLength?: number | undefined;
2161
2150
  defaultValue?: string | undefined;
2162
2151
  }[] | undefined;
2163
2152
  };
@@ -2209,33 +2198,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
2209
2198
  minLength?: number | undefined;
2210
2199
  pattern?: string | undefined;
2211
2200
  } | undefined;
2212
- }>]>, "many">;
2213
- attributes: z.ZodOptional<z.ZodObject<{
2214
- canAddRows: z.ZodOptional<z.ZodBoolean>;
2215
- canRemoveRows: z.ZodOptional<z.ZodBoolean>;
2216
- initialRows: z.ZodOptional<z.ZodNumber>;
2217
- maxRows: z.ZodOptional<z.ZodNumber>;
2218
- minRows: z.ZodOptional<z.ZodNumber>;
2219
- }, "strip", z.ZodTypeAny, {
2220
- canAddRows?: boolean | undefined;
2221
- canRemoveRows?: boolean | undefined;
2222
- initialRows?: number | undefined;
2223
- maxRows?: number | undefined;
2224
- minRows?: number | undefined;
2225
- }, {
2226
- canAddRows?: boolean | undefined;
2227
- canRemoveRows?: boolean | undefined;
2228
- initialRows?: number | undefined;
2229
- maxRows?: number | undefined;
2230
- minRows?: number | undefined;
2231
- }>>;
2201
+ }>]>;
2232
2202
  }, "strip", z.ZodTypeAny, {
2233
- type: "table";
2234
- meta: {
2235
- schemaVersion: "1.0";
2236
- labelTranslationKey?: string | undefined;
2237
- };
2238
- columns: ({
2203
+ content: {
2239
2204
  type: "boolean";
2240
2205
  meta: {
2241
2206
  schemaVersion: "1.0";
@@ -2315,7 +2280,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
2315
2280
  pattern?: string | undefined;
2316
2281
  } | undefined;
2317
2282
  } | {
2318
- type: "datePicker";
2283
+ type: "date";
2319
2284
  meta: {
2320
2285
  schemaVersion: "1.0";
2321
2286
  labelTranslationKey?: string | undefined;
@@ -2333,7 +2298,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
2333
2298
  };
2334
2299
  columns: {
2335
2300
  start: {
2336
- type: "datePicker";
2301
+ type: "date";
2337
2302
  meta: {
2338
2303
  schemaVersion: "1.0";
2339
2304
  labelTranslationKey?: string | undefined;
@@ -2343,7 +2308,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
2343
2308
  };
2344
2309
  };
2345
2310
  end: {
2346
- type: "datePicker";
2311
+ type: "date";
2347
2312
  meta: {
2348
2313
  schemaVersion: "1.0";
2349
2314
  labelTranslationKey?: string | undefined;
@@ -2404,9 +2369,6 @@ export declare const TableQuestionSchema: z.ZodObject<{
2404
2369
  schemaVersion: "1.0";
2405
2370
  labelTranslationKey?: string | undefined;
2406
2371
  };
2407
- attributes: {
2408
- multiple?: boolean | undefined;
2409
- };
2410
2372
  graphQL: {
2411
2373
  displayFields: {
2412
2374
  label: string;
@@ -2420,11 +2382,14 @@ export declare const TableQuestionSchema: z.ZodObject<{
2420
2382
  type: string;
2421
2383
  name: string;
2422
2384
  labelTranslationKey?: string | undefined;
2423
- minLength?: number | undefined;
2424
2385
  label?: string | undefined;
2386
+ minLength?: number | undefined;
2425
2387
  defaultValue?: string | undefined;
2426
2388
  }[] | undefined;
2427
2389
  };
2390
+ attributes?: {
2391
+ multiple?: boolean | undefined;
2392
+ } | undefined;
2428
2393
  } | {
2429
2394
  type: "typeaheadSearch";
2430
2395
  meta: {
@@ -2444,26 +2409,15 @@ export declare const TableQuestionSchema: z.ZodObject<{
2444
2409
  type: string;
2445
2410
  name: string;
2446
2411
  labelTranslationKey?: string | undefined;
2447
- minLength?: number | undefined;
2448
2412
  label?: string | undefined;
2413
+ minLength?: number | undefined;
2449
2414
  defaultValue?: string | undefined;
2450
2415
  }[] | undefined;
2451
2416
  };
2452
- })[];
2453
- attributes?: {
2454
- canAddRows?: boolean | undefined;
2455
- canRemoveRows?: boolean | undefined;
2456
- initialRows?: number | undefined;
2457
- maxRows?: number | undefined;
2458
- minRows?: number | undefined;
2459
- } | undefined;
2460
- }, {
2461
- type: "table";
2462
- meta: {
2463
- schemaVersion: "1.0";
2464
- labelTranslationKey?: string | undefined;
2465
2417
  };
2466
- columns: ({
2418
+ heading?: string | undefined;
2419
+ }, {
2420
+ content: {
2467
2421
  type: "boolean";
2468
2422
  meta: {
2469
2423
  schemaVersion: "1.0";
@@ -2543,7 +2497,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
2543
2497
  pattern?: string | undefined;
2544
2498
  } | undefined;
2545
2499
  } | {
2546
- type: "datePicker";
2500
+ type: "date";
2547
2501
  meta: {
2548
2502
  schemaVersion: "1.0";
2549
2503
  labelTranslationKey?: string | undefined;
@@ -2561,7 +2515,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
2561
2515
  };
2562
2516
  columns: {
2563
2517
  start: {
2564
- type: "datePicker";
2518
+ type: "date";
2565
2519
  meta: {
2566
2520
  schemaVersion: "1.0";
2567
2521
  labelTranslationKey?: string | undefined;
@@ -2571,7 +2525,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
2571
2525
  };
2572
2526
  };
2573
2527
  end: {
2574
- type: "datePicker";
2528
+ type: "date";
2575
2529
  meta: {
2576
2530
  schemaVersion: "1.0";
2577
2531
  labelTranslationKey?: string | undefined;
@@ -2632,9 +2586,6 @@ export declare const TableQuestionSchema: z.ZodObject<{
2632
2586
  schemaVersion: "1.0";
2633
2587
  labelTranslationKey?: string | undefined;
2634
2588
  };
2635
- attributes: {
2636
- multiple?: boolean | undefined;
2637
- };
2638
2589
  graphQL: {
2639
2590
  displayFields: {
2640
2591
  label: string;
@@ -2648,11 +2599,14 @@ export declare const TableQuestionSchema: z.ZodObject<{
2648
2599
  type: string;
2649
2600
  name: string;
2650
2601
  labelTranslationKey?: string | undefined;
2651
- minLength?: number | undefined;
2652
2602
  label?: string | undefined;
2603
+ minLength?: number | undefined;
2653
2604
  defaultValue?: string | undefined;
2654
2605
  }[] | undefined;
2655
2606
  };
2607
+ attributes?: {
2608
+ multiple?: boolean | undefined;
2609
+ } | undefined;
2656
2610
  } | {
2657
2611
  type: "typeaheadSearch";
2658
2612
  meta: {
@@ -2672,12 +2626,2037 @@ export declare const TableQuestionSchema: z.ZodObject<{
2672
2626
  type: string;
2673
2627
  name: string;
2674
2628
  labelTranslationKey?: string | undefined;
2675
- minLength?: number | undefined;
2676
2629
  label?: string | undefined;
2630
+ minLength?: number | undefined;
2677
2631
  defaultValue?: string | undefined;
2678
2632
  }[] | undefined;
2679
2633
  };
2680
- })[];
2634
+ };
2635
+ heading?: string | undefined;
2636
+ }>;
2637
+ export declare const TableQuestionSchema: z.ZodObject<{
2638
+ meta: z.ZodObject<{
2639
+ schemaVersion: z.ZodLiteral<"1.0">;
2640
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
2641
+ }, "strip", z.ZodTypeAny, {
2642
+ schemaVersion: "1.0";
2643
+ labelTranslationKey?: string | undefined;
2644
+ }, {
2645
+ schemaVersion: "1.0";
2646
+ labelTranslationKey?: string | undefined;
2647
+ }>;
2648
+ } & {
2649
+ type: z.ZodLiteral<"table">;
2650
+ columns: z.ZodArray<z.ZodObject<{
2651
+ heading: z.ZodOptional<z.ZodString>;
2652
+ content: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2653
+ meta: z.ZodObject<{
2654
+ schemaVersion: z.ZodLiteral<"1.0">;
2655
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
2656
+ }, "strip", z.ZodTypeAny, {
2657
+ schemaVersion: "1.0";
2658
+ labelTranslationKey?: string | undefined;
2659
+ }, {
2660
+ schemaVersion: "1.0";
2661
+ labelTranslationKey?: string | undefined;
2662
+ }>;
2663
+ } & {
2664
+ type: z.ZodLiteral<"boolean">;
2665
+ attributes: z.ZodOptional<z.ZodObject<{
2666
+ checked: z.ZodOptional<z.ZodBoolean>;
2667
+ }, "strip", z.ZodTypeAny, {
2668
+ checked?: boolean | undefined;
2669
+ }, {
2670
+ checked?: boolean | undefined;
2671
+ }>>;
2672
+ }, "strip", z.ZodTypeAny, {
2673
+ type: "boolean";
2674
+ meta: {
2675
+ schemaVersion: "1.0";
2676
+ labelTranslationKey?: string | undefined;
2677
+ };
2678
+ attributes?: {
2679
+ checked?: boolean | undefined;
2680
+ } | undefined;
2681
+ }, {
2682
+ type: "boolean";
2683
+ meta: {
2684
+ schemaVersion: "1.0";
2685
+ labelTranslationKey?: string | undefined;
2686
+ };
2687
+ attributes?: {
2688
+ checked?: boolean | undefined;
2689
+ } | undefined;
2690
+ }>, z.ZodObject<{
2691
+ meta: z.ZodObject<{
2692
+ schemaVersion: z.ZodLiteral<"1.0">;
2693
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
2694
+ }, "strip", z.ZodTypeAny, {
2695
+ schemaVersion: "1.0";
2696
+ labelTranslationKey?: string | undefined;
2697
+ }, {
2698
+ schemaVersion: "1.0";
2699
+ labelTranslationKey?: string | undefined;
2700
+ }>;
2701
+ } & {
2702
+ type: z.ZodLiteral<"checkBoxes">;
2703
+ options: z.ZodArray<z.ZodObject<{
2704
+ type: z.ZodLiteral<"option">;
2705
+ attributes: z.ZodObject<{
2706
+ label: z.ZodString;
2707
+ value: z.ZodString;
2708
+ } & {
2709
+ checked: z.ZodOptional<z.ZodBoolean>;
2710
+ }, "strip", z.ZodTypeAny, {
2711
+ value: string;
2712
+ label: string;
2713
+ checked?: boolean | undefined;
2714
+ }, {
2715
+ value: string;
2716
+ label: string;
2717
+ checked?: boolean | undefined;
2718
+ }>;
2719
+ }, "strip", z.ZodTypeAny, {
2720
+ type: "option";
2721
+ attributes: {
2722
+ value: string;
2723
+ label: string;
2724
+ checked?: boolean | undefined;
2725
+ };
2726
+ }, {
2727
+ type: "option";
2728
+ attributes: {
2729
+ value: string;
2730
+ label: string;
2731
+ checked?: boolean | undefined;
2732
+ };
2733
+ }>, "many">;
2734
+ }, "strip", z.ZodTypeAny, {
2735
+ type: "checkBoxes";
2736
+ options: {
2737
+ type: "option";
2738
+ attributes: {
2739
+ value: string;
2740
+ label: string;
2741
+ checked?: boolean | undefined;
2742
+ };
2743
+ }[];
2744
+ meta: {
2745
+ schemaVersion: "1.0";
2746
+ labelTranslationKey?: string | undefined;
2747
+ };
2748
+ }, {
2749
+ type: "checkBoxes";
2750
+ options: {
2751
+ type: "option";
2752
+ attributes: {
2753
+ value: string;
2754
+ label: string;
2755
+ checked?: boolean | undefined;
2756
+ };
2757
+ }[];
2758
+ meta: {
2759
+ schemaVersion: "1.0";
2760
+ labelTranslationKey?: string | undefined;
2761
+ };
2762
+ }>, z.ZodObject<{
2763
+ attributes: z.ZodOptional<z.ZodObject<{
2764
+ max: z.ZodOptional<z.ZodNumber>;
2765
+ min: z.ZodOptional<z.ZodNumber>;
2766
+ step: z.ZodOptional<z.ZodNumber>;
2767
+ }, "strip", z.ZodTypeAny, {
2768
+ max?: number | undefined;
2769
+ min?: number | undefined;
2770
+ step?: number | undefined;
2771
+ }, {
2772
+ max?: number | undefined;
2773
+ min?: number | undefined;
2774
+ step?: number | undefined;
2775
+ }>>;
2776
+ } & {
2777
+ type: z.ZodLiteral<"currency">;
2778
+ meta: z.ZodObject<{
2779
+ schemaVersion: z.ZodLiteral<"1.0">;
2780
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
2781
+ } & {
2782
+ denomination: z.ZodOptional<z.ZodString>;
2783
+ }, "strip", z.ZodTypeAny, {
2784
+ schemaVersion: "1.0";
2785
+ labelTranslationKey?: string | undefined;
2786
+ denomination?: string | undefined;
2787
+ }, {
2788
+ schemaVersion: "1.0";
2789
+ labelTranslationKey?: string | undefined;
2790
+ denomination?: string | undefined;
2791
+ }>;
2792
+ }, "strip", z.ZodTypeAny, {
2793
+ type: "currency";
2794
+ meta: {
2795
+ schemaVersion: "1.0";
2796
+ labelTranslationKey?: string | undefined;
2797
+ denomination?: string | undefined;
2798
+ };
2799
+ attributes?: {
2800
+ max?: number | undefined;
2801
+ min?: number | undefined;
2802
+ step?: number | undefined;
2803
+ } | undefined;
2804
+ }, {
2805
+ type: "currency";
2806
+ meta: {
2807
+ schemaVersion: "1.0";
2808
+ labelTranslationKey?: string | undefined;
2809
+ denomination?: string | undefined;
2810
+ };
2811
+ attributes?: {
2812
+ max?: number | undefined;
2813
+ min?: number | undefined;
2814
+ step?: number | undefined;
2815
+ } | undefined;
2816
+ }>, z.ZodObject<{
2817
+ meta: z.ZodObject<{
2818
+ schemaVersion: z.ZodLiteral<"1.0">;
2819
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
2820
+ }, "strip", z.ZodTypeAny, {
2821
+ schemaVersion: "1.0";
2822
+ labelTranslationKey?: string | undefined;
2823
+ }, {
2824
+ schemaVersion: "1.0";
2825
+ labelTranslationKey?: string | undefined;
2826
+ }>;
2827
+ } & {
2828
+ type: z.ZodLiteral<"date">;
2829
+ attributes: z.ZodOptional<z.ZodObject<{
2830
+ max: z.ZodOptional<z.ZodString>;
2831
+ min: z.ZodOptional<z.ZodString>;
2832
+ step: z.ZodOptional<z.ZodNumber>;
2833
+ }, "strip", z.ZodTypeAny, {
2834
+ max?: string | undefined;
2835
+ min?: string | undefined;
2836
+ step?: number | undefined;
2837
+ }, {
2838
+ max?: string | undefined;
2839
+ min?: string | undefined;
2840
+ step?: number | undefined;
2841
+ }>>;
2842
+ }, "strip", z.ZodTypeAny, {
2843
+ type: "date";
2844
+ meta: {
2845
+ schemaVersion: "1.0";
2846
+ labelTranslationKey?: string | undefined;
2847
+ };
2848
+ attributes?: {
2849
+ max?: string | undefined;
2850
+ min?: string | undefined;
2851
+ step?: number | undefined;
2852
+ } | undefined;
2853
+ }, {
2854
+ type: "date";
2855
+ meta: {
2856
+ schemaVersion: "1.0";
2857
+ labelTranslationKey?: string | undefined;
2858
+ };
2859
+ attributes?: {
2860
+ max?: string | undefined;
2861
+ min?: string | undefined;
2862
+ step?: number | undefined;
2863
+ } | undefined;
2864
+ }>, z.ZodObject<{
2865
+ meta: z.ZodObject<{
2866
+ schemaVersion: z.ZodLiteral<"1.0">;
2867
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
2868
+ }, "strip", z.ZodTypeAny, {
2869
+ schemaVersion: "1.0";
2870
+ labelTranslationKey?: string | undefined;
2871
+ }, {
2872
+ schemaVersion: "1.0";
2873
+ labelTranslationKey?: string | undefined;
2874
+ }>;
2875
+ } & {
2876
+ type: z.ZodLiteral<"dateRange">;
2877
+ columns: z.ZodObject<{
2878
+ start: z.ZodObject<{
2879
+ meta: z.ZodObject<{
2880
+ schemaVersion: z.ZodLiteral<"1.0">;
2881
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
2882
+ }, "strip", z.ZodTypeAny, {
2883
+ schemaVersion: "1.0";
2884
+ labelTranslationKey?: string | undefined;
2885
+ }, {
2886
+ schemaVersion: "1.0";
2887
+ labelTranslationKey?: string | undefined;
2888
+ }>;
2889
+ type: z.ZodLiteral<"date">;
2890
+ } & {
2891
+ attributes: z.ZodObject<{
2892
+ label: z.ZodString;
2893
+ }, "strip", z.ZodTypeAny, {
2894
+ label: string;
2895
+ }, {
2896
+ label: string;
2897
+ }>;
2898
+ }, "strip", z.ZodTypeAny, {
2899
+ type: "date";
2900
+ meta: {
2901
+ schemaVersion: "1.0";
2902
+ labelTranslationKey?: string | undefined;
2903
+ };
2904
+ attributes: {
2905
+ label: string;
2906
+ };
2907
+ }, {
2908
+ type: "date";
2909
+ meta: {
2910
+ schemaVersion: "1.0";
2911
+ labelTranslationKey?: string | undefined;
2912
+ };
2913
+ attributes: {
2914
+ label: string;
2915
+ };
2916
+ }>;
2917
+ end: z.ZodObject<{
2918
+ meta: z.ZodObject<{
2919
+ schemaVersion: z.ZodLiteral<"1.0">;
2920
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
2921
+ }, "strip", z.ZodTypeAny, {
2922
+ schemaVersion: "1.0";
2923
+ labelTranslationKey?: string | undefined;
2924
+ }, {
2925
+ schemaVersion: "1.0";
2926
+ labelTranslationKey?: string | undefined;
2927
+ }>;
2928
+ type: z.ZodLiteral<"date">;
2929
+ } & {
2930
+ attributes: z.ZodObject<{
2931
+ label: z.ZodString;
2932
+ }, "strip", z.ZodTypeAny, {
2933
+ label: string;
2934
+ }, {
2935
+ label: string;
2936
+ }>;
2937
+ }, "strip", z.ZodTypeAny, {
2938
+ type: "date";
2939
+ meta: {
2940
+ schemaVersion: "1.0";
2941
+ labelTranslationKey?: string | undefined;
2942
+ };
2943
+ attributes: {
2944
+ label: string;
2945
+ };
2946
+ }, {
2947
+ type: "date";
2948
+ meta: {
2949
+ schemaVersion: "1.0";
2950
+ labelTranslationKey?: string | undefined;
2951
+ };
2952
+ attributes: {
2953
+ label: string;
2954
+ };
2955
+ }>;
2956
+ }, "strip", z.ZodTypeAny, {
2957
+ start: {
2958
+ type: "date";
2959
+ meta: {
2960
+ schemaVersion: "1.0";
2961
+ labelTranslationKey?: string | undefined;
2962
+ };
2963
+ attributes: {
2964
+ label: string;
2965
+ };
2966
+ };
2967
+ end: {
2968
+ type: "date";
2969
+ meta: {
2970
+ schemaVersion: "1.0";
2971
+ labelTranslationKey?: string | undefined;
2972
+ };
2973
+ attributes: {
2974
+ label: string;
2975
+ };
2976
+ };
2977
+ }, {
2978
+ start: {
2979
+ type: "date";
2980
+ meta: {
2981
+ schemaVersion: "1.0";
2982
+ labelTranslationKey?: string | undefined;
2983
+ };
2984
+ attributes: {
2985
+ label: string;
2986
+ };
2987
+ };
2988
+ end: {
2989
+ type: "date";
2990
+ meta: {
2991
+ schemaVersion: "1.0";
2992
+ labelTranslationKey?: string | undefined;
2993
+ };
2994
+ attributes: {
2995
+ label: string;
2996
+ };
2997
+ };
2998
+ }>;
2999
+ }, "strip", z.ZodTypeAny, {
3000
+ type: "dateRange";
3001
+ meta: {
3002
+ schemaVersion: "1.0";
3003
+ labelTranslationKey?: string | undefined;
3004
+ };
3005
+ columns: {
3006
+ start: {
3007
+ type: "date";
3008
+ meta: {
3009
+ schemaVersion: "1.0";
3010
+ labelTranslationKey?: string | undefined;
3011
+ };
3012
+ attributes: {
3013
+ label: string;
3014
+ };
3015
+ };
3016
+ end: {
3017
+ type: "date";
3018
+ meta: {
3019
+ schemaVersion: "1.0";
3020
+ labelTranslationKey?: string | undefined;
3021
+ };
3022
+ attributes: {
3023
+ label: string;
3024
+ };
3025
+ };
3026
+ };
3027
+ }, {
3028
+ type: "dateRange";
3029
+ meta: {
3030
+ schemaVersion: "1.0";
3031
+ labelTranslationKey?: string | undefined;
3032
+ };
3033
+ columns: {
3034
+ start: {
3035
+ type: "date";
3036
+ meta: {
3037
+ schemaVersion: "1.0";
3038
+ labelTranslationKey?: string | undefined;
3039
+ };
3040
+ attributes: {
3041
+ label: string;
3042
+ };
3043
+ };
3044
+ end: {
3045
+ type: "date";
3046
+ meta: {
3047
+ schemaVersion: "1.0";
3048
+ labelTranslationKey?: string | undefined;
3049
+ };
3050
+ attributes: {
3051
+ label: string;
3052
+ };
3053
+ };
3054
+ };
3055
+ }>, z.ZodObject<{
3056
+ meta: z.ZodObject<{
3057
+ schemaVersion: z.ZodLiteral<"1.0">;
3058
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
3059
+ }, "strip", z.ZodTypeAny, {
3060
+ schemaVersion: "1.0";
3061
+ labelTranslationKey?: string | undefined;
3062
+ }, {
3063
+ schemaVersion: "1.0";
3064
+ labelTranslationKey?: string | undefined;
3065
+ }>;
3066
+ } & {
3067
+ type: z.ZodLiteral<"email">;
3068
+ attributes: z.ZodOptional<z.ZodObject<{
3069
+ maxLength: z.ZodOptional<z.ZodNumber>;
3070
+ minLength: z.ZodOptional<z.ZodNumber>;
3071
+ multiple: z.ZodOptional<z.ZodBoolean>;
3072
+ pattern: z.ZodOptional<z.ZodString>;
3073
+ }, "strip", z.ZodTypeAny, {
3074
+ maxLength?: number | undefined;
3075
+ minLength?: number | undefined;
3076
+ multiple?: boolean | undefined;
3077
+ pattern?: string | undefined;
3078
+ }, {
3079
+ maxLength?: number | undefined;
3080
+ minLength?: number | undefined;
3081
+ multiple?: boolean | undefined;
3082
+ pattern?: string | undefined;
3083
+ }>>;
3084
+ }, "strip", z.ZodTypeAny, {
3085
+ type: "email";
3086
+ meta: {
3087
+ schemaVersion: "1.0";
3088
+ labelTranslationKey?: string | undefined;
3089
+ };
3090
+ attributes?: {
3091
+ maxLength?: number | undefined;
3092
+ minLength?: number | undefined;
3093
+ multiple?: boolean | undefined;
3094
+ pattern?: string | undefined;
3095
+ } | undefined;
3096
+ }, {
3097
+ type: "email";
3098
+ meta: {
3099
+ schemaVersion: "1.0";
3100
+ labelTranslationKey?: string | undefined;
3101
+ };
3102
+ attributes?: {
3103
+ maxLength?: number | undefined;
3104
+ minLength?: number | undefined;
3105
+ multiple?: boolean | undefined;
3106
+ pattern?: string | undefined;
3107
+ } | undefined;
3108
+ }>, z.ZodObject<{
3109
+ meta: z.ZodObject<{
3110
+ schemaVersion: z.ZodLiteral<"1.0">;
3111
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
3112
+ }, "strip", z.ZodTypeAny, {
3113
+ schemaVersion: "1.0";
3114
+ labelTranslationKey?: string | undefined;
3115
+ }, {
3116
+ schemaVersion: "1.0";
3117
+ labelTranslationKey?: string | undefined;
3118
+ }>;
3119
+ } & {
3120
+ type: z.ZodLiteral<"filteredSearch">;
3121
+ graphQL: z.ZodObject<{
3122
+ displayFields: z.ZodArray<z.ZodObject<{
3123
+ propertyName: z.ZodString;
3124
+ label: z.ZodString;
3125
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
3126
+ }, "strip", z.ZodTypeAny, {
3127
+ label: string;
3128
+ propertyName: string;
3129
+ labelTranslationKey?: string | undefined;
3130
+ }, {
3131
+ label: string;
3132
+ propertyName: string;
3133
+ labelTranslationKey?: string | undefined;
3134
+ }>, "many">;
3135
+ localQueryId: z.ZodOptional<z.ZodString>;
3136
+ query: z.ZodOptional<z.ZodString>;
3137
+ responseField: z.ZodString;
3138
+ variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
3139
+ minLength: z.ZodOptional<z.ZodNumber>;
3140
+ label: z.ZodOptional<z.ZodString>;
3141
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
3142
+ name: z.ZodString;
3143
+ type: z.ZodString;
3144
+ defaultValue: z.ZodOptional<z.ZodString>;
3145
+ }, "strip", z.ZodTypeAny, {
3146
+ type: string;
3147
+ name: string;
3148
+ labelTranslationKey?: string | undefined;
3149
+ label?: string | undefined;
3150
+ minLength?: number | undefined;
3151
+ defaultValue?: string | undefined;
3152
+ }, {
3153
+ type: string;
3154
+ name: string;
3155
+ labelTranslationKey?: string | undefined;
3156
+ label?: string | undefined;
3157
+ minLength?: number | undefined;
3158
+ defaultValue?: string | undefined;
3159
+ }>, "many">>;
3160
+ }, "strip", z.ZodTypeAny, {
3161
+ displayFields: {
3162
+ label: string;
3163
+ propertyName: string;
3164
+ labelTranslationKey?: string | undefined;
3165
+ }[];
3166
+ responseField: string;
3167
+ localQueryId?: string | undefined;
3168
+ query?: string | undefined;
3169
+ variables?: {
3170
+ type: string;
3171
+ name: string;
3172
+ labelTranslationKey?: string | undefined;
3173
+ label?: string | undefined;
3174
+ minLength?: number | undefined;
3175
+ defaultValue?: string | undefined;
3176
+ }[] | undefined;
3177
+ }, {
3178
+ displayFields: {
3179
+ label: string;
3180
+ propertyName: string;
3181
+ labelTranslationKey?: string | undefined;
3182
+ }[];
3183
+ responseField: string;
3184
+ localQueryId?: string | undefined;
3185
+ query?: string | undefined;
3186
+ variables?: {
3187
+ type: string;
3188
+ name: string;
3189
+ labelTranslationKey?: string | undefined;
3190
+ label?: string | undefined;
3191
+ minLength?: number | undefined;
3192
+ defaultValue?: string | undefined;
3193
+ }[] | undefined;
3194
+ }>;
3195
+ attributes: z.ZodOptional<z.ZodObject<{
3196
+ multiple: z.ZodOptional<z.ZodBoolean>;
3197
+ }, "strip", z.ZodTypeAny, {
3198
+ multiple?: boolean | undefined;
3199
+ }, {
3200
+ multiple?: boolean | undefined;
3201
+ }>>;
3202
+ }, "strip", z.ZodTypeAny, {
3203
+ type: "filteredSearch";
3204
+ meta: {
3205
+ schemaVersion: "1.0";
3206
+ labelTranslationKey?: string | undefined;
3207
+ };
3208
+ graphQL: {
3209
+ displayFields: {
3210
+ label: string;
3211
+ propertyName: string;
3212
+ labelTranslationKey?: string | undefined;
3213
+ }[];
3214
+ responseField: string;
3215
+ localQueryId?: string | undefined;
3216
+ query?: string | undefined;
3217
+ variables?: {
3218
+ type: string;
3219
+ name: string;
3220
+ labelTranslationKey?: string | undefined;
3221
+ label?: string | undefined;
3222
+ minLength?: number | undefined;
3223
+ defaultValue?: string | undefined;
3224
+ }[] | undefined;
3225
+ };
3226
+ attributes?: {
3227
+ multiple?: boolean | undefined;
3228
+ } | undefined;
3229
+ }, {
3230
+ type: "filteredSearch";
3231
+ meta: {
3232
+ schemaVersion: "1.0";
3233
+ labelTranslationKey?: string | undefined;
3234
+ };
3235
+ graphQL: {
3236
+ displayFields: {
3237
+ label: string;
3238
+ propertyName: string;
3239
+ labelTranslationKey?: string | undefined;
3240
+ }[];
3241
+ responseField: string;
3242
+ localQueryId?: string | undefined;
3243
+ query?: string | undefined;
3244
+ variables?: {
3245
+ type: string;
3246
+ name: string;
3247
+ labelTranslationKey?: string | undefined;
3248
+ label?: string | undefined;
3249
+ minLength?: number | undefined;
3250
+ defaultValue?: string | undefined;
3251
+ }[] | undefined;
3252
+ };
3253
+ attributes?: {
3254
+ multiple?: boolean | undefined;
3255
+ } | undefined;
3256
+ }>, z.ZodObject<{
3257
+ meta: z.ZodObject<{
3258
+ schemaVersion: z.ZodLiteral<"1.0">;
3259
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
3260
+ }, "strip", z.ZodTypeAny, {
3261
+ schemaVersion: "1.0";
3262
+ labelTranslationKey?: string | undefined;
3263
+ }, {
3264
+ schemaVersion: "1.0";
3265
+ labelTranslationKey?: string | undefined;
3266
+ }>;
3267
+ } & {
3268
+ type: z.ZodLiteral<"number">;
3269
+ attributes: z.ZodOptional<z.ZodObject<{
3270
+ max: z.ZodOptional<z.ZodNumber>;
3271
+ min: z.ZodOptional<z.ZodNumber>;
3272
+ step: z.ZodOptional<z.ZodNumber>;
3273
+ }, "strip", z.ZodTypeAny, {
3274
+ max?: number | undefined;
3275
+ min?: number | undefined;
3276
+ step?: number | undefined;
3277
+ }, {
3278
+ max?: number | undefined;
3279
+ min?: number | undefined;
3280
+ step?: number | undefined;
3281
+ }>>;
3282
+ }, "strip", z.ZodTypeAny, {
3283
+ type: "number";
3284
+ meta: {
3285
+ schemaVersion: "1.0";
3286
+ labelTranslationKey?: string | undefined;
3287
+ };
3288
+ attributes?: {
3289
+ max?: number | undefined;
3290
+ min?: number | undefined;
3291
+ step?: number | undefined;
3292
+ } | undefined;
3293
+ }, {
3294
+ type: "number";
3295
+ meta: {
3296
+ schemaVersion: "1.0";
3297
+ labelTranslationKey?: string | undefined;
3298
+ };
3299
+ attributes?: {
3300
+ max?: number | undefined;
3301
+ min?: number | undefined;
3302
+ step?: number | undefined;
3303
+ } | undefined;
3304
+ }>, z.ZodObject<{
3305
+ meta: z.ZodObject<{
3306
+ schemaVersion: z.ZodLiteral<"1.0">;
3307
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
3308
+ }, "strip", z.ZodTypeAny, {
3309
+ schemaVersion: "1.0";
3310
+ labelTranslationKey?: string | undefined;
3311
+ }, {
3312
+ schemaVersion: "1.0";
3313
+ labelTranslationKey?: string | undefined;
3314
+ }>;
3315
+ } & {
3316
+ type: z.ZodLiteral<"radioButtons">;
3317
+ options: z.ZodArray<z.ZodObject<{
3318
+ type: z.ZodLiteral<"option">;
3319
+ attributes: z.ZodObject<{
3320
+ label: z.ZodString;
3321
+ value: z.ZodString;
3322
+ } & {
3323
+ selected: z.ZodOptional<z.ZodBoolean>;
3324
+ }, "strip", z.ZodTypeAny, {
3325
+ value: string;
3326
+ label: string;
3327
+ selected?: boolean | undefined;
3328
+ }, {
3329
+ value: string;
3330
+ label: string;
3331
+ selected?: boolean | undefined;
3332
+ }>;
3333
+ }, "strip", z.ZodTypeAny, {
3334
+ type: "option";
3335
+ attributes: {
3336
+ value: string;
3337
+ label: string;
3338
+ selected?: boolean | undefined;
3339
+ };
3340
+ }, {
3341
+ type: "option";
3342
+ attributes: {
3343
+ value: string;
3344
+ label: string;
3345
+ selected?: boolean | undefined;
3346
+ };
3347
+ }>, "many">;
3348
+ }, "strip", z.ZodTypeAny, {
3349
+ type: "radioButtons";
3350
+ options: {
3351
+ type: "option";
3352
+ attributes: {
3353
+ value: string;
3354
+ label: string;
3355
+ selected?: boolean | undefined;
3356
+ };
3357
+ }[];
3358
+ meta: {
3359
+ schemaVersion: "1.0";
3360
+ labelTranslationKey?: string | undefined;
3361
+ };
3362
+ }, {
3363
+ type: "radioButtons";
3364
+ options: {
3365
+ type: "option";
3366
+ attributes: {
3367
+ value: string;
3368
+ label: string;
3369
+ selected?: boolean | undefined;
3370
+ };
3371
+ }[];
3372
+ meta: {
3373
+ schemaVersion: "1.0";
3374
+ labelTranslationKey?: string | undefined;
3375
+ };
3376
+ }>, z.ZodObject<{
3377
+ meta: z.ZodObject<{
3378
+ schemaVersion: z.ZodLiteral<"1.0">;
3379
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
3380
+ }, "strip", z.ZodTypeAny, {
3381
+ schemaVersion: "1.0";
3382
+ labelTranslationKey?: string | undefined;
3383
+ }, {
3384
+ schemaVersion: "1.0";
3385
+ labelTranslationKey?: string | undefined;
3386
+ }>;
3387
+ } & {
3388
+ type: z.ZodLiteral<"selectBox">;
3389
+ options: z.ZodArray<z.ZodObject<{
3390
+ type: z.ZodLiteral<"option">;
3391
+ attributes: z.ZodObject<{
3392
+ label: z.ZodString;
3393
+ value: z.ZodString;
3394
+ } & {
3395
+ selected: z.ZodOptional<z.ZodBoolean>;
3396
+ }, "strip", z.ZodTypeAny, {
3397
+ value: string;
3398
+ label: string;
3399
+ selected?: boolean | undefined;
3400
+ }, {
3401
+ value: string;
3402
+ label: string;
3403
+ selected?: boolean | undefined;
3404
+ }>;
3405
+ }, "strip", z.ZodTypeAny, {
3406
+ type: "option";
3407
+ attributes: {
3408
+ value: string;
3409
+ label: string;
3410
+ selected?: boolean | undefined;
3411
+ };
3412
+ }, {
3413
+ type: "option";
3414
+ attributes: {
3415
+ value: string;
3416
+ label: string;
3417
+ selected?: boolean | undefined;
3418
+ };
3419
+ }>, "many">;
3420
+ attributes: z.ZodOptional<z.ZodObject<{
3421
+ multiple: z.ZodOptional<z.ZodBoolean>;
3422
+ }, "strip", z.ZodTypeAny, {
3423
+ multiple?: boolean | undefined;
3424
+ }, {
3425
+ multiple?: boolean | undefined;
3426
+ }>>;
3427
+ }, "strip", z.ZodTypeAny, {
3428
+ type: "selectBox";
3429
+ options: {
3430
+ type: "option";
3431
+ attributes: {
3432
+ value: string;
3433
+ label: string;
3434
+ selected?: boolean | undefined;
3435
+ };
3436
+ }[];
3437
+ meta: {
3438
+ schemaVersion: "1.0";
3439
+ labelTranslationKey?: string | undefined;
3440
+ };
3441
+ attributes?: {
3442
+ multiple?: boolean | undefined;
3443
+ } | undefined;
3444
+ }, {
3445
+ type: "selectBox";
3446
+ options: {
3447
+ type: "option";
3448
+ attributes: {
3449
+ value: string;
3450
+ label: string;
3451
+ selected?: boolean | undefined;
3452
+ };
3453
+ }[];
3454
+ meta: {
3455
+ schemaVersion: "1.0";
3456
+ labelTranslationKey?: string | undefined;
3457
+ };
3458
+ attributes?: {
3459
+ multiple?: boolean | undefined;
3460
+ } | undefined;
3461
+ }>, z.ZodObject<{} & {
3462
+ type: z.ZodLiteral<"textArea">;
3463
+ attributes: z.ZodOptional<z.ZodObject<{
3464
+ cols: z.ZodOptional<z.ZodNumber>;
3465
+ maxLength: z.ZodOptional<z.ZodNumber>;
3466
+ minLength: z.ZodOptional<z.ZodNumber>;
3467
+ rows: z.ZodOptional<z.ZodNumber>;
3468
+ }, "strip", z.ZodTypeAny, {
3469
+ maxLength?: number | undefined;
3470
+ minLength?: number | undefined;
3471
+ cols?: number | undefined;
3472
+ rows?: number | undefined;
3473
+ }, {
3474
+ maxLength?: number | undefined;
3475
+ minLength?: number | undefined;
3476
+ cols?: number | undefined;
3477
+ rows?: number | undefined;
3478
+ }>>;
3479
+ meta: z.ZodObject<{
3480
+ schemaVersion: z.ZodLiteral<"1.0">;
3481
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
3482
+ } & {
3483
+ asRichText: z.ZodOptional<z.ZodBoolean>;
3484
+ }, "strip", z.ZodTypeAny, {
3485
+ schemaVersion: "1.0";
3486
+ labelTranslationKey?: string | undefined;
3487
+ asRichText?: boolean | undefined;
3488
+ }, {
3489
+ schemaVersion: "1.0";
3490
+ labelTranslationKey?: string | undefined;
3491
+ asRichText?: boolean | undefined;
3492
+ }>;
3493
+ }, "strip", z.ZodTypeAny, {
3494
+ type: "textArea";
3495
+ meta: {
3496
+ schemaVersion: "1.0";
3497
+ labelTranslationKey?: string | undefined;
3498
+ asRichText?: boolean | undefined;
3499
+ };
3500
+ attributes?: {
3501
+ maxLength?: number | undefined;
3502
+ minLength?: number | undefined;
3503
+ cols?: number | undefined;
3504
+ rows?: number | undefined;
3505
+ } | undefined;
3506
+ }, {
3507
+ type: "textArea";
3508
+ meta: {
3509
+ schemaVersion: "1.0";
3510
+ labelTranslationKey?: string | undefined;
3511
+ asRichText?: boolean | undefined;
3512
+ };
3513
+ attributes?: {
3514
+ maxLength?: number | undefined;
3515
+ minLength?: number | undefined;
3516
+ cols?: number | undefined;
3517
+ rows?: number | undefined;
3518
+ } | undefined;
3519
+ }>, z.ZodObject<{
3520
+ meta: z.ZodObject<{
3521
+ schemaVersion: z.ZodLiteral<"1.0">;
3522
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
3523
+ }, "strip", z.ZodTypeAny, {
3524
+ schemaVersion: "1.0";
3525
+ labelTranslationKey?: string | undefined;
3526
+ }, {
3527
+ schemaVersion: "1.0";
3528
+ labelTranslationKey?: string | undefined;
3529
+ }>;
3530
+ } & {
3531
+ type: z.ZodLiteral<"text">;
3532
+ attributes: z.ZodOptional<z.ZodObject<{
3533
+ maxLength: z.ZodOptional<z.ZodNumber>;
3534
+ minLength: z.ZodOptional<z.ZodNumber>;
3535
+ pattern: z.ZodOptional<z.ZodString>;
3536
+ }, "strip", z.ZodTypeAny, {
3537
+ maxLength?: number | undefined;
3538
+ minLength?: number | undefined;
3539
+ pattern?: string | undefined;
3540
+ }, {
3541
+ maxLength?: number | undefined;
3542
+ minLength?: number | undefined;
3543
+ pattern?: string | undefined;
3544
+ }>>;
3545
+ }, "strip", z.ZodTypeAny, {
3546
+ type: "text";
3547
+ meta: {
3548
+ schemaVersion: "1.0";
3549
+ labelTranslationKey?: string | undefined;
3550
+ };
3551
+ attributes?: {
3552
+ maxLength?: number | undefined;
3553
+ minLength?: number | undefined;
3554
+ pattern?: string | undefined;
3555
+ } | undefined;
3556
+ }, {
3557
+ type: "text";
3558
+ meta: {
3559
+ schemaVersion: "1.0";
3560
+ labelTranslationKey?: string | undefined;
3561
+ };
3562
+ attributes?: {
3563
+ maxLength?: number | undefined;
3564
+ minLength?: number | undefined;
3565
+ pattern?: string | undefined;
3566
+ } | undefined;
3567
+ }>, z.ZodObject<{
3568
+ meta: z.ZodObject<{
3569
+ schemaVersion: z.ZodLiteral<"1.0">;
3570
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
3571
+ }, "strip", z.ZodTypeAny, {
3572
+ schemaVersion: "1.0";
3573
+ labelTranslationKey?: string | undefined;
3574
+ }, {
3575
+ schemaVersion: "1.0";
3576
+ labelTranslationKey?: string | undefined;
3577
+ }>;
3578
+ } & {
3579
+ type: z.ZodLiteral<"typeaheadSearch">;
3580
+ graphQL: z.ZodObject<{
3581
+ displayFields: z.ZodArray<z.ZodObject<{
3582
+ propertyName: z.ZodString;
3583
+ label: z.ZodString;
3584
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
3585
+ }, "strip", z.ZodTypeAny, {
3586
+ label: string;
3587
+ propertyName: string;
3588
+ labelTranslationKey?: string | undefined;
3589
+ }, {
3590
+ label: string;
3591
+ propertyName: string;
3592
+ labelTranslationKey?: string | undefined;
3593
+ }>, "many">;
3594
+ localQueryId: z.ZodOptional<z.ZodString>;
3595
+ query: z.ZodOptional<z.ZodString>;
3596
+ responseField: z.ZodString;
3597
+ variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
3598
+ minLength: z.ZodOptional<z.ZodNumber>;
3599
+ label: z.ZodOptional<z.ZodString>;
3600
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
3601
+ name: z.ZodString;
3602
+ type: z.ZodString;
3603
+ defaultValue: z.ZodOptional<z.ZodString>;
3604
+ }, "strip", z.ZodTypeAny, {
3605
+ type: string;
3606
+ name: string;
3607
+ labelTranslationKey?: string | undefined;
3608
+ label?: string | undefined;
3609
+ minLength?: number | undefined;
3610
+ defaultValue?: string | undefined;
3611
+ }, {
3612
+ type: string;
3613
+ name: string;
3614
+ labelTranslationKey?: string | undefined;
3615
+ label?: string | undefined;
3616
+ minLength?: number | undefined;
3617
+ defaultValue?: string | undefined;
3618
+ }>, "many">>;
3619
+ }, "strip", z.ZodTypeAny, {
3620
+ displayFields: {
3621
+ label: string;
3622
+ propertyName: string;
3623
+ labelTranslationKey?: string | undefined;
3624
+ }[];
3625
+ responseField: string;
3626
+ localQueryId?: string | undefined;
3627
+ query?: string | undefined;
3628
+ variables?: {
3629
+ type: string;
3630
+ name: string;
3631
+ labelTranslationKey?: string | undefined;
3632
+ label?: string | undefined;
3633
+ minLength?: number | undefined;
3634
+ defaultValue?: string | undefined;
3635
+ }[] | undefined;
3636
+ }, {
3637
+ displayFields: {
3638
+ label: string;
3639
+ propertyName: string;
3640
+ labelTranslationKey?: string | undefined;
3641
+ }[];
3642
+ responseField: string;
3643
+ localQueryId?: string | undefined;
3644
+ query?: string | undefined;
3645
+ variables?: {
3646
+ type: string;
3647
+ name: string;
3648
+ labelTranslationKey?: string | undefined;
3649
+ label?: string | undefined;
3650
+ minLength?: number | undefined;
3651
+ defaultValue?: string | undefined;
3652
+ }[] | undefined;
3653
+ }>;
3654
+ }, "strip", z.ZodTypeAny, {
3655
+ type: "typeaheadSearch";
3656
+ meta: {
3657
+ schemaVersion: "1.0";
3658
+ labelTranslationKey?: string | undefined;
3659
+ };
3660
+ graphQL: {
3661
+ displayFields: {
3662
+ label: string;
3663
+ propertyName: string;
3664
+ labelTranslationKey?: string | undefined;
3665
+ }[];
3666
+ responseField: string;
3667
+ localQueryId?: string | undefined;
3668
+ query?: string | undefined;
3669
+ variables?: {
3670
+ type: string;
3671
+ name: string;
3672
+ labelTranslationKey?: string | undefined;
3673
+ label?: string | undefined;
3674
+ minLength?: number | undefined;
3675
+ defaultValue?: string | undefined;
3676
+ }[] | undefined;
3677
+ };
3678
+ }, {
3679
+ type: "typeaheadSearch";
3680
+ meta: {
3681
+ schemaVersion: "1.0";
3682
+ labelTranslationKey?: string | undefined;
3683
+ };
3684
+ graphQL: {
3685
+ displayFields: {
3686
+ label: string;
3687
+ propertyName: string;
3688
+ labelTranslationKey?: string | undefined;
3689
+ }[];
3690
+ responseField: string;
3691
+ localQueryId?: string | undefined;
3692
+ query?: string | undefined;
3693
+ variables?: {
3694
+ type: string;
3695
+ name: string;
3696
+ labelTranslationKey?: string | undefined;
3697
+ label?: string | undefined;
3698
+ minLength?: number | undefined;
3699
+ defaultValue?: string | undefined;
3700
+ }[] | undefined;
3701
+ };
3702
+ }>, z.ZodObject<{
3703
+ meta: z.ZodObject<{
3704
+ schemaVersion: z.ZodLiteral<"1.0">;
3705
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
3706
+ }, "strip", z.ZodTypeAny, {
3707
+ schemaVersion: "1.0";
3708
+ labelTranslationKey?: string | undefined;
3709
+ }, {
3710
+ schemaVersion: "1.0";
3711
+ labelTranslationKey?: string | undefined;
3712
+ }>;
3713
+ } & {
3714
+ type: z.ZodLiteral<"url">;
3715
+ attributes: z.ZodOptional<z.ZodObject<{
3716
+ maxLength: z.ZodOptional<z.ZodNumber>;
3717
+ minLength: z.ZodOptional<z.ZodNumber>;
3718
+ pattern: z.ZodOptional<z.ZodString>;
3719
+ }, "strip", z.ZodTypeAny, {
3720
+ maxLength?: number | undefined;
3721
+ minLength?: number | undefined;
3722
+ pattern?: string | undefined;
3723
+ }, {
3724
+ maxLength?: number | undefined;
3725
+ minLength?: number | undefined;
3726
+ pattern?: string | undefined;
3727
+ }>>;
3728
+ }, "strip", z.ZodTypeAny, {
3729
+ type: "url";
3730
+ meta: {
3731
+ schemaVersion: "1.0";
3732
+ labelTranslationKey?: string | undefined;
3733
+ };
3734
+ attributes?: {
3735
+ maxLength?: number | undefined;
3736
+ minLength?: number | undefined;
3737
+ pattern?: string | undefined;
3738
+ } | undefined;
3739
+ }, {
3740
+ type: "url";
3741
+ meta: {
3742
+ schemaVersion: "1.0";
3743
+ labelTranslationKey?: string | undefined;
3744
+ };
3745
+ attributes?: {
3746
+ maxLength?: number | undefined;
3747
+ minLength?: number | undefined;
3748
+ pattern?: string | undefined;
3749
+ } | undefined;
3750
+ }>]>;
3751
+ }, "strip", z.ZodTypeAny, {
3752
+ content: {
3753
+ type: "boolean";
3754
+ meta: {
3755
+ schemaVersion: "1.0";
3756
+ labelTranslationKey?: string | undefined;
3757
+ };
3758
+ attributes?: {
3759
+ checked?: boolean | undefined;
3760
+ } | undefined;
3761
+ } | {
3762
+ type: "number";
3763
+ meta: {
3764
+ schemaVersion: "1.0";
3765
+ labelTranslationKey?: string | undefined;
3766
+ };
3767
+ attributes?: {
3768
+ max?: number | undefined;
3769
+ min?: number | undefined;
3770
+ step?: number | undefined;
3771
+ } | undefined;
3772
+ } | {
3773
+ type: "currency";
3774
+ meta: {
3775
+ schemaVersion: "1.0";
3776
+ labelTranslationKey?: string | undefined;
3777
+ denomination?: string | undefined;
3778
+ };
3779
+ attributes?: {
3780
+ max?: number | undefined;
3781
+ min?: number | undefined;
3782
+ step?: number | undefined;
3783
+ } | undefined;
3784
+ } | {
3785
+ type: "email";
3786
+ meta: {
3787
+ schemaVersion: "1.0";
3788
+ labelTranslationKey?: string | undefined;
3789
+ };
3790
+ attributes?: {
3791
+ maxLength?: number | undefined;
3792
+ minLength?: number | undefined;
3793
+ multiple?: boolean | undefined;
3794
+ pattern?: string | undefined;
3795
+ } | undefined;
3796
+ } | {
3797
+ type: "textArea";
3798
+ meta: {
3799
+ schemaVersion: "1.0";
3800
+ labelTranslationKey?: string | undefined;
3801
+ asRichText?: boolean | undefined;
3802
+ };
3803
+ attributes?: {
3804
+ maxLength?: number | undefined;
3805
+ minLength?: number | undefined;
3806
+ cols?: number | undefined;
3807
+ rows?: number | undefined;
3808
+ } | undefined;
3809
+ } | {
3810
+ type: "text";
3811
+ meta: {
3812
+ schemaVersion: "1.0";
3813
+ labelTranslationKey?: string | undefined;
3814
+ };
3815
+ attributes?: {
3816
+ maxLength?: number | undefined;
3817
+ minLength?: number | undefined;
3818
+ pattern?: string | undefined;
3819
+ } | undefined;
3820
+ } | {
3821
+ type: "url";
3822
+ meta: {
3823
+ schemaVersion: "1.0";
3824
+ labelTranslationKey?: string | undefined;
3825
+ };
3826
+ attributes?: {
3827
+ maxLength?: number | undefined;
3828
+ minLength?: number | undefined;
3829
+ pattern?: string | undefined;
3830
+ } | undefined;
3831
+ } | {
3832
+ type: "date";
3833
+ meta: {
3834
+ schemaVersion: "1.0";
3835
+ labelTranslationKey?: string | undefined;
3836
+ };
3837
+ attributes?: {
3838
+ max?: string | undefined;
3839
+ min?: string | undefined;
3840
+ step?: number | undefined;
3841
+ } | undefined;
3842
+ } | {
3843
+ type: "dateRange";
3844
+ meta: {
3845
+ schemaVersion: "1.0";
3846
+ labelTranslationKey?: string | undefined;
3847
+ };
3848
+ columns: {
3849
+ start: {
3850
+ type: "date";
3851
+ meta: {
3852
+ schemaVersion: "1.0";
3853
+ labelTranslationKey?: string | undefined;
3854
+ };
3855
+ attributes: {
3856
+ label: string;
3857
+ };
3858
+ };
3859
+ end: {
3860
+ type: "date";
3861
+ meta: {
3862
+ schemaVersion: "1.0";
3863
+ labelTranslationKey?: string | undefined;
3864
+ };
3865
+ attributes: {
3866
+ label: string;
3867
+ };
3868
+ };
3869
+ };
3870
+ } | {
3871
+ type: "checkBoxes";
3872
+ options: {
3873
+ type: "option";
3874
+ attributes: {
3875
+ value: string;
3876
+ label: string;
3877
+ checked?: boolean | undefined;
3878
+ };
3879
+ }[];
3880
+ meta: {
3881
+ schemaVersion: "1.0";
3882
+ labelTranslationKey?: string | undefined;
3883
+ };
3884
+ } | {
3885
+ type: "radioButtons";
3886
+ options: {
3887
+ type: "option";
3888
+ attributes: {
3889
+ value: string;
3890
+ label: string;
3891
+ selected?: boolean | undefined;
3892
+ };
3893
+ }[];
3894
+ meta: {
3895
+ schemaVersion: "1.0";
3896
+ labelTranslationKey?: string | undefined;
3897
+ };
3898
+ } | {
3899
+ type: "selectBox";
3900
+ options: {
3901
+ type: "option";
3902
+ attributes: {
3903
+ value: string;
3904
+ label: string;
3905
+ selected?: boolean | undefined;
3906
+ };
3907
+ }[];
3908
+ meta: {
3909
+ schemaVersion: "1.0";
3910
+ labelTranslationKey?: string | undefined;
3911
+ };
3912
+ attributes?: {
3913
+ multiple?: boolean | undefined;
3914
+ } | undefined;
3915
+ } | {
3916
+ type: "filteredSearch";
3917
+ meta: {
3918
+ schemaVersion: "1.0";
3919
+ labelTranslationKey?: string | undefined;
3920
+ };
3921
+ graphQL: {
3922
+ displayFields: {
3923
+ label: string;
3924
+ propertyName: string;
3925
+ labelTranslationKey?: string | undefined;
3926
+ }[];
3927
+ responseField: string;
3928
+ localQueryId?: string | undefined;
3929
+ query?: string | undefined;
3930
+ variables?: {
3931
+ type: string;
3932
+ name: string;
3933
+ labelTranslationKey?: string | undefined;
3934
+ label?: string | undefined;
3935
+ minLength?: number | undefined;
3936
+ defaultValue?: string | undefined;
3937
+ }[] | undefined;
3938
+ };
3939
+ attributes?: {
3940
+ multiple?: boolean | undefined;
3941
+ } | undefined;
3942
+ } | {
3943
+ type: "typeaheadSearch";
3944
+ meta: {
3945
+ schemaVersion: "1.0";
3946
+ labelTranslationKey?: string | undefined;
3947
+ };
3948
+ graphQL: {
3949
+ displayFields: {
3950
+ label: string;
3951
+ propertyName: string;
3952
+ labelTranslationKey?: string | undefined;
3953
+ }[];
3954
+ responseField: string;
3955
+ localQueryId?: string | undefined;
3956
+ query?: string | undefined;
3957
+ variables?: {
3958
+ type: string;
3959
+ name: string;
3960
+ labelTranslationKey?: string | undefined;
3961
+ label?: string | undefined;
3962
+ minLength?: number | undefined;
3963
+ defaultValue?: string | undefined;
3964
+ }[] | undefined;
3965
+ };
3966
+ };
3967
+ heading?: string | undefined;
3968
+ }, {
3969
+ content: {
3970
+ type: "boolean";
3971
+ meta: {
3972
+ schemaVersion: "1.0";
3973
+ labelTranslationKey?: string | undefined;
3974
+ };
3975
+ attributes?: {
3976
+ checked?: boolean | undefined;
3977
+ } | undefined;
3978
+ } | {
3979
+ type: "number";
3980
+ meta: {
3981
+ schemaVersion: "1.0";
3982
+ labelTranslationKey?: string | undefined;
3983
+ };
3984
+ attributes?: {
3985
+ max?: number | undefined;
3986
+ min?: number | undefined;
3987
+ step?: number | undefined;
3988
+ } | undefined;
3989
+ } | {
3990
+ type: "currency";
3991
+ meta: {
3992
+ schemaVersion: "1.0";
3993
+ labelTranslationKey?: string | undefined;
3994
+ denomination?: string | undefined;
3995
+ };
3996
+ attributes?: {
3997
+ max?: number | undefined;
3998
+ min?: number | undefined;
3999
+ step?: number | undefined;
4000
+ } | undefined;
4001
+ } | {
4002
+ type: "email";
4003
+ meta: {
4004
+ schemaVersion: "1.0";
4005
+ labelTranslationKey?: string | undefined;
4006
+ };
4007
+ attributes?: {
4008
+ maxLength?: number | undefined;
4009
+ minLength?: number | undefined;
4010
+ multiple?: boolean | undefined;
4011
+ pattern?: string | undefined;
4012
+ } | undefined;
4013
+ } | {
4014
+ type: "textArea";
4015
+ meta: {
4016
+ schemaVersion: "1.0";
4017
+ labelTranslationKey?: string | undefined;
4018
+ asRichText?: boolean | undefined;
4019
+ };
4020
+ attributes?: {
4021
+ maxLength?: number | undefined;
4022
+ minLength?: number | undefined;
4023
+ cols?: number | undefined;
4024
+ rows?: number | undefined;
4025
+ } | undefined;
4026
+ } | {
4027
+ type: "text";
4028
+ meta: {
4029
+ schemaVersion: "1.0";
4030
+ labelTranslationKey?: string | undefined;
4031
+ };
4032
+ attributes?: {
4033
+ maxLength?: number | undefined;
4034
+ minLength?: number | undefined;
4035
+ pattern?: string | undefined;
4036
+ } | undefined;
4037
+ } | {
4038
+ type: "url";
4039
+ meta: {
4040
+ schemaVersion: "1.0";
4041
+ labelTranslationKey?: string | undefined;
4042
+ };
4043
+ attributes?: {
4044
+ maxLength?: number | undefined;
4045
+ minLength?: number | undefined;
4046
+ pattern?: string | undefined;
4047
+ } | undefined;
4048
+ } | {
4049
+ type: "date";
4050
+ meta: {
4051
+ schemaVersion: "1.0";
4052
+ labelTranslationKey?: string | undefined;
4053
+ };
4054
+ attributes?: {
4055
+ max?: string | undefined;
4056
+ min?: string | undefined;
4057
+ step?: number | undefined;
4058
+ } | undefined;
4059
+ } | {
4060
+ type: "dateRange";
4061
+ meta: {
4062
+ schemaVersion: "1.0";
4063
+ labelTranslationKey?: string | undefined;
4064
+ };
4065
+ columns: {
4066
+ start: {
4067
+ type: "date";
4068
+ meta: {
4069
+ schemaVersion: "1.0";
4070
+ labelTranslationKey?: string | undefined;
4071
+ };
4072
+ attributes: {
4073
+ label: string;
4074
+ };
4075
+ };
4076
+ end: {
4077
+ type: "date";
4078
+ meta: {
4079
+ schemaVersion: "1.0";
4080
+ labelTranslationKey?: string | undefined;
4081
+ };
4082
+ attributes: {
4083
+ label: string;
4084
+ };
4085
+ };
4086
+ };
4087
+ } | {
4088
+ type: "checkBoxes";
4089
+ options: {
4090
+ type: "option";
4091
+ attributes: {
4092
+ value: string;
4093
+ label: string;
4094
+ checked?: boolean | undefined;
4095
+ };
4096
+ }[];
4097
+ meta: {
4098
+ schemaVersion: "1.0";
4099
+ labelTranslationKey?: string | undefined;
4100
+ };
4101
+ } | {
4102
+ type: "radioButtons";
4103
+ options: {
4104
+ type: "option";
4105
+ attributes: {
4106
+ value: string;
4107
+ label: string;
4108
+ selected?: boolean | undefined;
4109
+ };
4110
+ }[];
4111
+ meta: {
4112
+ schemaVersion: "1.0";
4113
+ labelTranslationKey?: string | undefined;
4114
+ };
4115
+ } | {
4116
+ type: "selectBox";
4117
+ options: {
4118
+ type: "option";
4119
+ attributes: {
4120
+ value: string;
4121
+ label: string;
4122
+ selected?: boolean | undefined;
4123
+ };
4124
+ }[];
4125
+ meta: {
4126
+ schemaVersion: "1.0";
4127
+ labelTranslationKey?: string | undefined;
4128
+ };
4129
+ attributes?: {
4130
+ multiple?: boolean | undefined;
4131
+ } | undefined;
4132
+ } | {
4133
+ type: "filteredSearch";
4134
+ meta: {
4135
+ schemaVersion: "1.0";
4136
+ labelTranslationKey?: string | undefined;
4137
+ };
4138
+ graphQL: {
4139
+ displayFields: {
4140
+ label: string;
4141
+ propertyName: string;
4142
+ labelTranslationKey?: string | undefined;
4143
+ }[];
4144
+ responseField: string;
4145
+ localQueryId?: string | undefined;
4146
+ query?: string | undefined;
4147
+ variables?: {
4148
+ type: string;
4149
+ name: string;
4150
+ labelTranslationKey?: string | undefined;
4151
+ label?: string | undefined;
4152
+ minLength?: number | undefined;
4153
+ defaultValue?: string | undefined;
4154
+ }[] | undefined;
4155
+ };
4156
+ attributes?: {
4157
+ multiple?: boolean | undefined;
4158
+ } | undefined;
4159
+ } | {
4160
+ type: "typeaheadSearch";
4161
+ meta: {
4162
+ schemaVersion: "1.0";
4163
+ labelTranslationKey?: string | undefined;
4164
+ };
4165
+ graphQL: {
4166
+ displayFields: {
4167
+ label: string;
4168
+ propertyName: string;
4169
+ labelTranslationKey?: string | undefined;
4170
+ }[];
4171
+ responseField: string;
4172
+ localQueryId?: string | undefined;
4173
+ query?: string | undefined;
4174
+ variables?: {
4175
+ type: string;
4176
+ name: string;
4177
+ labelTranslationKey?: string | undefined;
4178
+ label?: string | undefined;
4179
+ minLength?: number | undefined;
4180
+ defaultValue?: string | undefined;
4181
+ }[] | undefined;
4182
+ };
4183
+ };
4184
+ heading?: string | undefined;
4185
+ }>, "many">;
4186
+ attributes: z.ZodOptional<z.ZodObject<{
4187
+ canAddRows: z.ZodOptional<z.ZodBoolean>;
4188
+ canRemoveRows: z.ZodOptional<z.ZodBoolean>;
4189
+ initialRows: z.ZodOptional<z.ZodNumber>;
4190
+ maxRows: z.ZodOptional<z.ZodNumber>;
4191
+ minRows: z.ZodOptional<z.ZodNumber>;
4192
+ }, "strip", z.ZodTypeAny, {
4193
+ canAddRows?: boolean | undefined;
4194
+ canRemoveRows?: boolean | undefined;
4195
+ initialRows?: number | undefined;
4196
+ maxRows?: number | undefined;
4197
+ minRows?: number | undefined;
4198
+ }, {
4199
+ canAddRows?: boolean | undefined;
4200
+ canRemoveRows?: boolean | undefined;
4201
+ initialRows?: number | undefined;
4202
+ maxRows?: number | undefined;
4203
+ minRows?: number | undefined;
4204
+ }>>;
4205
+ }, "strip", z.ZodTypeAny, {
4206
+ type: "table";
4207
+ meta: {
4208
+ schemaVersion: "1.0";
4209
+ labelTranslationKey?: string | undefined;
4210
+ };
4211
+ columns: {
4212
+ content: {
4213
+ type: "boolean";
4214
+ meta: {
4215
+ schemaVersion: "1.0";
4216
+ labelTranslationKey?: string | undefined;
4217
+ };
4218
+ attributes?: {
4219
+ checked?: boolean | undefined;
4220
+ } | undefined;
4221
+ } | {
4222
+ type: "number";
4223
+ meta: {
4224
+ schemaVersion: "1.0";
4225
+ labelTranslationKey?: string | undefined;
4226
+ };
4227
+ attributes?: {
4228
+ max?: number | undefined;
4229
+ min?: number | undefined;
4230
+ step?: number | undefined;
4231
+ } | undefined;
4232
+ } | {
4233
+ type: "currency";
4234
+ meta: {
4235
+ schemaVersion: "1.0";
4236
+ labelTranslationKey?: string | undefined;
4237
+ denomination?: string | undefined;
4238
+ };
4239
+ attributes?: {
4240
+ max?: number | undefined;
4241
+ min?: number | undefined;
4242
+ step?: number | undefined;
4243
+ } | undefined;
4244
+ } | {
4245
+ type: "email";
4246
+ meta: {
4247
+ schemaVersion: "1.0";
4248
+ labelTranslationKey?: string | undefined;
4249
+ };
4250
+ attributes?: {
4251
+ maxLength?: number | undefined;
4252
+ minLength?: number | undefined;
4253
+ multiple?: boolean | undefined;
4254
+ pattern?: string | undefined;
4255
+ } | undefined;
4256
+ } | {
4257
+ type: "textArea";
4258
+ meta: {
4259
+ schemaVersion: "1.0";
4260
+ labelTranslationKey?: string | undefined;
4261
+ asRichText?: boolean | undefined;
4262
+ };
4263
+ attributes?: {
4264
+ maxLength?: number | undefined;
4265
+ minLength?: number | undefined;
4266
+ cols?: number | undefined;
4267
+ rows?: number | undefined;
4268
+ } | undefined;
4269
+ } | {
4270
+ type: "text";
4271
+ meta: {
4272
+ schemaVersion: "1.0";
4273
+ labelTranslationKey?: string | undefined;
4274
+ };
4275
+ attributes?: {
4276
+ maxLength?: number | undefined;
4277
+ minLength?: number | undefined;
4278
+ pattern?: string | undefined;
4279
+ } | undefined;
4280
+ } | {
4281
+ type: "url";
4282
+ meta: {
4283
+ schemaVersion: "1.0";
4284
+ labelTranslationKey?: string | undefined;
4285
+ };
4286
+ attributes?: {
4287
+ maxLength?: number | undefined;
4288
+ minLength?: number | undefined;
4289
+ pattern?: string | undefined;
4290
+ } | undefined;
4291
+ } | {
4292
+ type: "date";
4293
+ meta: {
4294
+ schemaVersion: "1.0";
4295
+ labelTranslationKey?: string | undefined;
4296
+ };
4297
+ attributes?: {
4298
+ max?: string | undefined;
4299
+ min?: string | undefined;
4300
+ step?: number | undefined;
4301
+ } | undefined;
4302
+ } | {
4303
+ type: "dateRange";
4304
+ meta: {
4305
+ schemaVersion: "1.0";
4306
+ labelTranslationKey?: string | undefined;
4307
+ };
4308
+ columns: {
4309
+ start: {
4310
+ type: "date";
4311
+ meta: {
4312
+ schemaVersion: "1.0";
4313
+ labelTranslationKey?: string | undefined;
4314
+ };
4315
+ attributes: {
4316
+ label: string;
4317
+ };
4318
+ };
4319
+ end: {
4320
+ type: "date";
4321
+ meta: {
4322
+ schemaVersion: "1.0";
4323
+ labelTranslationKey?: string | undefined;
4324
+ };
4325
+ attributes: {
4326
+ label: string;
4327
+ };
4328
+ };
4329
+ };
4330
+ } | {
4331
+ type: "checkBoxes";
4332
+ options: {
4333
+ type: "option";
4334
+ attributes: {
4335
+ value: string;
4336
+ label: string;
4337
+ checked?: boolean | undefined;
4338
+ };
4339
+ }[];
4340
+ meta: {
4341
+ schemaVersion: "1.0";
4342
+ labelTranslationKey?: string | undefined;
4343
+ };
4344
+ } | {
4345
+ type: "radioButtons";
4346
+ options: {
4347
+ type: "option";
4348
+ attributes: {
4349
+ value: string;
4350
+ label: string;
4351
+ selected?: boolean | undefined;
4352
+ };
4353
+ }[];
4354
+ meta: {
4355
+ schemaVersion: "1.0";
4356
+ labelTranslationKey?: string | undefined;
4357
+ };
4358
+ } | {
4359
+ type: "selectBox";
4360
+ options: {
4361
+ type: "option";
4362
+ attributes: {
4363
+ value: string;
4364
+ label: string;
4365
+ selected?: boolean | undefined;
4366
+ };
4367
+ }[];
4368
+ meta: {
4369
+ schemaVersion: "1.0";
4370
+ labelTranslationKey?: string | undefined;
4371
+ };
4372
+ attributes?: {
4373
+ multiple?: boolean | undefined;
4374
+ } | undefined;
4375
+ } | {
4376
+ type: "filteredSearch";
4377
+ meta: {
4378
+ schemaVersion: "1.0";
4379
+ labelTranslationKey?: string | undefined;
4380
+ };
4381
+ graphQL: {
4382
+ displayFields: {
4383
+ label: string;
4384
+ propertyName: string;
4385
+ labelTranslationKey?: string | undefined;
4386
+ }[];
4387
+ responseField: string;
4388
+ localQueryId?: string | undefined;
4389
+ query?: string | undefined;
4390
+ variables?: {
4391
+ type: string;
4392
+ name: string;
4393
+ labelTranslationKey?: string | undefined;
4394
+ label?: string | undefined;
4395
+ minLength?: number | undefined;
4396
+ defaultValue?: string | undefined;
4397
+ }[] | undefined;
4398
+ };
4399
+ attributes?: {
4400
+ multiple?: boolean | undefined;
4401
+ } | undefined;
4402
+ } | {
4403
+ type: "typeaheadSearch";
4404
+ meta: {
4405
+ schemaVersion: "1.0";
4406
+ labelTranslationKey?: string | undefined;
4407
+ };
4408
+ graphQL: {
4409
+ displayFields: {
4410
+ label: string;
4411
+ propertyName: string;
4412
+ labelTranslationKey?: string | undefined;
4413
+ }[];
4414
+ responseField: string;
4415
+ localQueryId?: string | undefined;
4416
+ query?: string | undefined;
4417
+ variables?: {
4418
+ type: string;
4419
+ name: string;
4420
+ labelTranslationKey?: string | undefined;
4421
+ label?: string | undefined;
4422
+ minLength?: number | undefined;
4423
+ defaultValue?: string | undefined;
4424
+ }[] | undefined;
4425
+ };
4426
+ };
4427
+ heading?: string | undefined;
4428
+ }[];
4429
+ attributes?: {
4430
+ canAddRows?: boolean | undefined;
4431
+ canRemoveRows?: boolean | undefined;
4432
+ initialRows?: number | undefined;
4433
+ maxRows?: number | undefined;
4434
+ minRows?: number | undefined;
4435
+ } | undefined;
4436
+ }, {
4437
+ type: "table";
4438
+ meta: {
4439
+ schemaVersion: "1.0";
4440
+ labelTranslationKey?: string | undefined;
4441
+ };
4442
+ columns: {
4443
+ content: {
4444
+ type: "boolean";
4445
+ meta: {
4446
+ schemaVersion: "1.0";
4447
+ labelTranslationKey?: string | undefined;
4448
+ };
4449
+ attributes?: {
4450
+ checked?: boolean | undefined;
4451
+ } | undefined;
4452
+ } | {
4453
+ type: "number";
4454
+ meta: {
4455
+ schemaVersion: "1.0";
4456
+ labelTranslationKey?: string | undefined;
4457
+ };
4458
+ attributes?: {
4459
+ max?: number | undefined;
4460
+ min?: number | undefined;
4461
+ step?: number | undefined;
4462
+ } | undefined;
4463
+ } | {
4464
+ type: "currency";
4465
+ meta: {
4466
+ schemaVersion: "1.0";
4467
+ labelTranslationKey?: string | undefined;
4468
+ denomination?: string | undefined;
4469
+ };
4470
+ attributes?: {
4471
+ max?: number | undefined;
4472
+ min?: number | undefined;
4473
+ step?: number | undefined;
4474
+ } | undefined;
4475
+ } | {
4476
+ type: "email";
4477
+ meta: {
4478
+ schemaVersion: "1.0";
4479
+ labelTranslationKey?: string | undefined;
4480
+ };
4481
+ attributes?: {
4482
+ maxLength?: number | undefined;
4483
+ minLength?: number | undefined;
4484
+ multiple?: boolean | undefined;
4485
+ pattern?: string | undefined;
4486
+ } | undefined;
4487
+ } | {
4488
+ type: "textArea";
4489
+ meta: {
4490
+ schemaVersion: "1.0";
4491
+ labelTranslationKey?: string | undefined;
4492
+ asRichText?: boolean | undefined;
4493
+ };
4494
+ attributes?: {
4495
+ maxLength?: number | undefined;
4496
+ minLength?: number | undefined;
4497
+ cols?: number | undefined;
4498
+ rows?: number | undefined;
4499
+ } | undefined;
4500
+ } | {
4501
+ type: "text";
4502
+ meta: {
4503
+ schemaVersion: "1.0";
4504
+ labelTranslationKey?: string | undefined;
4505
+ };
4506
+ attributes?: {
4507
+ maxLength?: number | undefined;
4508
+ minLength?: number | undefined;
4509
+ pattern?: string | undefined;
4510
+ } | undefined;
4511
+ } | {
4512
+ type: "url";
4513
+ meta: {
4514
+ schemaVersion: "1.0";
4515
+ labelTranslationKey?: string | undefined;
4516
+ };
4517
+ attributes?: {
4518
+ maxLength?: number | undefined;
4519
+ minLength?: number | undefined;
4520
+ pattern?: string | undefined;
4521
+ } | undefined;
4522
+ } | {
4523
+ type: "date";
4524
+ meta: {
4525
+ schemaVersion: "1.0";
4526
+ labelTranslationKey?: string | undefined;
4527
+ };
4528
+ attributes?: {
4529
+ max?: string | undefined;
4530
+ min?: string | undefined;
4531
+ step?: number | undefined;
4532
+ } | undefined;
4533
+ } | {
4534
+ type: "dateRange";
4535
+ meta: {
4536
+ schemaVersion: "1.0";
4537
+ labelTranslationKey?: string | undefined;
4538
+ };
4539
+ columns: {
4540
+ start: {
4541
+ type: "date";
4542
+ meta: {
4543
+ schemaVersion: "1.0";
4544
+ labelTranslationKey?: string | undefined;
4545
+ };
4546
+ attributes: {
4547
+ label: string;
4548
+ };
4549
+ };
4550
+ end: {
4551
+ type: "date";
4552
+ meta: {
4553
+ schemaVersion: "1.0";
4554
+ labelTranslationKey?: string | undefined;
4555
+ };
4556
+ attributes: {
4557
+ label: string;
4558
+ };
4559
+ };
4560
+ };
4561
+ } | {
4562
+ type: "checkBoxes";
4563
+ options: {
4564
+ type: "option";
4565
+ attributes: {
4566
+ value: string;
4567
+ label: string;
4568
+ checked?: boolean | undefined;
4569
+ };
4570
+ }[];
4571
+ meta: {
4572
+ schemaVersion: "1.0";
4573
+ labelTranslationKey?: string | undefined;
4574
+ };
4575
+ } | {
4576
+ type: "radioButtons";
4577
+ options: {
4578
+ type: "option";
4579
+ attributes: {
4580
+ value: string;
4581
+ label: string;
4582
+ selected?: boolean | undefined;
4583
+ };
4584
+ }[];
4585
+ meta: {
4586
+ schemaVersion: "1.0";
4587
+ labelTranslationKey?: string | undefined;
4588
+ };
4589
+ } | {
4590
+ type: "selectBox";
4591
+ options: {
4592
+ type: "option";
4593
+ attributes: {
4594
+ value: string;
4595
+ label: string;
4596
+ selected?: boolean | undefined;
4597
+ };
4598
+ }[];
4599
+ meta: {
4600
+ schemaVersion: "1.0";
4601
+ labelTranslationKey?: string | undefined;
4602
+ };
4603
+ attributes?: {
4604
+ multiple?: boolean | undefined;
4605
+ } | undefined;
4606
+ } | {
4607
+ type: "filteredSearch";
4608
+ meta: {
4609
+ schemaVersion: "1.0";
4610
+ labelTranslationKey?: string | undefined;
4611
+ };
4612
+ graphQL: {
4613
+ displayFields: {
4614
+ label: string;
4615
+ propertyName: string;
4616
+ labelTranslationKey?: string | undefined;
4617
+ }[];
4618
+ responseField: string;
4619
+ localQueryId?: string | undefined;
4620
+ query?: string | undefined;
4621
+ variables?: {
4622
+ type: string;
4623
+ name: string;
4624
+ labelTranslationKey?: string | undefined;
4625
+ label?: string | undefined;
4626
+ minLength?: number | undefined;
4627
+ defaultValue?: string | undefined;
4628
+ }[] | undefined;
4629
+ };
4630
+ attributes?: {
4631
+ multiple?: boolean | undefined;
4632
+ } | undefined;
4633
+ } | {
4634
+ type: "typeaheadSearch";
4635
+ meta: {
4636
+ schemaVersion: "1.0";
4637
+ labelTranslationKey?: string | undefined;
4638
+ };
4639
+ graphQL: {
4640
+ displayFields: {
4641
+ label: string;
4642
+ propertyName: string;
4643
+ labelTranslationKey?: string | undefined;
4644
+ }[];
4645
+ responseField: string;
4646
+ localQueryId?: string | undefined;
4647
+ query?: string | undefined;
4648
+ variables?: {
4649
+ type: string;
4650
+ name: string;
4651
+ labelTranslationKey?: string | undefined;
4652
+ label?: string | undefined;
4653
+ minLength?: number | undefined;
4654
+ defaultValue?: string | undefined;
4655
+ }[] | undefined;
4656
+ };
4657
+ };
4658
+ heading?: string | undefined;
4659
+ }[];
2681
4660
  attributes?: {
2682
4661
  canAddRows?: boolean | undefined;
2683
4662
  canRemoveRows?: boolean | undefined;