@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.
@@ -611,6 +611,7 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
611
611
  }>>;
612
612
  definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
613
613
  type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
614
+ label: z.ZodOptional<z.ZodString>;
614
615
  }, {
615
616
  type: z.ZodLiteral<"select-single">;
616
617
  options: z.ZodArray<z.ZodObject<{
@@ -641,6 +642,7 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
641
642
  intro?: string | undefined;
642
643
  outro?: string | undefined;
643
644
  }[];
645
+ label?: string | undefined;
644
646
  }, {
645
647
  type: "select-single";
646
648
  options: {
@@ -650,8 +652,10 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
650
652
  intro?: string | undefined;
651
653
  outro?: string | undefined;
652
654
  }[];
655
+ label?: string | undefined;
653
656
  }>, z.ZodObject<z.objectUtil.extendShape<{
654
657
  type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
658
+ label: z.ZodOptional<z.ZodString>;
655
659
  }, {
656
660
  type: z.ZodLiteral<"select-multiple">;
657
661
  options: z.ZodArray<z.ZodObject<{
@@ -682,6 +686,7 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
682
686
  intro?: string | undefined;
683
687
  outro?: string | undefined;
684
688
  }[];
689
+ label?: string | undefined;
685
690
  }, {
686
691
  type: "select-multiple";
687
692
  options: {
@@ -691,8 +696,10 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
691
696
  intro?: string | undefined;
692
697
  outro?: string | undefined;
693
698
  }[];
699
+ label?: string | undefined;
694
700
  }>, z.ZodObject<z.objectUtil.extendShape<{
695
701
  type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
702
+ label: z.ZodOptional<z.ZodString>;
696
703
  }, {
697
704
  type: z.ZodLiteral<"number">;
698
705
  minimum: z.ZodOptional<z.ZodNumber>;
@@ -700,16 +707,19 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
700
707
  step: z.ZodOptional<z.ZodNumber>;
701
708
  }>, "strip", z.ZodTypeAny, {
702
709
  type: "number";
710
+ label?: string | undefined;
703
711
  minimum?: number | undefined;
704
712
  maximum?: number | undefined;
705
713
  step?: number | undefined;
706
714
  }, {
707
715
  type: "number";
716
+ label?: string | undefined;
708
717
  minimum?: number | undefined;
709
718
  maximum?: number | undefined;
710
719
  step?: number | undefined;
711
720
  }>, z.ZodObject<z.objectUtil.extendShape<{
712
721
  type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
722
+ label: z.ZodOptional<z.ZodString>;
713
723
  }, {
714
724
  type: z.ZodLiteral<"boolean">;
715
725
  labels: z.ZodOptional<z.ZodObject<{
@@ -724,12 +734,14 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
724
734
  }>>;
725
735
  }>, "strip", z.ZodTypeAny, {
726
736
  type: "boolean";
737
+ label?: string | undefined;
727
738
  labels?: {
728
739
  false: string;
729
740
  true: string;
730
741
  } | undefined;
731
742
  }, {
732
743
  type: "boolean";
744
+ label?: string | undefined;
733
745
  labels?: {
734
746
  false: string;
735
747
  true: string;
@@ -756,6 +768,7 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
756
768
  intro?: string | undefined;
757
769
  outro?: string | undefined;
758
770
  }[];
771
+ label?: string | undefined;
759
772
  } | {
760
773
  type: "select-multiple";
761
774
  options: {
@@ -765,13 +778,16 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
765
778
  intro?: string | undefined;
766
779
  outro?: string | undefined;
767
780
  }[];
781
+ label?: string | undefined;
768
782
  } | {
769
783
  type: "number";
784
+ label?: string | undefined;
770
785
  minimum?: number | undefined;
771
786
  maximum?: number | undefined;
772
787
  step?: number | undefined;
773
788
  } | {
774
789
  type: "boolean";
790
+ label?: string | undefined;
775
791
  labels?: {
776
792
  false: string;
777
793
  true: string;
@@ -825,6 +841,7 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
825
841
  intro?: string | undefined;
826
842
  outro?: string | undefined;
827
843
  }[];
844
+ label?: string | undefined;
828
845
  } | {
829
846
  type: "select-multiple";
830
847
  options: {
@@ -834,13 +851,16 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
834
851
  intro?: string | undefined;
835
852
  outro?: string | undefined;
836
853
  }[];
854
+ label?: string | undefined;
837
855
  } | {
838
856
  type: "number";
857
+ label?: string | undefined;
839
858
  minimum?: number | undefined;
840
859
  maximum?: number | undefined;
841
860
  step?: number | undefined;
842
861
  } | {
843
862
  type: "boolean";
863
+ label?: string | undefined;
844
864
  labels?: {
845
865
  false: string;
846
866
  true: string;
@@ -906,6 +926,7 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
906
926
  intro?: string | undefined;
907
927
  outro?: string | undefined;
908
928
  }[];
929
+ label?: string | undefined;
909
930
  } | {
910
931
  type: "select-multiple";
911
932
  options: {
@@ -915,13 +936,16 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
915
936
  intro?: string | undefined;
916
937
  outro?: string | undefined;
917
938
  }[];
939
+ label?: string | undefined;
918
940
  } | {
919
941
  type: "number";
942
+ label?: string | undefined;
920
943
  minimum?: number | undefined;
921
944
  maximum?: number | undefined;
922
945
  step?: number | undefined;
923
946
  } | {
924
947
  type: "boolean";
948
+ label?: string | undefined;
925
949
  labels?: {
926
950
  false: string;
927
951
  true: string;
@@ -1014,6 +1038,7 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
1014
1038
  intro?: string | undefined;
1015
1039
  outro?: string | undefined;
1016
1040
  }[];
1041
+ label?: string | undefined;
1017
1042
  } | {
1018
1043
  type: "select-multiple";
1019
1044
  options: {
@@ -1023,13 +1048,16 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
1023
1048
  intro?: string | undefined;
1024
1049
  outro?: string | undefined;
1025
1050
  }[];
1051
+ label?: string | undefined;
1026
1052
  } | {
1027
1053
  type: "number";
1054
+ label?: string | undefined;
1028
1055
  minimum?: number | undefined;
1029
1056
  maximum?: number | undefined;
1030
1057
  step?: number | undefined;
1031
1058
  } | {
1032
1059
  type: "boolean";
1060
+ label?: string | undefined;
1033
1061
  labels?: {
1034
1062
  false: string;
1035
1063
  true: string;
@@ -1137,6 +1165,7 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
1137
1165
  intro?: string | undefined;
1138
1166
  outro?: string | undefined;
1139
1167
  }[];
1168
+ label?: string | undefined;
1140
1169
  } | {
1141
1170
  type: "select-multiple";
1142
1171
  options: {
@@ -1146,13 +1175,16 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
1146
1175
  intro?: string | undefined;
1147
1176
  outro?: string | undefined;
1148
1177
  }[];
1178
+ label?: string | undefined;
1149
1179
  } | {
1150
1180
  type: "number";
1181
+ label?: string | undefined;
1151
1182
  minimum?: number | undefined;
1152
1183
  maximum?: number | undefined;
1153
1184
  step?: number | undefined;
1154
1185
  } | {
1155
1186
  type: "boolean";
1187
+ label?: string | undefined;
1156
1188
  labels?: {
1157
1189
  false: string;
1158
1190
  true: string;
@@ -1285,6 +1317,7 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
1285
1317
  intro?: string | undefined;
1286
1318
  outro?: string | undefined;
1287
1319
  }[];
1320
+ label?: string | undefined;
1288
1321
  } | {
1289
1322
  type: "select-multiple";
1290
1323
  options: {
@@ -1294,13 +1327,16 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
1294
1327
  intro?: string | undefined;
1295
1328
  outro?: string | undefined;
1296
1329
  }[];
1330
+ label?: string | undefined;
1297
1331
  } | {
1298
1332
  type: "number";
1333
+ label?: string | undefined;
1299
1334
  minimum?: number | undefined;
1300
1335
  maximum?: number | undefined;
1301
1336
  step?: number | undefined;
1302
1337
  } | {
1303
1338
  type: "boolean";
1339
+ label?: string | undefined;
1304
1340
  labels?: {
1305
1341
  false: string;
1306
1342
  true: string;
@@ -1448,6 +1484,7 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
1448
1484
  intro?: string | undefined;
1449
1485
  outro?: string | undefined;
1450
1486
  }[];
1487
+ label?: string | undefined;
1451
1488
  } | {
1452
1489
  type: "select-multiple";
1453
1490
  options: {
@@ -1457,13 +1494,16 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
1457
1494
  intro?: string | undefined;
1458
1495
  outro?: string | undefined;
1459
1496
  }[];
1497
+ label?: string | undefined;
1460
1498
  } | {
1461
1499
  type: "number";
1500
+ label?: string | undefined;
1462
1501
  minimum?: number | undefined;
1463
1502
  maximum?: number | undefined;
1464
1503
  step?: number | undefined;
1465
1504
  } | {
1466
1505
  type: "boolean";
1506
+ label?: string | undefined;
1467
1507
  labels?: {
1468
1508
  false: string;
1469
1509
  true: string;
@@ -1635,6 +1675,7 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
1635
1675
  intro?: string | undefined;
1636
1676
  outro?: string | undefined;
1637
1677
  }[];
1678
+ label?: string | undefined;
1638
1679
  } | {
1639
1680
  type: "select-multiple";
1640
1681
  options: {
@@ -1644,13 +1685,16 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
1644
1685
  intro?: string | undefined;
1645
1686
  outro?: string | undefined;
1646
1687
  }[];
1688
+ label?: string | undefined;
1647
1689
  } | {
1648
1690
  type: "number";
1691
+ label?: string | undefined;
1649
1692
  minimum?: number | undefined;
1650
1693
  maximum?: number | undefined;
1651
1694
  step?: number | undefined;
1652
1695
  } | {
1653
1696
  type: "boolean";
1697
+ label?: string | undefined;
1654
1698
  labels?: {
1655
1699
  false: string;
1656
1700
  true: string;
@@ -1837,6 +1881,7 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
1837
1881
  intro?: string | undefined;
1838
1882
  outro?: string | undefined;
1839
1883
  }[];
1884
+ label?: string | undefined;
1840
1885
  } | {
1841
1886
  type: "select-multiple";
1842
1887
  options: {
@@ -1846,13 +1891,16 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
1846
1891
  intro?: string | undefined;
1847
1892
  outro?: string | undefined;
1848
1893
  }[];
1894
+ label?: string | undefined;
1849
1895
  } | {
1850
1896
  type: "number";
1897
+ label?: string | undefined;
1851
1898
  minimum?: number | undefined;
1852
1899
  maximum?: number | undefined;
1853
1900
  step?: number | undefined;
1854
1901
  } | {
1855
1902
  type: "boolean";
1903
+ label?: string | undefined;
1856
1904
  labels?: {
1857
1905
  false: string;
1858
1906
  true: string;
@@ -2075,6 +2123,7 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
2075
2123
  intro?: string | undefined;
2076
2124
  outro?: string | undefined;
2077
2125
  }[];
2126
+ label?: string | undefined;
2078
2127
  } | {
2079
2128
  type: "select-multiple";
2080
2129
  options: {
@@ -2084,13 +2133,16 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
2084
2133
  intro?: string | undefined;
2085
2134
  outro?: string | undefined;
2086
2135
  }[];
2136
+ label?: string | undefined;
2087
2137
  } | {
2088
2138
  type: "number";
2139
+ label?: string | undefined;
2089
2140
  minimum?: number | undefined;
2090
2141
  maximum?: number | undefined;
2091
2142
  step?: number | undefined;
2092
2143
  } | {
2093
2144
  type: "boolean";
2145
+ label?: string | undefined;
2094
2146
  labels?: {
2095
2147
  false: string;
2096
2148
  true: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openframe-org/criteria-set-protocol",
3
- "version": "2.0.17",
3
+ "version": "2.0.18",
4
4
  "description": "A protocol and tools for defining and working with criteria sets",
5
5
  "private": false,
6
6
  "author": "Andrés Angulo <aa@openframe.org>",