@nxtedition/types 23.1.8 → 23.1.10

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.
@@ -2010,7 +2010,7 @@ function _validateExactRecord(name, input) {
2010
2010
  if (undefined === value)
2011
2011
  return true;
2012
2012
  return "string" === typeof value;
2013
- }); const _io2 = input => "string" === typeof input.family && (undefined === input.asset || "string" === typeof input.asset) && (undefined === input.weight || "bold" === input.weight || "normal" === input.weight) && (undefined === input.style || "italic" === input.style || "normal" === input.style); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.defaultLanguage || "string" === typeof input.defaultLanguage || _report(_exceptionable, {
2013
+ }); const _io2 = input => "string" === typeof input.family && (undefined === input.asset || "string" === typeof input.asset) && (undefined === input.weight || "normal" === input.weight || "bold" === input.weight) && (undefined === input.style || "normal" === input.style || "italic" === input.style); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.defaultLanguage || "string" === typeof input.defaultLanguage || _report(_exceptionable, {
2014
2014
  path: _path + ".defaultLanguage",
2015
2015
  expected: "(string | undefined)",
2016
2016
  value: input.defaultLanguage
@@ -2055,11 +2055,11 @@ function _validateExactRecord(name, input) {
2055
2055
  path: _path + ".asset",
2056
2056
  expected: "(string | undefined)",
2057
2057
  value: input.asset
2058
- }), undefined === input.weight || "bold" === input.weight || "normal" === input.weight || _report(_exceptionable, {
2058
+ }), undefined === input.weight || "normal" === input.weight || "bold" === input.weight || _report(_exceptionable, {
2059
2059
  path: _path + ".weight",
2060
2060
  expected: "(\"bold\" | \"normal\" | undefined)",
2061
2061
  value: input.weight
2062
- }), undefined === input.style || "italic" === input.style || "normal" === input.style || _report(_exceptionable, {
2062
+ }), undefined === input.style || "normal" === input.style || "italic" === input.style || _report(_exceptionable, {
2063
2063
  path: _path + ".style",
2064
2064
  expected: "(\"italic\" | \"normal\" | undefined)",
2065
2065
  value: input.style
@@ -2098,7 +2098,7 @@ function _validateExactRecord(name, input) {
2098
2098
  if (undefined === value)
2099
2099
  return true;
2100
2100
  return "string" === typeof value;
2101
- }); const _io2 = input => "string" === typeof input.family && (undefined === input.asset || "string" === typeof input.asset) && (undefined === input.weight || "bold" === input.weight || "normal" === input.weight) && (undefined === input.style || "italic" === input.style || "normal" === input.style); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.defaultLanguage || "string" === typeof input.defaultLanguage || _report(_exceptionable, {
2101
+ }); const _io2 = input => "string" === typeof input.family && (undefined === input.asset || "string" === typeof input.asset) && (undefined === input.weight || "normal" === input.weight || "bold" === input.weight) && (undefined === input.style || "normal" === input.style || "italic" === input.style); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.defaultLanguage || "string" === typeof input.defaultLanguage || _report(_exceptionable, {
2102
2102
  path: _path + ".defaultLanguage",
2103
2103
  expected: "(string | undefined)",
2104
2104
  value: input.defaultLanguage
@@ -2143,11 +2143,11 @@ function _validateExactRecord(name, input) {
2143
2143
  path: _path + ".asset",
2144
2144
  expected: "(string | undefined)",
2145
2145
  value: input.asset
2146
- }), undefined === input.weight || "bold" === input.weight || "normal" === input.weight || _report(_exceptionable, {
2146
+ }), undefined === input.weight || "normal" === input.weight || "bold" === input.weight || _report(_exceptionable, {
2147
2147
  path: _path + ".weight",
2148
2148
  expected: "(\"bold\" | \"normal\" | undefined)",
2149
2149
  value: input.weight
2150
- }), undefined === input.style || "italic" === input.style || "normal" === input.style || _report(_exceptionable, {
2150
+ }), undefined === input.style || "normal" === input.style || "italic" === input.style || _report(_exceptionable, {
2151
2151
  path: _path + ".style",
2152
2152
  expected: "(\"italic\" | \"normal\" | undefined)",
2153
2153
  value: input.style
@@ -2725,7 +2725,7 @@ function _validateExactRecord(name, input) {
2725
2725
  }; })()(input);
2726
2726
  }
2727
2727
  case "media.fonts?": {
2728
- return (() => { const _io0 = input => (undefined === input.fontFaces || Array.isArray(input.fontFaces) && input.fontFaces.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && (undefined === input.fontFamilyNames || Array.isArray(input.fontFamilyNames) && input.fontFamilyNames.every(elem => "string" === typeof elem)); const _io1 = input => "string" === typeof input.name && "string" === typeof input.family && "string" === typeof input.asset && "string" === typeof input.url && "number" === typeof input.weight && ("italic" === input.style || "normal" === input.style) && (Array.isArray(input.ranges) && input.ranges.every(elem => Array.isArray(elem) && (elem.length === 2 && "number" === typeof elem[0] && "number" === typeof elem[1]))); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.fontFaces || (Array.isArray(input.fontFaces) || _report(_exceptionable, {
2728
+ return (() => { const _io0 = input => (undefined === input.fontFaces || Array.isArray(input.fontFaces) && input.fontFaces.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && (undefined === input.fontFamilyNames || Array.isArray(input.fontFamilyNames) && input.fontFamilyNames.every(elem => "string" === typeof elem)); const _io1 = input => "string" === typeof input.name && "string" === typeof input.family && "string" === typeof input.asset && "string" === typeof input.url && "number" === typeof input.weight && ("normal" === input.style || "italic" === input.style) && (Array.isArray(input.ranges) && input.ranges.every(elem => Array.isArray(elem) && (elem.length === 2 && "number" === typeof elem[0] && "number" === typeof elem[1]))); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.fontFaces || (Array.isArray(input.fontFaces) || _report(_exceptionable, {
2729
2729
  path: _path + ".fontFaces",
2730
2730
  expected: "(Array<FontFace> | undefined)",
2731
2731
  value: input.fontFaces
@@ -2773,7 +2773,7 @@ function _validateExactRecord(name, input) {
2773
2773
  path: _path + ".weight",
2774
2774
  expected: "number",
2775
2775
  value: input.weight
2776
- }), "italic" === input.style || "normal" === input.style || _report(_exceptionable, {
2776
+ }), "normal" === input.style || "italic" === input.style || _report(_exceptionable, {
2777
2777
  path: _path + ".style",
2778
2778
  expected: "(\"italic\" | \"normal\")",
2779
2779
  value: input.style
@@ -8236,110 +8236,1014 @@ function _validateDomainRecord(domain, input) {
8236
8236
  };
8237
8237
  }; })()(input);
8238
8238
  }
8239
- case ":event": {
8240
- return (() => { const _io0 = input => (null === input.start || undefined === input.start || "number" === typeof input.start) && (null === input.end || undefined === input.end || "number" === typeof input.end) && (null === input.duration || undefined === input.duration || "number" === typeof input.duration) && (undefined === input.position || "string" === typeof input.position) && (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)); 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); const _vo0 = (input, _path, _exceptionable = true) => [null === input.start || undefined === input.start || "number" === typeof input.start || _report(_exceptionable, {
8241
- path: _path + ".start",
8242
- expected: "(null | number | undefined)",
8243
- value: input.start
8244
- }), null === input.end || undefined === input.end || "number" === typeof input.end || _report(_exceptionable, {
8245
- path: _path + ".end",
8246
- expected: "(null | number | undefined)",
8247
- value: input.end
8248
- }), null === input.duration || undefined === input.duration || "number" === typeof input.duration || _report(_exceptionable, {
8249
- path: _path + ".duration",
8250
- expected: "(null | number | undefined)",
8251
- value: input.duration
8252
- }), undefined === input.position || "string" === typeof input.position || _report(_exceptionable, {
8253
- path: _path + ".position",
8254
- expected: "(string | undefined)",
8255
- value: input.position
8256
- }), undefined === input.text || "string" === typeof input.text || _report(_exceptionable, {
8257
- path: _path + ".text",
8239
+ case ":template": {
8240
+ return (() => { const _io0 = input => (undefined === input.source || "string" === typeof input.source) && (undefined === input.controller || "string" === typeof input.controller) && (undefined === input.type || "string" === typeof input.type) && (undefined === input.mixin || Array.isArray(input.mixin) && input.mixin.every(elem => "string" === typeof elem)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io1(input.properties)); const _io1 = input => Object.keys(input).every(key => {
8241
+ const value = input[key];
8242
+ if (undefined === value)
8243
+ return true;
8244
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
8245
+ }); const _io2 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io3(input.render)) && (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (undefined === input.minItems || "number" === typeof input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io6(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io7(input.properties)) && true && true && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io8(input.widget))) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true; const _io3 = input => "image" === input.type && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) && _io4(input.profile)); const _io4 = input => (undefined === input.format || "string" === typeof input.format) && (undefined === input.video || "object" === typeof input.video && null !== input.video && _io5(input.video)); const _io5 = input => "number" === typeof input.width && "number" === typeof input.height && "cover" === input.fit; const _io6 = input => (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (undefined === input.minItems || "number" === typeof input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io6(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io7(input.properties)) && true && true && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io8(input.widget))) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true; const _io7 = input => Object.keys(input).every(key => {
8246
+ const value = input[key];
8247
+ if (undefined === value)
8248
+ return true;
8249
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io6(value);
8250
+ }); const _io8 = input => (undefined === input.type || "string" === typeof input.type) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && Object.keys(input).every(key => {
8251
+ if (["type", "readOnly"].some(prop => key === prop))
8252
+ return true;
8253
+ const value = input[key];
8254
+ if (undefined === value)
8255
+ return true;
8256
+ return true;
8257
+ }); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.source || "string" === typeof input.source || _report(_exceptionable, {
8258
+ path: _path + ".source",
8258
8259
  expected: "(string | undefined)",
8259
- value: input.text
8260
- }), undefined === input.lang || "string" === typeof input.lang || _report(_exceptionable, {
8261
- path: _path + ".lang",
8260
+ value: input.source
8261
+ }), undefined === input.controller || "string" === typeof input.controller || _report(_exceptionable, {
8262
+ path: _path + ".controller",
8262
8263
  expected: "(string | undefined)",
8263
- value: input.lang
8264
- }), undefined === input.style || "string" === typeof input.style || _report(_exceptionable, {
8265
- path: _path + ".style",
8264
+ value: input.controller
8265
+ }), undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
8266
+ path: _path + ".type",
8266
8267
  expected: "(string | undefined)",
8267
- value: input.style
8268
- }), undefined === input.styleOverrides || ("object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) || _report(_exceptionable, {
8269
- path: _path + ".styleOverrides",
8270
- expected: "(SubtitleEventStyleOverrides | undefined)",
8271
- value: input.styleOverrides
8272
- })) && _vo1(input.styleOverrides, _path + ".styleOverrides", true && _exceptionable) || _report(_exceptionable, {
8273
- path: _path + ".styleOverrides",
8274
- expected: "(SubtitleEventStyleOverrides | undefined)",
8275
- value: input.styleOverrides
8276
- })].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [undefined === input.marginL || "string" === typeof input.marginL || _report(_exceptionable, {
8277
- path: _path + ".marginL",
8268
+ value: input.type
8269
+ }), undefined === input.mixin || (Array.isArray(input.mixin) || _report(_exceptionable, {
8270
+ path: _path + ".mixin",
8271
+ expected: "(Array<string> | undefined)",
8272
+ value: input.mixin
8273
+ })) && input.mixin.map((elem, _index6) => "string" === typeof elem || _report(_exceptionable, {
8274
+ path: _path + ".mixin[" + _index6 + "]",
8275
+ expected: "string",
8276
+ value: elem
8277
+ })).every(flag => flag) || _report(_exceptionable, {
8278
+ path: _path + ".mixin",
8279
+ expected: "(Array<string> | undefined)",
8280
+ value: input.mixin
8281
+ }), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
8282
+ path: _path + ".properties",
8283
+ expected: "(Record<string, TemplateProperty> | undefined)",
8284
+ value: input.properties
8285
+ })) && _vo1(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
8286
+ path: _path + ".properties",
8287
+ expected: "(Record<string, TemplateProperty> | undefined)",
8288
+ value: input.properties
8289
+ })].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
8290
+ const value = input[key];
8291
+ if (undefined === value)
8292
+ return true;
8293
+ return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
8294
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
8295
+ expected: "TemplateProperty",
8296
+ value: value
8297
+ })) && _vo2(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
8298
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
8299
+ expected: "TemplateProperty",
8300
+ value: value
8301
+ });
8302
+ }).every(flag => flag)].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.path || "string" === typeof input.path || _report(_exceptionable, {
8303
+ path: _path + ".path",
8278
8304
  expected: "(string | undefined)",
8279
- value: input.marginL
8280
- }), undefined === input.marginR || "string" === typeof input.marginR || _report(_exceptionable, {
8281
- path: _path + ".marginR",
8305
+ value: input.path
8306
+ }), undefined === input.render || ("object" === typeof input.render && null !== input.render || _report(_exceptionable, {
8307
+ path: _path + ".render",
8308
+ expected: "(__type | undefined)",
8309
+ value: input.render
8310
+ })) && _vo3(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
8311
+ path: _path + ".render",
8312
+ expected: "(__type | undefined)",
8313
+ value: input.render
8314
+ }), undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type || _report(_exceptionable, {
8315
+ path: _path + ".type",
8316
+ expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
8317
+ value: input.type
8318
+ }), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
8319
+ path: _path + ".title",
8282
8320
  expected: "(string | undefined)",
8283
- value: input.marginR
8284
- }), undefined === input.marginV || "string" === typeof input.marginV || _report(_exceptionable, {
8285
- path: _path + ".marginV",
8321
+ value: input.title
8322
+ }), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
8323
+ path: _path + ".description",
8286
8324
  expected: "(string | undefined)",
8287
- value: input.marginV
8288
- }), undefined === input.alignment || "string" === typeof input.alignment || _report(_exceptionable, {
8289
- path: _path + ".alignment",
8325
+ value: input.description
8326
+ }), undefined === input.required || "boolean" === typeof input.required || _report(_exceptionable, {
8327
+ path: _path + ".required",
8328
+ expected: "(boolean | undefined)",
8329
+ value: input.required
8330
+ }), undefined === input.oneOf || (Array.isArray(input.oneOf) || _report(_exceptionable, {
8331
+ path: _path + ".oneOf",
8332
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
8333
+ value: input.oneOf
8334
+ })) && input.oneOf.map((elem, _index7) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
8335
+ path: _path + ".oneOf[" + _index7 + "]",
8336
+ expected: "SchemaProperty<unknown>",
8337
+ value: elem
8338
+ })) && _vo6(elem, _path + ".oneOf[" + _index7 + "]", true && _exceptionable) || _report(_exceptionable, {
8339
+ path: _path + ".oneOf[" + _index7 + "]",
8340
+ expected: "SchemaProperty<unknown>",
8341
+ value: elem
8342
+ })).every(flag => flag) || _report(_exceptionable, {
8343
+ path: _path + ".oneOf",
8344
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
8345
+ value: input.oneOf
8346
+ }), undefined === input.anyOf || (Array.isArray(input.anyOf) || _report(_exceptionable, {
8347
+ path: _path + ".anyOf",
8348
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
8349
+ value: input.anyOf
8350
+ })) && input.anyOf.map((elem, _index8) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
8351
+ path: _path + ".anyOf[" + _index8 + "]",
8352
+ expected: "SchemaProperty<unknown>",
8353
+ value: elem
8354
+ })) && _vo6(elem, _path + ".anyOf[" + _index8 + "]", true && _exceptionable) || _report(_exceptionable, {
8355
+ path: _path + ".anyOf[" + _index8 + "]",
8356
+ expected: "SchemaProperty<unknown>",
8357
+ value: elem
8358
+ })).every(flag => flag) || _report(_exceptionable, {
8359
+ path: _path + ".anyOf",
8360
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
8361
+ value: input.anyOf
8362
+ }), undefined === input["enum"] || Array.isArray(input["enum"]) || _report(_exceptionable, {
8363
+ path: _path + "[\"enum\"]",
8364
+ expected: "(ReadonlyArray<unknown> | undefined)",
8365
+ value: input["enum"]
8366
+ }), undefined === input.minItems || "number" === typeof input.minItems || _report(_exceptionable, {
8367
+ path: _path + ".minItems",
8368
+ expected: "(number | undefined)",
8369
+ value: input.minItems
8370
+ }), undefined === input.maxItems || "number" === typeof input.maxItems || _report(_exceptionable, {
8371
+ path: _path + ".maxItems",
8372
+ expected: "(number | undefined)",
8373
+ value: input.maxItems
8374
+ }), undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
8375
+ path: _path + ".items",
8376
+ expected: "(SchemaProperty<unknown> | undefined)",
8377
+ value: input.items
8378
+ })) && _vo6(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
8379
+ path: _path + ".items",
8380
+ expected: "(SchemaProperty<unknown> | undefined)",
8381
+ value: input.items
8382
+ }), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
8383
+ path: _path + ".properties",
8384
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
8385
+ value: input.properties
8386
+ })) && _vo7(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
8387
+ path: _path + ".properties",
8388
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
8389
+ value: input.properties
8390
+ }), true, true, (null !== input.widget || _report(_exceptionable, {
8391
+ path: _path + ".widget",
8392
+ expected: "(WidgetOptions | string | undefined)",
8393
+ value: input.widget
8394
+ })) && (undefined === input.widget || "string" === typeof input.widget || ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) || _report(_exceptionable, {
8395
+ path: _path + ".widget",
8396
+ expected: "(WidgetOptions | string | undefined)",
8397
+ value: input.widget
8398
+ })) && _vo8(input.widget, _path + ".widget", true && _exceptionable) || _report(_exceptionable, {
8399
+ path: _path + ".widget",
8400
+ expected: "(WidgetOptions | string | undefined)",
8401
+ value: input.widget
8402
+ })), undefined === input.placeholder || "string" === typeof input.placeholder || _report(_exceptionable, {
8403
+ path: _path + ".placeholder",
8290
8404
  expected: "(string | undefined)",
8291
- value: input.alignment
8292
- }), undefined === input.fontname || "string" === typeof input.fontname || _report(_exceptionable, {
8293
- path: _path + ".fontname",
8405
+ value: input.placeholder
8406
+ }), undefined === input.helpText || "string" === typeof input.helpText || _report(_exceptionable, {
8407
+ path: _path + ".helpText",
8294
8408
  expected: "(string | undefined)",
8295
- value: input.fontname
8296
- }), undefined === input.fontsize || "string" === typeof input.fontsize || _report(_exceptionable, {
8297
- path: _path + ".fontsize",
8409
+ value: input.helpText
8410
+ }), undefined === input.invalid || "boolean" === typeof input.invalid || _report(_exceptionable, {
8411
+ path: _path + ".invalid",
8412
+ expected: "(boolean | undefined)",
8413
+ value: input.invalid
8414
+ }), true].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => ["image" === input.type || _report(_exceptionable, {
8415
+ path: _path + ".type",
8416
+ expected: "\"image\"",
8417
+ value: input.type
8418
+ }), undefined === input.profile || ("object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) || _report(_exceptionable, {
8419
+ path: _path + ".profile",
8420
+ expected: "(__type.o1 | undefined)",
8421
+ value: input.profile
8422
+ })) && _vo4(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
8423
+ path: _path + ".profile",
8424
+ expected: "(__type.o1 | undefined)",
8425
+ value: input.profile
8426
+ })].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [undefined === input.format || "string" === typeof input.format || _report(_exceptionable, {
8427
+ path: _path + ".format",
8298
8428
  expected: "(string | undefined)",
8299
- value: input.fontsize
8300
- }), undefined === input.primaryColour || "string" === typeof input.primaryColour || _report(_exceptionable, {
8301
- path: _path + ".primaryColour",
8429
+ value: input.format
8430
+ }), undefined === input.video || ("object" === typeof input.video && null !== input.video || _report(_exceptionable, {
8431
+ path: _path + ".video",
8432
+ expected: "(__type.o2 | undefined)",
8433
+ value: input.video
8434
+ })) && _vo5(input.video, _path + ".video", true && _exceptionable) || _report(_exceptionable, {
8435
+ path: _path + ".video",
8436
+ expected: "(__type.o2 | undefined)",
8437
+ value: input.video
8438
+ })].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => ["number" === typeof input.width || _report(_exceptionable, {
8439
+ path: _path + ".width",
8440
+ expected: "number",
8441
+ value: input.width
8442
+ }), "number" === typeof input.height || _report(_exceptionable, {
8443
+ path: _path + ".height",
8444
+ expected: "number",
8445
+ value: input.height
8446
+ }), "cover" === input.fit || _report(_exceptionable, {
8447
+ path: _path + ".fit",
8448
+ expected: "\"cover\"",
8449
+ value: input.fit
8450
+ })].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type || _report(_exceptionable, {
8451
+ path: _path + ".type",
8452
+ expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
8453
+ value: input.type
8454
+ }), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
8455
+ path: _path + ".title",
8302
8456
  expected: "(string | undefined)",
8303
- value: input.primaryColour
8304
- }), undefined === input.secondaryColour || "string" === typeof input.secondaryColour || _report(_exceptionable, {
8305
- path: _path + ".secondaryColour",
8457
+ value: input.title
8458
+ }), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
8459
+ path: _path + ".description",
8306
8460
  expected: "(string | undefined)",
