@openframe-org/criteria-set-protocol 2.7.4-alpha.1 → 2.7.4-alpha.2
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.
- package/dist/v1/schemas/common.d.ts +15 -0
- package/dist/v1/schemas/common.js +5 -0
- package/dist/v1/schemas/criteria-tree.d.ts +228 -78
- package/dist/v1/schemas/criterion.d.ts +46 -16
- package/dist/v1/schemas/criterion.js +1 -0
- package/dist/v1/schemas/task-group.d.ts +45 -15
- package/dist/v1/schemas/task-item.d.ts +15 -0
- package/dist/v1/schemas/task.d.ts +30 -15
- package/dist/v1/schemas/task.js +0 -5
- package/dist/v1/schemas/theme.d.ts +46 -16
- package/dist/v1/schemas/theme.js +1 -1
- package/package.json +1 -1
|
@@ -52,6 +52,21 @@ export declare const abstractElementSchema: z.ZodObject<{
|
|
|
52
52
|
longFormTitle: z.ZodString;
|
|
53
53
|
code: z.ZodString;
|
|
54
54
|
tags: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
55
|
+
documentation: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
56
|
+
label: z.ZodString;
|
|
57
|
+
text: z.ZodString;
|
|
58
|
+
type: z.ZodLiteral<"pdf">;
|
|
59
|
+
url: z.ZodString;
|
|
60
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
61
|
+
label: z.ZodString;
|
|
62
|
+
text: z.ZodString;
|
|
63
|
+
type: z.ZodLiteral<"text">;
|
|
64
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
65
|
+
label: z.ZodString;
|
|
66
|
+
text: z.ZodString;
|
|
67
|
+
type: z.ZodLiteral<"link">;
|
|
68
|
+
url: z.ZodString;
|
|
69
|
+
}, z.core.$strip>], "type">>>;
|
|
55
70
|
sortOrder: z.ZodNullable<z.ZodNumber>;
|
|
56
71
|
}, z.core.$strip>;
|
|
57
72
|
export declare const breadcrumbOptionsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.treeResultSchema = exports.reportOptionsSchema = exports.criteriaTreeOptionsSchema = exports.documentTreeOptionsSchema = exports.breadcrumbOptionsSchema = exports.abstractElementSchema = exports.criteriaTreeElementTypeSchema = exports.elementDataSchema = exports.elementDataTextSchema = exports.elementDataValueSchema = exports.taskItemValueReferenceSchema = exports.colorSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
+
const documentation_1 = require("./documentation");
|
|
5
6
|
exports.colorSchema = zod_1.z
|
|
6
7
|
.union([
|
|
7
8
|
zod_1.z.string().describe("Hex color string"),
|
|
@@ -87,6 +88,10 @@ exports.abstractElementSchema = zod_1.z
|
|
|
87
88
|
.array(zod_1.z.string())
|
|
88
89
|
.nullable()
|
|
89
90
|
.describe("List of classification tags"),
|
|
91
|
+
documentation: zod_1.z
|
|
92
|
+
.array(documentation_1.documentationItemSchema)
|
|
93
|
+
.nullable()
|
|
94
|
+
.describe("Associated documentation items"),
|
|
90
95
|
sortOrder: zod_1.z
|
|
91
96
|
.number()
|
|
92
97
|
.nullable()
|
|
@@ -73,9 +73,9 @@ export declare const criteriaTreeSchema: z.ZodObject<{
|
|
|
73
73
|
}, z.core.$strip>]>;
|
|
74
74
|
}, z.core.$strip>>;
|
|
75
75
|
items: z.ZodArray<z.ZodObject<{
|
|
76
|
+
code: z.ZodString;
|
|
76
77
|
title: z.ZodString;
|
|
77
78
|
longFormTitle: z.ZodString;
|
|
78
|
-
code: z.ZodString;
|
|
79
79
|
tags: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
80
80
|
sortOrder: z.ZodNullable<z.ZodNumber>;
|
|
81
81
|
type: z.ZodLiteral<"criterion">;
|
|
@@ -84,6 +84,21 @@ export declare const criteriaTreeSchema: z.ZodObject<{
|
|
|
84
84
|
longFormTitle: z.ZodString;
|
|
85
85
|
code: z.ZodString;
|
|
86
86
|
tags: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
87
|
+
documentation: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
88
|
+
label: z.ZodString;
|
|
89
|
+
text: z.ZodString;
|
|
90
|
+
type: z.ZodLiteral<"pdf">;
|
|
91
|
+
url: z.ZodString;
|
|
92
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
93
|
+
label: z.ZodString;
|
|
94
|
+
text: z.ZodString;
|
|
95
|
+
type: z.ZodLiteral<"text">;
|
|
96
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
97
|
+
label: z.ZodString;
|
|
98
|
+
text: z.ZodString;
|
|
99
|
+
type: z.ZodLiteral<"link">;
|
|
100
|
+
url: z.ZodString;
|
|
101
|
+
}, z.core.$strip>], "type">>>;
|
|
87
102
|
sortOrder: z.ZodNullable<z.ZodNumber>;
|
|
88
103
|
type: z.ZodLiteral<"task-group">;
|
|
89
104
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -93,12 +108,42 @@ export declare const criteriaTreeSchema: z.ZodObject<{
|
|
|
93
108
|
longFormTitle: z.ZodString;
|
|
94
109
|
code: z.ZodString;
|
|
95
110
|
tags: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
111
|
+
documentation: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
112
|
+
label: z.ZodString;
|
|
113
|
+
text: z.ZodString;
|
|
114
|
+
type: z.ZodLiteral<"pdf">;
|
|
115
|
+
url: z.ZodString;
|
|
116
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
117
|
+
label: z.ZodString;
|
|
118
|
+
text: z.ZodString;
|
|
119
|
+
type: z.ZodLiteral<"text">;
|
|
120
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
121
|
+
label: z.ZodString;
|
|
122
|
+
text: z.ZodString;
|
|
123
|
+
type: z.ZodLiteral<"link">;
|
|
124
|
+
url: z.ZodString;
|
|
125
|
+
}, z.core.$strip>], "type">>>;
|
|
96
126
|
sortOrder: z.ZodNullable<z.ZodNumber>;
|
|
97
127
|
type: z.ZodLiteral<"task">;
|
|
98
128
|
description: z.ZodNullable<z.ZodString>;
|
|
99
129
|
items: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
100
130
|
code: z.ZodString;
|
|
101
131
|
tags: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
132
|
+
documentation: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
133
|
+
label: z.ZodString;
|
|
134
|
+
text: z.ZodString;
|
|
135
|
+
type: z.ZodLiteral<"pdf">;
|
|
136
|
+
url: z.ZodString;
|
|
137
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
138
|
+
label: z.ZodString;
|
|
139
|
+
text: z.ZodString;
|
|
140
|
+
type: z.ZodLiteral<"text">;
|
|
141
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
142
|
+
label: z.ZodString;
|
|
143
|
+
text: z.ZodString;
|
|
144
|
+
type: z.ZodLiteral<"link">;
|
|
145
|
+
url: z.ZodString;
|
|
146
|
+
}, z.core.$strip>], "type">>>;
|
|
102
147
|
sortOrder: z.ZodNullable<z.ZodNumber>;
|
|
103
148
|
type: z.ZodLiteral<"task-item">;
|
|
104
149
|
definition: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -206,21 +251,6 @@ export declare const criteriaTreeSchema: z.ZodObject<{
|
|
|
206
251
|
excludeFromTargets: z.ZodOptional<z.ZodBoolean>;
|
|
207
252
|
}, z.core.$strip>;
|
|
208
253
|
}, z.core.$strip>>>;
|
|
209
|
-
documentation: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
210
|
-
label: z.ZodString;
|
|
211
|
-
text: z.ZodString;
|
|
212
|
-
type: z.ZodLiteral<"pdf">;
|
|
213
|
-
url: z.ZodString;
|
|
214
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
215
|
-
label: z.ZodString;
|
|
216
|
-
text: z.ZodString;
|
|
217
|
-
type: z.ZodLiteral<"text">;
|
|
218
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
219
|
-
label: z.ZodString;
|
|
220
|
-
text: z.ZodString;
|
|
221
|
-
type: z.ZodLiteral<"link">;
|
|
222
|
-
url: z.ZodString;
|
|
223
|
-
}, z.core.$strip>], "type">>>;
|
|
224
254
|
data: z.ZodType<{
|
|
225
255
|
text: string;
|
|
226
256
|
} & ({
|
|
@@ -467,9 +497,9 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
467
497
|
}, z.core.$strip>]>;
|
|
468
498
|
}, z.core.$strip>>;
|
|
469
499
|
items: z.ZodArray<z.ZodObject<{
|
|
500
|
+
code: z.ZodString;
|
|
470
501
|
title: z.ZodString;
|
|
471
502
|
longFormTitle: z.ZodString;
|
|
472
|
-
code: z.ZodString;
|
|
473
503
|
tags: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
474
504
|
sortOrder: z.ZodNullable<z.ZodNumber>;
|
|
475
505
|
type: z.ZodLiteral<"criterion">;
|
|
@@ -478,6 +508,21 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
478
508
|
longFormTitle: z.ZodString;
|
|
479
509
|
code: z.ZodString;
|
|
480
510
|
tags: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
511
|
+
documentation: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
512
|
+
label: z.ZodString;
|
|
513
|
+
text: z.ZodString;
|
|
514
|
+
type: z.ZodLiteral<"pdf">;
|
|
515
|
+
url: z.ZodString;
|
|
516
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
517
|
+
label: z.ZodString;
|
|
518
|
+
text: z.ZodString;
|
|
519
|
+
type: z.ZodLiteral<"text">;
|
|
520
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
521
|
+
label: z.ZodString;
|
|
522
|
+
text: z.ZodString;
|
|
523
|
+
type: z.ZodLiteral<"link">;
|
|
524
|
+
url: z.ZodString;
|
|
525
|
+
}, z.core.$strip>], "type">>>;
|
|
481
526
|
sortOrder: z.ZodNullable<z.ZodNumber>;
|
|
482
527
|
type: z.ZodLiteral<"task-group">;
|
|
483
528
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -487,12 +532,42 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
487
532
|
longFormTitle: z.ZodString;
|
|
488
533
|
code: z.ZodString;
|
|
489
534
|
tags: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
535
|
+
documentation: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
536
|
+
label: z.ZodString;
|
|
537
|
+
text: z.ZodString;
|
|
538
|
+
type: z.ZodLiteral<"pdf">;
|
|
539
|
+
url: z.ZodString;
|
|
540
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
541
|
+
label: z.ZodString;
|
|
542
|
+
text: z.ZodString;
|
|
543
|
+
type: z.ZodLiteral<"text">;
|
|
544
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
545
|
+
label: z.ZodString;
|
|
546
|
+
text: z.ZodString;
|
|
547
|
+
type: z.ZodLiteral<"link">;
|
|
548
|
+
url: z.ZodString;
|
|
549
|
+
}, z.core.$strip>], "type">>>;
|
|
490
550
|
sortOrder: z.ZodNullable<z.ZodNumber>;
|
|
491
551
|
type: z.ZodLiteral<"task">;
|
|
492
552
|
description: z.ZodNullable<z.ZodString>;
|
|
493
553
|
items: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
494
554
|
code: z.ZodString;
|
|
495
555
|
tags: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
556
|
+
documentation: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
557
|
+
label: z.ZodString;
|
|
558
|
+
text: z.ZodString;
|
|
559
|
+
type: z.ZodLiteral<"pdf">;
|
|
560
|
+
url: z.ZodString;
|
|
561
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
562
|
+
label: z.ZodString;
|
|
563
|
+
text: z.ZodString;
|
|
564
|
+
type: z.ZodLiteral<"text">;
|
|
565
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
566
|
+
label: z.ZodString;
|
|
567
|
+
text: z.ZodString;
|
|
568
|
+
type: z.ZodLiteral<"link">;
|
|
569
|
+
url: z.ZodString;
|
|
570
|
+
}, z.core.$strip>], "type">>>;
|
|
496
571
|
sortOrder: z.ZodNullable<z.ZodNumber>;
|
|
497
572
|
type: z.ZodLiteral<"task-item">;
|
|
498
573
|
definition: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -600,21 +675,6 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
600
675
|
excludeFromTargets: z.ZodOptional<z.ZodBoolean>;
|
|
601
676
|
}, z.core.$strip>;
|
|
602
677
|
}, z.core.$strip>>>;
|
|
603
|
-
documentation: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
604
|
-
label: z.ZodString;
|
|
605
|
-
text: z.ZodString;
|
|
606
|
-
type: z.ZodLiteral<"pdf">;
|
|
607
|
-
url: z.ZodString;
|
|
608
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
609
|
-
label: z.ZodString;
|
|
610
|
-
text: z.ZodString;
|
|
611
|
-
type: z.ZodLiteral<"text">;
|
|
612
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
613
|
-
label: z.ZodString;
|
|
614
|
-
text: z.ZodString;
|
|
615
|
-
type: z.ZodLiteral<"link">;
|
|
616
|
-
url: z.ZodString;
|
|
617
|
-
}, z.core.$strip>], "type">>>;
|
|
618
678
|
data: z.ZodType<{
|
|
619
679
|
text: string;
|
|
620
680
|
} & ({
|
|
@@ -808,9 +868,9 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
808
868
|
documentTreeFolderTextFormat: z.ZodString;
|
|
809
869
|
}, z.core.$strip>], "hideFromDocumentTree">>;
|
|
810
870
|
}, z.core.$strip>, z.ZodObject<{
|
|
871
|
+
code: z.ZodString;
|
|
811
872
|
title: z.ZodString;
|
|
812
873
|
longFormTitle: z.ZodString;
|
|
813
|
-
code: z.ZodString;
|
|
814
874
|
tags: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
815
875
|
sortOrder: z.ZodNullable<z.ZodNumber>;
|
|
816
876
|
type: z.ZodLiteral<"criterion">;
|
|
@@ -819,6 +879,21 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
819
879
|
longFormTitle: z.ZodString;
|
|
820
880
|
code: z.ZodString;
|
|
821
881
|
tags: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
882
|
+
documentation: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
883
|
+
label: z.ZodString;
|
|
884
|
+
text: z.ZodString;
|
|
885
|
+
type: z.ZodLiteral<"pdf">;
|
|
886
|
+
url: z.ZodString;
|
|
887
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
888
|
+
label: z.ZodString;
|
|
889
|
+
text: z.ZodString;
|
|
890
|
+
type: z.ZodLiteral<"text">;
|
|
891
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
892
|
+
label: z.ZodString;
|
|
893
|
+
text: z.ZodString;
|
|
894
|
+
type: z.ZodLiteral<"link">;
|
|
895
|
+
url: z.ZodString;
|
|
896
|
+
}, z.core.$strip>], "type">>>;
|
|
822
897
|
sortOrder: z.ZodNullable<z.ZodNumber>;
|
|
823
898
|
type: z.ZodLiteral<"task-group">;
|
|
824
899
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -828,12 +903,42 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
828
903
|
longFormTitle: z.ZodString;
|
|
829
904
|
code: z.ZodString;
|
|
830
905
|
tags: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
906
|
+
documentation: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
907
|
+
label: z.ZodString;
|
|
908
|
+
text: z.ZodString;
|
|
909
|
+
type: z.ZodLiteral<"pdf">;
|
|
910
|
+
url: z.ZodString;
|
|
911
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
912
|
+
label: z.ZodString;
|
|
913
|
+
text: z.ZodString;
|
|
914
|
+
type: z.ZodLiteral<"text">;
|
|
915
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
916
|
+
label: z.ZodString;
|
|
917
|
+
text: z.ZodString;
|
|
918
|
+
type: z.ZodLiteral<"link">;
|
|
919
|
+
url: z.ZodString;
|
|
920
|
+
}, z.core.$strip>], "type">>>;
|
|
831
921
|
sortOrder: z.ZodNullable<z.ZodNumber>;
|
|
832
922
|
type: z.ZodLiteral<"task">;
|
|
833
923
|
description: z.ZodNullable<z.ZodString>;
|
|
834
924
|
items: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
835
925
|
code: z.ZodString;
|
|
836
926
|
tags: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
927
|
+
documentation: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
928
|
+
label: z.ZodString;
|
|
929
|
+
text: z.ZodString;
|
|
930
|
+
type: z.ZodLiteral<"pdf">;
|
|
931
|
+
url: z.ZodString;
|
|
932
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
933
|
+
label: z.ZodString;
|
|
934
|
+
text: z.ZodString;
|
|
935
|
+
type: z.ZodLiteral<"text">;
|
|
936
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
937
|
+
label: z.ZodString;
|
|
938
|
+
text: z.ZodString;
|
|
939
|
+
type: z.ZodLiteral<"link">;
|
|
940
|
+
url: z.ZodString;
|
|
941
|
+
}, z.core.$strip>], "type">>>;
|
|
837
942
|
sortOrder: z.ZodNullable<z.ZodNumber>;
|
|
838
943
|
type: z.ZodLiteral<"task-item">;
|
|
839
944
|
definition: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -941,21 +1046,6 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
941
1046
|
excludeFromTargets: z.ZodOptional<z.ZodBoolean>;
|
|
942
1047
|
}, z.core.$strip>;
|
|
943
1048
|
}, z.core.$strip>>>;
|
|
944
|
-
documentation: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
945
|
-
label: z.ZodString;
|
|
946
|
-
text: z.ZodString;
|
|
947
|
-
type: z.ZodLiteral<"pdf">;
|
|
948
|
-
url: z.ZodString;
|
|
949
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
950
|
-
label: z.ZodString;
|
|
951
|
-
text: z.ZodString;
|
|
952
|
-
type: z.ZodLiteral<"text">;
|
|
953
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
954
|
-
label: z.ZodString;
|
|
955
|
-
text: z.ZodString;
|
|
956
|
-
type: z.ZodLiteral<"link">;
|
|
957
|
-
url: z.ZodString;
|
|
958
|
-
}, z.core.$strip>], "type">>>;
|
|
959
1049
|
data: z.ZodType<{
|
|
960
1050
|
text: string;
|
|
961
1051
|
} & ({
|
|
@@ -1087,6 +1177,21 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
1087
1177
|
longFormTitle: z.ZodString;
|
|
1088
1178
|
code: z.ZodString;
|
|
1089
1179
|
tags: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
1180
|
+
documentation: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1181
|
+
label: z.ZodString;
|
|
1182
|
+
text: z.ZodString;
|
|
1183
|
+
type: z.ZodLiteral<"pdf">;
|
|
1184
|
+
url: z.ZodString;
|
|
1185
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1186
|
+
label: z.ZodString;
|
|
1187
|
+
text: z.ZodString;
|
|
1188
|
+
type: z.ZodLiteral<"text">;
|
|
1189
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1190
|
+
label: z.ZodString;
|
|
1191
|
+
text: z.ZodString;
|
|
1192
|
+
type: z.ZodLiteral<"link">;
|
|
1193
|
+
url: z.ZodString;
|
|
1194
|
+
}, z.core.$strip>], "type">>>;
|
|
1090
1195
|
sortOrder: z.ZodNullable<z.ZodNumber>;
|
|
1091
1196
|
type: z.ZodLiteral<"task-group">;
|
|
1092
1197
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -1096,12 +1201,42 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
1096
1201
|
longFormTitle: z.ZodString;
|
|
1097
1202
|
code: z.ZodString;
|
|
1098
1203
|
tags: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
1204
|
+
documentation: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1205
|
+
label: z.ZodString;
|
|
1206
|
+
text: z.ZodString;
|
|
1207
|
+
type: z.ZodLiteral<"pdf">;
|
|
1208
|
+
url: z.ZodString;
|
|
1209
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1210
|
+
label: z.ZodString;
|
|
1211
|
+
text: z.ZodString;
|
|
1212
|
+
type: z.ZodLiteral<"text">;
|
|
1213
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1214
|
+
label: z.ZodString;
|
|
1215
|
+
text: z.ZodString;
|
|
1216
|
+
type: z.ZodLiteral<"link">;
|
|
1217
|
+
url: z.ZodString;
|
|
1218
|
+
}, z.core.$strip>], "type">>>;
|
|
1099
1219
|
sortOrder: z.ZodNullable<z.ZodNumber>;
|
|
1100
1220
|
type: z.ZodLiteral<"task">;
|
|
1101
1221
|
description: z.ZodNullable<z.ZodString>;
|
|
1102
1222
|
items: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
1103
1223
|
code: z.ZodString;
|
|
1104
1224
|
tags: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
1225
|
+
documentation: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1226
|
+
label: z.ZodString;
|
|
1227
|
+
text: z.ZodString;
|
|
1228
|
+
type: z.ZodLiteral<"pdf">;
|
|
1229
|
+
url: z.ZodString;
|
|
1230
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1231
|
+
label: z.ZodString;
|
|
1232
|
+
text: z.ZodString;
|
|
1233
|
+
type: z.ZodLiteral<"text">;
|
|
1234
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1235
|
+
label: z.ZodString;
|
|
1236
|
+
text: z.ZodString;
|
|
1237
|
+
type: z.ZodLiteral<"link">;
|
|
1238
|
+
url: z.ZodString;
|
|
1239
|
+
}, z.core.$strip>], "type">>>;
|
|
1105
1240
|
sortOrder: z.ZodNullable<z.ZodNumber>;
|
|
1106
1241
|
type: z.ZodLiteral<"task-item">;
|
|
1107
1242
|
definition: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -1209,21 +1344,6 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
1209
1344
|
excludeFromTargets: z.ZodOptional<z.ZodBoolean>;
|
|
1210
1345
|
}, z.core.$strip>;
|
|
1211
1346
|
}, z.core.$strip>>>;
|
|
1212
|
-
documentation: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1213
|
-
label: z.ZodString;
|
|
1214
|
-
text: z.ZodString;
|
|
1215
|
-
type: z.ZodLiteral<"pdf">;
|
|
1216
|
-
url: z.ZodString;
|
|
1217
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1218
|
-
label: z.ZodString;
|
|
1219
|
-
text: z.ZodString;
|
|
1220
|
-
type: z.ZodLiteral<"text">;
|
|
1221
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1222
|
-
label: z.ZodString;
|
|
1223
|
-
text: z.ZodString;
|
|
1224
|
-
type: z.ZodLiteral<"link">;
|
|
1225
|
-
url: z.ZodString;
|
|
1226
|
-
}, z.core.$strip>], "type">>>;
|
|
1227
1347
|
data: z.ZodType<{
|
|
1228
1348
|
text: string;
|
|
1229
1349
|
} & ({
|
|
@@ -1288,12 +1408,42 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
1288
1408
|
longFormTitle: z.ZodString;
|
|
1289
1409
|
code: z.ZodString;
|
|
1290
1410
|
tags: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
1411
|
+
documentation: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1412
|
+
label: z.ZodString;
|
|
1413
|
+
text: z.ZodString;
|
|
1414
|
+
type: z.ZodLiteral<"pdf">;
|
|
1415
|
+
url: z.ZodString;
|
|
1416
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1417
|
+
label: z.ZodString;
|
|
1418
|
+
text: z.ZodString;
|
|
1419
|
+
type: z.ZodLiteral<"text">;
|
|
1420
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1421
|
+
label: z.ZodString;
|
|
1422
|
+
text: z.ZodString;
|
|
1423
|
+
type: z.ZodLiteral<"link">;
|
|
1424
|
+
url: z.ZodString;
|
|
1425
|
+
}, z.core.$strip>], "type">>>;
|
|
1291
1426
|
sortOrder: z.ZodNullable<z.ZodNumber>;
|
|
1292
1427
|
type: z.ZodLiteral<"task">;
|
|
1293
1428
|
description: z.ZodNullable<z.ZodString>;
|
|
1294
1429
|
items: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
1295
1430
|
code: z.ZodString;
|
|
1296
1431
|
tags: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
1432
|
+
documentation: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1433
|
+
label: z.ZodString;
|
|
1434
|
+
text: z.ZodString;
|
|
1435
|
+
type: z.ZodLiteral<"pdf">;
|
|
1436
|
+
url: z.ZodString;
|
|
1437
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1438
|
+
label: z.ZodString;
|
|
1439
|
+
text: z.ZodString;
|
|
1440
|
+
type: z.ZodLiteral<"text">;
|
|
1441
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1442
|
+
label: z.ZodString;
|
|
1443
|
+
text: z.ZodString;
|
|
1444
|
+
type: z.ZodLiteral<"link">;
|
|
1445
|
+
url: z.ZodString;
|
|
1446
|
+
}, z.core.$strip>], "type">>>;
|
|
1297
1447
|
sortOrder: z.ZodNullable<z.ZodNumber>;
|
|
1298
1448
|
type: z.ZodLiteral<"task-item">;
|
|
1299
1449
|
definition: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -1401,21 +1551,6 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
1401
1551
|
excludeFromTargets: z.ZodOptional<z.ZodBoolean>;
|
|
1402
1552
|
}, z.core.$strip>;
|
|
1403
1553
|
}, z.core.$strip>>>;
|
|
1404
|
-
documentation: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1405
|
-
label: z.ZodString;
|
|
1406
|
-
text: z.ZodString;
|
|
1407
|
-
type: z.ZodLiteral<"pdf">;
|
|
1408
|
-
url: z.ZodString;
|
|
1409
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1410
|
-
label: z.ZodString;
|
|
1411
|
-
text: z.ZodString;
|
|
1412
|
-
type: z.ZodLiteral<"text">;
|
|
1413
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1414
|
-
label: z.ZodString;
|
|
1415
|
-
text: z.ZodString;
|
|
1416
|
-
type: z.ZodLiteral<"link">;
|
|
1417
|
-
url: z.ZodString;
|
|
1418
|
-
}, z.core.$strip>], "type">>>;
|
|
1419
1554
|
data: z.ZodType<{
|
|
1420
1555
|
text: string;
|
|
1421
1556
|
} & ({
|
|
@@ -1477,6 +1612,21 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
1477
1612
|
}, z.core.$strip>, z.ZodObject<{
|
|
1478
1613
|
code: z.ZodString;
|
|
1479
1614
|
tags: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
1615
|
+
documentation: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1616
|
+
label: z.ZodString;
|
|
1617
|
+
text: z.ZodString;
|
|
1618
|
+
type: z.ZodLiteral<"pdf">;
|
|
1619
|
+
url: z.ZodString;
|
|
1620
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1621
|
+
label: z.ZodString;
|
|
1622
|
+
text: z.ZodString;
|
|
1623
|
+
type: z.ZodLiteral<"text">;
|
|
1624
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1625
|
+
label: z.ZodString;
|
|
1626
|
+
text: z.ZodString;
|
|
1627
|
+
type: z.ZodLiteral<"link">;
|
|
1628
|
+
url: z.ZodString;
|
|
1629
|
+
}, z.core.$strip>], "type">>>;
|
|
1480
1630
|
sortOrder: z.ZodNullable<z.ZodNumber>;
|
|
1481
1631
|
type: z.ZodLiteral<"task-item">;
|
|
1482
1632
|
definition: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -15,9 +15,9 @@ export declare const criterionOptionsSchema: z.ZodIntersection<z.ZodIntersection
|
|
|
15
15
|
documentTreeFolderTextFormat: z.ZodString;
|
|
16
16
|
}, z.core.$strip>], "hideFromDocumentTree">>;
|
|
17
17
|
export declare const criterionSchema: z.ZodObject<{
|
|
18
|
+
code: z.ZodString;
|
|
18
19
|
title: z.ZodString;
|
|
19
20
|
longFormTitle: z.ZodString;
|
|
20
|
-
code: z.ZodString;
|
|
21
21
|
tags: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
22
22
|
sortOrder: z.ZodNullable<z.ZodNumber>;
|
|
23
23
|
type: z.ZodLiteral<"criterion">;
|
|
@@ -26,6 +26,21 @@ export declare const criterionSchema: z.ZodObject<{
|
|
|
26
26
|
longFormTitle: z.ZodString;
|
|
27
27
|
code: z.ZodString;
|
|
28
28
|
tags: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
29
|
+
documentation: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
30
|
+
label: z.ZodString;
|
|
31
|
+
text: z.ZodString;
|
|
32
|
+
type: z.ZodLiteral<"pdf">;
|
|
33
|
+
url: z.ZodString;
|
|
34
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
+
label: z.ZodString;
|
|
36
|
+
text: z.ZodString;
|
|
37
|
+
type: z.ZodLiteral<"text">;
|
|
38
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
39
|
+
label: z.ZodString;
|
|
40
|
+
text: z.ZodString;
|
|
41
|
+
type: z.ZodLiteral<"link">;
|
|
42
|
+
url: z.ZodString;
|
|
43
|
+
}, z.core.$strip>], "type">>>;
|
|
29
44
|
sortOrder: z.ZodNullable<z.ZodNumber>;
|
|
30
45
|
type: z.ZodLiteral<"task-group">;
|
|
31
46
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -35,12 +50,42 @@ export declare const criterionSchema: z.ZodObject<{
|
|
|
35
50
|
longFormTitle: z.ZodString;
|
|
36
51
|
code: z.ZodString;
|
|
37
52
|
tags: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
53
|
+
documentation: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
54
|
+
label: z.ZodString;
|
|
55
|
+
text: z.ZodString;
|
|
56
|
+
type: z.ZodLiteral<"pdf">;
|
|
57
|
+
url: z.ZodString;
|
|
58
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
59
|
+
label: z.ZodString;
|
|
60
|
+
text: z.ZodString;
|
|
61
|
+
type: z.ZodLiteral<"text">;
|
|
62
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
63
|
+
label: z.ZodString;
|
|
64
|
+
text: z.ZodString;
|
|
65
|
+
type: z.ZodLiteral<"link">;
|
|
66
|
+
url: z.ZodString;
|
|
67
|
+
}, z.core.$strip>], "type">>>;
|
|
38
68
|
sortOrder: z.ZodNullable<z.ZodNumber>;
|
|
39
69
|
type: z.ZodLiteral<"task">;
|
|
40
70
|
description: z.ZodNullable<z.ZodString>;
|
|
41
71
|
items: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
42
72
|
code: z.ZodString;
|
|
43
73
|
tags: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
74
|
+
documentation: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
75
|
+
label: z.ZodString;
|
|
76
|
+
text: z.ZodString;
|
|
77
|
+
type: z.ZodLiteral<"pdf">;
|
|
78
|
+
url: z.ZodString;
|
|
79
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
80
|
+
label: z.ZodString;
|
|
81
|
+
text: z.ZodString;
|
|
82
|
+
type: z.ZodLiteral<"text">;
|
|
83
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
84
|
+
label: z.ZodString;
|
|
85
|
+
text: z.ZodString;
|
|
86
|
+
type: z.ZodLiteral<"link">;
|
|
87
|
+
url: z.ZodString;
|
|
88
|
+
}, z.core.$strip>], "type">>>;
|
|
44
89
|
sortOrder: z.ZodNullable<z.ZodNumber>;
|
|
45
90
|
type: z.ZodLiteral<"task-item">;
|
|
46
91
|
definition: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -148,21 +193,6 @@ export declare const criterionSchema: z.ZodObject<{
|
|
|
148
193
|
excludeFromTargets: z.ZodOptional<z.ZodBoolean>;
|
|
149
194
|
}, z.core.$strip>;
|
|
150
195
|
}, z.core.$strip>>>;
|
|
151
|
-
documentation: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
152
|
-
label: z.ZodString;
|
|
153
|
-
text: z.ZodString;
|
|
154
|
-
type: z.ZodLiteral<"pdf">;
|
|
155
|
-
url: z.ZodString;
|
|
156
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
157
|
-
label: z.ZodString;
|
|
158
|
-
text: z.ZodString;
|
|
159
|
-
type: z.ZodLiteral<"text">;
|
|
160
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
161
|
-
label: z.ZodString;
|
|
162
|
-
text: z.ZodString;
|
|
163
|
-
type: z.ZodLiteral<"link">;
|
|
164
|
-
url: z.ZodString;
|
|
165
|
-
}, z.core.$strip>], "type">>>;
|
|
166
196
|
data: z.ZodType<{
|
|
167
197
|
text: string;
|
|
168
198
|
} & ({
|
|
@@ -18,6 +18,7 @@ exports.criterionOptionsSchema = zod_1.z
|
|
|
18
18
|
.and(common_1.documentTreeOptionsSchema)
|
|
19
19
|
.describe("CriterionOptions - Configuration options for criterion display and behavior");
|
|
20
20
|
exports.criterionSchema = common_1.abstractElementSchema
|
|
21
|
+
.omit({ documentation: true })
|
|
21
22
|
.extend({
|
|
22
23
|
type: zod_1.z.literal("criterion"),
|
|
23
24
|
items: zod_1.z
|
|
@@ -4,6 +4,21 @@ export declare const taskGroupSchema: z.ZodObject<{
|
|
|
4
4
|
longFormTitle: z.ZodString;
|
|
5
5
|
code: z.ZodString;
|
|
6
6
|
tags: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
7
|
+
documentation: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8
|
+
label: z.ZodString;
|
|
9
|
+
text: z.ZodString;
|
|
10
|
+
type: z.ZodLiteral<"pdf">;
|
|
11
|
+
url: z.ZodString;
|
|
12
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13
|
+
label: z.ZodString;
|
|
14
|
+
text: z.ZodString;
|
|
15
|
+
type: z.ZodLiteral<"text">;
|
|
16
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
+
label: z.ZodString;
|
|
18
|
+
text: z.ZodString;
|
|
19
|
+
type: z.ZodLiteral<"link">;
|
|
20
|
+
url: z.ZodString;
|
|
21
|
+
}, z.core.$strip>], "type">>>;
|
|
7
22
|
sortOrder: z.ZodNullable<z.ZodNumber>;
|
|
8
23
|
type: z.ZodLiteral<"task-group">;
|
|
9
24
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -13,12 +28,42 @@ export declare const taskGroupSchema: z.ZodObject<{
|
|
|
13
28
|
longFormTitle: z.ZodString;
|
|
14
29
|
code: z.ZodString;
|
|
15
30
|
tags: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
31
|
+
documentation: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
32
|
+
label: z.ZodString;
|
|
33
|
+
text: z.ZodString;
|
|
34
|
+
type: z.ZodLiteral<"pdf">;
|
|
35
|
+
url: z.ZodString;
|
|
36
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
+
label: z.ZodString;
|
|
38
|
+
text: z.ZodString;
|
|
39
|
+
type: z.ZodLiteral<"text">;
|
|
40
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
+
label: z.ZodString;
|
|
42
|
+
text: z.ZodString;
|
|
43
|
+
type: z.ZodLiteral<"link">;
|
|
44
|
+
url: z.ZodString;
|
|
45
|
+
}, z.core.$strip>], "type">>>;
|
|
16
46
|
sortOrder: z.ZodNullable<z.ZodNumber>;
|
|
17
47
|
type: z.ZodLiteral<"task">;
|
|
18
48
|
description: z.ZodNullable<z.ZodString>;
|
|
19
49
|
items: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
20
50
|
code: z.ZodString;
|
|
21
51
|
tags: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
52
|
+
documentation: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
53
|
+
label: z.ZodString;
|
|
54
|
+
text: z.ZodString;
|
|
55
|
+
type: z.ZodLiteral<"pdf">;
|
|
56
|
+
url: z.ZodString;
|
|
57
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
58
|
+
label: z.ZodString;
|
|
59
|
+
text: z.ZodString;
|
|
60
|
+
type: z.ZodLiteral<"text">;
|
|
61
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
62
|
+
label: z.ZodString;
|
|
63
|
+
text: z.ZodString;
|
|
64
|
+
type: z.ZodLiteral<"link">;
|
|
65
|
+
url: z.ZodString;
|
|
66
|
+
}, z.core.$strip>], "type">>>;
|
|
22
67
|
sortOrder: z.ZodNullable<z.ZodNumber>;
|
|
23
68
|
type: z.ZodLiteral<"task-item">;
|
|
24
69
|
definition: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -126,21 +171,6 @@ export declare const taskGroupSchema: z.ZodObject<{
|
|
|
126
171
|
excludeFromTargets: z.ZodOptional<z.ZodBoolean>;
|
|
127
172
|
}, z.core.$strip>;
|
|
128
173
|
}, z.core.$strip>>>;
|
|
129
|
-
documentation: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
130
|
-
label: z.ZodString;
|
|
131
|
-
text: z.ZodString;
|
|
132
|
-
type: z.ZodLiteral<"pdf">;
|
|
133
|
-
url: z.ZodString;
|
|
134
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
135
|
-
label: z.ZodString;
|
|
136
|
-
text: z.ZodString;
|
|
137
|
-
type: z.ZodLiteral<"text">;
|
|
138
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
139
|
-
label: z.ZodString;
|
|
140
|
-
text: z.ZodString;
|
|
141
|
-
type: z.ZodLiteral<"link">;
|
|
142
|
-
url: z.ZodString;
|
|
143
|
-
}, z.core.$strip>], "type">>>;
|
|
144
174
|
data: z.ZodType<{
|
|
145
175
|
text: string;
|
|
146
176
|
} & ({
|
|
@@ -162,6 +162,21 @@ export declare const taskItemOptionsSchema: z.ZodObject<{
|
|
|
162
162
|
export declare const taskItemSchema: z.ZodObject<{
|
|
163
163
|
code: z.ZodString;
|
|
164
164
|
tags: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
165
|
+
documentation: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
166
|
+
label: z.ZodString;
|
|
167
|
+
text: z.ZodString;
|
|
168
|
+
type: z.ZodLiteral<"pdf">;
|
|
169
|
+
url: z.ZodString;
|
|
170
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
171
|
+
label: z.ZodString;
|
|
172
|
+
text: z.ZodString;
|
|
173
|
+
type: z.ZodLiteral<"text">;
|
|
174
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
175
|
+
label: z.ZodString;
|
|
176
|
+
text: z.ZodString;
|
|
177
|
+
type: z.ZodLiteral<"link">;
|
|
178
|
+
url: z.ZodString;
|
|
179
|
+
}, z.core.$strip>], "type">>>;
|
|
165
180
|
sortOrder: z.ZodNullable<z.ZodNumber>;
|
|
166
181
|
type: z.ZodLiteral<"task-item">;
|
|
167
182
|
definition: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -11,12 +11,42 @@ export declare const taskSchema: z.ZodObject<{
|
|
|
11
11
|
longFormTitle: z.ZodString;
|
|
12
12
|
code: z.ZodString;
|
|
13
13
|
tags: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
14
|
+
documentation: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
15
|
+
label: z.ZodString;
|
|
16
|
+
text: z.ZodString;
|
|
17
|
+
type: z.ZodLiteral<"pdf">;
|
|
18
|
+
url: z.ZodString;
|
|
19
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
20
|
+
label: z.ZodString;
|
|
21
|
+
text: z.ZodString;
|
|
22
|
+
type: z.ZodLiteral<"text">;
|
|
23
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
+
label: z.ZodString;
|
|
25
|
+
text: z.ZodString;
|
|
26
|
+
type: z.ZodLiteral<"link">;
|
|
27
|
+
url: z.ZodString;
|
|
28
|
+
}, z.core.$strip>], "type">>>;
|
|
14
29
|
sortOrder: z.ZodNullable<z.ZodNumber>;
|
|
15
30
|
type: z.ZodLiteral<"task">;
|
|
16
31
|
description: z.ZodNullable<z.ZodString>;
|
|
17
32
|
items: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
18
33
|
code: z.ZodString;
|
|
19
34
|
tags: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
35
|
+
documentation: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
36
|
+
label: z.ZodString;
|
|
37
|
+
text: z.ZodString;
|
|
38
|
+
type: z.ZodLiteral<"pdf">;
|
|
39
|
+
url: z.ZodString;
|
|
40
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
+
label: z.ZodString;
|
|
42
|
+
text: z.ZodString;
|
|
43
|
+
type: z.ZodLiteral<"text">;
|
|
44
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
45
|
+
label: z.ZodString;
|
|
46
|
+
text: z.ZodString;
|
|
47
|
+
type: z.ZodLiteral<"link">;
|
|
48
|
+
url: z.ZodString;
|
|
49
|
+
}, z.core.$strip>], "type">>>;
|
|
20
50
|
sortOrder: z.ZodNullable<z.ZodNumber>;
|
|
21
51
|
type: z.ZodLiteral<"task-item">;
|
|
22
52
|
definition: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -124,21 +154,6 @@ export declare const taskSchema: z.ZodObject<{
|
|
|
124
154
|
excludeFromTargets: z.ZodOptional<z.ZodBoolean>;
|
|
125
155
|
}, z.core.$strip>;
|
|
126
156
|
}, z.core.$strip>>>;
|
|
127
|
-
documentation: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
128
|
-
label: z.ZodString;
|
|
129
|
-
text: z.ZodString;
|
|
130
|
-
type: z.ZodLiteral<"pdf">;
|
|
131
|
-
url: z.ZodString;
|
|
132
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
133
|
-
label: z.ZodString;
|
|
134
|
-
text: z.ZodString;
|
|
135
|
-
type: z.ZodLiteral<"text">;
|
|
136
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
137
|
-
label: z.ZodString;
|
|
138
|
-
text: z.ZodString;
|
|
139
|
-
type: z.ZodLiteral<"link">;
|
|
140
|
-
url: z.ZodString;
|
|
141
|
-
}, z.core.$strip>], "type">>>;
|
|
142
157
|
data: z.ZodType<{
|
|
143
158
|
text: string;
|
|
144
159
|
} & ({
|
package/dist/v1/schemas/task.js
CHANGED
|
@@ -4,7 +4,6 @@ exports.taskSchema = exports.taskOptionsSchema = void 0;
|
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const task_item_1 = require("./task-item");
|
|
6
6
|
const common_1 = require("./common");
|
|
7
|
-
const documentation_1 = require("./documentation");
|
|
8
7
|
exports.taskOptionsSchema = zod_1.z
|
|
9
8
|
.object({
|
|
10
9
|
breadcrumbTextFormat: zod_1.z
|
|
@@ -31,10 +30,6 @@ exports.taskSchema = common_1.abstractElementSchema.extend({
|
|
|
31
30
|
items: zod_1.z
|
|
32
31
|
.array(zod_1.z.lazy(() => task_item_1.taskItemSchema))
|
|
33
32
|
.describe("The task items in this task"),
|
|
34
|
-
documentation: zod_1.z
|
|
35
|
-
.array(documentation_1.documentationItemSchema)
|
|
36
|
-
.nullable()
|
|
37
|
-
.describe("Associated documentation items"),
|
|
38
33
|
data: common_1.elementDataSchema.describe("Data associated with the task"),
|
|
39
34
|
options: exports.taskOptionsSchema.describe("Configuration options for the task display and behavior"),
|
|
40
35
|
});
|
|
@@ -44,9 +44,9 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
44
44
|
}, z.core.$strip>]>;
|
|
45
45
|
}, z.core.$strip>>;
|
|
46
46
|
items: z.ZodArray<z.ZodObject<{
|
|
47
|
+
code: z.ZodString;
|
|
47
48
|
title: z.ZodString;
|
|
48
49
|
longFormTitle: z.ZodString;
|
|
49
|
-
code: z.ZodString;
|
|
50
50
|
tags: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
51
51
|
sortOrder: z.ZodNullable<z.ZodNumber>;
|
|
52
52
|
type: z.ZodLiteral<"criterion">;
|
|
@@ -55,6 +55,21 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
55
55
|
longFormTitle: z.ZodString;
|
|
56
56
|
code: z.ZodString;
|
|
57
57
|
tags: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
58
|
+
documentation: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
59
|
+
label: z.ZodString;
|
|
60
|
+
text: z.ZodString;
|
|
61
|
+
type: z.ZodLiteral<"pdf">;
|
|
62
|
+
url: z.ZodString;
|
|
63
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
64
|
+
label: z.ZodString;
|
|
65
|
+
text: z.ZodString;
|
|
66
|
+
type: z.ZodLiteral<"text">;
|
|
67
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
68
|
+
label: z.ZodString;
|
|
69
|
+
text: z.ZodString;
|
|
70
|
+
type: z.ZodLiteral<"link">;
|
|
71
|
+
url: z.ZodString;
|
|
72
|
+
}, z.core.$strip>], "type">>>;
|
|
58
73
|
sortOrder: z.ZodNullable<z.ZodNumber>;
|
|
59
74
|
type: z.ZodLiteral<"task-group">;
|
|
60
75
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -64,12 +79,42 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
64
79
|
longFormTitle: z.ZodString;
|
|
65
80
|
code: z.ZodString;
|
|
66
81
|
tags: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
82
|
+
documentation: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
83
|
+
label: z.ZodString;
|
|
84
|
+
text: z.ZodString;
|
|
85
|
+
type: z.ZodLiteral<"pdf">;
|
|
86
|
+
url: z.ZodString;
|
|
87
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
88
|
+
label: z.ZodString;
|
|
89
|
+
text: z.ZodString;
|
|
90
|
+
type: z.ZodLiteral<"text">;
|
|
91
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
92
|
+
label: z.ZodString;
|
|
93
|
+
text: z.ZodString;
|
|
94
|
+
type: z.ZodLiteral<"link">;
|
|
95
|
+
url: z.ZodString;
|
|
96
|
+
}, z.core.$strip>], "type">>>;
|
|
67
97
|
sortOrder: z.ZodNullable<z.ZodNumber>;
|
|
68
98
|
type: z.ZodLiteral<"task">;
|
|
69
99
|
description: z.ZodNullable<z.ZodString>;
|
|
70
100
|
items: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
71
101
|
code: z.ZodString;
|
|
72
102
|
tags: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
103
|
+
documentation: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
104
|
+
label: z.ZodString;
|
|
105
|
+
text: z.ZodString;
|
|
106
|
+
type: z.ZodLiteral<"pdf">;
|
|
107
|
+
url: z.ZodString;
|
|
108
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
109
|
+
label: z.ZodString;
|
|
110
|
+
text: z.ZodString;
|
|
111
|
+
type: z.ZodLiteral<"text">;
|
|
112
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
113
|
+
label: z.ZodString;
|
|
114
|
+
text: z.ZodString;
|
|
115
|
+
type: z.ZodLiteral<"link">;
|
|
116
|
+
url: z.ZodString;
|
|
117
|
+
}, z.core.$strip>], "type">>>;
|
|
73
118
|
sortOrder: z.ZodNullable<z.ZodNumber>;
|
|
74
119
|
type: z.ZodLiteral<"task-item">;
|
|
75
120
|
definition: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -177,21 +222,6 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
177
222
|
excludeFromTargets: z.ZodOptional<z.ZodBoolean>;
|
|
178
223
|
}, z.core.$strip>;
|
|
179
224
|
}, z.core.$strip>>>;
|
|
180
|
-
documentation: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
181
|
-
label: z.ZodString;
|
|
182
|
-
text: z.ZodString;
|
|
183
|
-
type: z.ZodLiteral<"pdf">;
|
|
184
|
-
url: z.ZodString;
|
|
185
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
186
|
-
label: z.ZodString;
|
|
187
|
-
text: z.ZodString;
|
|
188
|
-
type: z.ZodLiteral<"text">;
|
|
189
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
190
|
-
label: z.ZodString;
|
|
191
|
-
text: z.ZodString;
|
|
192
|
-
type: z.ZodLiteral<"link">;
|
|
193
|
-
url: z.ZodString;
|
|
194
|
-
}, z.core.$strip>], "type">>>;
|
|
195
225
|
data: z.ZodType<{
|
|
196
226
|
text: string;
|
|
197
227
|
} & ({
|
package/dist/v1/schemas/theme.js
CHANGED
|
@@ -23,7 +23,7 @@ exports.themeOptionsSchema = zod_1.z
|
|
|
23
23
|
.and(common_1.documentTreeOptionsSchema)
|
|
24
24
|
.describe("ThemeOptions - Configuration options for theme display and behavior");
|
|
25
25
|
exports.themeSchema = common_1.abstractElementSchema
|
|
26
|
-
.omit({ tags: true })
|
|
26
|
+
.omit({ tags: true, documentation: true })
|
|
27
27
|
.extend({
|
|
28
28
|
type: zod_1.z.literal("theme").describe("Identifies the schema type as a theme"),
|
|
29
29
|
style: exports.themeStyleSchema
|
package/package.json
CHANGED