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

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.
@@ -420,6 +420,7 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
420
420
  definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
421
421
  type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
422
422
  label: z.ZodOptional<z.ZodString>;
423
+ readOnly: z.ZodOptional<z.ZodBoolean>;
423
424
  }, {
424
425
  type: z.ZodLiteral<"select-single">;
425
426
  options: z.ZodArray<z.ZodObject<{
@@ -441,6 +442,7 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
441
442
  intro?: string | undefined;
442
443
  outro?: string | undefined;
443
444
  }>, "many">;
445
+ defaultValue: z.ZodOptional<z.ZodString>;
444
446
  }>, "strip", z.ZodTypeAny, {
445
447
  type: "select-single";
446
448
  options: {
@@ -451,6 +453,8 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
451
453
  outro?: string | undefined;
452
454
  }[];
453
455
  label?: string | undefined;
456
+ defaultValue?: string | undefined;
457
+ readOnly?: boolean | undefined;
454
458
  }, {
455
459
  type: "select-single";
456
460
  options: {
@@ -461,9 +465,12 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
461
465
  outro?: string | undefined;
462
466
  }[];
463
467
  label?: string | undefined;
468
+ defaultValue?: string | undefined;
469
+ readOnly?: boolean | undefined;
464
470
  }>, z.ZodObject<z.objectUtil.extendShape<{
465
471
  type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
466
472
  label: z.ZodOptional<z.ZodString>;
473
+ readOnly: z.ZodOptional<z.ZodBoolean>;
467
474
  }, {
468
475
  type: z.ZodLiteral<"select-multiple">;
469
476
  options: z.ZodArray<z.ZodObject<{
@@ -485,6 +492,7 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
485
492
  intro?: string | undefined;
486
493
  outro?: string | undefined;
487
494
  }>, "many">;
495
+ defaultValue: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
488
496
  }>, "strip", z.ZodTypeAny, {
489
497
  type: "select-multiple";
490
498
  options: {
@@ -495,6 +503,8 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
495
503
  outro?: string | undefined;
496
504
  }[];
497
505
  label?: string | undefined;
506
+ defaultValue?: string[] | undefined;
507
+ readOnly?: boolean | undefined;
498
508
  }, {
499
509
  type: "select-multiple";
500
510
  options: {
@@ -505,29 +515,38 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
505
515
  outro?: string | undefined;
506
516
  }[];
507
517
  label?: string | undefined;
518
+ defaultValue?: string[] | undefined;
519
+ readOnly?: boolean | undefined;
508
520
  }>, z.ZodObject<z.objectUtil.extendShape<{
509
521
  type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
510
522
  label: z.ZodOptional<z.ZodString>;
523
+ readOnly: z.ZodOptional<z.ZodBoolean>;
511
524
  }, {
512
525
  type: z.ZodLiteral<"number">;
513
526
  minimum: z.ZodOptional<z.ZodNumber>;
514
527
  maximum: z.ZodOptional<z.ZodNumber>;
515
528
  step: z.ZodOptional<z.ZodNumber>;
529
+ defaultValue: z.ZodOptional<z.ZodNumber>;
516
530
  }>, "strip", z.ZodTypeAny, {
517
531
  type: "number";
518
532
  label?: string | undefined;
519
533
  minimum?: number | undefined;
520
534
  maximum?: number | undefined;
535
+ defaultValue?: number | undefined;
521
536
  step?: number | undefined;
537
+ readOnly?: boolean | undefined;
522
538
  }, {
523
539
  type: "number";
524
540
  label?: string | undefined;
525
541
  minimum?: number | undefined;
526
542
  maximum?: number | undefined;
543
+ defaultValue?: number | undefined;
527
544
  step?: number | undefined;
545
+ readOnly?: boolean | undefined;
528
546
  }>, z.ZodObject<z.objectUtil.extendShape<{
529
547
  type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
530
548
  label: z.ZodOptional<z.ZodString>;
549
+ readOnly: z.ZodOptional<z.ZodBoolean>;
531
550
  }, {
532
551
  type: z.ZodLiteral<"boolean">;
533
552
  labels: z.ZodOptional<z.ZodObject<{
@@ -540,6 +559,7 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
540
559
  false: string;
541
560
  true: string;
542
561
  }>>;
562
+ defaultValue: z.ZodOptional<z.ZodBoolean>;
543
563
  }>, "strip", z.ZodTypeAny, {
544
564
  type: "boolean";
545
565
  label?: string | undefined;
@@ -547,6 +567,8 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
547
567
  false: string;
548
568
  true: string;
549
569
  } | undefined;