8307
- value: input.secondaryColour
8308
- }), undefined === input.outlineColour || "string" === typeof input.outlineColour || _report(_exceptionable, {
8309
- path: _path + ".outlineColour",
8461
+ value: input.description
8462
+ }), undefined === input.required || "boolean" === typeof input.required || _report(_exceptionable, {
8463
+ path: _path + ".required",
8464
+ expected: "(boolean | undefined)",
8465
+ value: input.required
8466
+ }), undefined === input.oneOf || (Array.isArray(input.oneOf) || _report(_exceptionable, {
8467
+ path: _path + ".oneOf",
8468
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
8469
+ value: input.oneOf
8470
+ })) && input.oneOf.map((elem, _index9) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
8471
+ path: _path + ".oneOf[" + _index9 + "]",
8472
+ expected: "SchemaProperty<unknown>",
8473
+ value: elem
8474
+ })) && _vo6(elem, _path + ".oneOf[" + _index9 + "]", true && _exceptionable) || _report(_exceptionable, {
8475
+ path: _path + ".oneOf[" + _index9 + "]",
8476
+ expected: "SchemaProperty<unknown>",
8477
+ value: elem
8478
+ })).every(flag => flag) || _report(_exceptionable, {
8479
+ path: _path + ".oneOf",
8480
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
8481
+ value: input.oneOf
8482
+ }), undefined === input.anyOf || (Array.isArray(input.anyOf) || _report(_exceptionable, {
8483
+ path: _path + ".anyOf",
8484
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
8485
+ value: input.anyOf
8486
+ })) && input.anyOf.map((elem, _index10) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
8487
+ path: _path + ".anyOf[" + _index10 + "]",
8488
+ expected: "SchemaProperty<unknown>",
8489
+ value: elem
8490
+ })) && _vo6(elem, _path + ".anyOf[" + _index10 + "]", true && _exceptionable) || _report(_exceptionable, {
8491
+ path: _path + ".anyOf[" + _index10 + "]",
8492
+ expected: "SchemaProperty<unknown>",
8493
+ value: elem
8494
+ })).every(flag => flag) || _report(_exceptionable, {
8495
+ path: _path + ".anyOf",
8496
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
8497
+ value: input.anyOf
8498
+ }), undefined === input["enum"] || Array.isArray(input["enum"]) || _report(_exceptionable, {
8499
+ path: _path + "[\"enum\"]",
8500
+ expected: "(ReadonlyArray<unknown> | undefined)",
8501
+ value: input["enum"]
8502
+ }), undefined === input.minItems || "number" === typeof input.minItems || _report(_exceptionable, {
8503
+ path: _path + ".minItems",
8504
+ expected: "(number | undefined)",
8505
+ value: input.minItems
8506
+ }), undefined === input.maxItems || "number" === typeof input.maxItems || _report(_exceptionable, {
8507
+ path: _path + ".maxItems",
8508
+ expected: "(number | undefined)",
8509
+ value: input.maxItems
8510
+ }), undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
8511
+ path: _path + ".items",
8512
+ expected: "(SchemaProperty<unknown> | undefined)",
8513
+ value: input.items
8514
+ })) && _vo6(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
8515
+ path: _path + ".items",
8516
+ expected: "(SchemaProperty<unknown> | undefined)",
8517
+ value: input.items
8518
+ }), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
8519
+ path: _path + ".properties",
8520
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
8521
+ value: input.properties
8522
+ })) && _vo7(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
8523
+ path: _path + ".properties",
8524
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
8525
+ value: input.properties
8526
+ }), true, true, (null !== input.widget || _report(_exceptionable, {
8527
+ path: _path + ".widget",
8528
+ expected: "(WidgetOptions | string | undefined)",
8529
+ value: input.widget
8530
+ })) && (undefined === input.widget || "string" === typeof input.widget || ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) || _report(_exceptionable, {
8531
+ path: _path + ".widget",
8532
+ expected: "(WidgetOptions | string | undefined)",
8533
+ value: input.widget
8534
+ })) && _vo8(input.widget, _path + ".widget", true && _exceptionable) || _report(_exceptionable, {
8535
+ path: _path + ".widget",
8536
+ expected: "(WidgetOptions | string | undefined)",
8537
+ value: input.widget
8538
+ })), undefined === input.placeholder || "string" === typeof input.placeholder || _report(_exceptionable, {
8539
+ path: _path + ".placeholder",
8540
+ expected: "(string | undefined)",
8541
+ value: input.placeholder
8542
+ }), undefined === input.helpText || "string" === typeof input.helpText || _report(_exceptionable, {
8543
+ path: _path + ".helpText",
8544
+ expected: "(string | undefined)",
8545
+ value: input.helpText
8546
+ }), undefined === input.invalid || "boolean" === typeof input.invalid || _report(_exceptionable, {
8547
+ path: _path + ".invalid",
8548
+ expected: "(boolean | undefined)",
8549
+ value: input.invalid
8550
+ }), true].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
8551
+ const value = input[key];
8552
+ if (undefined === value)
8553
+ return true;
8554
+ return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
8555
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
8556
+ expected: "SchemaProperty<unknown>",
8557
+ value: value
8558
+ })) && _vo6(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
8559
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
8560
+ expected: "SchemaProperty<unknown>",
8561
+ value: value
8562
+ });
8563
+ }).every(flag => flag)].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
8564
+ path: _path + ".type",
8565
+ expected: "(string | undefined)",
8566
+ value: input.type
8567
+ }), undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
8568
+ path: _path + ".readOnly",
8569
+ expected: "(boolean | undefined)",
8570
+ value: input.readOnly
8571
+ }), false === _exceptionable || Object.keys(input).map(key => {
8572
+ if (["type", "readOnly"].some(prop => key === prop))
8573
+ return true;
8574
+ const value = input[key];
8575
+ if (undefined === value)
8576
+ return true;
8577
+ return true;
8578
+ }).every(flag => flag)].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
8579
+ if (false === __is(input)) {
8580
+ errors = [];
8581
+ _report = __typia_transform__validateReport._validateReport(errors);
8582
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
8583
+ path: _path + "",
8584
+ expected: "TemplateRecord",
8585
+ value: input
8586
+ })) && _vo0(input, _path + "", true) || _report(true, {
8587
+ path: _path + "",
8588
+ expected: "TemplateRecord",
8589
+ value: input
8590
+ }))(input, "$input", true);
8591
+ const success = 0 === errors.length;
8592
+ return success ? {
8593
+ success,
8594
+ data: input
8595
+ } : {
8596
+ success,
8597
+ errors,
8598
+ data: input
8599
+ };
8600
+ }
8601
+ return {
8602
+ success: true,
8603
+ data: input
8604
+ };
8605
+ }; })()(input);
8606
+ }
8607
+ case ":event": {
8608
+ return (() => { const _io0 = input => (null === input.start || undefined === input.start || "number" === typeof input.start) && (null === input.end || undefined === input.end || "number" === typeof input.end) && (null === input.duration || undefined === input.duration || "number" === typeof input.duration) && (undefined === input.position || "string" === typeof input.position) && (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)); 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); const _vo0 = (input, _path, _exceptionable = true) => [null === input.start || undefined === input.start || "number" === typeof input.start || _report(_exceptionable, {
8609
+ path: _path + ".start",
8610
+ expected: "(null | number | undefined)",
8611
+ value: input.start
8612
+ }), null === input.end || undefined === input.end || "number" === typeof input.end || _report(_exceptionable, {
8613
+ path: _path + ".end",
8614
+ expected: "(null | number | undefined)",
8615
+ value: input.end
8616
+ }), null === input.duration || undefined === input.duration || "number" === typeof input.duration || _report(_exceptionable, {
8617
+ path: _path + ".duration",
8618
+ expected: "(null | number | undefined)",
8619
+ value: input.duration
8620
+ }), undefined === input.position || "string" === typeof input.position || _report(_exceptionable, {
8621
+ path: _path + ".position",
8622
+ expected: "(string | undefined)",
8623
+ value: input.position
8624
+ }), undefined === input.text || "string" === typeof input.text || _report(_exceptionable, {
8625
+ path: _path + ".text",
8626
+ expected: "(string | undefined)",
8627
+ value: input.text
8628
+ }), undefined === input.lang || "string" === typeof input.lang || _report(_exceptionable, {
8629
+ path: _path + ".lang",
8630
+ expected: "(string | undefined)",
8631
+ value: input.lang
8632
+ }), undefined === input.style || "string" === typeof input.style || _report(_exceptionable, {
8633
+ path: _path + ".style",
8634
+ expected: "(string | undefined)",
8635
+ value: input.style
8636
+ }), undefined === input.styleOverrides || ("object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) || _report(_exceptionable, {
8637
+ path: _path + ".styleOverrides",
8638
+ expected: "(SubtitleEventStyleOverrides | undefined)",
8639
+ value: input.styleOverrides
8640
+ })) && _vo1(input.styleOverrides, _path + ".styleOverrides", true && _exceptionable) || _report(_exceptionable, {
8641
+ path: _path + ".styleOverrides",
8642
+ expected: "(SubtitleEventStyleOverrides | undefined)",
8643
+ value: input.styleOverrides
8644
+ })].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [undefined === input.marginL || "string" === typeof input.marginL || _report(_exceptionable, {
8645
+ path: _path + ".marginL",
8646
+ expected: "(string | undefined)",
8647
+ value: input.marginL
8648
+ }), undefined === input.marginR || "string" === typeof input.marginR || _report(_exceptionable, {
8649
+ path: _path + ".marginR",
8650
+ expected: "(string | undefined)",
8651
+ value: input.marginR
8652
+ }), undefined === input.marginV || "string" === typeof input.marginV || _report(_exceptionable, {
8653
+ path: _path + ".marginV",
8654
+ expected: "(string | undefined)",
8655
+ value: input.marginV
8656
+ }), undefined === input.alignment || "string" === typeof input.alignment || _report(_exceptionable, {
8657
+ path: _path + ".alignment",
8658
+ expected: "(string | undefined)",
8659
+ value: input.alignment
8660
+ }), undefined === input.fontname || "string" === typeof input.fontname || _report(_exceptionable, {
8661
+ path: _path + ".fontname",
8662
+ expected: "(string | undefined)",
8663
+ value: input.fontname
8664
+ }), undefined === input.fontsize || "string" === typeof input.fontsize || _report(_exceptionable, {
8665
+ path: _path + ".fontsize",
8666
+ expected: "(string | undefined)",
8667
+ value: input.fontsize
8668
+ }), undefined === input.primaryColour || "string" === typeof input.primaryColour || _report(_exceptionable, {
8669
+ path: _path + ".primaryColour",
8670
+ expected: "(string | undefined)",
8671
+ value: input.primaryColour
8672
+ }), undefined === input.secondaryColour || "string" === typeof input.secondaryColour || _report(_exceptionable, {
8673
+ path: _path + ".secondaryColour",
8674
+ expected: "(string | undefined)",
8675
+ value: input.secondaryColour
8676
+ }), undefined === input.outlineColour || "string" === typeof input.outlineColour || _report(_exceptionable, {
8677
+ path: _path + ".outlineColour",
8678
+ expected: "(string | undefined)",
8679
+ value: input.outlineColour
8680
+ }), undefined === input.backColour || "string" === typeof input.backColour || _report(_exceptionable, {
8681
+ path: _path + ".backColour",
8682
+ expected: "(string | undefined)",
8683
+ value: input.backColour
8684
+ }), undefined === input.bold || "string" === typeof input.bold || _report(_exceptionable, {
8685
+ path: _path + ".bold",
8686
+ expected: "(string | undefined)",
8687
+ value: input.bold
8688
+ }), undefined === input.italic || "string" === typeof input.italic || _report(_exceptionable, {
8689
+ path: _path + ".italic",
8690
+ expected: "(string | undefined)",
8691
+ value: input.italic
8692
+ }), undefined === input.underline || "string" === typeof input.underline || _report(_exceptionable, {
8693
+ path: _path + ".underline",
8694
+ expected: "(string | undefined)",
8695
+ value: input.underline
8696
+ }), undefined === input.strikeOut || "string" === typeof input.strikeOut || _report(_exceptionable, {
8697
+ path: _path + ".strikeOut",
8698
+ expected: "(string | undefined)",
8699
+ value: input.strikeOut
8700
+ })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
8701
+ if (false === __is(input)) {
8702
+ errors = [];
8703
+ _report = __typia_transform__validateReport._validateReport(errors);
8704
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
8705
+ path: _path + "",
8706
+ expected: "EventRecord",
8707
+ value: input
8708
+ })) && _vo0(input, _path + "", true) || _report(true, {
8709
+ path: _path + "",
8710
+ expected: "EventRecord",
8711
+ value: input
8712
+ }))(input, "$input", true);
8713
+ const success = 0 === errors.length;
8714
+ return success ? {
8715
+ success,
8716
+ data: input
8717
+ } : {
8718
+ success,
8719
+ errors,
8720
+ data: input
8721
+ };
8722
+ }
8723
+ return {
8724
+ success: true,
8725
+ data: input
8726
+ };
8727
+ }; })()(input);
8728
+ }
8729
+ case ":event._template?": {
8730
+ return (() => { const _io0 = input => (undefined === input.mixin || Array.isArray(input.mixin) && input.mixin.every(elem => "string" === typeof elem)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io1(input.properties)) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) && _io9(input.layout)) && (undefined === input.controller || "string" === typeof input.controller); const _io1 = input => Object.keys(input).every(key => {
8731
+ const value = input[key];
8732
+ if (undefined === value)
8733
+ return true;
8734
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
8735
+ }); const _io2 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io3(input.render)) && (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (undefined === input.minItems || "number" === typeof input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io6(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io7(input.properties)) && true && true && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io8(input.widget))) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true; const _io3 = input => "image" === input.type && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) && _io4(input.profile)); const _io4 = input => (undefined === input.format || "string" === typeof input.format) && (undefined === input.video || "object" === typeof input.video && null !== input.video && _io5(input.video)); const _io5 = input => "number" === typeof input.width && "number" === typeof input.height && "cover" === input.fit; const _io6 = input => (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (undefined === input.minItems || "number" === typeof input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io6(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io7(input.properties)) && true && true && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io8(input.widget))) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true; const _io7 = input => Object.keys(input).every(key => {
8736
+ const value = input[key];
8737
+ if (undefined === value)
8738
+ return true;
8739
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io6(value);
8740
+ }); const _io8 = input => (undefined === input.type || "string" === typeof input.type) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && Object.keys(input).every(key => {
8741
+ if (["type", "readOnly"].some(prop => key === prop))
8742
+ return true;
8743
+ const value = input[key];
8744
+ if (undefined === value)
8745
+ return true;
8746
+ return true;
8747
+ }); const _io9 = input => undefined === input.title || "string" === typeof input.title; const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.mixin || (Array.isArray(input.mixin) || _report(_exceptionable, {
8748
+ path: _path + ".mixin",
8749
+ expected: "(Array<string> | undefined)",
8750
+ value: input.mixin
8751
+ })) && input.mixin.map((elem, _index6) => "string" === typeof elem || _report(_exceptionable, {
8752
+ path: _path + ".mixin[" + _index6 + "]",
8753
+ expected: "string",
8754
+ value: elem
8755
+ })).every(flag => flag) || _report(_exceptionable, {
8756
+ path: _path + ".mixin",
8757
+ expected: "(Array<string> | undefined)",
8758
+ value: input.mixin
8759
+ }), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
8760
+ path: _path + ".properties",
8761
+ expected: "(Record<string, TemplateProperty> | undefined)",
8762
+ value: input.properties
8763
+ })) && _vo1(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
8764
+ path: _path + ".properties",
8765
+ expected: "(Record<string, TemplateProperty> | undefined)",
8766
+ value: input.properties
8767
+ }), undefined === input.layout || ("object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) || _report(_exceptionable, {
8768
+ path: _path + ".layout",
8769
+ expected: "(__type.o3 | undefined)",
8770
+ value: input.layout
8771
+ })) && _vo9(input.layout, _path + ".layout", true && _exceptionable) || _report(_exceptionable, {
8772
+ path: _path + ".layout",
8773
+ expected: "(__type.o3 | undefined)",
8774
+ value: input.layout
8775
+ }), undefined === input.controller || "string" === typeof input.controller || _report(_exceptionable, {
8776
+ path: _path + ".controller",
8777
+ expected: "(string | undefined)",
8778
+ value: input.controller
8779
+ })].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
8780
+ const value = input[key];
8781
+ if (undefined === value)
8782
+ return true;
8783
+ return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
8784
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
8785
+ expected: "TemplateProperty",
8786
+ value: value
8787
+ })) && _vo2(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
8788
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
8789
+ expected: "TemplateProperty",
8790
+ value: value
8791
+ });
8792
+ }).every(flag => flag)].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.path || "string" === typeof input.path || _report(_exceptionable, {
8793
+ path: _path + ".path",
8794
+ expected: "(string | undefined)",
8795
+ value: input.path
8796
+ }), undefined === input.render || ("object" === typeof input.render && null !== input.render || _report(_exceptionable, {
8797
+ path: _path + ".render",
8798
+ expected: "(__type | undefined)",
8799
+ value: input.render
8800
+ })) && _vo3(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
8801
+ path: _path + ".render",
8802
+ expected: "(__type | undefined)",
8803
+ value: input.render
8804
+ }), undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type || _report(_exceptionable, {
8805
+ path: _path + ".type",
8806
+ expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
8807
+ value: input.type
8808
+ }), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
8809
+ path: _path + ".title",
8810
+ expected: "(string | undefined)",
8811
+ value: input.title
8812
+ }), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
8813
+ path: _path + ".description",
8814
+ expected: "(string | undefined)",
8815
+ value: input.description
8816
+ }), undefined === input.required || "boolean" === typeof input.required || _report(_exceptionable, {
8817
+ path: _path + ".required",
8818
+ expected: "(boolean | undefined)",
8819
+ value: input.required
8820
+ }), undefined === input.oneOf || (Array.isArray(input.oneOf) || _report(_exceptionable, {
8821
+ path: _path + ".oneOf",
8822
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
8823
+ value: input.oneOf
8824
+ })) && input.oneOf.map((elem, _index7) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
8825
+ path: _path + ".oneOf[" + _index7 + "]",
8826
+ expected: "SchemaProperty<unknown>",
8827
+ value: elem
8828
+ })) && _vo6(elem, _path + ".oneOf[" + _index7 + "]", true && _exceptionable) || _report(_exceptionable, {
8829
+ path: _path + ".oneOf[" + _index7 + "]",
8830
+ expected: "SchemaProperty<unknown>",
8831
+ value: elem
8832
+ })).every(flag => flag) || _report(_exceptionable, {
8833
+ path: _path + ".oneOf",
8834
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
8835
+ value: input.oneOf
8836
+ }), undefined === input.anyOf || (Array.isArray(input.anyOf) || _report(_exceptionable, {
8837
+ path: _path + ".anyOf",
8838
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
8839
+ value: input.anyOf
8840
+ })) && input.anyOf.map((elem, _index8) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
8841
+ path: _path + ".anyOf[" + _index8 + "]",
8842
+ expected: "SchemaProperty<unknown>",
8843
+ value: elem
8844
+ })) && _vo6(elem, _path + ".anyOf[" + _index8 + "]", true && _exceptionable) || _report(_exceptionable, {
8845
+ path: _path + ".anyOf[" + _index8 + "]",
8846
+ expected: "SchemaProperty<unknown>",
8847
+ value: elem
8848
+ })).every(flag => flag) || _report(_exceptionable, {
8849
+ path: _path + ".anyOf",
8850
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
8851
+ value: input.anyOf
8852
+ }), undefined === input["enum"] || Array.isArray(input["enum"]) || _report(_exceptionable, {
8853
+ path: _path + "[\"enum\"]",
8854
+ expected: "(ReadonlyArray<unknown> | undefined)",
8855
+ value: input["enum"]
8856
+ }), undefined === input.minItems || "number" === typeof input.minItems || _report(_exceptionable, {
8857
+ path: _path + ".minItems",
8858
+ expected: "(number | undefined)",
8859
+ value: input.minItems
8860
+ }), undefined === input.maxItems || "number" === typeof input.maxItems || _report(_exceptionable, {
8861
+ path: _path + ".maxItems",
8862
+ expected: "(number | undefined)",
8863
+ value: input.maxItems
8864
+ }), undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
8865
+ path: _path + ".items",
8866
+ expected: "(SchemaProperty<unknown> | undefined)",
8867
+ value: input.items
8868
+ })) && _vo6(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
8869
+ path: _path + ".items",
8870
+ expected: "(SchemaProperty<unknown> | undefined)",
8871
+ value: input.items
8872
+ }), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
8873
+ path: _path + ".properties",
8874
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
8875
+ value: input.properties
8876
+ })) && _vo7(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
8877
+ path: _path + ".properties",
8878
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
8879
+ value: input.properties
8880
+ }), true, true, (null !== input.widget || _report(_exceptionable, {
8881
+ path: _path + ".widget",
8882
+ expected: "(WidgetOptions | string | undefined)",
8883
+ value: input.widget
8884
+ })) && (undefined === input.widget || "string" === typeof input.widget || ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) || _report(_exceptionable, {
8885
+ path: _path + ".widget",
8886
+ expected: "(WidgetOptions | string | undefined)",
8887
+ value: input.widget
8888
+ })) && _vo8(input.widget, _path + ".widget", true && _exceptionable) || _report(_exceptionable, {
8889
+ path: _path + ".widget",
8890
+ expected: "(WidgetOptions | string | undefined)",
8891
+ value: input.widget
8892
+ })), undefined === input.placeholder || "string" === typeof input.placeholder || _report(_exceptionable, {
8893
+ path: _path + ".placeholder",
8894
+ expected: "(string | undefined)",
8895
+ value: input.placeholder
8896
+ }), undefined === input.helpText || "string" === typeof input.helpText || _report(_exceptionable, {
8897
+ path: _path + ".helpText",
8898
+ expected: "(string | undefined)",
8899
+ value: input.helpText
8900
+ }), undefined === input.invalid || "boolean" === typeof input.invalid || _report(_exceptionable, {
8901
+ path: _path + ".invalid",
8902
+ expected: "(boolean | undefined)",
8903
+ value: input.invalid
8904
+ }), true].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => ["image" === input.type || _report(_exceptionable, {
8905
+ path: _path + ".type",
8906
+ expected: "\"image\"",
8907
+ value: input.type
8908
+ }), undefined === input.profile || ("object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) || _report(_exceptionable, {
8909
+ path: _path + ".profile",
8910
+ expected: "(__type.o1 | undefined)",
8911
+ value: input.profile
8912
+ })) && _vo4(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
8913
+ path: _path + ".profile",
8914
+ expected: "(__type.o1 | undefined)",
8915
+ value: input.profile
8916
+ })].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [undefined === input.format || "string" === typeof input.format || _report(_exceptionable, {
8917
+ path: _path + ".format",
8918
+ expected: "(string | undefined)",
8919
+ value: input.format
8920
+ }), undefined === input.video || ("object" === typeof input.video && null !== input.video || _report(_exceptionable, {
8921
+ path: _path + ".video",
8922
+ expected: "(__type.o2 | undefined)",
8923
+ value: input.video
8924
+ })) && _vo5(input.video, _path + ".video", true && _exceptionable) || _report(_exceptionable, {
8925
+ path: _path + ".video",
8926
+ expected: "(__type.o2 | undefined)",
8927
+ value: input.video
8928
+ })].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => ["number" === typeof input.width || _report(_exceptionable, {
8929
+ path: _path + ".width",
8930
+ expected: "number",
8931
+ value: input.width
8932
+ }), "number" === typeof input.height || _report(_exceptionable, {
8933
+ path: _path + ".height",
8934
+ expected: "number",
8935
+ value: input.height
8936
+ }), "cover" === input.fit || _report(_exceptionable, {
8937
+ path: _path + ".fit",
8938
+ expected: "\"cover\"",
8939
+ value: input.fit
8940
+ })].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type || _report(_exceptionable, {
8941
+ path: _path + ".type",
8942
+ expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
8943
+ value: input.type
8944
+ }), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
8945
+ path: _path + ".title",
8946
+ expected: "(string | undefined)",
8947
+ value: input.title
8948
+ }), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
8949
+ path: _path + ".description",
8950
+ expected: "(string | undefined)",
8951
+ value: input.description
8952
+ }), undefined === input.required || "boolean" === typeof input.required || _report(_exceptionable, {
8953
+ path: _path + ".required",
8954
+ expected: "(boolean | undefined)",
8955
+ value: input.required
8956
+ }), undefined === input.oneOf || (Array.isArray(input.oneOf) || _report(_exceptionable, {
8957
+ path: _path + ".oneOf",
8958
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
8959
+ value: input.oneOf
8960
+ })) && input.oneOf.map((elem, _index9) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
8961
+ path: _path + ".oneOf[" + _index9 + "]",
8962
+ expected: "SchemaProperty<unknown>",
8963
+ value: elem
8964
+ })) && _vo6(elem, _path + ".oneOf[" + _index9 + "]", true && _exceptionable) || _report(_exceptionable, {
8965
+ path: _path + ".oneOf[" + _index9 + "]",
8966
+ expected: "SchemaProperty<unknown>",
8967
+ value: elem
8968
+ })).every(flag => flag) || _report(_exceptionable, {
8969
+ path: _path + ".oneOf",
8970
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
8971
+ value: input.oneOf
8972
+ }), undefined === input.anyOf || (Array.isArray(input.anyOf) || _report(_exceptionable, {
8973
+ path: _path + ".anyOf",
8974
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
8975
+ value: input.anyOf
8976
+ })) && input.anyOf.map((elem, _index10) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
8977
+ path: _path + ".anyOf[" + _index10 + "]",
8978
+ expected: "SchemaProperty<unknown>",
8979
+ value: elem
8980
+ })) && _vo6(elem, _path + ".anyOf[" + _index10 + "]", true && _exceptionable) || _report(_exceptionable, {
8981
+ path: _path + ".anyOf[" + _index10 + "]",
8982
+ expected: "SchemaProperty<unknown>",
8983
+ value: elem
8984
+ })).every(flag => flag) || _report(_exceptionable, {
8985
+ path: _path + ".anyOf",
8986
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
8987
+ value: input.anyOf
8988
+ }), undefined === input["enum"] || Array.isArray(input["enum"]) || _report(_exceptionable, {
8989
+ path: _path + "[\"enum\"]",
8990
+ expected: "(ReadonlyArray<unknown> | undefined)",
8991
+ value: input["enum"]
8992
+ }), undefined === input.minItems || "number" === typeof input.minItems || _report(_exceptionable, {
8993
+ path: _path + ".minItems",
8994
+ expected: "(number | undefined)",
8995
+ value: input.minItems
8996
+ }), undefined === input.maxItems || "number" === typeof input.maxItems || _report(_exceptionable, {
8997
+ path: _path + ".maxItems",
8998
+ expected: "(number | undefined)",
8999
+ value: input.maxItems
9000
+ }), undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
9001
+ path: _path + ".items",
9002
+ expected: "(SchemaProperty<unknown> | undefined)",
9003
+ value: input.items
9004
+ })) && _vo6(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
9005
+ path: _path + ".items",
9006
+ expected: "(SchemaProperty<unknown> | undefined)",
9007
+ value: input.items
9008
+ }), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
9009
+ path: _path + ".properties",
9010
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
9011
+ value: input.properties
9012
+ })) && _vo7(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
9013
+ path: _path + ".properties",
9014
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
9015
+ value: input.properties
9016
+ }), true, true, (null !== input.widget || _report(_exceptionable, {
9017
+ path: _path + ".widget",
9018
+ expected: "(WidgetOptions | string | undefined)",
9019
+ value: input.widget
9020
+ })) && (undefined === input.widget || "string" === typeof input.widget || ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) || _report(_exceptionable, {
9021
+ path: _path + ".widget",
9022
+ expected: "(WidgetOptions | string | undefined)",
9023
+ value: input.widget
9024
+ })) && _vo8(input.widget, _path + ".widget", true && _exceptionable) || _report(_exceptionable, {
9025
+ path: _path + ".widget",
9026
+ expected: "(WidgetOptions | string | undefined)",
9027
+ value: input.widget
9028
+ })), undefined === input.placeholder || "string" === typeof input.placeholder || _report(_exceptionable, {
9029
+ path: _path + ".placeholder",
8310
9030
  expected: "(string | undefined)",
8311
- value: input.outlineColour
8312
- }), undefined === input.backColour || "string" === typeof input.backColour || _report(_exceptionable, {
8313
- path: _path + ".backColour",
9031
+ value: input.placeholder
9032
+ }), undefined === input.helpText || "string" === typeof input.helpText || _report(_exceptionable, {
9033
+ path: _path + ".helpText",
8314
9034
  expected: "(string | undefined)",
8315
- value: input.backColour
8316
- }), undefined === input.bold || "string" === typeof input.bold || _report(_exceptionable, {
8317
- path: _path + ".bold",
9035
+ value: input.helpText
9036
+ }), undefined === input.invalid || "boolean" === typeof input.invalid || _report(_exceptionable, {
9037
+ path: _path + ".invalid",
9038
+ expected: "(boolean | undefined)",
9039
+ value: input.invalid
9040
+ }), true].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
9041
+ const value = input[key];
9042
+ if (undefined === value)
9043
+ return true;
9044
+ return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
9045
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9046
+ expected: "SchemaProperty<unknown>",
9047
+ value: value
9048
+ })) && _vo6(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
9049
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9050
+ expected: "SchemaProperty<unknown>",
9051
+ value: value
9052
+ });
9053
+ }).every(flag => flag)].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
9054
+ path: _path + ".type",
8318
9055
  expected: "(string | undefined)",
