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

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.
@@ -50,29 +50,45 @@ export declare const themeStyleSchema: z.ZodObject<{
50
50
  };
51
51
  }>;
52
52
  export declare const themeOptionsSchema: z.ZodObject<{
53
+ /**
54
+ * @deprecated use breadcrumbTextFormat instead, where breadcrumbTextFormat = hideCode === true ? ':code:' : ':title:'
55
+ */
53
56
  hideCode: z.ZodOptional<z.ZodBoolean>;
57
+ /**
58
+ * @deprecated use hideFromBreadcrumbs, hideFromDocumentTree and hideCodeInReport instead
59
+ */
54
60
  hideFromHierarchy: z.ZodOptional<z.ZodBoolean>;
61
+ breadcrumbTextFormat: z.ZodDefault<z.ZodOptional<z.ZodString>>;
62
+ hideFromBreadcrumbs: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
63
+ hideFromDocumentTree: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
64
+ hideCodeInReport: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
55
65
  }, "strip", z.ZodTypeAny, {
66
+ breadcrumbTextFormat: string;
67
+ hideFromBreadcrumbs: boolean;
68
+ hideFromDocumentTree: boolean;
69
+ hideCodeInReport: boolean;
56
70
  hideCode?: boolean | undefined;
57
71
  hideFromHierarchy?: boolean | undefined;
58
72
  }, {
59
73
  hideCode?: boolean | undefined;
74
+ breadcrumbTextFormat?: string | undefined;
60
75
  hideFromHierarchy?: boolean | undefined;
76
+ hideFromBreadcrumbs?: boolean | undefined;
77
+ hideFromDocumentTree?: boolean | undefined;
78
+ hideCodeInReport?: boolean | undefined;
61
79
  }>;
62
- export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
63
- type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
80
+ export declare const themeSchema: z.ZodObject<{
64
81
  title: z.ZodString;
65
82
  longFormTitle: z.ZodOptional<z.ZodString>;
66
83
  code: z.ZodString;
67
84
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
68
- documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
69
- type: z.ZodEnum<["pdf", "text", "link"]>;
85
+ documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
70
86
  label: z.ZodString;
71
87
  text: z.ZodString;
72
- }, {
88
+ } & {
73
89
  type: z.ZodLiteral<"pdf">;
74
90
  url: z.ZodString;
75
- }>, "strip", z.ZodTypeAny, {
91
+ }, "strip", z.ZodTypeAny, {
76
92
  type: "pdf";
77
93
  url: string;
78
94
  label: string;
@@ -82,13 +98,12 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
82
98
  url: string;
83
99
  label: string;
84
100
  text: string;
85
- }>, z.ZodObject<z.objectUtil.extendShape<{
86
- type: z.ZodEnum<["pdf", "text", "link"]>;
101
+ }>, z.ZodObject<{
87
102
  label: z.ZodString;
88
103
  text: z.ZodString;
89
- }, {
104
+ } & {
90
105
  type: z.ZodLiteral<"text">;
91
- }>, "strip", z.ZodTypeAny, {
106
+ }, "strip", z.ZodTypeAny, {
92
107
  type: "text";
93
108
  label: string;
94
109
  text: string;
@@ -96,14 +111,13 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
96
111
  type: "text";
97
112
  label: string;
98
113
  text: string;
99
- }>, z.ZodObject<z.objectUtil.extendShape<{
100
- type: z.ZodEnum<["pdf", "text", "link"]>;
114
+ }>, z.ZodObject<{
101
115
  label: z.ZodString;
102
116
  text: z.ZodString;
103
- }, {
117
+ } & {
104
118
  type: z.ZodLiteral<"link">;
105
119
  url: z.ZodString;
106
- }>, "strip", z.ZodTypeAny, {
120
+ }, "strip", z.ZodTypeAny, {
107
121
  type: "link";
108
122
  url: string;
109
123
  label: string;
@@ -149,7 +163,7 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
149
163
  readOnly?: boolean | undefined;
150
164
  }>>;
151
165
  sortOrder: z.ZodOptional<z.ZodNumber>;
