@nxtedition/types 23.0.31 → 23.0.33

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.
@@ -1,13 +1,13 @@
1
1
  import __typia from "typia";
2
2
  export const isEventRecord = input => {
3
3
  const $io0 = input => (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.duration || "number" === typeof input.duration) && (undefined === input.text || "string" === typeof input.text) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && $io1(input.styleOverrides));
4
- const $io1 = input => undefined === input.alignment || "string" === typeof input.alignment;
4
+ const $io1 = input => (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.alignment || "string" === typeof input.alignment) && (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);
5
5
  return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
6
6
  };
7
7
  export const assertEventRecord = (input, errorFactory) => {
8
8
  const __is = input => {
9
9
  const $io0 = input => (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.duration || "number" === typeof input.duration) && (undefined === input.text || "string" === typeof input.text) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && $io1(input.styleOverrides));
10
- const $io1 = input => undefined === input.alignment || "string" === typeof input.alignment;
10
+ const $io1 = input => (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.alignment || "string" === typeof input.alignment) && (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);
11
11
  return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
12
12
  };
13
13
  if (false === __is(input))
@@ -39,18 +39,70 @@ export const assertEventRecord = (input, errorFactory) => {
39
39
  value: input.style
40
40
  }, errorFactory)) && (undefined === input.styleOverrides || ("object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) || $guard(_exceptionable, {
41
41
  path: _path + ".styleOverrides",
42
- expected: "(EventSubtitleStyle | undefined)",
42
+ expected: "(SubtitleEventStyleOverrides | undefined)",
43
43
  value: input.styleOverrides
44
44
  }, errorFactory)) && $ao1(input.styleOverrides, _path + ".styleOverrides", true && _exceptionable) || $guard(_exceptionable, {
45
45
  path: _path + ".styleOverrides",
46
- expected: "(EventSubtitleStyle | undefined)",
46
+ expected: "(SubtitleEventStyleOverrides | undefined)",
47
47
  value: input.styleOverrides
48
48
  }, errorFactory));
49
- const $ao1 = (input, _path, _exceptionable = true) => undefined === input.alignment || "string" === typeof input.alignment || $guard(_exceptionable, {
49
+ const $ao1 = (input, _path, _exceptionable = true) => (undefined === input.marginL || "string" === typeof input.marginL || $guard(_exceptionable, {
50
+ path: _path + ".marginL",
51
+ expected: "(string | undefined)",
52
+ value: input.marginL
53
+ }, errorFactory)) && (undefined === input.marginR || "string" === typeof input.marginR || $guard(_exceptionable, {
54
+ path: _path + ".marginR",
55
+ expected: "(string | undefined)",
56
+ value: input.marginR
57
+ }, errorFactory)) && (undefined === input.marginV || "string" === typeof input.marginV || $guard(_exceptionable, {
58
+ path: _path + ".marginV",
59
+ expected: "(string | undefined)",
60
+ value: input.marginV
61
+ }, errorFactory)) && (undefined === input.alignment || "string" === typeof input.alignment || $guard(_exceptionable, {
50
62
  path: _path + ".alignment",
51
63
  expected: "(string | undefined)",
52
64
  value: input.alignment
53
- }, errorFactory);
65
+ }, errorFactory)) && (undefined === input.fontname || "string" === typeof input.fontname || $guard(_exceptionable, {
66
+ path: _path + ".fontname",
67
+ expected: "(string | undefined)",
68
+ value: input.fontname
69
+ }, errorFactory)) && (undefined === input.fontsize || "string" === typeof input.fontsize || $guard(_exceptionable, {
70
+ path: _path + ".fontsize",
71
+ expected: "(string | undefined)",
72
+ value: input.fontsize
73
+ }, errorFactory)) && (undefined === input.primaryColour || "string" === typeof input.primaryColour || $guard(_exceptionable, {
74
+ path: _path + ".primaryColour",
75
+ expected: "(string | undefined)",
76
+ value: input.primaryColour
77
+ }, errorFactory)) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour || $guard(_exceptionable, {
78
+ path: _path + ".secondaryColour",
79
+ expected: "(string | undefined)",
80
+ value: input.secondaryColour
81
+ }, errorFactory)) && (undefined === input.outlineColour || "string" === typeof input.outlineColour || $guard(_exceptionable, {
82
+ path: _path + ".outlineColour",
83
+ expected: "(string | undefined)",
84
+ value: input.outlineColour
85
+ }, errorFactory)) && (undefined === input.backColour || "string" === typeof input.backColour || $guard(_exceptionable, {
86
+ path: _path + ".backColour",
87
+ expected: "(string | undefined)",
88
+ value: input.backColour
89
+ }, errorFactory)) && (undefined === input.bold || "string" === typeof input.bold || $guard(_exceptionable, {
90
+ path: _path + ".bold",
91
+ expected: "(string | undefined)",
92
+ value: input.bold
93
+ }, errorFactory)) && (undefined === input.italic || "string" === typeof input.italic || $guard(_exceptionable, {
94
+ path: _path + ".italic",
95
+ expected: "(string | undefined)",
96
+ value: input.italic
97
+ }, errorFactory)) && (undefined === input.underline || "string" === typeof input.underline || $guard(_exceptionable, {
98
+ path: _path + ".underline",
99
+ expected: "(string | undefined)",
100
+ value: input.underline
101
+ }, errorFactory)) && (undefined === input.strikeOut || "string" === typeof input.strikeOut || $guard(_exceptionable, {
102
+ path: _path + ".strikeOut",
103
+ expected: "(string | undefined)",
104
+ value: input.strikeOut
105
+ }, errorFactory));
54
106
  return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