8319
- value: input.bold
8320
- }), undefined === input.italic || "string" === typeof input.italic || _report(_exceptionable, {
8321
- path: _path + ".italic",
9056
+ value: input.type
9057
+ }), undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
9058
+ path: _path + ".readOnly",
9059
+ expected: "(boolean | undefined)",
9060
+ value: input.readOnly
9061
+ }), false === _exceptionable || Object.keys(input).map(key => {
9062
+ if (["type", "readOnly"].some(prop => key === prop))
9063
+ return true;
9064
+ const value = input[key];
9065
+ if (undefined === value)
9066
+ return true;
9067
+ return true;
9068
+ }).every(flag => flag)].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
9069
+ path: _path + ".title",
8322
9070
  expected: "(string | undefined)",
8323
- value: input.italic
8324
- }), undefined === input.underline || "string" === typeof input.underline || _report(_exceptionable, {
8325
- path: _path + ".underline",
9071
+ value: input.title
9072
+ })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
9073
+ if (false === __is(input)) {
9074
+ errors = [];
9075
+ _report = __typia_transform__validateReport._validateReport(errors);
9076
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
9077
+ path: _path + "",
9078
+ expected: "EventTemplateRecord",
9079
+ value: input
9080
+ })) && _vo0(input, _path + "", true) || _report(true, {
9081
+ path: _path + "",
9082
+ expected: "EventTemplateRecord",
9083
+ value: input
9084
+ }))(input, "$input", true);
9085
+ const success = 0 === errors.length;
9086
+ return success ? {
9087
+ success,
9088
+ data: input
9089
+ } : {
9090
+ success,
9091
+ errors,
9092
+ data: input
9093
+ };
9094
+ }
9095
+ return {
9096
+ success: true,
9097
+ data: input
9098
+ };
9099
+ }; })()(input);
9100
+ }
9101
+ case ":event.overlay?": {
9102
+ return (() => { const _io0 = input => Object.keys(input).every(key => {
9103
+ const value = input[key];
9104
+ if (undefined === value)
9105
+ return true;
9106
+ return "object" === typeof value && null !== value && _io1(value);
9107
+ }); const _io1 = input => "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && _io2(input.data); const _io2 = input => (undefined === input.source || "string" === typeof input.source) && (undefined === input.cueCard || "string" === typeof input.cueCard || "boolean" === typeof input.cueCard) && (undefined === input.printRundownColor || "string" === typeof input.printRundownColor) && (undefined === input.startTime || "number" === typeof input.startTime) && (null !== input.shotboxGroup && (undefined === input.shotboxGroup || "string" === typeof input.shotboxGroup || Array.isArray(input.shotboxGroup) && input.shotboxGroup.every(elem => "string" === typeof elem))) && (undefined === input.shotboxVisible || "boolean" === typeof input.shotboxVisible) && Object.keys(input).every(key => {
9108
+ if (["source", "cueCard", "printRundownColor", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
9109
+ return true;
9110
+ const value = input[key];
9111
+ if (undefined === value)
9112
+ return true;
9113
+ return undefined !== value && (null === value || "string" === typeof value || "number" === typeof value || "boolean" === typeof value || (Array.isArray(value) && (_ia0(value) || false) || "object" === typeof value && null !== value && false === Array.isArray(value) && _io3(value)));
9114
+ }); const _io3 = input => Object.keys(input).every(key => {
9115
+ const value = input[key];
9116
+ if (undefined === value)
9117
+ return true;
9118
+ return undefined !== value && (null === value || "string" === typeof value || "number" === typeof value || "boolean" === typeof value || (Array.isArray(value) && (_ia0(value) || false) || "object" === typeof value && null !== value && false === Array.isArray(value) && _io3(value)));
9119
+ }); const _ia0 = input => input.every(elem => undefined !== elem && (null === elem || "string" === typeof elem || "number" === typeof elem || "boolean" === typeof elem || (Array.isArray(elem) && (_ia0(elem) || false) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io3(elem)))); const _vo0 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
9120
+ const value = input[key];
9121
+ if (undefined === value)
9122
+ return true;
9123
+ return ("object" === typeof value && null !== value || _report(_exceptionable, {
9124
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9125
+ expected: "__type",
9126
+ value: value
9127
+ })) && _vo1(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
9128
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9129
+ expected: "__type",
9130
+ value: value
9131
+ });
9132
+ }).every(flag => flag)].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [("object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) || _report(_exceptionable, {
9133
+ path: _path + ".data",
9134
+ expected: "EventPropsRecord",
9135
+ value: input.data
9136
+ })) && _vo2(input.data, _path + ".data", true && _exceptionable) || _report(_exceptionable, {
9137
+ path: _path + ".data",
9138
+ expected: "EventPropsRecord",
9139
+ value: input.data
9140
+ })].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.source || "string" === typeof input.source || _report(_exceptionable, {
9141
+ path: _path + ".source",
8326
9142
  expected: "(string | undefined)",
8327
- value: input.underline
8328
- }), undefined === input.strikeOut || "string" === typeof input.strikeOut || _report(_exceptionable, {
8329
- path: _path + ".strikeOut",
9143
+ value: input.source
9144
+ }), undefined === input.cueCard || "string" === typeof input.cueCard || "boolean" === typeof input.cueCard || _report(_exceptionable, {
9145
+ path: _path + ".cueCard",
9146
+ expected: "(boolean | string | undefined)",
9147
+ value: input.cueCard
9148
+ }), undefined === input.printRundownColor || "string" === typeof input.printRundownColor || _report(_exceptionable, {
9149
+ path: _path + ".printRundownColor",
8330
9150
  expected: "(string | undefined)",
8331
- value: input.strikeOut
8332
- })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
9151
+ value: input.printRundownColor
9152
+ }), undefined === input.startTime || "number" === typeof input.startTime || _report(_exceptionable, {
9153
+ path: _path + ".startTime",
9154
+ expected: "(number | undefined)",
9155
+ value: input.startTime
9156
+ }), (null !== input.shotboxGroup || _report(_exceptionable, {
9157
+ path: _path + ".shotboxGroup",
9158
+ expected: "(Array<string> | string | undefined)",
9159
+ value: input.shotboxGroup
9160
+ })) && (undefined === input.shotboxGroup || "string" === typeof input.shotboxGroup || (Array.isArray(input.shotboxGroup) || _report(_exceptionable, {
9161
+ path: _path + ".shotboxGroup",
9162
+ expected: "(Array<string> | string | undefined)",
9163
+ value: input.shotboxGroup
9164
+ })) && input.shotboxGroup.map((elem, _index3) => "string" === typeof elem || _report(_exceptionable, {
9165
+ path: _path + ".shotboxGroup[" + _index3 + "]",
9166
+ expected: "string",
9167
+ value: elem
9168
+ })).every(flag => flag) || _report(_exceptionable, {
9169
+ path: _path + ".shotboxGroup",
9170
+ expected: "(Array<string> | string | undefined)",
9171
+ value: input.shotboxGroup
9172
+ })), undefined === input.shotboxVisible || "boolean" === typeof input.shotboxVisible || _report(_exceptionable, {
9173
+ path: _path + ".shotboxVisible",
9174
+ expected: "(boolean | undefined)",
9175
+ value: input.shotboxVisible
9176
+ }), false === _exceptionable || Object.keys(input).map(key => {
9177
+ if (["source", "cueCard", "printRundownColor", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
9178
+ return true;
9179
+ const value = input[key];
9180
+ if (undefined === value)
9181
+ return true;
9182
+ return (undefined !== value || _report(_exceptionable, {
9183
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9184
+ expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
9185
+ value: value
9186
+ })) && (null === value || "string" === typeof value || "number" === typeof value || "boolean" === typeof value || (Array.isArray(value) && (_va0(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
9187
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9188
+ expected: "Array<JsonValue>",
9189
+ value: value
9190
+ })) || "object" === typeof value && null !== value && false === Array.isArray(value) && _vo3(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
9191
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9192
+ expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
9193
+ value: value
9194
+ })) || _report(_exceptionable, {
9195
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9196
+ expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
9197
+ value: value
9198
+ }));
9199
+ }).every(flag => flag)].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
9200
+ const value = input[key];
9201
+ if (undefined === value)
9202
+ return true;
9203
+ return (undefined !== value || _report(_exceptionable, {
9204
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9205
+ expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
9206
+ value: value
9207
+ })) && (null === value || "string" === typeof value || "number" === typeof value || "boolean" === typeof value || (Array.isArray(value) && (_va0(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
9208
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9209
+ expected: "Array<JsonValue>",
9210
+ value: value
9211
+ })) || "object" === typeof value && null !== value && false === Array.isArray(value) && _vo3(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
9212
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9213
+ expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
9214
+ value: value
9215
+ })) || _report(_exceptionable, {
9216
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9217
+ expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
9218
+ value: value
9219
+ }));
9220
+ }).every(flag => flag)].every(flag => flag); const _va0 = (input, _path, _exceptionable = true) => input.map((elem, _index4) => (undefined !== elem || _report(_exceptionable, {
9221
+ path: _path + "[" + _index4 + "]",
9222
+ expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
9223
+ value: elem
9224
+ })) && (null === elem || "string" === typeof elem || "number" === typeof elem || "boolean" === typeof elem || (Array.isArray(elem) && (_va0(elem, _path + "[" + _index4 + "]", true && _exceptionable) || _report(_exceptionable, {
9225
+ path: _path + "[" + _index4 + "]",
9226
+ expected: "Array<JsonValue>",
9227
+ value: elem
9228
+ })) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _vo3(elem, _path + "[" + _index4 + "]", true && _exceptionable) || _report(_exceptionable, {
9229
+ path: _path + "[" + _index4 + "]",
9230
+ expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
9231
+ value: elem
9232
+ })) || _report(_exceptionable, {
9233
+ path: _path + "[" + _index4 + "]",
9234
+ expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
9235
+ value: elem
9236
+ }))).every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
8333
9237
  if (false === __is(input)) {
8334
9238
  errors = [];
8335
9239
  _report = __typia_transform__validateReport._validateReport(errors);
8336
9240
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
8337
9241
  path: _path + "",
8338
- expected: "EventRecord",
9242
+ expected: "EventOverlayRecord",
8339
9243
  value: input
8340
9244
  })) && _vo0(input, _path + "", true) || _report(true, {
8341
9245
  path: _path + "",
8342
- expected: "EventRecord",
9246
+ expected: "EventOverlayRecord",
8343
9247
  value: input
8344
9248
  }))(input, "$input", true);
8345
9249
  const success = 0 === errors.length;
@@ -8358,13 +9262,30 @@ function _validateDomainRecord(domain, input) {
8358
9262
  };
8359
9263
  }; })()(input);
8360
9264
  }