152
- }, {
166
+ } & {
153
167
  type: z.ZodLiteral<"theme">;
154
168
  style: z.ZodOptional<z.ZodObject<{
155
169
  primaryColor: z.ZodUnion<[z.ZodString, z.ZodObject<{
@@ -201,20 +215,18 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
201
215
  blue: number;
202
216
  };
203
217
  }>>;
204
- items: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
205
- type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
218
+ items: z.ZodArray<z.ZodObject<{
206
219
  title: z.ZodString;
207
220
  longFormTitle: z.ZodOptional<z.ZodString>;
208
221
  code: z.ZodString;
209
222
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
210
- documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
211
- type: z.ZodEnum<["pdf", "text", "link"]>;
223
+ documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
212
224
  label: z.ZodString;
213
225
  text: z.ZodString;
214
- }, {
226
+ } & {
215
227
  type: z.ZodLiteral<"pdf">;
216
228
  url: z.ZodString;
217
- }>, "strip", z.ZodTypeAny, {
229
+ }, "strip", z.ZodTypeAny, {
218
230
  type: "pdf";
219
231
  url: string;
220
232
  label: string;
@@ -224,13 +236,12 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
224
236
  url: string;
225
237
  label: string;
226
238
  text: string;
227
- }>, z.ZodObject<z.objectUtil.extendShape<{
228
- type: z.ZodEnum<["pdf", "text", "link"]>;
239
+ }>, z.ZodObject<{
229
240
  label: z.ZodString;
230
241
  text: z.ZodString;
231
- }, {
242
+ } & {
232
243
  type: z.ZodLiteral<"text">;
233
- }>, "strip", z.ZodTypeAny, {
244
+ }, "strip", z.ZodTypeAny, {
234
245
  type: "text";
235
246
  label: string;
236
247
  text: string;
@@ -238,14 +249,13 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
238
249
  type: "text";
239
250
  label: string;
240
251
  text: string;
241
- }>, z.ZodObject<z.objectUtil.extendShape<{
242
- type: z.ZodEnum<["pdf", "text", "link"]>;
252
+ }>, z.ZodObject<{
243
253
  label: z.ZodString;
244
254
  text: z.ZodString;
245
- }, {
255
+ } & {
246
256
  type: z.ZodLiteral<"link">;
247
257
  url: z.ZodString;
248
- }>, "strip", z.ZodTypeAny, {
258
+ }, "strip", z.ZodTypeAny, {
249
259
  type: "link";
250
260
  url: string;
251
261
  label: string;
@@ -291,22 +301,20 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
291
301
  readOnly?: boolean | undefined;
292
302
  }>>;
293
303
  sortOrder: z.ZodOptional<z.ZodNumber>;
294
- }, {
304
+ } & {
295
305
  type: z.ZodLiteral<"criterion">;
296
- items: z.ZodArray<z.ZodLazy<z.ZodObject<z.objectUtil.extendShape<{
297
- type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
306
+ items: z.ZodArray<z.ZodLazy<z.ZodObject<{
298
307
  title: z.ZodString;
299
308
  longFormTitle: z.ZodOptional<z.ZodString>;
300
309
  code: z.ZodString;
301
310
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
302
- documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
303
- type: z.ZodEnum<["pdf", "text", "link"]>;
311
+ documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
304
312
  label: z.ZodString;
305
313
  text: z.ZodString;
306
- }, {
314
+ } & {
307
315
  type: z.ZodLiteral<"pdf">;
308
316
  url: z.ZodString;
309
- }>, "strip", z.ZodTypeAny, {
317
+ }, "strip", z.ZodTypeAny, {
310
318
  type: "pdf";
311
319
  url: string;
312
320
  label: string;
@@ -316,13 +324,12 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
316
324
  url: string;
317
325
  label: string;
318
326
  text: string;
319
- }>, z.ZodObject<z.objectUtil.extendShape<{
320
- type: z.ZodEnum<["pdf", "text", "link"]>;
327
+ }>, z.ZodObject<{
321
328
  label: z.ZodString;
322
329
  text: z.ZodString;
323
- }, {
330
+ } & {
324
331
  type: z.ZodLiteral<"text">;
325
- }>, "strip", z.ZodTypeAny, {
332
+ }, "strip", z.ZodTypeAny, {
326
333
  type: "text";
327
334
  label: string;
328
335
  text: string;
@@ -330,14 +337,13 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
330
337
  type: "text";
331
338
  label: string;
332
339
  text: string;
333
- }>, z.ZodObject<z.objectUtil.extendShape<{
334
- type: z.ZodEnum<["pdf", "text", "link"]>;
340
+ }>, z.ZodObject<{
335
341
  label: z.ZodString;
336
342
  text: z.ZodString;
337
- }, {
343
+ } & {
338
344
  type: z.ZodLiteral<"link">;
339
345
  url: z.ZodString;
340
- }>, "strip", z.ZodTypeAny, {
346
+ }, "strip", z.ZodTypeAny, {
341
347
  type: "link";
342
348
  url: string;
343
349
  label: string;
@@ -383,24 +389,22 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
383
389
  readOnly?: boolean | undefined;
384
390
  }>>;
385
391
  sortOrder: z.ZodOptional<z.ZodNumber>;
386
- }, {
392
+ } & {
387
393
  type: z.ZodLiteral<"task-group">;
388
394
  description: z.ZodOptional<z.ZodString>;
389
395
  category: z.ZodOptional<z.ZodString>;
390
- items: z.ZodArray<z.ZodLazy<z.ZodObject<z.objectUtil.extendShape<{
391
- type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
396
+ items: z.ZodArray<z.ZodLazy<z.ZodObject<{
392
397
  title: z.ZodString;
393
398
  longFormTitle: z.ZodOptional<z.ZodString>;
394
399
  code: z.ZodString;
395
400
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
396
- documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
397
- type: z.ZodEnum<["pdf", "text", "link"]>;
401
+ documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
398
402
  label: z.ZodString;
399
403
  text: z.ZodString;
400
- }, {
404
+ } & {
401
405
  type: z.ZodLiteral<"pdf">;
402
406
  url: z.ZodString;
403
- }>, "strip", z.ZodTypeAny, {
407
+ }, "strip", z.ZodTypeAny, {
404
408
  type: "pdf";
405
409
  url: string;
406
410
  label: string;
@@ -410,13 +414,12 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
410
414
  url: string;
411
415
  label: string;
412
416
  text: string;
413
- }>, z.ZodObject<z.objectUtil.extendShape<{
414
- type: z.ZodEnum<["pdf", "text", "link"]>;
417
+ }>, z.ZodObject<{
415
418
  label: z.ZodString;
416
419
  text: z.ZodString;
417
- }, {
420
+ } & {
418
421
  type: z.ZodLiteral<"text">;
419
- }>, "strip", z.ZodTypeAny, {
422
+ }, "strip", z.ZodTypeAny, {
420
423
  type: "text";
421
424
  label: string;
422
425
  text: string;
@@ -424,14 +427,13 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
424
427
  type: "text";
425
428
  label: string;
426
429
  text: string;
427
- }>, z.ZodObject<z.objectUtil.extendShape<{
428
- type: z.ZodEnum<["pdf", "text", "link"]>;
430
+ }>, z.ZodObject<{
429
431
  label: z.ZodString;
430
432
  text: z.ZodString;
431
- }, {
433
+ } & {
432
434
  type: z.ZodLiteral<"link">;
433
435
  url: z.ZodString;
434
- }>, "strip", z.ZodTypeAny, {
436
+ }, "strip", z.ZodTypeAny, {
435
437
  type: "link";
436
438
  url: string;
437
439
  label: string;
@@ -477,23 +479,20 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
477
479
  readOnly?: boolean | undefined;
478
480
  }>>;
479
481
  sortOrder: z.ZodOptional<z.ZodNumber>;
480
- }, {
482
+ } & {
481
483
  type: z.ZodLiteral<"task">;
482
484
  description: z.ZodOptional<z.ZodString>;
483
- items: z.ZodArray<z.ZodLazy<z.ZodObject<z.objectUtil.extendShape<Omit<{
484
- type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
485
- title: z.ZodString;
486
- longFormTitle: z.ZodOptional<z.ZodString>;
485
+ items: z.ZodArray<z.ZodLazy<z.ZodObject<{
487
486
  code: z.ZodString;
487
+ longFormTitle: z.ZodOptional<z.ZodString>;
488
488
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
489
- documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
490
- type: z.ZodEnum<["pdf", "text", "link"]>;
489
+ documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
491
490
  label: z.ZodString;
492
491
  text: z.ZodString;
493
- }, {
492
+ } & {
494
493
  type: z.ZodLiteral<"pdf">;
495
494
  url: z.ZodString;
496
- }>, "strip", z.ZodTypeAny, {
495
+ }, "strip", z.ZodTypeAny, {
497
496
  type: "pdf";
498
497
  url: string;
499
498
  label: string;
@@ -503,13 +502,12 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
503
502
  url: string;
504
503
  label: string;
505
504
  text: string;
506
- }>, z.ZodObject<z.objectUtil.extendShape<{
507
- type: z.ZodEnum<["pdf", "text", "link"]>;
505
+ }>, z.ZodObject<{
508
506
  label: z.ZodString;
509
507
  text: z.ZodString;
510
- }, {
508
+ } & {
511
509
  type: z.ZodLiteral<"text">;
512
- }>, "strip", z.ZodTypeAny, {
510
+ }, "strip", z.ZodTypeAny, {
513
511
  type: "text";
514
512
  label: string;
515
513
  text: string;
@@ -517,14 +515,13 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
517
515
  type: "text";
518
516
  label: string;
519
517
  text: string;
520
- }>, z.ZodObject<z.objectUtil.extendShape<{
521
- type: z.ZodEnum<["pdf", "text", "link"]>;
518
+ }>, z.ZodObject<{
522
519
  label: z.ZodString;
523
520
  text: z.ZodString;
524
- }, {
521
+ } & {
525
522
  type: z.ZodLiteral<"link">;
526
523
  url: z.ZodString;
527
- }>, "strip", z.ZodTypeAny, {
524
+ }, "strip", z.ZodTypeAny, {
528
525
  type: "link";
529
526
  url: string;
530
527
  label: string;
@@ -535,44 +532,10 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
535
532
  label: string;
536
533
  text: string;
537
534
  }>]>, "many">>;
538
- data: z.ZodOptional<z.ZodObject<{
539
- type: z.ZodOptional<z.ZodEnum<["percentage", "number"]>>;
540
- 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">]>>;
541
- text: z.ZodOptional<z.ZodString>;
542
- maximumValue: z.ZodOptional<z.ZodNumber>;
543
- minimumValue: z.ZodOptional<z.ZodNumber>;
544
- exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
545
- exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
546
- step: z.ZodOptional<z.ZodNumber>;
547
- total: z.ZodOptional<z.ZodNumber>;
548
- readOnly: z.ZodOptional<z.ZodBoolean>;
549
- }, "strip", z.ZodTypeAny, {
550
- type?: "number" | "percentage" | undefined;
551
- total?: number | undefined;
552
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
553
- text?: string | undefined;
554
- maximumValue?: number | undefined;
555
- minimumValue?: number | undefined;
556
- exclusiveMaximum?: number | undefined;
557
- exclusiveMinimum?: number | undefined;
558
- step?: number | undefined;
559
- readOnly?: boolean | undefined;
560
- }, {
561
- type?: "number" | "percentage" | undefined;
562
- total?: number | undefined;
563
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
564
- text?: string | undefined;
565
- maximumValue?: number | undefined;
566
- minimumValue?: number | undefined;
567
- exclusiveMaximum?: number | undefined;
568
- exclusiveMinimum?: number | undefined;
569
- step?: number | undefined;
570
- readOnly?: boolean | undefined;
571
- }>>;
572
535
  sortOrder: z.ZodOptional<z.ZodNumber>;
573
- }, "title">, {
536
+ } & {
574
537
  type: z.ZodLiteral<"task-item">;
575
- data: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
538
+ data: z.ZodOptional<z.ZodObject<{
576
539
  type: z.ZodOptional<z.ZodEnum<["percentage", "number"]>>;
577
540
  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">]>>;
578
541
  text: z.ZodOptional<z.ZodString>;
@@ -583,9 +546,9 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
583
546
  step: z.ZodOptional<z.ZodNumber>;
584
547
  total: z.ZodOptional<z.ZodNumber>;
585
548
  readOnly: z.ZodOptional<z.ZodBoolean>;
586
- }, {
549
+ } & {
587
550
  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">]>>;
588
- }>, "strip", z.ZodTypeAny, {
551
+ }, "strip", z.ZodTypeAny, {
589
552
  type?: "number" | "percentage" | undefined;
590
553
  total?: number | undefined;
591
554
  value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
@@ -610,11 +573,10 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
610
573
  readOnly?: boolean | undefined;
611
574
  valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
612
575
  }>>;
613
- definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
614
- type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
576
+ definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
615
577
  label: z.ZodOptional<z.ZodString>;
616
578
  readOnly: z.ZodOptional<z.ZodBoolean>;
617
- }, {
579
+ } & {
618
580
  type: z.ZodLiteral<"select-single">;
619
581
  minimum: z.ZodOptional<z.ZodNumber>;
620
582
  maximum: z.ZodOptional<z.ZodNumber>;
@@ -638,7 +600,7 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
638
600
  outro?: string | undefined;
639
601
  }>, "many">;
640
602
  defaultValue: z.ZodOptional<z.ZodString>;
641
- }>, "strip", z.ZodTypeAny, {
603
+ }, "strip", z.ZodTypeAny, {
642
604
  type: "select-single";
643
605
  options: {
644
606
  value: string | number | boolean | null;
@@ -666,11 +628,10 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
666
628
  maximum?: number | undefined;
667
629
  defaultValue?: string | undefined;
668
630
  readOnly?: boolean | undefined;
669
- }>, z.ZodObject<z.objectUtil.extendShape<{
670
- type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
631
+ }>, z.ZodObject<{
671
632
  label: z.ZodOptional<z.ZodString>;
672
633
  readOnly: z.ZodOptional<z.ZodBoolean>;
673
- }, {
634
+ } & {
674
635
  type: z.ZodLiteral<"select-multiple">;
675
636
  minimum: z.ZodOptional<z.ZodNumber>;
676
637
  maximum: z.ZodOptional<z.ZodNumber>;
@@ -694,7 +655,7 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
694
655
  outro?: string | undefined;
695
656
  }>, "many">;
696
657
  defaultValue: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
697
- }>, "strip", z.ZodTypeAny, {
658
+ }, "strip", z.ZodTypeAny, {
698
659
  type: "select-multiple";
699
660
  options: {
700
661
  value: string | number | boolean | null;
@@ -722,17 +683,16 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
722
683
  maximum?: number | undefined;
723
684
  defaultValue?: string[] | undefined;
724
685
  readOnly?: boolean | undefined;
725
- }>, z.ZodObject<z.objectUtil.extendShape<{
726
- type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
686
+ }>, z.ZodObject<{
727
687
  label: z.ZodOptional<z.ZodString>;
728
688
  readOnly: z.ZodOptional<z.ZodBoolean>;
729
- }, {
689
+ } & {
730
690
  type: z.ZodLiteral<"number">;
731
691
  minimum: z.ZodOptional<z.ZodNumber>;
732
692
  maximum: z.ZodOptional<z.ZodNumber>;
733
693
  step: z.ZodOptional<z.ZodNumber>;
734
694
  defaultValue: z.ZodOptional<z.ZodNumber>;
735
- }>, "strip", z.ZodTypeAny, {
695
+ }, "strip", z.ZodTypeAny, {
736
696
  type: "number";
737
697
  label?: string | undefined;
738
698
  minimum?: number | undefined;
@@ -748,11 +708,10 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
748
708
  defaultValue?: number | undefined;
749
709
  step?: number | undefined;
750
710
  readOnly?: boolean | undefined;
751
- }>, z.ZodObject<z.objectUtil.extendShape<{
752
- type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
711
+ }>, z.ZodObject<{
753
712
  label: z.ZodOptional<z.ZodString>;
754
713
  readOnly: z.ZodOptional<z.ZodBoolean>;
755
- }, {
714
+ } & {
756
715
  type: z.ZodLiteral<"boolean">;
757
716
  labels: z.ZodOptional<z.ZodObject<{
758
717
  true: z.ZodString;
@@ -765,7 +724,7 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
765
724
  true: string;
766
725
  }>>;
767
726
  defaultValue: z.ZodOptional<z.ZodBoolean>;
768
- }>, "strip", z.ZodTypeAny, {
727
+ }, "strip", z.ZodTypeAny, {
769
728
  type: "boolean";
770
729
  label?: string | undefined;
771
730
  labels?: {
@@ -787,16 +746,13 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
787
746
  description: z.ZodOptional<z.ZodString>;
788
747
  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">]>>;
789
748
  options: z.ZodOptional<z.ZodObject<{
790
- hideCode: z.ZodOptional<z.ZodBoolean>;
791
749
  excludeFromTargets: z.ZodOptional<z.ZodBoolean>;
792
750
  }, "strip", z.ZodTypeAny, {
793
- hideCode?: boolean | undefined;
794
751
  excludeFromTargets?: boolean | undefined;
795
752
  }, {
796
- hideCode?: boolean | undefined;
797
753
  excludeFromTargets?: boolean | undefined;
798
754
  }>>;
799
- }>, "strip", z.ZodTypeAny, {
755
+ }, "strip", z.ZodTypeAny, {
800
756
  code: string;
801
757
  type: "task-item";
802
758
  definition: {
@@ -859,7 +815,6 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
859
815
  valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
860
816
  } | undefined;
861
817
  options?: {
862
- hideCode?: boolean | undefined;
863
818
  excludeFromTargets?: boolean | undefined;
864
819
  } | undefined;
865
820
  description?: string | undefined;
@@ -945,7 +900,6 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
945
900
  valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
946
901
  } | undefined;
947
902
  options?: {
948
- hideCode?: boolean | undefined;
949
903
  excludeFromTargets?: boolean | undefined;
950
904
  } | undefined;
951
905
  description?: string | undefined;
@@ -971,12 +925,18 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
971
925
  }>>, "many">;
972
926
  options: z.ZodOptional<z.ZodObject<{
973
927
  hideCode: z.ZodOptional<z.ZodBoolean>;
928
+ breadcrumbTextFormat: z.ZodDefault<z.ZodOptional<z.ZodString>>;
929
+ showCodeAsIndicatorTaskViewTitle: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
974
930
  }, "strip", z.ZodTypeAny, {
931
+ breadcrumbTextFormat: string;
932
+ showCodeAsIndicatorTaskViewTitle: boolean;
975
933
  hideCode?: boolean | undefined;
976
934
  }, {
977
935
  hideCode?: boolean | undefined;
936
+ breadcrumbTextFormat?: string | undefined;
937
+ showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
978
938
  }>>;
979
- }>, "strip", z.ZodTypeAny, {
939
+ }, "strip", z.ZodTypeAny, {
980
940
  code: string;
981
941
  type: "task";
982
942
  title: string;
@@ -1043,7 +1003,6 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
1043
1003
  valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
1044
1004
  } | undefined;
1045
1005
  options?: {
1046
- hideCode?: boolean | undefined;
1047
1006
  excludeFromTargets?: boolean | undefined;
1048
1007
  } | undefined;
1049
1008
  description?: string | undefined;
@@ -1080,6 +1039,8 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
1080
1039
  readOnly?: boolean | undefined;
1081
1040
  } | undefined;
1082
1041
  options?: {
1042
+ breadcrumbTextFormat: string;
1043
+ showCodeAsIndicatorTaskViewTitle: boolean;
1083
1044
  hideCode?: boolean | undefined;
1084
1045
  } | undefined;
1085
1046
  description?: string | undefined;
@@ -1168,7 +1129,6 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
1168
1129
  valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
1169
1130
  } | undefined;