570
+ defaultValue?: boolean | undefined;
571
+ readOnly?: boolean | undefined;
550
572
  }, {
551
573
  type: "boolean";
552
574
  label?: string | undefined;
@@ -554,6 +576,8 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
554
576
  false: string;
555
577
  true: string;
556
578
  } | undefined;
579
+ defaultValue?: boolean | undefined;
580
+ readOnly?: boolean | undefined;
557
581
  }>]>;
558
582
  description: z.ZodOptional<z.ZodString>;
559
583
  valueReference: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">]>>;
@@ -577,6 +601,8 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
577
601
  outro?: string | undefined;
578
602
  }[];
579
603
  label?: string | undefined;
604
+ defaultValue?: string | undefined;
605
+ readOnly?: boolean | undefined;
580
606
  } | {
581
607
  type: "select-multiple";
582
608
  options: {
@@ -587,12 +613,16 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
587
613
  outro?: string | undefined;
588
614
  }[];
589
615
  label?: string | undefined;
616
+ defaultValue?: string[] | undefined;
617
+ readOnly?: boolean | undefined;
590
618
  } | {
591
619
  type: "number";
592
620
  label?: string | undefined;
593
621
  minimum?: number | undefined;
594
622
  maximum?: number | undefined;
623
+ defaultValue?: number | undefined;
595
624
  step?: number | undefined;
625
+ readOnly?: boolean | undefined;
596
626
  } | {
597
627
  type: "boolean";
598
628
  label?: string | undefined;
@@ -600,6 +630,8 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
600
630
  false: string;
601
631
  true: string;
602
632
  } | undefined;
633
+ defaultValue?: boolean | undefined;
634
+ readOnly?: boolean | undefined;
603
635
  };
604
636
  data?: {
605
637
  type?: "number" | "percentage" | undefined;
@@ -650,6 +682,8 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
650
682
  outro?: string | undefined;
651
683
  }[];
652
684
  label?: string | undefined;
685
+ defaultValue?: string | undefined;
686
+ readOnly?: boolean | undefined;
653
687
  } | {
654
688
  type: "select-multiple";
655
689
  options: {
@@ -660,12 +694,16 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
660
694
  outro?: string | undefined;
661
695
  }[];
662
696
  label?: string | undefined;
697
+ defaultValue?: string[] | undefined;
698
+ readOnly?: boolean | undefined;
663
699
  } | {
664
700
  type: "number";
665
701
  label?: string | undefined;
666
702
  minimum?: number | undefined;
667
703
  maximum?: number | undefined;
704
+ defaultValue?: number | undefined;
668
705
  step?: number | undefined;
706
+ readOnly?: boolean | undefined;
669
707
  } | {
670
708
  type: "boolean";
671
709
  label?: string | undefined;
@@ -673,6 +711,8 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
673
711
  false: string;
674
712
  true: string;
675
713
  } | undefined;
714
+ defaultValue?: boolean | undefined;
715
+ readOnly?: boolean | undefined;
676
716
  };
677
717
  data?: {
678
718
  type?: "number" | "percentage" | undefined;
@@ -735,6 +775,8 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
735
775
  outro?: string | undefined;
736
776
  }[];
737
777
  label?: string | undefined;