8361
- case ":event._template?": {
8362
- return (() => { const _io0 = input => (undefined === input.mixin || Array.isArray(input.mixin) && input.mixin.every(elem => "string" === typeof elem)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io1(input.properties)) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) && _io2(input.layout)) && (undefined === input.controller || "string" === typeof input.controller); const _io1 = input => true; const _io2 = input => undefined === input.title || "string" === typeof input.title; const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.mixin || (Array.isArray(input.mixin) || _report(_exceptionable, {
9265
+ case ":event.template?": {
9266
+ return (() => { const _io0 = input => (undefined === input.mixin || Array.isArray(input.mixin) && input.mixin.every(elem => "string" === typeof elem)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io1(input.properties)) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) && _io9(input.layout)) && (undefined === input.controller || "string" === typeof input.controller); const _io1 = input => Object.keys(input).every(key => {
9267
+ const value = input[key];
9268
+ if (undefined === value)
9269
+ return true;
9270
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
9271
+ }); const _io2 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io3(input.render)) && (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (undefined === input.minItems || "number" === typeof input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io6(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io7(input.properties)) && true && true && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io8(input.widget))) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true; const _io3 = input => "image" === input.type && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) && _io4(input.profile)); const _io4 = input => (undefined === input.format || "string" === typeof input.format) && (undefined === input.video || "object" === typeof input.video && null !== input.video && _io5(input.video)); const _io5 = input => "number" === typeof input.width && "number" === typeof input.height && "cover" === input.fit; const _io6 = input => (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (undefined === input.minItems || "number" === typeof input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io6(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io7(input.properties)) && true && true && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io8(input.widget))) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true; const _io7 = input => Object.keys(input).every(key => {
9272
+ const value = input[key];
9273
+ if (undefined === value)
9274
+ return true;
9275
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io6(value);
9276
+ }); const _io8 = input => (undefined === input.type || "string" === typeof input.type) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && Object.keys(input).every(key => {
9277
+ if (["type", "readOnly"].some(prop => key === prop))
9278
+ return true;
9279
+ const value = input[key];
9280
+ if (undefined === value)
9281
+ return true;
9282
+ return true;
9283
+ }); const _io9 = input => undefined === input.title || "string" === typeof input.title; const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.mixin || (Array.isArray(input.mixin) || _report(_exceptionable, {
8363
9284
  path: _path + ".mixin",
8364
9285
  expected: "(Array<string> | undefined)",
8365
9286
  value: input.mixin
8366
- })) && input.mixin.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
8367
- path: _path + ".mixin[" + _index2 + "]",
9287
+ })) && input.mixin.map((elem, _index6) => "string" === typeof elem || _report(_exceptionable, {
9288
+ path: _path + ".mixin[" + _index6 + "]",
8368
9289
  expected: "string",
8369
9290
  value: elem
8370
9291
  })).every(flag => flag) || _report(_exceptionable, {
@@ -8373,255 +9294,314 @@ function _validateDomainRecord(domain, input) {
8373
9294
  value: input.mixin
8374
9295
  }), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
8375
9296
  path: _path + ".properties",
8376
- expected: "(object | undefined)",
9297
+ expected: "(Record<string, TemplateProperty> | undefined)",
8377
9298
  value: input.properties
8378
9299
  })) && _vo1(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
8379
9300
  path: _path + ".properties",
8380
- expected: "(object | undefined)",
9301
+ expected: "(Record<string, TemplateProperty> | undefined)",
8381
9302
  value: input.properties
8382
9303
  }), undefined === input.layout || ("object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) || _report(_exceptionable, {
8383
9304
  path: _path + ".layout",
8384
- expected: "(__type | undefined)",
9305
+ expected: "(__type.o3 | undefined)",
8385
9306
  value: input.layout
8386
- })) && _vo2(input.layout, _path + ".layout", true && _exceptionable) || _report(_exceptionable, {
9307
+ })) && _vo9(input.layout, _path + ".layout", true && _exceptionable) || _report(_exceptionable, {
8387
9308
  path: _path + ".layout",
8388
- expected: "(__type | undefined)",
9309
+ expected: "(__type.o3 | undefined)",
8389
9310
  value: input.layout
8390
9311
  }), undefined === input.controller || "string" === typeof input.controller || _report(_exceptionable, {
8391
9312
  path: _path + ".controller",
8392
9313
  expected: "(string | undefined)",
8393
- value: input.controller
8394
- })].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => true; const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
8395
- path: _path + ".title",
9314
+ value: input.controller
9315
+ })].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
9316
+ const value = input[key];
9317
+ if (undefined === value)
9318
+ return true;
9319
+ return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
9320
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9321
+ expected: "TemplateProperty",
9322
+ value: value
9323
+ })) && _vo2(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
9324
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9325
+ expected: "TemplateProperty",
9326
+ value: value
9327
+ });
9328
+ }).every(flag => flag)].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.path || "string" === typeof input.path || _report(_exceptionable, {
9329
+ path: _path + ".path",
9330
+ expected: "(string | undefined)",
9331
+ value: input.path
9332
+ }), undefined === input.render || ("object" === typeof input.render && null !== input.render || _report(_exceptionable, {
9333
+ path: _path + ".render",
9334
+ expected: "(__type | undefined)",
9335
+ value: input.render
9336
+ })) && _vo3(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
9337
+ path: _path + ".render",
9338
+ expected: "(__type | undefined)",
9339
+ value: input.render
9340
+ }), undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type || _report(_exceptionable, {
9341
+ path: _path + ".type",
9342
+ expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
9343
+ value: input.type
9344
+ }), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
9345
+ path: _path + ".title",
9346
+ expected: "(string | undefined)",
9347
+ value: input.title
9348
+ }), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
9349
+ path: _path + ".description",
9350
+ expected: "(string | undefined)",
9351
+ value: input.description
9352
+ }), undefined === input.required || "boolean" === typeof input.required || _report(_exceptionable, {
9353
+ path: _path + ".required",
9354
+ expected: "(boolean | undefined)",
9355
+ value: input.required
9356
+ }), undefined === input.oneOf || (Array.isArray(input.oneOf) || _report(_exceptionable, {
9357
+ path: _path + ".oneOf",
9358
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
9359
+ value: input.oneOf
9360
+ })) && input.oneOf.map((elem, _index7) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
9361
+ path: _path + ".oneOf[" + _index7 + "]",
9362
+ expected: "SchemaProperty<unknown>",
9363
+ value: elem
9364
+ })) && _vo6(elem, _path + ".oneOf[" + _index7 + "]", true && _exceptionable) || _report(_exceptionable, {
9365
+ path: _path + ".oneOf[" + _index7 + "]",
9366
+ expected: "SchemaProperty<unknown>",
9367
+ value: elem
9368
+ })).every(flag => flag) || _report(_exceptionable, {
9369
+ path: _path + ".oneOf",
9370
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
9371
+ value: input.oneOf
9372
+ }), undefined === input.anyOf || (Array.isArray(input.anyOf) || _report(_exceptionable, {
9373
+ path: _path + ".anyOf",
9374
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
9375
+ value: input.anyOf
9376
+ })) && input.anyOf.map((elem, _index8) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
9377
+ path: _path + ".anyOf[" + _index8 + "]",
9378
+ expected: "SchemaProperty<unknown>",
9379
+ value: elem
9380
+ })) && _vo6(elem, _path + ".anyOf[" + _index8 + "]", true && _exceptionable) || _report(_exceptionable, {
9381
+ path: _path + ".anyOf[" + _index8 + "]",
9382
+ expected: "SchemaProperty<unknown>",
9383
+ value: elem
9384
+ })).every(flag => flag) || _report(_exceptionable, {
9385
+ path: _path + ".anyOf",
9386
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
9387
+ value: input.anyOf
9388
+ }), undefined === input["enum"] || Array.isArray(input["enum"]) || _report(_exceptionable, {
9389
+ path: _path + "[\"enum\"]",
9390
+ expected: "(ReadonlyArray<unknown> | undefined)",
9391
+ value: input["enum"]
9392
+ }), undefined === input.minItems || "number" === typeof input.minItems || _report(_exceptionable, {
9393
+ path: _path + ".minItems",
9394
+ expected: "(number | undefined)",
9395
+ value: input.minItems
9396
+ }), undefined === input.maxItems || "number" === typeof input.maxItems || _report(_exceptionable, {
9397
+ path: _path + ".maxItems",
9398
+ expected: "(number | undefined)",
9399
+ value: input.maxItems
9400
+ }), undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
9401
+ path: _path + ".items",
9402
+ expected: "(SchemaProperty<unknown> | undefined)",
9403
+ value: input.items
9404
+ })) && _vo6(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
9405
+ path: _path + ".items",
9406
+ expected: "(SchemaProperty<unknown> | undefined)",
9407
+ value: input.items
9408
+ }), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
9409
+ path: _path + ".properties",
9410
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
9411
+ value: input.properties
9412
+ })) && _vo7(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
9413
+ path: _path + ".properties",
9414
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
9415
+ value: input.properties
9416
+ }), true, true, (null !== input.widget || _report(_exceptionable, {
9417
+ path: _path + ".widget",
9418
+ expected: "(WidgetOptions | string | undefined)",
9419
+ value: input.widget
9420
+ })) && (undefined === input.widget || "string" === typeof input.widget || ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) || _report(_exceptionable, {
9421
+ path: _path + ".widget",
9422
+ expected: "(WidgetOptions | string | undefined)",
9423
+ value: input.widget
9424
+ })) && _vo8(input.widget, _path + ".widget", true && _exceptionable) || _report(_exceptionable, {
9425
+ path: _path + ".widget",
9426
+ expected: "(WidgetOptions | string | undefined)",
9427
+ value: input.widget
9428
+ })), undefined === input.placeholder || "string" === typeof input.placeholder || _report(_exceptionable, {
9429
+ path: _path + ".placeholder",
9430
+ expected: "(string | undefined)",
9431
+ value: input.placeholder
9432
+ }), undefined === input.helpText || "string" === typeof input.helpText || _report(_exceptionable, {
9433
+ path: _path + ".helpText",
9434
+ expected: "(string | undefined)",
9435
+ value: input.helpText
9436
+ }), undefined === input.invalid || "boolean" === typeof input.invalid || _report(_exceptionable, {
9437
+ path: _path + ".invalid",
9438
+ expected: "(boolean | undefined)",
9439
+ value: input.invalid
9440
+ }), true].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => ["image" === input.type || _report(_exceptionable, {
9441
+ path: _path + ".type",
9442
+ expected: "\"image\"",
9443
+ value: input.type
9444
+ }), undefined === input.profile || ("object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) || _report(_exceptionable, {
9445
+ path: _path + ".profile",
9446
+ expected: "(__type.o1 | undefined)",
9447
+ value: input.profile
9448
+ })) && _vo4(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
9449
+ path: _path + ".profile",
9450
+ expected: "(__type.o1 | undefined)",
9451
+ value: input.profile
9452
+ })].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [undefined === input.format || "string" === typeof input.format || _report(_exceptionable, {
9453
+ path: _path + ".format",
9454
+ expected: "(string | undefined)",
9455
+ value: input.format
9456
+ }), undefined === input.video || ("object" === typeof input.video && null !== input.video || _report(_exceptionable, {
9457
+ path: _path + ".video",
9458
+ expected: "(__type.o2 | undefined)",
9459
+ value: input.video
9460
+ })) && _vo5(input.video, _path + ".video", true && _exceptionable) || _report(_exceptionable, {
9461
+ path: _path + ".video",
9462
+ expected: "(__type.o2 | undefined)",
9463
+ value: input.video
9464
+ })].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => ["number" === typeof input.width || _report(_exceptionable, {
9465
+ path: _path + ".width",
9466
+ expected: "number",
9467
+ value: input.width
9468
+ }), "number" === typeof input.height || _report(_exceptionable, {
9469
+ path: _path + ".height",
9470
+ expected: "number",
9471
+ value: input.height
9472
+ }), "cover" === input.fit || _report(_exceptionable, {
9473
+ path: _path + ".fit",
9474
+ expected: "\"cover\"",
9475
+ value: input.fit
9476
+ })].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type || _report(_exceptionable, {
9477
+ path: _path + ".type",
9478
+ expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
9479
+ value: input.type
9480
+ }), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
9481
+ path: _path + ".title",
9482
+ expected: "(string | undefined)",
9483
+ value: input.title
9484
+ }), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
9485
+ path: _path + ".description",
9486
+ expected: "(string | undefined)",
9487
+ value: input.description
9488
+ }), undefined === input.required || "boolean" === typeof input.required || _report(_exceptionable, {
9489
+ path: _path + ".required",
9490
+ expected: "(boolean | undefined)",
9491
+ value: input.required
9492
+ }), undefined === input.oneOf || (Array.isArray(input.oneOf) || _report(_exceptionable, {
9493
+ path: _path + ".oneOf",
9494
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
9495
+ value: input.oneOf
9496
+ })) && input.oneOf.map((elem, _index9) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
9497
+ path: _path + ".oneOf[" + _index9 + "]",
9498
+ expected: "SchemaProperty<unknown>",
9499
+ value: elem
9500
+ })) && _vo6(elem, _path + ".oneOf[" + _index9 + "]", true && _exceptionable) || _report(_exceptionable, {
9501
+ path: _path + ".oneOf[" + _index9 + "]",
9502
+ expected: "SchemaProperty<unknown>",
9503
+ value: elem
9504
+ })).every(flag => flag) || _report(_exceptionable, {
9505
+ path: _path + ".oneOf",
9506
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
9507
+ value: input.oneOf
9508
+ }), undefined === input.anyOf || (Array.isArray(input.anyOf) || _report(_exceptionable, {
9509
+ path: _path + ".anyOf",
9510
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
9511
+ value: input.anyOf
9512
+ })) && input.anyOf.map((elem, _index10) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
9513
+ path: _path + ".anyOf[" + _index10 + "]",
9514
+ expected: "SchemaProperty<unknown>",
9515
+ value: elem
9516
+ })) && _vo6(elem, _path + ".anyOf[" + _index10 + "]", true && _exceptionable) || _report(_exceptionable, {
9517
+ path: _path + ".anyOf[" + _index10 + "]",
9518
+ expected: "SchemaProperty<unknown>",
9519
+ value: elem
9520
+ })).every(flag => flag) || _report(_exceptionable, {
9521
+ path: _path + ".anyOf",
9522
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
9523
+ value: input.anyOf
9524
+ }), undefined === input["enum"] || Array.isArray(input["enum"]) || _report(_exceptionable, {
9525
+ path: _path + "[\"enum\"]",
9526
+ expected: "(ReadonlyArray<unknown> | undefined)",
9527
+ value: input["enum"]
9528
+ }), undefined === input.minItems || "number" === typeof input.minItems || _report(_exceptionable, {
9529
+ path: _path + ".minItems",
9530
+ expected: "(number | undefined)",
9531
+ value: input.minItems
9532
+ }), undefined === input.maxItems || "number" === typeof input.maxItems || _report(_exceptionable, {
9533
+ path: _path + ".maxItems",
9534
+ expected: "(number | undefined)",
9535
+ value: input.maxItems
9536
+ }), undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
9537
+ path: _path + ".items",
9538
+ expected: "(SchemaProperty<unknown> | undefined)",
9539
+ value: input.items
9540
+ })) && _vo6(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
9541
+ path: _path + ".items",
9542
+ expected: "(SchemaProperty<unknown> | undefined)",
9543
+ value: input.items
9544
+ }), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
9545
+ path: _path + ".properties",
9546
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
9547
+ value: input.properties
9548
+ })) && _vo7(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
9549
+ path: _path + ".properties",
9550
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
9551
+ value: input.properties
9552
+ }), true, true, (null !== input.widget || _report(_exceptionable, {
9553
+ path: _path + ".widget",
9554
+ expected: "(WidgetOptions | string | undefined)",
9555
+ value: input.widget
9556
+ })) && (undefined === input.widget || "string" === typeof input.widget || ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) || _report(_exceptionable, {
9557
+ path: _path + ".widget",
9558
+ expected: "(WidgetOptions | string | undefined)",
9559
+ value: input.widget
9560
+ })) && _vo8(input.widget, _path + ".widget", true && _exceptionable) || _report(_exceptionable, {
9561
+ path: _path + ".widget",
9562
+ expected: "(WidgetOptions | string | undefined)",
9563
+ value: input.widget
9564
+ })), undefined === input.placeholder || "string" === typeof input.placeholder || _report(_exceptionable, {
9565
+ path: _path + ".placeholder",
9566
+ expected: "(string | undefined)",
9567
+ value: input.placeholder
9568
+ }), undefined === input.helpText || "string" === typeof input.helpText || _report(_exceptionable, {
9569
+ path: _path + ".helpText",
8396
9570
  expected: "(string | undefined)",
8397
- value: input.title
8398
- })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
8399
- if (false === __is(input)) {
8400
- errors = [];
8401
- _report = __typia_transform__validateReport._validateReport(errors);
8402
- ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
8403
- path: _path + "",
8404
- expected: "EventTemplateRecord",
8405
- value: input
8406
- })) && _vo0(input, _path + "", true) || _report(true, {
8407
- path: _path + "",
8408
- expected: "EventTemplateRecord",
8409
- value: input
8410
- }))(input, "$input", true);
8411
- const success = 0 === errors.length;
8412
- return success ? {
8413
- success,
8414
- data: input
8415
- } : {
8416
- success,
8417
- errors,
8418
- data: input
8419
- };
8420
- }
8421
- return {
8422
- success: true,
8423
- data: input
8424
- };
8425
- }; })()(input);
8426
- }
8427
- case ":event.overlay?": {
8428
- return (() => { const _io0 = input => Object.keys(input).every(key => {
8429
- const value = input[key];
8430
- if (undefined === value)
8431
- return true;
8432
- return "object" === typeof value && null !== value && _io1(value);
8433
- }); const _io1 = input => "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && _io2(input.data); const _io2 = input => (undefined === input.source || "string" === typeof input.source) && (undefined === input.cueCard || "string" === typeof input.cueCard || "boolean" === typeof input.cueCard) && (undefined === input.printRundownColor || "string" === typeof input.printRundownColor) && (undefined === input.startTime || "number" === typeof input.startTime) && (null !== input.shotboxGroup && (undefined === input.shotboxGroup || "string" === typeof input.shotboxGroup || Array.isArray(input.shotboxGroup) && input.shotboxGroup.every(elem => "string" === typeof elem))) && (undefined === input.shotboxVisible || "boolean" === typeof input.shotboxVisible) && Object.keys(input).every(key => {
8434
- if (["source", "cueCard", "printRundownColor", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
8435
- return true;
8436
- const value = input[key];
8437
- if (undefined === value)
8438
- return true;
8439
- return undefined !== value && (null === value || "string" === typeof value || "number" === typeof value || "boolean" === typeof value || (Array.isArray(value) && (_ia0(value) || false) || "object" === typeof value && null !== value && false === Array.isArray(value) && _io3(value)));
8440
- }); const _io3 = input => Object.keys(input).every(key => {
8441
- const value = input[key];
8442
- if (undefined === value)
8443
- return true;
8444
- return undefined !== value && (null === value || "string" === typeof value || "number" === typeof value || "boolean" === typeof value || (Array.isArray(value) && (_ia0(value) || false) || "object" === typeof value && null !== value && false === Array.isArray(value) && _io3(value)));
8445
- }); const _ia0 = input => input.every(elem => undefined !== elem && (null === elem || "string" === typeof elem || "number" === typeof elem || "boolean" === typeof elem || (Array.isArray(elem) && (_ia0(elem) || false) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io3(elem)))); const _vo0 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
9571
+ value: input.helpText
9572
+ }), undefined === input.invalid || "boolean" === typeof input.invalid || _report(_exceptionable, {
9573
+ path: _path + ".invalid",
9574
+ expected: "(boolean | undefined)",
9575
+ value: input.invalid
9576
+ }), true].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
8446
9577
  const value = input[key];
8447
9578
  if (undefined === value)
8448
9579
  return true;
8449
- return ("object" === typeof value && null !== value || _report(_exceptionable, {
9580
+ return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
8450
9581
  path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
8451
- expected: "__type",
9582
+ expected: "SchemaProperty<unknown>",
8452
9583
  value: value
8453
- })) && _vo1(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
9584
+ })) && _vo6(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
8454
9585
  path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
8455
- expected: "__type",
9586
+ expected: "SchemaProperty<unknown>",
8456
9587
  value: value
8457
9588
  });
8458
- }).every(flag => flag)].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [("object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) || _report(_exceptionable, {
8459
- path: _path + ".data",
8460
- expected: "EventPropsRecord",
8461
- value: input.data
8462
- })) && _vo2(input.data, _path + ".data", true && _exceptionable) || _report(_exceptionable, {
8463
- path: _path + ".data",
8464
- expected: "EventPropsRecord",
8465
- value: input.data
8466
- })].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.source || "string" === typeof input.source || _report(_exceptionable, {
8467
- path: _path + ".source",
8468
- expected: "(string | undefined)",
8469
- value: input.source
8470
- }), undefined === input.cueCard || "string" === typeof input.cueCard || "boolean" === typeof input.cueCard || _report(_exceptionable, {
8471
- path: _path + ".cueCard",
8472
- expected: "(boolean | string | undefined)",
8473
- value: input.cueCard
8474
- }), undefined === input.printRundownColor || "string" === typeof input.printRundownColor || _report(_exceptionable, {
8475
- path: _path + ".printRundownColor",
9589
+ }).every(flag => flag)].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
9590
+ path: _path + ".type",
8476
9591
  expected: "(string | undefined)",
8477
- value: input.printRundownColor
8478
- }), undefined === input.startTime || "number" === typeof input.startTime || _report(_exceptionable, {
8479
- path: _path + ".startTime",
8480
- expected: "(number | undefined)",
8481
- value: input.startTime
8482
- }), (null !== input.shotboxGroup || _report(_exceptionable, {
8483
- path: _path + ".shotboxGroup",
8484
- expected: "(Array<string> | string | undefined)",
8485
- value: input.shotboxGroup
8486
- })) && (undefined === input.shotboxGroup || "string" === typeof input.shotboxGroup || (Array.isArray(input.shotboxGroup) || _report(_exceptionable, {
8487
- path: _path + ".shotboxGroup",
8488
- expected: "(Array<string> | string | undefined)",
8489
- value: input.shotboxGroup
8490
- })) && input.shotboxGroup.map((elem, _index3) => "string" === typeof elem || _report(_exceptionable, {
8491
- path: _path + ".shotboxGroup[" + _index3 + "]",
8492
- expected: "string",
8493
- value: elem
8494
- })).every(flag => flag) || _report(_exceptionable, {
8495
- path: _path + ".shotboxGroup",
8496
- expected: "(Array<string> | string | undefined)",
8497
- value: input.shotboxGroup
8498
- })), undefined === input.shotboxVisible || "boolean" === typeof input.shotboxVisible || _report(_exceptionable, {
8499
- path: _path + ".shotboxVisible",
9592
+ value: input.type
9593
+ }), undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
9594
+ path: _path + ".readOnly",
8500
9595
  expected: "(boolean | undefined)",
8501
- value: input.shotboxVisible
9596
+ value: input.readOnly
8502
9597
  }), false === _exceptionable || Object.keys(input).map(key => {
8503
- if (["source", "cueCard", "printRundownColor", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
8504
- return true;
8505
- const value = input[key];
8506
- if (undefined === value)
9598
+ if (["type", "readOnly"].some(prop => key === prop))
8507
9599
  return true;
8508
- return (undefined !== value || _report(_exceptionable, {
8509
- path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
8510
- expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
8511
- value: value
8512
- })) && (null === value || "string" === typeof value || "number" === typeof value || "boolean" === typeof value || (Array.isArray(value) && (_va0(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
8513
- path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
8514
- expected: "Array<JsonValue>",
8515
- value: value
8516
- })) || "object" === typeof value && null !== value && false === Array.isArray(value) && _vo3(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
8517
- path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
8518
- expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
8519
- value: value
8520
- })) || _report(_exceptionable, {
8521
- path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
8522
- expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
8523
- value: value
8524
- }));
8525
- }).every(flag => flag)].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
8526
9600
  const value = input[key];