1170
1131
  options?: {
1171
- hideCode?: boolean | undefined;
1172
1132
  excludeFromTargets?: boolean | undefined;
1173
1133
  } | undefined;
1174
1134
  description?: string | undefined;
@@ -1206,6 +1166,8 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
1206
1166
  } | undefined;
1207
1167
  options?: {
1208
1168
  hideCode?: boolean | undefined;
1169
+ breadcrumbTextFormat?: string | undefined;
1170
+ showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
1209
1171
  } | undefined;
1210
1172
  description?: string | undefined;
1211
1173
  longFormTitle?: string | undefined;
@@ -1237,7 +1199,7 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
1237
1199
  hideCode?: boolean | undefined;
1238
1200
  hideFromHierarchy?: boolean | undefined;
1239
1201
  }>>;
1240
- }>, "strip", z.ZodTypeAny, {
1202
+ }, "strip", z.ZodTypeAny, {
1241
1203
  code: string;
1242
1204
  type: "task-group";
1243
1205
  title: string;
@@ -1308,7 +1270,6 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
1308
1270
  valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
1309
1271
  } | undefined;
1310
1272
  options?: {
1311
- hideCode?: boolean | undefined;
1312
1273
  excludeFromTargets?: boolean | undefined;
1313
1274
  } | undefined;
