@nxtedition/types 23.0.23 → 23.0.25
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/file.d.ts +1 -1
- package/dist/common/file.js +16 -13
- package/dist/common/nxtpression.d.ts +8 -0
- package/dist/common/settings.d.ts +16 -4
- package/dist/common/settings.js +1293 -1026
- package/dist/domains/connection.d.ts +28 -18
- package/dist/domains/connection.js +968 -194
- package/dist/domains/file.js +16 -13
- package/dist/domains/index.d.ts +3 -1
- package/dist/domains/index.js +1 -0
- package/dist/domains/media.d.ts +1 -0
- package/dist/domains/media.js +23 -6
- package/dist/domains/publish.d.ts +71 -15
- package/dist/domains/publish.js +23088 -5976
- package/dist/domains/render.d.ts +1 -0
- package/dist/domains/render.js +155 -18
- package/dist/domains/settings.d.ts +884 -4
- package/dist/domains/settings.js +1358 -1091
- package/dist/domains/subtitle.d.ts +19 -0
- package/dist/domains/subtitle.js +212 -0
- package/dist/index.js +13 -12
- package/dist/schema.json +2312 -2063
- package/package.json +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type AssertionGuard as __AssertionGuard } from "typia";
|
|
2
|
+
export interface SubtitleDomainRecords {
|
|
3
|
+
":subtitle": SubtitleDomainRecord;
|
|
4
|
+
}
|
|
5
|
+
export interface SubtitleDomainRecord {
|
|
6
|
+
value?: Array<{
|
|
7
|
+
lang?: string;
|
|
8
|
+
start: number;
|
|
9
|
+
end: number;
|
|
10
|
+
text?: string;
|
|
11
|
+
}>;
|
|
12
|
+
style?: unknown;
|
|
13
|
+
}
|
|
14
|
+
export declare const isSubtitleDomainRecord: (input: unknown) => input is SubtitleDomainRecord;
|
|
15
|
+
export declare const assertSubtitleDomainRecord: (input: unknown) => SubtitleDomainRecord;
|
|
16
|
+
export declare const randomSubtitleDomainRecord: () => SubtitleDomainRecord;
|
|
17
|
+
export declare const assertGuardSubtitleDomainRecord: __AssertionGuard<SubtitleDomainRecord>;
|
|
18
|
+
export declare const stringifySubtitleDomainRecord: (input: SubtitleDomainRecord) => string;
|
|
19
|
+
export declare const assertStringifySubtitleDomainRecord: (input: unknown) => string;
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
import __typia from "typia";
|
|
2
|
+
export const isSubtitleDomainRecord = input => {
|
|
3
|
+
const $io0 = input => (undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "object" === typeof elem && null !== elem && $io1(elem))) && true;
|
|
4
|
+
const $io1 = input => (undefined === input.lang || "string" === typeof input.lang) && "number" === typeof input.start && "number" === typeof input.end && (undefined === input.text || "string" === typeof input.text);
|
|
5
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
6
|
+
};
|
|
7
|
+
export const assertSubtitleDomainRecord = (input, errorFactory) => {
|
|
8
|
+
const __is = input => {
|
|
9
|
+
const $io0 = input => (undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "object" === typeof elem && null !== elem && $io1(elem))) && true;
|
|
10
|
+
const $io1 = input => (undefined === input.lang || "string" === typeof input.lang) && "number" === typeof input.start && "number" === typeof input.end && (undefined === input.text || "string" === typeof input.text);
|
|
11
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
12
|
+
};
|
|
13
|
+
if (false === __is(input))
|
|
14
|
+
((input, _path, _exceptionable = true) => {
|
|
15
|
+
const $guard = __typia.createAssert.guard;
|
|
16
|
+
const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
|
|
17
|
+
path: _path + ".value",
|
|
18
|
+
expected: "(Array<__type> | undefined)",
|
|
19
|
+
value: input.value
|
|
20
|
+
}, errorFactory)) && input.value.every((elem, _index1) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
21
|
+
path: _path + ".value[" + _index1 + "]",
|
|
22
|
+
expected: "__type",
|
|
23
|
+
value: elem
|
|
24
|
+
}, errorFactory)) && $ao1(elem, _path + ".value[" + _index1 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
25
|
+
path: _path + ".value[" + _index1 + "]",
|
|
26
|
+
expected: "__type",
|
|
27
|
+
value: elem
|
|
28
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
29
|
+
path: _path + ".value",
|
|
30
|
+
expected: "(Array<__type> | undefined)",
|
|
31
|
+
value: input.value
|
|
32
|
+
}, errorFactory)) && true;
|
|
33
|
+
const $ao1 = (input, _path, _exceptionable = true) => (undefined === input.lang || "string" === typeof input.lang || $guard(_exceptionable, {
|
|
34
|
+
path: _path + ".lang",
|
|
35
|
+
expected: "(string | undefined)",
|
|
36
|
+
value: input.lang
|
|
37
|
+
}, errorFactory)) && ("number" === typeof input.start || $guard(_exceptionable, {
|
|
38
|
+
path: _path + ".start",
|
|
39
|
+
expected: "number",
|
|
40
|
+
value: input.start
|
|
41
|
+
}, errorFactory)) && ("number" === typeof input.end || $guard(_exceptionable, {
|
|
42
|
+
path: _path + ".end",
|
|
43
|
+
expected: "number",
|
|
44
|
+
value: input.end
|
|
45
|
+
}, errorFactory)) && (undefined === input.text || "string" === typeof input.text || $guard(_exceptionable, {
|
|
46
|
+
path: _path + ".text",
|
|
47
|
+
expected: "(string | undefined)",
|
|
48
|
+
value: input.text
|
|
49
|
+
}, errorFactory));
|
|
50
|
+
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
51
|
+
path: _path + "",
|
|
52
|
+
expected: "SubtitleDomainRecord",
|
|
53
|
+
value: input
|
|
54
|
+
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
55
|
+
path: _path + "",
|
|
56
|
+
expected: "SubtitleDomainRecord",
|
|
57
|
+
value: input
|
|
58
|
+
}, errorFactory);
|
|
59
|
+
})(input, "$input", true);
|
|
60
|
+
return input;
|
|
61
|
+
};
|
|
62
|
+
export const randomSubtitleDomainRecord = generator => {
|
|
63
|
+
const $generator = __typia.createRandom.generator;
|
|
64
|
+
const $pick = __typia.createRandom.pick;
|
|
65
|
+
const $ro0 = (_recursive = false, _depth = 0) => ({
|
|
66
|
+
value: $pick([
|
|
67
|
+
() => undefined,
|
|
68
|
+
() => (generator?.array ?? $generator.array)(() => $ro1(_recursive, _recursive ? 1 + _depth : _depth))
|
|
69
|
+
])(),
|
|
70
|
+
style: $pick([
|
|
71
|
+
() => "any type used...",
|
|
72
|
+
() => undefined
|
|
73
|
+
])()
|
|
74
|
+
});
|
|
75
|
+
const $ro1 = (_recursive = false, _depth = 0) => ({
|
|
76
|
+
lang: $pick([
|
|
77
|
+
() => undefined,
|
|
78
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
79
|
+
])(),
|
|
80
|
+
start: (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100),
|
|
81
|
+
end: (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100),
|
|
82
|
+
text: $pick([
|
|
83
|
+
() => undefined,
|
|
84
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
85
|
+
])()
|
|
86
|
+
});
|
|
87
|
+
return $ro0();
|
|
88
|
+
};
|
|
89
|
+
export const assertGuardSubtitleDomainRecord = (input, errorFactory) => {
|
|
90
|
+
const __is = input => {
|
|
91
|
+
const $io0 = input => (undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "object" === typeof elem && null !== elem && $io1(elem))) && true;
|
|
92
|
+
const $io1 = input => (undefined === input.lang || "string" === typeof input.lang) && "number" === typeof input.start && "number" === typeof input.end && (undefined === input.text || "string" === typeof input.text);
|
|
93
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
94
|
+
};
|
|
95
|
+
if (false === __is(input))
|
|
96
|
+
((input, _path, _exceptionable = true) => {
|
|
97
|
+
const $guard = __typia.createAssertGuard.guard;
|
|
98
|
+
const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
|
|
99
|
+
path: _path + ".value",
|
|
100
|
+
expected: "(Array<__type> | undefined)",
|
|
101
|
+
value: input.value
|
|
102
|
+
}, errorFactory)) && input.value.every((elem, _index1) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
103
|
+
path: _path + ".value[" + _index1 + "]",
|
|
104
|
+
expected: "__type",
|
|
105
|
+
value: elem
|
|
106
|
+
}, errorFactory)) && $ao1(elem, _path + ".value[" + _index1 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
107
|
+
path: _path + ".value[" + _index1 + "]",
|
|
108
|
+
expected: "__type",
|
|
109
|
+
value: elem
|
|
110
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
111
|
+
path: _path + ".value",
|
|
112
|
+
expected: "(Array<__type> | undefined)",
|
|
113
|
+
value: input.value
|
|
114
|
+
}, errorFactory)) && true;
|
|
115
|
+
const $ao1 = (input, _path, _exceptionable = true) => (undefined === input.lang || "string" === typeof input.lang || $guard(_exceptionable, {
|
|
116
|
+
path: _path + ".lang",
|
|
117
|
+
expected: "(string | undefined)",
|
|
118
|
+
value: input.lang
|
|
119
|
+
}, errorFactory)) && ("number" === typeof input.start || $guard(_exceptionable, {
|
|
120
|
+
path: _path + ".start",
|
|
121
|
+
expected: "number",
|
|
122
|
+
value: input.start
|
|
123
|
+
}, errorFactory)) && ("number" === typeof input.end || $guard(_exceptionable, {
|
|
124
|
+
path: _path + ".end",
|
|
125
|
+
expected: "number",
|
|
126
|
+
value: input.end
|
|
127
|
+
}, errorFactory)) && (undefined === input.text || "string" === typeof input.text || $guard(_exceptionable, {
|
|
128
|
+
path: _path + ".text",
|
|
129
|
+
expected: "(string | undefined)",
|
|
130
|
+
value: input.text
|
|
131
|
+
}, errorFactory));
|
|
132
|
+
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
133
|
+
path: _path + "",
|
|
134
|
+
expected: "SubtitleDomainRecord",
|
|
135
|
+
value: input
|
|
136
|
+
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
137
|
+
path: _path + "",
|
|
138
|
+
expected: "SubtitleDomainRecord",
|
|
139
|
+
value: input
|
|
140
|
+
}, errorFactory);
|
|
141
|
+
})(input, "$input", true);
|
|
142
|
+
};
|
|
143
|
+
export const stringifySubtitleDomainRecord = input => {
|
|
144
|
+
const $io1 = input => (undefined === input.lang || "string" === typeof input.lang) && "number" === typeof input.start && "number" === typeof input.end && (undefined === input.text || "string" === typeof input.text);
|
|
145
|
+
const $tail = __typia.json.createStringify.tail;
|
|
146
|
+
const $string = __typia.json.createStringify.string;
|
|
147
|
+
const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => $so1(elem)).join(",")}]` : undefined},`}${undefined === input.style || "function" === typeof input.style ? "" : `"style":${undefined !== input.style ? JSON.stringify(input.style) : undefined}`}`)}}`;
|
|
148
|
+
const $so1 = input => `{${undefined === input.lang ? "" : `"lang":${undefined !== input.lang ? $string(input.lang) : undefined},`}${undefined === input.text ? "" : `"text":${undefined !== input.text ? $string(input.text) : undefined},`}"start":${input.start},"end":${input.end}}`;
|
|
149
|
+
return $so0(input);
|
|
150
|
+
};
|
|
151
|
+
export const assertStringifySubtitleDomainRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
152
|
+
const __is = input => {
|
|
153
|
+
const $io0 = input => (undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "object" === typeof elem && null !== elem && $io1(elem))) && true;
|
|
154
|
+
const $io1 = input => (undefined === input.lang || "string" === typeof input.lang) && ("number" === typeof input.start && !Number.isNaN(input.start)) && ("number" === typeof input.end && !Number.isNaN(input.end)) && (undefined === input.text || "string" === typeof input.text);
|
|
155
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
156
|
+
};
|
|
157
|
+
if (false === __is(input))
|
|
158
|
+
((input, _path, _exceptionable = true) => {
|
|
159
|
+
const $guard = __typia.json.createAssertStringify.guard;
|
|
160
|
+
const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
|
|
161
|
+
path: _path + ".value",
|
|
162
|
+
expected: "(Array<__type> | undefined)",
|
|
163
|
+
value: input.value
|
|
164
|
+
}, errorFactory)) && input.value.every((elem, _index1) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
165
|
+
path: _path + ".value[" + _index1 + "]",
|
|
166
|
+
expected: "__type",
|
|
167
|
+
value: elem
|
|
168
|
+
}, errorFactory)) && $ao1(elem, _path + ".value[" + _index1 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
169
|
+
path: _path + ".value[" + _index1 + "]",
|
|
170
|
+
expected: "__type",
|
|
171
|
+
value: elem
|
|
172
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
173
|
+
path: _path + ".value",
|
|
174
|
+
expected: "(Array<__type> | undefined)",
|
|
175
|
+
value: input.value
|
|
176
|
+
}, errorFactory)) && true;
|
|
177
|
+
const $ao1 = (input, _path, _exceptionable = true) => (undefined === input.lang || "string" === typeof input.lang || $guard(_exceptionable, {
|
|
178
|
+
path: _path + ".lang",
|
|
179
|
+
expected: "(string | undefined)",
|
|
180
|
+
value: input.lang
|
|
181
|
+
}, errorFactory)) && ("number" === typeof input.start && !Number.isNaN(input.start) || $guard(_exceptionable, {
|
|
182
|
+
path: _path + ".start",
|
|
183
|
+
expected: "number",
|
|
184
|
+
value: input.start
|
|
185
|
+
}, errorFactory)) && ("number" === typeof input.end && !Number.isNaN(input.end) || $guard(_exceptionable, {
|
|
186
|
+
path: _path + ".end",
|
|
187
|
+
expected: "number",
|
|
188
|
+
value: input.end
|
|
189
|
+
}, errorFactory)) && (undefined === input.text || "string" === typeof input.text || $guard(_exceptionable, {
|
|
190
|
+
path: _path + ".text",
|
|
191
|
+
expected: "(string | undefined)",
|
|
192
|
+
value: input.text
|
|
193
|
+
}, errorFactory));
|
|
194
|
+
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
195
|
+
path: _path + "",
|
|
196
|
+
expected: "SubtitleDomainRecord",
|
|
197
|
+
value: input
|
|
198
|
+
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
199
|
+
path: _path + "",
|
|
200
|
+
expected: "SubtitleDomainRecord",
|
|
201
|
+
value: input
|
|
202
|
+
}, errorFactory);
|
|
203
|
+
})(input, "$input", true);
|
|
204
|
+
return input;
|
|
205
|
+
}; const stringify = input => {
|
|
206
|
+
const $io1 = input => (undefined === input.lang || "string" === typeof input.lang) && "number" === typeof input.start && "number" === typeof input.end && (undefined === input.text || "string" === typeof input.text);
|
|
207
|
+
const $tail = __typia.json.createAssertStringify.tail;
|
|
208
|
+
const $string = __typia.json.createAssertStringify.string;
|
|
209
|
+
const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => $so1(elem)).join(",")}]` : undefined},`}${undefined === input.style || "function" === typeof input.style ? "" : `"style":${undefined !== input.style ? JSON.stringify(input.style) : undefined}`}`)}}`;
|
|
210
|
+
const $so1 = input => `{${undefined === input.lang ? "" : `"lang":${undefined !== input.lang ? $string(input.lang) : undefined},`}${undefined === input.text ? "" : `"text":${undefined !== input.text ? $string(input.text) : undefined},`}"start":${input.start},"end":${input.end}}`;
|
|
211
|
+
return $so0(input);
|
|
212
|
+
}; return stringify(assert(input, errorFactory)); };
|
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?", ":publish.accepts", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.publish?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":asset.presence?", ":asset.comments?", ":clone", "comment-reaction", "comment-read-mark", ":comment", ":comment.reactions?", ":comment.replies?", ":comment.readMarks?", ":contact", ":deepstream.replicate", ":edit", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":file.stats?", ":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?", ":media.updateSubtitles?", ":media.updateGraphics?", ":panel", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":render.stats?", ":render.query?", ":render.result?", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":subtitle-style", ":template", ":_user-notification-status", ":user-notification", ":user-notification.readAt", ":user", ":user.latestSeenNotification", ":user.receivedNotifications?", ":user.unseenNotifications?"]);
|
|
8
|
+
const $iv1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":publish.accepts", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.publish?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":asset.presence?", ":asset.comments?", ":clone", "comment-reaction", "comment-read-mark", ":comment", ":comment.reactions?", ":comment.replies?", ":comment.readMarks?", ":contact", ":deepstream.replicate", ":edit", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":file.stats?", ":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?", ":media.updateSubtitles?", ":media.updateGraphics?", ":panel", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":render.stats?", ":render.query?", ":render.result?", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":subtitle-style", ":subtitle", ":template", ":_user-notification-status", ":user-notification", ":user-notification.readAt", ":user", ":user.latestSeenNotification", ":user.receivedNotifications?", ":user.unseenNotifications?"]);
|
|
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?", ":publish.accepts", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.publish?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":asset.presence?", ":asset.comments?", ":clone", "comment-reaction", "comment-read-mark", ":comment", ":comment.reactions?", ":comment.replies?", ":comment.readMarks?", ":contact", ":deepstream.replicate", ":edit", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":file.stats?", ":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?", ":media.updateSubtitles?", ":media.updateGraphics?", ":panel", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":render.stats?", ":render.query?", ":render.result?", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":subtitle-style", ":template", ":_user-notification-status", ":user-notification", ":user-notification.readAt", ":user", ":user.latestSeenNotification", ":user.receivedNotifications?", ":user.unseenNotifications?"]);
|
|
13
|
+
const $iv1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":publish.accepts", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.publish?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":asset.presence?", ":asset.comments?", ":clone", "comment-reaction", "comment-read-mark", ":comment", ":comment.reactions?", ":comment.replies?", ":comment.readMarks?", ":contact", ":deepstream.replicate", ":edit", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":file.stats?", ":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?", ":media.updateSubtitles?", ":media.updateGraphics?", ":panel", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":render.stats?", ":render.query?", ":render.result?", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":subtitle-style", ":subtitle", ":template", ":_user-notification-status", ":user-notification", ":user-notification.readAt", ":user", ":user.latestSeenNotification", ":user.receivedNotifications?", ":user.unseenNotifications?"]);
|
|
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?", ":publish.accepts", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.publish?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":asset.presence?", ":asset.comments?", ":clone", "comment-reaction", "comment-read-mark", ":comment", ":comment.reactions?", ":comment.replies?", ":comment.readMarks?", ":contact", ":deepstream.replicate", ":edit", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":file.stats?", ":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?", ":media.updateSubtitles?", ":media.updateGraphics?", ":panel", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":render.stats?", ":render.query?", ":render.result?", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":subtitle-style", ":template", ":_user-notification-status", ":user-notification", ":user-notification.readAt", ":user", ":user.latestSeenNotification", ":user.receivedNotifications?", ":user.unseenNotifications?"]);
|
|
19
|
+
const $av1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":publish.accepts", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.publish?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":asset.presence?", ":asset.comments?", ":clone", "comment-reaction", "comment-read-mark", ":comment", ":comment.reactions?", ":comment.replies?", ":comment.readMarks?", ":contact", ":deepstream.replicate", ":edit", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":file.stats?", ":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?", ":media.updateSubtitles?", ":media.updateGraphics?", ":panel", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":render.stats?", ":render.query?", ":render.result?", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":subtitle-style", ":subtitle", ":template", ":_user-notification-status", ":user-notification", ":user-notification.readAt", ":user", ":user.latestSeenNotification", ":user.receivedNotifications?", ":user.unseenNotifications?"]);
|
|
20
20
|
return true === $av1.has(input) || $guard(true, {
|
|
21
21
|
path: _path + "",
|
|
22
|
-
expected: "(\":_user-notification-status\" | \":asset.assignees?\" | \":asset.comments?\" | \":asset.controllers?\" | \":asset.created?\" | \":asset.deadlines?\" | \":asset.duration?\" | \":asset.embedding?\" | \":asset.fileRefs?\" | \":asset.icon?\" | \":asset.locations?\" | \":asset.media?\" | \":asset.modified?\" | \":asset.presence?\" | \":asset.publish?\" | \":asset.published?\" | \":asset.refs?\" | \":asset.status?\" | \":asset.tags?\" | \":asset.title?\" | \":asset.types?\" | \":bundle\" | \":bundle.revisions\" | \":clone\" | \":comment\" | \":comment.reactions?\" | \":comment.readMarks?\" | \":comment.replies?\" | \":connection\" | \":connection.methods?\" | \":connection.stats?\" | \":contact\" | \":deepstream.replicate\" | \":edit\" | \":event\" | \":event._template?\" | \":file.replicate\" | \":file.restrictions\" | \":file.stats?\" | \":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\" | \":media.updateGraphics?\" | \":media.updateSubtitles?\" | \":panel\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.accepts\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":render.query?\" | \":render.result?\" | \":render.stats?\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":storyboard\" | \":storyboard.pipelines\" | \":subtitle-style\" | \":template\" | \":user\" | \":user-notification\" | \":user-notification.readAt\" | \":user.latestSeenNotification\" | \":user.receivedNotifications?\" | \":user.unseenNotifications?\" | \"comment-reaction\" | \"comment-read-mark\")",
|
|
22
|
+
expected: "(\":_user-notification-status\" | \":asset.assignees?\" | \":asset.comments?\" | \":asset.controllers?\" | \":asset.created?\" | \":asset.deadlines?\" | \":asset.duration?\" | \":asset.embedding?\" | \":asset.fileRefs?\" | \":asset.icon?\" | \":asset.locations?\" | \":asset.media?\" | \":asset.modified?\" | \":asset.presence?\" | \":asset.publish?\" | \":asset.published?\" | \":asset.refs?\" | \":asset.status?\" | \":asset.tags?\" | \":asset.title?\" | \":asset.types?\" | \":bundle\" | \":bundle.revisions\" | \":clone\" | \":comment\" | \":comment.reactions?\" | \":comment.readMarks?\" | \":comment.replies?\" | \":connection\" | \":connection.methods?\" | \":connection.stats?\" | \":contact\" | \":deepstream.replicate\" | \":edit\" | \":event\" | \":event._template?\" | \":file.replicate\" | \":file.restrictions\" | \":file.stats?\" | \":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\" | \":media.updateGraphics?\" | \":media.updateSubtitles?\" | \":panel\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.accepts\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":render.query?\" | \":render.result?\" | \":render.stats?\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":storyboard\" | \":storyboard.pipelines\" | \":subtitle\" | \":subtitle-style\" | \":template\" | \":user\" | \":user-notification\" | \":user-notification.readAt\" | \":user.latestSeenNotification\" | \":user.receivedNotifications?\" | \":user.unseenNotifications?\" | \"comment-reaction\" | \"comment-read-mark\")",
|
|
23
23
|
value: input
|
|
24
24
|
}, errorFactory);
|
|
25
25
|
})(input, "$input", true);
|
|
@@ -109,6 +109,7 @@ export const randomDomains = generator => {
|
|
|
109
109
|
() => ":storyboard",
|
|
110
110
|
() => ":storyboard.pipelines",
|
|
111
111
|
() => ":subtitle-style",
|
|
112
|
+
() => ":subtitle",
|
|
112
113
|
() => ":template",
|
|
113
114
|
() => ":_user-notification-status",
|
|
114
115
|
() => ":user-notification",
|
|
@@ -121,16 +122,16 @@ export const randomDomains = generator => {
|
|
|
121
122
|
};
|
|
122
123
|
export const assertGuardDomains = (input, errorFactory) => {
|
|
123
124
|
const __is = input => {
|
|
124
|
-
const $iv1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":publish.accepts", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.publish?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":asset.presence?", ":asset.comments?", ":clone", "comment-reaction", "comment-read-mark", ":comment", ":comment.reactions?", ":comment.replies?", ":comment.readMarks?", ":contact", ":deepstream.replicate", ":edit", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":file.stats?", ":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?", ":media.updateSubtitles?", ":media.updateGraphics?", ":panel", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":render.stats?", ":render.query?", ":render.result?", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":subtitle-style", ":template", ":_user-notification-status", ":user-notification", ":user-notification.readAt", ":user", ":user.latestSeenNotification", ":user.receivedNotifications?", ":user.unseenNotifications?"]);
|
|
125
|
+
const $iv1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":publish.accepts", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.publish?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":asset.presence?", ":asset.comments?", ":clone", "comment-reaction", "comment-read-mark", ":comment", ":comment.reactions?", ":comment.replies?", ":comment.readMarks?", ":contact", ":deepstream.replicate", ":edit", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":file.stats?", ":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?", ":media.updateSubtitles?", ":media.updateGraphics?", ":panel", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":render.stats?", ":render.query?", ":render.result?", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":subtitle-style", ":subtitle", ":template", ":_user-notification-status", ":user-notification", ":user-notification.readAt", ":user", ":user.latestSeenNotification", ":user.receivedNotifications?", ":user.unseenNotifications?"]);
|
|
125
126
|
return true === $iv1.has(input);
|
|
126
127
|
};
|
|
127
128
|
if (false === __is(input))
|
|
128
129
|
((input, _path, _exceptionable = true) => {
|
|
129
130
|
const $guard = __typia.createAssertGuard.guard;
|
|
130
|
-
const $av1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":publish.accepts", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.publish?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":asset.presence?", ":asset.comments?", ":clone", "comment-reaction", "comment-read-mark", ":comment", ":comment.reactions?", ":comment.replies?", ":comment.readMarks?", ":contact", ":deepstream.replicate", ":edit", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":file.stats?", ":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?", ":media.updateSubtitles?", ":media.updateGraphics?", ":panel", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":render.stats?", ":render.query?", ":render.result?", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":subtitle-style", ":template", ":_user-notification-status", ":user-notification", ":user-notification.readAt", ":user", ":user.latestSeenNotification", ":user.receivedNotifications?", ":user.unseenNotifications?"]);
|
|
131
|
+
const $av1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":publish.accepts", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.publish?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":asset.presence?", ":asset.comments?", ":clone", "comment-reaction", "comment-read-mark", ":comment", ":comment.reactions?", ":comment.replies?", ":comment.readMarks?", ":contact", ":deepstream.replicate", ":edit", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":file.stats?", ":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?", ":media.updateSubtitles?", ":media.updateGraphics?", ":panel", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":render.stats?", ":render.query?", ":render.result?", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":subtitle-style", ":subtitle", ":template", ":_user-notification-status", ":user-notification", ":user-notification.readAt", ":user", ":user.latestSeenNotification", ":user.receivedNotifications?", ":user.unseenNotifications?"]);
|
|
131
132
|
return true === $av1.has(input) || $guard(true, {
|
|
132
133
|
path: _path + "",
|
|
133
|
-
expected: "(\":_user-notification-status\" | \":asset.assignees?\" | \":asset.comments?\" | \":asset.controllers?\" | \":asset.created?\" | \":asset.deadlines?\" | \":asset.duration?\" | \":asset.embedding?\" | \":asset.fileRefs?\" | \":asset.icon?\" | \":asset.locations?\" | \":asset.media?\" | \":asset.modified?\" | \":asset.presence?\" | \":asset.publish?\" | \":asset.published?\" | \":asset.refs?\" | \":asset.status?\" | \":asset.tags?\" | \":asset.title?\" | \":asset.types?\" | \":bundle\" | \":bundle.revisions\" | \":clone\" | \":comment\" | \":comment.reactions?\" | \":comment.readMarks?\" | \":comment.replies?\" | \":connection\" | \":connection.methods?\" | \":connection.stats?\" | \":contact\" | \":deepstream.replicate\" | \":edit\" | \":event\" | \":event._template?\" | \":file.replicate\" | \":file.restrictions\" | \":file.stats?\" | \":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\" | \":media.updateGraphics?\" | \":media.updateSubtitles?\" | \":panel\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.accepts\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":render.query?\" | \":render.result?\" | \":render.stats?\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":storyboard\" | \":storyboard.pipelines\" | \":subtitle-style\" | \":template\" | \":user\" | \":user-notification\" | \":user-notification.readAt\" | \":user.latestSeenNotification\" | \":user.receivedNotifications?\" | \":user.unseenNotifications?\" | \"comment-reaction\" | \"comment-read-mark\")",
|
|
134
|
+
expected: "(\":_user-notification-status\" | \":asset.assignees?\" | \":asset.comments?\" | \":asset.controllers?\" | \":asset.created?\" | \":asset.deadlines?\" | \":asset.duration?\" | \":asset.embedding?\" | \":asset.fileRefs?\" | \":asset.icon?\" | \":asset.locations?\" | \":asset.media?\" | \":asset.modified?\" | \":asset.presence?\" | \":asset.publish?\" | \":asset.published?\" | \":asset.refs?\" | \":asset.status?\" | \":asset.tags?\" | \":asset.title?\" | \":asset.types?\" | \":bundle\" | \":bundle.revisions\" | \":clone\" | \":comment\" | \":comment.reactions?\" | \":comment.readMarks?\" | \":comment.replies?\" | \":connection\" | \":connection.methods?\" | \":connection.stats?\" | \":contact\" | \":deepstream.replicate\" | \":edit\" | \":event\" | \":event._template?\" | \":file.replicate\" | \":file.restrictions\" | \":file.stats?\" | \":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\" | \":media.updateGraphics?\" | \":media.updateSubtitles?\" | \":panel\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.accepts\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":render.query?\" | \":render.result?\" | \":render.stats?\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":storyboard\" | \":storyboard.pipelines\" | \":subtitle\" | \":subtitle-style\" | \":template\" | \":user\" | \":user-notification\" | \":user-notification.readAt\" | \":user.latestSeenNotification\" | \":user.receivedNotifications?\" | \":user.unseenNotifications?\" | \"comment-reaction\" | \"comment-read-mark\")",
|
|
134
135
|
value: input
|
|
135
136
|
}, errorFactory);
|
|
136
137
|
})(input, "$input", true);
|
|
@@ -144,23 +145,23 @@ export const stringifyDomains = input => {
|
|
|
144
145
|
if ("string" === typeof input)
|
|
145
146
|
return "\"" + input + "\"";
|
|
146
147
|
$throws({
|
|
147
|
-
expected: "(\":_user-notification-status\" | \":asset.assignees?\" | \":asset.comments?\" | \":asset.controllers?\" | \":asset.created?\" | \":asset.deadlines?\" | \":asset.duration?\" | \":asset.embedding?\" | \":asset.fileRefs?\" | \":asset.icon?\" | \":asset.locations?\" | \":asset.media?\" | \":asset.modified?\" | \":asset.presence?\" | \":asset.publish?\" | \":asset.published?\" | \":asset.refs?\" | \":asset.status?\" | \":asset.tags?\" | \":asset.title?\" | \":asset.types?\" | \":bundle\" | \":bundle.revisions\" | \":clone\" | \":comment\" | \":comment.reactions?\" | \":comment.readMarks?\" | \":comment.replies?\" | \":connection\" | \":connection.methods?\" | \":connection.stats?\" | \":contact\" | \":deepstream.replicate\" | \":edit\" | \":event\" | \":event._template?\" | \":file.replicate\" | \":file.restrictions\" | \":file.stats?\" | \":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\" | \":media.updateGraphics?\" | \":media.updateSubtitles?\" | \":panel\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.accepts\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":render.query?\" | \":render.result?\" | \":render.stats?\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":storyboard\" | \":storyboard.pipelines\" | \":subtitle-style\" | \":template\" | \":user\" | \":user-notification\" | \":user-notification.readAt\" | \":user.latestSeenNotification\" | \":user.receivedNotifications?\" | \":user.unseenNotifications?\" | \"comment-reaction\" | \"comment-read-mark\")",
|
|
148
|
+
expected: "(\":_user-notification-status\" | \":asset.assignees?\" | \":asset.comments?\" | \":asset.controllers?\" | \":asset.created?\" | \":asset.deadlines?\" | \":asset.duration?\" | \":asset.embedding?\" | \":asset.fileRefs?\" | \":asset.icon?\" | \":asset.locations?\" | \":asset.media?\" | \":asset.modified?\" | \":asset.presence?\" | \":asset.publish?\" | \":asset.published?\" | \":asset.refs?\" | \":asset.status?\" | \":asset.tags?\" | \":asset.title?\" | \":asset.types?\" | \":bundle\" | \":bundle.revisions\" | \":clone\" | \":comment\" | \":comment.reactions?\" | \":comment.readMarks?\" | \":comment.replies?\" | \":connection\" | \":connection.methods?\" | \":connection.stats?\" | \":contact\" | \":deepstream.replicate\" | \":edit\" | \":event\" | \":event._template?\" | \":file.replicate\" | \":file.restrictions\" | \":file.stats?\" | \":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\" | \":media.updateGraphics?\" | \":media.updateSubtitles?\" | \":panel\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.accepts\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":render.query?\" | \":render.result?\" | \":render.stats?\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":storyboard\" | \":storyboard.pipelines\" | \":subtitle\" | \":subtitle-style\" | \":template\" | \":user\" | \":user-notification\" | \":user-notification.readAt\" | \":user.latestSeenNotification\" | \":user.receivedNotifications?\" | \":user.unseenNotifications?\" | \"comment-reaction\" | \"comment-read-mark\")",
|
|
148
149
|
value: input
|
|
149
150
|
});
|
|
150
151
|
})();
|
|
151
152
|
};
|
|
152
153
|
export const assertStringifyDomains = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
153
154
|
const __is = input => {
|
|
154
|
-
const $iv1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":publish.accepts", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.publish?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":asset.presence?", ":asset.comments?", ":clone", "comment-reaction", "comment-read-mark", ":comment", ":comment.reactions?", ":comment.replies?", ":comment.readMarks?", ":contact", ":deepstream.replicate", ":edit", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":file.stats?", ":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?", ":media.updateSubtitles?", ":media.updateGraphics?", ":panel", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":render.stats?", ":render.query?", ":render.result?", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":subtitle-style", ":template", ":_user-notification-status", ":user-notification", ":user-notification.readAt", ":user", ":user.latestSeenNotification", ":user.receivedNotifications?", ":user.unseenNotifications?"]);
|
|
155
|
+
const $iv1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":publish.accepts", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.publish?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":asset.presence?", ":asset.comments?", ":clone", "comment-reaction", "comment-read-mark", ":comment", ":comment.reactions?", ":comment.replies?", ":comment.readMarks?", ":contact", ":deepstream.replicate", ":edit", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":file.stats?", ":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?", ":media.updateSubtitles?", ":media.updateGraphics?", ":panel", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":render.stats?", ":render.query?", ":render.result?", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":subtitle-style", ":subtitle", ":template", ":_user-notification-status", ":user-notification", ":user-notification.readAt", ":user", ":user.latestSeenNotification", ":user.receivedNotifications?", ":user.unseenNotifications?"]);
|
|
155
156
|
return true === $iv1.has(input);
|
|
156
157
|
};
|
|
157
158
|
if (false === __is(input))
|
|
158
159
|
((input, _path, _exceptionable = true) => {
|
|
159
160
|
const $guard = __typia.json.createAssertStringify.guard;
|
|
160
|
-
const $av1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":publish.accepts", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.publish?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":asset.presence?", ":asset.comments?", ":clone", "comment-reaction", "comment-read-mark", ":comment", ":comment.reactions?", ":comment.replies?", ":comment.readMarks?", ":contact", ":deepstream.replicate", ":edit", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":file.stats?", ":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?", ":media.updateSubtitles?", ":media.updateGraphics?", ":panel", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":render.stats?", ":render.query?", ":render.result?", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":subtitle-style", ":template", ":_user-notification-status", ":user-notification", ":user-notification.readAt", ":user", ":user.latestSeenNotification", ":user.receivedNotifications?", ":user.unseenNotifications?"]);
|
|
161
|
+
const $av1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":publish.accepts", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.publish?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":asset.presence?", ":asset.comments?", ":clone", "comment-reaction", "comment-read-mark", ":comment", ":comment.reactions?", ":comment.replies?", ":comment.readMarks?", ":contact", ":deepstream.replicate", ":edit", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":file.stats?", ":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?", ":media.updateSubtitles?", ":media.updateGraphics?", ":panel", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":render.stats?", ":render.query?", ":render.result?", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":subtitle-style", ":subtitle", ":template", ":_user-notification-status", ":user-notification", ":user-notification.readAt", ":user", ":user.latestSeenNotification", ":user.receivedNotifications?", ":user.unseenNotifications?"]);
|
|
161
162
|
return true === $av1.has(input) || $guard(true, {
|
|
162
163
|
path: _path + "",
|
|
163
|
-
expected: "(\":_user-notification-status\" | \":asset.assignees?\" | \":asset.comments?\" | \":asset.controllers?\" | \":asset.created?\" | \":asset.deadlines?\" | \":asset.duration?\" | \":asset.embedding?\" | \":asset.fileRefs?\" | \":asset.icon?\" | \":asset.locations?\" | \":asset.media?\" | \":asset.modified?\" | \":asset.presence?\" | \":asset.publish?\" | \":asset.published?\" | \":asset.refs?\" | \":asset.status?\" | \":asset.tags?\" | \":asset.title?\" | \":asset.types?\" | \":bundle\" | \":bundle.revisions\" | \":clone\" | \":comment\" | \":comment.reactions?\" | \":comment.readMarks?\" | \":comment.replies?\" | \":connection\" | \":connection.methods?\" | \":connection.stats?\" | \":contact\" | \":deepstream.replicate\" | \":edit\" | \":event\" | \":event._template?\" | \":file.replicate\" | \":file.restrictions\" | \":file.stats?\" | \":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\" | \":media.updateGraphics?\" | \":media.updateSubtitles?\" | \":panel\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.accepts\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":render.query?\" | \":render.result?\" | \":render.stats?\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":storyboard\" | \":storyboard.pipelines\" | \":subtitle-style\" | \":template\" | \":user\" | \":user-notification\" | \":user-notification.readAt\" | \":user.latestSeenNotification\" | \":user.receivedNotifications?\" | \":user.unseenNotifications?\" | \"comment-reaction\" | \"comment-read-mark\")",
|
|
164
|
+
expected: "(\":_user-notification-status\" | \":asset.assignees?\" | \":asset.comments?\" | \":asset.controllers?\" | \":asset.created?\" | \":asset.deadlines?\" | \":asset.duration?\" | \":asset.embedding?\" | \":asset.fileRefs?\" | \":asset.icon?\" | \":asset.locations?\" | \":asset.media?\" | \":asset.modified?\" | \":asset.presence?\" | \":asset.publish?\" | \":asset.published?\" | \":asset.refs?\" | \":asset.status?\" | \":asset.tags?\" | \":asset.title?\" | \":asset.types?\" | \":bundle\" | \":bundle.revisions\" | \":clone\" | \":comment\" | \":comment.reactions?\" | \":comment.readMarks?\" | \":comment.replies?\" | \":connection\" | \":connection.methods?\" | \":connection.stats?\" | \":contact\" | \":deepstream.replicate\" | \":edit\" | \":event\" | \":event._template?\" | \":file.replicate\" | \":file.restrictions\" | \":file.stats?\" | \":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\" | \":media.updateGraphics?\" | \":media.updateSubtitles?\" | \":panel\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.accepts\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":render.query?\" | \":render.result?\" | \":render.stats?\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":storyboard\" | \":storyboard.pipelines\" | \":subtitle\" | \":subtitle-style\" | \":template\" | \":user\" | \":user-notification\" | \":user-notification.readAt\" | \":user.latestSeenNotification\" | \":user.receivedNotifications?\" | \":user.unseenNotifications?\" | \"comment-reaction\" | \"comment-read-mark\")",
|
|
164
165
|
value: input
|
|
165
166
|
}, errorFactory);
|
|
166
167
|
})(input, "$input", true);
|
|
@@ -174,7 +175,7 @@ export const assertStringifyDomains = (input, errorFactory) => { const assert =
|
|
|
174
175
|
if ("string" === typeof input)
|
|
175
176
|
return "\"" + input + "\"";
|
|
176
177
|
$throws({
|
|
177
|
-
expected: "(\":_user-notification-status\" | \":asset.assignees?\" | \":asset.comments?\" | \":asset.controllers?\" | \":asset.created?\" | \":asset.deadlines?\" | \":asset.duration?\" | \":asset.embedding?\" | \":asset.fileRefs?\" | \":asset.icon?\" | \":asset.locations?\" | \":asset.media?\" | \":asset.modified?\" | \":asset.presence?\" | \":asset.publish?\" | \":asset.published?\" | \":asset.refs?\" | \":asset.status?\" | \":asset.tags?\" | \":asset.title?\" | \":asset.types?\" | \":bundle\" | \":bundle.revisions\" | \":clone\" | \":comment\" | \":comment.reactions?\" | \":comment.readMarks?\" | \":comment.replies?\" | \":connection\" | \":connection.methods?\" | \":connection.stats?\" | \":contact\" | \":deepstream.replicate\" | \":edit\" | \":event\" | \":event._template?\" | \":file.replicate\" | \":file.restrictions\" | \":file.stats?\" | \":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\" | \":media.updateGraphics?\" | \":media.updateSubtitles?\" | \":panel\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.accepts\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":render.query?\" | \":render.result?\" | \":render.stats?\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":storyboard\" | \":storyboard.pipelines\" | \":subtitle-style\" | \":template\" | \":user\" | \":user-notification\" | \":user-notification.readAt\" | \":user.latestSeenNotification\" | \":user.receivedNotifications?\" | \":user.unseenNotifications?\" | \"comment-reaction\" | \"comment-read-mark\")",
|
|
178
|
+
expected: "(\":_user-notification-status\" | \":asset.assignees?\" | \":asset.comments?\" | \":asset.controllers?\" | \":asset.created?\" | \":asset.deadlines?\" | \":asset.duration?\" | \":asset.embedding?\" | \":asset.fileRefs?\" | \":asset.icon?\" | \":asset.locations?\" | \":asset.media?\" | \":asset.modified?\" | \":asset.presence?\" | \":asset.publish?\" | \":asset.published?\" | \":asset.refs?\" | \":asset.status?\" | \":asset.tags?\" | \":asset.title?\" | \":asset.types?\" | \":bundle\" | \":bundle.revisions\" | \":clone\" | \":comment\" | \":comment.reactions?\" | \":comment.readMarks?\" | \":comment.replies?\" | \":connection\" | \":connection.methods?\" | \":connection.stats?\" | \":contact\" | \":deepstream.replicate\" | \":edit\" | \":event\" | \":event._template?\" | \":file.replicate\" | \":file.restrictions\" | \":file.stats?\" | \":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\" | \":media.updateGraphics?\" | \":media.updateSubtitles?\" | \":panel\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.accepts\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":render.query?\" | \":render.result?\" | \":render.stats?\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":storyboard\" | \":storyboard.pipelines\" | \":subtitle\" | \":subtitle-style\" | \":template\" | \":user\" | \":user-notification\" | \":user-notification.readAt\" | \":user.latestSeenNotification\" | \":user.receivedNotifications?\" | \":user.unseenNotifications?\" | \"comment-reaction\" | \"comment-read-mark\")",
|
|
178
179
|
value: input
|
|
179
180
|
});
|
|
180
181
|
})();
|