55
107
  path: _path + "",
56
108
  expected: "EventRecord",
@@ -97,9 +149,61 @@ export const randomEventRecord = generator => {
97
149
  ])()
98
150
  });
99
151
  const $ro1 = (_recursive = false, _depth = 0) => ({
152
+ marginL: $pick([
153
+ () => undefined,
154
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
155
+ ])(),
156
+ marginR: $pick([
157
+ () => undefined,
158
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
159
+ ])(),
160
+ marginV: $pick([
161
+ () => undefined,
162
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
163
+ ])(),
100
164
  alignment: $pick([
101
165
  () => undefined,
102
166
  () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
167
+ ])(),
168
+ fontname: $pick([
169
+ () => undefined,
170
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
171
+ ])(),
172
+ fontsize: $pick([
173
+ () => undefined,
174
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
175
+ ])(),
176
+ primaryColour: $pick([
177
+ () => undefined,
178
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
179
+ ])(),
180
+ secondaryColour: $pick([
181
+ () => undefined,
182
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
183
+ ])(),
184
+ outlineColour: $pick([
185
+ () => undefined,
186
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
187
+ ])(),
188
+ backColour: $pick([
189
+ () => undefined,
190
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
191
+ ])(),
192
+ bold: $pick([
193
+ () => undefined,
194
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
195
+ ])(),
196
+ italic: $pick([
197
+ () => undefined,
198
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
199
+ ])(),
200
+ underline: $pick([
201
+ () => undefined,
202
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
203
+ ])(),
204
+ strikeOut: $pick([
205
+ () => undefined,
206
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
103
207
  ])()
104
208
  });
105
209
  return $ro0();
@@ -107,7 +211,7 @@ export const randomEventRecord = generator => {
107
211
  export const assertGuardEventRecord = (input, errorFactory) => {
108
212
  const __is = input => {
109
213
  const $io0 = input => (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.duration || "number" === typeof input.duration) && (undefined === input.text || "string" === typeof input.text) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && $io1(input.styleOverrides));
110
- const $io1 = input => undefined === input.alignment || "string" === typeof input.alignment;
214
+ const $io1 = input => (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.alignment || "string" === typeof input.alignment) && (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);
111
215
  return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
112
216
  };
113
217
  if (false === __is(input))
@@ -139,18 +243,70 @@ export const assertGuardEventRecord = (input, errorFactory) => {
139
243
  value: input.style
140
244
  }, errorFactory)) && (undefined === input.styleOverrides || ("object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) || $guard(_exceptionable, {
141
245
  path: _path + ".styleOverrides",
142
- expected: "(EventSubtitleStyle | undefined)",
246
+ expected: "(SubtitleEventStyleOverrides | undefined)",
143
247
  value: input.styleOverrides
144
248
  }, errorFactory)) && $ao1(input.styleOverrides, _path + ".styleOverrides", true && _exceptionable) || $guard(_exceptionable, {
145
249
  path: _path + ".styleOverrides",
146
- expected: "(EventSubtitleStyle | undefined)",
250
+ expected: "(SubtitleEventStyleOverrides | undefined)",
147
251
  value: input.styleOverrides
148
252
  }, errorFactory));
