@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.
@@ -9,20 +9,18 @@ export declare const criterionOptionsSchema: z.ZodObject<{
9
9
  hideCode?: boolean | undefined;
10
10
  hideFromHierarchy?: boolean | undefined;
11
11
  }>;
12
- export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
13
- type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
12
+ export declare const criterionSchema: z.ZodObject<{
14
13
  title: z.ZodString;
15
14
  longFormTitle: z.ZodOptional<z.ZodString>;
16
15
  code: z.ZodString;
17
16
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
18
- documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
19
- type: z.ZodEnum<["pdf", "text", "link"]>;
17
+ documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
20
18
  label: z.ZodString;
21
19
  text: z.ZodString;
22
- }, {
20
+ } & {
23
21
  type: z.ZodLiteral<"pdf">;
24
22
  url: z.ZodString;
25
- }>, "strip", z.ZodTypeAny, {
23
+ }, "strip", z.ZodTypeAny, {
26
24
  type: "pdf";
27
25
  url: string;
28
26
  label: string;
@@ -32,13 +30,12 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
32
30
  url: string;
33
31
  label: string;
34
32
  text: string;
35
- }>, z.ZodObject<z.objectUtil.extendShape<{
36
- type: z.ZodEnum<["pdf", "text", "link"]>;
33
+ }>, z.ZodObject<{
37
34
  label: z.ZodString;
38
35
  text: z.ZodString;
39
- }, {
36
+ } & {
40
37
  type: z.ZodLiteral<"text">;
41
- }>, "strip", z.ZodTypeAny, {
38
+ }, "strip", z.ZodTypeAny, {
42
39
  type: "text";
43
40
  label: string;
44
41
  text: string;
@@ -46,14 +43,13 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
46
43
  type: "text";
47
44
  label: string;
48
45
  text: string;
49
- }>, z.ZodObject<z.objectUtil.extendShape<{
50
- type: z.ZodEnum<["pdf", "text", "link"]>;
46
+ }>, z.ZodObject<{
51
47
  label: z.ZodString;
52
48
  text: z.ZodString;
53
- }, {
49
+ } & {
54
50
  type: z.ZodLiteral<"link">;
55
51
  url: z.ZodString;
56
- }>, "strip", z.ZodTypeAny, {
52
+ }, "strip", z.ZodTypeAny, {
57
53
  type: "link";
58
54
  url: string;
59
55
  label: string;
@@ -99,22 +95,20 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
99
95
  readOnly?: boolean | undefined;
100
96
  }>>;
101
97
  sortOrder: z.ZodOptional<z.ZodNumber>;