1314
1275
  description?: string | undefined;
@@ -1345,6 +1306,8 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
1345
1306
  readOnly?: boolean | undefined;
1346
1307
  } | undefined;
1347
1308
  options?: {
1309
+ breadcrumbTextFormat: string;
1310
+ showCodeAsIndicatorTaskViewTitle: boolean;
1348
1311
  hideCode?: boolean | undefined;
1349
1312
  } | undefined;
1350
1313
  description?: string | undefined;
@@ -1474,7 +1437,6 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
1474
1437
  valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
1475
1438
  } | undefined;
1476
1439
  options?: {
1477
- hideCode?: boolean | undefined;
1478
1440
  excludeFromTargets?: boolean | undefined;
1479
1441
  } | undefined;
1480
1442
  description?: string | undefined;
@@ -1512,6 +1474,8 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
1512
1474
  } | undefined;
1513
1475
  options?: {
1514
1476
  hideCode?: boolean | undefined;
1477
+ breadcrumbTextFormat?: string | undefined;
1478
+ showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
1515
1479
  } | undefined;
1516
1480
  description?: string | undefined;
1517
1481
  longFormTitle?: string | undefined;
@@ -1573,14 +1537,26 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
1573
1537
  options: z.ZodOptional<z.ZodObject<{
1574
1538
  hideCode: z.ZodOptional<z.ZodBoolean>;
1575
1539
  hideFromHierarchy: z.ZodOptional<z.ZodBoolean>;
1540
+ breadcrumbTextFormat: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1541
+ hideFromBreadcrumbs: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1542
+ hideFromDocumentTree: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1543
+ hideCodeInReport: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1576
1544
  }, "strip", z.ZodTypeAny, {
1545
+ breadcrumbTextFormat: string;
1546
+ hideFromBreadcrumbs: boolean;
1547
+ hideFromDocumentTree: boolean;
1548
+ hideCodeInReport: boolean;
1577
1549
  hideCode?: boolean | undefined;
1578
1550
  hideFromHierarchy?: boolean | undefined;
1579
1551
  }, {
1580
1552
  hideCode?: boolean | undefined;
1553
+ breadcrumbTextFormat?: string | undefined;
1581
1554
  hideFromHierarchy?: boolean | undefined;
1555
+ hideFromBreadcrumbs?: boolean | undefined;
1556
+ hideFromDocumentTree?: boolean | undefined;
1557
+ hideCodeInReport?: boolean | undefined;
1582
1558
  }>>;
