@nxtedition/types 23.0.3 → 23.0.5
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/common/date.d.ts +8 -0
- package/dist/common/date.js +59 -0
- package/dist/common/index.d.ts +5 -0
- package/dist/common/index.js +5 -0
- package/dist/common/media.d.ts +8 -0
- package/dist/common/media.js +83 -0
- package/dist/common/pipeline.d.ts +8 -0
- package/dist/common/pipeline.js +88 -0
- package/dist/common/promoted-tag.d.ts +13 -0
- package/dist/common/promoted-tag.js +147 -0
- package/dist/common/render-preset.d.ts +32 -0
- package/dist/common/render-preset.js +516 -0
- package/dist/common/settings.d.ts +24 -10
- package/dist/common/settings.js +747 -321
- package/dist/domains/asset.d.ts +166 -65
- package/dist/domains/asset.js +1325 -96
- package/dist/domains/index.d.ts +9 -1
- package/dist/domains/index.js +4 -0
- package/dist/domains/media.d.ts +14 -2
- package/dist/domains/media.js +724 -24
- package/dist/domains/pipeline-preset.d.ts +17 -0
- package/dist/domains/pipeline-preset.js +225 -0
- package/dist/domains/pipeline.d.ts +29 -0
- package/dist/domains/pipeline.js +423 -0
- package/dist/domains/render-preset.d.ts +4 -0
- package/dist/domains/render-preset.js +1 -0
- package/dist/domains/settings.js +734 -321
- package/dist/domains/storyboard.d.ts +14 -0
- package/dist/domains/storyboard.js +125 -0
- package/dist/index.d.ts +70 -0
- package/dist/index.js +28 -12
- package/dist/schema.json +1035 -74
- package/package.json +1 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type AssertionGuard as __AssertionGuard } from "typia";
|
|
2
|
+
export interface StoryboardDomainRecords {
|
|
3
|
+
":storyboard": Record<string, unknown>;
|
|
4
|
+
":storyboard.pipelines": StoryboardDomainPipelinesRecord;
|
|
5
|
+
}
|
|
6
|
+
export interface StoryboardDomainPipelinesRecord {
|
|
7
|
+
value?: string[];
|
|
8
|
+
}
|
|
9
|
+
export declare const isStoryboardDomainPipelinesRecord: (input: unknown) => input is StoryboardDomainPipelinesRecord;
|
|
10
|
+
export declare const assertStoryboardDomainPipelinesRecord: (input: unknown) => StoryboardDomainPipelinesRecord;
|
|
11
|
+
export declare const randomStoryboardDomainPipelinesRecord: () => StoryboardDomainPipelinesRecord;
|
|
12
|
+
export declare const assertGuardStoryboardDomainPipelinesRecord: __AssertionGuard<StoryboardDomainPipelinesRecord>;
|
|
13
|
+
export declare const stringifyStoryboardDomainPipelinesRecord: (input: StoryboardDomainPipelinesRecord) => string;
|
|
14
|
+
export declare const assertStringifyStoryboardDomainPipelinesRecord: (input: unknown) => string;
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import __typia from "typia";
|
|
2
|
+
export const isStoryboardDomainPipelinesRecord = input => {
|
|
3
|
+
const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
|
|
4
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
5
|
+
};
|
|
6
|
+
export const assertStoryboardDomainPipelinesRecord = (input, errorFactory) => {
|
|
7
|
+
const __is = input => {
|
|
8
|
+
const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
|
|
9
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
10
|
+
};
|
|
11
|
+
if (false === __is(input))
|
|
12
|
+
((input, _path, _exceptionable = true) => {
|
|
13
|
+
const $guard = __typia.createAssert.guard;
|
|
14
|
+
const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
|
|
15
|
+
path: _path + ".value",
|
|
16
|
+
expected: "(Array<string> | undefined)",
|
|
17
|
+
value: input.value
|
|
18
|
+
}, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
|
|
19
|
+
path: _path + ".value[" + _index1 + "]",
|
|
20
|
+
expected: "string",
|
|
21
|
+
value: elem
|
|
22
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
23
|
+
path: _path + ".value",
|
|
24
|
+
expected: "(Array<string> | undefined)",
|
|
25
|
+
value: input.value
|
|
26
|
+
}, errorFactory);
|
|
27
|
+
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
28
|
+
path: _path + "",
|
|
29
|
+
expected: "StoryboardDomainPipelinesRecord",
|
|
30
|
+
value: input
|
|
31
|
+
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
32
|
+
path: _path + "",
|
|
33
|
+
expected: "StoryboardDomainPipelinesRecord",
|
|
34
|
+
value: input
|
|
35
|
+
}, errorFactory);
|
|
36
|
+
})(input, "$input", true);
|
|
37
|
+
return input;
|
|
38
|
+
};
|
|
39
|
+
export const randomStoryboardDomainPipelinesRecord = generator => {
|
|
40
|
+
const $generator = __typia.createRandom.generator;
|
|
41
|
+
const $pick = __typia.createRandom.pick;
|
|
42
|
+
const $ro0 = (_recursive = false, _depth = 0) => ({
|
|
43
|
+
value: $pick([
|
|
44
|
+
() => undefined,
|
|
45
|
+
() => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
|
|
46
|
+
])()
|
|
47
|
+
});
|
|
48
|
+
return $ro0();
|
|
49
|
+
};
|
|
50
|
+
export const assertGuardStoryboardDomainPipelinesRecord = (input, errorFactory) => {
|
|
51
|
+
const __is = input => {
|
|
52
|
+
const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
|
|
53
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
54
|
+
};
|
|
55
|
+
if (false === __is(input))
|
|
56
|
+
((input, _path, _exceptionable = true) => {
|
|
57
|
+
const $guard = __typia.createAssertGuard.guard;
|
|
58
|
+
const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
|
|
59
|
+
path: _path + ".value",
|
|
60
|
+
expected: "(Array<string> | undefined)",
|
|
61
|
+
value: input.value
|
|
62
|
+
}, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
|
|
63
|
+
path: _path + ".value[" + _index1 + "]",
|
|
64
|
+
expected: "string",
|
|
65
|
+
value: elem
|
|
66
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
67
|
+
path: _path + ".value",
|
|
68
|
+
expected: "(Array<string> | undefined)",
|
|
69
|
+
value: input.value
|
|
70
|
+
}, errorFactory);
|
|
71
|
+
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
72
|
+
path: _path + "",
|
|
73
|
+
expected: "StoryboardDomainPipelinesRecord",
|
|
74
|
+
value: input
|
|
75
|
+
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
76
|
+
path: _path + "",
|
|
77
|
+
expected: "StoryboardDomainPipelinesRecord",
|
|
78
|
+
value: input
|
|
79
|
+
}, errorFactory);
|
|
80
|
+
})(input, "$input", true);
|
|
81
|
+
};
|
|
82
|
+
export const stringifyStoryboardDomainPipelinesRecord = input => {
|
|
83
|
+
const $string = __typia.json.createStringify.string;
|
|
84
|
+
const $tail = __typia.json.createStringify.tail;
|
|
85
|
+
const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
86
|
+
return $so0(input);
|
|
87
|
+
};
|
|
88
|
+
export const assertStringifyStoryboardDomainPipelinesRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
89
|
+
const __is = input => {
|
|
90
|
+
const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
|
|
91
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
92
|
+
};
|
|
93
|
+
if (false === __is(input))
|
|
94
|
+
((input, _path, _exceptionable = true) => {
|
|
95
|
+
const $guard = __typia.json.createAssertStringify.guard;
|
|
96
|
+
const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
|
|
97
|
+
path: _path + ".value",
|
|
98
|
+
expected: "(Array<string> | undefined)",
|
|
99
|
+
value: input.value
|
|
100
|
+
}, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
|
|
101
|
+
path: _path + ".value[" + _index1 + "]",
|
|
102
|
+
expected: "string",
|
|
103
|
+
value: elem
|
|
104
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
105
|
+
path: _path + ".value",
|
|
106
|
+
expected: "(Array<string> | undefined)",
|
|
107
|
+
value: input.value
|
|
108
|
+
}, errorFactory);
|
|
109
|
+
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
110
|
+
path: _path + "",
|
|
111
|
+
expected: "StoryboardDomainPipelinesRecord",
|
|
112
|
+
value: input
|
|
113
|
+
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
114
|
+
path: _path + "",
|
|
115
|
+
expected: "StoryboardDomainPipelinesRecord",
|
|
116
|
+
value: input
|
|
117
|
+
}, errorFactory);
|
|
118
|
+
})(input, "$input", true);
|
|
119
|
+
return input;
|
|
120
|
+
}; const stringify = input => {
|
|
121
|
+
const $string = __typia.json.createAssertStringify.string;
|
|
122
|
+
const $tail = __typia.json.createAssertStringify.tail;
|
|
123
|
+
const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
124
|
+
return $so0(input);
|
|
125
|
+
}; return stringify(assert(input, errorFactory)); };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type AssertionGuard as __AssertionGuard } from "typia";
|
|
2
2
|
import type { DomainRecords, DesignDomainRecords } from './domains/index.js';
|
|
3
|
+
import type { MediaType, RenderPreset, Nxtpression } from './common/index.js';
|
|
3
4
|
export * from './domains/index.js';
|
|
4
5
|
export * from './common/index.js';
|
|
5
6
|
export * from './app.js';
|
|
@@ -30,6 +31,11 @@ export type Records = {
|
|
|
30
31
|
languages: Record<string, string>;
|
|
31
32
|
};
|
|
32
33
|
};
|
|
34
|
+
"media.consolidate": {
|
|
35
|
+
presets?: {
|
|
36
|
+
[type in MediaType]: RenderPreset;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
33
39
|
"hub-transcribe:render-profile": {
|
|
34
40
|
format: string;
|
|
35
41
|
transcribe: {
|
|
@@ -37,6 +43,70 @@ export type Records = {
|
|
|
37
43
|
};
|
|
38
44
|
pick: string[];
|
|
39
45
|
};
|
|
46
|
+
"asset.assignees": {
|
|
47
|
+
value?: Nxtpression<string[], {
|
|
48
|
+
id: string;
|
|
49
|
+
}>;
|
|
50
|
+
dynamic?: string[];
|
|
51
|
+
};
|
|
52
|
+
"asset.deadlines": {
|
|
53
|
+
value?: Nxtpression<string, {
|
|
54
|
+
id: string;
|
|
55
|
+
}>;
|
|
56
|
+
dynamic?: string[];
|
|
57
|
+
};
|
|
58
|
+
"asset.duration": {
|
|
59
|
+
value?: Nxtpression<number, {
|
|
60
|
+
id: string;
|
|
61
|
+
}>;
|
|
62
|
+
dynamic?: string[];
|
|
63
|
+
};
|
|
64
|
+
"asset.embedding": {
|
|
65
|
+
value?: Nxtpression<string, {
|
|
66
|
+
id: string;
|
|
67
|
+
}>;
|
|
68
|
+
dynamic?: string[];
|
|
69
|
+
};
|
|
70
|
+
"asset.icon": {
|
|
71
|
+
value?: Nxtpression<string, {
|
|
72
|
+
id: string;
|
|
73
|
+
}>;
|
|
74
|
+
dynamic?: string[];
|
|
75
|
+
};
|
|
76
|
+
"asset.locations": {
|
|
77
|
+
value?: Nxtpression<Array<{
|
|
78
|
+
lat: number;
|
|
79
|
+
lon: number;
|
|
80
|
+
}>, {
|
|
81
|
+
id: string;
|
|
82
|
+
}>;
|
|
83
|
+
dynamic?: string[];
|
|
84
|
+
};
|
|
85
|
+
"asset.media": {
|
|
86
|
+
value?: Nxtpression<Record<string, unknown>, {
|
|
87
|
+
id: string;
|
|
88
|
+
}>;
|
|
89
|
+
dynamic?: string[];
|
|
90
|
+
};
|
|
91
|
+
"asset.tags": {
|
|
92
|
+
value?: Nxtpression<string[], {
|
|
93
|
+
id: string;
|
|
94
|
+
}>;
|
|
95
|
+
dynamic?: string[];
|
|
96
|
+
};
|
|
97
|
+
"asset.title": {
|
|
98
|
+
value?: Nxtpression<string, {
|
|
99
|
+
id: string;
|
|
100
|
+
}>;
|
|
101
|
+
dynamic?: string[];
|
|
102
|
+
};
|
|
103
|
+
"asset.types": {
|
|
104
|
+
[type: string]: null | string | {
|
|
105
|
+
priority?: number;
|
|
106
|
+
label: string;
|
|
107
|
+
icon?: string;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
40
110
|
} & AssetRecords;
|
|
41
111
|
interface DomainRows {
|
|
42
112
|
rows: string[];
|
package/dist/index.js
CHANGED
|
@@ -5,21 +5,21 @@ export * from './app.js';
|
|
|
5
5
|
export * from './rpc.js';
|
|
6
6
|
export * from './asset.js';
|
|
7
7
|
export const isDomains = input => {
|
|
8
|
-
const $iv1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":clone", ":contact", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":permission?", ":permission", ":planning", ":planning.assignees", ":planning.deadline", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":template", ":user"]);
|
|
8
|
+
const $iv1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":clone", ":contact", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":media.probe?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":template", ":user"]);
|
|
9
9
|
return true === $iv1.has(input);
|
|
10
10
|
};
|
|
11
11
|
export const assertDomains = (input, errorFactory) => {
|
|
12
12
|
const __is = input => {
|
|
13
|
-
const $iv1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":clone", ":contact", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":permission?", ":permission", ":planning", ":planning.assignees", ":planning.deadline", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":template", ":user"]);
|
|
13
|
+
const $iv1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":clone", ":contact", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":media.probe?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":template", ":user"]);
|
|
14
14
|
return true === $iv1.has(input);
|
|
15
15
|
};
|
|
16
16
|
if (false === __is(input))
|
|
17
17
|
((input, _path, _exceptionable = true) => {
|
|
18
18
|
const $guard = __typia.createAssert.guard;
|
|
19
|
-
const $av1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":clone", ":contact", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":permission?", ":permission", ":planning", ":planning.assignees", ":planning.deadline", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":template", ":user"]);
|
|
19
|
+
const $av1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":clone", ":contact", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":media.probe?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":template", ":user"]);
|
|
20
20
|
return true === $av1.has(input) || $guard(true, {
|
|
21
21
|
path: _path + "",
|
|
22
|
-
expected: "(\":asset.assignees?\" | \":asset.created?\" | \":asset.fileRefs?\" | \":asset.modified?\" | \":asset.refs?\" | \":asset.tags?\" | \":asset.title?\" | \":asset.types?\" | \":bundle\" | \":bundle.revisions\" | \":clone\" | \":connection\" | \":connection.methods?\" | \":connection.stats?\" | \":contact\" | \":event\" | \":event._template?\" | \":file.replicate\" | \":file.restrictions\" | \":general.created\" | \":general.description\" | \":general.poster\" | \":general.status\" | \":general.tags\" | \":general.title\" | \":media.consolidate\" | \":media.font\" | \":media.renders?\" | \":media.restrictions?\" | \":media.source\" | \":media.transcriptChanges\" | \":permission\" | \":permission?\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":template\" | \":user\")",
|
|
22
|
+
expected: "(\":asset.assignees?\" | \":asset.controllers?\" | \":asset.created?\" | \":asset.deadlines?\" | \":asset.duration?\" | \":asset.embedding?\" | \":asset.fileRefs?\" | \":asset.icon?\" | \":asset.locations?\" | \":asset.media?\" | \":asset.modified?\" | \":asset.published?\" | \":asset.refs?\" | \":asset.status?\" | \":asset.tags?\" | \":asset.title?\" | \":asset.types?\" | \":bundle\" | \":bundle.revisions\" | \":clone\" | \":connection\" | \":connection.methods?\" | \":connection.stats?\" | \":contact\" | \":event\" | \":event._template?\" | \":file.replicate\" | \":file.restrictions\" | \":general.created\" | \":general.description\" | \":general.poster\" | \":general.status\" | \":general.tags\" | \":general.title\" | \":media.consolidate\" | \":media.font\" | \":media.probe?\" | \":media.renders?\" | \":media.restrictions?\" | \":media.source\" | \":media.transcriptChanges\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":storyboard\" | \":storyboard.pipelines\" | \":template\" | \":user\")",
|
|
23
23
|
value: input
|
|
24
24
|
}, errorFactory);
|
|
25
25
|
})(input, "$input", true);
|
|
@@ -45,6 +45,15 @@ export const randomDomains = generator => {
|
|
|
45
45
|
() => ":asset.fileRefs?",
|
|
46
46
|
() => ":asset.created?",
|
|
47
47
|
() => ":asset.modified?",
|
|
48
|
+
() => ":asset.status?",
|
|
49
|
+
() => ":asset.icon?",
|
|
50
|
+
() => ":asset.deadlines?",
|
|
51
|
+
() => ":asset.published?",
|
|
52
|
+
() => ":asset.duration?",
|
|
53
|
+
() => ":asset.locations?",
|
|
54
|
+
() => ":asset.controllers?",
|
|
55
|
+
() => ":asset.embedding?",
|
|
56
|
+
() => ":asset.media?",
|
|
48
57
|
() => ":clone",
|
|
49
58
|
() => ":contact",
|
|
50
59
|
() => ":event",
|
|
@@ -63,32 +72,39 @@ export const randomDomains = generator => {
|
|
|
63
72
|
() => ":media.transcriptChanges",
|
|
64
73
|
() => ":media.font",
|
|
65
74
|
() => ":media.restrictions?",
|
|
75
|
+
() => ":media.probe?",
|
|
66
76
|
() => ":permission?",
|
|
67
77
|
() => ":permission",
|
|
78
|
+
() => ":pipeline-preset",
|
|
79
|
+
() => ":pipeline",
|
|
80
|
+
() => ":pipeline.items",
|
|
68
81
|
() => ":planning",
|
|
69
82
|
() => ":planning.assignees",
|
|
70
83
|
() => ":planning.deadline",
|
|
84
|
+
() => ":render-preset",
|
|
71
85
|
() => ":revs?",
|
|
72
86
|
() => ":role.tags",
|
|
73
87
|
() => ":script.children",
|
|
74
88
|
() => ":search",
|
|
75
89
|
() => ":settings",
|
|
90
|
+
() => ":storyboard",
|
|
91
|
+
() => ":storyboard.pipelines",
|
|
76
92
|
() => ":template",
|
|
77
93
|
() => ":user"
|
|
78
94
|
])();
|
|
79
95
|
};
|
|
80
96
|
export const assertGuardDomains = (input, errorFactory) => {
|
|
81
97
|
const __is = input => {
|
|
82
|
-
const $iv1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":clone", ":contact", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":permission?", ":permission", ":planning", ":planning.assignees", ":planning.deadline", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":template", ":user"]);
|
|
98
|
+
const $iv1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":clone", ":contact", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":media.probe?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":template", ":user"]);
|
|
83
99
|
return true === $iv1.has(input);
|
|
84
100
|
};
|
|
85
101
|
if (false === __is(input))
|
|
86
102
|
((input, _path, _exceptionable = true) => {
|
|
87
103
|
const $guard = __typia.createAssertGuard.guard;
|
|
88
|
-
const $av1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":clone", ":contact", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":permission?", ":permission", ":planning", ":planning.assignees", ":planning.deadline", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":template", ":user"]);
|
|
104
|
+
const $av1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":clone", ":contact", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":media.probe?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":template", ":user"]);
|
|
89
105
|
return true === $av1.has(input) || $guard(true, {
|
|
90
106
|
path: _path + "",
|
|
91
|
-
expected: "(\":asset.assignees?\" | \":asset.created?\" | \":asset.fileRefs?\" | \":asset.modified?\" | \":asset.refs?\" | \":asset.tags?\" | \":asset.title?\" | \":asset.types?\" | \":bundle\" | \":bundle.revisions\" | \":clone\" | \":connection\" | \":connection.methods?\" | \":connection.stats?\" | \":contact\" | \":event\" | \":event._template?\" | \":file.replicate\" | \":file.restrictions\" | \":general.created\" | \":general.description\" | \":general.poster\" | \":general.status\" | \":general.tags\" | \":general.title\" | \":media.consolidate\" | \":media.font\" | \":media.renders?\" | \":media.restrictions?\" | \":media.source\" | \":media.transcriptChanges\" | \":permission\" | \":permission?\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":template\" | \":user\")",
|
|
107
|
+
expected: "(\":asset.assignees?\" | \":asset.controllers?\" | \":asset.created?\" | \":asset.deadlines?\" | \":asset.duration?\" | \":asset.embedding?\" | \":asset.fileRefs?\" | \":asset.icon?\" | \":asset.locations?\" | \":asset.media?\" | \":asset.modified?\" | \":asset.published?\" | \":asset.refs?\" | \":asset.status?\" | \":asset.tags?\" | \":asset.title?\" | \":asset.types?\" | \":bundle\" | \":bundle.revisions\" | \":clone\" | \":connection\" | \":connection.methods?\" | \":connection.stats?\" | \":contact\" | \":event\" | \":event._template?\" | \":file.replicate\" | \":file.restrictions\" | \":general.created\" | \":general.description\" | \":general.poster\" | \":general.status\" | \":general.tags\" | \":general.title\" | \":media.consolidate\" | \":media.font\" | \":media.probe?\" | \":media.renders?\" | \":media.restrictions?\" | \":media.source\" | \":media.transcriptChanges\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":storyboard\" | \":storyboard.pipelines\" | \":template\" | \":user\")",
|
|
92
108
|
value: input
|
|
93
109
|
}, errorFactory);
|
|
94
110
|
})(input, "$input", true);
|
|
@@ -102,23 +118,23 @@ export const stringifyDomains = input => {
|
|
|
102
118
|
if ("string" === typeof input)
|
|
103
119
|
return "\"" + input + "\"";
|
|
104
120
|
$throws({
|
|
105
|
-
expected: "(\":asset.assignees?\" | \":asset.created?\" | \":asset.fileRefs?\" | \":asset.modified?\" | \":asset.refs?\" | \":asset.tags?\" | \":asset.title?\" | \":asset.types?\" | \":bundle\" | \":bundle.revisions\" | \":clone\" | \":connection\" | \":connection.methods?\" | \":connection.stats?\" | \":contact\" | \":event\" | \":event._template?\" | \":file.replicate\" | \":file.restrictions\" | \":general.created\" | \":general.description\" | \":general.poster\" | \":general.status\" | \":general.tags\" | \":general.title\" | \":media.consolidate\" | \":media.font\" | \":media.renders?\" | \":media.restrictions?\" | \":media.source\" | \":media.transcriptChanges\" | \":permission\" | \":permission?\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":template\" | \":user\")",
|
|
121
|
+
expected: "(\":asset.assignees?\" | \":asset.controllers?\" | \":asset.created?\" | \":asset.deadlines?\" | \":asset.duration?\" | \":asset.embedding?\" | \":asset.fileRefs?\" | \":asset.icon?\" | \":asset.locations?\" | \":asset.media?\" | \":asset.modified?\" | \":asset.published?\" | \":asset.refs?\" | \":asset.status?\" | \":asset.tags?\" | \":asset.title?\" | \":asset.types?\" | \":bundle\" | \":bundle.revisions\" | \":clone\" | \":connection\" | \":connection.methods?\" | \":connection.stats?\" | \":contact\" | \":event\" | \":event._template?\" | \":file.replicate\" | \":file.restrictions\" | \":general.created\" | \":general.description\" | \":general.poster\" | \":general.status\" | \":general.tags\" | \":general.title\" | \":media.consolidate\" | \":media.font\" | \":media.probe?\" | \":media.renders?\" | \":media.restrictions?\" | \":media.source\" | \":media.transcriptChanges\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":storyboard\" | \":storyboard.pipelines\" | \":template\" | \":user\")",
|
|
106
122
|
value: input
|
|
107
123
|
});
|
|
108
124
|
})();
|
|
109
125
|
};
|
|
110
126
|
export const assertStringifyDomains = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
111
127
|
const __is = input => {
|
|
112
|
-
const $iv1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":clone", ":contact", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":permission?", ":permission", ":planning", ":planning.assignees", ":planning.deadline", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":template", ":user"]);
|
|
128
|
+
const $iv1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":clone", ":contact", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":media.probe?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":template", ":user"]);
|
|
113
129
|
return true === $iv1.has(input);
|
|
114
130
|
};
|
|
115
131
|
if (false === __is(input))
|
|
116
132
|
((input, _path, _exceptionable = true) => {
|
|
117
133
|
const $guard = __typia.json.createAssertStringify.guard;
|
|
118
|
-
const $av1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":clone", ":contact", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":permission?", ":permission", ":planning", ":planning.assignees", ":planning.deadline", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":template", ":user"]);
|
|
134
|
+
const $av1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":clone", ":contact", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":media.probe?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":template", ":user"]);
|
|
119
135
|
return true === $av1.has(input) || $guard(true, {
|
|
120
136
|
path: _path + "",
|
|
121
|
-
expected: "(\":asset.assignees?\" | \":asset.created?\" | \":asset.fileRefs?\" | \":asset.modified?\" | \":asset.refs?\" | \":asset.tags?\" | \":asset.title?\" | \":asset.types?\" | \":bundle\" | \":bundle.revisions\" | \":clone\" | \":connection\" | \":connection.methods?\" | \":connection.stats?\" | \":contact\" | \":event\" | \":event._template?\" | \":file.replicate\" | \":file.restrictions\" | \":general.created\" | \":general.description\" | \":general.poster\" | \":general.status\" | \":general.tags\" | \":general.title\" | \":media.consolidate\" | \":media.font\" | \":media.renders?\" | \":media.restrictions?\" | \":media.source\" | \":media.transcriptChanges\" | \":permission\" | \":permission?\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":template\" | \":user\")",
|
|
137
|
+
expected: "(\":asset.assignees?\" | \":asset.controllers?\" | \":asset.created?\" | \":asset.deadlines?\" | \":asset.duration?\" | \":asset.embedding?\" | \":asset.fileRefs?\" | \":asset.icon?\" | \":asset.locations?\" | \":asset.media?\" | \":asset.modified?\" | \":asset.published?\" | \":asset.refs?\" | \":asset.status?\" | \":asset.tags?\" | \":asset.title?\" | \":asset.types?\" | \":bundle\" | \":bundle.revisions\" | \":clone\" | \":connection\" | \":connection.methods?\" | \":connection.stats?\" | \":contact\" | \":event\" | \":event._template?\" | \":file.replicate\" | \":file.restrictions\" | \":general.created\" | \":general.description\" | \":general.poster\" | \":general.status\" | \":general.tags\" | \":general.title\" | \":media.consolidate\" | \":media.font\" | \":media.probe?\" | \":media.renders?\" | \":media.restrictions?\" | \":media.source\" | \":media.transcriptChanges\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":storyboard\" | \":storyboard.pipelines\" | \":template\" | \":user\")",
|
|
122
138
|
value: input
|
|
123
139
|
}, errorFactory);
|
|
124
140
|
})(input, "$input", true);
|
|
@@ -132,7 +148,7 @@ export const assertStringifyDomains = (input, errorFactory) => { const assert =
|
|
|
132
148
|
if ("string" === typeof input)
|
|
133
149
|
return "\"" + input + "\"";
|
|
134
150
|
$throws({
|
|
135
|
-
expected: "(\":asset.assignees?\" | \":asset.created?\" | \":asset.fileRefs?\" | \":asset.modified?\" | \":asset.refs?\" | \":asset.tags?\" | \":asset.title?\" | \":asset.types?\" | \":bundle\" | \":bundle.revisions\" | \":clone\" | \":connection\" | \":connection.methods?\" | \":connection.stats?\" | \":contact\" | \":event\" | \":event._template?\" | \":file.replicate\" | \":file.restrictions\" | \":general.created\" | \":general.description\" | \":general.poster\" | \":general.status\" | \":general.tags\" | \":general.title\" | \":media.consolidate\" | \":media.font\" | \":media.renders?\" | \":media.restrictions?\" | \":media.source\" | \":media.transcriptChanges\" | \":permission\" | \":permission?\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":template\" | \":user\")",
|
|
151
|
+
expected: "(\":asset.assignees?\" | \":asset.controllers?\" | \":asset.created?\" | \":asset.deadlines?\" | \":asset.duration?\" | \":asset.embedding?\" | \":asset.fileRefs?\" | \":asset.icon?\" | \":asset.locations?\" | \":asset.media?\" | \":asset.modified?\" | \":asset.published?\" | \":asset.refs?\" | \":asset.status?\" | \":asset.tags?\" | \":asset.title?\" | \":asset.types?\" | \":bundle\" | \":bundle.revisions\" | \":clone\" | \":connection\" | \":connection.methods?\" | \":connection.stats?\" | \":contact\" | \":event\" | \":event._template?\" | \":file.replicate\" | \":file.restrictions\" | \":general.created\" | \":general.description\" | \":general.poster\" | \":general.status\" | \":general.tags\" | \":general.title\" | \":media.consolidate\" | \":media.font\" | \":media.probe?\" | \":media.renders?\" | \":media.restrictions?\" | \":media.source\" | \":media.transcriptChanges\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":storyboard\" | \":storyboard.pipelines\" | \":template\" | \":user\")",
|
|
136
152
|
value: input
|
|
137
153
|
});
|
|
138
154
|
})();
|