@nxtedition/types 23.0.15 → 23.0.17
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.
|
@@ -3,7 +3,29 @@ export interface SubtitleStyleDomainRecords {
|
|
|
3
3
|
":subtitle-style": SubtitleStyleDomainRecord;
|
|
4
4
|
}
|
|
5
5
|
export interface SubtitleStyleDomainRecord {
|
|
6
|
-
|
|
6
|
+
name?: string;
|
|
7
|
+
fontname?: string;
|
|
8
|
+
fontsize?: string;
|
|
9
|
+
primaryColour?: string;
|
|
10
|
+
secondaryColour?: string;
|
|
11
|
+
outlineColour?: string;
|
|
12
|
+
backColour?: string;
|
|
13
|
+
bold?: string;
|
|
14
|
+
italic?: string;
|
|
15
|
+
underline?: string;
|
|
16
|
+
strikeOut?: string;
|
|
17
|
+
scaleX?: string;
|
|
18
|
+
scaleY?: string;
|
|
19
|
+
spacing?: string;
|
|
20
|
+
angle?: string;
|
|
21
|
+
borderStyle?: string;
|
|
22
|
+
outline?: string;
|
|
23
|
+
shadow?: string;
|
|
24
|
+
alignment?: string;
|
|
25
|
+
marginL?: string;
|
|
26
|
+
marginR?: string;
|
|
27
|
+
marginV?: string;
|
|
28
|
+
encoding?: string;
|
|
7
29
|
}
|
|
8
30
|
export declare const isSubtitleStyleDomainRecord: (input: unknown) => input is SubtitleStyleDomainRecord;
|
|
9
31
|
export declare const assertSubtitleStyleDomainRecord: (input: unknown) => SubtitleStyleDomainRecord;
|
|
@@ -1,33 +1,109 @@
|
|
|
1
1
|
import __typia from "typia";
|
|
2
2
|
export const isSubtitleStyleDomainRecord = input => {
|
|
3
|
-
const $io0 = input =>
|
|
4
|
-
const value = input[key];
|
|
5
|
-
if (undefined === value)
|
|
6
|
-
return true;
|
|
7
|
-
return true;
|
|
8
|
-
});
|
|
3
|
+
const $io0 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding);
|
|
9
4
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
10
5
|
};
|
|
11
6
|
export const assertSubtitleStyleDomainRecord = (input, errorFactory) => {
|
|
12
7
|
const __is = input => {
|
|
13
|
-
const $io0 = input =>
|
|
14
|
-
const value = input[key];
|
|
15
|
-
if (undefined === value)
|
|
16
|
-
return true;
|
|
17
|
-
return true;
|
|
18
|
-
});
|
|
8
|
+
const $io0 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding);
|
|
19
9
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
20
10
|
};
|
|
21
11
|
if (false === __is(input))
|
|
22
12
|
((input, _path, _exceptionable = true) => {
|
|
23
13
|
const $guard = __typia.createAssert.guard;
|
|
24
|
-
const $
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
14
|
+
const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.name || "string" === typeof input.name || $guard(_exceptionable, {
|
|
15
|
+
path: _path + ".name",
|
|
16
|
+
expected: "(string | undefined)",
|
|
17
|
+
value: input.name
|
|
18
|
+
}, errorFactory)) && (undefined === input.fontname || "string" === typeof input.fontname || $guard(_exceptionable, {
|
|
19
|
+
path: _path + ".fontname",
|
|
20
|
+
expected: "(string | undefined)",
|
|
21
|
+
value: input.fontname
|
|
22
|
+
}, errorFactory)) && (undefined === input.fontsize || "string" === typeof input.fontsize || $guard(_exceptionable, {
|
|
23
|
+
path: _path + ".fontsize",
|
|
24
|
+
expected: "(string | undefined)",
|
|
25
|
+
value: input.fontsize
|
|
26
|
+
}, errorFactory)) && (undefined === input.primaryColour || "string" === typeof input.primaryColour || $guard(_exceptionable, {
|
|
27
|
+
path: _path + ".primaryColour",
|
|
28
|
+
expected: "(string | undefined)",
|
|
29
|
+
value: input.primaryColour
|
|
30
|
+
}, errorFactory)) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour || $guard(_exceptionable, {
|
|
31
|
+
path: _path + ".secondaryColour",
|
|
32
|
+
expected: "(string | undefined)",
|
|
33
|
+
value: input.secondaryColour
|
|
34
|
+
}, errorFactory)) && (undefined === input.outlineColour || "string" === typeof input.outlineColour || $guard(_exceptionable, {
|
|
35
|
+
path: _path + ".outlineColour",
|
|
36
|
+
expected: "(string | undefined)",
|
|
37
|
+
value: input.outlineColour
|
|
38
|
+
}, errorFactory)) && (undefined === input.backColour || "string" === typeof input.backColour || $guard(_exceptionable, {
|
|
39
|
+
path: _path + ".backColour",
|
|
40
|
+
expected: "(string | undefined)",
|
|
41
|
+
value: input.backColour
|
|
42
|
+
}, errorFactory)) && (undefined === input.bold || "string" === typeof input.bold || $guard(_exceptionable, {
|
|
43
|
+
path: _path + ".bold",
|
|
44
|
+
expected: "(string | undefined)",
|
|
45
|
+
value: input.bold
|
|
46
|
+
}, errorFactory)) && (undefined === input.italic || "string" === typeof input.italic || $guard(_exceptionable, {
|
|
47
|
+
path: _path + ".italic",
|
|
48
|
+
expected: "(string | undefined)",
|
|
49
|
+
value: input.italic
|
|
50
|
+
}, errorFactory)) && (undefined === input.underline || "string" === typeof input.underline || $guard(_exceptionable, {
|
|
51
|
+
path: _path + ".underline",
|
|
52
|
+
expected: "(string | undefined)",
|
|
53
|
+
value: input.underline
|
|
54
|
+
}, errorFactory)) && (undefined === input.strikeOut || "string" === typeof input.strikeOut || $guard(_exceptionable, {
|
|
55
|
+
path: _path + ".strikeOut",
|
|
56
|
+
expected: "(string | undefined)",
|
|
57
|
+
value: input.strikeOut
|
|
58
|
+
}, errorFactory)) && (undefined === input.scaleX || "string" === typeof input.scaleX || $guard(_exceptionable, {
|
|
59
|
+
path: _path + ".scaleX",
|
|
60
|
+
expected: "(string | undefined)",
|
|
61
|
+
value: input.scaleX
|
|
62
|
+
}, errorFactory)) && (undefined === input.scaleY || "string" === typeof input.scaleY || $guard(_exceptionable, {
|
|
63
|
+
path: _path + ".scaleY",
|
|
64
|
+
expected: "(string | undefined)",
|
|
65
|
+
value: input.scaleY
|
|
66
|
+
}, errorFactory)) && (undefined === input.spacing || "string" === typeof input.spacing || $guard(_exceptionable, {
|
|
67
|
+
path: _path + ".spacing",
|
|
68
|
+
expected: "(string | undefined)",
|
|
69
|
+
value: input.spacing
|
|
70
|
+
}, errorFactory)) && (undefined === input.angle || "string" === typeof input.angle || $guard(_exceptionable, {
|
|
71
|
+
path: _path + ".angle",
|
|
72
|
+
expected: "(string | undefined)",
|
|
73
|
+
value: input.angle
|
|
74
|
+
}, errorFactory)) && (undefined === input.borderStyle || "string" === typeof input.borderStyle || $guard(_exceptionable, {
|
|
75
|
+
path: _path + ".borderStyle",
|
|
76
|
+
expected: "(string | undefined)",
|
|
77
|
+
value: input.borderStyle
|
|
78
|
+
}, errorFactory)) && (undefined === input.outline || "string" === typeof input.outline || $guard(_exceptionable, {
|
|
79
|
+
path: _path + ".outline",
|
|
80
|
+
expected: "(string | undefined)",
|
|
81
|
+
value: input.outline
|
|
82
|
+
}, errorFactory)) && (undefined === input.shadow || "string" === typeof input.shadow || $guard(_exceptionable, {
|
|
83
|
+
path: _path + ".shadow",
|
|
84
|
+
expected: "(string | undefined)",
|
|
85
|
+
value: input.shadow
|
|
86
|
+
}, errorFactory)) && (undefined === input.alignment || "string" === typeof input.alignment || $guard(_exceptionable, {
|
|
87
|
+
path: _path + ".alignment",
|
|
88
|
+
expected: "(string | undefined)",
|
|
89
|
+
value: input.alignment
|
|
90
|
+
}, errorFactory)) && (undefined === input.marginL || "string" === typeof input.marginL || $guard(_exceptionable, {
|
|
91
|
+
path: _path + ".marginL",
|
|
92
|
+
expected: "(string | undefined)",
|
|
93
|
+
value: input.marginL
|
|
94
|
+
}, errorFactory)) && (undefined === input.marginR || "string" === typeof input.marginR || $guard(_exceptionable, {
|
|
95
|
+
path: _path + ".marginR",
|
|
96
|
+
expected: "(string | undefined)",
|
|
97
|
+
value: input.marginR
|
|
98
|
+
}, errorFactory)) && (undefined === input.marginV || "string" === typeof input.marginV || $guard(_exceptionable, {
|
|
99
|
+
path: _path + ".marginV",
|
|
100
|
+
expected: "(string | undefined)",
|
|
101
|
+
value: input.marginV
|
|
102
|
+
}, errorFactory)) && (undefined === input.encoding || "string" === typeof input.encoding || $guard(_exceptionable, {
|
|
103
|
+
path: _path + ".encoding",
|
|
104
|
+
expected: "(string | undefined)",
|
|
105
|
+
value: input.encoding
|
|
106
|
+
}, errorFactory));
|
|
31
107
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
32
108
|
path: _path + "",
|
|
33
109
|
expected: "SubtitleStyleDomainRecord",
|
|
@@ -42,33 +118,204 @@ export const assertSubtitleStyleDomainRecord = (input, errorFactory) => {
|
|
|
42
118
|
};
|
|
43
119
|
export const randomSubtitleStyleDomainRecord = generator => {
|
|
44
120
|
const $generator = __typia.createRandom.generator;
|
|
45
|
-
const $
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
121
|
+
const $pick = __typia.createRandom.pick;
|
|
122
|
+
const $ro0 = (_recursive = false, _depth = 0) => ({
|
|
123
|
+
name: $pick([
|
|
124
|
+
() => undefined,
|
|
125
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
126
|
+
])(),
|
|
127
|
+
fontname: $pick([
|
|
128
|
+
() => undefined,
|
|
129
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
130
|
+
])(),
|
|
131
|
+
fontsize: $pick([
|
|
132
|
+
() => undefined,
|
|
133
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
134
|
+
])(),
|
|
135
|
+
primaryColour: $pick([
|
|
136
|
+
() => undefined,
|
|
137
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
138
|
+
])(),
|
|
139
|
+
secondaryColour: $pick([
|
|
140
|
+
() => undefined,
|
|
141
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
142
|
+
])(),
|
|
143
|
+
outlineColour: $pick([
|
|
144
|
+
() => undefined,
|
|
145
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
146
|
+
])(),
|
|
147
|
+
backColour: $pick([
|
|
148
|
+
() => undefined,
|
|
149
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
150
|
+
])(),
|
|
151
|
+
bold: $pick([
|
|
152
|
+
() => undefined,
|
|
153
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
154
|
+
])(),
|
|
155
|
+
italic: $pick([
|
|
156
|
+
() => undefined,
|
|
157
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
158
|
+
])(),
|
|
159
|
+
underline: $pick([
|
|
160
|
+
() => undefined,
|
|
161
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
162
|
+
])(),
|
|
163
|
+
strikeOut: $pick([
|
|
164
|
+
() => undefined,
|
|
165
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
166
|
+
])(),
|
|
167
|
+
scaleX: $pick([
|
|
168
|
+
() => undefined,
|
|
169
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
170
|
+
])(),
|
|
171
|
+
scaleY: $pick([
|
|
172
|
+
() => undefined,
|
|
173
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
174
|
+
])(),
|
|
175
|
+
spacing: $pick([
|
|
176
|
+
() => undefined,
|
|
177
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
178
|
+
])(),
|
|
179
|
+
angle: $pick([
|
|
180
|
+
() => undefined,
|
|
181
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
182
|
+
])(),
|
|
183
|
+
borderStyle: $pick([
|
|
184
|
+
() => undefined,
|
|
185
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
186
|
+
])(),
|
|
187
|
+
outline: $pick([
|
|
188
|
+
() => undefined,
|
|
189
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
190
|
+
])(),
|
|
191
|
+
shadow: $pick([
|
|
192
|
+
() => undefined,
|
|
193
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
194
|
+
])(),
|
|
195
|
+
alignment: $pick([
|
|
196
|
+
() => undefined,
|
|
197
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
198
|
+
])(),
|
|
199
|
+
marginL: $pick([
|
|
200
|
+
() => undefined,
|
|
201
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
202
|
+
])(),
|
|
203
|
+
marginR: $pick([
|
|
204
|
+
() => undefined,
|
|
205
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
206
|
+
])(),
|
|
207
|
+
marginV: $pick([
|
|
208
|
+
() => undefined,
|
|
209
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
210
|
+
])(),
|
|
211
|
+
encoding: $pick([
|
|
212
|
+
() => undefined,
|
|
213
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
214
|
+
])()
|
|
215
|
+
});
|
|
50
216
|
return $ro0();
|
|
51
217
|
};
|
|
52
218
|
export const assertGuardSubtitleStyleDomainRecord = (input, errorFactory) => {
|
|
53
219
|
const __is = input => {
|
|
54
|
-
const $io0 = input =>
|
|
55
|
-
const value = input[key];
|
|
56
|
-
if (undefined === value)
|
|
57
|
-
return true;
|
|
58
|
-
return true;
|
|
59
|
-
});
|
|
220
|
+
const $io0 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding);
|
|
60
221
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
61
222
|
};
|
|
62
223
|
if (false === __is(input))
|
|
63
224
|
((input, _path, _exceptionable = true) => {
|
|
64
225
|
const $guard = __typia.createAssertGuard.guard;
|
|
65
|
-
const $
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
226
|
+
const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.name || "string" === typeof input.name || $guard(_exceptionable, {
|
|
227
|
+
path: _path + ".name",
|
|
228
|
+
expected: "(string | undefined)",
|
|
229
|
+
value: input.name
|
|
230
|
+
}, errorFactory)) && (undefined === input.fontname || "string" === typeof input.fontname || $guard(_exceptionable, {
|
|
231
|
+
path: _path + ".fontname",
|
|
232
|
+
expected: "(string | undefined)",
|
|
233
|
+
value: input.fontname
|
|
234
|
+
}, errorFactory)) && (undefined === input.fontsize || "string" === typeof input.fontsize || $guard(_exceptionable, {
|
|
235
|
+
path: _path + ".fontsize",
|
|
236
|
+
expected: "(string | undefined)",
|
|
237
|
+
value: input.fontsize
|
|
238
|
+
}, errorFactory)) && (undefined === input.primaryColour || "string" === typeof input.primaryColour || $guard(_exceptionable, {
|
|
239
|
+
path: _path + ".primaryColour",
|
|
240
|
+
expected: "(string | undefined)",
|
|
241
|
+
value: input.primaryColour
|
|
242
|
+
}, errorFactory)) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour || $guard(_exceptionable, {
|
|
243
|
+
path: _path + ".secondaryColour",
|
|
244
|
+
expected: "(string | undefined)",
|
|
245
|
+
value: input.secondaryColour
|
|
246
|
+
}, errorFactory)) && (undefined === input.outlineColour || "string" === typeof input.outlineColour || $guard(_exceptionable, {
|
|
247
|
+
path: _path + ".outlineColour",
|
|
248
|
+
expected: "(string | undefined)",
|
|
249
|
+
value: input.outlineColour
|
|
250
|
+
}, errorFactory)) && (undefined === input.backColour || "string" === typeof input.backColour || $guard(_exceptionable, {
|
|
251
|
+
path: _path + ".backColour",
|
|
252
|
+
expected: "(string | undefined)",
|
|
253
|
+
value: input.backColour
|
|
254
|
+
}, errorFactory)) && (undefined === input.bold || "string" === typeof input.bold || $guard(_exceptionable, {
|
|
255
|
+
path: _path + ".bold",
|
|
256
|
+
expected: "(string | undefined)",
|
|
257
|
+
value: input.bold
|
|
258
|
+
}, errorFactory)) && (undefined === input.italic || "string" === typeof input.italic || $guard(_exceptionable, {
|
|
259
|
+
path: _path + ".italic",
|
|
260
|
+
expected: "(string | undefined)",
|
|
261
|
+
value: input.italic
|
|
262
|
+
}, errorFactory)) && (undefined === input.underline || "string" === typeof input.underline || $guard(_exceptionable, {
|
|
263
|
+
path: _path + ".underline",
|
|
264
|
+
expected: "(string | undefined)",
|
|
265
|
+
value: input.underline
|
|
266
|
+
}, errorFactory)) && (undefined === input.strikeOut || "string" === typeof input.strikeOut || $guard(_exceptionable, {
|
|
267
|
+
path: _path + ".strikeOut",
|
|
268
|
+
expected: "(string | undefined)",
|
|
269
|
+
value: input.strikeOut
|
|
270
|
+
}, errorFactory)) && (undefined === input.scaleX || "string" === typeof input.scaleX || $guard(_exceptionable, {
|
|
271
|
+
path: _path + ".scaleX",
|
|
272
|
+
expected: "(string | undefined)",
|
|
273
|
+
value: input.scaleX
|
|
274
|
+
}, errorFactory)) && (undefined === input.scaleY || "string" === typeof input.scaleY || $guard(_exceptionable, {
|
|
275
|
+
path: _path + ".scaleY",
|
|
276
|
+
expected: "(string | undefined)",
|
|
277
|
+
value: input.scaleY
|
|
278
|
+
}, errorFactory)) && (undefined === input.spacing || "string" === typeof input.spacing || $guard(_exceptionable, {
|
|
279
|
+
path: _path + ".spacing",
|
|
280
|
+
expected: "(string | undefined)",
|
|
281
|
+
value: input.spacing
|
|
282
|
+
}, errorFactory)) && (undefined === input.angle || "string" === typeof input.angle || $guard(_exceptionable, {
|
|
283
|
+
path: _path + ".angle",
|
|
284
|
+
expected: "(string | undefined)",
|
|
285
|
+
value: input.angle
|
|
286
|
+
}, errorFactory)) && (undefined === input.borderStyle || "string" === typeof input.borderStyle || $guard(_exceptionable, {
|
|
287
|
+
path: _path + ".borderStyle",
|
|
288
|
+
expected: "(string | undefined)",
|
|
289
|
+
value: input.borderStyle
|
|
290
|
+
}, errorFactory)) && (undefined === input.outline || "string" === typeof input.outline || $guard(_exceptionable, {
|
|
291
|
+
path: _path + ".outline",
|
|
292
|
+
expected: "(string | undefined)",
|
|
293
|
+
value: input.outline
|
|
294
|
+
}, errorFactory)) && (undefined === input.shadow || "string" === typeof input.shadow || $guard(_exceptionable, {
|
|
295
|
+
path: _path + ".shadow",
|
|
296
|
+
expected: "(string | undefined)",
|
|
297
|
+
value: input.shadow
|
|
298
|
+
}, errorFactory)) && (undefined === input.alignment || "string" === typeof input.alignment || $guard(_exceptionable, {
|
|
299
|
+
path: _path + ".alignment",
|
|
300
|
+
expected: "(string | undefined)",
|
|
301
|
+
value: input.alignment
|
|
302
|
+
}, errorFactory)) && (undefined === input.marginL || "string" === typeof input.marginL || $guard(_exceptionable, {
|
|
303
|
+
path: _path + ".marginL",
|
|
304
|
+
expected: "(string | undefined)",
|
|
305
|
+
value: input.marginL
|
|
306
|
+
}, errorFactory)) && (undefined === input.marginR || "string" === typeof input.marginR || $guard(_exceptionable, {
|
|
307
|
+
path: _path + ".marginR",
|
|
308
|
+
expected: "(string | undefined)",
|
|
309
|
+
value: input.marginR
|
|
310
|
+
}, errorFactory)) && (undefined === input.marginV || "string" === typeof input.marginV || $guard(_exceptionable, {
|
|
311
|
+
path: _path + ".marginV",
|
|
312
|
+
expected: "(string | undefined)",
|
|
313
|
+
value: input.marginV
|
|
314
|
+
}, errorFactory)) && (undefined === input.encoding || "string" === typeof input.encoding || $guard(_exceptionable, {
|
|
315
|
+
path: _path + ".encoding",
|
|
316
|
+
expected: "(string | undefined)",
|
|
317
|
+
value: input.encoding
|
|
318
|
+
}, errorFactory));
|
|
72
319
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
73
320
|
path: _path + "",
|
|
74
321
|
expected: "SubtitleStyleDomainRecord",
|
|
@@ -81,30 +328,112 @@ export const assertGuardSubtitleStyleDomainRecord = (input, errorFactory) => {
|
|
|
81
328
|
})(input, "$input", true);
|
|
82
329
|
};
|
|
83
330
|
export const stringifySubtitleStyleDomainRecord = input => {
|
|
84
|
-
const $
|
|
85
|
-
|
|
331
|
+
const $string = __typia.json.createStringify.string;
|
|
332
|
+
const $tail = __typia.json.createStringify.tail;
|
|
333
|
+
const $so0 = input => `{${$tail(`${undefined === input.name ? "" : `"name":${undefined !== input.name ? $string(input.name) : undefined},`}${undefined === input.fontname ? "" : `"fontname":${undefined !== input.fontname ? $string(input.fontname) : undefined},`}${undefined === input.fontsize ? "" : `"fontsize":${undefined !== input.fontsize ? $string(input.fontsize) : undefined},`}${undefined === input.primaryColour ? "" : `"primaryColour":${undefined !== input.primaryColour ? $string(input.primaryColour) : undefined},`}${undefined === input.secondaryColour ? "" : `"secondaryColour":${undefined !== input.secondaryColour ? $string(input.secondaryColour) : undefined},`}${undefined === input.outlineColour ? "" : `"outlineColour":${undefined !== input.outlineColour ? $string(input.outlineColour) : undefined},`}${undefined === input.backColour ? "" : `"backColour":${undefined !== input.backColour ? $string(input.backColour) : undefined},`}${undefined === input.bold ? "" : `"bold":${undefined !== input.bold ? $string(input.bold) : undefined},`}${undefined === input.italic ? "" : `"italic":${undefined !== input.italic ? $string(input.italic) : undefined},`}${undefined === input.underline ? "" : `"underline":${undefined !== input.underline ? $string(input.underline) : undefined},`}${undefined === input.strikeOut ? "" : `"strikeOut":${undefined !== input.strikeOut ? $string(input.strikeOut) : undefined},`}${undefined === input.scaleX ? "" : `"scaleX":${undefined !== input.scaleX ? $string(input.scaleX) : undefined},`}${undefined === input.scaleY ? "" : `"scaleY":${undefined !== input.scaleY ? $string(input.scaleY) : undefined},`}${undefined === input.spacing ? "" : `"spacing":${undefined !== input.spacing ? $string(input.spacing) : undefined},`}${undefined === input.angle ? "" : `"angle":${undefined !== input.angle ? $string(input.angle) : undefined},`}${undefined === input.borderStyle ? "" : `"borderStyle":${undefined !== input.borderStyle ? $string(input.borderStyle) : undefined},`}${undefined === input.outline ? "" : `"outline":${undefined !== input.outline ? $string(input.outline) : undefined},`}${undefined === input.shadow ? "" : `"shadow":${undefined !== input.shadow ? $string(input.shadow) : undefined},`}${undefined === input.alignment ? "" : `"alignment":${undefined !== input.alignment ? $string(input.alignment) : undefined},`}${undefined === input.marginL ? "" : `"marginL":${undefined !== input.marginL ? $string(input.marginL) : undefined},`}${undefined === input.marginR ? "" : `"marginR":${undefined !== input.marginR ? $string(input.marginR) : undefined},`}${undefined === input.marginV ? "" : `"marginV":${undefined !== input.marginV ? $string(input.marginV) : undefined},`}${undefined === input.encoding ? "" : `"encoding":${undefined !== input.encoding ? $string(input.encoding) : undefined}`}`)}}`;
|
|
86
334
|
return $so0(input);
|
|
87
335
|
};
|
|
88
336
|
export const assertStringifySubtitleStyleDomainRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
89
337
|
const __is = input => {
|
|
90
|
-
const $io0 = input =>
|
|
91
|
-
const value = input[key];
|
|
92
|
-
if (undefined === value)
|
|
93
|
-
return true;
|
|
94
|
-
return true;
|
|
95
|
-
});
|
|
338
|
+
const $io0 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding);
|
|
96
339
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
97
340
|
};
|
|
98
341
|
if (false === __is(input))
|
|
99
342
|
((input, _path, _exceptionable = true) => {
|
|
100
343
|
const $guard = __typia.json.createAssertStringify.guard;
|
|
101
|
-
const $
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
344
|
+
const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.name || "string" === typeof input.name || $guard(_exceptionable, {
|
|
345
|
+
path: _path + ".name",
|
|
346
|
+
expected: "(string | undefined)",
|
|
347
|
+
value: input.name
|
|
348
|
+
}, errorFactory)) && (undefined === input.fontname || "string" === typeof input.fontname || $guard(_exceptionable, {
|
|
349
|
+
path: _path + ".fontname",
|
|
350
|
+
expected: "(string | undefined)",
|
|
351
|
+
value: input.fontname
|
|
352
|
+
}, errorFactory)) && (undefined === input.fontsize || "string" === typeof input.fontsize || $guard(_exceptionable, {
|
|
353
|
+
path: _path + ".fontsize",
|
|
354
|
+
expected: "(string | undefined)",
|
|
355
|
+
value: input.fontsize
|
|
356
|
+
}, errorFactory)) && (undefined === input.primaryColour || "string" === typeof input.primaryColour || $guard(_exceptionable, {
|
|
357
|
+
path: _path + ".primaryColour",
|
|
358
|
+
expected: "(string | undefined)",
|
|
359
|
+
value: input.primaryColour
|
|
360
|
+
}, errorFactory)) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour || $guard(_exceptionable, {
|
|
361
|
+
path: _path + ".secondaryColour",
|
|
362
|
+
expected: "(string | undefined)",
|
|
363
|
+
value: input.secondaryColour
|
|
364
|
+
}, errorFactory)) && (undefined === input.outlineColour || "string" === typeof input.outlineColour || $guard(_exceptionable, {
|
|
365
|
+
path: _path + ".outlineColour",
|
|
366
|
+
expected: "(string | undefined)",
|
|
367
|
+
value: input.outlineColour
|
|
368
|
+
}, errorFactory)) && (undefined === input.backColour || "string" === typeof input.backColour || $guard(_exceptionable, {
|
|
369
|
+
path: _path + ".backColour",
|
|
370
|
+
expected: "(string | undefined)",
|
|
371
|
+
value: input.backColour
|
|
372
|
+
}, errorFactory)) && (undefined === input.bold || "string" === typeof input.bold || $guard(_exceptionable, {
|
|
373
|
+
path: _path + ".bold",
|
|
374
|
+
expected: "(string | undefined)",
|
|
375
|
+
value: input.bold
|
|
376
|
+
}, errorFactory)) && (undefined === input.italic || "string" === typeof input.italic || $guard(_exceptionable, {
|
|
377
|
+
path: _path + ".italic",
|
|
378
|
+
expected: "(string | undefined)",
|
|
379
|
+
value: input.italic
|
|
380
|
+
}, errorFactory)) && (undefined === input.underline || "string" === typeof input.underline || $guard(_exceptionable, {
|
|
381
|
+
path: _path + ".underline",
|
|
382
|
+
expected: "(string | undefined)",
|
|
383
|
+
value: input.underline
|
|
384
|
+
}, errorFactory)) && (undefined === input.strikeOut || "string" === typeof input.strikeOut || $guard(_exceptionable, {
|
|
385
|
+
path: _path + ".strikeOut",
|
|
386
|
+
expected: "(string | undefined)",
|
|
387
|
+
value: input.strikeOut
|
|
388
|
+
}, errorFactory)) && (undefined === input.scaleX || "string" === typeof input.scaleX || $guard(_exceptionable, {
|
|
389
|
+
path: _path + ".scaleX",
|
|
390
|
+
expected: "(string | undefined)",
|
|
391
|
+
value: input.scaleX
|
|
392
|
+
}, errorFactory)) && (undefined === input.scaleY || "string" === typeof input.scaleY || $guard(_exceptionable, {
|
|
393
|
+
path: _path + ".scaleY",
|
|
394
|
+
expected: "(string | undefined)",
|
|
395
|
+
value: input.scaleY
|
|
396
|
+
}, errorFactory)) && (undefined === input.spacing || "string" === typeof input.spacing || $guard(_exceptionable, {
|
|
397
|
+
path: _path + ".spacing",
|
|
398
|
+
expected: "(string | undefined)",
|
|
399
|
+
value: input.spacing
|
|
400
|
+
}, errorFactory)) && (undefined === input.angle || "string" === typeof input.angle || $guard(_exceptionable, {
|
|
401
|
+
path: _path + ".angle",
|
|
402
|
+
expected: "(string | undefined)",
|
|
403
|
+
value: input.angle
|
|
404
|
+
}, errorFactory)) && (undefined === input.borderStyle || "string" === typeof input.borderStyle || $guard(_exceptionable, {
|
|
405
|
+
path: _path + ".borderStyle",
|
|
406
|
+
expected: "(string | undefined)",
|
|
407
|
+
value: input.borderStyle
|
|
408
|
+
}, errorFactory)) && (undefined === input.outline || "string" === typeof input.outline || $guard(_exceptionable, {
|
|
409
|
+
path: _path + ".outline",
|
|
410
|
+
expected: "(string | undefined)",
|
|
411
|
+
value: input.outline
|
|
412
|
+
}, errorFactory)) && (undefined === input.shadow || "string" === typeof input.shadow || $guard(_exceptionable, {
|
|
413
|
+
path: _path + ".shadow",
|
|
414
|
+
expected: "(string | undefined)",
|
|
415
|
+
value: input.shadow
|
|
416
|
+
}, errorFactory)) && (undefined === input.alignment || "string" === typeof input.alignment || $guard(_exceptionable, {
|
|
417
|
+
path: _path + ".alignment",
|
|
418
|
+
expected: "(string | undefined)",
|
|
419
|
+
value: input.alignment
|
|
420
|
+
}, errorFactory)) && (undefined === input.marginL || "string" === typeof input.marginL || $guard(_exceptionable, {
|
|
421
|
+
path: _path + ".marginL",
|
|
422
|
+
expected: "(string | undefined)",
|
|
423
|
+
value: input.marginL
|
|
424
|
+
}, errorFactory)) && (undefined === input.marginR || "string" === typeof input.marginR || $guard(_exceptionable, {
|
|
425
|
+
path: _path + ".marginR",
|
|
426
|
+
expected: "(string | undefined)",
|
|
427
|
+
value: input.marginR
|
|
428
|
+
}, errorFactory)) && (undefined === input.marginV || "string" === typeof input.marginV || $guard(_exceptionable, {
|
|
429
|
+
path: _path + ".marginV",
|
|
430
|
+
expected: "(string | undefined)",
|
|
431
|
+
value: input.marginV
|
|
432
|
+
}, errorFactory)) && (undefined === input.encoding || "string" === typeof input.encoding || $guard(_exceptionable, {
|
|
433
|
+
path: _path + ".encoding",
|
|
434
|
+
expected: "(string | undefined)",
|
|
435
|
+
value: input.encoding
|
|
436
|
+
}, errorFactory));
|
|
108
437
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
109
438
|
path: _path + "",
|
|
110
439
|
expected: "SubtitleStyleDomainRecord",
|
|
@@ -117,7 +446,8 @@ export const assertStringifySubtitleStyleDomainRecord = (input, errorFactory) =>
|
|
|
117
446
|
})(input, "$input", true);
|
|
118
447
|
return input;
|
|
119
448
|
}; const stringify = input => {
|
|
120
|
-
const $
|
|
121
|
-
|
|
449
|
+
const $string = __typia.json.createAssertStringify.string;
|
|
450
|
+
const $tail = __typia.json.createAssertStringify.tail;
|
|
451
|
+
const $so0 = input => `{${$tail(`${undefined === input.name ? "" : `"name":${undefined !== input.name ? $string(input.name) : undefined},`}${undefined === input.fontname ? "" : `"fontname":${undefined !== input.fontname ? $string(input.fontname) : undefined},`}${undefined === input.fontsize ? "" : `"fontsize":${undefined !== input.fontsize ? $string(input.fontsize) : undefined},`}${undefined === input.primaryColour ? "" : `"primaryColour":${undefined !== input.primaryColour ? $string(input.primaryColour) : undefined},`}${undefined === input.secondaryColour ? "" : `"secondaryColour":${undefined !== input.secondaryColour ? $string(input.secondaryColour) : undefined},`}${undefined === input.outlineColour ? "" : `"outlineColour":${undefined !== input.outlineColour ? $string(input.outlineColour) : undefined},`}${undefined === input.backColour ? "" : `"backColour":${undefined !== input.backColour ? $string(input.backColour) : undefined},`}${undefined === input.bold ? "" : `"bold":${undefined !== input.bold ? $string(input.bold) : undefined},`}${undefined === input.italic ? "" : `"italic":${undefined !== input.italic ? $string(input.italic) : undefined},`}${undefined === input.underline ? "" : `"underline":${undefined !== input.underline ? $string(input.underline) : undefined},`}${undefined === input.strikeOut ? "" : `"strikeOut":${undefined !== input.strikeOut ? $string(input.strikeOut) : undefined},`}${undefined === input.scaleX ? "" : `"scaleX":${undefined !== input.scaleX ? $string(input.scaleX) : undefined},`}${undefined === input.scaleY ? "" : `"scaleY":${undefined !== input.scaleY ? $string(input.scaleY) : undefined},`}${undefined === input.spacing ? "" : `"spacing":${undefined !== input.spacing ? $string(input.spacing) : undefined},`}${undefined === input.angle ? "" : `"angle":${undefined !== input.angle ? $string(input.angle) : undefined},`}${undefined === input.borderStyle ? "" : `"borderStyle":${undefined !== input.borderStyle ? $string(input.borderStyle) : undefined},`}${undefined === input.outline ? "" : `"outline":${undefined !== input.outline ? $string(input.outline) : undefined},`}${undefined === input.shadow ? "" : `"shadow":${undefined !== input.shadow ? $string(input.shadow) : undefined},`}${undefined === input.alignment ? "" : `"alignment":${undefined !== input.alignment ? $string(input.alignment) : undefined},`}${undefined === input.marginL ? "" : `"marginL":${undefined !== input.marginL ? $string(input.marginL) : undefined},`}${undefined === input.marginR ? "" : `"marginR":${undefined !== input.marginR ? $string(input.marginR) : undefined},`}${undefined === input.marginV ? "" : `"marginV":${undefined !== input.marginV ? $string(input.marginV) : undefined},`}${undefined === input.encoding ? "" : `"encoding":${undefined !== input.encoding ? $string(input.encoding) : undefined}`}`)}}`;
|
|
122
452
|
return $so0(input);
|
|
123
453
|
}; return stringify(assert(input, errorFactory)); };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type AssertionGuard as __AssertionGuard } from "typia";
|
|
2
2
|
export interface UserNotificationStatusDomainRecords {
|
|
3
|
-
":
|
|
3
|
+
":_user-notification-status": UserNotificationStatusDomainRecord;
|
|
4
4
|
}
|
|
5
5
|
export interface UserNotificationStatusDomainRecord {
|
|
6
6
|
assignee?: UserNotificationStatusAssignee;
|
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", ":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?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":subtitle-style", ":template", ":
|
|
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", ":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?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":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?"]);
|
|
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", ":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?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":subtitle-style", ":template", ":
|
|
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", ":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?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":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?"]);
|
|
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", ":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?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":subtitle-style", ":template", ":
|
|
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", ":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?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":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?"]);
|
|
20
20
|
return true === $av1.has(input) || $guard(true, {
|
|
21
21
|
path: _path + "",
|
|
22
|
-
expected: "(\":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\" | \":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?\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.accepts\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":storyboard\" | \":storyboard.pipelines\" | \":subtitle-style\" | \":template\" | \":user\" | \":user-notification\" | \":user-notification
|
|
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\" | \":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?\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.accepts\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":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\")",
|
|
23
23
|
value: input
|
|
24
24
|
}, errorFactory);
|
|
25
25
|
})(input, "$input", true);
|
|
@@ -105,7 +105,7 @@ export const randomDomains = generator => {
|
|
|
105
105
|
() => ":storyboard.pipelines",
|
|
106
106
|
() => ":subtitle-style",
|
|
107
107
|
() => ":template",
|
|
108
|
-
() => ":
|
|
108
|
+
() => ":_user-notification-status",
|
|
109
109
|
() => ":user-notification",
|
|
110
110
|
() => ":user-notification.readAt",
|
|
111
111
|
() => ":user",
|
|
@@ -116,16 +116,16 @@ export const randomDomains = generator => {
|
|
|
116
116
|
};
|
|
117
117
|
export const assertGuardDomains = (input, errorFactory) => {
|
|
118
118
|
const __is = input => {
|
|
119
|
-
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", ":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?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":subtitle-style", ":template", ":
|
|
119
|
+
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", ":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?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":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?"]);
|
|
120
120
|
return true === $iv1.has(input);
|
|
121
121
|
};
|
|
122
122
|
if (false === __is(input))
|
|
123
123
|
((input, _path, _exceptionable = true) => {
|
|
124
124
|
const $guard = __typia.createAssertGuard.guard;
|
|
125
|
-
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", ":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?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":subtitle-style", ":template", ":
|
|
125
|
+
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", ":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?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":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?"]);
|
|
126
126
|
return true === $av1.has(input) || $guard(true, {
|
|
127
127
|
path: _path + "",
|
|
128
|
-
expected: "(\":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\" | \":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?\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.accepts\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":storyboard\" | \":storyboard.pipelines\" | \":subtitle-style\" | \":template\" | \":user\" | \":user-notification\" | \":user-notification
|
|
128
|
+
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\" | \":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?\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.accepts\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":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\")",
|
|
129
129
|
value: input
|
|
130
130
|
}, errorFactory);
|
|
131
131
|
})(input, "$input", true);
|
|
@@ -139,23 +139,23 @@ export const stringifyDomains = input => {
|
|
|
139
139
|
if ("string" === typeof input)
|
|
140
140
|
return "\"" + input + "\"";
|
|
141
141
|
$throws({
|
|
142
|
-
expected: "(\":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\" | \":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?\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.accepts\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":storyboard\" | \":storyboard.pipelines\" | \":subtitle-style\" | \":template\" | \":user\" | \":user-notification\" | \":user-notification
|
|
142
|
+
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\" | \":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?\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.accepts\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":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\")",
|
|
143
143
|
value: input
|
|
144
144
|
});
|
|
145
145
|
})();
|
|
146
146
|
};
|
|
147
147
|
export const assertStringifyDomains = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
148
148
|
const __is = input => {
|
|
149
|
-
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", ":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?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":subtitle-style", ":template", ":
|
|
149
|
+
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", ":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?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":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?"]);
|
|
150
150
|
return true === $iv1.has(input);
|
|
151
151
|
};
|
|
152
152
|
if (false === __is(input))
|
|
153
153
|
((input, _path, _exceptionable = true) => {
|
|
154
154
|
const $guard = __typia.json.createAssertStringify.guard;
|
|
155
|
-
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", ":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?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":subtitle-style", ":template", ":
|
|
155
|
+
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", ":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?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":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?"]);
|
|
156
156
|
return true === $av1.has(input) || $guard(true, {
|
|
157
157
|
path: _path + "",
|
|
158
|
-
expected: "(\":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\" | \":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?\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.accepts\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":storyboard\" | \":storyboard.pipelines\" | \":subtitle-style\" | \":template\" | \":user\" | \":user-notification\" | \":user-notification
|
|
158
|
+
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\" | \":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?\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.accepts\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":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\")",
|
|
159
159
|
value: input
|
|
160
160
|
}, errorFactory);
|
|
161
161
|
})(input, "$input", true);
|
|
@@ -169,7 +169,7 @@ export const assertStringifyDomains = (input, errorFactory) => { const assert =
|
|
|
169
169
|
if ("string" === typeof input)
|
|
170
170
|
return "\"" + input + "\"";
|
|
171
171
|
$throws({
|
|
172
|
-
expected: "(\":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\" | \":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?\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.accepts\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":storyboard\" | \":storyboard.pipelines\" | \":subtitle-style\" | \":template\" | \":user\" | \":user-notification\" | \":user-notification
|
|
172
|
+
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\" | \":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?\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.accepts\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":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\")",
|
|
173
173
|
value: input
|
|
174
174
|
});
|
|
175
175
|
})();
|
package/dist/schema.json
CHANGED
|
@@ -1101,6 +1101,9 @@
|
|
|
1101
1101
|
"DomainRecords": {
|
|
1102
1102
|
"additionalProperties": false,
|
|
1103
1103
|
"properties": {
|
|
1104
|
+
":_user-notification-status": {
|
|
1105
|
+
"$ref": "#/definitions/UserNotificationStatusDomainRecord"
|
|
1106
|
+
},
|
|
1104
1107
|
":asset.assignees?": {
|
|
1105
1108
|
"$ref": "#/definitions/AssetAssigneesProvidedRecord"
|
|
1106
1109
|
},
|
|
@@ -1341,9 +1344,6 @@
|
|
|
1341
1344
|
":user-notification": {
|
|
1342
1345
|
"$ref": "#/definitions/UserNotificationRecord"
|
|
1343
1346
|
},
|
|
1344
|
-
":user-notification-status": {
|
|
1345
|
-
"$ref": "#/definitions/UserNotificationStatusDomainRecord"
|
|
1346
|
-
},
|
|
1347
1347
|
":user-notification.readAt": {
|
|
1348
1348
|
"$ref": "#/definitions/UserNotificationDomainReadAtRecord"
|
|
1349
1349
|
},
|
|
@@ -1364,6 +1364,7 @@
|
|
|
1364
1364
|
}
|
|
1365
1365
|
},
|
|
1366
1366
|
"required": [
|
|
1367
|
+
":_user-notification-status",
|
|
1367
1368
|
":asset.assignees?",
|
|
1368
1369
|
":asset.comments?",
|
|
1369
1370
|
":asset.controllers?",
|
|
@@ -1442,7 +1443,6 @@
|
|
|
1442
1443
|
":template",
|
|
1443
1444
|
":user",
|
|
1444
1445
|
":user-notification",
|
|
1445
|
-
":user-notification-status",
|
|
1446
1446
|
":user-notification.readAt",
|
|
1447
1447
|
":user.latestSeenNotification",
|
|
1448
1448
|
":user.receivedNotifications?",
|
|
@@ -1469,6 +1469,7 @@
|
|
|
1469
1469
|
},
|
|
1470
1470
|
"Domains": {
|
|
1471
1471
|
"enum": [
|
|
1472
|
+
":_user-notification-status",
|
|
1472
1473
|
":asset.assignees?",
|
|
1473
1474
|
":asset.comments?",
|
|
1474
1475
|
":asset.controllers?",
|
|
@@ -1546,7 +1547,6 @@
|
|
|
1546
1547
|
":template",
|
|
1547
1548
|
":user",
|
|
1548
1549
|
":user-notification",
|
|
1549
|
-
":user-notification-status",
|
|
1550
1550
|
":user-notification.readAt",
|
|
1551
1551
|
":user.latestSeenNotification",
|
|
1552
1552
|
":user.receivedNotifications?",
|
|
@@ -4952,7 +4952,78 @@
|
|
|
4952
4952
|
"type": "object"
|
|
4953
4953
|
},
|
|
4954
4954
|
"SubtitleStyleDomainRecord": {
|
|
4955
|
-
"additionalProperties":
|
|
4955
|
+
"additionalProperties": false,
|
|
4956
|
+
"properties": {
|
|
4957
|
+
"alignment": {
|
|
4958
|
+
"type": "string"
|
|
4959
|
+
},
|
|
4960
|
+
"angle": {
|
|
4961
|
+
"type": "string"
|
|
4962
|
+
},
|
|
4963
|
+
"backColour": {
|
|
4964
|
+
"type": "string"
|
|
4965
|
+
},
|
|
4966
|
+
"bold": {
|
|
4967
|
+
"type": "string"
|
|
4968
|
+
},
|
|
4969
|
+
"borderStyle": {
|
|
4970
|
+
"type": "string"
|
|
4971
|
+
},
|
|
4972
|
+
"encoding": {
|
|
4973
|
+
"type": "string"
|
|
4974
|
+
},
|
|
4975
|
+
"fontname": {
|
|
4976
|
+
"type": "string"
|
|
4977
|
+
},
|
|
4978
|
+
"fontsize": {
|
|
4979
|
+
"type": "string"
|
|
4980
|
+
},
|
|
4981
|
+
"italic": {
|
|
4982
|
+
"type": "string"
|
|
4983
|
+
},
|
|
4984
|
+
"marginL": {
|
|
4985
|
+
"type": "string"
|
|
4986
|
+
},
|
|
4987
|
+
"marginR": {
|
|
4988
|
+
"type": "string"
|
|
4989
|
+
},
|
|
4990
|
+
"marginV": {
|
|
4991
|
+
"type": "string"
|
|
4992
|
+
},
|
|
4993
|
+
"name": {
|
|
4994
|
+
"type": "string"
|
|
4995
|
+
},
|
|
4996
|
+
"outline": {
|
|
4997
|
+
"type": "string"
|
|
4998
|
+
},
|
|
4999
|
+
"outlineColour": {
|
|
5000
|
+
"type": "string"
|
|
5001
|
+
},
|
|
5002
|
+
"primaryColour": {
|
|
5003
|
+
"type": "string"
|
|
5004
|
+
},
|
|
5005
|
+
"scaleX": {
|
|
5006
|
+
"type": "string"
|
|
5007
|
+
},
|
|
5008
|
+
"scaleY": {
|
|
5009
|
+
"type": "string"
|
|
5010
|
+
},
|
|
5011
|
+
"secondaryColour": {
|
|
5012
|
+
"type": "string"
|
|
5013
|
+
},
|
|
5014
|
+
"shadow": {
|
|
5015
|
+
"type": "string"
|
|
5016
|
+
},
|
|
5017
|
+
"spacing": {
|
|
5018
|
+
"type": "string"
|
|
5019
|
+
},
|
|
5020
|
+
"strikeOut": {
|
|
5021
|
+
"type": "string"
|
|
5022
|
+
},
|
|
5023
|
+
"underline": {
|
|
5024
|
+
"type": "string"
|
|
5025
|
+
}
|
|
5026
|
+
},
|
|
4956
5027
|
"type": "object"
|
|
4957
5028
|
},
|
|
4958
5029
|
"TagPermission": {
|