@nxtedition/types 23.0.16 → 23.0.18
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/domains/subtitle-style.d.ts +25 -1
- package/dist/domains/subtitle-style.js +416 -54
- package/dist/schema.json +78 -1
- package/package.json +1 -1
|
@@ -3,7 +3,31 @@ 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;
|
|
29
|
+
scaledBorderAndShadow?: boolean;
|
|
30
|
+
futureWordWrapping?: boolean;
|
|
7
31
|
}
|
|
8
32
|
export declare const isSubtitleStyleDomainRecord: (input: unknown) => input is SubtitleStyleDomainRecord;
|
|
9
33
|
export declare const assertSubtitleStyleDomainRecord: (input: unknown) => SubtitleStyleDomainRecord;
|
|
@@ -1,33 +1,117 @@
|
|
|
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) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping);
|
|
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) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping);
|
|
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)) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow || $guard(_exceptionable, {
|
|
107
|
+
path: _path + ".scaledBorderAndShadow",
|
|
108
|
+
expected: "(boolean | undefined)",
|
|
109
|
+
value: input.scaledBorderAndShadow
|
|
110
|
+
}, errorFactory)) && (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping || $guard(_exceptionable, {
|
|
111
|
+
path: _path + ".futureWordWrapping",
|
|
112
|
+
expected: "(boolean | undefined)",
|
|
113
|
+
value: input.futureWordWrapping
|
|
114
|
+
}, errorFactory));
|
|
31
115
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
32
116
|
path: _path + "",
|
|
33
117
|
expected: "SubtitleStyleDomainRecord",
|
|
@@ -42,33 +126,220 @@ export const assertSubtitleStyleDomainRecord = (input, errorFactory) => {
|
|
|
42
126
|
};
|
|
43
127
|
export const randomSubtitleStyleDomainRecord = generator => {
|
|
44
128
|
const $generator = __typia.createRandom.generator;
|
|
45
|
-
const $
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
129
|
+
const $pick = __typia.createRandom.pick;
|
|
130
|
+
const $ro0 = (_recursive = false, _depth = 0) => ({
|
|
131
|
+
name: $pick([
|
|
132
|
+
() => undefined,
|
|
133
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
134
|
+
])(),
|
|
135
|
+
fontname: $pick([
|
|
136
|
+
() => undefined,
|
|
137
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
138
|
+
])(),
|
|
139
|
+
fontsize: $pick([
|
|
140
|
+
() => undefined,
|
|
141
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
142
|
+
])(),
|
|
143
|
+
primaryColour: $pick([
|
|
144
|
+
() => undefined,
|
|
145
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
146
|
+
])(),
|
|
147
|
+
secondaryColour: $pick([
|
|
148
|
+
() => undefined,
|
|
149
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
150
|
+
])(),
|
|
151
|
+
outlineColour: $pick([
|
|
152
|
+
() => undefined,
|
|
153
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
154
|
+
])(),
|
|
155
|
+
backColour: $pick([
|
|
156
|
+
() => undefined,
|
|
157
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
158
|
+
])(),
|
|
159
|
+
bold: $pick([
|
|
160
|
+
() => undefined,
|
|
161
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
162
|
+
])(),
|
|
163
|
+
italic: $pick([
|
|
164
|
+
() => undefined,
|
|
165
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
166
|
+
])(),
|
|
167
|
+
underline: $pick([
|
|
168
|
+
() => undefined,
|
|
169
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
170
|
+
])(),
|
|
171
|
+
strikeOut: $pick([
|
|
172
|
+
() => undefined,
|
|
173
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
174
|
+
])(),
|
|
175
|
+
scaleX: $pick([
|
|
176
|
+
() => undefined,
|
|
177
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
178
|
+
])(),
|
|
179
|
+
scaleY: $pick([
|
|
180
|
+
() => undefined,
|
|
181
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
182
|
+
])(),
|
|
183
|
+
spacing: $pick([
|
|
184
|
+
() => undefined,
|
|
185
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
186
|
+
])(),
|
|
187
|
+
angle: $pick([
|
|
188
|
+
() => undefined,
|
|
189
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
190
|
+
])(),
|
|
191
|
+
borderStyle: $pick([
|
|
192
|
+
() => undefined,
|
|
193
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
194
|
+
])(),
|
|
195
|
+
outline: $pick([
|
|
196
|
+
() => undefined,
|
|
197
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
198
|
+
])(),
|
|
199
|
+
shadow: $pick([
|
|
200
|
+
() => undefined,
|
|
201
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
202
|
+
])(),
|
|
203
|
+
alignment: $pick([
|
|
204
|
+
() => undefined,
|
|
205
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
206
|
+
])(),
|
|
207
|
+
marginL: $pick([
|
|
208
|
+
() => undefined,
|
|
209
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
210
|
+
])(),
|
|
211
|
+
marginR: $pick([
|
|
212
|
+
() => undefined,
|
|
213
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
214
|
+
])(),
|
|
215
|
+
marginV: $pick([
|
|
216
|
+
() => undefined,
|
|
217
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
218
|
+
])(),
|
|
219
|
+
encoding: $pick([
|
|
220
|
+
() => undefined,
|
|
221
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
222
|
+
])(),
|
|
223
|
+
scaledBorderAndShadow: $pick([
|
|
224
|
+
() => undefined,
|
|
225
|
+
() => (generator?.boolean ?? $generator.boolean)()
|
|
226
|
+
])(),
|
|
227
|
+
futureWordWrapping: $pick([
|
|
228
|
+
() => undefined,
|
|
229
|
+
() => (generator?.boolean ?? $generator.boolean)()
|
|
230
|
+
])()
|
|
231
|
+
});
|
|
50
232
|
return $ro0();
|
|
51
233
|
};
|
|
52
234
|
export const assertGuardSubtitleStyleDomainRecord = (input, errorFactory) => {
|
|
53
235
|
const __is = input => {
|
|
54
|
-
const $io0 = input =>
|
|
55
|
-
const value = input[key];
|
|
56
|
-
if (undefined === value)
|
|
57
|
-
return true;
|
|
58
|
-
return true;
|
|
59
|
-
});
|
|
236
|
+
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) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping);
|
|
60
237
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
61
238
|
};
|
|
62
239
|
if (false === __is(input))
|
|
63
240
|
((input, _path, _exceptionable = true) => {
|
|
64
241
|
const $guard = __typia.createAssertGuard.guard;
|
|
65
|
-
const $
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
242
|
+
const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.name || "string" === typeof input.name || $guard(_exceptionable, {
|
|
243
|
+
path: _path + ".name",
|
|
244
|
+
expected: "(string | undefined)",
|
|
245
|
+
value: input.name
|
|
246
|
+
}, errorFactory)) && (undefined === input.fontname || "string" === typeof input.fontname || $guard(_exceptionable, {
|
|
247
|
+
path: _path + ".fontname",
|
|
248
|
+
expected: "(string | undefined)",
|
|
249
|
+
value: input.fontname
|
|
250
|
+
}, errorFactory)) && (undefined === input.fontsize || "string" === typeof input.fontsize || $guard(_exceptionable, {
|
|
251
|
+
path: _path + ".fontsize",
|
|
252
|
+
expected: "(string | undefined)",
|
|
253
|
+
value: input.fontsize
|
|
254
|
+
}, errorFactory)) && (undefined === input.primaryColour || "string" === typeof input.primaryColour || $guard(_exceptionable, {
|
|
255
|
+
path: _path + ".primaryColour",
|
|
256
|
+
expected: "(string | undefined)",
|
|
257
|
+
value: input.primaryColour
|
|
258
|
+
}, errorFactory)) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour || $guard(_exceptionable, {
|
|
259
|
+
path: _path + ".secondaryColour",
|
|
260
|
+
expected: "(string | undefined)",
|
|
261
|
+
value: input.secondaryColour
|
|
262
|
+
}, errorFactory)) && (undefined === input.outlineColour || "string" === typeof input.outlineColour || $guard(_exceptionable, {
|
|
263
|
+
path: _path + ".outlineColour",
|
|
264
|
+
expected: "(string | undefined)",
|
|
265
|
+
value: input.outlineColour
|
|
266
|
+
}, errorFactory)) && (undefined === input.backColour || "string" === typeof input.backColour || $guard(_exceptionable, {
|
|
267
|
+
path: _path + ".backColour",
|
|
268
|
+
expected: "(string | undefined)",
|
|
269
|
+
value: input.backColour
|
|
270
|
+
}, errorFactory)) && (undefined === input.bold || "string" === typeof input.bold || $guard(_exceptionable, {
|
|
271
|
+
path: _path + ".bold",
|
|
272
|
+
expected: "(string | undefined)",
|
|
273
|
+
value: input.bold
|
|
274
|
+
}, errorFactory)) && (undefined === input.italic || "string" === typeof input.italic || $guard(_exceptionable, {
|
|
275
|
+
path: _path + ".italic",
|
|
276
|
+
expected: "(string | undefined)",
|
|
277
|
+
value: input.italic
|
|
278
|
+
}, errorFactory)) && (undefined === input.underline || "string" === typeof input.underline || $guard(_exceptionable, {
|
|
279
|
+
path: _path + ".underline",
|
|
280
|
+
expected: "(string | undefined)",
|
|
281
|
+
value: input.underline
|
|
282
|
+
}, errorFactory)) && (undefined === input.strikeOut || "string" === typeof input.strikeOut || $guard(_exceptionable, {
|
|
283
|
+
path: _path + ".strikeOut",
|
|
284
|
+
expected: "(string | undefined)",
|
|
285
|
+
value: input.strikeOut
|
|
286
|
+
}, errorFactory)) && (undefined === input.scaleX || "string" === typeof input.scaleX || $guard(_exceptionable, {
|
|
287
|
+
path: _path + ".scaleX",
|
|
288
|
+
expected: "(string | undefined)",
|
|
289
|
+
value: input.scaleX
|
|
290
|
+
}, errorFactory)) && (undefined === input.scaleY || "string" === typeof input.scaleY || $guard(_exceptionable, {
|
|
291
|
+
path: _path + ".scaleY",
|
|
292
|
+
expected: "(string | undefined)",
|
|
293
|
+
value: input.scaleY
|
|
294
|
+
}, errorFactory)) && (undefined === input.spacing || "string" === typeof input.spacing || $guard(_exceptionable, {
|
|
295
|
+
path: _path + ".spacing",
|
|
296
|
+
expected: "(string | undefined)",
|
|
297
|
+
value: input.spacing
|
|
298
|
+
}, errorFactory)) && (undefined === input.angle || "string" === typeof input.angle || $guard(_exceptionable, {
|
|
299
|
+
path: _path + ".angle",
|
|
300
|
+
expected: "(string | undefined)",
|
|
301
|
+
value: input.angle
|
|
302
|
+
}, errorFactory)) && (undefined === input.borderStyle || "string" === typeof input.borderStyle || $guard(_exceptionable, {
|
|
303
|
+
path: _path + ".borderStyle",
|
|
304
|
+
expected: "(string | undefined)",
|
|
305
|
+
value: input.borderStyle
|
|
306
|
+
}, errorFactory)) && (undefined === input.outline || "string" === typeof input.outline || $guard(_exceptionable, {
|
|
307
|
+
path: _path + ".outline",
|
|
308
|
+
expected: "(string | undefined)",
|
|
309
|
+
value: input.outline
|
|
310
|
+
}, errorFactory)) && (undefined === input.shadow || "string" === typeof input.shadow || $guard(_exceptionable, {
|
|
311
|
+
path: _path + ".shadow",
|
|
312
|
+
expected: "(string | undefined)",
|
|
313
|
+
value: input.shadow
|
|
314
|
+
}, errorFactory)) && (undefined === input.alignment || "string" === typeof input.alignment || $guard(_exceptionable, {
|
|
315
|
+
path: _path + ".alignment",
|
|
316
|
+
expected: "(string | undefined)",
|
|
317
|
+
value: input.alignment
|
|
318
|
+
}, errorFactory)) && (undefined === input.marginL || "string" === typeof input.marginL || $guard(_exceptionable, {
|
|
319
|
+
path: _path + ".marginL",
|
|
320
|
+
expected: "(string | undefined)",
|
|
321
|
+
value: input.marginL
|
|
322
|
+
}, errorFactory)) && (undefined === input.marginR || "string" === typeof input.marginR || $guard(_exceptionable, {
|
|
323
|
+
path: _path + ".marginR",
|
|
324
|
+
expected: "(string | undefined)",
|
|
325
|
+
value: input.marginR
|
|
326
|
+
}, errorFactory)) && (undefined === input.marginV || "string" === typeof input.marginV || $guard(_exceptionable, {
|
|
327
|
+
path: _path + ".marginV",
|
|
328
|
+
expected: "(string | undefined)",
|
|
329
|
+
value: input.marginV
|
|
330
|
+
}, errorFactory)) && (undefined === input.encoding || "string" === typeof input.encoding || $guard(_exceptionable, {
|
|
331
|
+
path: _path + ".encoding",
|
|
332
|
+
expected: "(string | undefined)",
|
|
333
|
+
value: input.encoding
|
|
334
|
+
}, errorFactory)) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow || $guard(_exceptionable, {
|
|
335
|
+
path: _path + ".scaledBorderAndShadow",
|
|
336
|
+
expected: "(boolean | undefined)",
|
|
337
|
+
value: input.scaledBorderAndShadow
|
|
338
|
+
}, errorFactory)) && (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping || $guard(_exceptionable, {
|
|
339
|
+
path: _path + ".futureWordWrapping",
|
|
340
|
+
expected: "(boolean | undefined)",
|
|
341
|
+
value: input.futureWordWrapping
|
|
342
|
+
}, errorFactory));
|
|
72
343
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
73
344
|
path: _path + "",
|
|
74
345
|
expected: "SubtitleStyleDomainRecord",
|
|
@@ -81,30 +352,120 @@ export const assertGuardSubtitleStyleDomainRecord = (input, errorFactory) => {
|
|
|
81
352
|
})(input, "$input", true);
|
|
82
353
|
};
|
|
83
354
|
export const stringifySubtitleStyleDomainRecord = input => {
|
|
84
|
-
const $
|
|
85
|
-
|
|
355
|
+
const $string = __typia.json.createStringify.string;
|
|
356
|
+
const $tail = __typia.json.createStringify.tail;
|
|
357
|
+
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},`}${undefined === input.scaledBorderAndShadow ? "" : `"scaledBorderAndShadow":${undefined !== input.scaledBorderAndShadow ? input.scaledBorderAndShadow : undefined},`}${undefined === input.futureWordWrapping ? "" : `"futureWordWrapping":${undefined !== input.futureWordWrapping ? input.futureWordWrapping : undefined}`}`)}}`;
|
|
86
358
|
return $so0(input);
|
|
87
359
|
};
|
|
88
360
|
export const assertStringifySubtitleStyleDomainRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
89
361
|
const __is = input => {
|
|
90
|
-
const $io0 = input =>
|
|
91
|
-
const value = input[key];
|
|
92
|
-
if (undefined === value)
|
|
93
|
-
return true;
|
|
94
|
-
return true;
|
|
95
|
-
});
|
|
362
|
+
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) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping);
|
|
96
363
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
97
364
|
};
|
|
98
365
|
if (false === __is(input))
|
|
99
366
|
((input, _path, _exceptionable = true) => {
|
|
100
367
|
const $guard = __typia.json.createAssertStringify.guard;
|
|
101
|
-
const $
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
368
|
+
const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.name || "string" === typeof input.name || $guard(_exceptionable, {
|
|
369
|
+
path: _path + ".name",
|
|
370
|
+
expected: "(string | undefined)",
|
|
371
|
+
value: input.name
|
|
372
|
+
}, errorFactory)) && (undefined === input.fontname || "string" === typeof input.fontname || $guard(_exceptionable, {
|
|
373
|
+
path: _path + ".fontname",
|
|
374
|
+
expected: "(string | undefined)",
|
|
375
|
+
value: input.fontname
|
|
376
|
+
}, errorFactory)) && (undefined === input.fontsize || "string" === typeof input.fontsize || $guard(_exceptionable, {
|
|
377
|
+
path: _path + ".fontsize",
|
|
378
|
+
expected: "(string | undefined)",
|
|
379
|
+
value: input.fontsize
|
|
380
|
+
}, errorFactory)) && (undefined === input.primaryColour || "string" === typeof input.primaryColour || $guard(_exceptionable, {
|
|
381
|
+
path: _path + ".primaryColour",
|
|
382
|
+
expected: "(string | undefined)",
|
|
383
|
+
value: input.primaryColour
|
|
384
|
+
}, errorFactory)) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour || $guard(_exceptionable, {
|
|
385
|
+
path: _path + ".secondaryColour",
|
|
386
|
+
expected: "(string | undefined)",
|
|
387
|
+
value: input.secondaryColour
|
|
388
|
+
}, errorFactory)) && (undefined === input.outlineColour || "string" === typeof input.outlineColour || $guard(_exceptionable, {
|
|
389
|
+
path: _path + ".outlineColour",
|
|
390
|
+
expected: "(string | undefined)",
|
|
391
|
+
value: input.outlineColour
|
|
392
|
+
}, errorFactory)) && (undefined === input.backColour || "string" === typeof input.backColour || $guard(_exceptionable, {
|
|
393
|
+
path: _path + ".backColour",
|
|
394
|
+
expected: "(string | undefined)",
|
|
395
|
+
value: input.backColour
|
|
396
|
+
}, errorFactory)) && (undefined === input.bold || "string" === typeof input.bold || $guard(_exceptionable, {
|
|
397
|
+
path: _path + ".bold",
|
|
398
|
+
expected: "(string | undefined)",
|
|
399
|
+
value: input.bold
|
|
400
|
+
}, errorFactory)) && (undefined === input.italic || "string" === typeof input.italic || $guard(_exceptionable, {
|
|
401
|
+
path: _path + ".italic",
|
|
402
|
+
expected: "(string | undefined)",
|
|
403
|
+
value: input.italic
|
|
404
|
+
}, errorFactory)) && (undefined === input.underline || "string" === typeof input.underline || $guard(_exceptionable, {
|
|
405
|
+
path: _path + ".underline",
|
|
406
|
+
expected: "(string | undefined)",
|
|
407
|
+
value: input.underline
|
|
408
|
+
}, errorFactory)) && (undefined === input.strikeOut || "string" === typeof input.strikeOut || $guard(_exceptionable, {
|
|
409
|
+
path: _path + ".strikeOut",
|
|
410
|
+
expected: "(string | undefined)",
|
|
411
|
+
value: input.strikeOut
|
|
412
|
+
}, errorFactory)) && (undefined === input.scaleX || "string" === typeof input.scaleX || $guard(_exceptionable, {
|
|
413
|
+
path: _path + ".scaleX",
|
|
414
|
+
expected: "(string | undefined)",
|
|
415
|
+
value: input.scaleX
|
|
416
|
+
}, errorFactory)) && (undefined === input.scaleY || "string" === typeof input.scaleY || $guard(_exceptionable, {
|
|
417
|
+
path: _path + ".scaleY",
|
|
418
|
+
expected: "(string | undefined)",
|
|
419
|
+
value: input.scaleY
|
|
420
|
+
}, errorFactory)) && (undefined === input.spacing || "string" === typeof input.spacing || $guard(_exceptionable, {
|
|
421
|
+
path: _path + ".spacing",
|
|
422
|
+
expected: "(string | undefined)",
|
|
423
|
+
value: input.spacing
|
|
424
|
+
}, errorFactory)) && (undefined === input.angle || "string" === typeof input.angle || $guard(_exceptionable, {
|
|
425
|
+
path: _path + ".angle",
|
|
426
|
+
expected: "(string | undefined)",
|
|
427
|
+
value: input.angle
|
|
428
|
+
}, errorFactory)) && (undefined === input.borderStyle || "string" === typeof input.borderStyle || $guard(_exceptionable, {
|
|
429
|
+
path: _path + ".borderStyle",
|
|
430
|
+
expected: "(string | undefined)",
|
|
431
|
+
value: input.borderStyle
|
|
432
|
+
}, errorFactory)) && (undefined === input.outline || "string" === typeof input.outline || $guard(_exceptionable, {
|
|
433
|
+
path: _path + ".outline",
|
|
434
|
+
expected: "(string | undefined)",
|
|
435
|
+
value: input.outline
|
|
436
|
+
}, errorFactory)) && (undefined === input.shadow || "string" === typeof input.shadow || $guard(_exceptionable, {
|
|
437
|
+
path: _path + ".shadow",
|
|
438
|
+
expected: "(string | undefined)",
|
|
439
|
+
value: input.shadow
|
|
440
|
+
}, errorFactory)) && (undefined === input.alignment || "string" === typeof input.alignment || $guard(_exceptionable, {
|
|
441
|
+
path: _path + ".alignment",
|
|
442
|
+
expected: "(string | undefined)",
|
|
443
|
+
value: input.alignment
|
|
444
|
+
}, errorFactory)) && (undefined === input.marginL || "string" === typeof input.marginL || $guard(_exceptionable, {
|
|
445
|
+
path: _path + ".marginL",
|
|
446
|
+
expected: "(string | undefined)",
|
|
447
|
+
value: input.marginL
|
|
448
|
+
}, errorFactory)) && (undefined === input.marginR || "string" === typeof input.marginR || $guard(_exceptionable, {
|
|
449
|
+
path: _path + ".marginR",
|
|
450
|
+
expected: "(string | undefined)",
|
|
451
|
+
value: input.marginR
|
|
452
|
+
}, errorFactory)) && (undefined === input.marginV || "string" === typeof input.marginV || $guard(_exceptionable, {
|
|
453
|
+
path: _path + ".marginV",
|
|
454
|
+
expected: "(string | undefined)",
|
|
455
|
+
value: input.marginV
|
|
456
|
+
}, errorFactory)) && (undefined === input.encoding || "string" === typeof input.encoding || $guard(_exceptionable, {
|
|
457
|
+
path: _path + ".encoding",
|
|
458
|
+
expected: "(string | undefined)",
|
|
459
|
+
value: input.encoding
|
|
460
|
+
}, errorFactory)) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow || $guard(_exceptionable, {
|
|
461
|
+
path: _path + ".scaledBorderAndShadow",
|
|
462
|
+
expected: "(boolean | undefined)",
|
|
463
|
+
value: input.scaledBorderAndShadow
|
|
464
|
+
}, errorFactory)) && (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping || $guard(_exceptionable, {
|
|
465
|
+
path: _path + ".futureWordWrapping",
|
|
466
|
+
expected: "(boolean | undefined)",
|
|
467
|
+
value: input.futureWordWrapping
|
|
468
|
+
}, errorFactory));
|
|
108
469
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
109
470
|
path: _path + "",
|
|
110
471
|
expected: "SubtitleStyleDomainRecord",
|
|
@@ -117,7 +478,8 @@ export const assertStringifySubtitleStyleDomainRecord = (input, errorFactory) =>
|
|
|
117
478
|
})(input, "$input", true);
|
|
118
479
|
return input;
|
|
119
480
|
}; const stringify = input => {
|
|
120
|
-
const $
|
|
121
|
-
|
|
481
|
+
const $string = __typia.json.createAssertStringify.string;
|
|
482
|
+
const $tail = __typia.json.createAssertStringify.tail;
|
|
483
|
+
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},`}${undefined === input.scaledBorderAndShadow ? "" : `"scaledBorderAndShadow":${undefined !== input.scaledBorderAndShadow ? input.scaledBorderAndShadow : undefined},`}${undefined === input.futureWordWrapping ? "" : `"futureWordWrapping":${undefined !== input.futureWordWrapping ? input.futureWordWrapping : undefined}`}`)}}`;
|
|
122
484
|
return $so0(input);
|
|
123
485
|
}; return stringify(assert(input, errorFactory)); };
|
package/dist/schema.json
CHANGED
|
@@ -4952,7 +4952,84 @@
|
|
|
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
|
+
"futureWordWrapping": {
|
|
4982
|
+
"type": "boolean"
|
|
4983
|
+
},
|
|
4984
|
+
"italic": {
|
|
4985
|
+
"type": "string"
|
|
4986
|
+
},
|
|
4987
|
+
"marginL": {
|
|
4988
|
+
"type": "string"
|
|
4989
|
+
},
|
|
4990
|
+
"marginR": {
|
|
4991
|
+
"type": "string"
|
|
4992
|
+
},
|
|
4993
|
+
"marginV": {
|
|
4994
|
+
"type": "string"
|
|
4995
|
+
},
|
|
4996
|
+
"name": {
|
|
4997
|
+
"type": "string"
|
|
4998
|
+
},
|
|
4999
|
+
"outline": {
|
|
5000
|
+
"type": "string"
|
|
5001
|
+
},
|
|
5002
|
+
"outlineColour": {
|
|
5003
|
+
"type": "string"
|
|
5004
|
+
},
|
|
5005
|
+
"primaryColour": {
|
|
5006
|
+
"type": "string"
|
|
5007
|
+
},
|
|
5008
|
+
"scaleX": {
|
|
5009
|
+
"type": "string"
|
|
5010
|
+
},
|
|
5011
|
+
"scaleY": {
|
|
5012
|
+
"type": "string"
|
|
5013
|
+
},
|
|
5014
|
+
"scaledBorderAndShadow": {
|
|
5015
|
+
"type": "boolean"
|
|
5016
|
+
},
|
|
5017
|
+
"secondaryColour": {
|
|
5018
|
+
"type": "string"
|
|
5019
|
+
},
|
|
5020
|
+
"shadow": {
|
|
5021
|
+
"type": "string"
|
|
5022
|
+
},
|
|
5023
|
+
"spacing": {
|
|
5024
|
+
"type": "string"
|
|
5025
|
+
},
|
|
5026
|
+
"strikeOut": {
|
|
5027
|
+
"type": "string"
|
|
5028
|
+
},
|
|
5029
|
+
"underline": {
|
|
5030
|
+
"type": "string"
|
|
5031
|
+
}
|
|
5032
|
+
},
|
|
4956
5033
|
"type": "object"
|
|
4957
5034
|
},
|
|
4958
5035
|
"TagPermission": {
|