149
- const $ao1 = (input, _path, _exceptionable = true) => undefined === input.alignment || "string" === typeof input.alignment || $guard(_exceptionable, {
253
+ const $ao1 = (input, _path, _exceptionable = true) => (undefined === input.marginL || "string" === typeof input.marginL || $guard(_exceptionable, {
254
+ path: _path + ".marginL",
255
+ expected: "(string | undefined)",
256
+ value: input.marginL
257
+ }, errorFactory)) && (undefined === input.marginR || "string" === typeof input.marginR || $guard(_exceptionable, {
258
+ path: _path + ".marginR",
259
+ expected: "(string | undefined)",
260
+ value: input.marginR
261
+ }, errorFactory)) && (undefined === input.marginV || "string" === typeof input.marginV || $guard(_exceptionable, {
262
+ path: _path + ".marginV",
263
+ expected: "(string | undefined)",
264
+ value: input.marginV
265
+ }, errorFactory)) && (undefined === input.alignment || "string" === typeof input.alignment || $guard(_exceptionable, {
150
266
  path: _path + ".alignment",
151
267
  expected: "(string | undefined)",
152
268
  value: input.alignment
153
- }, errorFactory);
269
+ }, errorFactory)) && (undefined === input.fontname || "string" === typeof input.fontname || $guard(_exceptionable, {
270
+ path: _path + ".fontname",
271
+ expected: "(string | undefined)",
272
+ value: input.fontname
273
+ }, errorFactory)) && (undefined === input.fontsize || "string" === typeof input.fontsize || $guard(_exceptionable, {
274
+ path: _path + ".fontsize",
275
+ expected: "(string | undefined)",
276
+ value: input.fontsize
277
+ }, errorFactory)) && (undefined === input.primaryColour || "string" === typeof input.primaryColour || $guard(_exceptionable, {
278
+ path: _path + ".primaryColour",
279
+ expected: "(string | undefined)",
280
+ value: input.primaryColour
281
+ }, errorFactory)) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour || $guard(_exceptionable, {
282
+ path: _path + ".secondaryColour",
283
+ expected: "(string | undefined)",
284
+ value: input.secondaryColour
285
+ }, errorFactory)) && (undefined === input.outlineColour || "string" === typeof input.outlineColour || $guard(_exceptionable, {
286
+ path: _path + ".outlineColour",
287
+ expected: "(string | undefined)",
288
+ value: input.outlineColour
289
+ }, errorFactory)) && (undefined === input.backColour || "string" === typeof input.backColour || $guard(_exceptionable, {
290
+ path: _path + ".backColour",
291
+ expected: "(string | undefined)",
292
+ value: input.backColour
293
+ }, errorFactory)) && (undefined === input.bold || "string" === typeof input.bold || $guard(_exceptionable, {
294
+ path: _path + ".bold",
295
+ expected: "(string | undefined)",
296
+ value: input.bold
297
+ }, errorFactory)) && (undefined === input.italic || "string" === typeof input.italic || $guard(_exceptionable, {
298
+ path: _path + ".italic",
299
+ expected: "(string | undefined)",
300
+ value: input.italic
301
+ }, errorFactory)) && (undefined === input.underline || "string" === typeof input.underline || $guard(_exceptionable, {
302
+ path: _path + ".underline",
303
+ expected: "(string | undefined)",
304
+ value: input.underline
305
+ }, errorFactory)) && (undefined === input.strikeOut || "string" === typeof input.strikeOut || $guard(_exceptionable, {
306
+ path: _path + ".strikeOut",
307
+ expected: "(string | undefined)",
308
+ value: input.strikeOut
309
+ }, errorFactory));
154
310
  return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
155
311
  path: _path + "",
156
312
  expected: "EventRecord",
@@ -163,17 +319,17 @@ export const assertGuardEventRecord = (input, errorFactory) => {
163
319
  })(input, "$input", true);
164
320
  };
165
321
  export const stringifyEventRecord = input => {
166
- const $io1 = input => undefined === input.alignment || "string" === typeof input.alignment;
322
+ const $io1 = input => (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.alignment || "string" === typeof input.alignment) && (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);
167
323
  const $string = __typia.json.createStringify.string;
168
324
  const $tail = __typia.json.createStringify.tail;
169
325
  const $so0 = input => `{${$tail(`${undefined === input.start ? "" : `"start":${undefined !== input.start ? input.start : undefined},`}${undefined === input.end ? "" : `"end":${undefined !== input.end ? input.end : undefined},`}${undefined === input.duration ? "" : `"duration":${undefined !== input.duration ? input.duration : undefined},`}${undefined === input.text ? "" : `"text":${undefined !== input.text ? $string(input.text) : undefined},`}${undefined === input.lang ? "" : `"lang":${undefined !== input.lang ? $string(input.lang) : undefined},`}${undefined === input.style ? "" : `"style":${undefined !== input.style ? $string(input.style) : undefined},`}${undefined === input.styleOverrides ? "" : `"styleOverrides":${undefined !== input.styleOverrides ? $so1(input.styleOverrides) : undefined}`}`)}}`;
170
- const $so1 = input => `{${$tail(`${undefined === input.alignment ? "" : `"alignment":${undefined !== input.alignment ? $string(input.alignment) : undefined}`}`)}}`;
326
+ const $so1 = input => `{${$tail(`${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.alignment ? "" : `"alignment":${undefined !== input.alignment ? $string(input.alignment) : 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}`}`)}}`;
171
327
  return $so0(input);
172
328
  };
173
329
  export const assertStringifyEventRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
174
330
  const __is = input => {
175
331
  const $io0 = input => (undefined === input.start || "number" === typeof input.start && !Number.isNaN(input.start)) && (undefined === input.end || "number" === typeof input.end && !Number.isNaN(input.end)) && (undefined === input.duration || "number" === typeof input.duration && !Number.isNaN(input.duration)) && (undefined === input.text || "string" === typeof input.text) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && $io1(input.styleOverrides));