1583
- }>, "strip", z.ZodTypeAny, {
1559
+ }, "strip", z.ZodTypeAny, {
1584
1560
  code: string;
1585
1561
  type: "criterion";
1586
1562
  title: string;
@@ -1655,7 +1631,6 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
1655
1631
  valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
1656
1632
  } | undefined;
1657
1633
  options?: {
1658
- hideCode?: boolean | undefined;
1659
1634
  excludeFromTargets?: boolean | undefined;
1660
1635
  } | undefined;
1661
1636
  description?: string | undefined;
@@ -1692,6 +1667,8 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
1692
1667
  readOnly?: boolean | undefined;
1693
1668
  } | undefined;
1694
1669
  options?: {
1670
+ breadcrumbTextFormat: string;
1671
+ showCodeAsIndicatorTaskViewTitle: boolean;
1695
1672
  hideCode?: boolean | undefined;
1696
1673
  } | undefined;
1697
1674
  description?: string | undefined;
@@ -1764,6 +1741,10 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
1764
1741
  readOnly?: boolean | undefined;
1765
1742
  } | undefined;
1766
1743
  options?: {
1744
+ breadcrumbTextFormat: string;
1745
+ hideFromBreadcrumbs: boolean;
1746
+ hideFromDocumentTree: boolean;
1747
+ hideCodeInReport: boolean;
1767
1748
  hideCode?: boolean | undefined;
1768
1749
  hideFromHierarchy?: boolean | undefined;
1769
1750
  } | undefined;
