@openframe-org/criteria-set-protocol 2.0.7-beta.1 → 2.0.7
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 +128 -128
- package/dist/v1/schemas/certification.js +6 -6
- package/dist/v1/schemas/common.d.ts +88 -88
- package/dist/v1/schemas/common.js +14 -14
- package/dist/v1/schemas/criteria-tree.d.ts +3601 -3601
- package/dist/v1/schemas/criteria-tree.js +1 -1
- package/dist/v1/schemas/criterion.d.ts +659 -659
- package/dist/v1/schemas/criterion.js +3 -3
- package/dist/v1/schemas/data-map.d.ts +3 -3
- package/dist/v1/schemas/data-map.js +1 -1
- package/dist/v1/schemas/metadata.d.ts +29 -29
- package/dist/v1/schemas/metadata.js +6 -6
- package/dist/v1/schemas/request/matrix-body-schema.d.ts +12 -12
- package/dist/v1/schemas/request/matrix-body-schema.js +5 -5
- package/dist/v1/schemas/request/matrix-request-body-schema.d.ts +12 -12
- package/dist/v1/schemas/request/matrix-request-body-schema.js +5 -5
- package/dist/v1/schemas/request/tree-and-data-body-schema.d.ts +11 -11
- package/dist/v1/schemas/request/tree-and-data-body-schema.js +4 -4
- package/dist/v1/schemas/request/tree-and-data-request-body-schema.d.ts +11 -11
- package/dist/v1/schemas/request/tree-and-data-request-body-schema.js +4 -4
- package/dist/v1/schemas/response.d.ts +23 -23
- package/dist/v1/schemas/task-group.d.ts +465 -465
- package/dist/v1/schemas/task-group.js +4 -4
- package/dist/v1/schemas/task-item.d.ts +297 -297
- package/dist/v1/schemas/task-item.js +14 -14
- package/dist/v1/schemas/task.d.ts +299 -299
- package/dist/v1/schemas/task.js +3 -3
- package/dist/v1/schemas/theme.d.ts +881 -881
- package/dist/v1/schemas/theme.js +3 -3
- package/dist/v1/utils.d.ts +298 -298
- package/package.json +1 -1
|
@@ -5,11 +5,11 @@ const zod_1 = require("zod");
|
|
|
5
5
|
const task_group_1 = require("./task-group");
|
|
6
6
|
const common_1 = require("./common");
|
|
7
7
|
exports.criterionOptionsSchema = zod_1.z.object({
|
|
8
|
-
hideCode: zod_1.z.boolean().
|
|
9
|
-
hideFromHierarchy: zod_1.z.boolean().
|
|
8
|
+
hideCode: zod_1.z.boolean().optional(),
|
|
9
|
+
hideFromHierarchy: zod_1.z.boolean().optional(),
|
|
10
10
|
});
|
|
11
11
|
exports.criterionSchema = common_1.abstractElementSchema.extend({
|
|
12
12
|
type: zod_1.z.literal("criterion"),
|
|
13
13
|
items: zod_1.z.array(zod_1.z.lazy(() => task_group_1.taskGroupSchema)),
|
|
14
|
-
options: exports.criterionOptionsSchema.
|
|
14
|
+
options: exports.criterionOptionsSchema.optional(),
|
|
15
15
|
});
|
|
@@ -3,15 +3,15 @@ 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.ZodOptional<z.
|
|
6
|
+
certifications: z.ZodOptional<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[] |
|
|
11
|
+
certifications?: string[] | undefined;
|
|
12
12
|
}, {
|
|
13
13
|
elements: Record<string, any>;
|
|
14
14
|
version: string;
|
|
15
15
|
result?: any;
|
|
16
|
-
certifications?: string[] |
|
|
16
|
+
certifications?: string[] | undefined;
|
|
17
17
|
}>;
|
|
@@ -6,5 +6,5 @@ exports.dataMapSchema = zod_1.z.object({
|
|
|
6
6
|
version: zod_1.z.string(),
|
|
7
7
|
elements: zod_1.z.record(zod_1.z.string(), zod_1.z.any()),
|
|
8
8
|
result: zod_1.z.any(),
|
|
9
|
-
certifications: zod_1.z.array(zod_1.z.string()).
|
|
9
|
+
certifications: zod_1.z.array(zod_1.z.string()).optional(),
|
|
10
10
|
});
|
|
@@ -1,14 +1,14 @@
|
|
|
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.ZodOptional<z.
|
|
5
|
-
result: z.ZodOptional<z.
|
|
4
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5
|
+
result: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
6
6
|
}, "strip", z.ZodTypeAny, {
|
|
7
|
-
parameters?: Record<string, any> |
|
|
8
|
-
result?: Record<string, any> |
|
|
7
|
+
parameters?: Record<string, any> | undefined;
|
|
8
|
+
result?: Record<string, any> | undefined;
|
|
9
9
|
}, {
|
|
10
|
-
parameters?: Record<string, any> |
|
|
11
|
-
result?: Record<string, any> |
|
|
10
|
+
parameters?: Record<string, any> | undefined;
|
|
11
|
+
result?: Record<string, any> | undefined;
|
|
12
12
|
}>;
|
|
13
13
|
export declare const metadataSchema: z.ZodObject<{
|
|
14
14
|
id: z.ZodString;
|
|
@@ -16,43 +16,43 @@ export declare const metadataSchema: z.ZodObject<{
|
|
|
16
16
|
date: z.ZodDate;
|
|
17
17
|
name: z.ZodString;
|
|
18
18
|
description: z.ZodString;
|
|
19
|
-
documentation: z.ZodOptional<z.
|
|
20
|
-
locales: z.ZodOptional<z.
|
|
21
|
-
defaultLocale: z.ZodOptional<z.
|
|
22
|
-
schemas: z.ZodOptional<z.
|
|
23
|
-
parameters: z.ZodOptional<z.
|
|
24
|
-
result: z.ZodOptional<z.
|
|
19
|
+
documentation: z.ZodOptional<z.ZodString>;
|
|
20
|
+
locales: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
21
|
+
defaultLocale: z.ZodOptional<z.ZodString>;
|
|
22
|
+
schemas: z.ZodOptional<z.ZodObject<{
|
|
23
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
24
|
+
result: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
25
25
|
}, "strip", z.ZodTypeAny, {
|
|
26
|
-
parameters?: Record<string, any> |
|
|
27
|
-
result?: Record<string, any> |
|
|
26
|
+
parameters?: Record<string, any> | undefined;
|
|
27
|
+
result?: Record<string, any> | undefined;
|
|
28
28
|
}, {
|
|
29
|
-
parameters?: Record<string, any> |
|
|
30
|
-
result?: Record<string, any> |
|
|
31
|
-
}
|
|
29
|
+
parameters?: Record<string, any> | undefined;
|
|
30
|
+
result?: Record<string, any> | undefined;
|
|
31
|
+
}>>;
|
|
32
32
|
}, "strip", z.ZodTypeAny, {
|
|
33
33
|
id: string;
|
|
34
34
|
name: string;
|
|
35
35
|
description: string;
|
|
36
36
|
date: Date;
|
|
37
37
|
version: string;
|
|
38
|
-
documentation?: string |
|
|
39
|
-
locales?: string[] |
|
|
40
|
-
defaultLocale?: string |
|
|
38
|
+
documentation?: string | undefined;
|
|
39
|
+
locales?: string[] | undefined;
|
|
40
|
+
defaultLocale?: string | undefined;
|
|
41
41
|
schemas?: {
|
|
42
|
-
parameters?: Record<string, any> |
|
|
43
|
-
result?: Record<string, any> |
|
|
44
|
-
} |
|
|
42
|
+
parameters?: Record<string, any> | undefined;
|
|
43
|
+
result?: Record<string, any> | undefined;
|
|
44
|
+
} | undefined;
|
|
45
45
|
}, {
|
|
46
46
|
id: string;
|
|
47
47
|
name: string;
|
|
48
48
|
description: string;
|
|
49
49
|
date: Date;
|
|
50
50
|
version: string;
|
|
51
|
-
documentation?: string |
|
|
52
|
-
locales?: string[] |
|
|
53
|
-
defaultLocale?: string |
|
|
51
|
+
documentation?: string | undefined;
|
|
52
|
+
locales?: string[] | undefined;
|
|
53
|
+
defaultLocale?: string | undefined;
|
|
54
54
|
schemas?: {
|
|
55
|
-
parameters?: Record<string, any> |
|
|
56
|
-
result?: Record<string, any> |
|
|
57
|
-
} |
|
|
55
|
+
parameters?: Record<string, any> | undefined;
|
|
56
|
+
result?: Record<string, any> | undefined;
|
|
57
|
+
} | undefined;
|
|
58
58
|
}>;
|
|
@@ -4,8 +4,8 @@ exports.metadataSchema = exports.schemaDefinitionsSchema = exports.schemaDefinit
|
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
exports.schemaDefinitionSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.any());
|
|
6
6
|
exports.schemaDefinitionsSchema = zod_1.z.object({
|
|
7
|
-
parameters: exports.schemaDefinitionSchema.
|
|
8
|
-
result: exports.schemaDefinitionSchema.
|
|
7
|
+
parameters: exports.schemaDefinitionSchema.optional(),
|
|
8
|
+
result: exports.schemaDefinitionSchema.optional(),
|
|
9
9
|
});
|
|
10
10
|
exports.metadataSchema = zod_1.z.object({
|
|
11
11
|
id: zod_1.z.string(),
|
|
@@ -13,8 +13,8 @@ exports.metadataSchema = zod_1.z.object({
|
|
|
13
13
|
date: zod_1.z.date(),
|
|
14
14
|
name: zod_1.z.string(),
|
|
15
15
|
description: zod_1.z.string(),
|
|
16
|
-
documentation: zod_1.z.string().
|
|
17
|
-
locales: zod_1.z.array(zod_1.z.string()).
|
|
18
|
-
defaultLocale: zod_1.z.string().
|
|
19
|
-
schemas: exports.schemaDefinitionsSchema.
|
|
16
|
+
documentation: zod_1.z.string().optional(),
|
|
17
|
+
locales: zod_1.z.array(zod_1.z.string()).optional(),
|
|
18
|
+
defaultLocale: zod_1.z.string().optional(),
|
|
19
|
+
schemas: exports.schemaDefinitionsSchema.optional(),
|
|
20
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.
|
|
6
|
-
locale: z.ZodOptional<z.
|
|
7
|
-
parameters: z.ZodOptional<z.
|
|
8
|
-
values: z.ZodOptional<z.
|
|
9
|
-
additional: z.ZodOptional<z.
|
|
5
|
+
export declare const matrixBodySchema: z.ZodOptional<z.ZodObject<{
|
|
6
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
7
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8
|
+
values: z.ZodOptional<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.ZodAny>;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
|
-
values?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> |
|
|
12
|
-
locale?: string |
|
|
13
|
-
parameters?: Record<string, any> |
|
|
11
|
+
values?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
12
|
+
locale?: string | undefined;
|
|
13
|
+
parameters?: Record<string, any> | undefined;
|
|
14
14
|
additional?: any;
|
|
15
15
|
}, {
|
|
16
|
-
values?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> |
|
|
17
|
-
locale?: string |
|
|
18
|
-
parameters?: Record<string, any> |
|
|
16
|
+
values?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
17
|
+
locale?: string | undefined;
|
|
18
|
+
parameters?: Record<string, any> | undefined;
|
|
19
19
|
additional?: any;
|
|
20
|
-
}
|
|
20
|
+
}>>;
|
|
@@ -8,9 +8,9 @@ const task_item_1 = require("../task-item");
|
|
|
8
8
|
*/
|
|
9
9
|
exports.matrixBodySchema = zod_1.z
|
|
10
10
|
.object({
|
|
11
|
-
locale: zod_1.z.string().
|
|
12
|
-
parameters: zod_1.z.record(zod_1.z.string(), zod_1.z.any()).
|
|
13
|
-
values: task_item_1.taskItemValueMapSchema.
|
|
14
|
-
additional: zod_1.z.any().
|
|
11
|
+
locale: zod_1.z.string().optional(),
|
|
12
|
+
parameters: zod_1.z.record(zod_1.z.string(), zod_1.z.any()).optional(),
|
|
13
|
+
values: task_item_1.taskItemValueMapSchema.optional(),
|
|
14
|
+
additional: zod_1.z.any().optional(),
|
|
15
15
|
})
|
|
16
|
-
.
|
|
16
|
+
.optional();
|
|
@@ -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.
|
|
6
|
-
locale: z.ZodOptional<z.
|
|
7
|
-
parameters: z.ZodOptional<z.
|
|
8
|
-
values: z.ZodOptional<z.
|
|
9
|
-
additional: z.ZodOptional<z.
|
|
5
|
+
export declare const matrixRequestBodySchema: z.ZodOptional<z.ZodObject<{
|
|
6
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
7
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8
|
+
values: z.ZodOptional<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.ZodAny>;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
|
-
values?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> |
|
|
12
|
-
locale?: string |
|
|
13
|
-
parameters?: Record<string, any> |
|
|
11
|
+
values?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
12
|
+
locale?: string | undefined;
|
|
13
|
+
parameters?: Record<string, any> | undefined;
|
|
14
14
|
additional?: any;
|
|
15
15
|
}, {
|
|
16
|
-
values?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> |
|
|
17
|
-
locale?: string |
|
|
18
|
-
parameters?: Record<string, any> |
|
|
16
|
+
values?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
17
|
+
locale?: string | undefined;
|
|
18
|
+
parameters?: Record<string, any> | undefined;
|
|
19
19
|
additional?: any;
|
|
20
|
-
}
|
|
20
|
+
}>>;
|
|
@@ -8,9 +8,9 @@ const task_item_1 = require("../task-item");
|
|
|
8
8
|
*/
|
|
9
9
|
exports.matrixRequestBodySchema = zod_1.z
|
|
10
10
|
.object({
|
|
11
|
-
locale: zod_1.z.string().
|
|
12
|
-
parameters: zod_1.z.record(zod_1.z.string(), zod_1.z.any()).
|
|
13
|
-
values: task_item_1.taskItemValueMapSchema.
|
|
14
|
-
additional: zod_1.z.any().
|
|
11
|
+
locale: zod_1.z.string().optional(),
|
|
12
|
+
parameters: zod_1.z.record(zod_1.z.string(), zod_1.z.any()).optional(),
|
|
13
|
+
values: task_item_1.taskItemValueMapSchema.optional(),
|
|
14
|
+
additional: zod_1.z.any().optional(),
|
|
15
15
|
})
|
|
16
|
-
.
|
|
16
|
+
.optional();
|
|
@@ -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.
|
|
6
|
-
locale: z.ZodOptional<z.
|
|
7
|
-
parameters: z.ZodOptional<z.
|
|
8
|
-
values: z.ZodOptional<z.
|
|
5
|
+
export declare const treeAndDataBodySchema: z.ZodOptional<z.ZodObject<{
|
|
6
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
7
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8
|
+
values: z.ZodOptional<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> |
|
|
11
|
-
locale?: string |
|
|
12
|
-
parameters?: Record<string, any> |
|
|
10
|
+
values?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
11
|
+
locale?: string | undefined;
|
|
12
|
+
parameters?: Record<string, any> | undefined;
|
|
13
13
|
}, {
|
|
14
|
-
values?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> |
|
|
15
|
-
locale?: string |
|
|
16
|
-
parameters?: Record<string, any> |
|
|
17
|
-
}
|
|
14
|
+
values?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
15
|
+
locale?: string | undefined;
|
|
16
|
+
parameters?: Record<string, any> | undefined;
|
|
17
|
+
}>>;
|
|
@@ -8,8 +8,8 @@ const task_item_1 = require("../task-item");
|
|
|
8
8
|
*/
|
|
9
9
|
exports.treeAndDataBodySchema = zod_1.z
|
|
10
10
|
.object({
|
|
11
|
-
locale: zod_1.z.string().
|
|
12
|
-
parameters: zod_1.z.record(zod_1.z.string(), zod_1.z.any()).
|
|
13
|
-
values: task_item_1.taskItemValueMapSchema.
|
|
11
|
+
locale: zod_1.z.string().optional(),
|
|
12
|
+
parameters: zod_1.z.record(zod_1.z.string(), zod_1.z.any()).optional(),
|
|
13
|
+
values: task_item_1.taskItemValueMapSchema.optional(),
|
|
14
14
|
})
|
|
15
|
-
.
|
|
15
|
+
.optional();
|
|
@@ -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.
|
|
6
|
-
locale: z.ZodOptional<z.
|
|
7
|
-
parameters: z.ZodOptional<z.
|
|
8
|
-
values: z.ZodOptional<z.
|
|
5
|
+
export declare const treeAndDataRequestBodySchema: z.ZodOptional<z.ZodObject<{
|
|
6
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
7
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8
|
+
values: z.ZodOptional<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> |
|
|
11
|
-
locale?: string |
|
|
12
|
-
parameters?: Record<string, any> |
|
|
10
|
+
values?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
11
|
+
locale?: string | undefined;
|
|
12
|
+
parameters?: Record<string, any> | undefined;
|
|
13
13
|
}, {
|
|
14
|
-
values?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> |
|
|
15
|
-
locale?: string |
|
|
16
|
-
parameters?: Record<string, any> |
|
|
17
|
-
}
|
|
14
|
+
values?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
15
|
+
locale?: string | undefined;
|
|
16
|
+
parameters?: Record<string, any> | undefined;
|
|
17
|
+
}>>;
|
|
@@ -8,8 +8,8 @@ const task_item_1 = require("../task-item");
|
|
|
8
8
|
*/
|
|
9
9
|
exports.treeAndDataRequestBodySchema = zod_1.z
|
|
10
10
|
.object({
|
|
11
|
-
locale: zod_1.z.string().
|
|
12
|
-
parameters: zod_1.z.record(zod_1.z.string(), zod_1.z.any()).
|
|
13
|
-
values: task_item_1.taskItemValueMapSchema.
|
|
11
|
+
locale: zod_1.z.string().optional(),
|
|
12
|
+
parameters: zod_1.z.record(zod_1.z.string(), zod_1.z.any()).optional(),
|
|
13
|
+
values: task_item_1.taskItemValueMapSchema.optional(),
|
|
14
14
|
})
|
|
15
|
-
.
|
|
15
|
+
.optional();
|
|
@@ -5,45 +5,45 @@ 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.ZodOptional<z.
|
|
9
|
-
locales: z.ZodOptional<z.
|
|
10
|
-
defaultLocale: z.ZodOptional<z.
|
|
11
|
-
schemas: z.ZodOptional<z.
|
|
12
|
-
parameters: z.ZodOptional<z.
|
|
13
|
-
result: z.ZodOptional<z.
|
|
8
|
+
documentation: z.ZodOptional<z.ZodString>;
|
|
9
|
+
locales: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
10
|
+
defaultLocale: z.ZodOptional<z.ZodString>;
|
|
11
|
+
schemas: z.ZodOptional<z.ZodObject<{
|
|
12
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
13
|
+
result: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
|
15
|
-
parameters?: Record<string, any> |
|
|
16
|
-
result?: Record<string, any> |
|
|
15
|
+
parameters?: Record<string, any> | undefined;
|
|
16
|
+
result?: Record<string, any> | undefined;
|
|
17
17
|
}, {
|
|
18
|
-
parameters?: Record<string, any> |
|
|
19
|
-
result?: Record<string, any> |
|
|
20
|
-
}
|
|
18
|
+
parameters?: Record<string, any> | undefined;
|
|
19
|
+
result?: Record<string, any> | undefined;
|
|
20
|
+
}>>;
|
|
21
21
|
}, "strip", z.ZodTypeAny, {
|
|
22
22
|
id: string;
|
|
23
23
|
name: string;
|
|
24
24
|
description: string;
|
|
25
25
|
date: Date;
|
|
26
26
|
version: string;
|
|
27
|
-
documentation?: string |
|
|
28
|
-
locales?: string[] |
|
|
29
|
-
defaultLocale?: string |
|
|
27
|
+
documentation?: string | undefined;
|
|
28
|
+
locales?: string[] | undefined;
|
|
29
|
+
defaultLocale?: string | undefined;
|
|
30
30
|
schemas?: {
|
|
31
|
-
parameters?: Record<string, any> |
|
|
32
|
-
result?: Record<string, any> |
|
|
33
|
-
} |
|
|
31
|
+
parameters?: Record<string, any> | undefined;
|
|
32
|
+
result?: Record<string, any> | undefined;
|
|
33
|
+
} | undefined;
|
|
34
34
|
}, {
|
|
35
35
|
id: string;
|
|
36
36
|
name: string;
|
|
37
37
|
description: string;
|
|
38
38
|
date: Date;
|
|
39
39
|
version: string;
|
|
40
|
-
documentation?: string |
|
|
41
|
-
locales?: string[] |
|
|
42
|
-
defaultLocale?: string |
|
|
40
|
+
documentation?: string | undefined;
|
|
41
|
+
locales?: string[] | undefined;
|
|
42
|
+
defaultLocale?: string | undefined;
|
|
43
43
|
schemas?: {
|
|
44
|
-
parameters?: Record<string, any> |
|
|
45
|
-
result?: Record<string, any> |
|
|
46
|
-
} |
|
|
44
|
+
parameters?: Record<string, any> | undefined;
|
|
45
|
+
result?: Record<string, any> | undefined;
|
|
46
|
+
} | undefined;
|
|
47
47
|
}>, "many">>;
|
|
48
48
|
export declare const streamMatrixResponseSchema: z.ZodObject<{
|
|
49
49
|
filename: z.ZodString;
|