176
- const $io1 = input => undefined === input.alignment || "string" === typeof input.alignment;
332
+ const $io1 = input => (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.alignment || "string" === typeof input.alignment) && (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);
177
333
  return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
178
334
  };
179
335
  if (false === __is(input))
@@ -205,18 +361,70 @@ export const assertStringifyEventRecord = (input, errorFactory) => { const asser
205
361
  value: input.style
206
362
  }, errorFactory)) && (undefined === input.styleOverrides || ("object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) || $guard(_exceptionable, {
207
363
  path: _path + ".styleOverrides",
208
- expected: "(EventSubtitleStyle | undefined)",
364
+ expected: "(SubtitleEventStyleOverrides | undefined)",
209
365
  value: input.styleOverrides
210
366
  }, errorFactory)) && $ao1(input.styleOverrides, _path + ".styleOverrides", true && _exceptionable) || $guard(_exceptionable, {
211
367
  path: _path + ".styleOverrides",
212
- expected: "(EventSubtitleStyle | undefined)",
368
+ expected: "(SubtitleEventStyleOverrides | undefined)",
213
369
  value: input.styleOverrides
214
370
  }, errorFactory));
215
- const $ao1 = (input, _path, _exceptionable = true) => undefined === input.alignment || "string" === typeof input.alignment || $guard(_exceptionable, {
371
+ const $ao1 = (input, _path, _exceptionable = true) => (undefined === input.marginL || "string" === typeof input.marginL || $guard(_exceptionable, {
372
+ path: _path + ".marginL",
373
+ expected: "(string | undefined)",
374
+ value: input.marginL
375
+ }, errorFactory)) && (undefined === input.marginR || "string" === typeof input.marginR || $guard(_exceptionable, {
376
+ path: _path + ".marginR",
377
+ expected: "(string | undefined)",
378
+ value: input.marginR
379
+ }, errorFactory)) && (undefined === input.marginV || "string" === typeof input.marginV || $guard(_exceptionable, {
380
+ path: _path + ".marginV",
381
+ expected: "(string | undefined)",
382
+ value: input.marginV
383
+ }, errorFactory)) && (undefined === input.alignment || "string" === typeof input.alignment || $guard(_exceptionable, {
216
384
  path: _path + ".alignment",
217
385
  expected: "(string | undefined)",
218
386
  value: input.alignment
219
- }, errorFactory);
387
+ }, errorFactory)) && (undefined === input.fontname || "string" === typeof input.fontname || $guard(_exceptionable, {
388
+ path: _path + ".fontname",
389
+ expected: "(string | undefined)",
390
+ value: input.fontname
391
+ }, errorFactory)) && (undefined === input.fontsize || "string" === typeof input.fontsize || $guard(_exceptionable, {
392
+ path: _path + ".fontsize",
393
+ expected: "(string | undefined)",
394
+ value: input.fontsize
395
+ }, errorFactory)) && (undefined === input.primaryColour || "string" === typeof input.primaryColour || $guard(_exceptionable, {
396
+ path: _path + ".primaryColour",
397
+ expected: "(string | undefined)",
398
+ value: input.primaryColour
399
+ }, errorFactory)) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour || $guard(_exceptionable, {
400
+ path: _path + ".secondaryColour",
401
+ expected: "(string | undefined)",
402
+ value: input.secondaryColour
403
+ }, errorFactory)) && (undefined === input.outlineColour || "string" === typeof input.outlineColour || $guard(_exceptionable, {
404
+ path: _path + ".outlineColour",
405
+ expected: "(string | undefined)",
406
+ value: input.outlineColour
407
+ }, errorFactory)) && (undefined === input.backColour || "string" === typeof input.backColour || $guard(_exceptionable, {
408
+ path: _path + ".backColour",
409
+ expected: "(string | undefined)",
410
+ value: input.backColour
411
+ }, errorFactory)) && (undefined === input.bold || "string" === typeof input.bold || $guard(_exceptionable, {
412
+ path: _path + ".bold",
413
+ expected: "(string | undefined)",
414
+ value: input.bold
415
+ }, errorFactory)) && (undefined === input.italic || "string" === typeof input.italic || $guard(_exceptionable, {
416
+ path: _path + ".italic",
417
+ expected: "(string | undefined)",
418
+ value: input.italic
419
+ }, errorFactory)) && (undefined === input.underline || "string" === typeof input.underline || $guard(_exceptionable, {
420
+ path: _path + ".underline",
421
+ expected: "(string | undefined)",
422
+ value: input.underline
423
+ }, errorFactory)) && (undefined === input.strikeOut || "string" === typeof input.strikeOut || $guard(_exceptionable, {
424
+ path: _path + ".strikeOut",
425
+ expected: "(string | undefined)",
426
+ value: input.strikeOut
427
+ }, errorFactory));
220
428
  return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