@@ -1860,7 +1841,6 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
1860
1841
  valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
1861
1842
  } | undefined;
1862
1843
  options?: {
1863
- hideCode?: boolean | undefined;
1864
1844
  excludeFromTargets?: boolean | undefined;
1865
1845
  } | undefined;
1866
1846
  description?: string | undefined;
@@ -1898,6 +1878,8 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
1898
1878
  } | undefined;
1899
1879
  options?: {
1900
1880
  hideCode?: boolean | undefined;
1881
+ breadcrumbTextFormat?: string | undefined;
1882
+ showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
1901
1883
  } | undefined;
1902
1884
  description?: string | undefined;
1903
1885
  longFormTitle?: string | undefined;
@@ -1970,7 +1952,11 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
1970
1952
  } | undefined;
1971
1953
  options?: {
1972
1954
  hideCode?: boolean | undefined;
1955
+ breadcrumbTextFormat?: string | undefined;
1973
1956
  hideFromHierarchy?: boolean | undefined;
1957
+ hideFromBreadcrumbs?: boolean | undefined;
1958
+ hideFromDocumentTree?: boolean | undefined;
1959
+ hideCodeInReport?: boolean | undefined;
1974
1960
  } | undefined;
1975
1961
  longFormTitle?: string | undefined;
1976
1962
  tags?: string[] | undefined;
