@openframe-org/criteria-set-protocol 2.0.28 → 2.0.29

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.
@@ -32,14 +32,13 @@ export declare const percentageBasedCertificationDefinitionRulesSchema: z.ZodObj
32
32
  exclusiveMaximum?: number | undefined;
33
33
  exclusiveMinimum?: number | undefined;
34
34
  }>;
35
- export declare const numberBasedCertificationDefinitionSchema: z.ZodObject<z.objectUtil.extendShape<{
36
- type: z.ZodEnum<["number", "percentage"]>;
35
+ export declare const numberBasedCertificationDefinitionSchema: z.ZodObject<{
37
36
  code: z.ZodString;
38
37
  icon: z.ZodOptional<z.ZodString>;
39
38
  name: z.ZodString;
40
39
  description: z.ZodOptional<z.ZodString>;
41
40
  rulesText: z.ZodString;
42
- }, {
41
+ } & {
43
42
  type: z.ZodLiteral<"number">;
44
43
  rules: z.ZodObject<{
45
44
  minimum: z.ZodOptional<z.ZodNumber>;
@@ -57,7 +56,7 @@ export declare const numberBasedCertificationDefinitionSchema: z.ZodObject<z.obj
57
56
  exclusiveMaximum?: number | undefined;
58
57
  exclusiveMinimum?: number | undefined;
59
58
  }>;
60
- }>, "strip", z.ZodTypeAny, {
59
+ }, "strip", z.ZodTypeAny, {
61
60
  code: string;
62
61
  name: string;
63
62
  type: "number";
@@ -84,14 +83,13 @@ export declare const numberBasedCertificationDefinitionSchema: z.ZodObject<z.obj
84
83
  description?: string | undefined;
85
84
  icon?: string | undefined;
86
85
  }>;
87
- export declare const percentageBasedCertificationDefinitionSchema: z.ZodObject<z.objectUtil.extendShape<{
88
- type: z.ZodEnum<["number", "percentage"]>;
86
+ export declare const percentageBasedCertificationDefinitionSchema: z.ZodObject<{
89
87
  code: z.ZodString;
90
88
  icon: z.ZodOptional<z.ZodString>;
91
89
  name: z.ZodString;
92
90
  description: z.ZodOptional<z.ZodString>;
93
91
  rulesText: z.ZodString;
94
- }, {
92
+ } & {
95
93
  type: z.ZodLiteral<"percentage">;
96
94
  rules: z.ZodObject<{
97
95
  minimum: z.ZodOptional<z.ZodNumber>;
@@ -109,7 +107,7 @@ export declare const percentageBasedCertificationDefinitionSchema: z.ZodObject<z
109
107
  exclusiveMaximum?: number | undefined;
110
108
  exclusiveMinimum?: number | undefined;
111
109
  }>;
112
- }>, "strip", z.ZodTypeAny, {
110
+ }, "strip", z.ZodTypeAny, {
113
111
  code: string;
114
112
  name: string;
115
113
  type: "percentage";
@@ -136,14 +134,13 @@ export declare const percentageBasedCertificationDefinitionSchema: z.ZodObject<z
136
134
  description?: string | undefined;
137
135
  icon?: string | undefined;
138
136
  }>;
139
- export declare const certificationDefinitionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
140
- type: z.ZodEnum<["number", "percentage"]>;
137
+ export declare const certificationDefinitionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
141
138
  code: z.ZodString;
142
139
  icon: z.ZodOptional<z.ZodString>;
143
140
  name: z.ZodString;
144
141
  description: z.ZodOptional<z.ZodString>;
145
142
  rulesText: z.ZodString;
146
- }, {
143
+ } & {
147
144
  type: z.ZodLiteral<"number">;
148
145
  rules: z.ZodObject<{
149
146
  minimum: z.ZodOptional<z.ZodNumber>;
@@ -161,7 +158,7 @@ export declare const certificationDefinitionSchema: z.ZodDiscriminatedUnion<"typ
161
158
  exclusiveMaximum?: number | undefined;
162
159
  exclusiveMinimum?: number | undefined;
163
160
  }>;
164
- }>, "strip", z.ZodTypeAny, {
161
+ }, "strip", z.ZodTypeAny, {
165
162
  code: string;
166
163
  name: string;
167
164
  type: "number";
@@ -187,14 +184,13 @@ export declare const certificationDefinitionSchema: z.ZodDiscriminatedUnion<"typ
187
184
  };
188
185
  description?: string | undefined;
189
186
  icon?: string | undefined;
190
- }>, z.ZodObject<z.objectUtil.extendShape<{
191
- type: z.ZodEnum<["number", "percentage"]>;
187
+ }>, z.ZodObject<{
192
188
  code: z.ZodString;
193
189
  icon: z.ZodOptional<z.ZodString>;
194
190
  name: z.ZodString;
195
191
  description: z.ZodOptional<z.ZodString>;
196
192
  rulesText: z.ZodString;
197
- }, {
193
+ } & {
198
194
  type: z.ZodLiteral<"percentage">;
199
195
  rules: z.ZodObject<{
200
196
  minimum: z.ZodOptional<z.ZodNumber>;
@@ -212,7 +208,7 @@ export declare const certificationDefinitionSchema: z.ZodDiscriminatedUnion<"typ
212
208
  exclusiveMaximum?: number | undefined;
213
209
  exclusiveMinimum?: number | undefined;
214
210
  }>;
215
- }>, "strip", z.ZodTypeAny, {
211
+ }, "strip", z.ZodTypeAny, {
216
212
  code: string;
217
213
  name: string;
218
214
  type: "percentage";
@@ -55,14 +55,13 @@ export declare const abstractElementSchema: z.ZodObject<{
55
55
  longFormTitle: z.ZodOptional<z.ZodString>;
56
56
  code: z.ZodString;
57
57
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
58
- documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
59
- type: z.ZodEnum<["pdf", "text", "link"]>;
58
+ documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
60
59
  label: z.ZodString;
61
60
  text: z.ZodString;
62
- }, {
61
+ } & {
63
62
  type: z.ZodLiteral<"pdf">;
64
63
  url: z.ZodString;
65
- }>, "strip", z.ZodTypeAny, {
64
+ }, "strip", z.ZodTypeAny, {
66
65
  type: "pdf";
67
66
  url: string;
68
67
  label: string;
@@ -72,13 +71,12 @@ export declare const abstractElementSchema: z.ZodObject<{
72
71
  url: string;
73
72
  label: string;
74
73
  text: string;
75
- }>, z.ZodObject<z.objectUtil.extendShape<{
76
- type: z.ZodEnum<["pdf", "text", "link"]>;
74
+ }>, z.ZodObject<{
77
75
  label: z.ZodString;
78
76
  text: z.ZodString;
79
- }, {
77
+ } & {
80
78
  type: z.ZodLiteral<"text">;
81
- }>, "strip", z.ZodTypeAny, {
79
+ }, "strip", z.ZodTypeAny, {
82
80
  type: "text";
83
81
  label: string;
84
82
  text: string;
@@ -86,14 +84,13 @@ export declare const abstractElementSchema: z.ZodObject<{
86
84
  type: "text";
87
85
  label: string;
88
86
  text: string;
89
- }>, z.ZodObject<z.objectUtil.extendShape<{
90
- type: z.ZodEnum<["pdf", "text", "link"]>;
87
+ }>, z.ZodObject<{
91
88
  label: z.ZodString;
92
89
  text: z.ZodString;
93
- }, {
90
+ } & {
94
91
  type: z.ZodLiteral<"link">;
95
92
  url: z.ZodString;
96
- }>, "strip", z.ZodTypeAny, {
93
+ }, "strip", z.ZodTypeAny, {
97
94
  type: "link";
98
95
  url: string;
99
96
  label: string;