221
429
  path: _path + "",
222
430
  expected: "EventRecord",
@@ -229,103 +437,311 @@ export const assertStringifyEventRecord = (input, errorFactory) => { const asser
229
437
  })(input, "$input", true);
230
438
  return input;
231
439
  }; const stringify = input => {
232
- const $io1 = input => undefined === input.alignment || "string" === typeof input.alignment;
440
+ const $io1 = input => (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.alignment || "string" === typeof input.alignment) && (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);
233
441
  const $string = __typia.json.createAssertStringify.string;
234
442
  const $tail = __typia.json.createAssertStringify.tail;
235
443
  const $so0 = input => `{${$tail(`${undefined === input.start ? "" : `"start":${undefined !== input.start ? input.start : undefined},`}${undefined === input.end ? "" : `"end":${undefined !== input.end ? input.end : undefined},`}${undefined === input.duration ? "" : `"duration":${undefined !== input.duration ? input.duration : undefined},`}${undefined === input.text ? "" : `"text":${undefined !== input.text ? $string(input.text) : undefined},`}${undefined === input.lang ? "" : `"lang":${undefined !== input.lang ? $string(input.lang) : undefined},`}${undefined === input.style ? "" : `"style":${undefined !== input.style ? $string(input.style) : undefined},`}${undefined === input.styleOverrides ? "" : `"styleOverrides":${undefined !== input.styleOverrides ? $so1(input.styleOverrides) : undefined}`}`)}}`;
236
- const $so1 = input => `{${$tail(`${undefined === input.alignment ? "" : `"alignment":${undefined !== input.alignment ? $string(input.alignment) : undefined}`}`)}}`;
444
+ const $so1 = input => `{${$tail(`${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.alignment ? "" : `"alignment":${undefined !== input.alignment ? $string(input.alignment) : 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}`}`)}}`;
237
445
  return $so0(input);
238
446
  }; return stringify(assert(input, errorFactory)); };
239
- export const isEventSubtitleStyle = input => {
240
- const $io0 = input => undefined === input.alignment || "string" === typeof input.alignment;
447
+ export const isSubtitleEventStyleOverrides = input => {
448
+ const $io0 = input => (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.alignment || "string" === typeof input.alignment) && (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);
241
449
  return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
242
450
  };
243
- export const assertEventSubtitleStyle = (input, errorFactory) => {
451
+ export const assertSubtitleEventStyleOverrides = (input, errorFactory) => {
244
452
  const __is = input => {
245
- const $io0 = input => undefined === input.alignment || "string" === typeof input.alignment;
453
+ const $io0 = input => (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.alignment || "string" === typeof input.alignment) && (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);
246
454
  return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
247
455
  };
248
456
  if (false === __is(input))
249
457
  ((input, _path, _exceptionable = true) => {
250
458
  const $guard = __typia.createAssert.guard;
251
- const $ao0 = (input, _path, _exceptionable = true) => undefined === input.alignment || "string" === typeof input.alignment || $guard(_exceptionable, {
459
+ const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.marginL || "string" === typeof input.marginL || $guard(_exceptionable, {
460
+ path: _path + ".marginL",
461
+ expected: "(string | undefined)",
462
+ value: input.marginL
463
+ }, errorFactory)) && (undefined === input.marginR || "string" === typeof input.marginR || $guard(_exceptionable, {
464
+ path: _path + ".marginR",
465
+ expected: "(string | undefined)",
466
+ value: input.marginR
467
+ }, errorFactory)) && (undefined === input.marginV || "string" === typeof input.marginV || $guard(_exceptionable, {
468
+ path: _path + ".marginV",
469
+ expected: "(string | undefined)",
470
+ value: input.marginV
471
+ }, errorFactory)) && (undefined === input.alignment || "string" === typeof input.alignment || $guard(_exceptionable, {
252
472
  path: _path + ".alignment",
253
473
  expected: "(string | undefined)",
254
474
  value: input.alignment
255
- }, errorFactory);
475
+ }, errorFactory)) && (undefined === input.fontname || "string" === typeof input.fontname || $guard(_exceptionable, {
476
+ path: _path + ".fontname",
477
+ expected: "(string | undefined)",
478
+ value: input.fontname
479
+ }, errorFactory)) && (undefined === input.fontsize || "string" === typeof input.fontsize || $guard(_exceptionable, {
480
+ path: _path + ".fontsize",
481
+ expected: "(string | undefined)",
482
+ value: input.fontsize
483
+ }, errorFactory)) && (undefined === input.primaryColour || "string" === typeof input.primaryColour || $guard(_exceptionable, {
484
+ path: _path + ".primaryColour",
485
+ expected: "(string | undefined)",
486
+ value: input.primaryColour
487
+ }, errorFactory)) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour || $guard(_exceptionable, {
488
+ path: _path + ".secondaryColour",
489
+ expected: "(string | undefined)",
490
+ value: input.secondaryColour
491
+ }, errorFactory)) && (undefined === input.outlineColour || "string" === typeof input.outlineColour || $guard(_exceptionable, {
492
+ path: _path + ".outlineColour",
493
+ expected: "(string | undefined)",
494
+ value: input.outlineColour
495
+ }, errorFactory)) && (undefined === input.backColour || "string" === typeof input.backColour || $guard(_exceptionable, {
496
+ path: _path + ".backColour",
497
+ expected: "(string | undefined)",
498
+ value: input.backColour
499
+ }, errorFactory)) && (undefined === input.bold || "string" === typeof input.bold || $guard(_exceptionable, {
500
+ path: _path + ".bold",
501
+ expected: "(string | undefined)",
502
+ value: input.bold
503
+ }, errorFactory)) && (undefined === input.italic || "string" === typeof input.italic || $guard(_exceptionable, {
504
+ path: _path + ".italic",
505
+ expected: "(string | undefined)",
506
+ value: input.italic
507
+ }, errorFactory)) && (undefined === input.underline || "string" === typeof input.underline || $guard(_exceptionable, {
508
+ path: _path + ".underline",
509
+ expected: "(string | undefined)",
510
+ value: input.underline
511
+ }, errorFactory)) && (undefined === input.strikeOut || "string" === typeof input.strikeOut || $guard(_exceptionable, {
512
+ path: _path + ".strikeOut",
513
+ expected: "(string | undefined)",
514
+ value: input.strikeOut
515
+ }, errorFactory));
256
516
  return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
257
517
  path: _path + "",
258
- expected: "EventSubtitleStyle",
518
+ expected: "SubtitleEventStyleOverrides",
259
519
  value: input
260
520
  }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
261
521
  path: _path + "",
262
- expected: "EventSubtitleStyle",
522
+ expected: "SubtitleEventStyleOverrides",
263
523
  value: input
264
524
  }, errorFactory);