@@ -1992,16 +1978,34 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
1992
1978
  sortOrder?: number | undefined;
1993
1979
  }>, "many">;
1994
1980
  options: z.ZodOptional<z.ZodObject<{
1981
+ /**
1982
+ * @deprecated use breadcrumbTextFormat instead, where breadcrumbTextFormat = hideCode === true ? ':code:' : ':title:'
1983
+ */
1995
1984
  hideCode: z.ZodOptional<z.ZodBoolean>;
1985
+ /**
1986
+ * @deprecated use hideFromBreadcrumbs, hideFromDocumentTree and hideCodeInReport instead
1987
+ */
1996
1988
  hideFromHierarchy: z.ZodOptional<z.ZodBoolean>;
1989
+ breadcrumbTextFormat: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1990
+ hideFromBreadcrumbs: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1991
+ hideFromDocumentTree: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1992
+ hideCodeInReport: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1997
1993
  }, "strip", z.ZodTypeAny, {
1994
+ breadcrumbTextFormat: string;
1995
+ hideFromBreadcrumbs: boolean;
1996
+ hideFromDocumentTree: boolean;
1997
+ hideCodeInReport: boolean;
1998
1998
  hideCode?: boolean | undefined;
1999
1999
  hideFromHierarchy?: boolean | undefined;
2000
2000
  }, {
2001
2001
  hideCode?: boolean | undefined;
2002
+ breadcrumbTextFormat?: string | undefined;
2002
2003
  hideFromHierarchy?: boolean | undefined;
2004
+ hideFromBreadcrumbs?: boolean | undefined;
2005
+ hideFromDocumentTree?: boolean | undefined;
2006
+ hideCodeInReport?: boolean | undefined;
2003
2007
  }>>;