8527
9601
  if (undefined === value)
8528
9602
  return true;
8529
- return (undefined !== value || _report(_exceptionable, {
8530
- path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
8531
- expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
8532
- value: value
8533
- })) && (null === value || "string" === typeof value || "number" === typeof value || "boolean" === typeof value || (Array.isArray(value) && (_va0(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
8534
- path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
8535
- expected: "Array<JsonValue>",
8536
- value: value
8537
- })) || "object" === typeof value && null !== value && false === Array.isArray(value) && _vo3(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
8538
- path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
8539
- expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
8540
- value: value
8541
- })) || _report(_exceptionable, {
8542
- path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
8543
- expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
8544
- value: value
8545
- }));
8546
- }).every(flag => flag)].every(flag => flag); const _va0 = (input, _path, _exceptionable = true) => input.map((elem, _index4) => (undefined !== elem || _report(_exceptionable, {
8547
- path: _path + "[" + _index4 + "]",
8548
- expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
8549
- value: elem
8550
- })) && (null === elem || "string" === typeof elem || "number" === typeof elem || "boolean" === typeof elem || (Array.isArray(elem) && (_va0(elem, _path + "[" + _index4 + "]", true && _exceptionable) || _report(_exceptionable, {
8551
- path: _path + "[" + _index4 + "]",
8552
- expected: "Array<JsonValue>",
8553
- value: elem
8554
- })) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _vo3(elem, _path + "[" + _index4 + "]", true && _exceptionable) || _report(_exceptionable, {
8555
- path: _path + "[" + _index4 + "]",
8556
- expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
8557
- value: elem
8558
- })) || _report(_exceptionable, {
8559
- path: _path + "[" + _index4 + "]",
8560
- expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
8561
- value: elem
8562
- }))).every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
8563
- if (false === __is(input)) {
8564
- errors = [];
8565
- _report = __typia_transform__validateReport._validateReport(errors);
8566
- ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
8567
- path: _path + "",
8568
- expected: "EventOverlayRecord",
8569
- value: input
8570
- })) && _vo0(input, _path + "", true) || _report(true, {
8571
- path: _path + "",
8572
- expected: "EventOverlayRecord",
8573
- value: input
8574
- }))(input, "$input", true);
8575
- const success = 0 === errors.length;
8576
- return success ? {
8577
- success,
8578
- data: input
8579
- } : {
8580
- success,
8581
- errors,
8582
- data: input
8583
- };
8584
- }
8585
- return {
8586
- success: true,
8587
- data: input
8588
- };
8589
- }; })()(input);
8590
- }
8591
- case ":event.template?": {
8592
- return (() => { const _io0 = input => (undefined === input.mixin || Array.isArray(input.mixin) && input.mixin.every(elem => "string" === typeof elem)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io1(input.properties)) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) && _io2(input.layout)) && (undefined === input.controller || "string" === typeof input.controller); const _io1 = input => true; const _io2 = input => undefined === input.title || "string" === typeof input.title; const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.mixin || (Array.isArray(input.mixin) || _report(_exceptionable, {
8593
- path: _path + ".mixin",
8594
- expected: "(Array<string> | undefined)",
8595
- value: input.mixin
8596
- })) && input.mixin.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
8597
- path: _path + ".mixin[" + _index2 + "]",
8598
- expected: "string",
8599
- value: elem
8600
- })).every(flag => flag) || _report(_exceptionable, {
8601
- path: _path + ".mixin",
8602
- expected: "(Array<string> | undefined)",
8603
- value: input.mixin
8604
- }), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
8605
- path: _path + ".properties",
8606
- expected: "(object | undefined)",
8607
- value: input.properties
8608
- })) && _vo1(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
8609
- path: _path + ".properties",
8610
- expected: "(object | undefined)",
8611
- value: input.properties
8612
- }), undefined === input.layout || ("object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) || _report(_exceptionable, {
8613
- path: _path + ".layout",
8614
- expected: "(__type | undefined)",
8615
- value: input.layout
8616
- })) && _vo2(input.layout, _path + ".layout", true && _exceptionable) || _report(_exceptionable, {
8617
- path: _path + ".layout",
8618
- expected: "(__type | undefined)",
8619
- value: input.layout
8620
- }), undefined === input.controller || "string" === typeof input.controller || _report(_exceptionable, {
8621
- path: _path + ".controller",
8622
- expected: "(string | undefined)",
8623
- value: input.controller
8624
- })].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => true; const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
9603
+ return true;
9604
+ }).every(flag => flag)].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
8625
9605
  path: _path + ".title",
8626
9606
  expected: "(string | undefined)",
8627
9607
  value: input.title
@@ -8857,11 +9837,45 @@ function _validateDomainRecord(domain, input) {
8857
9837
  _report = __typia_transform__validateReport._validateReport(errors);
8858
9838
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
8859
9839
  path: _path + "",
8860
- expected: "EventPropsRecord",
9840
+ expected: "EventPropsRecord",
9841
+ value: input
9842
+ })) && _vo0(input, _path + "", true) || _report(true, {
9843
+ path: _path + "",
9844
+ expected: "EventPropsRecord",
9845
+ value: input
9846
+ }))(input, "$input", true);
9847
+ const success = 0 === errors.length;
9848
+ return success ? {
9849
+ success,
9850
+ data: input
9851
+ } : {
9852
+ success,
9853
+ errors,
9854
+ data: input
9855
+ };
9856
+ }
9857
+ return {
9858
+ success: true,
9859
+ data: input
9860
+ };
9861
+ }; })()(input);
9862
+ }
9863
+ case ":event.stats?": {
9864
+ return (() => { const _io0 = input => undefined === input.type || "string" === typeof input.type; const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
9865
+ path: _path + ".type",
9866
+ expected: "(string | undefined)",
9867
+ value: input.type
9868
+ })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
9869
+ if (false === __is(input)) {
9870
+ errors = [];
9871
+ _report = __typia_transform__validateReport._validateReport(errors);
9872
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
9873
+ path: _path + "",
9874
+ expected: "EventStatsRecord",
8861
9875
  value: input
8862
9876
  })) && _vo0(input, _path + "", true) || _report(true, {
8863
9877
  path: _path + "",
8864
- expected: "EventPropsRecord",
9878
+ expected: "EventStatsRecord",
8865
9879
  value: input
8866
9880
  }))(input, "$input", true);
8867
9881
  const success = 0 === errors.length;
@@ -8880,22 +9894,120 @@ function _validateDomainRecord(domain, input) {
8880
9894
  };
8881
9895
  }; })()(input);
8882
9896
  }
8883
- case ":event.stats?": {
8884
- return (() => { const _io0 = input => undefined === input.type || "string" === typeof input.type; const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
8885
- path: _path + ".type",
9897
+ case ":event.status?": {
9898
+ return (() => { const _io0 = input => undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem)); const _io1 = input => "string" === typeof input.id && "string" === typeof input.msg && "number" === typeof input.level && (undefined === input.code || "string" === typeof input.code) && (null === input.expose || undefined === input.expose || "boolean" === typeof input.expose) && (null === input.index || undefined === input.index || "number" === typeof input.index) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && _io2(input.data)); const _io2 = input => null === input.progress || undefined === input.progress || "number" === typeof input.progress; const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
9899
+ path: _path + ".messages",
9900
+ expected: "(Array<__type> | undefined)",
9901
+ value: input.messages
9902
+ })) && input.messages.map((elem, _index2) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
9903
+ path: _path + ".messages[" + _index2 + "]",
9904
+ expected: "__type",
9905
+ value: elem
9906
+ })) && _vo1(elem, _path + ".messages[" + _index2 + "]", true && _exceptionable) || _report(_exceptionable, {
9907
+ path: _path + ".messages[" + _index2 + "]",
9908
+ expected: "__type",
9909
+ value: elem
9910
+ })).every(flag => flag) || _report(_exceptionable, {
9911
+ path: _path + ".messages",
9912
+ expected: "(Array<__type> | undefined)",
9913
+ value: input.messages
9914
+ })].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.id || _report(_exceptionable, {
9915
+ path: _path + ".id",
9916
+ expected: "string",
9917
+ value: input.id
9918
+ }), "string" === typeof input.msg || _report(_exceptionable, {
9919
+ path: _path + ".msg",
9920
+ expected: "string",
9921
+ value: input.msg
9922
+ }), "number" === typeof input.level || _report(_exceptionable, {
9923
+ path: _path + ".level",
9924
+ expected: "number",
9925
+ value: input.level
9926
+ }), undefined === input.code || "string" === typeof input.code || _report(_exceptionable, {
9927
+ path: _path + ".code",
8886
9928
  expected: "(string | undefined)",
8887
- value: input.type
9929
+ value: input.code
9930
+ }), null === input.expose || undefined === input.expose || "boolean" === typeof input.expose || _report(_exceptionable, {
9931
+ path: _path + ".expose",
9932
+ expected: "(boolean | null | undefined)",
9933
+ value: input.expose
9934
+ }), null === input.index || undefined === input.index || "number" === typeof input.index || _report(_exceptionable, {
9935
+ path: _path + ".index",
9936
+ expected: "(null | number | undefined)",
9937
+ value: input.index
9938
+ }), undefined === input.data || ("object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) || _report(_exceptionable, {
9939
+ path: _path + ".data",
9940
+ expected: "(__type.o1 | undefined)",
9941
+ value: input.data
9942
+ })) && _vo2(input.data, _path + ".data", true && _exceptionable) || _report(_exceptionable, {
9943
+ path: _path + ".data",
9944
+ expected: "(__type.o1 | undefined)",
9945
+ value: input.data
9946
+ })].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [null === input.progress || undefined === input.progress || "number" === typeof input.progress || _report(_exceptionable, {
9947
+ path: _path + ".progress",
9948
+ expected: "(null | number | undefined)",
9949
+ value: input.progress
8888
9950
  })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
8889
9951
  if (false === __is(input)) {
8890
9952
  errors = [];
8891
9953
  _report = __typia_transform__validateReport._validateReport(errors);
8892
9954
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
8893
9955
  path: _path + "",
8894
- expected: "EventStatsRecord",
9956
+ expected: "EventStatusRecord",
8895
9957
  value: input
8896
9958
  })) && _vo0(input, _path + "", true) || _report(true, {
8897
9959
  path: _path + "",
8898
- expected: "EventStatsRecord",
9960
+ expected: "EventStatusRecord",
9961
+ value: input
9962
+ }))(input, "$input", true);
9963
+ const success = 0 === errors.length;
9964
+ return success ? {
9965
+ success,
9966
+ data: input
9967
+ } : {
9968
+ success,
9969
+ errors,
9970
+ data: input
9971
+ };
9972
+ }
9973
+ return {
9974
+ success: true,
9975
+ data: input
9976
+ };
9977
+ }; })()(input);
9978
+ }
9979
+ case ":event.schedule?": {
9980
+ return (() => { const _io0 = input => (undefined === input.startTime || "number" === typeof input.startTime) && (undefined === input.transition || "boolean" === typeof input.transition) && (undefined === input.transitionTime || "number" === typeof input.transitionTime) && (undefined === input.transitionDuration || "number" === typeof input.transitionDuration) && (undefined === input.endTime || "number" === typeof input.endTime); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.startTime || "number" === typeof input.startTime || _report(_exceptionable, {
9981
+ path: _path + ".startTime",
9982
+ expected: "(number | undefined)",
9983
+ value: input.startTime
9984
+ }), undefined === input.transition || "boolean" === typeof input.transition || _report(_exceptionable, {
9985
+ path: _path + ".transition",
9986
+ expected: "(boolean | undefined)",
9987
+ value: input.transition
9988
+ }), undefined === input.transitionTime || "number" === typeof input.transitionTime || _report(_exceptionable, {
9989
+ path: _path + ".transitionTime",
9990
+ expected: "(number | undefined)",
9991
+ value: input.transitionTime
9992
+ }), undefined === input.transitionDuration || "number" === typeof input.transitionDuration || _report(_exceptionable, {
9993
+ path: _path + ".transitionDuration",
9994
+ expected: "(number | undefined)",
9995
+ value: input.transitionDuration
9996
+ }), undefined === input.endTime || "number" === typeof input.endTime || _report(_exceptionable, {
9997
+ path: _path + ".endTime",
9998
+ expected: "(number | undefined)",
9999
+ value: input.endTime
10000
+ })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
10001
+ if (false === __is(input)) {
10002
+ errors = [];
10003
+ _report = __typia_transform__validateReport._validateReport(errors);
10004
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
10005
+ path: _path + "",
10006
+ expected: "EventScheduleRecord",
10007
+ value: input
10008
+ })) && _vo0(input, _path + "", true) || _report(true, {
10009
+ path: _path + "",
10010
+ expected: "EventScheduleRecord",
8899
10011
  value: input
8900
10012
  }))(input, "$input", true);
8901
10013
  const success = 0 === errors.length;
@@ -10911,6 +12023,40 @@ function _validateDomainRecord(domain, input) {
10911
12023
  };
10912
12024
  }; })()(input);
10913
12025
  }
12026
+ case ":media.placeholder": {
12027
+ return (() => { const _io0 = input => "string" === typeof input.asset; const _vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.asset || _report(_exceptionable, {
12028
+ path: _path + ".asset",
12029
+ expected: "string",
12030
+ value: input.asset
12031
+ })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
12032
+ if (false === __is(input)) {
12033
+ errors = [];
12034
+ _report = __typia_transform__validateReport._validateReport(errors);
12035
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
12036
+ path: _path + "",
12037
+ expected: "MediaPlaceholderRecord",
12038
+ value: input
12039
+ })) && _vo0(input, _path + "", true) || _report(true, {
12040
+ path: _path + "",
12041
+ expected: "MediaPlaceholderRecord",
12042
+ value: input
12043
+ }))(input, "$input", true);
12044
+ const success = 0 === errors.length;
12045
+ return success ? {
12046
+ success,
12047
+ data: input
12048
+ } : {
12049
+ success,
12050
+ errors,
12051
+ data: input
12052
+ };
12053
+ }
12054
+ return {
12055
+ success: true,
12056
+ data: input
12057
+ };
12058
+ }; })()(input);
12059
+ }
10914
12060
  case ":media.consolidate": {
10915
12061
  return (() => { const _io0 = input => true && true && (null !== input.preset && (undefined === input.preset || "string" === typeof input.preset || "object" === typeof input.preset && null !== input.preset && false === Array.isArray(input.preset) && _io1(input.preset))) && true; const _io1 = input => (null === input.type || undefined === input.type || "string" === typeof input.type) && (null !== input.profile && (undefined === input.profile || "string" === typeof input.profile || (Array.isArray(input.profile) && input.profile.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && _io2(elem))) || "object" === typeof input.profile && null !== input.profile && _io2(input.profile)))); const _io2 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io3(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io4(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io5(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io6(input.subtitle))); const _io3 = input => "string" === typeof input.engine; const _io4 = input => "string" === typeof input.language; const _io5 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io6 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (undefined === input.ccconverter || "object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) && _io7(input.ccconverter)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io8(input.ass)); const _io7 = input => undefined === input.preset || "string" === typeof input.preset; const _io8 = input => (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack); const _vo0 = (input, _path, _exceptionable = true) => [true, true, (null !== input.preset || _report(_exceptionable, {
10916
12062
  path: _path + ".preset",
@@ -11215,7 +12361,17 @@ function _validateDomainRecord(domain, input) {
11215
12361
  if (undefined === value)
11216
12362
  return true;
11217
12363
  return "object" === typeof value && null !== value && false === Array.isArray(value) && _io1(value);
11218
- }); const _io1 = input => undefined === input.patch || Array.isArray(input.patch) && input.patch.every(elem => "object" === typeof elem && null !== elem && _iu0(elem)); const _io2 = input => "add" === input.op && "string" === typeof input.path && true; const _io3 = input => "remove" === input.op && "string" === typeof input.path; const _io4 = input => "replace" === input.op && "string" === typeof input.path && true; const _io5 = input => "move" === input.op && "string" === typeof input.from && "string" === typeof input.path; const _io6 = input => "copy" === input.op && "string" === typeof input.from && "string" === typeof input.path; const _io7 = input => "test" === input.op && "string" === typeof input.path && true; const _iu0 = input => (() => {
12364
+ }); const _io1 = input => (undefined === input.patch || Array.isArray(input.patch) && input.patch.every(elem => "object" === typeof elem && null !== elem && _iu0(elem))) && (undefined === input.speakerLabels || "object" === typeof input.speakerLabels && null !== input.speakerLabels && false === Array.isArray(input.speakerLabels) && _io8(input.speakerLabels)) && (undefined === input.speakerRemaps || "object" === typeof input.speakerRemaps && null !== input.speakerRemaps && false === Array.isArray(input.speakerRemaps) && _io9(input.speakerRemaps)); const _io2 = input => "add" === input.op && "string" === typeof input.path && true; const _io3 = input => "remove" === input.op && "string" === typeof input.path; const _io4 = input => "replace" === input.op && "string" === typeof input.path && true; const _io5 = input => "move" === input.op && "string" === typeof input.from && "string" === typeof input.path; const _io6 = input => "copy" === input.op && "string" === typeof input.from && "string" === typeof input.path; const _io7 = input => "test" === input.op && "string" === typeof input.path && true; const _io8 = input => Object.keys(input).every(key => {
12365
+ const value = input[key];
12366
+ if (undefined === value)
12367
+ return true;
12368
+ return "string" === typeof value;
12369
+ }); const _io9 = input => Object.keys(input).every(key => {
12370
+ const value = input[key];
12371
+ if (undefined === value)
12372
+ return true;
12373
+ return "string" === typeof value;
12374
+ }); const _iu0 = input => (() => {
11219
12375
  if ("add" === input.op)
11220
12376
  return _io2(input);
11221
12377
  else if ("remove" === input.op)
@@ -11259,6 +12415,22 @@ function _validateDomainRecord(domain, input) {
11259
12415
  path: _path + ".patch",
11260
12416
  expected: "(Array<Operation> | undefined)",
11261
12417
  value: input.patch
12418
+ }), undefined === input.speakerLabels || ("object" === typeof input.speakerLabels && null !== input.speakerLabels && false === Array.isArray(input.speakerLabels) || _report(_exceptionable, {
12419
+ path: _path + ".speakerLabels",
12420
+ expected: "(__type | undefined)",
12421
+ value: input.speakerLabels
12422
+ })) && _vo8(input.speakerLabels, _path + ".speakerLabels", true && _exceptionable) || _report(_exceptionable, {
12423
+ path: _path + ".speakerLabels",
12424
+ expected: "(__type | undefined)",
12425
+ value: input.speakerLabels
12426
+ }), undefined === input.speakerRemaps || ("object" === typeof input.speakerRemaps && null !== input.speakerRemaps && false === Array.isArray(input.speakerRemaps) || _report(_exceptionable, {
12427
+ path: _path + ".speakerRemaps",
12428
+ expected: "(__type.o1 | undefined)",
12429
+ value: input.speakerRemaps
12430
+ })) && _vo9(input.speakerRemaps, _path + ".speakerRemaps", true && _exceptionable) || _report(_exceptionable, {
12431
+ path: _path + ".speakerRemaps",
12432
+ expected: "(__type.o1 | undefined)",
12433
+ value: input.speakerRemaps
11262
12434
  })].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => ["add" === input.op || _report(_exceptionable, {
11263
12435
  path: _path + ".op",
11264
12436
  expected: "\"add\"",
@@ -11315,7 +12487,25 @@ function _validateDomainRecord(domain, input) {
11315
12487
  path: _path + ".path",
11316
12488
  expected: "string",
11317
12489
  value: input.path
11318
- }), true].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
12490
+ }), true].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
12491
+ const value = input[key];
12492
+ if (undefined === value)
12493
+ return true;
12494
+ return "string" === typeof value || _report(_exceptionable, {
12495
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
12496
+ expected: "string",
12497
+ value: value
12498
+ });
12499
+ }).every(flag => flag)].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
12500
+ const value = input[key];
12501
+ if (undefined === value)
12502
+ return true;
12503
+ return "string" === typeof value || _report(_exceptionable, {
12504
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
12505
+ expected: "string",
12506
+ value: value
12507
+ });
12508
+ }).every(flag => flag)].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
11319
12509
  if ("add" === input.op)
11320
12510
  return _vo2(input, _path, true && _exceptionable);
11321
12511
  else if ("remove" === input.op)
@@ -12208,7 +13398,7 @@ function _validateDomainRecord(domain, input) {
12208
13398
  }; })()(input);
12209
13399
  }