265
525
  })(input, "$input", true);
266
526
  return input;
267
527
  };
268
- export const randomEventSubtitleStyle = generator => {
528
+ export const randomSubtitleEventStyleOverrides = generator => {
269
529
  const $generator = __typia.createRandom.generator;
270
530
  const $pick = __typia.createRandom.pick;
271
531
  const $ro0 = (_recursive = false, _depth = 0) => ({
532
+ marginL: $pick([
533
+ () => undefined,
534
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
535
+ ])(),
536
+ marginR: $pick([
537
+ () => undefined,
538
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
539
+ ])(),
540
+ marginV: $pick([
541
+ () => undefined,
542
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
543
+ ])(),
272
544
  alignment: $pick([
273
545
  () => undefined,
274
546
  () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
547
+ ])(),
548
+ fontname: $pick([
549
+ () => undefined,
550
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
551
+ ])(),
552
+ fontsize: $pick([
553
+ () => undefined,
554
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
555
+ ])(),
556
+ primaryColour: $pick([
557
+ () => undefined,
558
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
559
+ ])(),
560
+ secondaryColour: $pick([
561
+ () => undefined,
562
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
563
+ ])(),
564
+ outlineColour: $pick([
565
+ () => undefined,
566
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
567
+ ])(),
568
+ backColour: $pick([
569
+ () => undefined,
570
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
571
+ ])(),
572
+ bold: $pick([
573
+ () => undefined,
574
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
575
+ ])(),
576
+ italic: $pick([
577
+ () => undefined,
578
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
579
+ ])(),
580
+ underline: $pick([
581
+ () => undefined,
582
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
583
+ ])(),
584
+ strikeOut: $pick([
585
+ () => undefined,
586
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
275
587
  ])()
276
588
  });
277
589
  return $ro0();
278
590
  };
279
- export const assertGuardEventSubtitleStyle = (input, errorFactory) => {
591
+ export const assertGuardSubtitleEventStyleOverrides = (input, errorFactory) => {
280
592
  const __is = input => {
281
- const $io0 = input => undefined === input.alignment || "string" === typeof input.alignment;
593
+ const $io0 = input => (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.alignment || "string" === typeof input.alignment) && (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);
282
594
  return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
283
595
  };
284
596
  if (false === __is(input))
285
597
  ((input, _path, _exceptionable = true) => {
286
598
  const $guard = __typia.createAssertGuard.guard;
287
- const $ao0 = (input, _path, _exceptionable = true) => undefined === input.alignment || "string" === typeof input.alignment || $guard(_exceptionable, {
599
+ const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.marginL || "string" === typeof input.marginL || $guard(_exceptionable, {
600
+ path: _path + ".marginL",
601
+ expected: "(string | undefined)",
602
+ value: input.marginL
603
+ }, errorFactory)) && (undefined === input.marginR || "string" === typeof input.marginR || $guard(_exceptionable, {
604
+ path: _path + ".marginR",
605
+ expected: "(string | undefined)",
606
+ value: input.marginR
607
+ }, errorFactory)) && (undefined === input.marginV || "string" === typeof input.marginV || $guard(_exceptionable, {
608
+ path: _path + ".marginV",
609
+ expected: "(string | undefined)",
610
+ value: input.marginV
611
+ }, errorFactory)) && (undefined === input.alignment || "string" === typeof input.alignment || $guard(_exceptionable, {
288
612
  path: _path + ".alignment",
289
613
  expected: "(string | undefined)",
290
614
  value: input.alignment
291
- }, errorFactory);
615
+ }, errorFactory)) && (undefined === input.fontname || "string" === typeof input.fontname || $guard(_exceptionable, {
616
+ path: _path + ".fontname",
617
+ expected: "(string | undefined)",
618
+ value: input.fontname
619
+ }, errorFactory)) && (undefined === input.fontsize || "string" === typeof input.fontsize || $guard(_exceptionable, {
620
+ path: _path + ".fontsize",
621
+ expected: "(string | undefined)",
622
+ value: input.fontsize
623
+ }, errorFactory)) && (undefined === input.primaryColour || "string" === typeof input.primaryColour || $guard(_exceptionable, {
624
+ path: _path + ".primaryColour",
625
+ expected: "(string | undefined)",
626
+ value: input.primaryColour
627
+ }, errorFactory)) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour || $guard(_exceptionable, {
628
+ path: _path + ".secondaryColour",
629
+ expected: "(string | undefined)",
630
+ value: input.secondaryColour
631
+ }, errorFactory)) && (undefined === input.outlineColour || "string" === typeof input.outlineColour || $guard(_exceptionable, {
632
+ path: _path + ".outlineColour",
633
+ expected: "(string | undefined)",
634
+ value: input.outlineColour
635
+ }, errorFactory)) && (undefined === input.backColour || "string" === typeof input.backColour || $guard(_exceptionable, {
636
+ path: _path + ".backColour",
637
+ expected: "(string | undefined)",
638
+ value: input.backColour
639
+ }, errorFactory)) && (undefined === input.bold || "string" === typeof input.bold || $guard(_exceptionable, {
640
+ path: _path + ".bold",
641
+ expected: "(string | undefined)",
642
+ value: input.bold
643
+ }, errorFactory)) && (undefined === input.italic || "string" === typeof input.italic || $guard(_exceptionable, {
644
+ path: _path + ".italic",
645
+ expected: "(string | undefined)",
646
+ value: input.italic
647
+ }, errorFactory)) && (undefined === input.underline || "string" === typeof input.underline || $guard(_exceptionable, {
648
+ path: _path + ".underline",
649
+ expected: "(string | undefined)",
650
+ value: input.underline
651
+ }, errorFactory)) && (undefined === input.strikeOut || "string" === typeof input.strikeOut || $guard(_exceptionable, {
652
+ path: _path + ".strikeOut",
653
+ expected: "(string | undefined)",
654
+ value: input.strikeOut
655
+ }, errorFactory));
292
656
  return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
293
657
  path: _path + "",
294
- expected: "EventSubtitleStyle",
658
+ expected: "SubtitleEventStyleOverrides",
295
659
  value: input
296
660
  }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
297
661
  path: _path + "",
298
- expected: "EventSubtitleStyle",
662
+ expected: "SubtitleEventStyleOverrides",
299
663
  value: input
300
664
  }, errorFactory);