778
+ defaultValue?: string | undefined;
779
+ readOnly?: boolean | undefined;
738
780
  } | {
739
781
  type: "select-multiple";
740
782
  options: {
@@ -745,12 +787,16 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
745
787
  outro?: string | undefined;
746
788
  }[];
747
789
  label?: string | undefined;
790
+ defaultValue?: string[] | undefined;
791
+ readOnly?: boolean | undefined;
748
792
  } | {
749
793
  type: "number";
750
794
  label?: string | undefined;
751
795
  minimum?: number | undefined;
752
796
  maximum?: number | undefined;
797
+ defaultValue?: number | undefined;
753
798
  step?: number | undefined;
799
+ readOnly?: boolean | undefined;
754
800
  } | {
755
801
  type: "boolean";
756
802
  label?: string | undefined;
@@ -758,6 +804,8 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
758
804
  false: string;
759
805
  true: string;
760
806
  } | undefined;
807
+ defaultValue?: boolean | undefined;
808
+ readOnly?: boolean | undefined;
761
809
  };
762
810
  data?: {
763
811
  type?: "number" | "percentage" | undefined;
@@ -847,6 +895,8 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
847
895
  outro?: string | undefined;
848
896
  }[];
849
897
  label?: string | undefined;
898
+ defaultValue?: string | undefined;
899
+ readOnly?: boolean | undefined;
850
900
  } | {
851
901
  type: "select-multiple";
852
902
  options: {
@@ -857,12 +907,16 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
857
907
  outro?: string | undefined;
858
908
  }[];
859
909
  label?: string | undefined;
910
+ defaultValue?: string[] | undefined;
911
+ readOnly?: boolean | undefined;
860
912
  } | {
861
913
  type: "number";
862
914
  label?: string | undefined;
863
915
  minimum?: number | undefined;
864
916
  maximum?: number | undefined;
917
+ defaultValue?: number | undefined;
865
918
  step?: number | undefined;
919
+ readOnly?: boolean | undefined;
866
920
  } | {
867
921
  type: "boolean";
868
922
  label?: string | undefined;
@@ -870,6 +924,8 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
870
924
  false: string;
871
925
  true: string;
872
926
  } | undefined;
927
+ defaultValue?: boolean | undefined;
928
+ readOnly?: boolean | undefined;
873
929
  };
874
930
  data?: {
875
931
  type?: "number" | "percentage" | undefined;
@@ -974,6 +1030,8 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
974
1030
  outro?: string | undefined;
975
1031
  }[];
976
1032
  label?: string | undefined;
1033
+ defaultValue?: string | undefined;
1034
+ readOnly?: boolean | undefined;
977
1035
  } | {
978
1036
  type: "select-multiple";
979
1037
  options: {
@@ -984,12 +1042,16 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
984
1042
  outro?: string | undefined;
985
1043
  }[];
986
1044
  label?: string | undefined;
1045
+ defaultValue?: string[] | undefined;
1046
+ readOnly?: boolean | undefined;
987
1047
  } | {
988
1048
  type: "number";
989
1049
  label?: string | undefined;
990
1050
  minimum?: number | undefined;
991
1051
  maximum?: number | undefined;
1052
+ defaultValue?: number | undefined;
992
1053
  step?: number | undefined;
1054
+ readOnly?: boolean | undefined;
993
1055
  } | {
994
1056
  type: "boolean";
995
1057
  label?: string | undefined;
@@ -997,6 +1059,8 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
997
1059
  false: string;
998
1060
  true: string;
999
1061
  } | undefined;
1062
+ defaultValue?: boolean | undefined;
1063
+ readOnly?: boolean | undefined;
1000
1064
  };
1001
1065
  data?: {
1002
1066
  type?: "number" | "percentage" | undefined;
@@ -1126,6 +1190,8 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
1126
1190
  outro?: string | undefined;
1127
1191
  }[];
1128
1192
  label?: string | undefined;