12210
13400
  case ":monitor.stats?": {
12211
- return (() => { const _io0 = input => true && ("object" === typeof input.proc && null !== input.proc && _io1(input.proc)) && ("object" === typeof input.buddyinfo && null !== input.buddyinfo && _io3(input.buddyinfo)) && ("object" === typeof input.meminfo && null !== input.meminfo && false === Array.isArray(input.meminfo) && _io4(input.meminfo)) && ("object" === typeof input.net && null !== input.net && _io5(input.net)) && ("object" === typeof input["var"] && null !== input["var"] && _io12(input["var"])); const _io1 = input => (null === input.cpu || "object" === typeof input.cpu && null !== input.cpu && false === Array.isArray(input.cpu) && _io2(input.cpu)) && (undefined === input.cpus || Array.isArray(input.cpus) && input.cpus.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io2(elem))) && "number" === typeof input.threads && (null === input.load || Array.isArray(input.load) && input.load.every(elem => "number" === typeof elem)) && (null === input.interrupts || undefined === input.interrupts || Array.isArray(input.interrupts) && input.interrupts.every(elem => "number" === typeof elem)) && (null === input.contextSwitches || "number" === typeof input.contextSwitches) && (null === input.bootTime || "number" === typeof input.bootTime) && (null === input.processes || "number" === typeof input.processes) && (null === input.running || "number" === typeof input.running) && (null === input.blocked || "number" === typeof input.blocked) && true && true && "number" === typeof input.timestamp && (null === input.total || "number" === typeof input.total) && (null === input.idle || "number" === typeof input.idle) && (null === input.active || "number" === typeof input.active) && (null === input.utilization || "number" === typeof input.utilization); const _io2 = input => Object.keys(input).every(key => {
13401
+ return (() => { const _io0 = input => true && ("object" === typeof input.proc && null !== input.proc && _io1(input.proc)) && ("object" === typeof input.buddyinfo && null !== input.buddyinfo && _io3(input.buddyinfo)) && ("object" === typeof input.meminfo && null !== input.meminfo && false === Array.isArray(input.meminfo) && _io4(input.meminfo)) && ("object" === typeof input.net && null !== input.net && _io5(input.net)) && ("object" === typeof input["var"] && null !== input["var"] && _io12(input["var"])) && ("object" === typeof input.hostBridge && null !== input.hostBridge && _io13(input.hostBridge)); const _io1 = input => (null === input.cpu || "object" === typeof input.cpu && null !== input.cpu && false === Array.isArray(input.cpu) && _io2(input.cpu)) && (undefined === input.cpus || Array.isArray(input.cpus) && input.cpus.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io2(elem))) && "number" === typeof input.threads && (null === input.load || Array.isArray(input.load) && input.load.every(elem => "number" === typeof elem)) && (null === input.interrupts || undefined === input.interrupts || Array.isArray(input.interrupts) && input.interrupts.every(elem => "number" === typeof elem)) && (null === input.contextSwitches || "number" === typeof input.contextSwitches) && (null === input.bootTime || "number" === typeof input.bootTime) && (null === input.processes || "number" === typeof input.processes) && (null === input.running || "number" === typeof input.running) && (null === input.blocked || "number" === typeof input.blocked) && true && true && "number" === typeof input.timestamp && (null === input.total || "number" === typeof input.total) && (null === input.idle || "number" === typeof input.idle) && (null === input.active || "number" === typeof input.active) && (null === input.utilization || "number" === typeof input.utilization); const _io2 = input => Object.keys(input).every(key => {
12212
13402
  const value = input[key];
12213
13403
  if (undefined === value)
12214
13404
  return true;
@@ -12237,7 +13427,12 @@ function _validateDomainRecord(domain, input) {
12237
13427
  if (undefined === value)
12238
13428
  return true;
12239
13429
  return true;
12240
- }); const _io12 = input => "number" === typeof input.used && "number" === typeof input.available && "number" === typeof input.timestamp; const _vo0 = (input, _path, _exceptionable = true) => [true, ("object" === typeof input.proc && null !== input.proc || _report(_exceptionable, {
13430
+ }); const _io12 = input => "number" === typeof input.used && "number" === typeof input.available && "number" === typeof input.timestamp; const _io13 = input => "object" === typeof input.types && null !== input.types && false === Array.isArray(input.types) && _io14(input.types) && (Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io15(elem))) && "number" === typeof input.timestamp; const _io14 = input => Object.keys(input).every(key => {
13431
+ const value = input[key];
13432
+ if (undefined === value)
13433
+ return true;
13434
+ return "string" === typeof value;
13435
+ }); const _io15 = input => "string" === typeof input.type && "string" === typeof input.id && "number" === typeof input.level && "string" === typeof input.title && "string" === typeof input.msg; const _vo0 = (input, _path, _exceptionable = true) => [true, ("object" === typeof input.proc && null !== input.proc || _report(_exceptionable, {
12241
13436
  path: _path + ".proc",
12242
13437
  expected: "MonitorStatsProcInfo",
12243
13438
  value: input.proc
@@ -12277,6 +13472,14 @@ function _validateDomainRecord(domain, input) {
12277
13472
  path: _path + "[\"var\"]",
12278
13473
  expected: "__type.o5",
12279
13474
  value: input["var"]
13475
+ }), ("object" === typeof input.hostBridge && null !== input.hostBridge || _report(_exceptionable, {
13476
+ path: _path + ".hostBridge",
13477
+ expected: "MonitorStatsHostBridge",
13478
+ value: input.hostBridge
13479
+ })) && _vo13(input.hostBridge, _path + ".hostBridge", true && _exceptionable) || _report(_exceptionable, {
13480
+ path: _path + ".hostBridge",
13481
+ expected: "MonitorStatsHostBridge",
13482
+ value: input.hostBridge
12280
13483
  })].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [null === input.cpu || ("object" === typeof input.cpu && null !== input.cpu && false === Array.isArray(input.cpu) || _report(_exceptionable, {
12281
13484
  path: _path + ".cpu",
12282
13485
  expected: "(MonitorStatsProcInfoCpu | null)",
@@ -12289,12 +13492,12 @@ function _validateDomainRecord(domain, input) {
12289
13492
  path: _path + ".cpus",
12290
13493
  expected: "(Array<MonitorStatsProcInfoCpu> | undefined)",
12291
13494
  value: input.cpus
12292
- })) && input.cpus.map((elem, _index10) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
12293
- path: _path + ".cpus[" + _index10 + "]",
13495
+ })) && input.cpus.map((elem, _index11) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
13496
+ path: _path + ".cpus[" + _index11 + "]",
12294
13497
  expected: "MonitorStatsProcInfoCpu",
12295
13498
  value: elem
12296
- })) && _vo2(elem, _path + ".cpus[" + _index10 + "]", true && _exceptionable) || _report(_exceptionable, {
12297
- path: _path + ".cpus[" + _index10 + "]",
13499
+ })) && _vo2(elem, _path + ".cpus[" + _index11 + "]", true && _exceptionable) || _report(_exceptionable, {
13500
+ path: _path + ".cpus[" + _index11 + "]",
12298
13501
  expected: "MonitorStatsProcInfoCpu",
12299
13502
  value: elem
12300
13503
  })).every(flag => flag) || _report(_exceptionable, {
@@ -12309,8 +13512,8 @@ function _validateDomainRecord(domain, input) {
12309
13512
  path: _path + ".load",
12310
13513
  expected: "(Array<number> | null)",
12311
13514
  value: input.load
12312
- })) && input.load.map((elem, _index11) => "number" === typeof elem || _report(_exceptionable, {
12313
- path: _path + ".load[" + _index11 + "]",
13515
+ })) && input.load.map((elem, _index12) => "number" === typeof elem || _report(_exceptionable, {
13516
+ path: _path + ".load[" + _index12 + "]",
12314
13517
  expected: "number",
12315
13518
  value: elem
12316
13519
  })).every(flag => flag) || _report(_exceptionable, {
@@ -12321,8 +13524,8 @@ function _validateDomainRecord(domain, input) {
12321
13524
  path: _path + ".interrupts",
12322
13525
  expected: "(Array<number> | null | undefined)",
12323
13526
  value: input.interrupts
12324
- })) && input.interrupts.map((elem, _index12) => "number" === typeof elem || _report(_exceptionable, {
12325
- path: _path + ".interrupts[" + _index12 + "]",
13527
+ })) && input.interrupts.map((elem, _index13) => "number" === typeof elem || _report(_exceptionable, {
13528
+ path: _path + ".interrupts[" + _index13 + "]",
12326
13529
  expected: "number",
12327
13530
  value: elem
12328
13531
  })).every(flag => flag) || _report(_exceptionable, {
@@ -12382,8 +13585,8 @@ function _validateDomainRecord(domain, input) {
12382
13585
  path: _path + ".normal",
12383
13586
  expected: "(Array<number> | undefined)",
12384
13587
  value: input.normal
12385
- })) && input.normal.map((elem, _index13) => "number" === typeof elem || _report(_exceptionable, {
12386
- path: _path + ".normal[" + _index13 + "]",
13588
+ })) && input.normal.map((elem, _index14) => "number" === typeof elem || _report(_exceptionable, {
13589
+ path: _path + ".normal[" + _index14 + "]",
12387
13590
  expected: "number",
12388
13591
  value: elem
12389
13592
  })).every(flag => flag) || _report(_exceptionable, {
@@ -12394,8 +13597,8 @@ function _validateDomainRecord(domain, input) {
12394
13597
  path: _path + ".high",
12395
13598
  expected: "(Array<number> | undefined)",
12396
13599
  value: input.high
12397
- })) && input.high.map((elem, _index14) => "number" === typeof elem || _report(_exceptionable, {
12398
- path: _path + ".high[" + _index14 + "]",
13600
+ })) && input.high.map((elem, _index15) => "number" === typeof elem || _report(_exceptionable, {
13601
+ path: _path + ".high[" + _index15 + "]",
12399
13602
  expected: "number",
12400
13603
  value: elem
12401
13604
  })).every(flag => flag) || _report(_exceptionable, {
@@ -12435,12 +13638,12 @@ function _validateDomainRecord(domain, input) {
12435
13638
  path: _path + ".bonding",
12436
13639
  expected: "Array<NetworkInterfaceInfo & { [key: string]: unknown; slaves: string[]; name: string; }>",
12437
13640
  value: input.bonding
12438
- })) && input.bonding.map((elem, _index15) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
12439
- path: _path + ".bonding[" + _index15 + "]",
13641
+ })) && input.bonding.map((elem, _index16) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
13642
+ path: _path + ".bonding[" + _index16 + "]",
12440
13643
  expected: "NetworkInterfaceInfo & { [key: string]: unknown; slaves: string[]; name: string; }",
12441
13644
  value: elem
12442
- })) && _vo10(elem, _path + ".bonding[" + _index15 + "]", true && _exceptionable) || _report(_exceptionable, {
12443
- path: _path + ".bonding[" + _index15 + "]",
13645
+ })) && _vo10(elem, _path + ".bonding[" + _index16 + "]", true && _exceptionable) || _report(_exceptionable, {
13646
+ path: _path + ".bonding[" + _index16 + "]",
12444
13647
  expected: "NetworkInterfaceInfo & { [key: string]: unknown; slaves: string[]; name: string; }",
12445
13648
  value: elem
12446
13649
  })).every(flag => flag) || _report(_exceptionable, {
@@ -12451,12 +13654,12 @@ function _validateDomainRecord(domain, input) {
12451
13654
  path: _path + ".eth",
12452
13655
  expected: "Array<NetworkInterfaceInfo & { [key: string]: unknown; speed?: number | undefined; rxUnicastBytes?: number | undefined; rxMulticastBytes?: number | undefined; rxBroadcastBytes?: number | undefined; }>",
12453
13656
  value: input.eth
12454
- })) && input.eth.map((elem, _index16) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
12455
- path: _path + ".eth[" + _index16 + "]",
13657
+ })) && input.eth.map((elem, _index17) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
13658
+ path: _path + ".eth[" + _index17 + "]",
12456
13659
  expected: "NetworkInterfaceInfo & { [key: string]: unknown; speed?: number | undefined; rxUnicastBytes?: number | undefined; rxMulticastBytes?: number | undefined; rxBroadcastBytes?: number | undefined; }",
12457
13660
  value: elem
12458
- })) && _vo11(elem, _path + ".eth[" + _index16 + "]", true && _exceptionable) || _report(_exceptionable, {
12459
- path: _path + ".eth[" + _index16 + "]",
13661
+ })) && _vo11(elem, _path + ".eth[" + _index17 + "]", true && _exceptionable) || _report(_exceptionable, {
13662
+ path: _path + ".eth[" + _index17 + "]",
12460
13663
  expected: "NetworkInterfaceInfo & { [key: string]: unknown; speed?: number | undefined; rxUnicastBytes?: number | undefined; rxMulticastBytes?: number | undefined; rxBroadcastBytes?: number | undefined; }",
12461
13664
  value: elem
12462
13665
  })).every(flag => flag) || _report(_exceptionable, {
@@ -12499,12 +13702,12 @@ function _validateDomainRecord(domain, input) {
12499
13702
  path: _path + ".cpus",
12500
13703
  expected: "Array<__type>",
12501
13704
  value: input.cpus
12502
- })) && input.cpus.map((elem, _index17) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
12503
- path: _path + ".cpus[" + _index17 + "]",
13705
+ })) && input.cpus.map((elem, _index18) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
13706
+ path: _path + ".cpus[" + _index18 + "]",
12504
13707
  expected: "__type.o1",
12505
13708
  value: elem
12506
- })) && _vo7(elem, _path + ".cpus[" + _index17 + "]", true && _exceptionable) || _report(_exceptionable, {
12507
- path: _path + ".cpus[" + _index17 + "]",
13709
+ })) && _vo7(elem, _path + ".cpus[" + _index18 + "]", true && _exceptionable) || _report(_exceptionable, {
13710
+ path: _path + ".cpus[" + _index18 + "]",
12508
13711
  expected: "__type.o1",
12509
13712
  value: elem
12510
13713
  })).every(flag => flag) || _report(_exceptionable, {
@@ -12708,8 +13911,8 @@ function _validateDomainRecord(domain, input) {
12708
13911
  path: _path + ".slaves",
12709
13912
  expected: "Array<string>",
12710
13913
  value: input.slaves
12711
- })) && input.slaves.map((elem, _index18) => "string" === typeof elem || _report(_exceptionable, {
12712
- path: _path + ".slaves[" + _index18 + "]",
13914
+ })) && input.slaves.map((elem, _index19) => "string" === typeof elem || _report(_exceptionable, {
13915
+ path: _path + ".slaves[" + _index19 + "]",
12713
13916
  expected: "string",
12714
13917
  value: elem
12715
13918
  })).every(flag => flag) || _report(_exceptionable, {
@@ -12878,6 +14081,63 @@ function _validateDomainRecord(domain, input) {
12878
14081
  path: _path + ".timestamp",
12879
14082
  expected: "number",
12880
14083
  value: input.timestamp
14084
+ })].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => [("object" === typeof input.types && null !== input.types && false === Array.isArray(input.types) || _report(_exceptionable, {
14085
+ path: _path + ".types",
14086
+ expected: "Record<string, string>",
14087
+ value: input.types
14088
+ })) && _vo14(input.types, _path + ".types", true && _exceptionable) || _report(_exceptionable, {
14089
+ path: _path + ".types",
14090
+ expected: "Record<string, string>",
14091
+ value: input.types
14092
+ }), (Array.isArray(input.messages) || _report(_exceptionable, {
14093
+ path: _path + ".messages",
14094
+ expected: "Array<MonitorStatsHostBridgeMessage>",
14095
+ value: input.messages
14096
+ })) && input.messages.map((elem, _index20) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
14097
+ path: _path + ".messages[" + _index20 + "]",
14098
+ expected: "MonitorStatsHostBridgeMessage",
14099
+ value: elem
14100
+ })) && _vo15(elem, _path + ".messages[" + _index20 + "]", true && _exceptionable) || _report(_exceptionable, {
14101
+ path: _path + ".messages[" + _index20 + "]",
14102
+ expected: "MonitorStatsHostBridgeMessage",
14103
+ value: elem
14104
+ })).every(flag => flag) || _report(_exceptionable, {
14105
+ path: _path + ".messages",
14106
+ expected: "Array<MonitorStatsHostBridgeMessage>",
14107
+ value: input.messages
14108
+ }), "number" === typeof input.timestamp || _report(_exceptionable, {
14109
+ path: _path + ".timestamp",
14110
+ expected: "number",
14111
+ value: input.timestamp
14112
+ })].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
14113
+ const value = input[key];
14114
+ if (undefined === value)
14115
+ return true;
14116
+ return "string" === typeof value || _report(_exceptionable, {
14117
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
14118
+ expected: "string",
14119
+ value: value
14120
+ });
14121
+ }).every(flag => flag)].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => ["string" === typeof input.type || _report(_exceptionable, {
14122
+ path: _path + ".type",
14123
+ expected: "string",
14124
+ value: input.type
14125
+ }), "string" === typeof input.id || _report(_exceptionable, {
14126
+ path: _path + ".id",
14127
+ expected: "string",
14128
+ value: input.id
14129
+ }), "number" === typeof input.level || _report(_exceptionable, {
14130
+ path: _path + ".level",
14131
+ expected: "number",
14132
+ value: input.level
14133
+ }), "string" === typeof input.title || _report(_exceptionable, {
14134
+ path: _path + ".title",
14135
+ expected: "string",
14136
+ value: input.title
14137
+ }), "string" === typeof input.msg || _report(_exceptionable, {
14138
+ path: _path + ".msg",
14139
+ expected: "string",
14140
+ value: input.msg
12881
14141
  })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
12882
14142
  if (false === __is(input)) {
12883
14143
  errors = [];
@@ -21169,7 +22429,7 @@ function _validateDomainRecord(domain, input) {
21169
22429
  if (undefined === value)
21170
22430
  return true;
21171
22431
  return "object" === typeof value && null !== value && false === Array.isArray(value) && _io30(value);
21172
- }); const _io30 = input => (undefined === input.event || "string" === typeof input.event) && (undefined === input.property || "string" === typeof input.property); const _io31 = input => (undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails) && ("folded" === input.scriptEventFolding || "unfoldedUntilFolded" === input.scriptEventFolding); const _io32 = input => (undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur) && (undefined === input.float || "rundown" === input.float || "gallery" === input.float || "disabled" === input.float) && (undefined === input.countFloatedDuration || "boolean" === typeof input.countFloatedDuration); const _io33 = input => Object.keys(input).every(key => {
22432
+ }); const _io30 = input => (undefined === input.event || "string" === typeof input.event) && (undefined === input.property || "string" === typeof input.property); const _io31 = input => (undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails) && ("folded" === input.scriptEventFolding || "unfoldedUntilFolded" === input.scriptEventFolding) && (undefined === input.stickyHeaders || "boolean" === typeof input.stickyHeaders) && (undefined === input.triggersColumn || "title" === input.triggersColumn || "triggers" === input.triggersColumn) && (undefined === input.density || "normal" === input.density || "compact" === input.density || "spacious" === input.density) && (undefined === input.showEvents || "boolean" === typeof input.showEvents) && (undefined === input.showTriggers || "boolean" === typeof input.showTriggers) && (undefined === input.showReferenceDuration || "boolean" === typeof input.showReferenceDuration) && (undefined === input.showSettingsColumn || "boolean" === typeof input.showSettingsColumn) && (undefined === input.thumbnailColumnWidth || "number" === typeof input.thumbnailColumnWidth); const _io32 = input => (undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur) && (undefined === input.float || "rundown" === input.float || "gallery" === input.float || "disabled" === input.float) && (undefined === input.countFloatedDuration || "boolean" === typeof input.countFloatedDuration); const _io33 = input => Object.keys(input).every(key => {
21173
22433
  const value = input[key];
21174
22434
  if (undefined === value)
21175
22435
  return true;
@@ -21184,7 +22444,7 @@ function _validateDomainRecord(domain, input) {
21184
22444
  if (undefined === value)
21185
22445
  return true;
21186
22446
  return true;
21187
- }); const _io37 = input => (undefined === input.volume || "number" === typeof input.volume) && (undefined === input.muted || "boolean" === typeof input.muted) && (undefined === input.graphics || "boolean" === typeof input.graphics) && (null === input.subtitle || undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.waveform || "boolean" === typeof input.waveform) && (undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate) && (undefined === input.dropFrame || "boolean" === typeof input.dropFrame) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.warnSubclipDuration || "number" === typeof input.warnSubclipDuration) && (undefined === input.displayAspectRatioPresets || Array.isArray(input.displayAspectRatioPresets) && input.displayAspectRatioPresets.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io38(elem))) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && _io39(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && _io40(input.tile)) && (undefined === input.showTimeCode || "boolean" === typeof input.showTimeCode) && (undefined === input.timecodeReference || "default" === input.timecodeReference || "subclip" === input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && _io41(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io44(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && _io45(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io46(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && _io50(input.openCommand))) && (undefined === input.recorder || "object" === typeof input.recorder && null !== input.recorder && false === Array.isArray(input.recorder) && _io51(input.recorder)); const _io38 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.value || "string" === typeof input.value); const _io39 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe); const _io40 = input => (undefined === input.preview || "disabled" === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "boolean" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress); const _io41 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine) && (undefined === input.suggestions || Array.isArray(input.suggestions) && input.suggestions.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io42(elem))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io43(elem))) && (undefined === input.overridableProperties || Array.isArray(input.overridableProperties) && input.overridableProperties.every(elem => null === elem || true === _iv29.has(elem))) && (undefined === input.previewResolutionScale || "number" === typeof input.previewResolutionScale); const _io42 = input => (null === input.ifAspectRatio || undefined === input.ifAspectRatio || "string" === typeof input.ifAspectRatio) && (null === input.ifLang || undefined === input.ifLang || "string" === typeof input.ifLang) && (null === input.thenStyle || undefined === input.thenStyle || "string" === typeof input.thenStyle) && (null === input.thenMaxCharactersPerLine || undefined === input.thenMaxCharactersPerLine || "number" === typeof input.thenMaxCharactersPerLine); const _io43 = input => (null === input.label || undefined === input.label || "string" === typeof input.label) && (null === input.color || undefined === input.color || "string" === typeof input.color); const _io44 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.aspectRatio || "string" === typeof input.aspectRatio); const _io45 = input => (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.defaultEnterOption || "edit" === input.defaultEnterOption || "createNew" === input.defaultEnterOption || "none" === input.defaultEnterOption) && (undefined === input.defaultExitOption || "none" === input.defaultExitOption || "update" === input.defaultExitOption || "leave" === input.defaultExitOption); const _io46 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && _io47(input.subtitleDisclaimer); const _io47 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && _io48(input.defaultValue)); const _io48 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io49(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration); const _io49 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.value || "string" === typeof input.value); const _io50 = input => (undefined === input.url || "string" === typeof input.url) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.app || "string" === typeof input.app) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io51 = input => (undefined === input.microphone || "object" === typeof input.microphone && null !== input.microphone && false === Array.isArray(input.microphone) && _io52(input.microphone)) && (undefined === input.webcam || "object" === typeof input.webcam && null !== input.webcam && false === Array.isArray(input.webcam) && _io53(input.webcam)) && (undefined === input.countdown || "number" === typeof input.countdown); const _io52 = input => (undefined === input.deviceId || "string" === typeof input.deviceId) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.monitorInput || "boolean" === typeof input.monitorInput); const _io53 = input => (undefined === input.deviceId || "string" === typeof input.deviceId) && (undefined === input.frameRate || "number" === typeof input.frameRate) && (undefined === input.aspectRatio || "number" === typeof input.aspectRatio); const _io54 = input => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && (undefined === input.audioMapping || "object" === typeof input.audioMapping && null !== input.audioMapping && false === Array.isArray(input.audioMapping) && _io55(input.audioMapping)) && (undefined === input.normalize || "object" === typeof input.normalize && null !== input.normalize && false === Array.isArray(input.normalize) && _io57(input.normalize)) && (undefined === input.voiceOver || "object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) && _io59(input.voiceOver)); const _io55 = input => undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _io56(elem)); const _io56 = input => "string" === typeof input.id && "string" === typeof input.title && (undefined === input.mapping || Array.isArray(input.mapping) && input.mapping.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem))) && (undefined === input.mute || Array.isArray(input.mute) && input.mute.every(elem => "boolean" === typeof elem)) && (undefined === input.minInChannels || "number" === typeof input.minInChannels) && (undefined === input.maxInChannels || "number" === typeof input.maxInChannels) && (undefined === input.minOutChannels || "number" === typeof input.minOutChannels) && (undefined === input.maxOutChannels || "number" === typeof input.maxOutChannels); const _io57 = input => (undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _io58(elem))) && (undefined === input.defaultPresetId || "string" === typeof input.defaultPresetId); const _io58 = input => "string" === typeof input.id && "string" === typeof input.title && "number" === typeof input.i && "number" === typeof input.tp; const _io59 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.monitorInput || "boolean" === typeof input.monitorInput) && (undefined === input.backgroundReductionDb || "number" === typeof input.backgroundReductionDb) && (undefined === input.recordMode || "instant" === input.recordMode || "punchAndRoll" === input.recordMode) && (undefined === input.preRollDuration || "number" === typeof input.preRollDuration); const _io60 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io61 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && _io62(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && _io63(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && _io67(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && _io69(input.item)); const _io62 = input => undefined === input.auto || "boolean" === typeof input.auto; const _io63 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && _io64(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && _io66(input.note)); const _io64 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && _io65(input.excerpt); const _io65 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode) && (undefined === input.comments || "boolean" === typeof input.comments); const _io66 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight; const _io67 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && _io68(input.search)) && (undefined === input.sortMode || true === _iv38.has(input.sortMode)); const _io68 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed; const _io69 = input => (undefined === input.maxHeight || "number" === typeof input.maxHeight) && (undefined === input.titleLines || "number" === typeof input.titleLines); const _io70 = input => (undefined === input.fontFamilies || Array.isArray(input.fontFamilies) && input.fontFamilies.every(elem => "string" === typeof elem)) && (undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _iu0(elem))); const _io71 = input => "script" === input.type && "string" === typeof input.title && "number" === typeof input.horizontalMargin && ("A5" === input.pageSize || "A4" === input.pageSize || "A3" === input.pageSize) && ("landscape" === input.orientation || "portrait" === input.orientation) && "number" === typeof input.fontSize && (undefined === input.fontFamily || "string" === typeof input.fontFamily) && (Array.isArray(input.hide) && input.hide.every(elem => "event" === elem || "event-data" === elem || "comment" === elem || "heading" === elem || "list" === elem || "quote" === elem || "paragraph" === elem || "horizontalrule" === elem)); const _io72 = input => "rundown" === input.type && (Array.isArray(input.columns) && input.columns.every(elem => "object" === typeof elem && null !== elem && _io73(elem))) && (undefined === input.rangeStart || "number" === typeof input.rangeStart) && (undefined === input.rangeEnd || "number" === typeof input.rangeEnd) && (Array.isArray(input.hide) && input.hide.every(elem => "event" === elem || "comment" === elem || "heading" === elem || "list" === elem || "quote" === elem || "paragraph" === elem || "horizontalrule" === elem)) && "string" === typeof input.title && "number" === typeof input.horizontalMargin && ("A5" === input.pageSize || "A4" === input.pageSize || "A3" === input.pageSize) && ("landscape" === input.orientation || "portrait" === input.orientation) && "number" === typeof input.fontSize && (undefined === input.fontFamily || "string" === typeof input.fontFamily); const _io73 = input => ("type" === input.key || "title" === input.key || "id" === input.key || "time" === input.key || "duration" === input.key || "position" === input.key || "accDuration" === input.key) && "string" === typeof input.label && "string" === typeof input.width && ("right" === input.textAlign || "left" === input.textAlign || "center" === input.textAlign); const _io74 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.folded || "boolean" === typeof input.folded); const _io75 = input => (undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && _io76(input.adobe)) && (undefined === input.ograf || "object" === typeof input.ograf && null !== input.ograf && false === Array.isArray(input.ograf) && _io78(input.ograf)) && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && _io79(input.rive)); const _io76 = input => (undefined === input.videoBin || "string" === typeof input.videoBin) && (undefined === input.imageBin || "string" === typeof input.imageBin) && (undefined === input.audioBin || "string" === typeof input.audioBin) && (undefined === input.timelineBin || "string" === typeof input.timelineBin) && (undefined === input.clipBin || "string" === typeof input.clipBin) && (undefined === input.downloadPath || "string" === typeof input.downloadPath) && (undefined === input.renderPath || "string" === typeof input.renderPath) && (undefined === input.renderPresetPath || "string" === typeof input.renderPresetPath) && (undefined === input.renderPresets || Array.isArray(input.renderPresets) && input.renderPresets.every(elem => "string" === typeof elem)) && (undefined === input.videoRenderPreset || "string" === typeof input.videoRenderPreset) && (undefined === input.imageRenderPreset || "string" === typeof input.imageRenderPreset) && (undefined === input.audioRenderPreset || "string" === typeof input.audioRenderPreset) && (undefined === input.forceRender || "boolean" === typeof input.forceRender) && (undefined === input.useProxies || "boolean" === typeof input.useProxies) && (undefined === input.deleteIntermediateFiles || "boolean" === typeof input.deleteIntermediateFiles) && (undefined === input.bodymovin || "object" === typeof input.bodymovin && null !== input.bodymovin && false === Array.isArray(input.bodymovin) && _io77(input.bodymovin)); const _io77 = input => undefined === input.template || "string" === typeof input.template; const _io78 = input => undefined === input.template || "string" === typeof input.template; const _io79 = input => undefined === input.template || "string" === typeof input.template; const _io80 = input => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.aiMetadata || "boolean" === typeof input.aiMetadata) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering); const _io81 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.utilsAssetEditor || "boolean" === typeof input.utilsAssetEditor) && (undefined === input.utilsAssetPanel || "boolean" === typeof input.utilsAssetPanel) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings) && (undefined === input.downloadFiles || "boolean" === typeof input.downloadFiles) && (undefined === input.supportPortal || "boolean" === typeof input.supportPortal) && (undefined === input.multiplexWebSockets || "boolean" === typeof input.multiplexWebSockets) && (undefined === input.systemHealth || "boolean" === typeof input.systemHealth) && (undefined === input.systemHealthIgnore || "boolean" === typeof input.systemHealthIgnore); const _io82 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io83(input.events); const _io83 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && _io84(input.publishSucceeded)); const _io84 = input => Object.keys(input).every(key => {
22447
+ }); const _io37 = input => (undefined === input.volume || "number" === typeof input.volume) && (undefined === input.muted || "boolean" === typeof input.muted) && (undefined === input.graphics || "boolean" === typeof input.graphics) && (null === input.subtitle || undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.waveform || "boolean" === typeof input.waveform) && (undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate) && (undefined === input.dropFrame || "boolean" === typeof input.dropFrame) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.warnSubclipDuration || "number" === typeof input.warnSubclipDuration) && (undefined === input.displayAspectRatioPresets || Array.isArray(input.displayAspectRatioPresets) && input.displayAspectRatioPresets.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io38(elem))) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && _io39(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && _io40(input.tile)) && (undefined === input.showTimeCode || "boolean" === typeof input.showTimeCode) && (undefined === input.timecodeReference || "default" === input.timecodeReference || "subclip" === input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && _io41(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io44(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && _io45(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io46(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && _io50(input.openCommand))) && (undefined === input.recorder || "object" === typeof input.recorder && null !== input.recorder && false === Array.isArray(input.recorder) && _io51(input.recorder)); const _io38 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.value || "string" === typeof input.value); const _io39 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe); const _io40 = input => (undefined === input.preview || "disabled" === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "boolean" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress); const _io41 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine) && (undefined === input.suggestions || Array.isArray(input.suggestions) && input.suggestions.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io42(elem))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io43(elem))) && (undefined === input.overridableProperties || Array.isArray(input.overridableProperties) && input.overridableProperties.every(elem => null === elem || true === _iv29.has(elem))) && (undefined === input.previewResolutionScale || "number" === typeof input.previewResolutionScale); const _io42 = input => (null === input.ifAspectRatio || undefined === input.ifAspectRatio || "string" === typeof input.ifAspectRatio) && (null === input.ifLang || undefined === input.ifLang || "string" === typeof input.ifLang) && (null === input.thenStyle || undefined === input.thenStyle || "string" === typeof input.thenStyle) && (null === input.thenMaxCharactersPerLine || undefined === input.thenMaxCharactersPerLine || "number" === typeof input.thenMaxCharactersPerLine); const _io43 = input => (null === input.label || undefined === input.label || "string" === typeof input.label) && (null === input.color || undefined === input.color || "string" === typeof input.color); const _io44 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.aspectRatio || "string" === typeof input.aspectRatio); const _io45 = input => (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.defaultEnterOption || "edit" === input.defaultEnterOption || "createNew" === input.defaultEnterOption || "none" === input.defaultEnterOption) && (undefined === input.defaultExitOption || "none" === input.defaultExitOption || "update" === input.defaultExitOption || "leave" === input.defaultExitOption); const _io46 = input => (undefined === input.showSpeakers || "boolean" === typeof input.showSpeakers) && (undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && _io47(input.subtitleDisclaimer)); const _io47 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && _io48(input.defaultValue)); const _io48 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io49(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration); const _io49 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.value || "string" === typeof input.value); const _io50 = input => (undefined === input.url || "string" === typeof input.url) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.app || "string" === typeof input.app) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io51 = input => (undefined === input.microphone || "object" === typeof input.microphone && null !== input.microphone && false === Array.isArray(input.microphone) && _io52(input.microphone)) && (undefined === input.webcam || "object" === typeof input.webcam && null !== input.webcam && false === Array.isArray(input.webcam) && _io53(input.webcam)) && (undefined === input.countdown || "number" === typeof input.countdown); const _io52 = input => (undefined === input.deviceId || "string" === typeof input.deviceId) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.monitorInput || "boolean" === typeof input.monitorInput); const _io53 = input => (undefined === input.deviceId || "string" === typeof input.deviceId) && (undefined === input.frameRate || "number" === typeof input.frameRate) && (undefined === input.aspectRatio || "number" === typeof input.aspectRatio); const _io54 = input => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && (undefined === input.audioMapping || "object" === typeof input.audioMapping && null !== input.audioMapping && false === Array.isArray(input.audioMapping) && _io55(input.audioMapping)) && (undefined === input.normalize || "object" === typeof input.normalize && null !== input.normalize && false === Array.isArray(input.normalize) && _io57(input.normalize)) && (undefined === input.voiceOver || "object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) && _io59(input.voiceOver)); const _io55 = input => undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _io56(elem)); const _io56 = input => "string" === typeof input.id && "string" === typeof input.title && (undefined === input.mapping || Array.isArray(input.mapping) && input.mapping.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem))) && (undefined === input.mute || Array.isArray(input.mute) && input.mute.every(elem => "boolean" === typeof elem)) && (undefined === input.minInChannels || "number" === typeof input.minInChannels) && (undefined === input.maxInChannels || "number" === typeof input.maxInChannels) && (undefined === input.minOutChannels || "number" === typeof input.minOutChannels) && (undefined === input.maxOutChannels || "number" === typeof input.maxOutChannels); const _io57 = input => (undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _io58(elem))) && (undefined === input.defaultPresetId || "string" === typeof input.defaultPresetId); const _io58 = input => "string" === typeof input.id && "string" === typeof input.title && "number" === typeof input.i && "number" === typeof input.tp; const _io59 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.monitorInput || "boolean" === typeof input.monitorInput) && (undefined === input.backgroundReductionDb || "number" === typeof input.backgroundReductionDb) && (undefined === input.recordMode || "instant" === input.recordMode || "punchAndRoll" === input.recordMode) && (undefined === input.preRollDuration || "number" === typeof input.preRollDuration); const _io60 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io61 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && _io62(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && _io63(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && _io67(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && _io69(input.item)); const _io62 = input => undefined === input.auto || "boolean" === typeof input.auto; const _io63 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && _io64(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && _io66(input.note)); const _io64 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && _io65(input.excerpt); const _io65 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode) && (undefined === input.comments || "boolean" === typeof input.comments); const _io66 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight; const _io67 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && _io68(input.search)) && (undefined === input.sortMode || true === _iv38.has(input.sortMode)); const _io68 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed; const _io69 = input => (undefined === input.maxHeight || "number" === typeof input.maxHeight) && (undefined === input.titleLines || "number" === typeof input.titleLines); const _io70 = input => (undefined === input.fontFamilies || Array.isArray(input.fontFamilies) && input.fontFamilies.every(elem => "string" === typeof elem)) && (undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _iu0(elem))); const _io71 = input => "script" === input.type && "string" === typeof input.title && "number" === typeof input.horizontalMargin && ("A5" === input.pageSize || "A4" === input.pageSize || "A3" === input.pageSize) && ("landscape" === input.orientation || "portrait" === input.orientation) && "number" === typeof input.fontSize && (undefined === input.fontFamily || "string" === typeof input.fontFamily) && (Array.isArray(input.hide) && input.hide.every(elem => "event" === elem || "event-data" === elem || "comment" === elem || "heading" === elem || "list" === elem || "quote" === elem || "paragraph" === elem || "horizontalrule" === elem)); const _io72 = input => "rundown" === input.type && (Array.isArray(input.columns) && input.columns.every(elem => "object" === typeof elem && null !== elem && _io73(elem))) && (undefined === input.rangeStart || "number" === typeof input.rangeStart) && (undefined === input.rangeEnd || "number" === typeof input.rangeEnd) && (Array.isArray(input.hide) && input.hide.every(elem => "event" === elem || "comment" === elem || "heading" === elem || "list" === elem || "quote" === elem || "paragraph" === elem || "horizontalrule" === elem)) && "string" === typeof input.title && "number" === typeof input.horizontalMargin && ("A5" === input.pageSize || "A4" === input.pageSize || "A3" === input.pageSize) && ("landscape" === input.orientation || "portrait" === input.orientation) && "number" === typeof input.fontSize && (undefined === input.fontFamily || "string" === typeof input.fontFamily); const _io73 = input => ("type" === input.key || "title" === input.key || "id" === input.key || "time" === input.key || "duration" === input.key || "position" === input.key || "accDuration" === input.key) && "string" === typeof input.label && "string" === typeof input.width && ("right" === input.textAlign || "left" === input.textAlign || "center" === input.textAlign); const _io74 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.folded || "boolean" === typeof input.folded); const _io75 = input => (undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && _io76(input.adobe)) && (undefined === input.ograf || "object" === typeof input.ograf && null !== input.ograf && false === Array.isArray(input.ograf) && _io78(input.ograf)) && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && _io79(input.rive)); const _io76 = input => (undefined === input.videoBin || "string" === typeof input.videoBin) && (undefined === input.imageBin || "string" === typeof input.imageBin) && (undefined === input.audioBin || "string" === typeof input.audioBin) && (undefined === input.timelineBin || "string" === typeof input.timelineBin) && (undefined === input.clipBin || "string" === typeof input.clipBin) && (undefined === input.downloadPath || "string" === typeof input.downloadPath) && (undefined === input.renderPath || "string" === typeof input.renderPath) && (undefined === input.renderPresetPath || "string" === typeof input.renderPresetPath) && (undefined === input.renderPresets || Array.isArray(input.renderPresets) && input.renderPresets.every(elem => "string" === typeof elem)) && (undefined === input.videoRenderPreset || "string" === typeof input.videoRenderPreset) && (undefined === input.imageRenderPreset || "string" === typeof input.imageRenderPreset) && (undefined === input.audioRenderPreset || "string" === typeof input.audioRenderPreset) && (undefined === input.forceRender || "boolean" === typeof input.forceRender) && (undefined === input.useProxies || "boolean" === typeof input.useProxies) && (undefined === input.deleteIntermediateFiles || "boolean" === typeof input.deleteIntermediateFiles) && (undefined === input.bodymovin || "object" === typeof input.bodymovin && null !== input.bodymovin && false === Array.isArray(input.bodymovin) && _io77(input.bodymovin)); const _io77 = input => undefined === input.template || "string" === typeof input.template; const _io78 = input => undefined === input.template || "string" === typeof input.template; const _io79 = input => undefined === input.template || "string" === typeof input.template; const _io80 = input => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.aiMetadata || "boolean" === typeof input.aiMetadata) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering); const _io81 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.utilsAssetEditor || "boolean" === typeof input.utilsAssetEditor) && (undefined === input.utilsAssetPanel || "boolean" === typeof input.utilsAssetPanel) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings) && (undefined === input.downloadFiles || "boolean" === typeof input.downloadFiles) && (undefined === input.supportPortal || "boolean" === typeof input.supportPortal) && (undefined === input.multiplexWebSockets || "boolean" === typeof input.multiplexWebSockets) && (undefined === input.systemHealth || "boolean" === typeof input.systemHealth) && (undefined === input.systemHealthIgnore || "boolean" === typeof input.systemHealthIgnore) && (undefined === input.systemHealthDebugLevel || "boolean" === typeof input.systemHealthDebugLevel); const _io82 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io83(input.events); const _io83 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && _io84(input.publishSucceeded)); const _io84 = input => Object.keys(input).every(key => {
21188
22448
  const value = input[key];
21189
22449
  if (undefined === value)
21190
22450
  return true;
@@ -22088,6 +23348,38 @@ function _validateDomainRecord(domain, input) {
22088
23348
  path: _path + ".scriptEventFolding",
22089
23349
  expected: "(\"folded\" | \"unfoldedUntilFolded\")",
22090
23350
  value: input.scriptEventFolding
23351
+ }), undefined === input.stickyHeaders || "boolean" === typeof input.stickyHeaders || _report(_exceptionable, {
23352
+ path: _path + ".stickyHeaders",
23353
+ expected: "(boolean | undefined)",
23354
+ value: input.stickyHeaders
23355
+ }), undefined === input.triggersColumn || "title" === input.triggersColumn || "triggers" === input.triggersColumn || _report(_exceptionable, {
23356
+ path: _path + ".triggersColumn",
23357
+ expected: "(\"title\" | \"triggers\" | undefined)",
23358
+ value: input.triggersColumn
23359
+ }), undefined === input.density || "normal" === input.density || "compact" === input.density || "spacious" === input.density || _report(_exceptionable, {
23360
+ path: _path + ".density",
23361
+ expected: "(\"compact\" | \"normal\" | \"spacious\" | undefined)",
23362
+ value: input.density
23363
+ }), undefined === input.showEvents || "boolean" === typeof input.showEvents || _report(_exceptionable, {
23364
+ path: _path + ".showEvents",
23365
+ expected: "(boolean | undefined)",
23366
+ value: input.showEvents
23367
+ }), undefined === input.showTriggers || "boolean" === typeof input.showTriggers || _report(_exceptionable, {
23368
+ path: _path + ".showTriggers",
23369
+ expected: "(boolean | undefined)",
23370
+ value: input.showTriggers
23371
+ }), undefined === input.showReferenceDuration || "boolean" === typeof input.showReferenceDuration || _report(_exceptionable, {
23372
+ path: _path + ".showReferenceDuration",
23373
+ expected: "(boolean | undefined)",
23374
+ value: input.showReferenceDuration
23375
+ }), undefined === input.showSettingsColumn || "boolean" === typeof input.showSettingsColumn || _report(_exceptionable, {
23376
+ path: _path + ".showSettingsColumn",
23377
+ expected: "(boolean | undefined)",
23378
+ value: input.showSettingsColumn
23379
+ }), undefined === input.thumbnailColumnWidth || "number" === typeof input.thumbnailColumnWidth || _report(_exceptionable, {
23380
+ path: _path + ".thumbnailColumnWidth",
23381
+ expected: "(number | undefined)",
23382
+ value: input.thumbnailColumnWidth
22091
23383
  })].every(flag => flag); const _vo32 = (input, _path, _exceptionable = true) => [undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur || _report(_exceptionable, {
22092
23384
  path: _path + ".dimOnBlur",
22093
23385
  expected: "(boolean | undefined)",
@@ -22498,7 +23790,11 @@ function _validateDomainRecord(domain, input) {
22498
23790
  path: _path + ".defaultExitOption",
22499
23791
  expected: "(\"leave\" | \"none\" | \"update\" | undefined)",
22500
23792
  value: input.defaultExitOption
22501
- })].every(flag => flag); const _vo46 = (input, _path, _exceptionable = true) => [undefined === input.subtitleDisclaimer || ("object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) || _report(_exceptionable, {
23793
+ })].every(flag => flag); const _vo46 = (input, _path, _exceptionable = true) => [undefined === input.showSpeakers || "boolean" === typeof input.showSpeakers || _report(_exceptionable, {
23794
+ path: _path + ".showSpeakers",
23795
+ expected: "(boolean | undefined)",
23796
+ value: input.showSpeakers
23797
+ }), undefined === input.subtitleDisclaimer || ("object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) || _report(_exceptionable, {
22502
23798
  path: _path + ".subtitleDisclaimer",
22503
23799
  expected: "(__type.o37 | undefined)",
22504
23800
  value: input.subtitleDisclaimer
@@ -23274,6 +24570,10 @@ function _validateDomainRecord(domain, input) {
23274
24570
  path: _path + ".systemHealthIgnore",
23275
24571
  expected: "(boolean | undefined)",
23276
24572
  value: input.systemHealthIgnore
24573
+ }), undefined === input.systemHealthDebugLevel || "boolean" === typeof input.systemHealthDebugLevel || _report(_exceptionable, {
24574
+ path: _path + ".systemHealthDebugLevel",
24575
+ expected: "(boolean | undefined)",
24576
+ value: input.systemHealthDebugLevel
23277
24577
  })].every(flag => flag); const _vo82 = (input, _path, _exceptionable = true) => [undefined === input.events || ("object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) || _report(_exceptionable, {
23278
24578
  path: _path + ".events",
23279
24579
  expected: "(__type.o69 | undefined)",
@@ -24094,13 +25394,47 @@ function _validateDomainRecord(domain, input) {
24094
25394
  if (false === __is(input)) {
24095
25395
  errors = [];
24096
25396
  _report = __typia_transform__validateReport._validateReport(errors);
24097
- ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
25397
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
25398
+ path: _path + "",
25399
+ expected: "StorageStatsDomainRecord",
25400
+ value: input
25401
+ })) && _vo0(input, _path + "", true) || _report(true, {
25402
+ path: _path + "",
25403
+ expected: "StorageStatsDomainRecord",
25404
+ value: input
25405
+ }))(input, "$input", true);
25406
+ const success = 0 === errors.length;
25407
+ return success ? {
25408
+ success,
25409
+ data: input
25410
+ } : {
25411
+ success,
25412
+ errors,
25413
+ data: input
25414
+ };
25415
+ }
25416
+ return {
25417
+ success: true,
25418
+ data: input
25419
+ };
25420
+ }; })()(input);
25421
+ }
25422
+ case ":storage-zone": {
25423
+ return (() => { const _io0 = input => undefined === input.priority || "number" === typeof input.priority; const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.priority || "number" === typeof input.priority || _report(_exceptionable, {
25424
+ path: _path + ".priority",
25425
+ expected: "(number | undefined)",
25426
+ value: input.priority
25427
+ })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
25428
+ if (false === __is(input)) {
25429
+ errors = [];
25430
+ _report = __typia_transform__validateReport._validateReport(errors);
25431
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
24098
25432
  path: _path + "",
24099
- expected: "StorageStatsDomainRecord",
25433
+ expected: "StorageZoneDomainRecord",
24100
25434
  value: input
24101
25435
  })) && _vo0(input, _path + "", true) || _report(true, {
24102
25436
  path: _path + "",
24103
- expected: "StorageStatsDomainRecord",
25437
+ expected: "StorageZoneDomainRecord",
24104
25438
  value: input
24105
25439
  }))(input, "$input", true);