301
665
  })(input, "$input", true);
302
666
  };
303
- export const stringifyEventSubtitleStyle = input => {
667
+ export const stringifySubtitleEventStyleOverrides = input => {
304
668
  const $string = __typia.json.createStringify.string;
305
669
  const $tail = __typia.json.createStringify.tail;
306
- const $so0 = input => `{${$tail(`${undefined === input.alignment ? "" : `"alignment":${undefined !== input.alignment ? $string(input.alignment) : undefined}`}`)}}`;
670
+ const $so0 = input => `{${$tail(`${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.alignment ? "" : `"alignment":${undefined !== input.alignment ? $string(input.alignment) : 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}`}`)}}`;
307
671
  return $so0(input);
308
672
  };
309
- export const assertStringifyEventSubtitleStyle = (input, errorFactory) => { const assert = (input, errorFactory) => {
673
+ export const assertStringifySubtitleEventStyleOverrides = (input, errorFactory) => { const assert = (input, errorFactory) => {
310
674
  const __is = input => {
311
- const $io0 = input => undefined === input.alignment || "string" === typeof input.alignment;
675
+ const $io0 = input => (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.alignment || "string" === typeof input.alignment) && (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);
312
676
  return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
313
677
  };
314
678
  if (false === __is(input))
315
679
  ((input, _path, _exceptionable = true) => {
316
680
  const $guard = __typia.json.createAssertStringify.guard;
317
- const $ao0 = (input, _path, _exceptionable = true) => undefined === input.alignment || "string" === typeof input.alignment || $guard(_exceptionable, {
681
+ const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.marginL || "string" === typeof input.marginL || $guard(_exceptionable, {
682
+ path: _path + ".marginL",
683
+ expected: "(string | undefined)",
684
+ value: input.marginL
685
+ }, errorFactory)) && (undefined === input.marginR || "string" === typeof input.marginR || $guard(_exceptionable, {
686
+ path: _path + ".marginR",
687
+ expected: "(string | undefined)",
688
+ value: input.marginR
689
+ }, errorFactory)) && (undefined === input.marginV || "string" === typeof input.marginV || $guard(_exceptionable, {
690
+ path: _path + ".marginV",
691
+ expected: "(string | undefined)",
692
+ value: input.marginV
693
+ }, errorFactory)) && (undefined === input.alignment || "string" === typeof input.alignment || $guard(_exceptionable, {
318
694
  path: _path + ".alignment",
319
695
  expected: "(string | undefined)",
320
696
  value: input.alignment
321
- }, errorFactory);
697
+ }, errorFactory)) && (undefined === input.fontname || "string" === typeof input.fontname || $guard(_exceptionable, {
698
+ path: _path + ".fontname",
699
+ expected: "(string | undefined)",
700
+ value: input.fontname
701
+ }, errorFactory)) && (undefined === input.fontsize || "string" === typeof input.fontsize || $guard(_exceptionable, {
702
+ path: _path + ".fontsize",
703
+ expected: "(string | undefined)",
704
+ value: input.fontsize
705
+ }, errorFactory)) && (undefined === input.primaryColour || "string" === typeof input.primaryColour || $guard(_exceptionable, {
706
+ path: _path + ".primaryColour",
707
+ expected: "(string | undefined)",
708
+ value: input.primaryColour
709
+ }, errorFactory)) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour || $guard(_exceptionable, {
710
+ path: _path + ".secondaryColour",
711
+ expected: "(string | undefined)",
712
+ value: input.secondaryColour
713
+ }, errorFactory)) && (undefined === input.outlineColour || "string" === typeof input.outlineColour || $guard(_exceptionable, {
714
+ path: _path + ".outlineColour",
715
+ expected: "(string | undefined)",
716
+ value: input.outlineColour
717
+ }, errorFactory)) && (undefined === input.backColour || "string" === typeof input.backColour || $guard(_exceptionable, {
718
+ path: _path + ".backColour",
719
+ expected: "(string | undefined)",
720
+ value: input.backColour
721
+ }, errorFactory)) && (undefined === input.bold || "string" === typeof input.bold || $guard(_exceptionable, {
722
+ path: _path + ".bold",
723
+ expected: "(string | undefined)",
724
+ value: input.bold
725
+ }, errorFactory)) && (undefined === input.italic || "string" === typeof input.italic || $guard(_exceptionable, {
726
+ path: _path + ".italic",
727
+ expected: "(string | undefined)",
728
+ value: input.italic
729
+ }, errorFactory)) && (undefined === input.underline || "string" === typeof input.underline || $guard(_exceptionable, {
730
+ path: _path + ".underline",
731
+ expected: "(string | undefined)",
732
+ value: input.underline
733
+ }, errorFactory)) && (undefined === input.strikeOut || "string" === typeof input.strikeOut || $guard(_exceptionable, {
734
+ path: _path + ".strikeOut",
735
+ expected: "(string | undefined)",
736
+ value: input.strikeOut
737
+ }, errorFactory));
322
738
  return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
323
739
  path: _path + "",
324
- expected: "EventSubtitleStyle",
740
+ expected: "SubtitleEventStyleOverrides",
325
741
  value: input
326
742
  }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
327
743
  path: _path + "",
328
- expected: "EventSubtitleStyle",
744
+ expected: "SubtitleEventStyleOverrides",
329
745
  value: input
330
746
  }, errorFactory);
331
747
  })(input, "$input", true);
@@ -333,6 +749,6 @@ export const assertStringifyEventSubtitleStyle = (input, errorFactory) => { cons
333
749
  }; const stringify = input => {
334
750
  const $string = __typia.json.createAssertStringify.string;
335
751
  const $tail = __typia.json.createAssertStringify.tail;
336
- const $so0 = input => `{${$tail(`${undefined === input.alignment ? "" : `"alignment":${undefined !== input.alignment ? $string(input.alignment) : undefined}`}`)}}`;
752
+ const $so0 = input => `{${$tail(`${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.alignment ? "" : `"alignment":${undefined !== input.alignment ? $string(input.alignment) : 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}`}`)}}`;
337
753
  return $so0(input);
338
754
  }; return stringify(assert(input, errorFactory)); };