@openframe-org/criteria-set-protocol 2.0.17 → 2.0.18

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.
@@ -419,6 +419,7 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
419
419
  }>>;
420
420
  definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
421
421
  type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
422
+ label: z.ZodOptional<z.ZodString>;
422
423
  }, {
423
424
  type: z.ZodLiteral<"select-single">;
424
425
  options: z.ZodArray<z.ZodObject<{
@@ -449,6 +450,7 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
449
450
  intro?: string | undefined;
450
451
  outro?: string | undefined;
451
452
  }[];
453
+ label?: string | undefined;
452
454
  }, {
453
455
  type: "select-single";
454
456
  options: {
@@ -458,8 +460,10 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
458
460
  intro?: string | undefined;
459
461
  outro?: string | undefined;
460
462
  }[];
463
+ label?: string | undefined;
461
464
  }>, z.ZodObject<z.objectUtil.extendShape<{
462
465
  type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
466
+ label: z.ZodOptional<z.ZodString>;
463
467
  }, {
464
468
  type: z.ZodLiteral<"select-multiple">;
465
469
  options: z.ZodArray<z.ZodObject<{
@@ -490,6 +494,7 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
490
494
  intro?: string | undefined;
491
495
  outro?: string | undefined;
492
496
  }[];
497
+ label?: string | undefined;
493
498
  }, {
494
499
  type: "select-multiple";
495
500
  options: {
@@ -499,8 +504,10 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
499
504
  intro?: string | undefined;
500
505
  outro?: string | undefined;
501
506
  }[];
507
+ label?: string | undefined;
502
508
  }>, z.ZodObject<z.objectUtil.extendShape<{
503
509
  type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
510
+ label: z.ZodOptional<z.ZodString>;
504
511
  }, {
505
512
  type: z.ZodLiteral<"number">;
506
513
  minimum: z.ZodOptional<z.ZodNumber>;
@@ -508,16 +515,19 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
508
515
  step: z.ZodOptional<z.ZodNumber>;
509
516
  }>, "strip", z.ZodTypeAny, {
510
517
  type: "number";
518
+ label?: string | undefined;
511
519
  minimum?: number | undefined;
512
520
  maximum?: number | undefined;
513
521
  step?: number | undefined;
514
522
  }, {
515
523
  type: "number";
524
+ label?: string | undefined;
516
525
  minimum?: number | undefined;
517
526
  maximum?: number | undefined;
518
527
  step?: number | undefined;
519
528
  }>, z.ZodObject<z.objectUtil.extendShape<{
520
529
  type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
530
+ label: z.ZodOptional<z.ZodString>;
521
531
  }, {
522
532
  type: z.ZodLiteral<"boolean">;
523
533
  labels: z.ZodOptional<z.ZodObject<{
@@ -532,12 +542,14 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
532
542
  }>>;
533
543
  }>, "strip", z.ZodTypeAny, {
534
544
  type: "boolean";
545
+ label?: string | undefined;
535
546
  labels?: {
536
547
  false: string;
537
548
  true: string;
538
549
  } | undefined;
539
550
  }, {
540
551
  type: "boolean";
552
+ label?: string | undefined;
541
553
  labels?: {
542
554
  false: string;
543
555
  true: string;
@@ -564,6 +576,7 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
564
576
  intro?: string | undefined;
565
577
  outro?: string | undefined;
566
578
  }[];
579
+ label?: string | undefined;
567
580
  } | {
568
581
  type: "select-multiple";
569
582
  options: {
@@ -573,13 +586,16 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
573
586
  intro?: string | undefined;
574
587
  outro?: string | undefined;
575
588
  }[];
589
+ label?: string | undefined;
576
590
  } | {
577
591
  type: "number";
592
+ label?: string | undefined;
578
593
  minimum?: number | undefined;
579
594
  maximum?: number | undefined;
580
595
  step?: number | undefined;
581
596
  } | {
582
597
  type: "boolean";
598
+ label?: string | undefined;
583
599
  labels?: {
584
600
  false: string;
585
601
  true: string;
@@ -633,6 +649,7 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
633
649
  intro?: string | undefined;
634
650
  outro?: string | undefined;
635
651
  }[];
652
+ label?: string | undefined;
636
653
  } | {
637
654
  type: "select-multiple";
638
655
  options: {
@@ -642,13 +659,16 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
642
659
  intro?: string | undefined;
643
660
  outro?: string | undefined;
644
661
  }[];
662
+ label?: string | undefined;
645
663
  } | {
646
664
  type: "number";
665
+ label?: string | undefined;
647
666
  minimum?: number | undefined;
648
667
  maximum?: number | undefined;
649
668
  step?: number | undefined;
650
669
  } | {
651
670
  type: "boolean";
671
+ label?: string | undefined;
652
672
  labels?: {
653
673
  false: string;
654
674
  true: string;
@@ -714,6 +734,7 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
714
734
  intro?: string | undefined;
715
735
  outro?: string | undefined;
716
736
  }[];
737
+ label?: string | undefined;
717
738
  } | {
718
739
  type: "select-multiple";
719
740
  options: {
@@ -723,13 +744,16 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
723
744
  intro?: string | undefined;
724
745
  outro?: string | undefined;
725
746
  }[];
747
+ label?: string | undefined;
726
748
  } | {
727
749
  type: "number";
750
+ label?: string | undefined;
728
751
  minimum?: number | undefined;
729
752
  maximum?: number | undefined;
730
753
  step?: number | undefined;
731
754
  } | {
732
755
  type: "boolean";
756
+ label?: string | undefined;
733
757
  labels?: {
734
758
  false: string;
735
759
  true: string;
@@ -822,6 +846,7 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
822
846
  intro?: string | undefined;
823
847
  outro?: string | undefined;
824
848
  }[];
849
+ label?: string | undefined;
825
850
  } | {
826
851
  type: "select-multiple";
827
852
  options: {
@@ -831,13 +856,16 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
831
856
  intro?: string | undefined;
832
857
  outro?: string | undefined;
833
858
  }[];
859
+ label?: string | undefined;
834
860
  } | {
835
861
  type: "number";
862
+ label?: string | undefined;
836
863
  minimum?: number | undefined;
837
864
  maximum?: number | undefined;
838
865
  step?: number | undefined;
839
866
  } | {
840
867
  type: "boolean";
868
+ label?: string | undefined;
841
869
  labels?: {
842
870
  false: string;
843
871
  true: string;
@@ -945,6 +973,7 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
945
973
  intro?: string | undefined;
946
974
  outro?: string | undefined;
947
975
  }[];
976
+ label?: string | undefined;
948
977
  } | {
949
978
  type: "select-multiple";
950
979
  options: {
@@ -954,13 +983,16 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
954
983
  intro?: string | undefined;
955
984
  outro?: string | undefined;
956
985
  }[];
986
+ label?: string | undefined;
957
987
  } | {
958
988
  type: "number";
989
+ label?: string | undefined;
959
990
  minimum?: number | undefined;
960
991
  maximum?: number | undefined;
961
992
  step?: number | undefined;
962
993
  } | {
963
994
  type: "boolean";
995
+ label?: string | undefined;
964
996
  labels?: {
965
997
  false: string;
966
998
  true: string;
@@ -1093,6 +1125,7 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
1093
1125
  intro?: string | undefined;
1094
1126
  outro?: string | undefined;
1095
1127
  }[];
1128
+ label?: string | undefined;
1096
1129
  } | {
1097
1130
  type: "select-multiple";
1098
1131
  options: {
@@ -1102,13 +1135,16 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
1102
1135
  intro?: string | undefined;
1103
1136
  outro?: string | undefined;
1104
1137
  }[];
1138
+ label?: string | undefined;
1105
1139
  } | {
1106
1140
  type: "number";
1141
+ label?: string | undefined;
1107
1142
  minimum?: number | undefined;
1108
1143
  maximum?: number | undefined;
1109
1144
  step?: number | undefined;
1110
1145
  } | {
1111
1146
  type: "boolean";
1147
+ label?: string | undefined;
1112
1148
  labels?: {
1113
1149
  false: string;
1114
1150
  true: string;
@@ -1256,6 +1292,7 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
1256
1292
  intro?: string | undefined;
1257
1293
  outro?: string | undefined;
1258
1294
  }[];
1295
+ label?: string | undefined;
1259
1296
  } | {
1260
1297
  type: "select-multiple";
1261
1298
  options: {
@@ -1265,13 +1302,16 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
1265
1302
  intro?: string | undefined;
1266
1303
  outro?: string | undefined;
1267
1304
  }[];
1305
+ label?: string | undefined;
1268
1306
  } | {
1269
1307
  type: "number";
1308
+ label?: string | undefined;
1270
1309
  minimum?: number | undefined;
1271
1310
  maximum?: number | undefined;
1272
1311
  step?: number | undefined;
1273
1312
  } | {
1274
1313
  type: "boolean";
1314
+ label?: string | undefined;
1275
1315
  labels?: {
1276
1316
  false: string;
1277
1317
  true: string;
@@ -1443,6 +1483,7 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
1443
1483
  intro?: string | undefined;
1444
1484
  outro?: string | undefined;
1445
1485
  }[];
1486
+ label?: string | undefined;
1446
1487
  } | {
1447
1488
  type: "select-multiple";
1448
1489
  options: {
@@ -1452,13 +1493,16 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
1452
1493
  intro?: string | undefined;
1453
1494
  outro?: string | undefined;
1454
1495
  }[];
1496
+ label?: string | undefined;
1455
1497
  } | {
1456
1498
  type: "number";
1499
+ label?: string | undefined;
1457
1500
  minimum?: number | undefined;
1458
1501
  maximum?: number | undefined;
1459
1502
  step?: number | undefined;
1460
1503
  } | {
1461
1504
  type: "boolean";
1505
+ label?: string | undefined;
1462
1506
  labels?: {
1463
1507
  false: string;
1464
1508
  true: string;
@@ -327,6 +327,7 @@ export declare const taskGroupSchema: z.ZodObject<z.objectUtil.extendShape<{
327
327
  }>>;
328
328
  definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
329
329
  type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
330
+ label: z.ZodOptional<z.ZodString>;
330
331
  }, {
331
332
  type: z.ZodLiteral<"select-single">;
332
333
  options: z.ZodArray<z.ZodObject<{
@@ -357,6 +358,7 @@ export declare const taskGroupSchema: z.ZodObject<z.objectUtil.extendShape<{
357
358
  intro?: string | undefined;
358
359
  outro?: string | undefined;
359
360
  }[];
361
+ label?: string | undefined;
360
362
  }, {
361
363
  type: "select-single";
362
364
  options: {
@@ -366,8 +368,10 @@ export declare const taskGroupSchema: z.ZodObject<z.objectUtil.extendShape<{
366
368
  intro?: string | undefined;
367
369
  outro?: string | undefined;
368
370
  }[];
371
+ label?: string | undefined;
369
372
  }>, z.ZodObject<z.objectUtil.extendShape<{
370
373
  type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
374
+ label: z.ZodOptional<z.ZodString>;
371
375
  }, {
372
376
  type: z.ZodLiteral<"select-multiple">;
373
377
  options: z.ZodArray<z.ZodObject<{
@@ -398,6 +402,7 @@ export declare const taskGroupSchema: z.ZodObject<z.objectUtil.extendShape<{
398
402
  intro?: string | undefined;
399
403
  outro?: string | undefined;
400
404
  }[];
405
+ label?: string | undefined;
401
406
  }, {
402
407
  type: "select-multiple";
403
408
  options: {
@@ -407,8 +412,10 @@ export declare const taskGroupSchema: z.ZodObject<z.objectUtil.extendShape<{
407
412
  intro?: string | undefined;
408
413
  outro?: string | undefined;
409
414
  }[];
415
+ label?: string | undefined;
410
416
  }>, z.ZodObject<z.objectUtil.extendShape<{
411
417
  type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
418
+ label: z.ZodOptional<z.ZodString>;
412
419
  }, {
413
420
  type: z.ZodLiteral<"number">;
414
421
  minimum: z.ZodOptional<z.ZodNumber>;
@@ -416,16 +423,19 @@ export declare const taskGroupSchema: z.ZodObject<z.objectUtil.extendShape<{
416
423
  step: z.ZodOptional<z.ZodNumber>;
417
424
  }>, "strip", z.ZodTypeAny, {
418
425
  type: "number";
426
+ label?: string | undefined;
419
427
  minimum?: number | undefined;
420
428
  maximum?: number | undefined;
421
429
  step?: number | undefined;
422
430
  }, {
423
431
  type: "number";
432
+ label?: string | undefined;
424
433
  minimum?: number | undefined;
425
434
  maximum?: number | undefined;
426
435
  step?: number | undefined;
427
436
  }>, z.ZodObject<z.objectUtil.extendShape<{
428
437
  type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
438
+ label: z.ZodOptional<z.ZodString>;
429
439
  }, {
430
440
  type: z.ZodLiteral<"boolean">;
431
441
  labels: z.ZodOptional<z.ZodObject<{
@@ -440,12 +450,14 @@ export declare const taskGroupSchema: z.ZodObject<z.objectUtil.extendShape<{
440
450
  }>>;
441
451
  }>, "strip", z.ZodTypeAny, {
442
452
  type: "boolean";
453
+ label?: string | undefined;
443
454
  labels?: {
444
455
  false: string;
445
456
  true: string;
446
457
  } | undefined;
447
458
  }, {
448
459
  type: "boolean";
460
+ label?: string | undefined;
449
461
  labels?: {
450
462
  false: string;
451
463
  true: string;
@@ -472,6 +484,7 @@ export declare const taskGroupSchema: z.ZodObject<z.objectUtil.extendShape<{
472
484
  intro?: string | undefined;
473
485
  outro?: string | undefined;
474
486
  }[];
487
+ label?: string | undefined;
475
488
  } | {
476
489
  type: "select-multiple";
477
490
  options: {
@@ -481,13 +494,16 @@ export declare const taskGroupSchema: z.ZodObject<z.objectUtil.extendShape<{
481
494
  intro?: string | undefined;
482
495
  outro?: string | undefined;
483
496
  }[];
497
+ label?: string | undefined;
484
498
  } | {
485
499
  type: "number";
500
+ label?: string | undefined;
486
501
  minimum?: number | undefined;
487
502
  maximum?: number | undefined;
488
503
  step?: number | undefined;
489
504
  } | {
490
505
  type: "boolean";
506
+ label?: string | undefined;
491
507
  labels?: {
492
508
  false: string;
493
509
  true: string;
@@ -541,6 +557,7 @@ export declare const taskGroupSchema: z.ZodObject<z.objectUtil.extendShape<{
541
557
  intro?: string | undefined;
542
558
  outro?: string | undefined;
543
559
  }[];
560
+ label?: string | undefined;
544
561
  } | {
545
562
  type: "select-multiple";
546
563
  options: {
@@ -550,13 +567,16 @@ export declare const taskGroupSchema: z.ZodObject<z.objectUtil.extendShape<{
550
567
  intro?: string | undefined;
551
568
  outro?: string | undefined;
552
569
  }[];
570
+ label?: string | undefined;
553
571
  } | {
554
572
  type: "number";
573
+ label?: string | undefined;
555
574
  minimum?: number | undefined;
556
575
  maximum?: number | undefined;
557
576
  step?: number | undefined;
558
577
  } | {
559
578
  type: "boolean";
579
+ label?: string | undefined;
560
580
  labels?: {
561
581
  false: string;
562
582
  true: string;
@@ -622,6 +642,7 @@ export declare const taskGroupSchema: z.ZodObject<z.objectUtil.extendShape<{
622
642
  intro?: string | undefined;
623
643
  outro?: string | undefined;
624
644
  }[];
645
+ label?: string | undefined;
625
646
  } | {
626
647
  type: "select-multiple";
627
648
  options: {
@@ -631,13 +652,16 @@ export declare const taskGroupSchema: z.ZodObject<z.objectUtil.extendShape<{
631
652
  intro?: string | undefined;
632
653
  outro?: string | undefined;
633
654
  }[];
655
+ label?: string | undefined;
634
656
  } | {
635
657
  type: "number";
658
+ label?: string | undefined;
636
659
  minimum?: number | undefined;
637
660
  maximum?: number | undefined;
638
661
  step?: number | undefined;
639
662
  } | {
640
663
  type: "boolean";
664
+ label?: string | undefined;
641
665
  labels?: {
642
666
  false: string;
643
667
  true: string;
@@ -730,6 +754,7 @@ export declare const taskGroupSchema: z.ZodObject<z.objectUtil.extendShape<{
730
754
  intro?: string | undefined;
731
755
  outro?: string | undefined;
732
756
  }[];
757
+ label?: string | undefined;
733
758
  } | {
734
759
  type: "select-multiple";
735
760
  options: {
@@ -739,13 +764,16 @@ export declare const taskGroupSchema: z.ZodObject<z.objectUtil.extendShape<{
739
764
  intro?: string | undefined;
740
765
  outro?: string | undefined;
741
766
  }[];
767
+ label?: string | undefined;
742
768
  } | {
743
769
  type: "number";
770
+ label?: string | undefined;
744
771
  minimum?: number | undefined;
745
772
  maximum?: number | undefined;
746
773
  step?: number | undefined;
747
774
  } | {
748
775
  type: "boolean";
776
+ label?: string | undefined;
749
777
  labels?: {
750
778
  false: string;
751
779
  true: string;
@@ -853,6 +881,7 @@ export declare const taskGroupSchema: z.ZodObject<z.objectUtil.extendShape<{
853
881
  intro?: string | undefined;
854
882
  outro?: string | undefined;
855
883
  }[];
884
+ label?: string | undefined;
856
885
  } | {
857
886
  type: "select-multiple";
858
887
  options: {
@@ -862,13 +891,16 @@ export declare const taskGroupSchema: z.ZodObject<z.objectUtil.extendShape<{
862
891
  intro?: string | undefined;
863
892
  outro?: string | undefined;
864
893
  }[];
894
+ label?: string | undefined;
865
895
  } | {
866
896
  type: "number";
897
+ label?: string | undefined;
867
898
  minimum?: number | undefined;
868
899
  maximum?: number | undefined;
869
900
  step?: number | undefined;
870
901
  } | {
871
902
  type: "boolean";
903
+ label?: string | undefined;
872
904
  labels?: {
873
905
  false: string;
874
906
  true: string;
@@ -1001,6 +1033,7 @@ export declare const taskGroupSchema: z.ZodObject<z.objectUtil.extendShape<{
1001
1033
  intro?: string | undefined;
1002
1034
  outro?: string | undefined;
1003
1035
  }[];
1036
+ label?: string | undefined;
1004
1037
  } | {
1005
1038
  type: "select-multiple";
1006
1039
  options: {
@@ -1010,13 +1043,16 @@ export declare const taskGroupSchema: z.ZodObject<z.objectUtil.extendShape<{
1010
1043
  intro?: string | undefined;
1011
1044
  outro?: string | undefined;
1012
1045
  }[];
1046
+ label?: string | undefined;
1013
1047
  } | {
1014
1048
  type: "number";
1049
+ label?: string | undefined;
1015
1050
  minimum?: number | undefined;
1016
1051
  maximum?: number | undefined;
1017
1052
  step?: number | undefined;
1018
1053
  } | {
1019
1054
  type: "boolean";
1055
+ label?: string | undefined;
1020
1056
  labels?: {
1021
1057
  false: string;
1022
1058
  true: string;