24106
25440
  const success = 0 === errors.length;
@@ -24119,22 +25453,76 @@ function _validateDomainRecord(domain, input) {
24119
25453
  };
24120
25454
  }; })()(input);
24121
25455
  }
24122
- case ":storage-zone": {
24123
- return (() => { const _io0 = input => undefined === input.priority || "number" === typeof input.priority; const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.priority || "number" === typeof input.priority || _report(_exceptionable, {
24124
- path: _path + ".priority",
24125
- expected: "(number | undefined)",
24126
- value: input.priority
24127
- })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
25456
+ case ":story.editor": {
25457
+ return (() => { const _io0 = input => undefined === input.value || "object" === typeof input.value && null !== input.value && false === Array.isArray(input.value) && _io1(input.value); const _io1 = input => (undefined === input.object || "string" === typeof input.object) && (undefined === input.document || "object" === typeof input.document && null !== input.document && false === Array.isArray(input.document) && _io2(input.document)); const _io2 = input => (undefined === input.type || "string" === typeof input.type) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && _io3(input.data)) && (undefined === input.nodes || Array.isArray(input.nodes) && input.nodes.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io2(elem))); const _io3 = input => Object.keys(input).every(key => {
25458
+ const value = input[key];
25459
+ if (undefined === value)
25460
+ return true;
25461
+ return true;
25462
+ }); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.value || ("object" === typeof input.value && null !== input.value && false === Array.isArray(input.value) || _report(_exceptionable, {
25463
+ path: _path + ".value",
25464
+ expected: "(__type | undefined)",
25465
+ value: input.value
25466
+ })) && _vo1(input.value, _path + ".value", true && _exceptionable) || _report(_exceptionable, {
25467
+ path: _path + ".value",
25468
+ expected: "(__type | undefined)",
25469
+ value: input.value
25470
+ })].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [undefined === input.object || "string" === typeof input.object || _report(_exceptionable, {
25471
+ path: _path + ".object",
25472
+ expected: "(string | undefined)",
25473
+ value: input.object
25474
+ }), undefined === input.document || ("object" === typeof input.document && null !== input.document && false === Array.isArray(input.document) || _report(_exceptionable, {
25475
+ path: _path + ".document",
25476
+ expected: "(StoryDomainEditorRecordNode | undefined)",
25477
+ value: input.document
25478
+ })) && _vo2(input.document, _path + ".document", true && _exceptionable) || _report(_exceptionable, {
25479
+ path: _path + ".document",
25480
+ expected: "(StoryDomainEditorRecordNode | undefined)",
25481
+ value: input.document
25482
+ })].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
25483
+ path: _path + ".type",
25484
+ expected: "(string | undefined)",
25485
+ value: input.type
25486
+ }), undefined === input.data || ("object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) || _report(_exceptionable, {
25487
+ path: _path + ".data",
25488
+ expected: "(Record<string, unknown> | undefined)",
25489
+ value: input.data
25490
+ })) && _vo3(input.data, _path + ".data", true && _exceptionable) || _report(_exceptionable, {
25491
+ path: _path + ".data",
25492
+ expected: "(Record<string, unknown> | undefined)",
25493
+ value: input.data
25494
+ }), undefined === input.nodes || (Array.isArray(input.nodes) || _report(_exceptionable, {
25495
+ path: _path + ".nodes",
25496
+ expected: "(Array<StoryDomainEditorRecordNode> | undefined)",
25497
+ value: input.nodes
25498
+ })) && input.nodes.map((elem, _index2) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
25499
+ path: _path + ".nodes[" + _index2 + "]",
25500
+ expected: "StoryDomainEditorRecordNode",
25501
+ value: elem
25502
+ })) && _vo2(elem, _path + ".nodes[" + _index2 + "]", true && _exceptionable) || _report(_exceptionable, {
25503
+ path: _path + ".nodes[" + _index2 + "]",
25504
+ expected: "StoryDomainEditorRecordNode",
25505
+ value: elem
25506
+ })).every(flag => flag) || _report(_exceptionable, {
25507
+ path: _path + ".nodes",
25508
+ expected: "(Array<StoryDomainEditorRecordNode> | undefined)",
25509
+ value: input.nodes
25510
+ })].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
25511
+ const value = input[key];
25512
+ if (undefined === value)
25513
+ return true;
25514
+ return true;
25515
+ }).every(flag => flag)].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
24128
25516
  if (false === __is(input)) {
24129
25517
  errors = [];
24130
25518
  _report = __typia_transform__validateReport._validateReport(errors);
24131
25519
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
24132
25520
  path: _path + "",
24133
- expected: "StorageZoneDomainRecord",
25521
+ expected: "StoryDomainEditorRecord",
24134
25522
  value: input
24135
25523
  })) && _vo0(input, _path + "", true) || _report(true, {
24136
25524
  path: _path + "",
24137
- expected: "StorageZoneDomainRecord",
25525
+ expected: "StoryDomainEditorRecord",
24138
25526
  value: input
24139
25527
  }))(input, "$input", true);