2004
- }>, "strip", z.ZodTypeAny, {
2008
+ }, "strip", z.ZodTypeAny, {
2005
2009
  code: string;
2006
2010
  type: "theme";
2007
2011
  title: string;
@@ -2080,7 +2084,6 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
2080
2084
  valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
2081
2085
  } | undefined;
2082
2086
  options?: {
2083
- hideCode?: boolean | undefined;
2084
2087
  excludeFromTargets?: boolean | undefined;
2085
2088
  } | undefined;
2086
2089
  description?: string | undefined;
@@ -2117,6 +2120,8 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
2117
2120
  readOnly?: boolean | undefined;
2118
2121
  } | undefined;
2119
2122
  options?: {
2123
+ breadcrumbTextFormat: string;
2124
+ showCodeAsIndicatorTaskViewTitle: boolean;
2120
2125
  hideCode?: boolean | undefined;
2121
2126
  } | undefined;
2122
2127
  description?: string | undefined;
@@ -2189,6 +2194,10 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
2189
2194
  readOnly?: boolean | undefined;
2190
2195
  } | undefined;
2191
2196
  options?: {
2197
+ breadcrumbTextFormat: string;
2198
+ hideFromBreadcrumbs: boolean;
2199
+ hideFromDocumentTree: boolean;
2200
+ hideCodeInReport: boolean;
2192
2201
  hideCode?: boolean | undefined;
2193
2202
  hideFromHierarchy?: boolean | undefined;
2194
2203
  } | undefined;
@@ -2236,6 +2245,10 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
2236
2245
  };
2237
2246
  } | undefined;
2238
2247
  options?: {
2248
+ breadcrumbTextFormat: string;
2249
+ hideFromBreadcrumbs: boolean;
2250
+ hideFromDocumentTree: boolean;
2251
+ hideCodeInReport: boolean;
2239
2252
  hideCode?: boolean | undefined;
2240
2253
  hideFromHierarchy?: boolean | undefined;
2241
2254
  } | undefined;
@@ -2336,7 +2349,6 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
2336
2349
  valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
2337
2350
  } | undefined;
2338
2351
  options?: {
2339
- hideCode?: boolean | undefined;
2340
2352
  excludeFromTargets?: boolean | undefined;
2341
2353
  } | undefined;
2342
2354
  description?: string | undefined;
@@ -2374,6 +2386,8 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
2374
2386
  } | undefined;
2375
2387
  options?: {
2376
2388
  hideCode?: boolean | undefined;
2389
+ breadcrumbTextFormat?: string | undefined;
2390
+ showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
2377
2391
  } | undefined;
2378
2392
  description?: string | undefined;
2379
2393
  longFormTitle?: string | undefined;
@@ -2446,7 +2460,11 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
2446
2460
  } | undefined;
2447
2461
  options?: {
2448
2462
  hideCode?: boolean | undefined;
2463
+ breadcrumbTextFormat?: string | undefined;
2449
2464
  hideFromHierarchy?: boolean | undefined;
2465
+ hideFromBreadcrumbs?: boolean | undefined;
2466
+ hideFromDocumentTree?: boolean | undefined;
2467
+ hideCodeInReport?: boolean | undefined;
2450
2468
  } | undefined;
2451
2469
  longFormTitle?: string | undefined;
2452
2470
  tags?: string[] | undefined;
@@ -2493,7 +2511,11 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
2493
2511
  } | undefined;
2494
2512
  options?: {
2495
2513
  hideCode?: boolean | undefined;
2514
+ breadcrumbTextFormat?: string | undefined;
2496
2515
  hideFromHierarchy?: boolean | undefined;
2516
+ hideFromBreadcrumbs?: boolean | undefined;
2517
+ hideFromDocumentTree?: boolean | undefined;
2518
+ hideCodeInReport?: boolean | undefined;
2497
2519
  } | undefined;
2498
2520
  longFormTitle?: string | undefined;
2499
2521
  tags?: string[] | undefined;