@openframe-org/criteria-set-protocol 2.0.6 → 2.0.7-beta.1
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/certification.d.ts +80 -80
- package/dist/v1/schemas/certification.js +6 -7
- package/dist/v1/schemas/common.d.ts +71 -140
- package/dist/v1/schemas/common.js +14 -15
- package/dist/v1/schemas/criteria-tree.d.ts +2466 -4285
- package/dist/v1/schemas/criteria-tree.js +1 -2
- package/dist/v1/schemas/criterion.d.ts +454 -795
- package/dist/v1/schemas/criterion.js +3 -4
- package/dist/v1/schemas/data-map.d.ts +2 -2
- package/dist/v1/schemas/data-map.js +1 -2
- package/dist/v1/schemas/index.d.ts +0 -1
- package/dist/v1/schemas/index.js +0 -1
- package/dist/v1/schemas/metadata.d.ts +18 -27
- package/dist/v1/schemas/metadata.js +6 -7
- package/dist/v1/schemas/request/matrix-body-schema.d.ts +9 -9
- package/dist/v1/schemas/request/matrix-body-schema.js +5 -6
- package/dist/v1/schemas/request/matrix-request-body-schema.d.ts +9 -9
- package/dist/v1/schemas/request/matrix-request-body-schema.js +5 -6
- package/dist/v1/schemas/request/tree-and-data-body-schema.d.ts +8 -8
- package/dist/v1/schemas/request/tree-and-data-body-schema.js +4 -5
- package/dist/v1/schemas/request/tree-and-data-request-body-schema.d.ts +8 -8
- package/dist/v1/schemas/request/tree-and-data-request-body-schema.js +4 -5
- package/dist/v1/schemas/response.d.ts +14 -23
- package/dist/v1/schemas/task-group.d.ts +324 -587
- package/dist/v1/schemas/task-group.js +4 -5
- package/dist/v1/schemas/task-item.d.ts +204 -314
- package/dist/v1/schemas/task-item.js +14 -15
- package/dist/v1/schemas/task.d.ts +213 -398
- package/dist/v1/schemas/task.js +3 -4
- package/dist/v1/schemas/theme.d.ts +602 -1035
- package/dist/v1/schemas/theme.js +3 -4
- package/dist/v1/schemas/utils.d.ts +1 -1
- package/dist/v1/schemas/utils.js +6 -4
- package/dist/v1/utils.d.ts +298 -298
- package/package.json +1 -1
|
@@ -4,13 +4,12 @@ exports.criterionSchema = exports.criterionOptionsSchema = void 0;
|
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const task_group_1 = require("./task-group");
|
|
6
6
|
const common_1 = require("./common");
|
|
7
|
-
const utils_1 = require("./utils");
|
|
8
7
|
exports.criterionOptionsSchema = zod_1.z.object({
|
|
9
|
-
hideCode:
|
|
10
|
-
hideFromHierarchy:
|
|
8
|
+
hideCode: zod_1.z.boolean().nullish(),
|
|
9
|
+
hideFromHierarchy: zod_1.z.boolean().nullish(),
|
|
11
10
|
});
|
|
12
11
|
exports.criterionSchema = common_1.abstractElementSchema.extend({
|
|
13
12
|
type: zod_1.z.literal("criterion"),
|
|
14
13
|
items: zod_1.z.array(zod_1.z.lazy(() => task_group_1.taskGroupSchema)),
|
|
15
|
-
options:
|
|
14
|
+
options: exports.criterionOptionsSchema.nullish(),
|
|
16
15
|
});
|
|
@@ -3,12 +3,12 @@ export declare const dataMapSchema: z.ZodObject<{
|
|
|
3
3
|
version: z.ZodString;
|
|
4
4
|
elements: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
5
5
|
result: z.ZodAny;
|
|
6
|
-
certifications: z.
|
|
6
|
+
certifications: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
8
|
elements: Record<string, any>;
|
|
9
9
|
version: string;
|
|
10
10
|
result?: any;
|
|
11
|
-
certifications?: string[] | undefined;
|
|
11
|
+
certifications?: string[] | null | undefined;
|
|
12
12
|
}, {
|
|
13
13
|
elements: Record<string, any>;
|
|
14
14
|
version: string;
|
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.dataMapSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const utils_1 = require("./utils");
|
|
6
5
|
exports.dataMapSchema = zod_1.z.object({
|
|
7
6
|
version: zod_1.z.string(),
|
|
8
7
|
elements: zod_1.z.record(zod_1.z.string(), zod_1.z.any()),
|
|
9
8
|
result: zod_1.z.any(),
|
|
10
|
-
certifications:
|
|
9
|
+
certifications: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
11
10
|
});
|
package/dist/v1/schemas/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const schemaDefinitionSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3
3
|
export declare const schemaDefinitionsSchema: z.ZodObject<{
|
|
4
|
-
parameters: z.
|
|
5
|
-
result: z.
|
|
4
|
+
parameters: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
5
|
+
result: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
6
6
|
}, "strip", z.ZodTypeAny, {
|
|
7
|
-
parameters?: Record<string, any> | undefined;
|
|
8
|
-
result?: Record<string, any> | undefined;
|
|
7
|
+
parameters?: Record<string, any> | null | undefined;
|
|
8
|
+
result?: Record<string, any> | null | undefined;
|
|
9
9
|
}, {
|
|
10
10
|
parameters?: Record<string, any> | null | undefined;
|
|
11
11
|
result?: Record<string, any> | null | undefined;
|
|
@@ -16,25 +16,16 @@ export declare const metadataSchema: z.ZodObject<{
|
|
|
16
16
|
date: z.ZodDate;
|
|
17
17
|
name: z.ZodString;
|
|
18
18
|
description: z.ZodString;
|
|
19
|
-
documentation: z.
|
|
20
|
-
locales: z.
|
|
21
|
-
defaultLocale: z.
|
|
22
|
-
schemas: z.
|
|
23
|
-
parameters
|
|
24
|
-
result
|
|
25
|
-
}, z.
|
|
19
|
+
documentation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
locales: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
21
|
+
defaultLocale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
schemas: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
23
|
+
parameters: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
24
|
+
result: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
25
|
+
}, "strip", z.ZodTypeAny, {
|
|
26
26
|
parameters?: Record<string, any> | null | undefined;
|
|
27
27
|
result?: Record<string, any> | null | undefined;
|
|
28
|
-
}
|
|
29
|
-
parameters?: Record<string, any> | undefined;
|
|
30
|
-
result?: Record<string, any> | undefined;
|
|
31
|
-
} | undefined, {
|
|
32
|
-
parameters?: Record<string, any> | null | undefined;
|
|
33
|
-
result?: Record<string, any> | null | undefined;
|
|
34
|
-
} | null | undefined>, z.ZodOptional<z.ZodType<{
|
|
35
|
-
parameters?: Record<string, any> | undefined;
|
|
36
|
-
result?: Record<string, any> | undefined;
|
|
37
|
-
}, z.ZodTypeDef, {
|
|
28
|
+
}, {
|
|
38
29
|
parameters?: Record<string, any> | null | undefined;
|
|
39
30
|
result?: Record<string, any> | null | undefined;
|
|
40
31
|
}>>>;
|
|
@@ -44,13 +35,13 @@ export declare const metadataSchema: z.ZodObject<{
|
|
|
44
35
|
description: string;
|
|
45
36
|
date: Date;
|
|
46
37
|
version: string;
|
|
47
|
-
documentation?: string | undefined;
|
|
48
|
-
locales?: string[] | undefined;
|
|
49
|
-
defaultLocale?: string | undefined;
|
|
38
|
+
documentation?: string | null | undefined;
|
|
39
|
+
locales?: string[] | null | undefined;
|
|
40
|
+
defaultLocale?: string | null | undefined;
|
|
50
41
|
schemas?: {
|
|
51
|
-
parameters?: Record<string, any> | undefined;
|
|
52
|
-
result?: Record<string, any> | undefined;
|
|
53
|
-
} | undefined;
|
|
42
|
+
parameters?: Record<string, any> | null | undefined;
|
|
43
|
+
result?: Record<string, any> | null | undefined;
|
|
44
|
+
} | null | undefined;
|
|
54
45
|
}, {
|
|
55
46
|
id: string;
|
|
56
47
|
name: string;
|
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.metadataSchema = exports.schemaDefinitionsSchema = exports.schemaDefinitionSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const utils_1 = require("./utils");
|
|
6
5
|
exports.schemaDefinitionSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.any());
|
|
7
6
|
exports.schemaDefinitionsSchema = zod_1.z.object({
|
|
8
|
-
parameters:
|
|
9
|
-
result:
|
|
7
|
+
parameters: exports.schemaDefinitionSchema.nullish(),
|
|
8
|
+
result: exports.schemaDefinitionSchema.nullish(),
|
|
10
9
|
});
|
|
11
10
|
exports.metadataSchema = zod_1.z.object({
|
|
12
11
|
id: zod_1.z.string(),
|
|
@@ -14,8 +13,8 @@ exports.metadataSchema = zod_1.z.object({
|
|
|
14
13
|
date: zod_1.z.date(),
|
|
15
14
|
name: zod_1.z.string(),
|
|
16
15
|
description: zod_1.z.string(),
|
|
17
|
-
documentation:
|
|
18
|
-
locales:
|
|
19
|
-
defaultLocale:
|
|
20
|
-
schemas:
|
|
16
|
+
documentation: zod_1.z.string().nullish(),
|
|
17
|
+
locales: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
18
|
+
defaultLocale: zod_1.z.string().nullish(),
|
|
19
|
+
schemas: exports.schemaDefinitionsSchema.nullish(),
|
|
21
20
|
});
|
|
@@ -2,19 +2,19 @@ import { z } from "zod";
|
|
|
2
2
|
/**
|
|
3
3
|
* Validates the request body for the matrix endpoints
|
|
4
4
|
*/
|
|
5
|
-
export declare const matrixBodySchema: z.ZodOptional<z.ZodObject<{
|
|
6
|
-
locale: z.
|
|
7
|
-
parameters: z.
|
|
8
|
-
values: z.
|
|
9
|
-
additional: z.
|
|
5
|
+
export declare const matrixBodySchema: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6
|
+
locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
|
+
parameters: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
8
|
+
values: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, 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">]>>>>;
|
|
9
|
+
additional: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
|
-
values?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
12
|
-
locale?: string | undefined;
|
|
13
|
-
parameters?: Record<string, any> | undefined;
|
|
11
|
+
values?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | null | undefined;
|
|
12
|
+
locale?: string | null | undefined;
|
|
13
|
+
parameters?: Record<string, any> | null | undefined;
|
|
14
14
|
additional?: any;
|
|
15
15
|
}, {
|
|
16
16
|
values?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | null | undefined;
|
|
17
17
|
locale?: string | null | undefined;
|
|
18
18
|
parameters?: Record<string, any> | null | undefined;
|
|
19
19
|
additional?: any;
|
|
20
|
-
}
|
|
20
|
+
}>>>;
|
|
@@ -3,15 +3,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.matrixBodySchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const task_item_1 = require("../task-item");
|
|
6
|
-
const utils_1 = require("../utils");
|
|
7
6
|
/**
|
|
8
7
|
* Validates the request body for the matrix endpoints
|
|
9
8
|
*/
|
|
10
9
|
exports.matrixBodySchema = zod_1.z
|
|
11
10
|
.object({
|
|
12
|
-
locale:
|
|
13
|
-
parameters:
|
|
14
|
-
values:
|
|
15
|
-
additional:
|
|
11
|
+
locale: zod_1.z.string().nullish(),
|
|
12
|
+
parameters: zod_1.z.record(zod_1.z.string(), zod_1.z.any()).nullish(),
|
|
13
|
+
values: task_item_1.taskItemValueMapSchema.nullish(),
|
|
14
|
+
additional: zod_1.z.any().nullish(),
|
|
16
15
|
})
|
|
17
|
-
.
|
|
16
|
+
.nullish();
|
|
@@ -2,19 +2,19 @@ import { z } from "zod";
|
|
|
2
2
|
/**
|
|
3
3
|
* Validates the request body for the matrix endpoints
|
|
4
4
|
*/
|
|
5
|
-
export declare const matrixRequestBodySchema: z.ZodOptional<z.ZodObject<{
|
|
6
|
-
locale: z.
|
|
7
|
-
parameters: z.
|
|
8
|
-
values: z.
|
|
9
|
-
additional: z.
|
|
5
|
+
export declare const matrixRequestBodySchema: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6
|
+
locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
|
+
parameters: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
8
|
+
values: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, 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">]>>>>;
|
|
9
|
+
additional: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
|
-
values?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
12
|
-
locale?: string | undefined;
|
|
13
|
-
parameters?: Record<string, any> | undefined;
|
|
11
|
+
values?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | null | undefined;
|
|
12
|
+
locale?: string | null | undefined;
|
|
13
|
+
parameters?: Record<string, any> | null | undefined;
|
|
14
14
|
additional?: any;
|
|
15
15
|
}, {
|
|
16
16
|
values?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | null | undefined;
|
|
17
17
|
locale?: string | null | undefined;
|
|
18
18
|
parameters?: Record<string, any> | null | undefined;
|
|
19
19
|
additional?: any;
|
|
20
|
-
}
|
|
20
|
+
}>>>;
|
|
@@ -3,15 +3,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.matrixRequestBodySchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const task_item_1 = require("../task-item");
|
|
6
|
-
const utils_1 = require("../utils");
|
|
7
6
|
/**
|
|
8
7
|
* Validates the request body for the matrix endpoints
|
|
9
8
|
*/
|
|
10
9
|
exports.matrixRequestBodySchema = zod_1.z
|
|
11
10
|
.object({
|
|
12
|
-
locale:
|
|
13
|
-
parameters:
|
|
14
|
-
values:
|
|
15
|
-
additional:
|
|
11
|
+
locale: zod_1.z.string().nullish(),
|
|
12
|
+
parameters: zod_1.z.record(zod_1.z.string(), zod_1.z.any()).nullish(),
|
|
13
|
+
values: task_item_1.taskItemValueMapSchema.nullish(),
|
|
14
|
+
additional: zod_1.z.any().nullish(),
|
|
16
15
|
})
|
|
17
|
-
.
|
|
16
|
+
.nullish();
|
|
@@ -2,16 +2,16 @@ import { z } from "zod";
|
|
|
2
2
|
/**
|
|
3
3
|
* Validates the request body for the tree and data endpoints
|
|
4
4
|
*/
|
|
5
|
-
export declare const treeAndDataBodySchema: z.ZodOptional<z.ZodObject<{
|
|
6
|
-
locale: z.
|
|
7
|
-
parameters: z.
|
|
8
|
-
values: z.
|
|
5
|
+
export declare const treeAndDataBodySchema: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6
|
+
locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
|
+
parameters: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
8
|
+
values: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, 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">]>>>>;
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
|
-
values?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
11
|
-
locale?: string | undefined;
|
|
12
|
-
parameters?: Record<string, any> | undefined;
|
|
10
|
+
values?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | null | undefined;
|
|
11
|
+
locale?: string | null | undefined;
|
|
12
|
+
parameters?: Record<string, any> | null | undefined;
|
|
13
13
|
}, {
|
|
14
14
|
values?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | null | undefined;
|
|
15
15
|
locale?: string | null | undefined;
|
|
16
16
|
parameters?: Record<string, any> | null | undefined;
|
|
17
|
-
}
|
|
17
|
+
}>>>;
|
|
@@ -3,14 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.treeAndDataBodySchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const task_item_1 = require("../task-item");
|
|
6
|
-
const utils_1 = require("../utils");
|
|
7
6
|
/**
|
|
8
7
|
* Validates the request body for the tree and data endpoints
|
|
9
8
|
*/
|
|
10
9
|
exports.treeAndDataBodySchema = zod_1.z
|
|
11
10
|
.object({
|
|
12
|
-
locale:
|
|
13
|
-
parameters:
|
|
14
|
-
values:
|
|
11
|
+
locale: zod_1.z.string().nullish(),
|
|
12
|
+
parameters: zod_1.z.record(zod_1.z.string(), zod_1.z.any()).nullish(),
|
|
13
|
+
values: task_item_1.taskItemValueMapSchema.nullish(),
|
|
15
14
|
})
|
|
16
|
-
.
|
|
15
|
+
.nullish();
|
|
@@ -2,16 +2,16 @@ import { z } from "zod";
|
|
|
2
2
|
/**
|
|
3
3
|
* Validates the request body for the tree and data endpoints
|
|
4
4
|
*/
|
|
5
|
-
export declare const treeAndDataRequestBodySchema: z.ZodOptional<z.ZodObject<{
|
|
6
|
-
locale: z.
|
|
7
|
-
parameters: z.
|
|
8
|
-
values: z.
|
|
5
|
+
export declare const treeAndDataRequestBodySchema: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6
|
+
locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
|
+
parameters: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
8
|
+
values: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, 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">]>>>>;
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
|
-
values?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
11
|
-
locale?: string | undefined;
|
|
12
|
-
parameters?: Record<string, any> | undefined;
|
|
10
|
+
values?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | null | undefined;
|
|
11
|
+
locale?: string | null | undefined;
|
|
12
|
+
parameters?: Record<string, any> | null | undefined;
|
|
13
13
|
}, {
|
|
14
14
|
values?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | null | undefined;
|
|
15
15
|
locale?: string | null | undefined;
|
|
16
16
|
parameters?: Record<string, any> | null | undefined;
|
|
17
|
-
}
|
|
17
|
+
}>>>;
|
|
@@ -3,14 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.treeAndDataRequestBodySchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const task_item_1 = require("../task-item");
|
|
6
|
-
const utils_1 = require("../utils");
|
|
7
6
|
/**
|
|
8
7
|
* Validates the request body for the tree and data endpoints
|
|
9
8
|
*/
|
|
10
9
|
exports.treeAndDataRequestBodySchema = zod_1.z
|
|
11
10
|
.object({
|
|
12
|
-
locale:
|
|
13
|
-
parameters:
|
|
14
|
-
values:
|
|
11
|
+
locale: zod_1.z.string().nullish(),
|
|
12
|
+
parameters: zod_1.z.record(zod_1.z.string(), zod_1.z.any()).nullish(),
|
|
13
|
+
values: task_item_1.taskItemValueMapSchema.nullish(),
|
|
15
14
|
})
|
|
16
|
-
.
|
|
15
|
+
.nullish();
|
|
@@ -5,25 +5,16 @@ export declare const criteriaSetsAndVersionsSchema: z.ZodRecord<z.ZodString, z.Z
|
|
|
5
5
|
date: z.ZodDate;
|
|
6
6
|
name: z.ZodString;
|
|
7
7
|
description: z.ZodString;
|
|
8
|
-
documentation: z.
|
|
9
|
-
locales: z.
|
|
10
|
-
defaultLocale: z.
|
|
11
|
-
schemas: z.
|
|
12
|
-
parameters
|
|
13
|
-
result
|
|
14
|
-
}, z.
|
|
8
|
+
documentation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
locales: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
10
|
+
defaultLocale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
schemas: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
12
|
+
parameters: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
13
|
+
result: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
14
|
+
}, "strip", z.ZodTypeAny, {
|
|
15
15
|
parameters?: Record<string, any> | null | undefined;
|
|
16
16
|
result?: Record<string, any> | null | undefined;
|
|
17
|
-
}
|
|
18
|
-
parameters?: Record<string, any> | undefined;
|
|
19
|
-
result?: Record<string, any> | undefined;
|
|
20
|
-
} | undefined, {
|
|
21
|
-
parameters?: Record<string, any> | null | undefined;
|
|
22
|
-
result?: Record<string, any> | null | undefined;
|
|
23
|
-
} | null | undefined>, z.ZodOptional<z.ZodType<{
|
|
24
|
-
parameters?: Record<string, any> | undefined;
|
|
25
|
-
result?: Record<string, any> | undefined;
|
|
26
|
-
}, z.ZodTypeDef, {
|
|
17
|
+
}, {
|
|
27
18
|
parameters?: Record<string, any> | null | undefined;
|
|
28
19
|
result?: Record<string, any> | null | undefined;
|
|
29
20
|
}>>>;
|
|
@@ -33,13 +24,13 @@ export declare const criteriaSetsAndVersionsSchema: z.ZodRecord<z.ZodString, z.Z
|
|
|
33
24
|
description: string;
|
|
34
25
|
date: Date;
|
|
35
26
|
version: string;
|
|
36
|
-
documentation?: string | undefined;
|
|
37
|
-
locales?: string[] | undefined;
|
|
38
|
-
defaultLocale?: string | undefined;
|
|
27
|
+
documentation?: string | null | undefined;
|
|
28
|
+
locales?: string[] | null | undefined;
|
|
29
|
+
defaultLocale?: string | null | undefined;
|
|
39
30
|
schemas?: {
|
|
40
|
-
parameters?: Record<string, any> | undefined;
|
|
41
|
-
result?: Record<string, any> | undefined;
|
|
42
|
-
} | undefined;
|
|
31
|
+
parameters?: Record<string, any> | null | undefined;
|
|
32
|
+
result?: Record<string, any> | null | undefined;
|
|
33
|
+
} | null | undefined;
|
|
43
34
|
}, {
|
|
44
35
|
id: string;
|
|
45
36
|
name: string;
|