24140
25528
  const success = 0 === errors.length;
@@ -24987,244 +26375,6 @@ function _validateDomainRecord(domain, input) {
24987
26375
  };
24988
26376
  }; })()(input);
24989
26377
  }
24990
- case ":template": {
24991
- return (() => { const _io0 = input => (undefined === input.source || "string" === typeof input.source) && (undefined === input.controller || "string" === typeof input.controller) && (undefined === input.type || "string" === typeof input.type) && (undefined === input.mixin || Array.isArray(input.mixin) && input.mixin.every(elem => "string" === typeof elem)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io1(input.properties)); const _io1 = input => Object.keys(input).every(key => {
24992
- const value = input[key];
24993
- if (undefined === value)
24994
- return true;
24995
- return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
24996
- }); const _io2 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.type || "string" === typeof input.type) && (undefined === input.label || "string" === typeof input.label) && (undefined === input.defaultValue || "string" === typeof input.defaultValue) && (undefined === input.widget || "object" === typeof input.widget && null !== input.widget && _io3(input.widget)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io4(input.properties)) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io5(input.items)) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io9(input.render)); const _io3 = input => "string" === typeof input.type; const _io4 = input => true; const _io5 = input => undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io6(input.properties); const _io6 = input => Object.keys(input).every(key => {
24997
- const value = input[key];
24998
- if (undefined === value)
24999
- return true;
25000
- return "object" === typeof value && null !== value && false === Array.isArray(value) && _io7(value);
25001
- }); const _io7 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.type || "string" === typeof input.type) && (undefined === input.label || "string" === typeof input.label) && (undefined === input.defaultValue || "string" === typeof input.defaultValue) && (undefined === input.widget || "object" === typeof input.widget && null !== input.widget && _io8(input.widget)) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io7(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io6(input.properties)); const _io8 = input => "string" === typeof input.type; const _io9 = input => "image" === input.type && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) && _io10(input.profile)); const _io10 = input => (undefined === input.format || "string" === typeof input.format) && (undefined === input.video || "object" === typeof input.video && null !== input.video && _io11(input.video)); const _io11 = input => "number" === typeof input.width && "number" === typeof input.height && "cover" === input.fit; const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.source || "string" === typeof input.source || _report(_exceptionable, {
25002
- path: _path + ".source",
25003
- expected: "(string | undefined)",
25004
- value: input.source
25005
- }), undefined === input.controller || "string" === typeof input.controller || _report(_exceptionable, {
25006
- path: _path + ".controller",
25007
- expected: "(string | undefined)",
25008
- value: input.controller
25009
- }), undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
25010
- path: _path + ".type",
25011
- expected: "(string | undefined)",
25012
- value: input.type
25013
- }), undefined === input.mixin || (Array.isArray(input.mixin) || _report(_exceptionable, {
25014
- path: _path + ".mixin",
25015
- expected: "(Array<string> | undefined)",
25016
- value: input.mixin
25017
- })) && input.mixin.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
25018
- path: _path + ".mixin[" + _index2 + "]",
25019
- expected: "string",
25020
- value: elem
25021
- })).every(flag => flag) || _report(_exceptionable, {
25022
- path: _path + ".mixin",
25023
- expected: "(Array<string> | undefined)",
25024
- value: input.mixin
25025
- }), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
25026
- path: _path + ".properties",
25027
- expected: "(Record<string, TemplateProperty> | undefined)",
25028
- value: input.properties
25029
- })) && _vo1(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
25030
- path: _path + ".properties",
25031
- expected: "(Record<string, TemplateProperty> | undefined)",
25032
- value: input.properties
25033
- })].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
25034
- const value = input[key];
25035
- if (undefined === value)
25036
- return true;
25037
- return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
25038
- path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
25039
- expected: "TemplateProperty",
25040
- value: value
25041
- })) && _vo2(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
25042
- path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
25043
- expected: "TemplateProperty",
25044
- value: value
25045
- });
25046
- }).every(flag => flag)].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.path || "string" === typeof input.path || _report(_exceptionable, {
25047
- path: _path + ".path",
25048
- expected: "(string | undefined)",
25049
- value: input.path
25050
- }), undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
25051
- path: _path + ".type",
25052
- expected: "(string | undefined)",
25053
- value: input.type
25054
- }), undefined === input.label || "string" === typeof input.label || _report(_exceptionable, {
25055
- path: _path + ".label",
25056
- expected: "(string | undefined)",
25057
- value: input.label
25058
- }), undefined === input.defaultValue || "string" === typeof input.defaultValue || _report(_exceptionable, {
25059
- path: _path + ".defaultValue",
25060
- expected: "(string | undefined)",
25061
- value: input.defaultValue
25062
- }), undefined === input.widget || ("object" === typeof input.widget && null !== input.widget || _report(_exceptionable, {
25063
- path: _path + ".widget",
25064
- expected: "(__type | undefined)",
25065
- value: input.widget
25066
- })) && _vo3(input.widget, _path + ".widget", true && _exceptionable) || _report(_exceptionable, {
25067
- path: _path + ".widget",
25068
- expected: "(__type | undefined)",
25069
- value: input.widget
25070
- }), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
25071
- path: _path + ".properties",
25072
- expected: "(object | undefined)",
25073
- value: input.properties
25074
- })) && _vo4(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
25075
- path: _path + ".properties",
25076
- expected: "(object | undefined)",
25077
- value: input.properties
25078
- }), undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
25079
- path: _path + ".items",
25080
- expected: "(__type.o1 | undefined)",
25081
- value: input.items
25082
- })) && _vo5(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
25083
- path: _path + ".items",
25084
- expected: "(__type.o1 | undefined)",
25085
- value: input.items
25086
- }), undefined === input.render || ("object" === typeof input.render && null !== input.render || _report(_exceptionable, {
25087
- path: _path + ".render",
25088
- expected: "(__type.o3 | undefined)",
25089
- value: input.render
25090
- })) && _vo9(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
25091
- path: _path + ".render",
25092
- expected: "(__type.o3 | undefined)",
25093
- value: input.render
25094
- })].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => ["string" === typeof input.type || _report(_exceptionable, {
25095
- path: _path + ".type",
25096
- expected: "string",
25097
- value: input.type
25098
- })].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => true; const _vo5 = (input, _path, _exceptionable = true) => [undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
25099
- path: _path + ".properties",
25100
- expected: "(Record<string, TemplatePropertySchema> | undefined)",
25101
- value: input.properties
25102
- })) && _vo6(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
25103
- path: _path + ".properties",
25104
- expected: "(Record<string, TemplatePropertySchema> | undefined)",
25105
- value: input.properties
25106
- })].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
25107
- const value = input[key];
25108
- if (undefined === value)
25109
- return true;
25110
- return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
25111
- path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
25112
- expected: "TemplatePropertySchema",
25113
- value: value
25114
- })) && _vo7(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
25115
- path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
25116
- expected: "TemplatePropertySchema",
25117
- value: value
25118
- });
25119
- }).every(flag => flag)].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [undefined === input.path || "string" === typeof input.path || _report(_exceptionable, {
25120
- path: _path + ".path",
25121
- expected: "(string | undefined)",
25122
- value: input.path
25123
- }), undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
25124
- path: _path + ".type",
25125
- expected: "(string | undefined)",
25126
- value: input.type
25127
- }), undefined === input.label || "string" === typeof input.label || _report(_exceptionable, {
25128
- path: _path + ".label",
25129
- expected: "(string | undefined)",
25130
- value: input.label
25131
- }), undefined === input.defaultValue || "string" === typeof input.defaultValue || _report(_exceptionable, {
25132
- path: _path + ".defaultValue",
25133
- expected: "(string | undefined)",
25134
- value: input.defaultValue
25135
- }), undefined === input.widget || ("object" === typeof input.widget && null !== input.widget || _report(_exceptionable, {
25136
- path: _path + ".widget",
25137
- expected: "(__type.o2 | undefined)",
25138
- value: input.widget
25139
- })) && _vo8(input.widget, _path + ".widget", true && _exceptionable) || _report(_exceptionable, {
25140
- path: _path + ".widget",
25141
- expected: "(__type.o2 | undefined)",
25142
- value: input.widget
25143
- }), undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
25144
- path: _path + ".items",
25145
- expected: "(TemplatePropertySchema | undefined)",
25146
- value: input.items
25147
- })) && _vo7(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
25148
- path: _path + ".items",
25149
- expected: "(TemplatePropertySchema | undefined)",
25150
- value: input.items
25151
- }), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
25152
- path: _path + ".properties",
25153
- expected: "(Record<string, TemplatePropertySchema> | undefined)",
25154
- value: input.properties
25155
- })) && _vo6(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
25156
- path: _path + ".properties",
25157
- expected: "(Record<string, TemplatePropertySchema> | undefined)",
25158
- value: input.properties
25159
- })].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => ["string" === typeof input.type || _report(_exceptionable, {
25160
- path: _path + ".type",
25161
- expected: "string",
25162
- value: input.type
25163
- })].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => ["image" === input.type || _report(_exceptionable, {
25164
- path: _path + ".type",
25165
- expected: "\"image\"",
25166
- value: input.type
25167
- }), undefined === input.profile || ("object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) || _report(_exceptionable, {
25168
- path: _path + ".profile",
25169
- expected: "(__type.o4 | undefined)",
25170
- value: input.profile
25171
- })) && _vo10(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
25172
- path: _path + ".profile",
25173
- expected: "(__type.o4 | undefined)",
25174
- value: input.profile
25175
- })].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => [undefined === input.format || "string" === typeof input.format || _report(_exceptionable, {
25176
- path: _path + ".format",
25177
- expected: "(string | undefined)",
25178
- value: input.format
25179
- }), undefined === input.video || ("object" === typeof input.video && null !== input.video || _report(_exceptionable, {
25180
- path: _path + ".video",
25181
- expected: "(__type.o5 | undefined)",
25182
- value: input.video
25183
- })) && _vo11(input.video, _path + ".video", true && _exceptionable) || _report(_exceptionable, {
25184
- path: _path + ".video",
25185
- expected: "(__type.o5 | undefined)",
25186
- value: input.video
25187
- })].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => ["number" === typeof input.width || _report(_exceptionable, {
25188
- path: _path + ".width",
25189
- expected: "number",
25190
- value: input.width
25191
- }), "number" === typeof input.height || _report(_exceptionable, {
25192
- path: _path + ".height",
25193
- expected: "number",
25194
- value: input.height
25195
- }), "cover" === input.fit || _report(_exceptionable, {
25196
- path: _path + ".fit",
25197
- expected: "\"cover\"",
25198
- value: input.fit
25199
- })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
25200
- if (false === __is(input)) {
25201
- errors = [];
25202
- _report = __typia_transform__validateReport._validateReport(errors);
25203
- ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
25204
- path: _path + "",
25205
- expected: "TemplateRecord",
25206
- value: input
25207
- })) && _vo0(input, _path + "", true) || _report(true, {
25208
- path: _path + "",
25209
- expected: "TemplateRecord",
25210
- value: input
25211
- }))(input, "$input", true);
25212
- const success = 0 === errors.length;
25213
- return success ? {
25214
- success,
25215
- data: input
25216
- } : {
25217
- success,
25218
- errors,
25219
- data: input
25220
- };
25221
- }
25222
- return {
25223
- success: true,
25224
- data: input
25225
- };
25226
- }; })()(input);
25227
- }
25228
26378
  case ":_user-notification-status": {
25229
26379
  return (() => { const _io0 = input => (undefined === input.assignee || "object" === typeof input.assignee && null !== input.assignee && false === Array.isArray(input.assignee) && _io1(input.assignee)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && false === Array.isArray(input.published) && _io2(input.published)) && (undefined === input.comment || "object" === typeof input.comment && null !== input.comment && false === Array.isArray(input.comment) && _io3(input.comment)); const _io1 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); const _io2 = input => undefined === input.value || true === input.value; const _io3 = input => null !== input.value && (undefined === input.value || true === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem)); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.assignee || ("object" === typeof input.assignee && null !== input.assignee && false === Array.isArray(input.assignee) || _report(_exceptionable, {
25230
26380
  path: _path + ".assignee",