1193
+ defaultValue?: string | undefined;
1194
+ readOnly?: boolean | undefined;
1129
1195
  } | {
1130
1196
  type: "select-multiple";
1131
1197
  options: {
@@ -1136,12 +1202,16 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
1136
1202
  outro?: string | undefined;
1137
1203
  }[];
1138
1204
  label?: string | undefined;
1205
+ defaultValue?: string[] | undefined;
1206
+ readOnly?: boolean | undefined;
1139
1207
  } | {
1140
1208
  type: "number";
1141
1209
  label?: string | undefined;
1142
1210
  minimum?: number | undefined;
1143
1211
  maximum?: number | undefined;
1212
+ defaultValue?: number | undefined;
1144
1213
  step?: number | undefined;
1214
+ readOnly?: boolean | undefined;
1145
1215
  } | {
1146
1216
  type: "boolean";
1147
1217
  label?: string | undefined;
@@ -1149,6 +1219,8 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
1149
1219
  false: string;
1150
1220
  true: string;
1151
1221
  } | undefined;
1222
+ defaultValue?: boolean | undefined;
1223
+ readOnly?: boolean | undefined;
1152
1224
  };
1153
1225
  data?: {
1154
1226
  type?: "number" | "percentage" | undefined;
@@ -1293,6 +1365,8 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
1293
1365
  outro?: string | undefined;
1294
1366
  }[];
1295
1367
  label?: string | undefined;
1368
+ defaultValue?: string | undefined;
1369
+ readOnly?: boolean | undefined;
1296
1370
  } | {
1297
1371
  type: "select-multiple";
1298
1372
  options: {
@@ -1303,12 +1377,16 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
1303
1377
  outro?: string | undefined;
1304
1378
  }[];
1305
1379
  label?: string | undefined;
1380
+ defaultValue?: string[] | undefined;
1381
+ readOnly?: boolean | undefined;
1306
1382
  } | {
1307
1383
  type: "number";
1308
1384
  label?: string | undefined;
1309
1385
  minimum?: number | undefined;
1310
1386
  maximum?: number | undefined;
1387
+ defaultValue?: number | undefined;
1311
1388
  step?: number | undefined;
1389
+ readOnly?: boolean | undefined;
1312
1390
  } | {
1313
1391
  type: "boolean";
1314
1392
  label?: string | undefined;
@@ -1316,6 +1394,8 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
1316
1394
  false: string;
1317
1395
  true: string;
1318
1396
  } | undefined;
1397
+ defaultValue?: boolean | undefined;
1398
+ readOnly?: boolean | undefined;
1319
1399
  };
1320
1400
  data?: {
1321
1401
  type?: "number" | "percentage" | undefined;
@@ -1484,6 +1564,8 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
1484
1564
  outro?: string | undefined;
1485
1565
  }[];
1486
1566
  label?: string | undefined;
1567
+ defaultValue?: string | undefined;
1568
+ readOnly?: boolean | undefined;
1487
1569
  } | {
1488
1570
  type: "select-multiple";
1489
1571
  options: {
@@ -1494,12 +1576,16 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
1494
1576
  outro?: string | undefined;
1495
1577
  }[];
1496
1578
  label?: string | undefined;
1579
+ defaultValue?: string[] | undefined;
1580
+ readOnly?: boolean | undefined;
1497
1581
  } | {
1498
1582
  type: "number";
1499
1583
  label?: string | undefined;
1500
1584
  minimum?: number | undefined;
1501
1585
  maximum?: number | undefined;
1586
+ defaultValue?: number | undefined;
1502
1587
  step?: number | undefined;
1588
+ readOnly?: boolean | undefined;
1503
1589
  } | {
1504
1590
  type: "boolean";
1505
1591
  label?: string | undefined;
@@ -1507,6 +1593,8 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
1507
1593
  false: string;
1508
1594
  true: string;
1509
1595
  } | undefined;
1596
+ defaultValue?: boolean | undefined;
1597
+ readOnly?: boolean | undefined;
1510
1598
  };
1511
1599
  data?: {
1512
1600
  type?: "number" | "percentage" | undefined;