102
- }, {
98
+ } & {
103
99
  type: z.ZodLiteral<"criterion">;
104
- items: z.ZodArray<z.ZodLazy<z.ZodObject<z.objectUtil.extendShape<{
105
- type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
100
+ items: z.ZodArray<z.ZodLazy<z.ZodObject<{
106
101
  title: z.ZodString;
107
102
  longFormTitle: z.ZodOptional<z.ZodString>;
108
103
  code: z.ZodString;
109
104
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
110
- documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
111
- type: z.ZodEnum<["pdf", "text", "link"]>;
105
+ documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
112
106
  label: z.ZodString;
113
107
  text: z.ZodString;
114
- }, {
108
+ } & {
115
109
  type: z.ZodLiteral<"pdf">;
116
110
  url: z.ZodString;
117
- }>, "strip", z.ZodTypeAny, {
111
+ }, "strip", z.ZodTypeAny, {
118
112
  type: "pdf";
119
113
  url: string;
120
114
  label: string;
@@ -124,13 +118,12 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
124
118
  url: string;
125
119
  label: string;
126
120
  text: string;
127
- }>, z.ZodObject<z.objectUtil.extendShape<{
128
- type: z.ZodEnum<["pdf", "text", "link"]>;
121
+ }>, z.ZodObject<{
129
122
  label: z.ZodString;
130
123
  text: z.ZodString;
131
- }, {
124
+ } & {
132
125
  type: z.ZodLiteral<"text">;
133
- }>, "strip", z.ZodTypeAny, {
126
+ }, "strip", z.ZodTypeAny, {
134
127
  type: "text";
135
128
  label: string;
136
129
  text: string;
@@ -138,14 +131,13 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
138
131
  type: "text";
139
132
  label: string;
140
133
  text: string;
141
- }>, z.ZodObject<z.objectUtil.extendShape<{
142
- type: z.ZodEnum<["pdf", "text", "link"]>;
134
+ }>, z.ZodObject<{
143
135
  label: z.ZodString;
144
136
  text: z.ZodString;
145
- }, {
137
+ } & {
146
138
  type: z.ZodLiteral<"link">;
147
139
  url: z.ZodString;
148
- }>, "strip", z.ZodTypeAny, {
140
+ }, "strip", z.ZodTypeAny, {
149
141
  type: "link";
150
142
  url: string;
151
143
  label: string;
@@ -191,24 +183,22 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
191
183
  readOnly?: boolean | undefined;
192
184
  }>>;
193
185
  sortOrder: z.ZodOptional<z.ZodNumber>;
194
- }, {
186
+ } & {
195
187
  type: z.ZodLiteral<"task-group">;
196
188
  description: z.ZodOptional<z.ZodString>;
197
189
  category: z.ZodOptional<z.ZodString>;
198
- items: z.ZodArray<z.ZodLazy<z.ZodObject<z.objectUtil.extendShape<{
199
- type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
190
+ items: z.ZodArray<z.ZodLazy<z.ZodObject<{
200
191
  title: z.ZodString;
201
192
  longFormTitle: z.ZodOptional<z.ZodString>;
202
193
  code: z.ZodString;
203
194
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
204
- documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
205
- type: z.ZodEnum<["pdf", "text", "link"]>;
195
+ documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
206
196
  label: z.ZodString;
207
197
  text: z.ZodString;
208
- }, {
198
+ } & {
209
199
  type: z.ZodLiteral<"pdf">;
210
200
  url: z.ZodString;
211
- }>, "strip", z.ZodTypeAny, {
201
+ }, "strip", z.ZodTypeAny, {
212
202
  type: "pdf";
213
203
  url: string;
214
204
  label: string;
@@ -218,13 +208,12 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
218
208
  url: string;
219
209
  label: string;
220
210
  text: string;
221
- }>, z.ZodObject<z.objectUtil.extendShape<{
222
- type: z.ZodEnum<["pdf", "text", "link"]>;
211
+ }>, z.ZodObject<{
223
212
  label: z.ZodString;
224
213
  text: z.ZodString;
225
- }, {
214
+ } & {
226
215
  type: z.ZodLiteral<"text">;
227
- }>, "strip", z.ZodTypeAny, {
216
+ }, "strip", z.ZodTypeAny, {
228
217
  type: "text";
229
218
  label: string;
230
219
  text: string;
@@ -232,14 +221,13 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
232
221
  type: "text";
233
222
  label: string;
234
223
  text: string;
235
- }>, z.ZodObject<z.objectUtil.extendShape<{
236
- type: z.ZodEnum<["pdf", "text", "link"]>;
224
+ }>, z.ZodObject<{
237
225
  label: z.ZodString;
238
226
  text: z.ZodString;
239
- }, {
227
+ } & {
240
228
  type: z.ZodLiteral<"link">;
241
229
  url: z.ZodString;
242
- }>, "strip", z.ZodTypeAny, {
230
+ }, "strip", z.ZodTypeAny, {
243
231
  type: "link";
244
232
  url: string;
245
233
  label: string;
@@ -285,23 +273,20 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
285
273
  readOnly?: boolean | undefined;
286
274
  }>>;
287
275
  sortOrder: z.ZodOptional<z.ZodNumber>;
288
- }, {
276
+ } & {
289
277
  type: z.ZodLiteral<"task">;
290
278
  description: z.ZodOptional<z.ZodString>;
291
- items: z.ZodArray<z.ZodLazy<z.ZodObject<z.objectUtil.extendShape<Omit<{
292
- type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
293
- title: z.ZodString;
294
- longFormTitle: z.ZodOptional<z.ZodString>;
279
+ items: z.ZodArray<z.ZodLazy<z.ZodObject<{
295
280
  code: z.ZodString;
281
+ longFormTitle: z.ZodOptional<z.ZodString>;
296
282
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
297
- documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
298
- type: z.ZodEnum<["pdf", "text", "link"]>;
283
+ documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
299
284
  label: z.ZodString;
300
285
  text: z.ZodString;
301
- }, {
286
+ } & {
302
287
  type: z.ZodLiteral<"pdf">;
303
288
  url: z.ZodString;
304
- }>, "strip", z.ZodTypeAny, {
289
+ }, "strip", z.ZodTypeAny, {
305
290
  type: "pdf";
306
291
  url: string;
307
292
  label: string;
@@ -311,13 +296,12 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
311
296
  url: string;
312
297
  label: string;
313
298
  text: string;
314
- }>, z.ZodObject<z.objectUtil.extendShape<{
315
- type: z.ZodEnum<["pdf", "text", "link"]>;
299
+ }>, z.ZodObject<{
316
300
  label: z.ZodString;
317
301
  text: z.ZodString;
318
- }, {
302
+ } & {
319
303
  type: z.ZodLiteral<"text">;
320
- }>, "strip", z.ZodTypeAny, {
304
+ }, "strip", z.ZodTypeAny, {
321
305
  type: "text";
322
306
  label: string;
323
307
  text: string;
@@ -325,14 +309,13 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
325
309
  type: "text";
326
310
  label: string;
327
311
  text: string;
328
- }>, z.ZodObject<z.objectUtil.extendShape<{
329
- type: z.ZodEnum<["pdf", "text", "link"]>;
312
+ }>, z.ZodObject<{
330
313
  label: z.ZodString;
331
314
  text: z.ZodString;
332
- }, {
315
+ } & {
333
316
  type: z.ZodLiteral<"link">;
334
317
  url: z.ZodString;
335
- }>, "strip", z.ZodTypeAny, {
318
+ }, "strip", z.ZodTypeAny, {
336
319
  type: "link";
337
320
  url: string;
338
321
  label: string;
@@ -343,44 +326,10 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
343
326
  label: string;
344
327
  text: string;
345
328
  }>]>, "many">>;
346
- data: z.ZodOptional<z.ZodObject<{
347
- type: z.ZodOptional<z.ZodEnum<["percentage", "number"]>>;
348
- value: 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">]>>;
349
- text: z.ZodOptional<z.ZodString>;
350
- maximumValue: z.ZodOptional<z.ZodNumber>;
351
- minimumValue: z.ZodOptional<z.ZodNumber>;
352
- exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
353
- exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
354
- step: z.ZodOptional<z.ZodNumber>;
355
- total: z.ZodOptional<z.ZodNumber>;
356
- readOnly: z.ZodOptional<z.ZodBoolean>;
357
- }, "strip", z.ZodTypeAny, {
358
- type?: "number" | "percentage" | undefined;
359
- total?: number | undefined;
360
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
361
- text?: string | undefined;
362
- maximumValue?: number | undefined;
363
- minimumValue?: number | undefined;
364
- exclusiveMaximum?: number | undefined;
365
- exclusiveMinimum?: number | undefined;
366
- step?: number | undefined;
367
- readOnly?: boolean | undefined;
368
- }, {
369
- type?: "number" | "percentage" | undefined;
370
- total?: number | undefined;
371
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
372
- text?: string | undefined;
373
- maximumValue?: number | undefined;
374
- minimumValue?: number | undefined;
375
- exclusiveMaximum?: number | undefined;
376
- exclusiveMinimum?: number | undefined;
377
- step?: number | undefined;
378
- readOnly?: boolean | undefined;
379
- }>>;
380
329
  sortOrder: z.ZodOptional<z.ZodNumber>;
381
- }, "title">, {
330
+ } & {
382
331
  type: z.ZodLiteral<"task-item">;
383
- data: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
332
+ data: z.ZodOptional<z.ZodObject<{
384
333
  type: z.ZodOptional<z.ZodEnum<["percentage", "number"]>>;
385
334
  value: 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">]>>;
386
335
  text: z.ZodOptional<z.ZodString>;
@@ -391,9 +340,9 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
391
340
  step: z.ZodOptional<z.ZodNumber>;
392
341
  total: z.ZodOptional<z.ZodNumber>;
393
342
  readOnly: z.ZodOptional<z.ZodBoolean>;
394
- }, {
343
+ } & {
395
344
  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">]>>;
396
- }>, "strip", z.ZodTypeAny, {
345
+ }, "strip", z.ZodTypeAny, {
397
346
  type?: "number" | "percentage" | undefined;
398
347
  total?: number | undefined;
399
348
  value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
@@ -418,11 +367,10 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
418
367
  readOnly?: boolean | undefined;
419
368
  valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
420
369
  }>>;
421
- definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
422
- type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
370
+ definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
423
371
  label: z.ZodOptional<z.ZodString>;
424
372
  readOnly: z.ZodOptional<z.ZodBoolean>;
425
- }, {
373
+ } & {
426
374
  type: z.ZodLiteral<"select-single">;
427
375
  minimum: z.ZodOptional<z.ZodNumber>;
428
376
  maximum: z.ZodOptional<z.ZodNumber>;
@@ -446,7 +394,7 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
446
394
  outro?: string | undefined;
447
395
  }>, "many">;
448
396
  defaultValue: z.ZodOptional<z.ZodString>;
449
- }>, "strip", z.ZodTypeAny, {
397
+ }, "strip", z.ZodTypeAny, {
450
398
  type: "select-single";
451
399
  options: {
452
400
  value: string | number | boolean | null;
@@ -474,11 +422,10 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
474
422
  maximum?: number | undefined;
475
423
  defaultValue?: string | undefined;
476
424
  readOnly?: boolean | undefined;
477
- }>, z.ZodObject<z.objectUtil.extendShape<{
478
- type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
425
+ }>, z.ZodObject<{
479
426
  label: z.ZodOptional<z.ZodString>;
480
427
  readOnly: z.ZodOptional<z.ZodBoolean>;
481
- }, {
428
+ } & {
482
429
  type: z.ZodLiteral<"select-multiple">;
483
430
  minimum: z.ZodOptional<z.ZodNumber>;
484
431
  maximum: z.ZodOptional<z.ZodNumber>;
@@ -502,7 +449,7 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
502
449
  outro?: string | undefined;
503
450
  }>, "many">;
504
451
  defaultValue: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
505
- }>, "strip", z.ZodTypeAny, {
452
+ }, "strip", z.ZodTypeAny, {
506
453
  type: "select-multiple";
507
454
  options: {
508
455
  value: string | number | boolean | null;
@@ -530,17 +477,16 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
530
477
  maximum?: number | undefined;
531
478
  defaultValue?: string[] | undefined;
532
479
  readOnly?: boolean | undefined;
533
- }>, z.ZodObject<z.objectUtil.extendShape<{
534
- type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
480
+ }>, z.ZodObject<{
535
481
  label: z.ZodOptional<z.ZodString>;
536
482
  readOnly: z.ZodOptional<z.ZodBoolean>;
537
- }, {
483
+ } & {
538
484
  type: z.ZodLiteral<"number">;
539
485
  minimum: z.ZodOptional<z.ZodNumber>;
540
486
  maximum: z.ZodOptional<z.ZodNumber>;
541
487
  step: z.ZodOptional<z.ZodNumber>;
542
488
  defaultValue: z.ZodOptional<z.ZodNumber>;
543
- }>, "strip", z.ZodTypeAny, {
489
+ }, "strip", z.ZodTypeAny, {
544
490
  type: "number";
545
491
  label?: string | undefined;
546
492
  minimum?: number | undefined;
@@ -556,11 +502,10 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
556
502
  defaultValue?: number | undefined;
557
503
  step?: number | undefined;
558
504
  readOnly?: boolean | undefined;
559
- }>, z.ZodObject<z.objectUtil.extendShape<{
560
- type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
505
+ }>, z.ZodObject<{
561
506
  label: z.ZodOptional<z.ZodString>;
562
507
  readOnly: z.ZodOptional<z.ZodBoolean>;
563
- }, {
508
+ } & {
564
509
  type: z.ZodLiteral<"boolean">;
565
510
  labels: z.ZodOptional<z.ZodObject<{
566
511
  true: z.ZodString;
@@ -573,7 +518,7 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
573
518
  true: string;
574
519
  }>>;
575
520
  defaultValue: z.ZodOptional<z.ZodBoolean>;
576
- }>, "strip", z.ZodTypeAny, {
521
+ }, "strip", z.ZodTypeAny, {
577
522
  type: "boolean";
578
523
  label?: string | undefined;
579
524
  labels?: {
@@ -604,7 +549,7 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
604
549
  hideCode?: boolean | undefined;
605
550
  excludeFromTargets?: boolean | undefined;
606
551
  }>>;
607
- }>, "strip", z.ZodTypeAny, {
552
+ }, "strip", z.ZodTypeAny, {
608
553
  code: string;
609
554
  type: "task-item";
610
555
  definition: {
@@ -784,7 +729,7 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
784
729
  }, {
785
730
  hideCode?: boolean | undefined;
786
731
  }>>;
787
- }>, "strip", z.ZodTypeAny, {
732
+ }, "strip", z.ZodTypeAny, {
788
733
  code: string;
789
734
  type: "task";
790
735
  title: string;
@@ -1045,7 +990,7 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
1045
990
  hideCode?: boolean | undefined;
1046
991
  hideFromHierarchy?: boolean | undefined;
1047
992
  }>>;
1048
- }>, "strip", z.ZodTypeAny, {
993
+ }, "strip", z.ZodTypeAny, {
1049
994
  code: string;
1050
995
  type: "task-group";
1051
996
  title: string;
@@ -1388,7 +1333,7 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
1388
1333
  hideCode?: boolean | undefined;
1389
1334
  hideFromHierarchy?: boolean | undefined;
1390
1335
  }>>;
1391
- }>, "strip", z.ZodTypeAny, {
1336
+ }, "strip", z.ZodTypeAny, {
1392
1337
  code: string;
1393
1338
  type: "criterion";
1394
1339
  title: string;
@@ -1,12 +1,11 @@
1
1
  import { z } from "zod";
2
- export declare const pdfDocumentationItemSchema: z.ZodObject<z.objectUtil.extendShape<{
3
- type: z.ZodEnum<["pdf", "text", "link"]>;
2
+ export declare const pdfDocumentationItemSchema: z.ZodObject<{
4
3
  label: z.ZodString;
5
4
  text: z.ZodString;
6
- }, {
5
+ } & {
7
6
  type: z.ZodLiteral<"pdf">;
8
7
  url: z.ZodString;
9
- }>, "strip", z.ZodTypeAny, {
8
+ }, "strip", z.ZodTypeAny, {
10
9
  type: "pdf";
11
10
  url: string;
12
11
  label: string;
@@ -17,13 +16,12 @@ export declare const pdfDocumentationItemSchema: z.ZodObject<z.objectUtil.extend
17
16
  label: string;
18
17
  text: string;
19
18
  }>;
20
- export declare const inlineDocumentationItemSchema: z.ZodObject<z.objectUtil.extendShape<{
21
- type: z.ZodEnum<["pdf", "text", "link"]>;
19
+ export declare const inlineDocumentationItemSchema: z.ZodObject<{
22
20
  label: z.ZodString;
23
21
  text: z.ZodString;
24
- }, {
22
+ } & {
25
23
  type: z.ZodLiteral<"text">;
26
- }>, "strip", z.ZodTypeAny, {
24
+ }, "strip", z.ZodTypeAny, {
27
25
  type: "text";
28
26
  label: string;
29
27
  text: string;
@@ -32,14 +30,13 @@ export declare const inlineDocumentationItemSchema: z.ZodObject<z.objectUtil.ext
32
30
  label: string;
33
31
  text: string;
34
32
  }>;
35
- export declare const linkDocumentationItemSchema: z.ZodObject<z.objectUtil.extendShape<{
36
- type: z.ZodEnum<["pdf", "text", "link"]>;
33
+ export declare const linkDocumentationItemSchema: z.ZodObject<{
37
34
  label: z.ZodString;
38
35
  text: z.ZodString;
39
- }, {
36
+ } & {
40
37
  type: z.ZodLiteral<"link">;
41
38
  url: z.ZodString;
42
- }>, "strip", z.ZodTypeAny, {
39
+ }, "strip", z.ZodTypeAny, {
43
40
  type: "link";
44
41
  url: string;
45
42
  label: string;
@@ -50,14 +47,13 @@ export declare const linkDocumentationItemSchema: z.ZodObject<z.objectUtil.exten
50
47
  label: string;
51
48
  text: string;
52
49
  }>;
53
- export declare const documentationItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
54
- type: z.ZodEnum<["pdf", "text", "link"]>;
50
+ export declare const documentationItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
55
51
  label: z.ZodString;
56
52
  text: z.ZodString;
57
- }, {
53
+ } & {
58
54
  type: z.ZodLiteral<"pdf">;
59
55
  url: z.ZodString;
60
- }>, "strip", z.ZodTypeAny, {
56
+ }, "strip", z.ZodTypeAny, {
61
57
  type: "pdf";
62
58
  url: string;
63
59
  label: string;
@@ -67,13 +63,12 @@ export declare const documentationItemSchema: z.ZodDiscriminatedUnion<"type", [z
67
63
  url: string;
68
64
  label: string;
69
65
  text: string;
70
- }>, z.ZodObject<z.objectUtil.extendShape<{
71
- type: z.ZodEnum<["pdf", "text", "link"]>;
66
+ }>, z.ZodObject<{
72
67
  label: z.ZodString;
73
68
  text: z.ZodString;
74
- }, {
69
+ } & {
75
70
  type: z.ZodLiteral<"text">;
76
- }>, "strip", z.ZodTypeAny, {
71
+ }, "strip", z.ZodTypeAny, {
77
72
  type: "text";
78
73
  label: string;
79
74
  text: string;
@@ -81,14 +76,13 @@ export declare const documentationItemSchema: z.ZodDiscriminatedUnion<"type", [z
81
76
  type: "text";
82
77
  label: string;
83
78
  text: string;
84
- }>, z.ZodObject<z.objectUtil.extendShape<{
85
- type: z.ZodEnum<["pdf", "text", "link"]>;
79
+ }>, z.ZodObject<{
86
80
  label: z.ZodString;
87
81
  text: z.ZodString;
88
- }, {
82
+ } & {
89
83
  type: z.ZodLiteral<"link">;
90
84
  url: z.ZodString;
91
- }>, "strip", z.ZodTypeAny, {
85
+ }, "strip", z.ZodTypeAny, {
92
86
  type: "link";
93
87
  url: string;
94
88
  label: string;