@nxtedition/types 23.0.62 → 23.0.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common/render-profile.d.ts +15 -0
- package/dist/common/settings.d.ts +12 -0
- package/dist/common/subtitle-style.d.ts +1 -0
- package/dist/nxtpression.d.ts +45 -7
- package/dist/records/domains/event.d.ts +2 -0
- package/dist/records/domains/script.d.ts +8 -3
- package/dist/records/domains/shotbox.d.ts +1 -0
- package/dist/records/validate/assert-guard.js +1061 -613
- package/dist/records/validate/assert.js +1061 -613
- package/dist/records/validate/is.js +72 -63
- package/dist/records/validate/schemas.d.ts +9 -6
- package/dist/records/validate/schemas.js +844 -859
- package/dist/records/validate/stringify.js +156 -114
- package/dist/records/validate/validate-equals.js +1473 -743
- package/dist/records/validate/validate.js +963 -601
- package/package.json +4 -4
|
@@ -2404,7 +2404,7 @@ function _validateExactRecord(name, input) {
|
|
|
2404
2404
|
}; })()(input);
|
|
2405
2405
|
}
|
|
2406
2406
|
case "media.consolidate": {
|
|
2407
|
-
return (() => { const _io0 = input => undefined === input.presets || "object" === typeof input.presets && null !== input.presets && _io1(input.presets); const _io1 = input => null !== input.audio && undefined !== input.audio && ("string" === typeof input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io2(input.audio)) && (null !== input.video && undefined !== input.video && ("string" === typeof input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io2(input.video))) && (null !== input.image && undefined !== input.image && ("string" === typeof input.image || "object" === typeof input.image && null !== input.image && false === Array.isArray(input.image) && _io2(input.image))); const _io2 = 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 && _io3(elem))) || "object" === typeof input.profile && null !== input.profile && _io3(input.profile)))); const _io3 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io4(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io5(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io6(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) && _io7(input.subtitle))); const _io4 = input => "string" === typeof input.engine; const _io5 = input => "string" === typeof input.language; const _io6 = 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 _io7 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.presets || ("object" === typeof input.presets && null !== input.presets || _report(_exceptionable, {
|
|
2407
|
+
return (() => { const _io0 = input => undefined === input.presets || "object" === typeof input.presets && null !== input.presets && _io1(input.presets); const _io1 = input => null !== input.audio && undefined !== input.audio && ("string" === typeof input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io2(input.audio)) && (null !== input.video && undefined !== input.video && ("string" === typeof input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io2(input.video))) && (null !== input.image && undefined !== input.image && ("string" === typeof input.image || "object" === typeof input.image && null !== input.image && false === Array.isArray(input.image) && _io2(input.image))); const _io2 = 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 && _io3(elem))) || "object" === typeof input.profile && null !== input.profile && _io3(input.profile)))); const _io3 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io4(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io5(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io6(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) && _io7(input.subtitle))); const _io4 = input => "string" === typeof input.engine; const _io5 = input => "string" === typeof input.language; const _io6 = 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 _io7 = 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) && _io8(input.ccconverter)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io9(input.ass)); const _io8 = input => undefined === input.preset || "string" === typeof input.preset; const _io9 = 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) => [undefined === input.presets || ("object" === typeof input.presets && null !== input.presets || _report(_exceptionable, {
|
|
2408
2408
|
path: _path + ".presets",
|
|
2409
2409
|
expected: "(__type | undefined)",
|
|
2410
2410
|
value: input.presets
|
|
@@ -2576,6 +2576,38 @@ function _validateExactRecord(name, input) {
|
|
|
2576
2576
|
path: _path + ".style",
|
|
2577
2577
|
expected: "(string | undefined)",
|
|
2578
2578
|
value: input.style
|
|
2579
|
+
}), undefined === input.ccconverter || ("object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) || _report(_exceptionable, {
|
|
2580
|
+
path: _path + ".ccconverter",
|
|
2581
|
+
expected: "(__type.o4 | undefined)",
|
|
2582
|
+
value: input.ccconverter
|
|
2583
|
+
})) && _vo8(input.ccconverter, _path + ".ccconverter", true && _exceptionable) || _report(_exceptionable, {
|
|
2584
|
+
path: _path + ".ccconverter",
|
|
2585
|
+
expected: "(__type.o4 | undefined)",
|
|
2586
|
+
value: input.ccconverter
|
|
2587
|
+
}), undefined === input.ass || ("object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) || _report(_exceptionable, {
|
|
2588
|
+
path: _path + ".ass",
|
|
2589
|
+
expected: "(__type.o5 | undefined)",
|
|
2590
|
+
value: input.ass
|
|
2591
|
+
})) && _vo9(input.ass, _path + ".ass", true && _exceptionable) || _report(_exceptionable, {
|
|
2592
|
+
path: _path + ".ass",
|
|
2593
|
+
expected: "(__type.o5 | undefined)",
|
|
2594
|
+
value: input.ass
|
|
2595
|
+
})].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
2596
|
+
path: _path + ".preset",
|
|
2597
|
+
expected: "(string | undefined)",
|
|
2598
|
+
value: input.preset
|
|
2599
|
+
})].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping || _report(_exceptionable, {
|
|
2600
|
+
path: _path + ".futureWordWrapping",
|
|
2601
|
+
expected: "(boolean | undefined)",
|
|
2602
|
+
value: input.futureWordWrapping
|
|
2603
|
+
}), undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow || _report(_exceptionable, {
|
|
2604
|
+
path: _path + ".scaledBorderAndShadow",
|
|
2605
|
+
expected: "(boolean | undefined)",
|
|
2606
|
+
value: input.scaledBorderAndShadow
|
|
2607
|
+
}), undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack || _report(_exceptionable, {
|
|
2608
|
+
path: _path + ".enableUnsafeLineSpacingHack",
|
|
2609
|
+
expected: "(boolean | undefined)",
|
|
2610
|
+
value: input.enableUnsafeLineSpacingHack
|
|
2579
2611
|
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
2580
2612
|
if (false === __is(input)) {
|
|
2581
2613
|
errors = [];
|
|
@@ -7896,8 +7928,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
7896
7928
|
if (undefined === value)
|
|
7897
7929
|
return true;
|
|
7898
7930
|
return "object" === typeof value && null !== value && _io1(value);
|
|
7899
|
-
}); 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.startTime || "number" === typeof input.startTime) && Object.keys(input).every(key => {
|
|
7900
|
-
if (["source", "cueCard", "startTime"].some(prop => key === prop))
|
|
7931
|
+
}); 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.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 => {
|
|
7932
|
+
if (["source", "cueCard", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
|
|
7901
7933
|
return true;
|
|
7902
7934
|
const value = input[key];
|
|
7903
7935
|
if (undefined === value)
|
|
@@ -7941,8 +7973,28 @@ function _validateDomainRecord(domain, input) {
|
|
|
7941
7973
|
path: _path + ".startTime",
|
|
7942
7974
|
expected: "(number | undefined)",
|
|
7943
7975
|
value: input.startTime
|
|
7976
|
+
}), (null !== input.shotboxGroup || _report(_exceptionable, {
|
|
7977
|
+
path: _path + ".shotboxGroup",
|
|
7978
|
+
expected: "(Array<string> | string | undefined)",
|
|
7979
|
+
value: input.shotboxGroup
|
|
7980
|
+
})) && (undefined === input.shotboxGroup || "string" === typeof input.shotboxGroup || (Array.isArray(input.shotboxGroup) || _report(_exceptionable, {
|
|
7981
|
+
path: _path + ".shotboxGroup",
|
|
7982
|
+
expected: "(Array<string> | string | undefined)",
|
|
7983
|
+
value: input.shotboxGroup
|
|
7984
|
+
})) && input.shotboxGroup.map((elem, _index3) => "string" === typeof elem || _report(_exceptionable, {
|
|
7985
|
+
path: _path + ".shotboxGroup[" + _index3 + "]",
|
|
7986
|
+
expected: "string",
|
|
7987
|
+
value: elem
|
|
7988
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
7989
|
+
path: _path + ".shotboxGroup",
|
|
7990
|
+
expected: "(Array<string> | string | undefined)",
|
|
7991
|
+
value: input.shotboxGroup
|
|
7992
|
+
})), undefined === input.shotboxVisible || "boolean" === typeof input.shotboxVisible || _report(_exceptionable, {
|
|
7993
|
+
path: _path + ".shotboxVisible",
|
|
7994
|
+
expected: "(boolean | undefined)",
|
|
7995
|
+
value: input.shotboxVisible
|
|
7944
7996
|
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
7945
|
-
if (["source", "cueCard", "startTime"].some(prop => key === prop))
|
|
7997
|
+
if (["source", "cueCard", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
|
|
7946
7998
|
return true;
|
|
7947
7999
|
const value = input[key];
|
|
7948
8000
|
if (undefined === value)
|
|
@@ -7985,20 +8037,20 @@ function _validateDomainRecord(domain, input) {
|
|
|
7985
8037
|
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
7986
8038
|
value: value
|
|
7987
8039
|
}));
|
|
7988
|
-
}).every(flag => flag)].every(flag => flag); const _va0 = (input, _path, _exceptionable = true) => input.map((elem,
|
|
7989
|
-
path: _path + "[" +
|
|
8040
|
+
}).every(flag => flag)].every(flag => flag); const _va0 = (input, _path, _exceptionable = true) => input.map((elem, _index4) => (undefined !== elem || _report(_exceptionable, {
|
|
8041
|
+
path: _path + "[" + _index4 + "]",
|
|
7990
8042
|
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
7991
8043
|
value: elem
|
|
7992
|
-
})) && (null === elem || "string" === typeof elem || "number" === typeof elem || "boolean" === typeof elem || (Array.isArray(elem) && (_va0(elem, _path + "[" +
|
|
7993
|
-
path: _path + "[" +
|
|
8044
|
+
})) && (null === elem || "string" === typeof elem || "number" === typeof elem || "boolean" === typeof elem || (Array.isArray(elem) && (_va0(elem, _path + "[" + _index4 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
8045
|
+
path: _path + "[" + _index4 + "]",
|
|
7994
8046
|
expected: "Array<JsonValue>",
|
|
7995
8047
|
value: elem
|
|
7996
|
-
})) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _vo3(elem, _path + "[" +
|
|
7997
|
-
path: _path + "[" +
|
|
8048
|
+
})) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _vo3(elem, _path + "[" + _index4 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
8049
|
+
path: _path + "[" + _index4 + "]",
|
|
7998
8050
|
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
7999
8051
|
value: elem
|
|
8000
8052
|
})) || _report(_exceptionable, {
|
|
8001
|
-
path: _path + "[" +
|
|
8053
|
+
path: _path + "[" + _index4 + "]",
|
|
8002
8054
|
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
8003
8055
|
value: elem
|
|
8004
8056
|
}))).every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
@@ -8181,8 +8233,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
8181
8233
|
}; })()(input);
|
|
8182
8234
|
}
|
|
8183
8235
|
case ":event.props?": {
|
|
8184
|
-
return (() => { const _io0 = input => (undefined === input.source || "string" === typeof input.source) && (undefined === input.cueCard || "string" === typeof input.cueCard || "boolean" === typeof input.cueCard) && (undefined === input.startTime || "number" === typeof input.startTime) && Object.keys(input).every(key => {
|
|
8185
|
-
if (["source", "cueCard", "startTime"].some(prop => key === prop))
|
|
8236
|
+
return (() => { const _io0 = input => (undefined === input.source || "string" === typeof input.source) && (undefined === input.cueCard || "string" === typeof input.cueCard || "boolean" === typeof input.cueCard) && (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 => {
|
|
8237
|
+
if (["source", "cueCard", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
|
|
8186
8238
|
return true;
|
|
8187
8239
|
const value = input[key];
|
|
8188
8240
|
if (undefined === value)
|
|
@@ -8205,8 +8257,28 @@ function _validateDomainRecord(domain, input) {
|
|
|
8205
8257
|
path: _path + ".startTime",
|
|
8206
8258
|
expected: "(number | undefined)",
|
|
8207
8259
|
value: input.startTime
|
|
8260
|
+
}), (null !== input.shotboxGroup || _report(_exceptionable, {
|
|
8261
|
+
path: _path + ".shotboxGroup",
|
|
8262
|
+
expected: "(Array<string> | string | undefined)",
|
|
8263
|
+
value: input.shotboxGroup
|
|
8264
|
+
})) && (undefined === input.shotboxGroup || "string" === typeof input.shotboxGroup || (Array.isArray(input.shotboxGroup) || _report(_exceptionable, {
|
|
8265
|
+
path: _path + ".shotboxGroup",
|
|
8266
|
+
expected: "(Array<string> | string | undefined)",
|
|
8267
|
+
value: input.shotboxGroup
|
|
8268
|
+
})) && input.shotboxGroup.map((elem, _index3) => "string" === typeof elem || _report(_exceptionable, {
|
|
8269
|
+
path: _path + ".shotboxGroup[" + _index3 + "]",
|
|
8270
|
+
expected: "string",
|
|
8271
|
+
value: elem
|
|
8272
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
8273
|
+
path: _path + ".shotboxGroup",
|
|
8274
|
+
expected: "(Array<string> | string | undefined)",
|
|
8275
|
+
value: input.shotboxGroup
|
|
8276
|
+
})), undefined === input.shotboxVisible || "boolean" === typeof input.shotboxVisible || _report(_exceptionable, {
|
|
8277
|
+
path: _path + ".shotboxVisible",
|
|
8278
|
+
expected: "(boolean | undefined)",
|
|
8279
|
+
value: input.shotboxVisible
|
|
8208
8280
|
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
8209
|
-
if (["source", "cueCard", "startTime"].some(prop => key === prop))
|
|
8281
|
+
if (["source", "cueCard", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
|
|
8210
8282
|
return true;
|
|
8211
8283
|
const value = input[key];
|
|
8212
8284
|
if (undefined === value)
|
|
@@ -8249,20 +8321,20 @@ function _validateDomainRecord(domain, input) {
|
|
|
8249
8321
|
expected: "(Array<JsonValue> | __type | boolean | null | number | string)",
|
|
8250
8322
|
value: value
|
|
8251
8323
|
}));
|
|
8252
|
-
}).every(flag => flag)].every(flag => flag); const _va0 = (input, _path, _exceptionable = true) => input.map((elem,
|
|
8253
|
-
path: _path + "[" +
|
|
8324
|
+
}).every(flag => flag)].every(flag => flag); const _va0 = (input, _path, _exceptionable = true) => input.map((elem, _index4) => (undefined !== elem || _report(_exceptionable, {
|
|
8325
|
+
path: _path + "[" + _index4 + "]",
|
|
8254
8326
|
expected: "(Array<JsonValue> | __type | boolean | null | number | string)",
|
|
8255
8327
|
value: elem
|
|
8256
|
-
})) && (null === elem || "string" === typeof elem || "number" === typeof elem || "boolean" === typeof elem || (Array.isArray(elem) && (_va0(elem, _path + "[" +
|
|
8257
|
-
path: _path + "[" +
|
|
8328
|
+
})) && (null === elem || "string" === typeof elem || "number" === typeof elem || "boolean" === typeof elem || (Array.isArray(elem) && (_va0(elem, _path + "[" + _index4 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
8329
|
+
path: _path + "[" + _index4 + "]",
|
|
8258
8330
|
expected: "Array<JsonValue>",
|
|
8259
8331
|
value: elem
|
|
8260
|
-
})) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _vo1(elem, _path + "[" +
|
|
8261
|
-
path: _path + "[" +
|
|
8332
|
+
})) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _vo1(elem, _path + "[" + _index4 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
8333
|
+
path: _path + "[" + _index4 + "]",
|
|
8262
8334
|
expected: "(Array<JsonValue> | __type | boolean | null | number | string)",
|
|
8263
8335
|
value: elem
|
|
8264
8336
|
})) || _report(_exceptionable, {
|
|
8265
|
-
path: _path + "[" +
|
|
8337
|
+
path: _path + "[" + _index4 + "]",
|
|
8266
8338
|
expected: "(Array<JsonValue> | __type | boolean | null | number | string)",
|
|
8267
8339
|
value: elem
|
|
8268
8340
|
}))).every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
@@ -9623,7 +9695,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9623
9695
|
if (undefined === value)
|
|
9624
9696
|
return true;
|
|
9625
9697
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io3(value);
|
|
9626
|
-
}); const _io3 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io4(input.styleOverrides)); const _io4 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io5 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io6(input.crop); const _io6 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io7 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
9698
|
+
}); const _io3 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io4(input.styleOverrides)); const _io4 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io5 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io6(input.crop); const _io6 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io7 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
9627
9699
|
path: _path + ".id",
|
|
9628
9700
|
expected: "(string | undefined)",
|
|
9629
9701
|
value: input.id
|
|
@@ -9768,6 +9840,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
9768
9840
|
path: _path + ".spacing",
|
|
9769
9841
|
expected: "(string | undefined)",
|
|
9770
9842
|
value: input.spacing
|
|
9843
|
+
}), undefined === input.lineSpacing || "string" === typeof input.lineSpacing || _report(_exceptionable, {
|
|
9844
|
+
path: _path + ".lineSpacing",
|
|
9845
|
+
expected: "(string | undefined)",
|
|
9846
|
+
value: input.lineSpacing
|
|
9771
9847
|
}), undefined === input.angle || "string" === typeof input.angle || _report(_exceptionable, {
|
|
9772
9848
|
path: _path + ".angle",
|
|
9773
9849
|
expected: "(string | undefined)",
|
|
@@ -9874,7 +9950,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9874
9950
|
}; })()(input);
|
|
9875
9951
|
}
|
|
9876
9952
|
case ":media.consolidate": {
|
|
9877
|
-
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); const _vo0 = (input, _path, _exceptionable = true) => [true, true, (null !== input.preset || _report(_exceptionable, {
|
|
9953
|
+
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, {
|
|
9878
9954
|
path: _path + ".preset",
|
|
9879
9955
|
expected: "(RenderPresetObject | string | undefined)",
|
|
9880
9956
|
value: input.preset
|
|
@@ -10002,6 +10078,38 @@ function _validateDomainRecord(domain, input) {
|
|
|
10002
10078
|
path: _path + ".style",
|
|
10003
10079
|
expected: "(string | undefined)",
|
|
10004
10080
|
value: input.style
|
|
10081
|
+
}), undefined === input.ccconverter || ("object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) || _report(_exceptionable, {
|
|
10082
|
+
path: _path + ".ccconverter",
|
|
10083
|
+
expected: "(__type.o3 | undefined)",
|
|
10084
|
+
value: input.ccconverter
|
|
10085
|
+
})) && _vo7(input.ccconverter, _path + ".ccconverter", true && _exceptionable) || _report(_exceptionable, {
|
|
10086
|
+
path: _path + ".ccconverter",
|
|
10087
|
+
expected: "(__type.o3 | undefined)",
|
|
10088
|
+
value: input.ccconverter
|
|
10089
|
+
}), undefined === input.ass || ("object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) || _report(_exceptionable, {
|
|
10090
|
+
path: _path + ".ass",
|
|
10091
|
+
expected: "(__type.o4 | undefined)",
|
|
10092
|
+
value: input.ass
|
|
10093
|
+
})) && _vo8(input.ass, _path + ".ass", true && _exceptionable) || _report(_exceptionable, {
|
|
10094
|
+
path: _path + ".ass",
|
|
10095
|
+
expected: "(__type.o4 | undefined)",
|
|
10096
|
+
value: input.ass
|
|
10097
|
+
})].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
10098
|
+
path: _path + ".preset",
|
|
10099
|
+
expected: "(string | undefined)",
|
|
10100
|
+
value: input.preset
|
|
10101
|
+
})].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping || _report(_exceptionable, {
|
|
10102
|
+
path: _path + ".futureWordWrapping",
|
|
10103
|
+
expected: "(boolean | undefined)",
|
|
10104
|
+
value: input.futureWordWrapping
|
|
10105
|
+
}), undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow || _report(_exceptionable, {
|
|
10106
|
+
path: _path + ".scaledBorderAndShadow",
|
|
10107
|
+
expected: "(boolean | undefined)",
|
|
10108
|
+
value: input.scaledBorderAndShadow
|
|
10109
|
+
}), undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack || _report(_exceptionable, {
|
|
10110
|
+
path: _path + ".enableUnsafeLineSpacingHack",
|
|
10111
|
+
expected: "(boolean | undefined)",
|
|
10112
|
+
value: input.enableUnsafeLineSpacingHack
|
|
10005
10113
|
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
10006
10114
|
if (false === __is(input)) {
|
|
10007
10115
|
errors = [];
|
|
@@ -12226,46 +12334,46 @@ function _validateDomainRecord(domain, input) {
|
|
|
12226
12334
|
}; })()(input);
|
|
12227
12335
|
}
|
|
12228
12336
|
case ":publish": {
|
|
12229
|
-
return (() => { const _io0 = input => (null === input.type || undefined === input.type) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && true && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error &&
|
|
12337
|
+
return (() => { const _io0 = input => (null === input.type || undefined === input.type) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && true && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io17(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io18(elem))); const _io1 = input => (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io2(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io10(input.profile)); const _io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (null === input.input || undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io3(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io4(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io7(input.video)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io9(input.transcribe)); const _io3 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file); const _io4 = input => Object.keys(input).every(key => {
|
|
12230
12338
|
const value = input[key];
|
|
12231
12339
|
if (undefined === value)
|
|
12232
12340
|
return true;
|
|
12233
12341
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io5(value);
|
|
12234
|
-
}); const _io5 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io6(input.styleOverrides)); const _io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io7 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io8(input.crop); const _io8 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io9 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io10 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io11(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io12(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io13(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) && _io14(input.subtitle))); const _io11 = input => "string" === typeof input.engine; const _io12 = input => "string" === typeof input.language; const _io13 = 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 _io14 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _io15 = input => "string" === typeof input.
|
|
12342
|
+
}); const _io5 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io6(input.styleOverrides)); const _io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io7 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io8(input.crop); const _io8 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io9 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io10 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io11(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io12(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io13(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) && _io14(input.subtitle))); const _io11 = input => "string" === typeof input.engine; const _io12 = input => "string" === typeof input.language; const _io13 = 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 _io14 = 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) && _io15(input.ccconverter)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io16(input.ass)); const _io15 = input => undefined === input.preset || "string" === typeof input.preset; const _io16 = input => (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack); const _io17 = input => "string" === typeof input.method; const _io18 = input => "number" === typeof input.level && "string" === typeof input.code && "string" === typeof input.msg; const _io19 = input => (undefined === input.type || "facebook" === input.type) && (undefined === input.pageId || "string" === typeof input.pageId) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && true && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io17(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io18(elem))); const _io20 = input => (undefined === input.type || "file" === input.type) && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io21(input.renders)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io25(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io26(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io29(input.published)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io17(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io18(elem))); const _io21 = input => Object.keys(input).every(key => {
|
|
12235
12343
|
const value = input[key];
|
|
12236
12344
|
if (undefined === value)
|
|
12237
12345
|
return true;
|
|
12238
12346
|
return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && _iu0(value));
|
|
12239
|
-
}); const
|
|
12347
|
+
}); const _io22 = input => (undefined === input.name || "string" === typeof input.name) && "string" === typeof input.path && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene) && (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io2(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io10(input.profile)); const _io23 = input => "object" === typeof input.__context && null !== input.__context && _io24(input.__context) && ("object" === typeof input.__returnValue && null !== input.__returnValue && _io22(input.__returnValue)); const _io24 = input => "object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) && _io20(input.publish) && "string" === typeof input.directory && "string" === typeof input.name; const _io25 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename); const _io26 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io27(input.renders)); const _io27 = input => Object.keys(input).every(key => {
|
|
12240
12348
|
const value = input[key];
|
|
12241
12349
|
if (undefined === value)
|
|
12242
12350
|
return true;
|
|
12243
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
12244
|
-
}); const
|
|
12351
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io28(value);
|
|
12352
|
+
}); const _io28 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io18(elem))) && true && (undefined === input.size || "number" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash) && (undefined === input.source || "string" === typeof input.source); const _io29 = input => (undefined === input.directory || "string" === typeof input.directory) && "string" === typeof input.filename; const _io30 = input => (undefined === input.type || "file" === input.type) && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io25(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && _io31(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io29(input.published)) && (null !== input.renders && undefined === input.renders) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io17(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io18(elem))); const _io31 = input => (undefined === input.id || "string" === typeof input.id) && "string" === typeof input.path && "string" === typeof input.filename && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && _io32(input.subtitle)) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && _io33(input.metafile)) && Object.keys(input).every(key => {
|
|
12245
12353
|
if (["id", "path", "filename", "directory", "subtitle", "metafile"].some(prop => key === prop))
|
|
12246
12354
|
return true;
|
|
12247
12355
|
const value = input[key];
|
|
12248
12356
|
if (undefined === value)
|
|
12249
12357
|
return true;
|
|
12250
12358
|
return true;
|
|
12251
|
-
}); const
|
|
12359
|
+
}); const _io32 = input => "string" === typeof input.path; const _io33 = input => "string" === typeof input.path; const _io34 = input => (undefined === input.type || "youtube" === input.type) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io35(input.draft)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io17(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io18(elem))); const _io35 = input => undefined === input.snippet || "object" === typeof input.snippet && null !== input.snippet && false === Array.isArray(input.snippet) && _io36(input.snippet); const _io36 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.description || "string" === typeof input.description); const _iu0 = input => (() => {
|
|
12252
12360
|
if (undefined !== input.path)
|
|
12253
|
-
return
|
|
12361
|
+
return _io22(input);
|
|
12254
12362
|
else if (undefined !== input.__context)
|
|
12255
|
-
return
|
|
12363
|
+
return _io23(input);
|
|
12256
12364
|
else
|
|
12257
12365
|
return false;
|
|
12258
12366
|
})(); const _iu1 = input => (() => {
|
|
12259
12367
|
if (_io0(input))
|
|
12260
12368
|
return _io0(input);
|
|
12261
|
-
if (
|
|
12262
|
-
return
|
|
12263
|
-
if (
|
|
12264
|
-
return
|
|
12265
|
-
if (
|
|
12266
|
-
return
|
|
12267
|
-
if (
|
|
12268
|
-
return
|
|
12369
|
+
if (_io19(input))
|
|
12370
|
+
return _io19(input);
|
|
12371
|
+
if (_io30(input))
|
|
12372
|
+
return _io30(input);
|
|
12373
|
+
if (_io20(input))
|
|
12374
|
+
return _io20(input);
|
|
12375
|
+
if (_io34(input))
|
|
12376
|
+
return _io34(input);
|
|
12269
12377
|
return false;
|
|
12270
12378
|
})(); const _vo0 = (input, _path, _exceptionable = true) => [null === input.type || undefined === input.type || _report(_exceptionable, {
|
|
12271
12379
|
path: _path + ".type",
|
|
@@ -12289,11 +12397,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
12289
12397
|
value: input.render
|
|
12290
12398
|
}), true, true, true, null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
12291
12399
|
path: _path + ".error",
|
|
12292
|
-
expected: "(__type.
|
|
12400
|
+
expected: "(__type.o11 | null | undefined)",
|
|
12293
12401
|
value: input.error
|
|
12294
|
-
})) &&
|
|
12402
|
+
})) && _vo17(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
12295
12403
|
path: _path + ".error",
|
|
12296
|
-
expected: "(__type.
|
|
12404
|
+
expected: "(__type.o11 | null | undefined)",
|
|
12297
12405
|
value: input.error
|
|
12298
12406
|
}), undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
12299
12407
|
path: _path + ".messages",
|
|
@@ -12303,7 +12411,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12303
12411
|
path: _path + ".messages[" + _index10 + "]",
|
|
12304
12412
|
expected: "Message",
|
|
12305
12413
|
value: elem
|
|
12306
|
-
})) &&
|
|
12414
|
+
})) && _vo18(elem, _path + ".messages[" + _index10 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
12307
12415
|
path: _path + ".messages[" + _index10 + "]",
|
|
12308
12416
|
expected: "Message",
|
|
12309
12417
|
value: elem
|
|
@@ -12480,6 +12588,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
12480
12588
|
path: _path + ".spacing",
|
|
12481
12589
|
expected: "(string | undefined)",
|
|
12482
12590
|
value: input.spacing
|
|
12591
|
+
}), undefined === input.lineSpacing || "string" === typeof input.lineSpacing || _report(_exceptionable, {
|
|
12592
|
+
path: _path + ".lineSpacing",
|
|
12593
|
+
expected: "(string | undefined)",
|
|
12594
|
+
value: input.lineSpacing
|
|
12483
12595
|
}), undefined === input.angle || "string" === typeof input.angle || _report(_exceptionable, {
|
|
12484
12596
|
path: _path + ".angle",
|
|
12485
12597
|
expected: "(string | undefined)",
|
|
@@ -12640,11 +12752,43 @@ function _validateDomainRecord(domain, input) {
|
|
|
12640
12752
|
path: _path + ".style",
|
|
12641
12753
|
expected: "(string | undefined)",
|
|
12642
12754
|
value: input.style
|
|
12643
|
-
})
|
|
12755
|
+
}), undefined === input.ccconverter || ("object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) || _report(_exceptionable, {
|
|
12756
|
+
path: _path + ".ccconverter",
|
|
12757
|
+
expected: "(__type.o9 | undefined)",
|
|
12758
|
+
value: input.ccconverter
|
|
12759
|
+
})) && _vo15(input.ccconverter, _path + ".ccconverter", true && _exceptionable) || _report(_exceptionable, {
|
|
12760
|
+
path: _path + ".ccconverter",
|
|
12761
|
+
expected: "(__type.o9 | undefined)",
|
|
12762
|
+
value: input.ccconverter
|
|
12763
|
+
}), undefined === input.ass || ("object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) || _report(_exceptionable, {
|
|
12764
|
+
path: _path + ".ass",
|
|
12765
|
+
expected: "(__type.o10 | undefined)",
|
|
12766
|
+
value: input.ass
|
|
12767
|
+
})) && _vo16(input.ass, _path + ".ass", true && _exceptionable) || _report(_exceptionable, {
|
|
12768
|
+
path: _path + ".ass",
|
|
12769
|
+
expected: "(__type.o10 | undefined)",
|
|
12770
|
+
value: input.ass
|
|
12771
|
+
})].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
12772
|
+
path: _path + ".preset",
|
|
12773
|
+
expected: "(string | undefined)",
|
|
12774
|
+
value: input.preset
|
|
12775
|
+
})].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping || _report(_exceptionable, {
|
|
12776
|
+
path: _path + ".futureWordWrapping",
|
|
12777
|
+
expected: "(boolean | undefined)",
|
|
12778
|
+
value: input.futureWordWrapping
|
|
12779
|
+
}), undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow || _report(_exceptionable, {
|
|
12780
|
+
path: _path + ".scaledBorderAndShadow",
|
|
12781
|
+
expected: "(boolean | undefined)",
|
|
12782
|
+
value: input.scaledBorderAndShadow
|
|
12783
|
+
}), undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack || _report(_exceptionable, {
|
|
12784
|
+
path: _path + ".enableUnsafeLineSpacingHack",
|
|
12785
|
+
expected: "(boolean | undefined)",
|
|
12786
|
+
value: input.enableUnsafeLineSpacingHack
|
|
12787
|
+
})].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => ["string" === typeof input.method || _report(_exceptionable, {
|
|
12644
12788
|
path: _path + ".method",
|
|
12645
12789
|
expected: "string",
|
|
12646
12790
|
value: input.method
|
|
12647
|
-
})].every(flag => flag); const
|
|
12791
|
+
})].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => ["number" === typeof input.level || _report(_exceptionable, {
|
|
12648
12792
|
path: _path + ".level",
|
|
12649
12793
|
expected: "number",
|
|
12650
12794
|
value: input.level
|
|
@@ -12656,7 +12800,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12656
12800
|
path: _path + ".msg",
|
|
12657
12801
|
expected: "string",
|
|
12658
12802
|
value: input.msg
|
|
12659
|
-
})].every(flag => flag); const
|
|
12803
|
+
})].every(flag => flag); const _vo19 = (input, _path, _exceptionable = true) => [undefined === input.type || "facebook" === input.type || _report(_exceptionable, {
|
|
12660
12804
|
path: _path + ".type",
|
|
12661
12805
|
expected: "(\"facebook\" | undefined)",
|
|
12662
12806
|
value: input.type
|
|
@@ -12682,11 +12826,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
12682
12826
|
value: input.render
|
|
12683
12827
|
}), true, true, true, null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
12684
12828
|
path: _path + ".error",
|
|
12685
|
-
expected: "(__type.
|
|
12829
|
+
expected: "(__type.o11 | null | undefined)",
|
|
12686
12830
|
value: input.error
|
|
12687
|
-
})) &&
|
|
12831
|
+
})) && _vo17(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
12688
12832
|
path: _path + ".error",
|
|
12689
|
-
expected: "(__type.
|
|
12833
|
+
expected: "(__type.o11 | null | undefined)",
|
|
12690
12834
|
value: input.error
|
|
12691
12835
|
}), undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
12692
12836
|
path: _path + ".messages",
|
|
@@ -12696,7 +12840,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12696
12840
|
path: _path + ".messages[" + _index13 + "]",
|
|
12697
12841
|
expected: "Message",
|
|
12698
12842
|
value: elem
|
|
12699
|
-
})) &&
|
|
12843
|
+
})) && _vo18(elem, _path + ".messages[" + _index13 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
12700
12844
|
path: _path + ".messages[" + _index13 + "]",
|
|
12701
12845
|
expected: "Message",
|
|
12702
12846
|
value: elem
|
|
@@ -12704,7 +12848,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12704
12848
|
path: _path + ".messages",
|
|
12705
12849
|
expected: "(Array<Message> | undefined)",
|
|
12706
12850
|
value: input.messages
|
|
12707
|
-
})].every(flag => flag); const
|
|
12851
|
+
})].every(flag => flag); const _vo20 = (input, _path, _exceptionable = true) => [undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
12708
12852
|
path: _path + ".type",
|
|
12709
12853
|
expected: "(\"file\" | undefined)",
|
|
12710
12854
|
value: input.type
|
|
@@ -12720,7 +12864,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12720
12864
|
path: _path + ".renders",
|
|
12721
12865
|
expected: "(Record<string, FilePublishRender> | undefined)",
|
|
12722
12866
|
value: input.renders
|
|
12723
|
-
})) &&
|
|
12867
|
+
})) && _vo21(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
12724
12868
|
path: _path + ".renders",
|
|
12725
12869
|
expected: "(Record<string, FilePublishRender> | undefined)",
|
|
12726
12870
|
value: input.renders
|
|
@@ -12728,7 +12872,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12728
12872
|
path: _path + ".draft",
|
|
12729
12873
|
expected: "(FilePublishDraft | undefined)",
|
|
12730
12874
|
value: input.draft
|
|
12731
|
-
})) &&
|
|
12875
|
+
})) && _vo25(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
12732
12876
|
path: _path + ".draft",
|
|
12733
12877
|
expected: "(FilePublishDraft | undefined)",
|
|
12734
12878
|
value: input.draft
|
|
@@ -12736,7 +12880,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12736
12880
|
path: _path + ".remote",
|
|
12737
12881
|
expected: "(FilePublishRemote | undefined)",
|
|
12738
12882
|
value: input.remote
|
|
12739
|
-
})) &&
|
|
12883
|
+
})) && _vo26(input.remote, _path + ".remote", true && _exceptionable) || _report(_exceptionable, {
|
|
12740
12884
|
path: _path + ".remote",
|
|
12741
12885
|
expected: "(FilePublishRemote | undefined)",
|
|
12742
12886
|
value: input.remote
|
|
@@ -12744,7 +12888,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12744
12888
|
path: _path + ".published",
|
|
12745
12889
|
expected: "(FilePublishPublished | undefined)",
|
|
12746
12890
|
value: input.published
|
|
12747
|
-
})) &&
|
|
12891
|
+
})) && _vo29(input.published, _path + ".published", true && _exceptionable) || _report(_exceptionable, {
|
|
12748
12892
|
path: _path + ".published",
|
|
12749
12893
|
expected: "(FilePublishPublished | undefined)",
|
|
12750
12894
|
value: input.published
|
|
@@ -12766,11 +12910,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
12766
12910
|
value: input.render
|
|
12767
12911
|
}), null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
12768
12912
|
path: _path + ".error",
|
|
12769
|
-
expected: "(__type.
|
|
12913
|
+
expected: "(__type.o11 | null | undefined)",
|
|
12770
12914
|
value: input.error
|
|
12771
|
-
})) &&
|
|
12915
|
+
})) && _vo17(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
12772
12916
|
path: _path + ".error",
|
|
12773
|
-
expected: "(__type.
|
|
12917
|
+
expected: "(__type.o11 | null | undefined)",
|
|
12774
12918
|
value: input.error
|
|
12775
12919
|
}), undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
12776
12920
|
path: _path + ".messages",
|
|
@@ -12780,7 +12924,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12780
12924
|
path: _path + ".messages[" + _index14 + "]",
|
|
12781
12925
|
expected: "Message",
|
|
12782
12926
|
value: elem
|
|
12783
|
-
})) &&
|
|
12927
|
+
})) && _vo18(elem, _path + ".messages[" + _index14 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
12784
12928
|
path: _path + ".messages[" + _index14 + "]",
|
|
12785
12929
|
expected: "Message",
|
|
12786
12930
|
value: elem
|
|
@@ -12788,28 +12932,28 @@ function _validateDomainRecord(domain, input) {
|
|
|
12788
12932
|
path: _path + ".messages",
|
|
12789
12933
|
expected: "(Array<Message> | undefined)",
|
|
12790
12934
|
value: input.messages
|
|
12791
|
-
})].every(flag => flag); const
|
|
12935
|
+
})].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
12792
12936
|
const value = input[key];
|
|
12793
12937
|
if (undefined === value)
|
|
12794
12938
|
return true;
|
|
12795
12939
|
return (null !== value || _report(_exceptionable, {
|
|
12796
12940
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
12797
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
12941
|
+
expected: "(ResolvedFilePublishRender | __type.o12 | string)",
|
|
12798
12942
|
value: value
|
|
12799
12943
|
})) && (undefined !== value || _report(_exceptionable, {
|
|
12800
12944
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
12801
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
12945
|
+
expected: "(ResolvedFilePublishRender | __type.o12 | string)",
|
|
12802
12946
|
value: value
|
|
12803
12947
|
})) && ("string" === typeof value || ("object" === typeof value && null !== value || _report(_exceptionable, {
|
|
12804
12948
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
12805
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
12949
|
+
expected: "(ResolvedFilePublishRender | __type.o12 | string)",
|
|
12806
12950
|
value: value
|
|
12807
12951
|
})) && _vu0(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
12808
12952
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
12809
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
12953
|
+
expected: "(ResolvedFilePublishRender | __type.o12 | string)",
|
|
12810
12954
|
value: value
|
|
12811
12955
|
}));
|
|
12812
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
12956
|
+
}).every(flag => flag)].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
12813
12957
|
path: _path + ".name",
|
|
12814
12958
|
expected: "(string | undefined)",
|
|
12815
12959
|
value: input.name
|
|
@@ -12849,27 +12993,27 @@ function _validateDomainRecord(domain, input) {
|
|
|
12849
12993
|
path: _path + ".profile",
|
|
12850
12994
|
expected: "(RenderProfileObject | undefined)",
|
|
12851
12995
|
value: input.profile
|
|
12852
|
-
})].every(flag => flag); const
|
|
12996
|
+
})].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
12853
12997
|
path: _path + ".__context",
|
|
12854
|
-
expected: "__type.
|
|
12998
|
+
expected: "__type.o13",
|
|
12855
12999
|
value: input.__context
|
|
12856
|
-
})) &&
|
|
13000
|
+
})) && _vo24(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
12857
13001
|
path: _path + ".__context",
|
|
12858
|
-
expected: "__type.
|
|
13002
|
+
expected: "__type.o13",
|
|
12859
13003
|
value: input.__context
|
|
12860
13004
|
}), ("object" === typeof input.__returnValue && null !== input.__returnValue || _report(_exceptionable, {
|
|
12861
13005
|
path: _path + ".__returnValue",
|
|
12862
13006
|
expected: "ResolvedFilePublishRender",
|
|
12863
13007
|
value: input.__returnValue
|
|
12864
|
-
})) &&
|
|
13008
|
+
})) && _vo22(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
12865
13009
|
path: _path + ".__returnValue",
|
|
12866
13010
|
expected: "ResolvedFilePublishRender",
|
|
12867
13011
|
value: input.__returnValue
|
|
12868
|
-
})].every(flag => flag); const
|
|
13012
|
+
})].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => [("object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) || _report(_exceptionable, {
|
|
12869
13013
|
path: _path + ".publish",
|
|
12870
13014
|
expected: "FilePublishRecord",
|
|
12871
13015
|
value: input.publish
|
|
12872
|
-
})) &&
|
|
13016
|
+
})) && _vo20(input.publish, _path + ".publish", true && _exceptionable) || _report(_exceptionable, {
|
|
12873
13017
|
path: _path + ".publish",
|
|
12874
13018
|
expected: "FilePublishRecord",
|
|
12875
13019
|
value: input.publish
|
|
@@ -12881,7 +13025,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12881
13025
|
path: _path + ".name",
|
|
12882
13026
|
expected: "string",
|
|
12883
13027
|
value: input.name
|
|
12884
|
-
})].every(flag => flag); const
|
|
13028
|
+
})].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
12885
13029
|
path: _path + ".directory",
|
|
12886
13030
|
expected: "(string | undefined)",
|
|
12887
13031
|
value: input.directory
|
|
@@ -12889,7 +13033,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12889
13033
|
path: _path + ".filename",
|
|
12890
13034
|
expected: "(string | undefined)",
|
|
12891
13035
|
value: input.filename
|
|
12892
|
-
})].every(flag => flag); const
|
|
13036
|
+
})].every(flag => flag); const _vo26 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
12893
13037
|
path: _path + ".directory",
|
|
12894
13038
|
expected: "(string | undefined)",
|
|
12895
13039
|
value: input.directory
|
|
@@ -12901,11 +13045,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
12901
13045
|
path: _path + ".renders",
|
|
12902
13046
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
12903
13047
|
value: input.renders
|
|
12904
|
-
})) &&
|
|
13048
|
+
})) && _vo27(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
12905
13049
|
path: _path + ".renders",
|
|
12906
13050
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
12907
13051
|
value: input.renders
|
|
12908
|
-
})].every(flag => flag); const
|
|
13052
|
+
})].every(flag => flag); const _vo27 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
12909
13053
|
const value = input[key];
|
|
12910
13054
|
if (undefined === value)
|
|
12911
13055
|
return true;
|
|
@@ -12913,12 +13057,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
12913
13057
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
12914
13058
|
expected: "FilePublishRemoteRender",
|
|
12915
13059
|
value: value
|
|
12916
|
-
})) &&
|
|
13060
|
+
})) && _vo28(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
12917
13061
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
12918
13062
|
expected: "FilePublishRemoteRender",
|
|
12919
13063
|
value: value
|
|
12920
13064
|
});
|
|
12921
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
13065
|
+
}).every(flag => flag)].every(flag => flag); const _vo28 = (input, _path, _exceptionable = true) => [undefined === input.path || "string" === typeof input.path || _report(_exceptionable, {
|
|
12922
13066
|
path: _path + ".path",
|
|
12923
13067
|
expected: "(string | undefined)",
|
|
12924
13068
|
value: input.path
|
|
@@ -12930,7 +13074,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12930
13074
|
path: _path + ".messages[" + _index15 + "]",
|
|
12931
13075
|
expected: "Message",
|
|
12932
13076
|
value: elem
|
|
12933
|
-
})) &&
|
|
13077
|
+
})) && _vo18(elem, _path + ".messages[" + _index15 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
12934
13078
|
path: _path + ".messages[" + _index15 + "]",
|
|
12935
13079
|
expected: "Message",
|
|
12936
13080
|
value: elem
|
|
@@ -12950,7 +13094,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12950
13094
|
path: _path + ".source",
|
|
12951
13095
|
expected: "(string | undefined)",
|
|
12952
13096
|
value: input.source
|
|
12953
|
-
})].every(flag => flag); const
|
|
13097
|
+
})].every(flag => flag); const _vo29 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
12954
13098
|
path: _path + ".directory",
|
|
12955
13099
|
expected: "(string | undefined)",
|
|
12956
13100
|
value: input.directory
|
|
@@ -12958,7 +13102,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12958
13102
|
path: _path + ".filename",
|
|
12959
13103
|
expected: "string",
|
|
12960
13104
|
value: input.filename
|
|
12961
|
-
})].every(flag => flag); const
|
|
13105
|
+
})].every(flag => flag); const _vo30 = (input, _path, _exceptionable = true) => [undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
12962
13106
|
path: _path + ".type",
|
|
12963
13107
|
expected: "(\"file\" | undefined)",
|
|
12964
13108
|
value: input.type
|
|
@@ -12974,7 +13118,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12974
13118
|
path: _path + ".draft",
|
|
12975
13119
|
expected: "(FilePublishDraft | undefined)",
|
|
12976
13120
|
value: input.draft
|
|
12977
|
-
})) &&
|
|
13121
|
+
})) && _vo25(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
12978
13122
|
path: _path + ".draft",
|
|
12979
13123
|
expected: "(FilePublishDraft | undefined)",
|
|
12980
13124
|
value: input.draft
|
|
@@ -12982,7 +13126,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12982
13126
|
path: _path + ".remote",
|
|
12983
13127
|
expected: "(FilePublishRemoteLegacy | undefined)",
|
|
12984
13128
|
value: input.remote
|
|
12985
|
-
})) &&
|
|
13129
|
+
})) && _vo31(input.remote, _path + ".remote", true && _exceptionable) || _report(_exceptionable, {
|
|
12986
13130
|
path: _path + ".remote",
|
|
12987
13131
|
expected: "(FilePublishRemoteLegacy | undefined)",
|
|
12988
13132
|
value: input.remote
|
|
@@ -12990,7 +13134,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12990
13134
|
path: _path + ".published",
|
|
12991
13135
|
expected: "(FilePublishPublished | undefined)",
|
|
12992
13136
|
value: input.published
|
|
12993
|
-
})) &&
|
|
13137
|
+
})) && _vo29(input.published, _path + ".published", true && _exceptionable) || _report(_exceptionable, {
|
|
12994
13138
|
path: _path + ".published",
|
|
12995
13139
|
expected: "(FilePublishPublished | undefined)",
|
|
12996
13140
|
value: input.published
|
|
@@ -13020,11 +13164,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
13020
13164
|
value: input.render
|
|
13021
13165
|
}), null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
13022
13166
|
path: _path + ".error",
|
|
13023
|
-
expected: "(__type.
|
|
13167
|
+
expected: "(__type.o11 | null | undefined)",
|
|
13024
13168
|
value: input.error
|
|
13025
|
-
})) &&
|
|
13169
|
+
})) && _vo17(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
13026
13170
|
path: _path + ".error",
|
|
13027
|
-
expected: "(__type.
|
|
13171
|
+
expected: "(__type.o11 | null | undefined)",
|
|
13028
13172
|
value: input.error
|
|
13029
13173
|
}), undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
13030
13174
|
path: _path + ".messages",
|
|
@@ -13034,7 +13178,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13034
13178
|
path: _path + ".messages[" + _index16 + "]",
|
|
13035
13179
|
expected: "Message",
|
|
13036
13180
|
value: elem
|
|
13037
|
-
})) &&
|
|
13181
|
+
})) && _vo18(elem, _path + ".messages[" + _index16 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
13038
13182
|
path: _path + ".messages[" + _index16 + "]",
|
|
13039
13183
|
expected: "Message",
|
|
13040
13184
|
value: elem
|
|
@@ -13042,7 +13186,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13042
13186
|
path: _path + ".messages",
|
|
13043
13187
|
expected: "(Array<Message> | undefined)",
|
|
13044
13188
|
value: input.messages
|
|
13045
|
-
})].every(flag => flag); const
|
|
13189
|
+
})].every(flag => flag); const _vo31 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
13046
13190
|
path: _path + ".id",
|
|
13047
13191
|
expected: "(string | undefined)",
|
|
13048
13192
|
value: input.id
|
|
@@ -13060,19 +13204,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
13060
13204
|
value: input.directory
|
|
13061
13205
|
}), undefined === input.subtitle || ("object" === typeof input.subtitle && null !== input.subtitle || _report(_exceptionable, {
|
|
13062
13206
|
path: _path + ".subtitle",
|
|
13063
|
-
expected: "(__type.
|
|
13207
|
+
expected: "(__type.o14 | undefined)",
|
|
13064
13208
|
value: input.subtitle
|
|
13065
|
-
})) &&
|
|
13209
|
+
})) && _vo32(input.subtitle, _path + ".subtitle", true && _exceptionable) || _report(_exceptionable, {
|
|
13066
13210
|
path: _path + ".subtitle",
|
|
13067
|
-
expected: "(__type.
|
|
13211
|
+
expected: "(__type.o14 | undefined)",
|
|
13068
13212
|
value: input.subtitle
|
|
13069
13213
|
}), undefined === input.metafile || ("object" === typeof input.metafile && null !== input.metafile || _report(_exceptionable, {
|
|
13070
13214
|
path: _path + ".metafile",
|
|
13071
|
-
expected: "(__type.
|
|
13215
|
+
expected: "(__type.o15 | undefined)",
|
|
13072
13216
|
value: input.metafile
|
|
13073
|
-
})) &&
|
|
13217
|
+
})) && _vo33(input.metafile, _path + ".metafile", true && _exceptionable) || _report(_exceptionable, {
|
|
13074
13218
|
path: _path + ".metafile",
|
|
13075
|
-
expected: "(__type.
|
|
13219
|
+
expected: "(__type.o15 | undefined)",
|
|
13076
13220
|
value: input.metafile
|
|
13077
13221
|
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
13078
13222
|
if (["id", "path", "filename", "directory", "subtitle", "metafile"].some(prop => key === prop))
|
|
@@ -13081,25 +13225,25 @@ function _validateDomainRecord(domain, input) {
|
|
|
13081
13225
|
if (undefined === value)
|
|
13082
13226
|
return true;
|
|
13083
13227
|
return true;
|
|
13084
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
13228
|
+
}).every(flag => flag)].every(flag => flag); const _vo32 = (input, _path, _exceptionable = true) => ["string" === typeof input.path || _report(_exceptionable, {
|
|
13085
13229
|
path: _path + ".path",
|
|
13086
13230
|
expected: "string",
|
|
13087
13231
|
value: input.path
|
|
13088
|
-
})].every(flag => flag); const
|
|
13232
|
+
})].every(flag => flag); const _vo33 = (input, _path, _exceptionable = true) => ["string" === typeof input.path || _report(_exceptionable, {
|
|
13089
13233
|
path: _path + ".path",
|
|
13090
13234
|
expected: "string",
|
|
13091
13235
|
value: input.path
|
|
13092
|
-
})].every(flag => flag); const
|
|
13236
|
+
})].every(flag => flag); const _vo34 = (input, _path, _exceptionable = true) => [undefined === input.type || "youtube" === input.type || _report(_exceptionable, {
|
|
13093
13237
|
path: _path + ".type",
|
|
13094
13238
|
expected: "(\"youtube\" | undefined)",
|
|
13095
13239
|
value: input.type
|
|
13096
13240
|
}), undefined === input.draft || ("object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) || _report(_exceptionable, {
|
|
13097
13241
|
path: _path + ".draft",
|
|
13098
|
-
expected: "(__type.
|
|
13242
|
+
expected: "(__type.o16 | undefined)",
|
|
13099
13243
|
value: input.draft
|
|
13100
|
-
})) &&
|
|
13244
|
+
})) && _vo35(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
13101
13245
|
path: _path + ".draft",
|
|
13102
|
-
expected: "(__type.
|
|
13246
|
+
expected: "(__type.o16 | undefined)",
|
|
13103
13247
|
value: input.draft
|
|
13104
13248
|
}), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
|
|
13105
13249
|
path: _path + ".asset",
|
|
@@ -13119,11 +13263,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
13119
13263
|
value: input.render
|
|
13120
13264
|
}), true, true, null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
13121
13265
|
path: _path + ".error",
|
|
13122
|
-
expected: "(__type.
|
|
13266
|
+
expected: "(__type.o11 | null | undefined)",
|
|
13123
13267
|
value: input.error
|
|
13124
|
-
})) &&
|
|
13268
|
+
})) && _vo17(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
13125
13269
|
path: _path + ".error",
|
|
13126
|
-
expected: "(__type.
|
|
13270
|
+
expected: "(__type.o11 | null | undefined)",
|
|
13127
13271
|
value: input.error
|
|
13128
13272
|
}), undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
13129
13273
|
path: _path + ".messages",
|
|
@@ -13133,7 +13277,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13133
13277
|
path: _path + ".messages[" + _index17 + "]",
|
|
13134
13278
|
expected: "Message",
|
|
13135
13279
|
value: elem
|
|
13136
|
-
})) &&
|
|
13280
|
+
})) && _vo18(elem, _path + ".messages[" + _index17 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
13137
13281
|
path: _path + ".messages[" + _index17 + "]",
|
|
13138
13282
|
expected: "Message",
|
|
13139
13283
|
value: elem
|
|
@@ -13141,15 +13285,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
13141
13285
|
path: _path + ".messages",
|
|
13142
13286
|
expected: "(Array<Message> | undefined)",
|
|
13143
13287
|
value: input.messages
|
|
13144
|
-
})].every(flag => flag); const
|
|
13288
|
+
})].every(flag => flag); const _vo35 = (input, _path, _exceptionable = true) => [undefined === input.snippet || ("object" === typeof input.snippet && null !== input.snippet && false === Array.isArray(input.snippet) || _report(_exceptionable, {
|
|
13145
13289
|
path: _path + ".snippet",
|
|
13146
|
-
expected: "(__type.
|
|
13290
|
+
expected: "(__type.o17 | undefined)",
|
|
13147
13291
|
value: input.snippet
|
|
13148
|
-
})) &&
|
|
13292
|
+
})) && _vo36(input.snippet, _path + ".snippet", true && _exceptionable) || _report(_exceptionable, {
|
|
13149
13293
|
path: _path + ".snippet",
|
|
13150
|
-
expected: "(__type.
|
|
13294
|
+
expected: "(__type.o17 | undefined)",
|
|
13151
13295
|
value: input.snippet
|
|
13152
|
-
})].every(flag => flag); const
|
|
13296
|
+
})].every(flag => flag); const _vo36 = (input, _path, _exceptionable = true) => [undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
13153
13297
|
path: _path + ".title",
|
|
13154
13298
|
expected: "(string | undefined)",
|
|
13155
13299
|
value: input.title
|
|
@@ -13171,16 +13315,16 @@ function _validateDomainRecord(domain, input) {
|
|
|
13171
13315
|
value: input.description
|
|
13172
13316
|
})].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
13173
13317
|
if (undefined !== input.path)
|
|
13174
|
-
return
|
|
13318
|
+
return _vo22(input, _path, true && _exceptionable);
|
|
13175
13319
|
else if (undefined !== input.__context)
|
|
13176
|
-
return
|
|
13320
|
+
return _vo23(input, _path, true && _exceptionable);
|
|
13177
13321
|
else
|
|
13178
13322
|
return _report(_exceptionable, {
|
|
13179
13323
|
path: _path,
|
|
13180
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
13324
|
+
expected: "(ResolvedFilePublishRender | __type.o12)",
|
|
13181
13325
|
value: input
|
|
13182
13326
|
});
|
|
13183
|
-
})(); const _vu1 = (input, _path, _exceptionable = true) => _vo0(input, _path, false && _exceptionable) ||
|
|
13327
|
+
})(); const _vu1 = (input, _path, _exceptionable = true) => _vo0(input, _path, false && _exceptionable) || _vo19(input, _path, false && _exceptionable) || _vo30(input, _path, false && _exceptionable) || _vo20(input, _path, false && _exceptionable) || _vo34(input, _path, false && _exceptionable); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _iu1(input); let errors; let _report; return input => {
|
|
13184
13328
|
if (false === __is(input)) {
|
|
13185
13329
|
errors = [];
|
|
13186
13330
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
@@ -13225,16 +13369,16 @@ function _validateDomainRecord(domain, input) {
|
|
|
13225
13369
|
if (undefined === value)
|
|
13226
13370
|
return true;
|
|
13227
13371
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io13(value);
|
|
13228
|
-
}); const _io13 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io14(input.styleOverrides)); const _io14 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io15 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io16(input.crop); const _io16 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io17 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io18 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io19(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io20(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io21(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) && _io22(input.subtitle))); const _io19 = input => "string" === typeof input.engine; const _io20 = input => "string" === typeof input.language; const _io21 = 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 _io22 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _io23 = input => "object" === typeof input.__context && null !== input.__context &&
|
|
13372
|
+
}); const _io13 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io14(input.styleOverrides)); const _io14 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io15 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io16(input.crop); const _io16 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io17 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io18 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io19(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io20(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io21(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) && _io22(input.subtitle))); const _io19 = input => "string" === typeof input.engine; const _io20 = input => "string" === typeof input.language; const _io21 = 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 _io22 = 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) && _io23(input.ccconverter)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io24(input.ass)); const _io23 = input => undefined === input.preset || "string" === typeof input.preset; const _io24 = input => (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack); const _io25 = input => "object" === typeof input.__context && null !== input.__context && _io26(input.__context) && ("object" === typeof input.__returnValue && null !== input.__returnValue && _io9(input.__returnValue)); const _io26 = input => "object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) && _io27(input.publish) && "string" === typeof input.directory && "string" === typeof input.name; const _io27 = input => (undefined === input.type || "file" === input.type) && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io8(input.renders)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io28(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io29(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io32(input.published)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io33(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io34(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io28 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename); const _io29 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io30(input.renders)); const _io30 = input => Object.keys(input).every(key => {
|
|
13229
13373
|
const value = input[key];
|
|
13230
13374
|
if (undefined === value)
|
|
13231
13375
|
return true;
|
|
13232
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
13233
|
-
}); const
|
|
13376
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io31(value);
|
|
13377
|
+
}); const _io31 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && true && (undefined === input.size || "number" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash) && (undefined === input.source || "string" === typeof input.source); const _io32 = input => (undefined === input.directory || "string" === typeof input.directory) && "string" === typeof input.filename; const _io33 = input => (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io10(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io18(input.profile)); const _io34 = input => "string" === typeof input.method; const _iu0 = input => (() => {
|
|
13234
13378
|
if (undefined !== input.path)
|
|
13235
13379
|
return _io9(input);
|
|
13236
13380
|
else if (undefined !== input.__context)
|
|
13237
|
-
return
|
|
13381
|
+
return _io25(input);
|
|
13238
13382
|
else
|
|
13239
13383
|
return false;
|
|
13240
13384
|
})(); const _iu1 = input => (() => {
|
|
@@ -13408,19 +13552,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
13408
13552
|
return true;
|
|
13409
13553
|
return (null !== value || _report(_exceptionable, {
|
|
13410
13554
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13411
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
13555
|
+
expected: "(ResolvedFilePublishRender | __type.o11 | string)",
|
|
13412
13556
|
value: value
|
|
13413
13557
|
})) && (undefined !== value || _report(_exceptionable, {
|
|
13414
13558
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13415
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
13559
|
+
expected: "(ResolvedFilePublishRender | __type.o11 | string)",
|
|
13416
13560
|
value: value
|
|
13417
13561
|
})) && ("string" === typeof value || ("object" === typeof value && null !== value || _report(_exceptionable, {
|
|
13418
13562
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13419
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
13563
|
+
expected: "(ResolvedFilePublishRender | __type.o11 | string)",
|
|
13420
13564
|
value: value
|
|
13421
13565
|
})) && _vu0(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
13422
13566
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13423
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
13567
|
+
expected: "(ResolvedFilePublishRender | __type.o11 | string)",
|
|
13424
13568
|
value: value
|
|
13425
13569
|
}));
|
|
13426
13570
|
}).every(flag => flag)].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
@@ -13608,6 +13752,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
13608
13752
|
path: _path + ".spacing",
|
|
13609
13753
|
expected: "(string | undefined)",
|
|
13610
13754
|
value: input.spacing
|
|
13755
|
+
}), undefined === input.lineSpacing || "string" === typeof input.lineSpacing || _report(_exceptionable, {
|
|
13756
|
+
path: _path + ".lineSpacing",
|
|
13757
|
+
expected: "(string | undefined)",
|
|
13758
|
+
value: input.lineSpacing
|
|
13611
13759
|
}), undefined === input.angle || "string" === typeof input.angle || _report(_exceptionable, {
|
|
13612
13760
|
path: _path + ".angle",
|
|
13613
13761
|
expected: "(string | undefined)",
|
|
@@ -13768,13 +13916,45 @@ function _validateDomainRecord(domain, input) {
|
|
|
13768
13916
|
path: _path + ".style",
|
|
13769
13917
|
expected: "(string | undefined)",
|
|
13770
13918
|
value: input.style
|
|
13771
|
-
})
|
|
13919
|
+
}), undefined === input.ccconverter || ("object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) || _report(_exceptionable, {
|
|
13920
|
+
path: _path + ".ccconverter",
|
|
13921
|
+
expected: "(__type.o9 | undefined)",
|
|
13922
|
+
value: input.ccconverter
|
|
13923
|
+
})) && _vo23(input.ccconverter, _path + ".ccconverter", true && _exceptionable) || _report(_exceptionable, {
|
|
13924
|
+
path: _path + ".ccconverter",
|
|
13925
|
+
expected: "(__type.o9 | undefined)",
|
|
13926
|
+
value: input.ccconverter
|
|
13927
|
+
}), undefined === input.ass || ("object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) || _report(_exceptionable, {
|
|
13928
|
+
path: _path + ".ass",
|
|
13929
|
+
expected: "(__type.o10 | undefined)",
|
|
13930
|
+
value: input.ass
|
|
13931
|
+
})) && _vo24(input.ass, _path + ".ass", true && _exceptionable) || _report(_exceptionable, {
|
|
13932
|
+
path: _path + ".ass",
|
|
13933
|
+
expected: "(__type.o10 | undefined)",
|
|
13934
|
+
value: input.ass
|
|
13935
|
+
})].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
13936
|
+
path: _path + ".preset",
|
|
13937
|
+
expected: "(string | undefined)",
|
|
13938
|
+
value: input.preset
|
|
13939
|
+
})].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => [undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping || _report(_exceptionable, {
|
|
13940
|
+
path: _path + ".futureWordWrapping",
|
|
13941
|
+
expected: "(boolean | undefined)",
|
|
13942
|
+
value: input.futureWordWrapping
|
|
13943
|
+
}), undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow || _report(_exceptionable, {
|
|
13944
|
+
path: _path + ".scaledBorderAndShadow",
|
|
13945
|
+
expected: "(boolean | undefined)",
|
|
13946
|
+
value: input.scaledBorderAndShadow
|
|
13947
|
+
}), undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack || _report(_exceptionable, {
|
|
13948
|
+
path: _path + ".enableUnsafeLineSpacingHack",
|
|
13949
|
+
expected: "(boolean | undefined)",
|
|
13950
|
+
value: input.enableUnsafeLineSpacingHack
|
|
13951
|
+
})].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
13772
13952
|
path: _path + ".__context",
|
|
13773
|
-
expected: "__type.
|
|
13953
|
+
expected: "__type.o12",
|
|
13774
13954
|
value: input.__context
|
|
13775
|
-
})) &&
|
|
13955
|
+
})) && _vo26(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
13776
13956
|
path: _path + ".__context",
|
|
13777
|
-
expected: "__type.
|
|
13957
|
+
expected: "__type.o12",
|
|
13778
13958
|
value: input.__context
|
|
13779
13959
|
}), ("object" === typeof input.__returnValue && null !== input.__returnValue || _report(_exceptionable, {
|
|
13780
13960
|
path: _path + ".__returnValue",
|
|
@@ -13784,11 +13964,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
13784
13964
|
path: _path + ".__returnValue",
|
|
13785
13965
|
expected: "ResolvedFilePublishRender",
|
|
13786
13966
|
value: input.__returnValue
|
|
13787
|
-
})].every(flag => flag); const
|
|
13967
|
+
})].every(flag => flag); const _vo26 = (input, _path, _exceptionable = true) => [("object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) || _report(_exceptionable, {
|
|
13788
13968
|
path: _path + ".publish",
|
|
13789
13969
|
expected: "FilePublishRecord",
|
|
13790
13970
|
value: input.publish
|
|
13791
|
-
})) &&
|
|
13971
|
+
})) && _vo27(input.publish, _path + ".publish", true && _exceptionable) || _report(_exceptionable, {
|
|
13792
13972
|
path: _path + ".publish",
|
|
13793
13973
|
expected: "FilePublishRecord",
|
|
13794
13974
|
value: input.publish
|
|
@@ -13800,7 +13980,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13800
13980
|
path: _path + ".name",
|
|
13801
13981
|
expected: "string",
|
|
13802
13982
|
value: input.name
|
|
13803
|
-
})].every(flag => flag); const
|
|
13983
|
+
})].every(flag => flag); const _vo27 = (input, _path, _exceptionable = true) => [undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
13804
13984
|
path: _path + ".type",
|
|
13805
13985
|
expected: "(\"file\" | undefined)",
|
|
13806
13986
|
value: input.type
|
|
@@ -13824,7 +14004,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13824
14004
|
path: _path + ".draft",
|
|
13825
14005
|
expected: "(FilePublishDraft | undefined)",
|
|
13826
14006
|
value: input.draft
|
|
13827
|
-
})) &&
|
|
14007
|
+
})) && _vo28(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
13828
14008
|
path: _path + ".draft",
|
|
13829
14009
|
expected: "(FilePublishDraft | undefined)",
|
|
13830
14010
|
value: input.draft
|
|
@@ -13832,7 +14012,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13832
14012
|
path: _path + ".remote",
|
|
13833
14013
|
expected: "(FilePublishRemote | undefined)",
|
|
13834
14014
|
value: input.remote
|
|
13835
|
-
})) &&
|
|
14015
|
+
})) && _vo29(input.remote, _path + ".remote", true && _exceptionable) || _report(_exceptionable, {
|
|
13836
14016
|
path: _path + ".remote",
|
|
13837
14017
|
expected: "(FilePublishRemote | undefined)",
|
|
13838
14018
|
value: input.remote
|
|
@@ -13840,7 +14020,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13840
14020
|
path: _path + ".published",
|
|
13841
14021
|
expected: "(FilePublishPublished | undefined)",
|
|
13842
14022
|
value: input.published
|
|
13843
|
-
})) &&
|
|
14023
|
+
})) && _vo32(input.published, _path + ".published", true && _exceptionable) || _report(_exceptionable, {
|
|
13844
14024
|
path: _path + ".published",
|
|
13845
14025
|
expected: "(FilePublishPublished | undefined)",
|
|
13846
14026
|
value: input.published
|
|
@@ -13856,17 +14036,17 @@ function _validateDomainRecord(domain, input) {
|
|
|
13856
14036
|
path: _path + ".render",
|
|
13857
14037
|
expected: "(PublishRenderBase | undefined)",
|
|
13858
14038
|
value: input.render
|
|
13859
|
-
})) &&
|
|
14039
|
+
})) && _vo33(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
13860
14040
|
path: _path + ".render",
|
|
13861
14041
|
expected: "(PublishRenderBase | undefined)",
|
|
13862
14042
|
value: input.render
|
|
13863
14043
|
}), null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
13864
14044
|
path: _path + ".error",
|
|
13865
|
-
expected: "(__type.
|
|
14045
|
+
expected: "(__type.o13 | null | undefined)",
|
|
13866
14046
|
value: input.error
|
|
13867
|
-
})) &&
|
|
14047
|
+
})) && _vo34(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
13868
14048
|
path: _path + ".error",
|
|
13869
|
-
expected: "(__type.
|
|
14049
|
+
expected: "(__type.o13 | null | undefined)",
|
|
13870
14050
|
value: input.error
|
|
13871
14051
|
}), undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
13872
14052
|
path: _path + ".messages",
|
|
@@ -13884,7 +14064,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13884
14064
|
path: _path + ".messages",
|
|
13885
14065
|
expected: "(Array<Message> | undefined)",
|
|
13886
14066
|
value: input.messages
|
|
13887
|
-
})].every(flag => flag); const
|
|
14067
|
+
})].every(flag => flag); const _vo28 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
13888
14068
|
path: _path + ".directory",
|
|
13889
14069
|
expected: "(string | undefined)",
|
|
13890
14070
|
value: input.directory
|
|
@@ -13892,7 +14072,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13892
14072
|
path: _path + ".filename",
|
|
13893
14073
|
expected: "(string | undefined)",
|
|
13894
14074
|
value: input.filename
|
|
13895
|
-
})].every(flag => flag); const
|
|
14075
|
+
})].every(flag => flag); const _vo29 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
13896
14076
|
path: _path + ".directory",
|
|
13897
14077
|
expected: "(string | undefined)",
|
|
13898
14078
|
value: input.directory
|
|
@@ -13904,11 +14084,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
13904
14084
|
path: _path + ".renders",
|
|
13905
14085
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
13906
14086
|
value: input.renders
|
|
13907
|
-
})) &&
|
|
14087
|
+
})) && _vo30(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
13908
14088
|
path: _path + ".renders",
|
|
13909
14089
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
13910
14090
|
value: input.renders
|
|
13911
|
-
})].every(flag => flag); const
|
|
14091
|
+
})].every(flag => flag); const _vo30 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
13912
14092
|
const value = input[key];
|
|
13913
14093
|
if (undefined === value)
|
|
13914
14094
|
return true;
|
|
@@ -13916,12 +14096,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
13916
14096
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13917
14097
|
expected: "FilePublishRemoteRender",
|
|
13918
14098
|
value: value
|
|
13919
|
-
})) &&
|
|
14099
|
+
})) && _vo31(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
13920
14100
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13921
14101
|
expected: "FilePublishRemoteRender",
|
|
13922
14102
|
value: value
|
|
13923
14103
|
});
|
|
13924
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
14104
|
+
}).every(flag => flag)].every(flag => flag); const _vo31 = (input, _path, _exceptionable = true) => [undefined === input.path || "string" === typeof input.path || _report(_exceptionable, {
|
|
13925
14105
|
path: _path + ".path",
|
|
13926
14106
|
expected: "(string | undefined)",
|
|
13927
14107
|
value: input.path
|
|
@@ -13953,7 +14133,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13953
14133
|
path: _path + ".source",
|
|
13954
14134
|
expected: "(string | undefined)",
|
|
13955
14135
|
value: input.source
|
|
13956
|
-
})].every(flag => flag); const
|
|
14136
|
+
})].every(flag => flag); const _vo32 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
13957
14137
|
path: _path + ".directory",
|
|
13958
14138
|
expected: "(string | undefined)",
|
|
13959
14139
|
value: input.directory
|
|
@@ -13961,7 +14141,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13961
14141
|
path: _path + ".filename",
|
|
13962
14142
|
expected: "string",
|
|
13963
14143
|
value: input.filename
|
|
13964
|
-
})].every(flag => flag); const
|
|
14144
|
+
})].every(flag => flag); const _vo33 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
13965
14145
|
path: _path + ".preset",
|
|
13966
14146
|
expected: "(string | undefined)",
|
|
13967
14147
|
value: input.preset
|
|
@@ -13985,7 +14165,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13985
14165
|
path: _path + ".profile",
|
|
13986
14166
|
expected: "(RenderProfileObject | undefined)",
|
|
13987
14167
|
value: input.profile
|
|
13988
|
-
})].every(flag => flag); const
|
|
14168
|
+
})].every(flag => flag); const _vo34 = (input, _path, _exceptionable = true) => ["string" === typeof input.method || _report(_exceptionable, {
|
|
13989
14169
|
path: _path + ".method",
|
|
13990
14170
|
expected: "string",
|
|
13991
14171
|
value: input.method
|
|
@@ -13993,11 +14173,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
13993
14173
|
if (undefined !== input.path)
|
|
13994
14174
|
return _vo9(input, _path, true && _exceptionable);
|
|
13995
14175
|
else if (undefined !== input.__context)
|
|
13996
|
-
return
|
|
14176
|
+
return _vo25(input, _path, true && _exceptionable);
|
|
13997
14177
|
else
|
|
13998
14178
|
return _report(_exceptionable, {
|
|
13999
14179
|
path: _path,
|
|
14000
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
14180
|
+
expected: "(ResolvedFilePublishRender | __type.o11)",
|
|
14001
14181
|
value: input
|
|
14002
14182
|
});
|
|
14003
14183
|
})(); const _vu1 = (input, _path, _exceptionable = true) => _vo3(input, _path, false && _exceptionable) || _vo2(input, _path, false && _exceptionable) || _vo0(input, _path, false && _exceptionable); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _iu1(input); let errors; let _report; return input => {
|
|
@@ -14198,7 +14378,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14198
14378
|
}; })()(input);
|
|
14199
14379
|
}
|
|
14200
14380
|
case ":render-preset": {
|
|
14201
|
-
return (() => { const _io0 = 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 && _io1(elem))) || "object" === typeof input.profile && null !== input.profile && _io1(input.profile)))); const _io1 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io2(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io3(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io4(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) && _io5(input.subtitle))); const _io2 = input => "string" === typeof input.engine; const _io3 = input => "string" === typeof input.language; const _io4 = 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 _io5 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _vo0 = (input, _path, _exceptionable = true) => [null === input.type || undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
14381
|
+
return (() => { const _io0 = 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 && _io1(elem))) || "object" === typeof input.profile && null !== input.profile && _io1(input.profile)))); const _io1 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io2(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io3(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io4(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) && _io5(input.subtitle))); const _io2 = input => "string" === typeof input.engine; const _io3 = input => "string" === typeof input.language; const _io4 = 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 _io5 = 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) && _io6(input.ccconverter)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io7(input.ass)); const _io6 = input => undefined === input.preset || "string" === typeof input.preset; const _io7 = 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) => [null === input.type || undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
14202
14382
|
path: _path + ".type",
|
|
14203
14383
|
expected: "(null | string | undefined)",
|
|
14204
14384
|
value: input.type
|
|
@@ -14314,6 +14494,38 @@ function _validateDomainRecord(domain, input) {
|
|
|
14314
14494
|
path: _path + ".style",
|
|
14315
14495
|
expected: "(string | undefined)",
|
|
14316
14496
|
value: input.style
|
|
14497
|
+
}), undefined === input.ccconverter || ("object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) || _report(_exceptionable, {
|
|
14498
|
+
path: _path + ".ccconverter",
|
|
14499
|
+
expected: "(__type.o3 | undefined)",
|
|
14500
|
+
value: input.ccconverter
|
|
14501
|
+
})) && _vo6(input.ccconverter, _path + ".ccconverter", true && _exceptionable) || _report(_exceptionable, {
|
|
14502
|
+
path: _path + ".ccconverter",
|
|
14503
|
+
expected: "(__type.o3 | undefined)",
|
|
14504
|
+
value: input.ccconverter
|
|
14505
|
+
}), undefined === input.ass || ("object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) || _report(_exceptionable, {
|
|
14506
|
+
path: _path + ".ass",
|
|
14507
|
+
expected: "(__type.o4 | undefined)",
|
|
14508
|
+
value: input.ass
|
|
14509
|
+
})) && _vo7(input.ass, _path + ".ass", true && _exceptionable) || _report(_exceptionable, {
|
|
14510
|
+
path: _path + ".ass",
|
|
14511
|
+
expected: "(__type.o4 | undefined)",
|
|
14512
|
+
value: input.ass
|
|
14513
|
+
})].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
14514
|
+
path: _path + ".preset",
|
|
14515
|
+
expected: "(string | undefined)",
|
|
14516
|
+
value: input.preset
|
|
14517
|
+
})].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping || _report(_exceptionable, {
|
|
14518
|
+
path: _path + ".futureWordWrapping",
|
|
14519
|
+
expected: "(boolean | undefined)",
|
|
14520
|
+
value: input.futureWordWrapping
|
|
14521
|
+
}), undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow || _report(_exceptionable, {
|
|
14522
|
+
path: _path + ".scaledBorderAndShadow",
|
|
14523
|
+
expected: "(boolean | undefined)",
|
|
14524
|
+
value: input.scaledBorderAndShadow
|
|
14525
|
+
}), undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack || _report(_exceptionable, {
|
|
14526
|
+
path: _path + ".enableUnsafeLineSpacingHack",
|
|
14527
|
+
expected: "(boolean | undefined)",
|
|
14528
|
+
value: input.enableUnsafeLineSpacingHack
|
|
14317
14529
|
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
14318
14530
|
if (false === __is(input)) {
|
|
14319
14531
|
errors = [];
|
|
@@ -14757,7 +14969,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14757
14969
|
if (undefined === value)
|
|
14758
14970
|
return true;
|
|
14759
14971
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io5(value);
|
|
14760
|
-
}); const _io5 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io6(input.styleOverrides)); const _io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io7 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io8(input.crop); const _io8 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io9 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io10 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io11(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io12(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io13(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) && _io14(input.subtitle))); const _io11 = input => "string" === typeof input.engine; const _io12 = input => "string" === typeof input.language; const _io13 = 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 _io14 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.type || _report(_exceptionable, {
|
|
14972
|
+
}); const _io5 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io6(input.styleOverrides)); const _io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io7 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io8(input.crop); const _io8 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io9 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io10 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io11(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io12(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io13(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) && _io14(input.subtitle))); const _io11 = input => "string" === typeof input.engine; const _io12 = input => "string" === typeof input.language; const _io13 = 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 _io14 = 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) && _io15(input.ccconverter)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io16(input.ass)); const _io15 = input => undefined === input.preset || "string" === typeof input.preset; const _io16 = 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) => ["string" === typeof input.type || _report(_exceptionable, {
|
|
14761
14973
|
path: _path + ".type",
|
|
14762
14974
|
expected: "string",
|
|
14763
14975
|
value: input.type
|
|
@@ -14938,6 +15150,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
14938
15150
|
path: _path + ".spacing",
|
|
14939
15151
|
expected: "(string | undefined)",
|
|
14940
15152
|
value: input.spacing
|
|
15153
|
+
}), undefined === input.lineSpacing || "string" === typeof input.lineSpacing || _report(_exceptionable, {
|
|
15154
|
+
path: _path + ".lineSpacing",
|
|
15155
|
+
expected: "(string | undefined)",
|
|
15156
|
+
value: input.lineSpacing
|
|
14941
15157
|
}), undefined === input.angle || "string" === typeof input.angle || _report(_exceptionable, {
|
|
14942
15158
|
path: _path + ".angle",
|
|
14943
15159
|
expected: "(string | undefined)",
|
|
@@ -15098,6 +15314,38 @@ function _validateDomainRecord(domain, input) {
|
|
|
15098
15314
|
path: _path + ".style",
|
|
15099
15315
|
expected: "(string | undefined)",
|
|
15100
15316
|
value: input.style
|
|
15317
|
+
}), undefined === input.ccconverter || ("object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) || _report(_exceptionable, {
|
|
15318
|
+
path: _path + ".ccconverter",
|
|
15319
|
+
expected: "(__type.o10 | undefined)",
|
|
15320
|
+
value: input.ccconverter
|
|
15321
|
+
})) && _vo15(input.ccconverter, _path + ".ccconverter", true && _exceptionable) || _report(_exceptionable, {
|
|
15322
|
+
path: _path + ".ccconverter",
|
|
15323
|
+
expected: "(__type.o10 | undefined)",
|
|
15324
|
+
value: input.ccconverter
|
|
15325
|
+
}), undefined === input.ass || ("object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) || _report(_exceptionable, {
|
|
15326
|
+
path: _path + ".ass",
|
|
15327
|
+
expected: "(__type.o11 | undefined)",
|
|
15328
|
+
value: input.ass
|
|
15329
|
+
})) && _vo16(input.ass, _path + ".ass", true && _exceptionable) || _report(_exceptionable, {
|
|
15330
|
+
path: _path + ".ass",
|
|
15331
|
+
expected: "(__type.o11 | undefined)",
|
|
15332
|
+
value: input.ass
|
|
15333
|
+
})].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
15334
|
+
path: _path + ".preset",
|
|
15335
|
+
expected: "(string | undefined)",
|
|
15336
|
+
value: input.preset
|
|
15337
|
+
})].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping || _report(_exceptionable, {
|
|
15338
|
+
path: _path + ".futureWordWrapping",
|
|
15339
|
+
expected: "(boolean | undefined)",
|
|
15340
|
+
value: input.futureWordWrapping
|
|
15341
|
+
}), undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow || _report(_exceptionable, {
|
|
15342
|
+
path: _path + ".scaledBorderAndShadow",
|
|
15343
|
+
expected: "(boolean | undefined)",
|
|
15344
|
+
value: input.scaledBorderAndShadow
|
|
15345
|
+
}), undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack || _report(_exceptionable, {
|
|
15346
|
+
path: _path + ".enableUnsafeLineSpacingHack",
|
|
15347
|
+
expected: "(boolean | undefined)",
|
|
15348
|
+
value: input.enableUnsafeLineSpacingHack
|
|
15101
15349
|
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
|
|
15102
15350
|
if (false === __is(input)) {
|
|
15103
15351
|
errors = [];
|
|
@@ -15756,38 +16004,47 @@ function _validateDomainRecord(domain, input) {
|
|
|
15756
16004
|
}; })()(input);
|
|
15757
16005
|
}
|
|
15758
16006
|
case ":script.content?": {
|
|
15759
|
-
return (() => { const _io0 = input => Array.isArray(input.nodes) && input.nodes.every(elem => "object" === typeof elem && null !== elem && _iu0(elem)); const _io1 = input => "event" === input.type && "string" === typeof input.id && "string" === typeof input.mixin && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io2 = input =>
|
|
16007
|
+
return (() => { const _io0 = input => Array.isArray(input.nodes) && input.nodes.every(elem => "object" === typeof elem && null !== elem && _iu0(elem)); const _io1 = input => "event" === input.type && "string" === typeof input.id && "string" === typeof input.mixin && (undefined === input.children || Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io2 = input => "text" === input.type && "string" === typeof input.text && (undefined === input.style || "string" === typeof input.style) && (undefined === input.format || "number" === typeof input.format); const _io3 = input => ("link" === input.type || "autolink" === input.type) && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _io2(elem))); const _io4 = input => "listitem" === input.type && "number" === typeof input.value && (undefined === input.checked || "boolean" === typeof input.checked) && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _iu1(elem))); const _io5 = input => "list" === input.type && ("number" === input.listType || "bullet" === input.listType || "check" === input.listType) && ("ul" === input.tag || "ol" === input.tag) && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _io4(elem))); const _io6 = input => "paragraph" === input.type && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _iu1(elem))); const _io7 = input => "comment" === input.type && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _iu1(elem))); const _io8 = input => "heading" === input.type && ("h1" === input.tag || "h2" === input.tag || "h3" === input.tag) && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _iu1(elem))); const _io9 = input => "quote" === input.type && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _iu1(elem))); const _io10 = input => "horizontalrule" === input.type; const _iu0 = input => (() => {
|
|
15760
16008
|
if ("event" === input.type)
|
|
15761
16009
|
return _io1(input);
|
|
15762
|
-
else if ("
|
|
16010
|
+
else if ("text" === input.type)
|
|
15763
16011
|
return _io2(input);
|
|
15764
|
-
else if ("
|
|
16012
|
+
else if ("link" === input.type || "autolink" === input.type)
|
|
15765
16013
|
return _io3(input);
|
|
15766
|
-
else if ("
|
|
16014
|
+
else if ("listitem" === input.type)
|
|
15767
16015
|
return _io4(input);
|
|
16016
|
+
else if ("list" === input.type)
|
|
16017
|
+
return _io5(input);
|
|
15768
16018
|
else if ("quote" === input.type)
|
|
15769
|
-
return
|
|
16019
|
+
return _io9(input);
|
|
15770
16020
|
else if ("comment" === input.type)
|
|
15771
|
-
return
|
|
16021
|
+
return _io7(input);
|
|
15772
16022
|
else if ("paragraph" === input.type)
|
|
15773
|
-
return
|
|
16023
|
+
return _io6(input);
|
|
15774
16024
|
else if ("heading" === input.type)
|
|
15775
|
-
return
|
|
16025
|
+
return _io8(input);
|
|
15776
16026
|
else if ("horizontalrule" === input.type)
|
|
15777
|
-
return
|
|
16027
|
+
return _io10(input);
|
|
16028
|
+
else
|
|
16029
|
+
return false;
|
|
16030
|
+
})(); const _iu1 = input => (() => {
|
|
16031
|
+
if ("text" === input.type)
|
|
16032
|
+
return _io2(input);
|
|
16033
|
+
else if ("link" === input.type || "autolink" === input.type)
|
|
16034
|
+
return _io3(input);
|
|
15778
16035
|
else
|
|
15779
16036
|
return false;
|
|
15780
16037
|
})(); const _vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.nodes) || _report(_exceptionable, {
|
|
15781
16038
|
path: _path + ".nodes",
|
|
15782
16039
|
expected: "Array<NodeContent>",
|
|
15783
16040
|
value: input.nodes
|
|
15784
|
-
})) && input.nodes.map((elem,
|
|
15785
|
-
path: _path + ".nodes[" +
|
|
15786
|
-
expected: "(CommentNodeContent | EventNodeContent | HeadingNodeContent | HorizontalRuleContent | ListItemNodeContent | ListNodeContent | ParagraphNodeContent | QuoteNodeContent
|
|
16041
|
+
})) && input.nodes.map((elem, _index10) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
16042
|
+
path: _path + ".nodes[" + _index10 + "]",
|
|
16043
|
+
expected: "(CommentNodeContent | EventNodeContent | FormattedTextNodeContent | HeadingNodeContent | HorizontalRuleContent | LinkNodeContent | ListItemNodeContent | ListNodeContent | ParagraphNodeContent | QuoteNodeContent)",
|
|
15787
16044
|
value: elem
|
|
15788
|
-
})) && _vu0(elem, _path + ".nodes[" +
|
|
15789
|
-
path: _path + ".nodes[" +
|
|
15790
|
-
expected: "(CommentNodeContent | EventNodeContent | HeadingNodeContent | HorizontalRuleContent | ListItemNodeContent | ListNodeContent | ParagraphNodeContent | QuoteNodeContent
|
|
16045
|
+
})) && _vu0(elem, _path + ".nodes[" + _index10 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16046
|
+
path: _path + ".nodes[" + _index10 + "]",
|
|
16047
|
+
expected: "(CommentNodeContent | EventNodeContent | FormattedTextNodeContent | HeadingNodeContent | HorizontalRuleContent | LinkNodeContent | ListItemNodeContent | ListNodeContent | ParagraphNodeContent | QuoteNodeContent)",
|
|
15791
16048
|
value: elem
|
|
15792
16049
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
15793
16050
|
path: _path + ".nodes",
|
|
@@ -15805,25 +16062,25 @@ function _validateDomainRecord(domain, input) {
|
|
|
15805
16062
|
path: _path + ".mixin",
|
|
15806
16063
|
expected: "string",
|
|
15807
16064
|
value: input.mixin
|
|
15808
|
-
}), (Array.isArray(input.children) || _report(_exceptionable, {
|
|
16065
|
+
}), undefined === input.children || (Array.isArray(input.children) || _report(_exceptionable, {
|
|
15809
16066
|
path: _path + ".children",
|
|
15810
|
-
expected: "Array<EventNodeContent>",
|
|
16067
|
+
expected: "(Array<EventNodeContent> | undefined)",
|
|
15811
16068
|
value: input.children
|
|
15812
|
-
})) && input.children.map((elem,
|
|
15813
|
-
path: _path + ".children[" +
|
|
16069
|
+
})) && input.children.map((elem, _index11) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
16070
|
+
path: _path + ".children[" + _index11 + "]",
|
|
15814
16071
|
expected: "EventNodeContent",
|
|
15815
16072
|
value: elem
|
|
15816
|
-
})) && _vo1(elem, _path + ".children[" +
|
|
15817
|
-
path: _path + ".children[" +
|
|
16073
|
+
})) && _vo1(elem, _path + ".children[" + _index11 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16074
|
+
path: _path + ".children[" + _index11 + "]",
|
|
15818
16075
|
expected: "EventNodeContent",
|
|
15819
16076
|
value: elem
|
|
15820
16077
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
15821
16078
|
path: _path + ".children",
|
|
15822
|
-
expected: "Array<EventNodeContent>",
|
|
16079
|
+
expected: "(Array<EventNodeContent> | undefined)",
|
|
15823
16080
|
value: input.children
|
|
15824
|
-
})].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => ["
|
|
16081
|
+
})].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => ["text" === input.type || _report(_exceptionable, {
|
|
15825
16082
|
path: _path + ".type",
|
|
15826
|
-
expected: "
|
|
16083
|
+
expected: "\"text\"",
|
|
15827
16084
|
value: input.type
|
|
15828
16085
|
}), "string" === typeof input.text || _report(_exceptionable, {
|
|
15829
16086
|
path: _path + ".text",
|
|
@@ -15837,7 +16094,27 @@ function _validateDomainRecord(domain, input) {
|
|
|
15837
16094
|
path: _path + ".format",
|
|
15838
16095
|
expected: "(number | undefined)",
|
|
15839
16096
|
value: input.format
|
|
15840
|
-
})].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => ["
|
|
16097
|
+
})].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => ["link" === input.type || "autolink" === input.type || _report(_exceptionable, {
|
|
16098
|
+
path: _path + ".type",
|
|
16099
|
+
expected: "(\"autolink\" | \"link\")",
|
|
16100
|
+
value: input.type
|
|
16101
|
+
}), (Array.isArray(input.children) || _report(_exceptionable, {
|
|
16102
|
+
path: _path + ".children",
|
|
16103
|
+
expected: "Array<FormattedTextNodeContent>",
|
|
16104
|
+
value: input.children
|
|
16105
|
+
})) && input.children.map((elem, _index12) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
16106
|
+
path: _path + ".children[" + _index12 + "]",
|
|
16107
|
+
expected: "FormattedTextNodeContent",
|
|
16108
|
+
value: elem
|
|
16109
|
+
})) && _vo2(elem, _path + ".children[" + _index12 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16110
|
+
path: _path + ".children[" + _index12 + "]",
|
|
16111
|
+
expected: "FormattedTextNodeContent",
|
|
16112
|
+
value: elem
|
|
16113
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
16114
|
+
path: _path + ".children",
|
|
16115
|
+
expected: "Array<FormattedTextNodeContent>",
|
|
16116
|
+
value: input.children
|
|
16117
|
+
})].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => ["listitem" === input.type || _report(_exceptionable, {
|
|
15841
16118
|
path: _path + ".type",
|
|
15842
16119
|
expected: "\"listitem\"",
|
|
15843
16120
|
value: input.type
|
|
@@ -15853,19 +16130,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
15853
16130
|
path: _path + ".children",
|
|
15854
16131
|
expected: "Array<TextNodeContent>",
|
|
15855
16132
|
value: input.children
|
|
15856
|
-
})) && input.children.map((elem,
|
|
15857
|
-
path: _path + ".children[" +
|
|
15858
|
-
expected: "
|
|
16133
|
+
})) && input.children.map((elem, _index13) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
16134
|
+
path: _path + ".children[" + _index13 + "]",
|
|
16135
|
+
expected: "(FormattedTextNodeContent | LinkNodeContent)",
|
|
15859
16136
|
value: elem
|
|
15860
|
-
})) &&
|
|
15861
|
-
path: _path + ".children[" +
|
|
15862
|
-
expected: "
|
|
16137
|
+
})) && _vu1(elem, _path + ".children[" + _index13 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16138
|
+
path: _path + ".children[" + _index13 + "]",
|
|
16139
|
+
expected: "(FormattedTextNodeContent | LinkNodeContent)",
|
|
15863
16140
|
value: elem
|
|
15864
16141
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
15865
16142
|
path: _path + ".children",
|
|
15866
16143
|
expected: "Array<TextNodeContent>",
|
|
15867
16144
|
value: input.children
|
|
15868
|
-
})].every(flag => flag); const
|
|
16145
|
+
})].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => ["list" === input.type || _report(_exceptionable, {
|
|
15869
16146
|
path: _path + ".type",
|
|
15870
16147
|
expected: "\"list\"",
|
|
15871
16148
|
value: input.type
|
|
@@ -15881,19 +16158,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
15881
16158
|
path: _path + ".children",
|
|
15882
16159
|
expected: "Array<ListItemNodeContent>",
|
|
15883
16160
|
value: input.children
|
|
15884
|
-
})) && input.children.map((elem,
|
|
15885
|
-
path: _path + ".children[" +
|
|
16161
|
+
})) && input.children.map((elem, _index14) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
16162
|
+
path: _path + ".children[" + _index14 + "]",
|
|
15886
16163
|
expected: "ListItemNodeContent",
|
|
15887
16164
|
value: elem
|
|
15888
|
-
})) &&
|
|
15889
|
-
path: _path + ".children[" +
|
|
16165
|
+
})) && _vo4(elem, _path + ".children[" + _index14 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16166
|
+
path: _path + ".children[" + _index14 + "]",
|
|
15890
16167
|
expected: "ListItemNodeContent",
|
|
15891
16168
|
value: elem
|
|
15892
16169
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
15893
16170
|
path: _path + ".children",
|
|
15894
16171
|
expected: "Array<ListItemNodeContent>",
|
|
15895
16172
|
value: input.children
|
|
15896
|
-
})].every(flag => flag); const
|
|
16173
|
+
})].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["paragraph" === input.type || _report(_exceptionable, {
|
|
15897
16174
|
path: _path + ".type",
|
|
15898
16175
|
expected: "\"paragraph\"",
|
|
15899
16176
|
value: input.type
|
|
@@ -15901,19 +16178,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
15901
16178
|
path: _path + ".children",
|
|
15902
16179
|
expected: "Array<TextNodeContent>",
|
|
15903
16180
|
value: input.children
|
|
15904
|
-
})) && input.children.map((elem,
|
|
15905
|
-
path: _path + ".children[" +
|
|
15906
|
-
expected: "
|
|
16181
|
+
})) && input.children.map((elem, _index15) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
16182
|
+
path: _path + ".children[" + _index15 + "]",
|
|
16183
|
+
expected: "(FormattedTextNodeContent | LinkNodeContent)",
|
|
15907
16184
|
value: elem
|
|
15908
|
-
})) &&
|
|
15909
|
-
path: _path + ".children[" +
|
|
15910
|
-
expected: "
|
|
16185
|
+
})) && _vu1(elem, _path + ".children[" + _index15 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16186
|
+
path: _path + ".children[" + _index15 + "]",
|
|
16187
|
+
expected: "(FormattedTextNodeContent | LinkNodeContent)",
|
|
15911
16188
|
value: elem
|
|
15912
16189
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
15913
16190
|
path: _path + ".children",
|
|
15914
16191
|
expected: "Array<TextNodeContent>",
|
|
15915
16192
|
value: input.children
|
|
15916
|
-
})].every(flag => flag); const
|
|
16193
|
+
})].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => ["comment" === input.type || _report(_exceptionable, {
|
|
15917
16194
|
path: _path + ".type",
|
|
15918
16195
|
expected: "\"comment\"",
|
|
15919
16196
|
value: input.type
|
|
@@ -15921,19 +16198,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
15921
16198
|
path: _path + ".children",
|
|
15922
16199
|
expected: "Array<TextNodeContent>",
|
|
15923
16200
|
value: input.children
|
|
15924
|
-
})) && input.children.map((elem,
|
|
15925
|
-
path: _path + ".children[" +
|
|
15926
|
-
expected: "
|
|
16201
|
+
})) && input.children.map((elem, _index16) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
16202
|
+
path: _path + ".children[" + _index16 + "]",
|
|
16203
|
+
expected: "(FormattedTextNodeContent | LinkNodeContent)",
|
|
15927
16204
|
value: elem
|
|
15928
|
-
})) &&
|
|
15929
|
-
path: _path + ".children[" +
|
|
15930
|
-
expected: "
|
|
16205
|
+
})) && _vu1(elem, _path + ".children[" + _index16 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16206
|
+
path: _path + ".children[" + _index16 + "]",
|
|
16207
|
+
expected: "(FormattedTextNodeContent | LinkNodeContent)",
|
|
15931
16208
|
value: elem
|
|
15932
16209
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
15933
16210
|
path: _path + ".children",
|
|
15934
16211
|
expected: "Array<TextNodeContent>",
|
|
15935
16212
|
value: input.children
|
|
15936
|
-
})].every(flag => flag); const
|
|
16213
|
+
})].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => ["heading" === input.type || _report(_exceptionable, {
|
|
15937
16214
|
path: _path + ".type",
|
|
15938
16215
|
expected: "\"heading\"",
|
|
15939
16216
|
value: input.type
|
|
@@ -15945,19 +16222,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
15945
16222
|
path: _path + ".children",
|
|
15946
16223
|
expected: "Array<TextNodeContent>",
|
|
15947
16224
|
value: input.children
|
|
15948
|
-
})) && input.children.map((elem,
|
|
15949
|
-
path: _path + ".children[" +
|
|
15950
|
-
expected: "
|
|
16225
|
+
})) && input.children.map((elem, _index17) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
16226
|
+
path: _path + ".children[" + _index17 + "]",
|
|
16227
|
+
expected: "(FormattedTextNodeContent | LinkNodeContent)",
|
|
15951
16228
|
value: elem
|
|
15952
|
-
})) &&
|
|
15953
|
-
path: _path + ".children[" +
|
|
15954
|
-
expected: "
|
|
16229
|
+
})) && _vu1(elem, _path + ".children[" + _index17 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16230
|
+
path: _path + ".children[" + _index17 + "]",
|
|
16231
|
+
expected: "(FormattedTextNodeContent | LinkNodeContent)",
|
|
15955
16232
|
value: elem
|
|
15956
16233
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
15957
16234
|
path: _path + ".children",
|
|
15958
16235
|
expected: "Array<TextNodeContent>",
|
|
15959
16236
|
value: input.children
|
|
15960
|
-
})].every(flag => flag); const
|
|
16237
|
+
})].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => ["quote" === input.type || _report(_exceptionable, {
|
|
15961
16238
|
path: _path + ".type",
|
|
15962
16239
|
expected: "\"quote\"",
|
|
15963
16240
|
value: input.type
|
|
@@ -15965,45 +16242,58 @@ function _validateDomainRecord(domain, input) {
|
|
|
15965
16242
|
path: _path + ".children",
|
|
15966
16243
|
expected: "Array<TextNodeContent>",
|
|
15967
16244
|
value: input.children
|
|
15968
|
-
})) && input.children.map((elem,
|
|
15969
|
-
path: _path + ".children[" +
|
|
15970
|
-
expected: "
|
|
16245
|
+
})) && input.children.map((elem, _index18) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
16246
|
+
path: _path + ".children[" + _index18 + "]",
|
|
16247
|
+
expected: "(FormattedTextNodeContent | LinkNodeContent)",
|
|
15971
16248
|
value: elem
|
|
15972
|
-
})) &&
|
|
15973
|
-
path: _path + ".children[" +
|
|
15974
|
-
expected: "
|
|
16249
|
+
})) && _vu1(elem, _path + ".children[" + _index18 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16250
|
+
path: _path + ".children[" + _index18 + "]",
|
|
16251
|
+
expected: "(FormattedTextNodeContent | LinkNodeContent)",
|
|
15975
16252
|
value: elem
|
|
15976
16253
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
15977
16254
|
path: _path + ".children",
|
|
15978
16255
|
expected: "Array<TextNodeContent>",
|
|
15979
16256
|
value: input.children
|
|
15980
|
-
})].every(flag => flag); const
|
|
16257
|
+
})].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => ["horizontalrule" === input.type || _report(_exceptionable, {
|
|
15981
16258
|
path: _path + ".type",
|
|
15982
16259
|
expected: "\"horizontalrule\"",
|
|
15983
16260
|
value: input.type
|
|
15984
16261
|
})].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
15985
16262
|
if ("event" === input.type)
|
|
15986
16263
|
return _vo1(input, _path, true && _exceptionable);
|
|
15987
|
-
else if ("
|
|
16264
|
+
else if ("text" === input.type)
|
|
15988
16265
|
return _vo2(input, _path, true && _exceptionable);
|
|
15989
|
-
else if ("
|
|
16266
|
+
else if ("link" === input.type || "autolink" === input.type)
|
|
15990
16267
|
return _vo3(input, _path, true && _exceptionable);
|
|
15991
|
-
else if ("
|
|
16268
|
+
else if ("listitem" === input.type)
|
|
15992
16269
|
return _vo4(input, _path, true && _exceptionable);
|
|
16270
|
+
else if ("list" === input.type)
|
|
16271
|
+
return _vo5(input, _path, true && _exceptionable);
|
|
15993
16272
|
else if ("quote" === input.type)
|
|
15994
|
-
return
|
|
16273
|
+
return _vo9(input, _path, true && _exceptionable);
|
|
15995
16274
|
else if ("comment" === input.type)
|
|
15996
|
-
return
|
|
16275
|
+
return _vo7(input, _path, true && _exceptionable);
|
|
15997
16276
|
else if ("paragraph" === input.type)
|
|
15998
|
-
return
|
|
16277
|
+
return _vo6(input, _path, true && _exceptionable);
|
|
15999
16278
|
else if ("heading" === input.type)
|
|
16000
|
-
return
|
|
16279
|
+
return _vo8(input, _path, true && _exceptionable);
|
|
16001
16280
|
else if ("horizontalrule" === input.type)
|
|
16002
|
-
return
|
|
16281
|
+
return _vo10(input, _path, true && _exceptionable);
|
|
16003
16282
|
else
|
|
16004
16283
|
return _report(_exceptionable, {
|
|
16005
16284
|
path: _path,
|
|
16006
|
-
expected: "(EventNodeContent |
|
|
16285
|
+
expected: "(EventNodeContent | FormattedTextNodeContent | LinkNodeContent | ListItemNodeContent | ListNodeContent | QuoteNodeContent | CommentNodeContent | ParagraphNodeContent | HeadingNodeContent | HorizontalRuleContent)",
|
|
16286
|
+
value: input
|
|
16287
|
+
});
|
|
16288
|
+
})(); const _vu1 = (input, _path, _exceptionable = true) => (() => {
|
|
16289
|
+
if ("text" === input.type)
|
|
16290
|
+
return _vo2(input, _path, true && _exceptionable);
|
|
16291
|
+
else if ("link" === input.type || "autolink" === input.type)
|
|
16292
|
+
return _vo3(input, _path, true && _exceptionable);
|
|
16293
|
+
else
|
|
16294
|
+
return _report(_exceptionable, {
|
|
16295
|
+
path: _path,
|
|
16296
|
+
expected: "(FormattedTextNodeContent | LinkNodeContent)",
|
|
16007
16297
|
value: input
|
|
16008
16298
|
});
|
|
16009
16299
|
})(); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
|
|
@@ -16410,84 +16700,84 @@ function _validateDomainRecord(domain, input) {
|
|
|
16410
16700
|
}; })()(input);
|
|
16411
16701
|
}
|
|
16412
16702
|
case ":settings": {
|
|
16413
|
-
return (() => { const
|
|
16703
|
+
return (() => { const _iv23 = new Set(["name", "fontname", "fontsize", "primaryColour", "secondaryColour", "outlineColour", "backColour", "bold", "italic", "underline", "strikeOut", "scaleX", "scaleY", "spacing", "lineSpacing", "angle", "borderStyle", "outline", "shadow", "alignment", "marginL", "marginR", "marginV", "encoding"]); const _iv28 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]); const _vv57 = new Set(["name", "fontname", "fontsize", "primaryColour", "secondaryColour", "outlineColour", "backColour", "bold", "italic", "underline", "strikeOut", "scaleX", "scaleY", "spacing", "lineSpacing", "angle", "borderStyle", "outline", "shadow", "alignment", "marginL", "marginR", "marginV", "encoding"]); const _vv62 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]); const _io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime) && (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && _io1(input.permission)) && (undefined === input["module"] || "object" === typeof input["module"] && null !== input["module"] && false === Array.isArray(input["module"]) && _io2(input["module"])) && (undefined === input.upload || "object" === typeof input.upload && null !== input.upload && false === Array.isArray(input.upload) && _io6(input.upload)) && (undefined === input.download || "object" === typeof input.download && null !== input.download && false === Array.isArray(input.download) && _io7(input.download)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && _io8(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && _io12(input.toolbarTags)) && (undefined === input.exclusiveTagGroups || Array.isArray(input.exclusiveTagGroups) && input.exclusiveTagGroups.every(elem => Array.isArray(elem) && elem.every(elem => "string" === typeof elem))) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && _io13(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && _io14(input.assignees)) && (undefined === input.comments || "object" === typeof input.comments && null !== input.comments && false === Array.isArray(input.comments) && _io15(input.comments)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && _io16(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && _io17(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && _io18(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && _io20(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io26(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && _io29(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && _io30(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.keymap || "object" === typeof input.keymap && null !== input.keymap && false === Array.isArray(input.keymap) && _io31(input.keymap)) && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && _io44(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && _io57(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io61(elem))) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && _io62(input.storyboard)) && (undefined === input.print || "object" === typeof input.print && null !== input.print && false === Array.isArray(input.print) && _io71(input.print)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io72(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && _io73(input.plugins)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen) && (undefined === input.debug || "boolean" === typeof input.debug) && (undefined === input.featurePreview || "object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) && _io76(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && _io77(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && _io78(input.notifications)) && (undefined === input.suppressDeleteAlert || "boolean" === typeof input.suppressDeleteAlert) && (undefined === input.clone || "object" === typeof input.clone && null !== input.clone && false === Array.isArray(input.clone) && _io81(input.clone)) && (undefined === input.utilsAssetEditorPanel || "object" === typeof input.utilsAssetEditorPanel && null !== input.utilsAssetEditorPanel && false === Array.isArray(input.utilsAssetEditorPanel) && _io84(input.utilsAssetEditorPanel)) && (undefined === input.display || "object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) && _io85(input.display)) && (undefined === input.bookmarks || "object" === typeof input.bookmarks && null !== input.bookmarks && false === Array.isArray(input.bookmarks) && _io86(input.bookmarks)) && (undefined === input.shotbox || "object" === typeof input.shotbox && null !== input.shotbox && false === Array.isArray(input.shotbox) && _io87(input.shotbox)); const _io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin); const _io2 = input => (undefined === input.editor || "string" === typeof input.editor) && (undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && _io3(input.tabs)); const _io3 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && _io4(input.settingsPanelStore)) && Object.keys(input).every(key => {
|
|
16414
16704
|
if (["settingsPanelStore"].some(prop => key === prop))
|
|
16415
16705
|
return true;
|
|
16416
16706
|
const value = input[key];
|
|
16417
16707
|
if (undefined === value)
|
|
16418
16708
|
return true;
|
|
16419
16709
|
return undefined === value || "object" === typeof value && null !== value && false === Array.isArray(value) && _io5(value);
|
|
16420
|
-
}); const _io4 = input => (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex) && (null === input.activeTab || undefined === input.activeTab || "string" === typeof input.activeTab) && (undefined === input.priority || "number" === typeof input.priority) && (null === input.height || undefined === input.height || "number" === typeof input.height); const _io5 = input => (null === input.activeTab || undefined === input.activeTab || "string" === typeof input.activeTab) && (undefined === input.priority || "number" === typeof input.priority) && (null === input.height || undefined === input.height || "number" === typeof input.height); const _io6 = input => (undefined === input.defaultGrouping || "" === input.defaultGrouping || "collection" === input.defaultGrouping || "stitch" === input.defaultGrouping) && (undefined === input.hideStoryboardCollection || "boolean" === typeof input.hideStoryboardCollection) && (undefined === input.displayUploadFilesDialog || "always" === input.displayUploadFilesDialog || "never" === input.displayUploadFilesDialog || "ifMultipleFiles" === input.displayUploadFilesDialog); const _io7 = input => (undefined === input.displaySaveDialog || "boolean" === typeof input.displaySaveDialog) && (undefined === input.batchDownloadDialogMode || "file" === input.batchDownloadDialogMode || "directory" === input.batchDownloadDialogMode); const _io8 = input => (undefined === input.map || "object" === typeof input.map && null !== input.map && false === Array.isArray(input.map) && _io9(input.map)) && (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && _io11(input.createMenu)); const _io9 = input => (undefined === input.clustering || "boolean" === typeof input.clustering) && (undefined === input.zoom || "number" === typeof input.zoom) && (undefined === input.center || "object" === typeof input.center && null !== input.center && false === Array.isArray(input.center) && _io10(input.center)); const _io10 = input => (undefined === input.lat || "number" === typeof input.lat) && (undefined === input.lon || "number" === typeof input.lon); const _io11 = input => undefined === input.sortOrder || Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem); const _io12 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io13 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io14 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io15 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io16 = input => (undefined === input.enable || "boolean" === typeof input.enable) && (undefined === input.show24Hours || "boolean" === typeof input.show24Hours) && (undefined === input.showAmPm || "boolean" === typeof input.showAmPm) && (undefined === input.showSeconds || "boolean" === typeof input.showSeconds) && (undefined === input.showDayOfWeek || "boolean" === typeof input.showDayOfWeek) && (undefined === input.showDate || "boolean" === typeof input.showDate) && (undefined === input.format || "string" === typeof input.format); const _io17 = input => (undefined === input.color || "string" === typeof input.color) && (undefined === input.name || "string" === typeof input.name); const _io18 = input => (undefined === input.maxMru || "number" === typeof input.maxMru) && (undefined === input.maxTabs || "number" === typeof input.maxTabs) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) && _io19(input.layout)); const _io19 = input => (undefined === input.bookmarks || "number" === typeof input.bookmarks) && (undefined === input.browser || "number" === typeof input.browser); const _io20 = input => (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && _io21(input.createMenu)) && (undefined === input.colorTags || Array.isArray(input.colorTags) && input.colorTags.every(elem => "object" === typeof elem && null !== elem && _io22(elem))) && (undefined === input.readType || "characters" === input.readType || "words" === input.readType || "wordsPerMinute" === input.readType) && (undefined === input.readRate || "number" === typeof input.readRate) && (undefined === input.collapsedNodes || "object" === typeof input.collapsedNodes && null !== input.collapsedNodes && false === Array.isArray(input.collapsedNodes) && _io23(input.collapsedNodes)); const _io21 = input => (undefined === input.sortBy || "index" === input.sortBy || "title" === input.sortBy) && (undefined === input.showPreview || "boolean" === typeof input.showPreview); const _io22 = input => (null === input.name || "string" === typeof input.name) && (null === input.icon || "string" === typeof input.icon) && (null === input.color || "string" === typeof input.color) && (null === input.description || "string" === typeof input.description); const _io23 = input => Object.keys(input).every(key => {
|
|
16710
|
+
}); const _io4 = input => (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex) && (null === input.activeTab || undefined === input.activeTab || "string" === typeof input.activeTab) && (undefined === input.priority || "number" === typeof input.priority) && (null === input.height || undefined === input.height || "number" === typeof input.height); const _io5 = input => (null === input.activeTab || undefined === input.activeTab || "string" === typeof input.activeTab) && (undefined === input.priority || "number" === typeof input.priority) && (null === input.height || undefined === input.height || "number" === typeof input.height); const _io6 = input => (undefined === input.defaultGrouping || "" === input.defaultGrouping || "collection" === input.defaultGrouping || "stitch" === input.defaultGrouping) && (undefined === input.hideStoryboardCollection || "boolean" === typeof input.hideStoryboardCollection) && (undefined === input.displayUploadFilesDialog || "always" === input.displayUploadFilesDialog || "never" === input.displayUploadFilesDialog || "ifMultipleFiles" === input.displayUploadFilesDialog); const _io7 = input => (undefined === input.displaySaveDialog || "boolean" === typeof input.displaySaveDialog) && (undefined === input.batchDownloadDialogMode || "file" === input.batchDownloadDialogMode || "directory" === input.batchDownloadDialogMode); const _io8 = input => (undefined === input.map || "object" === typeof input.map && null !== input.map && false === Array.isArray(input.map) && _io9(input.map)) && (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && _io11(input.createMenu)); const _io9 = input => (undefined === input.clustering || "boolean" === typeof input.clustering) && (undefined === input.zoom || "number" === typeof input.zoom) && (undefined === input.center || "object" === typeof input.center && null !== input.center && false === Array.isArray(input.center) && _io10(input.center)); const _io10 = input => (undefined === input.lat || "number" === typeof input.lat) && (undefined === input.lon || "number" === typeof input.lon); const _io11 = input => undefined === input.sortOrder || Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem); const _io12 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io13 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io14 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io15 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io16 = input => (undefined === input.enable || "boolean" === typeof input.enable) && (undefined === input.show24Hours || "boolean" === typeof input.show24Hours) && (undefined === input.showAmPm || "boolean" === typeof input.showAmPm) && (undefined === input.showSeconds || "boolean" === typeof input.showSeconds) && (undefined === input.showDayOfWeek || "boolean" === typeof input.showDayOfWeek) && (undefined === input.showDate || "boolean" === typeof input.showDate) && (undefined === input.format || "string" === typeof input.format); const _io17 = input => (undefined === input.color || "string" === typeof input.color) && (undefined === input.name || "string" === typeof input.name); const _io18 = input => (undefined === input.maxMru || "number" === typeof input.maxMru) && (undefined === input.maxTabs || "number" === typeof input.maxTabs) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) && _io19(input.layout)); const _io19 = input => (undefined === input.bookmarks || "number" === typeof input.bookmarks) && (undefined === input.browser || "number" === typeof input.browser); const _io20 = input => (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && _io21(input.createMenu)) && (undefined === input.colorTags || Array.isArray(input.colorTags) && input.colorTags.every(elem => "object" === typeof elem && null !== elem && _io22(elem))) && (undefined === input.readType || "characters" === input.readType || "words" === input.readType || "wordsPerMinute" === input.readType) && (undefined === input.readRate || "number" === typeof input.readRate) && (undefined === input.collapsedNodes || "object" === typeof input.collapsedNodes && null !== input.collapsedNodes && false === Array.isArray(input.collapsedNodes) && _io23(input.collapsedNodes)) && (undefined === input.colorHistory || Array.isArray(input.colorHistory) && input.colorHistory.every(elem => "object" === typeof elem && null !== elem && _io25(elem))); const _io21 = input => (undefined === input.sortBy || "index" === input.sortBy || "title" === input.sortBy) && (undefined === input.showPreview || "boolean" === typeof input.showPreview); const _io22 = input => (null === input.name || "string" === typeof input.name) && (null === input.icon || "string" === typeof input.icon) && (null === input.color || "string" === typeof input.color) && (null === input.description || "string" === typeof input.description); const _io23 = input => Object.keys(input).every(key => {
|
|
16421
16711
|
const value = input[key];
|
|
16422
16712
|
if (undefined === value)
|
|
16423
16713
|
return true;
|
|
16424
16714
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io24(value);
|
|
16425
|
-
}); const _io24 = input => (undefined === input.preview || "boolean" === typeof input.preview) && (undefined === input.children || "boolean" === typeof input.children); const _io25 = input => (undefined === input.graphicBaseTemplate || "string" === typeof input.graphicBaseTemplate) && (undefined === input.favorites || Array.isArray(input.favorites) && input.favorites.every(elem => "string" === typeof elem)) && (undefined === input.defaults || "object" === typeof input.defaults && null !== input.defaults && false === Array.isArray(input.defaults) &&
|
|
16715
|
+
}); const _io24 = input => (undefined === input.preview || "boolean" === typeof input.preview) && (undefined === input.children || "boolean" === typeof input.children); const _io25 = input => (null === input.color || "string" === typeof input.color) && (null === input.backgroundColor || "string" === typeof input.backgroundColor); const _io26 = input => (undefined === input.graphicBaseTemplate || "string" === typeof input.graphicBaseTemplate) && (undefined === input.favorites || Array.isArray(input.favorites) && input.favorites.every(elem => "string" === typeof elem)) && (undefined === input.defaults || "object" === typeof input.defaults && null !== input.defaults && false === Array.isArray(input.defaults) && _io27(input.defaults)); const _io27 = input => Object.keys(input).every(key => {
|
|
16426
16716
|
const value = input[key];
|
|
16427
16717
|
if (undefined === value)
|
|
16428
16718
|
return true;
|
|
16429
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
16430
|
-
}); const
|
|
16719
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io28(value);
|
|
16720
|
+
}); const _io28 = input => (undefined === input.event || "string" === typeof input.event) && (undefined === input.property || "string" === typeof input.property); const _io29 = input => (undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails) && ("folded" === input.scriptEventFolding || "unfoldedUntilFolded" === input.scriptEventFolding); const _io30 = 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 _io31 = input => (undefined === input.display || "object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) && _io32(input.display)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && _io34(input.browser)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && _io35(input.gallery)) && (undefined === input.global || "object" === typeof input.global && null !== input.global && false === Array.isArray(input.global) && _io36(input.global)) && (undefined === input.player || "object" === typeof input.player && null !== input.player && false === Array.isArray(input.player) && _io37(input.player)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && _io38(input.script)) && (undefined === input.codeEditor || "object" === typeof input.codeEditor && null !== input.codeEditor && false === Array.isArray(input.codeEditor) && _io39(input.codeEditor)) && (undefined === input.bookmarks || "object" === typeof input.bookmarks && null !== input.bookmarks && false === Array.isArray(input.bookmarks) && _io40(input.bookmarks)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && _io41(input.edit)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && _io42(input.rundown)) && (undefined === input.segment || "object" === typeof input.segment && null !== input.segment && false === Array.isArray(input.segment) && _io43(input.segment)); const _io32 = input => Object.keys(input).every(key => {
|
|
16431
16721
|
const value = input[key];
|
|
16432
16722
|
if (undefined === value)
|
|
16433
16723
|
return true;
|
|
16434
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
16435
|
-
}); const
|
|
16724
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
16725
|
+
}); const _io33 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.sequence || "string" === typeof input.sequence); const _io34 = input => Object.keys(input).every(key => {
|
|
16436
16726
|
const value = input[key];
|
|
16437
16727
|
if (undefined === value)
|
|
16438
16728
|
return true;
|
|
16439
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
16440
|
-
}); const _io34 = input => Object.keys(input).every(key => {
|
|
16441
|
-
const value = input[key];
|
|
16442
|
-
if (undefined === value)
|
|
16443
|
-
return true;
|
|
16444
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io32(value);
|
|
16729
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
16445
16730
|
}); const _io35 = input => Object.keys(input).every(key => {
|
|
16446
16731
|
const value = input[key];
|
|
16447
16732
|
if (undefined === value)
|
|
16448
16733
|
return true;
|
|
16449
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
16734
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
16450
16735
|
}); const _io36 = input => Object.keys(input).every(key => {
|
|
16451
16736
|
const value = input[key];
|
|
16452
16737
|
if (undefined === value)
|
|
16453
16738
|
return true;
|
|
16454
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
16739
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
16455
16740
|
}); const _io37 = input => Object.keys(input).every(key => {
|
|
16456
16741
|
const value = input[key];
|
|
16457
16742
|
if (undefined === value)
|
|
16458
16743
|
return true;
|
|
16459
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
16744
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
16460
16745
|
}); const _io38 = input => Object.keys(input).every(key => {
|
|
16461
16746
|
const value = input[key];
|
|
16462
16747
|
if (undefined === value)
|
|
16463
16748
|
return true;
|
|
16464
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
16749
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
16465
16750
|
}); const _io39 = input => Object.keys(input).every(key => {
|
|
16466
16751
|
const value = input[key];
|
|
16467
16752
|
if (undefined === value)
|
|
16468
16753
|
return true;
|
|
16469
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
16754
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
16470
16755
|
}); const _io40 = input => Object.keys(input).every(key => {
|
|
16471
16756
|
const value = input[key];
|
|
16472
16757
|
if (undefined === value)
|
|
16473
16758
|
return true;
|
|
16474
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
16759
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
16475
16760
|
}); const _io41 = input => Object.keys(input).every(key => {
|
|
16476
16761
|
const value = input[key];
|
|
16477
16762
|
if (undefined === value)
|
|
16478
16763
|
return true;
|
|
16479
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
16764
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
16480
16765
|
}); const _io42 = input => Object.keys(input).every(key => {
|
|
16481
16766
|
const value = input[key];
|
|
16482
16767
|
if (undefined === value)
|
|
16483
16768
|
return true;
|
|
16484
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
16485
|
-
}); const _io43 = input => (undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && _io44(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) && _io45(input.tile)) && (undefined === input.timecodeReference || "string" === typeof 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) && _io46(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) && _io49(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && _io50(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io51(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && _io55(input.openCommand))); const _io44 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe); const _io45 = 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 _io46 = 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) && _io47(elem))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io48(elem))) && (undefined === input.overridableProperties || Array.isArray(input.overridableProperties) && input.overridableProperties.every(elem => null === elem || true === _iv22.has(elem))); const _io47 = 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 _io48 = input => (null === input.label || undefined === input.label || "string" === typeof input.label) && (null === input.color || undefined === input.color || "string" === typeof input.color); const _io49 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.aspectRatio || "string" === typeof input.aspectRatio); const _io50 = 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 _io51 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && _io52(input.subtitleDisclaimer); const _io52 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && _io53(input.defaultValue)); const _io53 = 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) && _io54(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration); const _io54 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.value || "string" === typeof input.value); const _io55 = 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 _io56 = input => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && (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 _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.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 === _iv27.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); const _io71 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.folded || "boolean" === typeof input.folded); const _io72 = input => (undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && _io73(input.adobe)) && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && _io74(input.rive)); const _io73 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies; const _io74 = input => undefined === input.template || "string" === typeof input.template; const _io75 = input => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering); const _io76 = 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.multiplexWebSockets || "boolean" === typeof input.multiplexWebSockets) && (undefined === input.systemHealth || "boolean" === typeof input.systemHealth); const _io77 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io78(input.events); const _io78 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && _io79(input.publishSucceeded)); const _io79 = input => Object.keys(input).every(key => {
|
|
16769
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
16770
|
+
}); const _io43 = input => Object.keys(input).every(key => {
|
|
16771
|
+
const value = input[key];
|
|
16772
|
+
if (undefined === value)
|
|
16773
|
+
return true;
|
|
16774
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
16775
|
+
}); const _io44 = input => (undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && _io45(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) && _io46(input.tile)) && (undefined === input.timecodeReference || "string" === typeof 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) && _io47(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) && _io50(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && _io51(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io52(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && _io56(input.openCommand))); const _io45 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe); const _io46 = 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 _io47 = 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) && _io48(elem))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io49(elem))) && (undefined === input.overridableProperties || Array.isArray(input.overridableProperties) && input.overridableProperties.every(elem => null === elem || true === _iv23.has(elem))) && (undefined === input.previewResolutionScale || "number" === typeof input.previewResolutionScale); const _io48 = 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 _io49 = input => (null === input.label || undefined === input.label || "string" === typeof input.label) && (null === input.color || undefined === input.color || "string" === typeof input.color); const _io50 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.aspectRatio || "string" === typeof input.aspectRatio); const _io51 = 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 _io52 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && _io53(input.subtitleDisclaimer); const _io53 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && _io54(input.defaultValue)); const _io54 = 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) && _io55(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration); const _io55 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.value || "string" === typeof input.value); const _io56 = 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 _io57 = input => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && (undefined === input.normalize || "object" === typeof input.normalize && null !== input.normalize && false === Array.isArray(input.normalize) && _io58(input.normalize)) && (undefined === input.voiceOver || "object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) && _io60(input.voiceOver)); const _io58 = input => (undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _io59(elem))) && (undefined === input.defaultPresetId || "string" === typeof input.defaultPresetId); const _io59 = input => "string" === typeof input.id && "string" === typeof input.title && "number" === typeof input.i && "number" === typeof input.tp; const _io60 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.backgroundReductionDb || "number" === typeof input.backgroundReductionDb) && (undefined === input.recordMode || "instant" === input.recordMode || "punchAndRoll" === input.recordMode) && (undefined === input.preRollDuration || "number" === typeof input.preRollDuration); const _io61 = 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 _io62 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && _io63(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && _io64(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && _io68(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && _io70(input.item)); const _io63 = input => undefined === input.auto || "boolean" === typeof input.auto; const _io64 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && _io65(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && _io67(input.note)); const _io65 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && _io66(input.excerpt); const _io66 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode) && (undefined === input.comments || "boolean" === typeof input.comments); const _io67 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight; const _io68 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && _io69(input.search)) && (undefined === input.sortMode || true === _iv28.has(input.sortMode)); const _io69 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed; const _io70 = input => (undefined === input.maxHeight || "number" === typeof input.maxHeight) && (undefined === input.titleLines || "number" === typeof input.titleLines); const _io71 = input => undefined === input.fontFamilies || Array.isArray(input.fontFamilies) && input.fontFamilies.every(elem => "string" === typeof elem); const _io72 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.folded || "boolean" === typeof input.folded); const _io73 = input => (undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && _io74(input.adobe)) && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && _io75(input.rive)); const _io74 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies; const _io75 = input => undefined === input.template || "string" === typeof input.template; const _io76 = input => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering); const _io77 = 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.multiplexWebSockets || "boolean" === typeof input.multiplexWebSockets) && (undefined === input.systemHealth || "boolean" === typeof input.systemHealth); const _io78 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io79(input.events); const _io79 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && _io80(input.publishSucceeded)); const _io80 = input => Object.keys(input).every(key => {
|
|
16486
16776
|
const value = input[key];
|
|
16487
16777
|
if (undefined === value)
|
|
16488
16778
|
return true;
|
|
16489
16779
|
return Array.isArray(value) && value.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem);
|
|
16490
|
-
}); const
|
|
16780
|
+
}); const _io81 = input => (undefined === input.create || "object" === typeof input.create && null !== input.create && false === Array.isArray(input.create) && _io82(input.create)) && (undefined === input.duplicate || "object" === typeof input.duplicate && null !== input.duplicate && false === Array.isArray(input.duplicate) && _io83(input.duplicate)); const _io82 = input => (undefined === input.titlePrefix || "string" === typeof input.titlePrefix) && (undefined === input.titleSuffix || "string" === typeof input.titleSuffix); const _io83 = input => (undefined === input.titlePrefix || "string" === typeof input.titlePrefix) && (undefined === input.titleSuffix || "string" === typeof input.titleSuffix); const _io84 = input => (undefined === input.stateFilter || Array.isArray(input.stateFilter) && input.stateFilter.every(elem => "number" === typeof elem)) && (undefined === input.textFilter || "string" === typeof input.textFilter) && (undefined === input.showEmpty || "boolean" === typeof input.showEmpty) && (undefined === input.selectedRecord || "string" === typeof input.selectedRecord) && (undefined === input.subscribeSearchHits || "boolean" === typeof input.subscribeSearchHits) && (undefined === input.parseRegex || "boolean" === typeof input.parseRegex); const _io85 = input => undefined === input.disableHotArea || "boolean" === typeof input.disableHotArea; const _io86 = input => undefined === input.refreshInterval || "number" === typeof input.refreshInterval; const _io87 = input => undefined === input.layout || "string" === typeof input.layout; const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime || _report(_exceptionable, {
|
|
16491
16781
|
path: _path + ".autoLogoutTime",
|
|
16492
16782
|
expected: "(number | undefined)",
|
|
16493
16783
|
value: input.autoLogoutTime
|
|
@@ -16543,16 +16833,16 @@ function _validateDomainRecord(domain, input) {
|
|
|
16543
16833
|
path: _path + ".exclusiveTagGroups",
|
|
16544
16834
|
expected: "(Array<Array<string>> | undefined)",
|
|
16545
16835
|
value: input.exclusiveTagGroups
|
|
16546
|
-
})) && input.exclusiveTagGroups.map((elem,
|
|
16547
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
16836
|
+
})) && input.exclusiveTagGroups.map((elem, _index35) => (Array.isArray(elem) || _report(_exceptionable, {
|
|
16837
|
+
path: _path + ".exclusiveTagGroups[" + _index35 + "]",
|
|
16548
16838
|
expected: "Array<string>",
|
|
16549
16839
|
value: elem
|
|
16550
|
-
})) && elem.map((elem,
|
|
16551
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
16840
|
+
})) && elem.map((elem, _index36) => "string" === typeof elem || _report(_exceptionable, {
|
|
16841
|
+
path: _path + ".exclusiveTagGroups[" + _index35 + "][" + _index36 + "]",
|
|
16552
16842
|
expected: "string",
|
|
16553
16843
|
value: elem
|
|
16554
16844
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
16555
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
16845
|
+
path: _path + ".exclusiveTagGroups[" + _index35 + "]",
|
|
16556
16846
|
expected: "Array<string>",
|
|
16557
16847
|
value: elem
|
|
16558
16848
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16617,27 +16907,27 @@ function _validateDomainRecord(domain, input) {
|
|
|
16617
16907
|
value: input.script
|
|
16618
16908
|
}), undefined === input.events || ("object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) || _report(_exceptionable, {
|
|
16619
16909
|
path: _path + ".events",
|
|
16620
|
-
expected: "(__type.
|
|
16910
|
+
expected: "(__type.o21 | undefined)",
|
|
16621
16911
|
value: input.events
|
|
16622
|
-
})) &&
|
|
16912
|
+
})) && _vo26(input.events, _path + ".events", true && _exceptionable) || _report(_exceptionable, {
|
|
16623
16913
|
path: _path + ".events",
|
|
16624
|
-
expected: "(__type.
|
|
16914
|
+
expected: "(__type.o21 | undefined)",
|
|
16625
16915
|
value: input.events
|
|
16626
16916
|
}), undefined === input.rundown || ("object" === typeof input.rundown && null !== input.rundown || _report(_exceptionable, {
|
|
16627
16917
|
path: _path + ".rundown",
|
|
16628
|
-
expected: "(__type.
|
|
16918
|
+
expected: "(__type.o23 | undefined)",
|
|
16629
16919
|
value: input.rundown
|
|
16630
|
-
})) &&
|
|
16920
|
+
})) && _vo29(input.rundown, _path + ".rundown", true && _exceptionable) || _report(_exceptionable, {
|
|
16631
16921
|
path: _path + ".rundown",
|
|
16632
|
-
expected: "(__type.
|
|
16922
|
+
expected: "(__type.o23 | undefined)",
|
|
16633
16923
|
value: input.rundown
|
|
16634
16924
|
}), undefined === input.gallery || ("object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) || _report(_exceptionable, {
|
|
16635
16925
|
path: _path + ".gallery",
|
|
16636
|
-
expected: "(__type.
|
|
16926
|
+
expected: "(__type.o24 | undefined)",
|
|
16637
16927
|
value: input.gallery
|
|
16638
|
-
})) &&
|
|
16928
|
+
})) && _vo30(input.gallery, _path + ".gallery", true && _exceptionable) || _report(_exceptionable, {
|
|
16639
16929
|
path: _path + ".gallery",
|
|
16640
|
-
expected: "(__type.
|
|
16930
|
+
expected: "(__type.o24 | undefined)",
|
|
16641
16931
|
value: input.gallery
|
|
16642
16932
|
}), undefined === input.history || "boolean" === typeof input.history || _report(_exceptionable, {
|
|
16643
16933
|
path: _path + ".history",
|
|
@@ -16645,50 +16935,50 @@ function _validateDomainRecord(domain, input) {
|
|
|
16645
16935
|
value: input.history
|
|
16646
16936
|
}), undefined === input.keymap || ("object" === typeof input.keymap && null !== input.keymap && false === Array.isArray(input.keymap) || _report(_exceptionable, {
|
|
16647
16937
|
path: _path + ".keymap",
|
|
16648
|
-
expected: "(__type.
|
|
16938
|
+
expected: "(__type.o25 | undefined)",
|
|
16649
16939
|
value: input.keymap
|
|
16650
|
-
})) &&
|
|
16940
|
+
})) && _vo31(input.keymap, _path + ".keymap", true && _exceptionable) || _report(_exceptionable, {
|
|
16651
16941
|
path: _path + ".keymap",
|
|
16652
|
-
expected: "(__type.
|
|
16942
|
+
expected: "(__type.o25 | undefined)",
|
|
16653
16943
|
value: input.keymap
|
|
16654
16944
|
}), undefined === input.media || ("object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) || _report(_exceptionable, {
|
|
16655
16945
|
path: _path + ".media",
|
|
16656
|
-
expected: "(__type.
|
|
16946
|
+
expected: "(__type.o37 | undefined)",
|
|
16657
16947
|
value: input.media
|
|
16658
|
-
})) &&
|
|
16948
|
+
})) && _vo44(input.media, _path + ".media", true && _exceptionable) || _report(_exceptionable, {
|
|
16659
16949
|
path: _path + ".media",
|
|
16660
|
-
expected: "(__type.
|
|
16950
|
+
expected: "(__type.o37 | undefined)",
|
|
16661
16951
|
value: input.media
|
|
16662
16952
|
}), undefined === input.edit || ("object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) || _report(_exceptionable, {
|
|
16663
16953
|
path: _path + ".edit",
|
|
16664
|
-
expected: "(__type.
|
|
16954
|
+
expected: "(__type.o50 | undefined)",
|
|
16665
16955
|
value: input.edit
|
|
16666
|
-
})) &&
|
|
16956
|
+
})) && _vo57(input.edit, _path + ".edit", true && _exceptionable) || _report(_exceptionable, {
|
|
16667
16957
|
path: _path + ".edit",
|
|
16668
|
-
expected: "(__type.
|
|
16958
|
+
expected: "(__type.o50 | undefined)",
|
|
16669
16959
|
value: input.edit
|
|
16670
16960
|
}), undefined === input.commands || (Array.isArray(input.commands) || _report(_exceptionable, {
|
|
16671
16961
|
path: _path + ".commands",
|
|
16672
|
-
expected: "(Array<__type>.
|
|
16962
|
+
expected: "(Array<__type>.o6 | undefined)",
|
|
16673
16963
|
value: input.commands
|
|
16674
|
-
})) && input.commands.map((elem,
|
|
16675
|
-
path: _path + ".commands[" +
|
|
16676
|
-
expected: "__type.
|
|
16964
|
+
})) && input.commands.map((elem, _index37) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
16965
|
+
path: _path + ".commands[" + _index37 + "]",
|
|
16966
|
+
expected: "__type.o54",
|
|
16677
16967
|
value: elem
|
|
16678
|
-
})) &&
|
|
16679
|
-
path: _path + ".commands[" +
|
|
16680
|
-
expected: "__type.
|
|
16968
|
+
})) && _vo61(elem, _path + ".commands[" + _index37 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16969
|
+
path: _path + ".commands[" + _index37 + "]",
|
|
16970
|
+
expected: "__type.o54",
|
|
16681
16971
|
value: elem
|
|
16682
16972
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
16683
16973
|
path: _path + ".commands",
|
|
16684
|
-
expected: "(Array<__type>.
|
|
16974
|
+
expected: "(Array<__type>.o6 | undefined)",
|
|
16685
16975
|
value: input.commands
|
|
16686
16976
|
}), undefined === input.predefinedTags || (Array.isArray(input.predefinedTags) || _report(_exceptionable, {
|
|
16687
16977
|
path: _path + ".predefinedTags",
|
|
16688
16978
|
expected: "(Array<string> | undefined)",
|
|
16689
16979
|
value: input.predefinedTags
|
|
16690
|
-
})) && input.predefinedTags.map((elem,
|
|
16691
|
-
path: _path + ".predefinedTags[" +
|
|
16980
|
+
})) && input.predefinedTags.map((elem, _index38) => "string" === typeof elem || _report(_exceptionable, {
|
|
16981
|
+
path: _path + ".predefinedTags[" + _index38 + "]",
|
|
16692
16982
|
expected: "string",
|
|
16693
16983
|
value: elem
|
|
16694
16984
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16697,43 +16987,43 @@ function _validateDomainRecord(domain, input) {
|
|
|
16697
16987
|
value: input.predefinedTags
|
|
16698
16988
|
}), undefined === input.storyboard || ("object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) || _report(_exceptionable, {
|
|
16699
16989
|
path: _path + ".storyboard",
|
|
16700
|
-
expected: "(__type.
|
|
16990
|
+
expected: "(__type.o55 | undefined)",
|
|
16701
16991
|
value: input.storyboard
|
|
16702
|
-
})) &&
|
|
16992
|
+
})) && _vo62(input.storyboard, _path + ".storyboard", true && _exceptionable) || _report(_exceptionable, {
|
|
16703
16993
|
path: _path + ".storyboard",
|
|
16704
|
-
expected: "(__type.
|
|
16994
|
+
expected: "(__type.o55 | undefined)",
|
|
16705
16995
|
value: input.storyboard
|
|
16706
16996
|
}), undefined === input.print || ("object" === typeof input.print && null !== input.print && false === Array.isArray(input.print) || _report(_exceptionable, {
|
|
16707
16997
|
path: _path + ".print",
|
|
16708
|
-
expected: "(__type.
|
|
16998
|
+
expected: "(__type.o64 | undefined)",
|
|
16709
16999
|
value: input.print
|
|
16710
|
-
})) &&
|
|
17000
|
+
})) && _vo71(input.print, _path + ".print", true && _exceptionable) || _report(_exceptionable, {
|
|
16711
17001
|
path: _path + ".print",
|
|
16712
|
-
expected: "(__type.
|
|
17002
|
+
expected: "(__type.o64 | undefined)",
|
|
16713
17003
|
value: input.print
|
|
16714
17004
|
}), undefined === input.hiddenPreviews || (Array.isArray(input.hiddenPreviews) || _report(_exceptionable, {
|
|
16715
17005
|
path: _path + ".hiddenPreviews",
|
|
16716
|
-
expected: "(Array<__type>.
|
|
17006
|
+
expected: "(Array<__type>.o7 | undefined)",
|
|
16717
17007
|
value: input.hiddenPreviews
|
|
16718
|
-
})) && input.hiddenPreviews.map((elem,
|
|
16719
|
-
path: _path + ".hiddenPreviews[" +
|
|
16720
|
-
expected: "__type.
|
|
17008
|
+
})) && input.hiddenPreviews.map((elem, _index39) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
17009
|
+
path: _path + ".hiddenPreviews[" + _index39 + "]",
|
|
17010
|
+
expected: "__type.o65",
|
|
16721
17011
|
value: elem
|
|
16722
|
-
})) &&
|
|
16723
|
-
path: _path + ".hiddenPreviews[" +
|
|
16724
|
-
expected: "__type.
|
|
17012
|
+
})) && _vo72(elem, _path + ".hiddenPreviews[" + _index39 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
17013
|
+
path: _path + ".hiddenPreviews[" + _index39 + "]",
|
|
17014
|
+
expected: "__type.o65",
|
|
16725
17015
|
value: elem
|
|
16726
17016
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
16727
17017
|
path: _path + ".hiddenPreviews",
|
|
16728
|
-
expected: "(Array<__type>.
|
|
17018
|
+
expected: "(Array<__type>.o7 | undefined)",
|
|
16729
17019
|
value: input.hiddenPreviews
|
|
16730
17020
|
}), undefined === input.plugins || ("object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) || _report(_exceptionable, {
|
|
16731
17021
|
path: _path + ".plugins",
|
|
16732
|
-
expected: "(__type.
|
|
17022
|
+
expected: "(__type.o66 | undefined)",
|
|
16733
17023
|
value: input.plugins
|
|
16734
|
-
})) &&
|
|
17024
|
+
})) && _vo73(input.plugins, _path + ".plugins", true && _exceptionable) || _report(_exceptionable, {
|
|
16735
17025
|
path: _path + ".plugins",
|
|
16736
|
-
expected: "(__type.
|
|
17026
|
+
expected: "(__type.o66 | undefined)",
|
|
16737
17027
|
value: input.plugins
|
|
16738
17028
|
}), undefined === input.crashScreen || "boolean" === typeof input.crashScreen || _report(_exceptionable, {
|
|
16739
17029
|
path: _path + ".crashScreen",
|
|
@@ -16745,27 +17035,27 @@ function _validateDomainRecord(domain, input) {
|
|
|
16745
17035
|
value: input.debug
|
|
16746
17036
|
}), undefined === input.featurePreview || ("object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) || _report(_exceptionable, {
|
|
16747
17037
|
path: _path + ".featurePreview",
|
|
16748
|
-
expected: "(__type.
|
|
17038
|
+
expected: "(__type.o69 | undefined)",
|
|
16749
17039
|
value: input.featurePreview
|
|
16750
|
-
})) &&
|
|
17040
|
+
})) && _vo76(input.featurePreview, _path + ".featurePreview", true && _exceptionable) || _report(_exceptionable, {
|
|
16751
17041
|
path: _path + ".featurePreview",
|
|
16752
|
-
expected: "(__type.
|
|
17042
|
+
expected: "(__type.o69 | undefined)",
|
|
16753
17043
|
value: input.featurePreview
|
|
16754
17044
|
}), undefined === input.flags || ("object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) || _report(_exceptionable, {
|
|
16755
17045
|
path: _path + ".flags",
|
|
16756
|
-
expected: "(__type.
|
|
17046
|
+
expected: "(__type.o70 | undefined)",
|
|
16757
17047
|
value: input.flags
|
|
16758
|
-
})) &&
|
|
17048
|
+
})) && _vo77(input.flags, _path + ".flags", true && _exceptionable) || _report(_exceptionable, {
|
|
16759
17049
|
path: _path + ".flags",
|
|
16760
|
-
expected: "(__type.
|
|
17050
|
+
expected: "(__type.o70 | undefined)",
|
|
16761
17051
|
value: input.flags
|
|
16762
17052
|
}), undefined === input.notifications || ("object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) || _report(_exceptionable, {
|
|
16763
17053
|
path: _path + ".notifications",
|
|
16764
|
-
expected: "(__type.
|
|
17054
|
+
expected: "(__type.o71 | undefined)",
|
|
16765
17055
|
value: input.notifications
|
|
16766
|
-
})) &&
|
|
17056
|
+
})) && _vo78(input.notifications, _path + ".notifications", true && _exceptionable) || _report(_exceptionable, {
|
|
16767
17057
|
path: _path + ".notifications",
|
|
16768
|
-
expected: "(__type.
|
|
17058
|
+
expected: "(__type.o71 | undefined)",
|
|
16769
17059
|
value: input.notifications
|
|
16770
17060
|
}), undefined === input.suppressDeleteAlert || "boolean" === typeof input.suppressDeleteAlert || _report(_exceptionable, {
|
|
16771
17061
|
path: _path + ".suppressDeleteAlert",
|
|
@@ -16773,36 +17063,44 @@ function _validateDomainRecord(domain, input) {
|
|
|
16773
17063
|
value: input.suppressDeleteAlert
|
|
16774
17064
|
}), undefined === input.clone || ("object" === typeof input.clone && null !== input.clone && false === Array.isArray(input.clone) || _report(_exceptionable, {
|
|
16775
17065
|
path: _path + ".clone",
|
|
16776
|
-
expected: "(__type.
|
|
17066
|
+
expected: "(__type.o74 | undefined)",
|
|
16777
17067
|
value: input.clone
|
|
16778
|
-
})) &&
|
|
17068
|
+
})) && _vo81(input.clone, _path + ".clone", true && _exceptionable) || _report(_exceptionable, {
|
|
16779
17069
|
path: _path + ".clone",
|
|
16780
|
-
expected: "(__type.
|
|
17070
|
+
expected: "(__type.o74 | undefined)",
|
|
16781
17071
|
value: input.clone
|
|
16782
17072
|
}), undefined === input.utilsAssetEditorPanel || ("object" === typeof input.utilsAssetEditorPanel && null !== input.utilsAssetEditorPanel && false === Array.isArray(input.utilsAssetEditorPanel) || _report(_exceptionable, {
|
|
16783
17073
|
path: _path + ".utilsAssetEditorPanel",
|
|
16784
|
-
expected: "(__type.
|
|
17074
|
+
expected: "(__type.o77 | undefined)",
|
|
16785
17075
|
value: input.utilsAssetEditorPanel
|
|
16786
|
-
})) &&
|
|
17076
|
+
})) && _vo84(input.utilsAssetEditorPanel, _path + ".utilsAssetEditorPanel", true && _exceptionable) || _report(_exceptionable, {
|
|
16787
17077
|
path: _path + ".utilsAssetEditorPanel",
|
|
16788
|
-
expected: "(__type.
|
|
17078
|
+
expected: "(__type.o77 | undefined)",
|
|
16789
17079
|
value: input.utilsAssetEditorPanel
|
|
16790
17080
|
}), undefined === input.display || ("object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) || _report(_exceptionable, {
|
|
16791
17081
|
path: _path + ".display",
|
|
16792
|
-
expected: "(__type.
|
|
17082
|
+
expected: "(__type.o78 | undefined)",
|
|
16793
17083
|
value: input.display
|
|
16794
|
-
})) &&
|
|
17084
|
+
})) && _vo85(input.display, _path + ".display", true && _exceptionable) || _report(_exceptionable, {
|
|
16795
17085
|
path: _path + ".display",
|
|
16796
|
-
expected: "(__type.
|
|
17086
|
+
expected: "(__type.o78 | undefined)",
|
|
16797
17087
|
value: input.display
|
|
16798
17088
|
}), undefined === input.bookmarks || ("object" === typeof input.bookmarks && null !== input.bookmarks && false === Array.isArray(input.bookmarks) || _report(_exceptionable, {
|
|
16799
17089
|
path: _path + ".bookmarks",
|
|
16800
|
-
expected: "(__type.
|
|
17090
|
+
expected: "(__type.o79 | undefined)",
|
|
16801
17091
|
value: input.bookmarks
|
|
16802
|
-
})) &&
|
|
17092
|
+
})) && _vo86(input.bookmarks, _path + ".bookmarks", true && _exceptionable) || _report(_exceptionable, {
|
|
16803
17093
|
path: _path + ".bookmarks",
|
|
16804
|
-
expected: "(__type.
|
|
17094
|
+
expected: "(__type.o79 | undefined)",
|
|
16805
17095
|
value: input.bookmarks
|
|
17096
|
+
}), undefined === input.shotbox || ("object" === typeof input.shotbox && null !== input.shotbox && false === Array.isArray(input.shotbox) || _report(_exceptionable, {
|
|
17097
|
+
path: _path + ".shotbox",
|
|
17098
|
+
expected: "(__type.o80 | undefined)",
|
|
17099
|
+
value: input.shotbox
|
|
17100
|
+
})) && _vo87(input.shotbox, _path + ".shotbox", true && _exceptionable) || _report(_exceptionable, {
|
|
17101
|
+
path: _path + ".shotbox",
|
|
17102
|
+
expected: "(__type.o80 | undefined)",
|
|
17103
|
+
value: input.shotbox
|
|
16806
17104
|
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact || _report(_exceptionable, {
|
|
16807
17105
|
path: _path + ".overrideUserContact",
|
|
16808
17106
|
expected: "(boolean | undefined)",
|
|
@@ -16938,8 +17236,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
16938
17236
|
path: _path + ".sortOrder",
|
|
16939
17237
|
expected: "(Array<string> | undefined)",
|
|
16940
17238
|
value: input.sortOrder
|
|
16941
|
-
})) && input.sortOrder.map((elem,
|
|
16942
|
-
path: _path + ".sortOrder[" +
|
|
17239
|
+
})) && input.sortOrder.map((elem, _index40) => "string" === typeof elem || _report(_exceptionable, {
|
|
17240
|
+
path: _path + ".sortOrder[" + _index40 + "]",
|
|
16943
17241
|
expected: "string",
|
|
16944
17242
|
value: elem
|
|
16945
17243
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16950,8 +17248,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
16950
17248
|
path: _path + ".include",
|
|
16951
17249
|
expected: "(Array<string> | undefined)",
|
|
16952
17250
|
value: input.include
|
|
16953
|
-
})) && input.include.map((elem,
|
|
16954
|
-
path: _path + ".include[" +
|
|
17251
|
+
})) && input.include.map((elem, _index41) => "string" === typeof elem || _report(_exceptionable, {
|
|
17252
|
+
path: _path + ".include[" + _index41 + "]",
|
|
16955
17253
|
expected: "string",
|
|
16956
17254
|
value: elem
|
|
16957
17255
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16962,8 +17260,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
16962
17260
|
path: _path + ".exclude",
|
|
16963
17261
|
expected: "(Array<string> | undefined)",
|
|
16964
17262
|
value: input.exclude
|
|
16965
|
-
})) && input.exclude.map((elem,
|
|
16966
|
-
path: _path + ".exclude[" +
|
|
17263
|
+
})) && input.exclude.map((elem, _index42) => "string" === typeof elem || _report(_exceptionable, {
|
|
17264
|
+
path: _path + ".exclude[" + _index42 + "]",
|
|
16967
17265
|
expected: "string",
|
|
16968
17266
|
value: elem
|
|
16969
17267
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16974,8 +17272,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
16974
17272
|
path: _path + ".include",
|
|
16975
17273
|
expected: "(Array<string> | undefined)",
|
|
16976
17274
|
value: input.include
|
|
16977
|
-
})) && input.include.map((elem,
|
|
16978
|
-
path: _path + ".include[" +
|
|
17275
|
+
})) && input.include.map((elem, _index43) => "string" === typeof elem || _report(_exceptionable, {
|
|
17276
|
+
path: _path + ".include[" + _index43 + "]",
|
|
16979
17277
|
expected: "string",
|
|
16980
17278
|
value: elem
|
|
16981
17279
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16986,8 +17284,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
16986
17284
|
path: _path + ".exclude",
|
|
16987
17285
|
expected: "(Array<string> | undefined)",
|
|
16988
17286
|
value: input.exclude
|
|
16989
|
-
})) && input.exclude.map((elem,
|
|
16990
|
-
path: _path + ".exclude[" +
|
|
17287
|
+
})) && input.exclude.map((elem, _index44) => "string" === typeof elem || _report(_exceptionable, {
|
|
17288
|
+
path: _path + ".exclude[" + _index44 + "]",
|
|
16991
17289
|
expected: "string",
|
|
16992
17290
|
value: elem
|
|
16993
17291
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16998,8 +17296,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
16998
17296
|
path: _path + ".include",
|
|
16999
17297
|
expected: "(Array<string> | undefined)",
|
|
17000
17298
|
value: input.include
|
|
17001
|
-
})) && input.include.map((elem,
|
|
17002
|
-
path: _path + ".include[" +
|
|
17299
|
+
})) && input.include.map((elem, _index45) => "string" === typeof elem || _report(_exceptionable, {
|
|
17300
|
+
path: _path + ".include[" + _index45 + "]",
|
|
17003
17301
|
expected: "string",
|
|
17004
17302
|
value: elem
|
|
17005
17303
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17010,8 +17308,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
17010
17308
|
path: _path + ".exclude",
|
|
17011
17309
|
expected: "(Array<string> | undefined)",
|
|
17012
17310
|
value: input.exclude
|
|
17013
|
-
})) && input.exclude.map((elem,
|
|
17014
|
-
path: _path + ".exclude[" +
|
|
17311
|
+
})) && input.exclude.map((elem, _index46) => "string" === typeof elem || _report(_exceptionable, {
|
|
17312
|
+
path: _path + ".exclude[" + _index46 + "]",
|
|
17015
17313
|
expected: "string",
|
|
17016
17314
|
value: elem
|
|
17017
17315
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17022,8 +17320,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
17022
17320
|
path: _path + ".include",
|
|
17023
17321
|
expected: "(Array<string> | undefined)",
|
|
17024
17322
|
value: input.include
|
|
17025
|
-
})) && input.include.map((elem,
|
|
17026
|
-
path: _path + ".include[" +
|
|
17323
|
+
})) && input.include.map((elem, _index47) => "string" === typeof elem || _report(_exceptionable, {
|
|
17324
|
+
path: _path + ".include[" + _index47 + "]",
|
|
17027
17325
|
expected: "string",
|
|
17028
17326
|
value: elem
|
|
17029
17327
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17034,8 +17332,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
17034
17332
|
path: _path + ".exclude",
|
|
17035
17333
|
expected: "(Array<string> | undefined)",
|
|
17036
17334
|
value: input.exclude
|
|
17037
|
-
})) && input.exclude.map((elem,
|
|
17038
|
-
path: _path + ".exclude[" +
|
|
17335
|
+
})) && input.exclude.map((elem, _index48) => "string" === typeof elem || _report(_exceptionable, {
|
|
17336
|
+
path: _path + ".exclude[" + _index48 + "]",
|
|
17039
17337
|
expected: "string",
|
|
17040
17338
|
value: elem
|
|
17041
17339
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17114,12 +17412,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
17114
17412
|
path: _path + ".colorTags",
|
|
17115
17413
|
expected: "(Array<PromotedTag> | undefined)",
|
|
17116
17414
|
value: input.colorTags
|
|
17117
|
-
})) && input.colorTags.map((elem,
|
|
17118
|
-
path: _path + ".colorTags[" +
|
|
17415
|
+
})) && input.colorTags.map((elem, _index49) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
17416
|
+
path: _path + ".colorTags[" + _index49 + "]",
|
|
17119
17417
|
expected: "PromotedTag",
|
|
17120
17418
|
value: elem
|
|
17121
|
-
})) && _vo22(elem, _path + ".colorTags[" +
|
|
17122
|
-
path: _path + ".colorTags[" +
|
|
17419
|
+
})) && _vo22(elem, _path + ".colorTags[" + _index49 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
17420
|
+
path: _path + ".colorTags[" + _index49 + "]",
|
|
17123
17421
|
expected: "PromotedTag",
|
|
17124
17422
|
value: elem
|
|
17125
17423
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17142,6 +17440,22 @@ function _validateDomainRecord(domain, input) {
|
|
|
17142
17440
|
path: _path + ".collapsedNodes",
|
|
17143
17441
|
expected: "(__type.o18 | undefined)",
|
|
17144
17442
|
value: input.collapsedNodes
|
|
17443
|
+
}), undefined === input.colorHistory || (Array.isArray(input.colorHistory) || _report(_exceptionable, {
|
|
17444
|
+
path: _path + ".colorHistory",
|
|
17445
|
+
expected: "(Array<__type> | undefined)",
|
|
17446
|
+
value: input.colorHistory
|
|
17447
|
+
})) && input.colorHistory.map((elem, _index50) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
17448
|
+
path: _path + ".colorHistory[" + _index50 + "]",
|
|
17449
|
+
expected: "__type.o20",
|
|
17450
|
+
value: elem
|
|
17451
|
+
})) && _vo25(elem, _path + ".colorHistory[" + _index50 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
17452
|
+
path: _path + ".colorHistory[" + _index50 + "]",
|
|
17453
|
+
expected: "__type.o20",
|
|
17454
|
+
value: elem
|
|
17455
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
17456
|
+
path: _path + ".colorHistory",
|
|
17457
|
+
expected: "(Array<__type> | undefined)",
|
|
17458
|
+
value: input.colorHistory
|
|
17145
17459
|
})].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [undefined === input.sortBy || "index" === input.sortBy || "title" === input.sortBy || _report(_exceptionable, {
|
|
17146
17460
|
path: _path + ".sortBy",
|
|
17147
17461
|
expected: "(\"index\" | \"title\" | undefined)",
|
|
@@ -17187,7 +17501,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
17187
17501
|
path: _path + ".children",
|
|
17188
17502
|
expected: "(boolean | undefined)",
|
|
17189
17503
|
value: input.children
|
|
17190
|
-
})].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => [
|
|
17504
|
+
})].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => [null === input.color || "string" === typeof input.color || _report(_exceptionable, {
|
|
17505
|
+
path: _path + ".color",
|
|
17506
|
+
expected: "(null | string)",
|
|
17507
|
+
value: input.color
|
|
17508
|
+
}), null === input.backgroundColor || "string" === typeof input.backgroundColor || _report(_exceptionable, {
|
|
17509
|
+
path: _path + ".backgroundColor",
|
|
17510
|
+
expected: "(null | string)",
|
|
17511
|
+
value: input.backgroundColor
|
|
17512
|
+
})].every(flag => flag); const _vo26 = (input, _path, _exceptionable = true) => [undefined === input.graphicBaseTemplate || "string" === typeof input.graphicBaseTemplate || _report(_exceptionable, {
|
|
17191
17513
|
path: _path + ".graphicBaseTemplate",
|
|
17192
17514
|
expected: "(string | undefined)",
|
|
17193
17515
|
value: input.graphicBaseTemplate
|
|
@@ -17195,8 +17517,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
17195
17517
|
path: _path + ".favorites",
|
|
17196
17518
|
expected: "(Array<string> | undefined)",
|
|
17197
17519
|
value: input.favorites
|
|
17198
|
-
})) && input.favorites.map((elem,
|
|
17199
|
-
path: _path + ".favorites[" +
|
|
17520
|
+
})) && input.favorites.map((elem, _index51) => "string" === typeof elem || _report(_exceptionable, {
|
|
17521
|
+
path: _path + ".favorites[" + _index51 + "]",
|
|
17200
17522
|
expected: "string",
|
|
17201
17523
|
value: elem
|
|
17202
17524
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17207,24 +17529,24 @@ function _validateDomainRecord(domain, input) {
|
|
|
17207
17529
|
path: _path + ".defaults",
|
|
17208
17530
|
expected: "(Record<string, __type> | undefined)",
|
|
17209
17531
|
value: input.defaults
|
|
17210
|
-
})) &&
|
|
17532
|
+
})) && _vo27(input.defaults, _path + ".defaults", true && _exceptionable) || _report(_exceptionable, {
|
|
17211
17533
|
path: _path + ".defaults",
|
|
17212
17534
|
expected: "(Record<string, __type> | undefined)",
|
|
17213
17535
|
value: input.defaults
|
|
17214
|
-
})].every(flag => flag); const
|
|
17536
|
+
})].every(flag => flag); const _vo27 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
17215
17537
|
const value = input[key];
|
|
17216
17538
|
if (undefined === value)
|
|
17217
17539
|
return true;
|
|
17218
17540
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
|
17219
17541
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17220
|
-
expected: "__type.
|
|
17542
|
+
expected: "__type.o22",
|
|
17221
17543
|
value: value
|
|
17222
|
-
})) &&
|
|
17544
|
+
})) && _vo28(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
17223
17545
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17224
|
-
expected: "__type.
|
|
17546
|
+
expected: "__type.o22",
|
|
17225
17547
|
value: value
|
|
17226
17548
|
});
|
|
17227
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
17549
|
+
}).every(flag => flag)].every(flag => flag); const _vo28 = (input, _path, _exceptionable = true) => [undefined === input.event || "string" === typeof input.event || _report(_exceptionable, {
|
|
17228
17550
|
path: _path + ".event",
|
|
17229
17551
|
expected: "(string | undefined)",
|
|
17230
17552
|
value: input.event
|
|
@@ -17232,7 +17554,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17232
17554
|
path: _path + ".property",
|
|
17233
17555
|
expected: "(string | undefined)",
|
|
17234
17556
|
value: input.property
|
|
17235
|
-
})].every(flag => flag); const
|
|
17557
|
+
})].every(flag => flag); const _vo29 = (input, _path, _exceptionable = true) => [undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails || _report(_exceptionable, {
|
|
17236
17558
|
path: _path + ".eventThumbnails",
|
|
17237
17559
|
expected: "(boolean | undefined)",
|
|
17238
17560
|
value: input.eventThumbnails
|
|
@@ -17240,7 +17562,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17240
17562
|
path: _path + ".scriptEventFolding",
|
|
17241
17563
|
expected: "(\"folded\" | \"unfoldedUntilFolded\")",
|
|
17242
17564
|
value: input.scriptEventFolding
|
|
17243
|
-
})].every(flag => flag); const
|
|
17565
|
+
})].every(flag => flag); const _vo30 = (input, _path, _exceptionable = true) => [undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur || _report(_exceptionable, {
|
|
17244
17566
|
path: _path + ".dimOnBlur",
|
|
17245
17567
|
expected: "(boolean | undefined)",
|
|
17246
17568
|
value: input.dimOnBlur
|
|
@@ -17252,95 +17574,95 @@ function _validateDomainRecord(domain, input) {
|
|
|
17252
17574
|
path: _path + ".countFloatedDuration",
|
|
17253
17575
|
expected: "(boolean | undefined)",
|
|
17254
17576
|
value: input.countFloatedDuration
|
|
17255
|
-
})].every(flag => flag); const
|
|
17577
|
+
})].every(flag => flag); const _vo31 = (input, _path, _exceptionable = true) => [undefined === input.display || ("object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) || _report(_exceptionable, {
|
|
17256
17578
|
path: _path + ".display",
|
|
17257
|
-
expected: "(__type.
|
|
17579
|
+
expected: "(__type.o26 | undefined)",
|
|
17258
17580
|
value: input.display
|
|
17259
|
-
})) &&
|
|
17581
|
+
})) && _vo32(input.display, _path + ".display", true && _exceptionable) || _report(_exceptionable, {
|
|
17260
17582
|
path: _path + ".display",
|
|
17261
|
-
expected: "(__type.
|
|
17583
|
+
expected: "(__type.o26 | undefined)",
|
|
17262
17584
|
value: input.display
|
|
17263
17585
|
}), undefined === input.browser || ("object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) || _report(_exceptionable, {
|
|
17264
17586
|
path: _path + ".browser",
|
|
17265
|
-
expected: "(__type.
|
|
17587
|
+
expected: "(__type.o27 | undefined)",
|
|
17266
17588
|
value: input.browser
|
|
17267
|
-
})) &&
|
|
17589
|
+
})) && _vo34(input.browser, _path + ".browser", true && _exceptionable) || _report(_exceptionable, {
|
|
17268
17590
|
path: _path + ".browser",
|
|
17269
|
-
expected: "(__type.
|
|
17591
|
+
expected: "(__type.o27 | undefined)",
|
|
17270
17592
|
value: input.browser
|
|
17271
17593
|
}), undefined === input.gallery || ("object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) || _report(_exceptionable, {
|
|
17272
17594
|
path: _path + ".gallery",
|
|
17273
|
-
expected: "(__type.
|
|
17595
|
+
expected: "(__type.o28 | undefined)",
|
|
17274
17596
|
value: input.gallery
|
|
17275
|
-
})) &&
|
|
17597
|
+
})) && _vo35(input.gallery, _path + ".gallery", true && _exceptionable) || _report(_exceptionable, {
|
|
17276
17598
|
path: _path + ".gallery",
|
|
17277
|
-
expected: "(__type.
|
|
17599
|
+
expected: "(__type.o28 | undefined)",
|
|
17278
17600
|
value: input.gallery
|
|
17279
17601
|
}), undefined === input.global || ("object" === typeof input.global && null !== input.global && false === Array.isArray(input.global) || _report(_exceptionable, {
|
|
17280
17602
|
path: _path + ".global",
|
|
17281
|
-
expected: "(__type.
|
|
17603
|
+
expected: "(__type.o29 | undefined)",
|
|
17282
17604
|
value: input.global
|
|
17283
|
-
})) &&
|
|
17605
|
+
})) && _vo36(input.global, _path + ".global", true && _exceptionable) || _report(_exceptionable, {
|
|
17284
17606
|
path: _path + ".global",
|
|
17285
|
-
expected: "(__type.
|
|
17607
|
+
expected: "(__type.o29 | undefined)",
|
|
17286
17608
|
value: input.global
|
|
17287
17609
|
}), undefined === input.player || ("object" === typeof input.player && null !== input.player && false === Array.isArray(input.player) || _report(_exceptionable, {
|
|
17288
17610
|
path: _path + ".player",
|
|
17289
|
-
expected: "(__type.
|
|
17611
|
+
expected: "(__type.o30 | undefined)",
|
|
17290
17612
|
value: input.player
|
|
17291
|
-
})) &&
|
|
17613
|
+
})) && _vo37(input.player, _path + ".player", true && _exceptionable) || _report(_exceptionable, {
|
|
17292
17614
|
path: _path + ".player",
|
|
17293
|
-
expected: "(__type.
|
|
17615
|
+
expected: "(__type.o30 | undefined)",
|
|
17294
17616
|
value: input.player
|
|
17295
17617
|
}), undefined === input.script || ("object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) || _report(_exceptionable, {
|
|
17296
17618
|
path: _path + ".script",
|
|
17297
|
-
expected: "(__type.
|
|
17619
|
+
expected: "(__type.o31 | undefined)",
|
|
17298
17620
|
value: input.script
|
|
17299
|
-
})) &&
|
|
17621
|
+
})) && _vo38(input.script, _path + ".script", true && _exceptionable) || _report(_exceptionable, {
|
|
17300
17622
|
path: _path + ".script",
|
|
17301
|
-
expected: "(__type.
|
|
17623
|
+
expected: "(__type.o31 | undefined)",
|
|
17302
17624
|
value: input.script
|
|
17303
17625
|
}), undefined === input.codeEditor || ("object" === typeof input.codeEditor && null !== input.codeEditor && false === Array.isArray(input.codeEditor) || _report(_exceptionable, {
|
|
17304
17626
|
path: _path + ".codeEditor",
|
|
17305
|
-
expected: "(__type.
|
|
17627
|
+
expected: "(__type.o32 | undefined)",
|
|
17306
17628
|
value: input.codeEditor
|
|
17307
|
-
})) &&
|
|
17629
|
+
})) && _vo39(input.codeEditor, _path + ".codeEditor", true && _exceptionable) || _report(_exceptionable, {
|
|
17308
17630
|
path: _path + ".codeEditor",
|
|
17309
|
-
expected: "(__type.
|
|
17631
|
+
expected: "(__type.o32 | undefined)",
|
|
17310
17632
|
value: input.codeEditor
|
|
17311
17633
|
}), undefined === input.bookmarks || ("object" === typeof input.bookmarks && null !== input.bookmarks && false === Array.isArray(input.bookmarks) || _report(_exceptionable, {
|
|
17312
17634
|
path: _path + ".bookmarks",
|
|
17313
|
-
expected: "(__type.
|
|
17635
|
+
expected: "(__type.o33 | undefined)",
|
|
17314
17636
|
value: input.bookmarks
|
|
17315
|
-
})) &&
|
|
17637
|
+
})) && _vo40(input.bookmarks, _path + ".bookmarks", true && _exceptionable) || _report(_exceptionable, {
|
|
17316
17638
|
path: _path + ".bookmarks",
|
|
17317
|
-
expected: "(__type.
|
|
17639
|
+
expected: "(__type.o33 | undefined)",
|
|
17318
17640
|
value: input.bookmarks
|
|
17319
17641
|
}), undefined === input.edit || ("object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) || _report(_exceptionable, {
|
|
17320
17642
|
path: _path + ".edit",
|
|
17321
|
-
expected: "(__type.
|
|
17643
|
+
expected: "(__type.o34 | undefined)",
|
|
17322
17644
|
value: input.edit
|
|
17323
|
-
})) &&
|
|
17645
|
+
})) && _vo41(input.edit, _path + ".edit", true && _exceptionable) || _report(_exceptionable, {
|
|
17324
17646
|
path: _path + ".edit",
|
|
17325
|
-
expected: "(__type.
|
|
17647
|
+
expected: "(__type.o34 | undefined)",
|
|
17326
17648
|
value: input.edit
|
|
17327
17649
|
}), undefined === input.rundown || ("object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) || _report(_exceptionable, {
|
|
17328
17650
|
path: _path + ".rundown",
|
|
17329
|
-
expected: "(__type.
|
|
17651
|
+
expected: "(__type.o35 | undefined)",
|
|
17330
17652
|
value: input.rundown
|
|
17331
|
-
})) &&
|
|
17653
|
+
})) && _vo42(input.rundown, _path + ".rundown", true && _exceptionable) || _report(_exceptionable, {
|
|
17332
17654
|
path: _path + ".rundown",
|
|
17333
|
-
expected: "(__type.
|
|
17655
|
+
expected: "(__type.o35 | undefined)",
|
|
17334
17656
|
value: input.rundown
|
|
17335
17657
|
}), undefined === input.segment || ("object" === typeof input.segment && null !== input.segment && false === Array.isArray(input.segment) || _report(_exceptionable, {
|
|
17336
17658
|
path: _path + ".segment",
|
|
17337
|
-
expected: "(__type.
|
|
17659
|
+
expected: "(__type.o36 | undefined)",
|
|
17338
17660
|
value: input.segment
|
|
17339
|
-
})) &&
|
|
17661
|
+
})) && _vo43(input.segment, _path + ".segment", true && _exceptionable) || _report(_exceptionable, {
|
|
17340
17662
|
path: _path + ".segment",
|
|
17341
|
-
expected: "(__type.
|
|
17663
|
+
expected: "(__type.o36 | undefined)",
|
|
17342
17664
|
value: input.segment
|
|
17343
|
-
})].every(flag => flag); const
|
|
17665
|
+
})].every(flag => flag); const _vo32 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
17344
17666
|
const value = input[key];
|
|
17345
17667
|
if (undefined === value)
|
|
17346
17668
|
return true;
|
|
@@ -17348,12 +17670,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
17348
17670
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17349
17671
|
expected: "KeymapSetting",
|
|
17350
17672
|
value: value
|
|
17351
|
-
})) &&
|
|
17673
|
+
})) && _vo33(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
17352
17674
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17353
17675
|
expected: "KeymapSetting",
|
|
17354
17676
|
value: value
|
|
17355
17677
|
});
|
|
17356
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
17678
|
+
}).every(flag => flag)].every(flag => flag); const _vo33 = (input, _path, _exceptionable = true) => [undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
17357
17679
|
path: _path + ".title",
|
|
17358
17680
|
expected: "(string | undefined)",
|
|
17359
17681
|
value: input.title
|
|
@@ -17361,7 +17683,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17361
17683
|
path: _path + ".sequence",
|
|
17362
17684
|
expected: "(string | undefined)",
|
|
17363
17685
|
value: input.sequence
|
|
17364
|
-
})].every(flag => flag); const
|
|
17686
|
+
})].every(flag => flag); const _vo34 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
17365
17687
|
const value = input[key];
|
|
17366
17688
|
if (undefined === value)
|
|
17367
17689
|
return true;
|
|
@@ -17369,12 +17691,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
17369
17691
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17370
17692
|
expected: "KeymapSetting",
|
|
17371
17693
|
value: value
|
|
17372
|
-
})) &&
|
|
17694
|
+
})) && _vo33(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
17373
17695
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17374
17696
|
expected: "KeymapSetting",
|
|
17375
17697
|
value: value
|
|
17376
17698
|
});
|
|
17377
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
17699
|
+
}).every(flag => flag)].every(flag => flag); const _vo35 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
17378
17700
|
const value = input[key];
|
|
17379
17701
|
if (undefined === value)
|
|
17380
17702
|
return true;
|
|
@@ -17382,12 +17704,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
17382
17704
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17383
17705
|
expected: "KeymapSetting",
|
|
17384
17706
|
value: value
|
|
17385
|
-
})) &&
|
|
17707
|
+
})) && _vo33(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
17386
17708
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17387
17709
|
expected: "KeymapSetting",
|
|
17388
17710
|
value: value
|
|
17389
17711
|
});
|
|
17390
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
17712
|
+
}).every(flag => flag)].every(flag => flag); const _vo36 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
17391
17713
|
const value = input[key];
|
|
17392
17714
|
if (undefined === value)
|
|
17393
17715
|
return true;
|
|
@@ -17395,12 +17717,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
17395
17717
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17396
17718
|
expected: "KeymapSetting",
|
|
17397
17719
|
value: value
|
|
17398
|
-
})) &&
|
|
17720
|
+
})) && _vo33(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
17399
17721
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17400
17722
|
expected: "KeymapSetting",
|
|
17401
17723
|
value: value
|
|
17402
17724
|
});
|
|
17403
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
17725
|
+
}).every(flag => flag)].every(flag => flag); const _vo37 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
17404
17726
|
const value = input[key];
|
|
17405
17727
|
if (undefined === value)
|
|
17406
17728
|
return true;
|
|
@@ -17408,12 +17730,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
17408
17730
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17409
17731
|
expected: "KeymapSetting",
|
|
17410
17732
|
value: value
|
|
17411
|
-
})) &&
|
|
17733
|
+
})) && _vo33(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
17412
17734
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17413
17735
|
expected: "KeymapSetting",
|
|
17414
17736
|
value: value
|
|
17415
17737
|
});
|
|
17416
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
17738
|
+
}).every(flag => flag)].every(flag => flag); const _vo38 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
17417
17739
|
const value = input[key];
|
|
17418
17740
|
if (undefined === value)
|
|
17419
17741
|
return true;
|
|
@@ -17421,12 +17743,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
17421
17743
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17422
17744
|
expected: "KeymapSetting",
|
|
17423
17745
|
value: value
|
|
17424
|
-
})) &&
|
|
17746
|
+
})) && _vo33(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
17425
17747
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17426
17748
|
expected: "KeymapSetting",
|
|
17427
17749
|
value: value
|
|
17428
17750
|
});
|
|
17429
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
17751
|
+
}).every(flag => flag)].every(flag => flag); const _vo39 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
17430
17752
|
const value = input[key];
|
|
17431
17753
|
if (undefined === value)
|
|
17432
17754
|
return true;
|
|
@@ -17434,12 +17756,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
17434
17756
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17435
17757
|
expected: "KeymapSetting",
|
|
17436
17758
|
value: value
|
|
17437
|
-
})) &&
|
|
17759
|
+
})) && _vo33(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
17438
17760
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17439
17761
|
expected: "KeymapSetting",
|
|
17440
17762
|
value: value
|
|
17441
17763
|
});
|
|
17442
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
17764
|
+
}).every(flag => flag)].every(flag => flag); const _vo40 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
17443
17765
|
const value = input[key];
|
|
17444
17766
|
if (undefined === value)
|
|
17445
17767
|
return true;
|
|
@@ -17447,12 +17769,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
17447
17769
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17448
17770
|
expected: "KeymapSetting",
|
|
17449
17771
|
value: value
|
|
17450
|
-
})) &&
|
|
17772
|
+
})) && _vo33(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
17451
17773
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17452
17774
|
expected: "KeymapSetting",
|
|
17453
17775
|
value: value
|
|
17454
17776
|
});
|
|
17455
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
17777
|
+
}).every(flag => flag)].every(flag => flag); const _vo41 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
17456
17778
|
const value = input[key];
|
|
17457
17779
|
if (undefined === value)
|
|
17458
17780
|
return true;
|
|
@@ -17460,12 +17782,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
17460
17782
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17461
17783
|
expected: "KeymapSetting",
|
|
17462
17784
|
value: value
|
|
17463
|
-
})) &&
|
|
17785
|
+
})) && _vo33(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
17464
17786
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17465
17787
|
expected: "KeymapSetting",
|
|
17466
17788
|
value: value
|
|
17467
17789
|
});
|
|
17468
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
17790
|
+
}).every(flag => flag)].every(flag => flag); const _vo42 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
17469
17791
|
const value = input[key];
|
|
17470
17792
|
if (undefined === value)
|
|
17471
17793
|
return true;
|
|
@@ -17473,12 +17795,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
17473
17795
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17474
17796
|
expected: "KeymapSetting",
|
|
17475
17797
|
value: value
|
|
17476
|
-
})) &&
|
|
17798
|
+
})) && _vo33(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
17477
17799
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17478
17800
|
expected: "KeymapSetting",
|
|
17479
17801
|
value: value
|
|
17480
17802
|
});
|
|
17481
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
17803
|
+
}).every(flag => flag)].every(flag => flag); const _vo43 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
17482
17804
|
const value = input[key];
|
|
17483
17805
|
if (undefined === value)
|
|
17484
17806
|
return true;
|
|
@@ -17486,12 +17808,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
17486
17808
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17487
17809
|
expected: "KeymapSetting",
|
|
17488
17810
|
value: value
|
|
17489
|
-
})) &&
|
|
17811
|
+
})) && _vo33(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
17490
17812
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17491
17813
|
expected: "KeymapSetting",
|
|
17492
17814
|
value: value
|
|
17493
17815
|
});
|
|
17494
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
17816
|
+
}).every(flag => flag)].every(flag => flag); const _vo44 = (input, _path, _exceptionable = true) => [undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate || _report(_exceptionable, {
|
|
17495
17817
|
path: _path + ".defaultFrameRate",
|
|
17496
17818
|
expected: "(number | undefined)",
|
|
17497
17819
|
value: input.defaultFrameRate
|
|
@@ -17501,11 +17823,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
17501
17823
|
value: input.placeholder
|
|
17502
17824
|
}), undefined === input.guide || ("object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) || _report(_exceptionable, {
|
|
17503
17825
|
path: _path + ".guide",
|
|
17504
|
-
expected: "(__type.
|
|
17826
|
+
expected: "(__type.o38 | undefined)",
|
|
17505
17827
|
value: input.guide
|
|
17506
|
-
})) &&
|
|
17828
|
+
})) && _vo45(input.guide, _path + ".guide", true && _exceptionable) || _report(_exceptionable, {
|
|
17507
17829
|
path: _path + ".guide",
|
|
17508
|
-
expected: "(__type.
|
|
17830
|
+
expected: "(__type.o38 | undefined)",
|
|
17509
17831
|
value: input.guide
|
|
17510
17832
|
}), undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames || _report(_exceptionable, {
|
|
17511
17833
|
path: _path + ".stepManyFrames",
|
|
@@ -17521,11 +17843,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
17521
17843
|
value: input.importTitleTemplate
|
|
17522
17844
|
}), undefined === input.tile || ("object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) || _report(_exceptionable, {
|
|
17523
17845
|
path: _path + ".tile",
|
|
17524
|
-
expected: "(__type.
|
|
17846
|
+
expected: "(__type.o39 | undefined)",
|
|
17525
17847
|
value: input.tile
|
|
17526
|
-
})) &&
|
|
17848
|
+
})) && _vo46(input.tile, _path + ".tile", true && _exceptionable) || _report(_exceptionable, {
|
|
17527
17849
|
path: _path + ".tile",
|
|
17528
|
-
expected: "(__type.
|
|
17850
|
+
expected: "(__type.o39 | undefined)",
|
|
17529
17851
|
value: input.tile
|
|
17530
17852
|
}), undefined === input.timecodeReference || "string" === typeof input.timecodeReference || _report(_exceptionable, {
|
|
17531
17853
|
path: _path + ".timecodeReference",
|
|
@@ -17551,8 +17873,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
17551
17873
|
path: _path + ".playbackRates",
|
|
17552
17874
|
expected: "(Array<number> | undefined)",
|
|
17553
17875
|
value: input.playbackRates
|
|
17554
|
-
})) && input.playbackRates.map((elem,
|
|
17555
|
-
path: _path + ".playbackRates[" +
|
|
17876
|
+
})) && input.playbackRates.map((elem, _index52) => "number" === typeof elem || _report(_exceptionable, {
|
|
17877
|
+
path: _path + ".playbackRates[" + _index52 + "]",
|
|
17556
17878
|
expected: "number",
|
|
17557
17879
|
value: elem
|
|
17558
17880
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17561,11 +17883,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
17561
17883
|
value: input.playbackRates
|
|
17562
17884
|
}), undefined === input.subtitles || ("object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) || _report(_exceptionable, {
|
|
17563
17885
|
path: _path + ".subtitles",
|
|
17564
|
-
expected: "(__type.
|
|
17886
|
+
expected: "(__type.o40 | undefined)",
|
|
17565
17887
|
value: input.subtitles
|
|
17566
|
-
})) &&
|
|
17888
|
+
})) && _vo47(input.subtitles, _path + ".subtitles", true && _exceptionable) || _report(_exceptionable, {
|
|
17567
17889
|
path: _path + ".subtitles",
|
|
17568
|
-
expected: "(__type.
|
|
17890
|
+
expected: "(__type.o40 | undefined)",
|
|
17569
17891
|
value: input.subtitles
|
|
17570
17892
|
}), undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId || _report(_exceptionable, {
|
|
17571
17893
|
path: _path + ".subtitleTemplateId",
|
|
@@ -17577,19 +17899,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
17577
17899
|
value: input.initialVolume
|
|
17578
17900
|
}), undefined === input.guides || (Array.isArray(input.guides) || _report(_exceptionable, {
|
|
17579
17901
|
path: _path + ".guides",
|
|
17580
|
-
expected: "(Array<__type>.
|
|
17902
|
+
expected: "(Array<__type>.o3 | undefined)",
|
|
17581
17903
|
value: input.guides
|
|
17582
|
-
})) && input.guides.map((elem,
|
|
17583
|
-
path: _path + ".guides[" +
|
|
17584
|
-
expected: "__type.
|
|
17904
|
+
})) && input.guides.map((elem, _index53) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
17905
|
+
path: _path + ".guides[" + _index53 + "]",
|
|
17906
|
+
expected: "__type.o43",
|
|
17585
17907
|
value: elem
|
|
17586
|
-
})) &&
|
|
17587
|
-
path: _path + ".guides[" +
|
|
17588
|
-
expected: "__type.
|
|
17908
|
+
})) && _vo50(elem, _path + ".guides[" + _index53 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
17909
|
+
path: _path + ".guides[" + _index53 + "]",
|
|
17910
|
+
expected: "__type.o43",
|
|
17589
17911
|
value: elem
|
|
17590
17912
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
17591
17913
|
path: _path + ".guides",
|
|
17592
|
-
expected: "(Array<__type>.
|
|
17914
|
+
expected: "(Array<__type>.o3 | undefined)",
|
|
17593
17915
|
value: input.guides
|
|
17594
17916
|
}), undefined === input.download || "boolean" === typeof input.download || _report(_exceptionable, {
|
|
17595
17917
|
path: _path + ".download",
|
|
@@ -17597,33 +17919,33 @@ function _validateDomainRecord(domain, input) {
|
|
|
17597
17919
|
value: input.download
|
|
17598
17920
|
}), undefined === input.editMode || ("object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) || _report(_exceptionable, {
|
|
17599
17921
|
path: _path + ".editMode",
|
|
17600
|
-
expected: "(__type.
|
|
17922
|
+
expected: "(__type.o44 | undefined)",
|
|
17601
17923
|
value: input.editMode
|
|
17602
|
-
})) &&
|
|
17924
|
+
})) && _vo51(input.editMode, _path + ".editMode", true && _exceptionable) || _report(_exceptionable, {
|
|
17603
17925
|
path: _path + ".editMode",
|
|
17604
|
-
expected: "(__type.
|
|
17926
|
+
expected: "(__type.o44 | undefined)",
|
|
17605
17927
|
value: input.editMode
|
|
17606
17928
|
}), undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) || _report(_exceptionable, {
|
|
17607
17929
|
path: _path + ".transcribe",
|
|
17608
|
-
expected: "(__type.
|
|
17930
|
+
expected: "(__type.o45 | undefined)",
|
|
17609
17931
|
value: input.transcribe
|
|
17610
|
-
})) &&
|
|
17932
|
+
})) && _vo52(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
17611
17933
|
path: _path + ".transcribe",
|
|
17612
|
-
expected: "(__type.
|
|
17934
|
+
expected: "(__type.o45 | undefined)",
|
|
17613
17935
|
value: input.transcribe
|
|
17614
17936
|
}), (null !== input.openCommand || _report(_exceptionable, {
|
|
17615
17937
|
path: _path + ".openCommand",
|
|
17616
|
-
expected: "(__type.
|
|
17938
|
+
expected: "(__type.o49 | string | undefined)",
|
|
17617
17939
|
value: input.openCommand
|
|
17618
17940
|
})) && (undefined === input.openCommand || "string" === typeof input.openCommand || ("object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) || _report(_exceptionable, {
|
|
17619
17941
|
path: _path + ".openCommand",
|
|
17620
|
-
expected: "(__type.
|
|
17942
|
+
expected: "(__type.o49 | string | undefined)",
|
|
17621
17943
|
value: input.openCommand
|
|
17622
|
-
})) &&
|
|
17944
|
+
})) && _vo56(input.openCommand, _path + ".openCommand", true && _exceptionable) || _report(_exceptionable, {
|
|
17623
17945
|
path: _path + ".openCommand",
|
|
17624
|
-
expected: "(__type.
|
|
17946
|
+
expected: "(__type.o49 | string | undefined)",
|
|
17625
17947
|
value: input.openCommand
|
|
17626
|
-
}))].every(flag => flag); const
|
|
17948
|
+
}))].every(flag => flag); const _vo45 = (input, _path, _exceptionable = true) => [undefined === input.mask || "boolean" === typeof input.mask || _report(_exceptionable, {
|
|
17627
17949
|
path: _path + ".mask",
|
|
17628
17950
|
expected: "(boolean | undefined)",
|
|
17629
17951
|
value: input.mask
|
|
@@ -17635,7 +17957,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17635
17957
|
path: _path + ".titleSafe",
|
|
17636
17958
|
expected: "(boolean | undefined)",
|
|
17637
17959
|
value: input.titleSafe
|
|
17638
|
-
})].every(flag => flag); const
|
|
17960
|
+
})].every(flag => flag); const _vo46 = (input, _path, _exceptionable = true) => [undefined === input.preview || "disabled" === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "boolean" === typeof input.preview || _report(_exceptionable, {
|
|
17639
17961
|
path: _path + ".preview",
|
|
17640
17962
|
expected: "(\"disabled\" | \"play\" | \"seek\" | \"seekplay\" | boolean | undefined)",
|
|
17641
17963
|
value: input.preview
|
|
@@ -17643,7 +17965,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17643
17965
|
path: _path + ".showRenderProgress",
|
|
17644
17966
|
expected: "(boolean | undefined)",
|
|
17645
17967
|
value: input.showRenderProgress
|
|
17646
|
-
})].every(flag => flag); const
|
|
17968
|
+
})].every(flag => flag); const _vo47 = (input, _path, _exceptionable = true) => [undefined === input.spacing || "number" === typeof input.spacing || _report(_exceptionable, {
|
|
17647
17969
|
path: _path + ".spacing",
|
|
17648
17970
|
expected: "(number | undefined)",
|
|
17649
17971
|
value: input.spacing
|
|
@@ -17653,49 +17975,53 @@ function _validateDomainRecord(domain, input) {
|
|
|
17653
17975
|
value: input.maxCharactersPerLine
|
|
17654
17976
|
}), undefined === input.suggestions || (Array.isArray(input.suggestions) || _report(_exceptionable, {
|
|
17655
17977
|
path: _path + ".suggestions",
|
|
17656
|
-
expected: "(Array<__type
|
|
17978
|
+
expected: "(Array<__type>.o1 | undefined)",
|
|
17657
17979
|
value: input.suggestions
|
|
17658
|
-
})) && input.suggestions.map((elem,
|
|
17659
|
-
path: _path + ".suggestions[" +
|
|
17660
|
-
expected: "__type.
|
|
17980
|
+
})) && input.suggestions.map((elem, _index54) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
17981
|
+
path: _path + ".suggestions[" + _index54 + "]",
|
|
17982
|
+
expected: "__type.o41",
|
|
17661
17983
|
value: elem
|
|
17662
|
-
})) &&
|
|
17663
|
-
path: _path + ".suggestions[" +
|
|
17664
|
-
expected: "__type.
|
|
17984
|
+
})) && _vo48(elem, _path + ".suggestions[" + _index54 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
17985
|
+
path: _path + ".suggestions[" + _index54 + "]",
|
|
17986
|
+
expected: "__type.o41",
|
|
17665
17987
|
value: elem
|
|
17666
17988
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
17667
17989
|
path: _path + ".suggestions",
|
|
17668
|
-
expected: "(Array<__type
|
|
17990
|
+
expected: "(Array<__type>.o1 | undefined)",
|
|
17669
17991
|
value: input.suggestions
|
|
17670
17992
|
}), undefined === input.colors || (Array.isArray(input.colors) || _report(_exceptionable, {
|
|
17671
17993
|
path: _path + ".colors",
|
|
17672
|
-
expected: "(Array<__type>.
|
|
17994
|
+
expected: "(Array<__type>.o2 | undefined)",
|
|
17673
17995
|
value: input.colors
|
|
17674
|
-
})) && input.colors.map((elem,
|
|
17675
|
-
path: _path + ".colors[" +
|
|
17676
|
-
expected: "__type.
|
|
17996
|
+
})) && input.colors.map((elem, _index55) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
17997
|
+
path: _path + ".colors[" + _index55 + "]",
|
|
17998
|
+
expected: "__type.o42",
|
|
17677
17999
|
value: elem
|
|
17678
|
-
})) &&
|
|
17679
|
-
path: _path + ".colors[" +
|
|
17680
|
-
expected: "__type.
|
|
18000
|
+
})) && _vo49(elem, _path + ".colors[" + _index55 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
18001
|
+
path: _path + ".colors[" + _index55 + "]",
|
|
18002
|
+
expected: "__type.o42",
|
|
17681
18003
|
value: elem
|
|
17682
18004
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
17683
18005
|
path: _path + ".colors",
|
|
17684
|
-
expected: "(Array<__type>.
|
|
18006
|
+
expected: "(Array<__type>.o2 | undefined)",
|
|
17685
18007
|
value: input.colors
|
|
17686
18008
|
}), undefined === input.overridableProperties || (Array.isArray(input.overridableProperties) || _report(_exceptionable, {
|
|
17687
18009
|
path: _path + ".overridableProperties",
|
|
17688
18010
|
expected: "(Array<keyof SubtitleStyle | null> | undefined)",
|
|
17689
18011
|
value: input.overridableProperties
|
|
17690
|
-
})) && input.overridableProperties.map((elem,
|
|
17691
|
-
path: _path + ".overridableProperties[" +
|
|
17692
|
-
expected: "(\"alignment\" | \"angle\" | \"backColour\" | \"bold\" | \"borderStyle\" | \"encoding\" | \"fontname\" | \"fontsize\" | \"italic\" | \"marginL\" | \"marginR\" | \"marginV\" | \"name\" | \"outline\" | \"outlineColour\" | \"primaryColour\" | \"scaleX\" | \"scaleY\" | \"secondaryColour\" | \"shadow\" | \"spacing\" | \"strikeOut\" | \"underline\" | null)",
|
|
18012
|
+
})) && input.overridableProperties.map((elem, _index56) => null === elem || true === _vv57.has(elem) || _report(_exceptionable, {
|
|
18013
|
+
path: _path + ".overridableProperties[" + _index56 + "]",
|
|
18014
|
+
expected: "(\"alignment\" | \"angle\" | \"backColour\" | \"bold\" | \"borderStyle\" | \"encoding\" | \"fontname\" | \"fontsize\" | \"italic\" | \"lineSpacing\" | \"marginL\" | \"marginR\" | \"marginV\" | \"name\" | \"outline\" | \"outlineColour\" | \"primaryColour\" | \"scaleX\" | \"scaleY\" | \"secondaryColour\" | \"shadow\" | \"spacing\" | \"strikeOut\" | \"underline\" | null)",
|
|
17693
18015
|
value: elem
|
|
17694
18016
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
17695
18017
|
path: _path + ".overridableProperties",
|
|
17696
18018
|
expected: "(Array<keyof SubtitleStyle | null> | undefined)",
|
|
17697
18019
|
value: input.overridableProperties
|
|
17698
|
-
})
|
|
18020
|
+
}), undefined === input.previewResolutionScale || "number" === typeof input.previewResolutionScale || _report(_exceptionable, {
|
|
18021
|
+
path: _path + ".previewResolutionScale",
|
|
18022
|
+
expected: "(number | undefined)",
|
|
18023
|
+
value: input.previewResolutionScale
|
|
18024
|
+
})].every(flag => flag); const _vo48 = (input, _path, _exceptionable = true) => [null === input.ifAspectRatio || undefined === input.ifAspectRatio || "string" === typeof input.ifAspectRatio || _report(_exceptionable, {
|
|
17699
18025
|
path: _path + ".ifAspectRatio",
|
|
17700
18026
|
expected: "(null | string | undefined)",
|
|
17701
18027
|
value: input.ifAspectRatio
|
|
@@ -17711,7 +18037,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17711
18037
|
path: _path + ".thenMaxCharactersPerLine",
|
|
17712
18038
|
expected: "(null | number | undefined)",
|
|
17713
18039
|
value: input.thenMaxCharactersPerLine
|
|
17714
|
-
})].every(flag => flag); const
|
|
18040
|
+
})].every(flag => flag); const _vo49 = (input, _path, _exceptionable = true) => [null === input.label || undefined === input.label || "string" === typeof input.label || _report(_exceptionable, {
|
|
17715
18041
|
path: _path + ".label",
|
|
17716
18042
|
expected: "(null | string | undefined)",
|
|
17717
18043
|
value: input.label
|
|
@@ -17719,7 +18045,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17719
18045
|
path: _path + ".color",
|
|
17720
18046
|
expected: "(null | string | undefined)",
|
|
17721
18047
|
value: input.color
|
|
17722
|
-
})].every(flag => flag); const
|
|
18048
|
+
})].every(flag => flag); const _vo50 = (input, _path, _exceptionable = true) => [undefined === input.label || "string" === typeof input.label || _report(_exceptionable, {
|
|
17723
18049
|
path: _path + ".label",
|
|
17724
18050
|
expected: "(string | undefined)",
|
|
17725
18051
|
value: input.label
|
|
@@ -17727,7 +18053,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17727
18053
|
path: _path + ".aspectRatio",
|
|
17728
18054
|
expected: "(string | undefined)",
|
|
17729
18055
|
value: input.aspectRatio
|
|
17730
|
-
})].every(flag => flag); const
|
|
18056
|
+
})].every(flag => flag); const _vo51 = (input, _path, _exceptionable = true) => [undefined === input.enabled || "boolean" === typeof input.enabled || _report(_exceptionable, {
|
|
17731
18057
|
path: _path + ".enabled",
|
|
17732
18058
|
expected: "(boolean | undefined)",
|
|
17733
18059
|
value: input.enabled
|
|
@@ -17739,45 +18065,45 @@ function _validateDomainRecord(domain, input) {
|
|
|
17739
18065
|
path: _path + ".defaultExitOption",
|
|
17740
18066
|
expected: "(\"leave\" | \"none\" | \"update\" | undefined)",
|
|
17741
18067
|
value: input.defaultExitOption
|
|
17742
|
-
})].every(flag => flag); const
|
|
18068
|
+
})].every(flag => flag); const _vo52 = (input, _path, _exceptionable = true) => [undefined === input.subtitleDisclaimer || ("object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) || _report(_exceptionable, {
|
|
17743
18069
|
path: _path + ".subtitleDisclaimer",
|
|
17744
|
-
expected: "(__type.
|
|
18070
|
+
expected: "(__type.o46 | undefined)",
|
|
17745
18071
|
value: input.subtitleDisclaimer
|
|
17746
|
-
})) &&
|
|
18072
|
+
})) && _vo53(input.subtitleDisclaimer, _path + ".subtitleDisclaimer", true && _exceptionable) || _report(_exceptionable, {
|
|
17747
18073
|
path: _path + ".subtitleDisclaimer",
|
|
17748
|
-
expected: "(__type.
|
|
18074
|
+
expected: "(__type.o46 | undefined)",
|
|
17749
18075
|
value: input.subtitleDisclaimer
|
|
17750
|
-
})].every(flag => flag); const
|
|
18076
|
+
})].every(flag => flag); const _vo53 = (input, _path, _exceptionable = true) => [undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable || _report(_exceptionable, {
|
|
17751
18077
|
path: _path + ".isUserConfigurable",
|
|
17752
18078
|
expected: "(boolean | undefined)",
|
|
17753
18079
|
value: input.isUserConfigurable
|
|
17754
18080
|
}), undefined === input.defaultValue || ("object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) || _report(_exceptionable, {
|
|
17755
18081
|
path: _path + ".defaultValue",
|
|
17756
|
-
expected: "(__type.
|
|
18082
|
+
expected: "(__type.o47 | undefined)",
|
|
17757
18083
|
value: input.defaultValue
|
|
17758
|
-
})) &&
|
|
18084
|
+
})) && _vo54(input.defaultValue, _path + ".defaultValue", true && _exceptionable) || _report(_exceptionable, {
|
|
17759
18085
|
path: _path + ".defaultValue",
|
|
17760
|
-
expected: "(__type.
|
|
18086
|
+
expected: "(__type.o47 | undefined)",
|
|
17761
18087
|
value: input.defaultValue
|
|
17762
|
-
})].every(flag => flag); const
|
|
18088
|
+
})].every(flag => flag); const _vo54 = (input, _path, _exceptionable = true) => [undefined === input.enabled || false === input.enabled || _report(_exceptionable, {
|
|
17763
18089
|
path: _path + ".enabled",
|
|
17764
18090
|
expected: "(false | undefined)",
|
|
17765
18091
|
value: input.enabled
|
|
17766
18092
|
}), undefined === input.text || (Array.isArray(input.text) || _report(_exceptionable, {
|
|
17767
18093
|
path: _path + ".text",
|
|
17768
|
-
expected: "(Array<__type>.
|
|
18094
|
+
expected: "(Array<__type>.o4 | undefined)",
|
|
17769
18095
|
value: input.text
|
|
17770
|
-
})) && input.text.map((elem,
|
|
17771
|
-
path: _path + ".text[" +
|
|
17772
|
-
expected: "__type.
|
|
18096
|
+
})) && input.text.map((elem, _index58) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
18097
|
+
path: _path + ".text[" + _index58 + "]",
|
|
18098
|
+
expected: "__type.o48",
|
|
17773
18099
|
value: elem
|
|
17774
|
-
})) &&
|
|
17775
|
-
path: _path + ".text[" +
|
|
17776
|
-
expected: "__type.
|
|
18100
|
+
})) && _vo55(elem, _path + ".text[" + _index58 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
18101
|
+
path: _path + ".text[" + _index58 + "]",
|
|
18102
|
+
expected: "__type.o48",
|
|
17777
18103
|
value: elem
|
|
17778
18104
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
17779
18105
|
path: _path + ".text",
|
|
17780
|
-
expected: "(Array<__type>.
|
|
18106
|
+
expected: "(Array<__type>.o4 | undefined)",
|
|
17781
18107
|
value: input.text
|
|
17782
18108
|
}), undefined === input.offset || "number" === typeof input.offset || _report(_exceptionable, {
|
|
17783
18109
|
path: _path + ".offset",
|
|
@@ -17787,7 +18113,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17787
18113
|
path: _path + ".duration",
|
|
17788
18114
|
expected: "(number | undefined)",
|
|
17789
18115
|
value: input.duration
|
|
17790
|
-
})].every(flag => flag); const
|
|
18116
|
+
})].every(flag => flag); const _vo55 = (input, _path, _exceptionable = true) => [undefined === input.language || "string" === typeof input.language || _report(_exceptionable, {
|
|
17791
18117
|
path: _path + ".language",
|
|
17792
18118
|
expected: "(string | undefined)",
|
|
17793
18119
|
value: input.language
|
|
@@ -17795,7 +18121,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17795
18121
|
path: _path + ".value",
|
|
17796
18122
|
expected: "(string | undefined)",
|
|
17797
18123
|
value: input.value
|
|
17798
|
-
})].every(flag => flag); const
|
|
18124
|
+
})].every(flag => flag); const _vo56 = (input, _path, _exceptionable = true) => [undefined === input.url || "string" === typeof input.url || _report(_exceptionable, {
|
|
17799
18125
|
path: _path + ".url",
|
|
17800
18126
|
expected: "(string | undefined)",
|
|
17801
18127
|
value: input.url
|
|
@@ -17811,55 +18137,55 @@ function _validateDomainRecord(domain, input) {
|
|
|
17811
18137
|
path: _path + ".args",
|
|
17812
18138
|
expected: "(Array<string> | undefined)",
|
|
17813
18139
|
value: input.args
|
|
17814
|
-
})) && input.args.map((elem,
|
|
17815
|
-
path: _path + ".args[" +
|
|
18140
|
+
})) && input.args.map((elem, _index59) => "string" === typeof elem || _report(_exceptionable, {
|
|
18141
|
+
path: _path + ".args[" + _index59 + "]",
|
|
17816
18142
|
expected: "string",
|
|
17817
18143
|
value: elem
|
|
17818
18144
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
17819
18145
|
path: _path + ".args",
|
|
17820
18146
|
expected: "(Array<string> | undefined)",
|
|
17821
18147
|
value: input.args
|
|
17822
|
-
})].every(flag => flag); const
|
|
18148
|
+
})].every(flag => flag); const _vo57 = (input, _path, _exceptionable = true) => [undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView || _report(_exceptionable, {
|
|
17823
18149
|
path: _path + ".thumbnailView",
|
|
17824
18150
|
expected: "(\"filmStrip\" | \"none\" | \"thumbnail\" | undefined)",
|
|
17825
18151
|
value: input.thumbnailView
|
|
17826
18152
|
}), undefined === input.normalize || ("object" === typeof input.normalize && null !== input.normalize && false === Array.isArray(input.normalize) || _report(_exceptionable, {
|
|
17827
18153
|
path: _path + ".normalize",
|
|
17828
|
-
expected: "(__type.
|
|
18154
|
+
expected: "(__type.o51 | undefined)",
|
|
17829
18155
|
value: input.normalize
|
|
17830
|
-
})) &&
|
|
18156
|
+
})) && _vo58(input.normalize, _path + ".normalize", true && _exceptionable) || _report(_exceptionable, {
|
|
17831
18157
|
path: _path + ".normalize",
|
|
17832
|
-
expected: "(__type.
|
|
18158
|
+
expected: "(__type.o51 | undefined)",
|
|
17833
18159
|
value: input.normalize
|
|
17834
18160
|
}), undefined === input.voiceOver || ("object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) || _report(_exceptionable, {
|
|
17835
18161
|
path: _path + ".voiceOver",
|
|
17836
|
-
expected: "(__type.
|
|
18162
|
+
expected: "(__type.o53 | undefined)",
|
|
17837
18163
|
value: input.voiceOver
|
|
17838
|
-
})) &&
|
|
18164
|
+
})) && _vo60(input.voiceOver, _path + ".voiceOver", true && _exceptionable) || _report(_exceptionable, {
|
|
17839
18165
|
path: _path + ".voiceOver",
|
|
17840
|
-
expected: "(__type.
|
|
18166
|
+
expected: "(__type.o53 | undefined)",
|
|
17841
18167
|
value: input.voiceOver
|
|
17842
|
-
})].every(flag => flag); const
|
|
18168
|
+
})].every(flag => flag); const _vo58 = (input, _path, _exceptionable = true) => [undefined === input.presets || (Array.isArray(input.presets) || _report(_exceptionable, {
|
|
17843
18169
|
path: _path + ".presets",
|
|
17844
|
-
expected: "(Array<__type>.
|
|
18170
|
+
expected: "(Array<__type>.o5 | undefined)",
|
|
17845
18171
|
value: input.presets
|
|
17846
|
-
})) && input.presets.map((elem,
|
|
17847
|
-
path: _path + ".presets[" +
|
|
17848
|
-
expected: "__type.
|
|
18172
|
+
})) && input.presets.map((elem, _index60) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
18173
|
+
path: _path + ".presets[" + _index60 + "]",
|
|
18174
|
+
expected: "__type.o52",
|
|
17849
18175
|
value: elem
|
|
17850
|
-
})) &&
|
|
17851
|
-
path: _path + ".presets[" +
|
|
17852
|
-
expected: "__type.
|
|
18176
|
+
})) && _vo59(elem, _path + ".presets[" + _index60 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
18177
|
+
path: _path + ".presets[" + _index60 + "]",
|
|
18178
|
+
expected: "__type.o52",
|
|
17853
18179
|
value: elem
|
|
17854
18180
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
17855
18181
|
path: _path + ".presets",
|
|
17856
|
-
expected: "(Array<__type>.
|
|
18182
|
+
expected: "(Array<__type>.o5 | undefined)",
|
|
17857
18183
|
value: input.presets
|
|
17858
18184
|
}), undefined === input.defaultPresetId || "string" === typeof input.defaultPresetId || _report(_exceptionable, {
|
|
17859
18185
|
path: _path + ".defaultPresetId",
|
|
17860
18186
|
expected: "(string | undefined)",
|
|
17861
18187
|
value: input.defaultPresetId
|
|
17862
|
-
})].every(flag => flag); const
|
|
18188
|
+
})].every(flag => flag); const _vo59 = (input, _path, _exceptionable = true) => ["string" === typeof input.id || _report(_exceptionable, {
|
|
17863
18189
|
path: _path + ".id",
|
|
17864
18190
|
expected: "string",
|
|
17865
18191
|
value: input.id
|
|
@@ -17875,7 +18201,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17875
18201
|
path: _path + ".tp",
|
|
17876
18202
|
expected: "number",
|
|
17877
18203
|
value: input.tp
|
|
17878
|
-
})].every(flag => flag); const
|
|
18204
|
+
})].every(flag => flag); const _vo60 = (input, _path, _exceptionable = true) => [undefined === input.inputDevice || "string" === typeof input.inputDevice || _report(_exceptionable, {
|
|
17879
18205
|
path: _path + ".inputDevice",
|
|
17880
18206
|
expected: "(string | undefined)",
|
|
17881
18207
|
value: input.inputDevice
|
|
@@ -17895,7 +18221,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17895
18221
|
path: _path + ".preRollDuration",
|
|
17896
18222
|
expected: "(number | undefined)",
|
|
17897
18223
|
value: input.preRollDuration
|
|
17898
|
-
})].every(flag => flag); const
|
|
18224
|
+
})].every(flag => flag); const _vo61 = (input, _path, _exceptionable = true) => [undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
17899
18225
|
path: _path + ".title",
|
|
17900
18226
|
expected: "(string | undefined)",
|
|
17901
18227
|
value: input.title
|
|
@@ -17907,75 +18233,75 @@ function _validateDomainRecord(domain, input) {
|
|
|
17907
18233
|
path: _path + ".args",
|
|
17908
18234
|
expected: "(Array<string> | undefined)",
|
|
17909
18235
|
value: input.args
|
|
17910
|
-
})) && input.args.map((elem,
|
|
17911
|
-
path: _path + ".args[" +
|
|
18236
|
+
})) && input.args.map((elem, _index61) => "string" === typeof elem || _report(_exceptionable, {
|
|
18237
|
+
path: _path + ".args[" + _index61 + "]",
|
|
17912
18238
|
expected: "string",
|
|
17913
18239
|
value: elem
|
|
17914
18240
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
17915
18241
|
path: _path + ".args",
|
|
17916
18242
|
expected: "(Array<string> | undefined)",
|
|
17917
18243
|
value: input.args
|
|
17918
|
-
})].every(flag => flag); const
|
|
18244
|
+
})].every(flag => flag); const _vo62 = (input, _path, _exceptionable = true) => [undefined === input.folded || ("object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) || _report(_exceptionable, {
|
|
17919
18245
|
path: _path + ".folded",
|
|
17920
|
-
expected: "(__type.
|
|
18246
|
+
expected: "(__type.o56 | undefined)",
|
|
17921
18247
|
value: input.folded
|
|
17922
|
-
})) &&
|
|
18248
|
+
})) && _vo63(input.folded, _path + ".folded", true && _exceptionable) || _report(_exceptionable, {
|
|
17923
18249
|
path: _path + ".folded",
|
|
17924
|
-
expected: "(__type.
|
|
18250
|
+
expected: "(__type.o56 | undefined)",
|
|
17925
18251
|
value: input.folded
|
|
17926
18252
|
}), undefined === input.assets || ("object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) || _report(_exceptionable, {
|
|
17927
18253
|
path: _path + ".assets",
|
|
17928
|
-
expected: "(__type.
|
|
18254
|
+
expected: "(__type.o57 | undefined)",
|
|
17929
18255
|
value: input.assets
|
|
17930
|
-
})) &&
|
|
18256
|
+
})) && _vo64(input.assets, _path + ".assets", true && _exceptionable) || _report(_exceptionable, {
|
|
17931
18257
|
path: _path + ".assets",
|
|
17932
|
-
expected: "(__type.
|
|
18258
|
+
expected: "(__type.o57 | undefined)",
|
|
17933
18259
|
value: input.assets
|
|
17934
18260
|
}), undefined === input.pipeline || ("object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) || _report(_exceptionable, {
|
|
17935
18261
|
path: _path + ".pipeline",
|
|
17936
|
-
expected: "(__type.
|
|
18262
|
+
expected: "(__type.o61 | undefined)",
|
|
17937
18263
|
value: input.pipeline
|
|
17938
|
-
})) &&
|
|
18264
|
+
})) && _vo68(input.pipeline, _path + ".pipeline", true && _exceptionable) || _report(_exceptionable, {
|
|
17939
18265
|
path: _path + ".pipeline",
|
|
17940
|
-
expected: "(__type.
|
|
18266
|
+
expected: "(__type.o61 | undefined)",
|
|
17941
18267
|
value: input.pipeline
|
|
17942
18268
|
}), undefined === input.item || ("object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) || _report(_exceptionable, {
|
|
17943
18269
|
path: _path + ".item",
|
|
17944
|
-
expected: "(__type.
|
|
18270
|
+
expected: "(__type.o63 | undefined)",
|
|
17945
18271
|
value: input.item
|
|
17946
|
-
})) &&
|
|
18272
|
+
})) && _vo70(input.item, _path + ".item", true && _exceptionable) || _report(_exceptionable, {
|
|
17947
18273
|
path: _path + ".item",
|
|
17948
|
-
expected: "(__type.
|
|
18274
|
+
expected: "(__type.o63 | undefined)",
|
|
17949
18275
|
value: input.item
|
|
17950
|
-
})].every(flag => flag); const
|
|
18276
|
+
})].every(flag => flag); const _vo63 = (input, _path, _exceptionable = true) => [undefined === input.auto || "boolean" === typeof input.auto || _report(_exceptionable, {
|
|
17951
18277
|
path: _path + ".auto",
|
|
17952
18278
|
expected: "(boolean | undefined)",
|
|
17953
18279
|
value: input.auto
|
|
17954
|
-
})].every(flag => flag); const
|
|
18280
|
+
})].every(flag => flag); const _vo64 = (input, _path, _exceptionable = true) => [undefined === input.story || ("object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) || _report(_exceptionable, {
|
|
17955
18281
|
path: _path + ".story",
|
|
17956
|
-
expected: "(__type.
|
|
18282
|
+
expected: "(__type.o58 | undefined)",
|
|
17957
18283
|
value: input.story
|
|
17958
|
-
})) &&
|
|
18284
|
+
})) && _vo65(input.story, _path + ".story", true && _exceptionable) || _report(_exceptionable, {
|
|
17959
18285
|
path: _path + ".story",
|
|
17960
|
-
expected: "(__type.
|
|
18286
|
+
expected: "(__type.o58 | undefined)",
|
|
17961
18287
|
value: input.story
|
|
17962
18288
|
}), undefined === input.note || ("object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) || _report(_exceptionable, {
|
|
17963
18289
|
path: _path + ".note",
|
|
17964
|
-
expected: "(__type.
|
|
18290
|
+
expected: "(__type.o60 | undefined)",
|
|
17965
18291
|
value: input.note
|
|
17966
|
-
})) &&
|
|
18292
|
+
})) && _vo67(input.note, _path + ".note", true && _exceptionable) || _report(_exceptionable, {
|
|
17967
18293
|
path: _path + ".note",
|
|
17968
|
-
expected: "(__type.
|
|
18294
|
+
expected: "(__type.o60 | undefined)",
|
|
17969
18295
|
value: input.note
|
|
17970
|
-
})].every(flag => flag); const
|
|
18296
|
+
})].every(flag => flag); const _vo65 = (input, _path, _exceptionable = true) => [undefined === input.excerpt || ("object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) || _report(_exceptionable, {
|
|
17971
18297
|
path: _path + ".excerpt",
|
|
17972
|
-
expected: "(__type.
|
|
18298
|
+
expected: "(__type.o59 | undefined)",
|
|
17973
18299
|
value: input.excerpt
|
|
17974
|
-
})) &&
|
|
18300
|
+
})) && _vo66(input.excerpt, _path + ".excerpt", true && _exceptionable) || _report(_exceptionable, {
|
|
17975
18301
|
path: _path + ".excerpt",
|
|
17976
|
-
expected: "(__type.
|
|
18302
|
+
expected: "(__type.o59 | undefined)",
|
|
17977
18303
|
value: input.excerpt
|
|
17978
|
-
})].every(flag => flag); const
|
|
18304
|
+
})].every(flag => flag); const _vo66 = (input, _path, _exceptionable = true) => [undefined === input.maxLines || "number" === typeof input.maxLines || _report(_exceptionable, {
|
|
17979
18305
|
path: _path + ".maxLines",
|
|
17980
18306
|
expected: "(number | undefined)",
|
|
17981
18307
|
value: input.maxLines
|
|
@@ -17987,27 +18313,27 @@ function _validateDomainRecord(domain, input) {
|
|
|
17987
18313
|
path: _path + ".comments",
|
|
17988
18314
|
expected: "(boolean | undefined)",
|
|
17989
18315
|
value: input.comments
|
|
17990
|
-
})].every(flag => flag); const
|
|
18316
|
+
})].every(flag => flag); const _vo67 = (input, _path, _exceptionable = true) => [undefined === input.maxHeight || "number" === typeof input.maxHeight || _report(_exceptionable, {
|
|
17991
18317
|
path: _path + ".maxHeight",
|
|
17992
18318
|
expected: "(number | undefined)",
|
|
17993
18319
|
value: input.maxHeight
|
|
17994
|
-
})].every(flag => flag); const
|
|
18320
|
+
})].every(flag => flag); const _vo68 = (input, _path, _exceptionable = true) => [undefined === input.search || ("object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) || _report(_exceptionable, {
|
|
17995
18321
|
path: _path + ".search",
|
|
17996
|
-
expected: "(__type.
|
|
18322
|
+
expected: "(__type.o62 | undefined)",
|
|
17997
18323
|
value: input.search
|
|
17998
|
-
})) &&
|
|
18324
|
+
})) && _vo69(input.search, _path + ".search", true && _exceptionable) || _report(_exceptionable, {
|
|
17999
18325
|
path: _path + ".search",
|
|
18000
|
-
expected: "(__type.
|
|
18326
|
+
expected: "(__type.o62 | undefined)",
|
|
18001
18327
|
value: input.search
|
|
18002
|
-
}), undefined === input.sortMode || true ===
|
|
18328
|
+
}), undefined === input.sortMode || true === _vv62.has(input.sortMode) || _report(_exceptionable, {
|
|
18003
18329
|
path: _path + ".sortMode",
|
|
18004
18330
|
expected: "(\"az\" | \"default\" | \"earliestdeadline\" | \"latestdeadline\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
|
|
18005
18331
|
value: input.sortMode
|
|
18006
|
-
})].every(flag => flag); const
|
|
18332
|
+
})].every(flag => flag); const _vo69 = (input, _path, _exceptionable = true) => [undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed || _report(_exceptionable, {
|
|
18007
18333
|
path: _path + ".maxItemsDisplayed",
|
|
18008
18334
|
expected: "(number | undefined)",
|
|
18009
18335
|
value: input.maxItemsDisplayed
|
|
18010
|
-
})].every(flag => flag); const
|
|
18336
|
+
})].every(flag => flag); const _vo70 = (input, _path, _exceptionable = true) => [undefined === input.maxHeight || "number" === typeof input.maxHeight || _report(_exceptionable, {
|
|
18011
18337
|
path: _path + ".maxHeight",
|
|
18012
18338
|
expected: "(number | undefined)",
|
|
18013
18339
|
value: input.maxHeight
|
|
@@ -18015,19 +18341,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
18015
18341
|
path: _path + ".titleLines",
|
|
18016
18342
|
expected: "(number | undefined)",
|
|
18017
18343
|
value: input.titleLines
|
|
18018
|
-
})].every(flag => flag); const
|
|
18344
|
+
})].every(flag => flag); const _vo71 = (input, _path, _exceptionable = true) => [undefined === input.fontFamilies || (Array.isArray(input.fontFamilies) || _report(_exceptionable, {
|
|
18019
18345
|
path: _path + ".fontFamilies",
|
|
18020
18346
|
expected: "(Array<string> | undefined)",
|
|
18021
18347
|
value: input.fontFamilies
|
|
18022
|
-
})) && input.fontFamilies.map((elem,
|
|
18023
|
-
path: _path + ".fontFamilies[" +
|
|
18348
|
+
})) && input.fontFamilies.map((elem, _index63) => "string" === typeof elem || _report(_exceptionable, {
|
|
18349
|
+
path: _path + ".fontFamilies[" + _index63 + "]",
|
|
18024
18350
|
expected: "string",
|
|
18025
18351
|
value: elem
|
|
18026
18352
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
18027
18353
|
path: _path + ".fontFamilies",
|
|
18028
18354
|
expected: "(Array<string> | undefined)",
|
|
18029
18355
|
value: input.fontFamilies
|
|
18030
|
-
})].every(flag => flag); const
|
|
18356
|
+
})].every(flag => flag); const _vo72 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
18031
18357
|
path: _path + ".id",
|
|
18032
18358
|
expected: "(string | undefined)",
|
|
18033
18359
|
value: input.id
|
|
@@ -18035,31 +18361,31 @@ function _validateDomainRecord(domain, input) {
|
|
|
18035
18361
|
path: _path + ".folded",
|
|
18036
18362
|
expected: "(boolean | undefined)",
|
|
18037
18363
|
value: input.folded
|
|
18038
|
-
})].every(flag => flag); const
|
|
18364
|
+
})].every(flag => flag); const _vo73 = (input, _path, _exceptionable = true) => [undefined === input.adobe || ("object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) || _report(_exceptionable, {
|
|
18039
18365
|
path: _path + ".adobe",
|
|
18040
|
-
expected: "(__type.
|
|
18366
|
+
expected: "(__type.o67 | undefined)",
|
|
18041
18367
|
value: input.adobe
|
|
18042
|
-
})) &&
|
|
18368
|
+
})) && _vo74(input.adobe, _path + ".adobe", true && _exceptionable) || _report(_exceptionable, {
|
|
18043
18369
|
path: _path + ".adobe",
|
|
18044
|
-
expected: "(__type.
|
|
18370
|
+
expected: "(__type.o67 | undefined)",
|
|
18045
18371
|
value: input.adobe
|
|
18046
18372
|
}), undefined === input.rive || ("object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) || _report(_exceptionable, {
|
|
18047
18373
|
path: _path + ".rive",
|
|
18048
|
-
expected: "(__type.
|
|
18374
|
+
expected: "(__type.o68 | undefined)",
|
|
18049
18375
|
value: input.rive
|
|
18050
|
-
})) &&
|
|
18376
|
+
})) && _vo75(input.rive, _path + ".rive", true && _exceptionable) || _report(_exceptionable, {
|
|
18051
18377
|
path: _path + ".rive",
|
|
18052
|
-
expected: "(__type.
|
|
18378
|
+
expected: "(__type.o68 | undefined)",
|
|
18053
18379
|
value: input.rive
|
|
18054
|
-
})].every(flag => flag); const
|
|
18380
|
+
})].every(flag => flag); const _vo74 = (input, _path, _exceptionable = true) => [undefined === input.useProxies || "boolean" === typeof input.useProxies || _report(_exceptionable, {
|
|
18055
18381
|
path: _path + ".useProxies",
|
|
18056
18382
|
expected: "(boolean | undefined)",
|
|
18057
18383
|
value: input.useProxies
|
|
18058
|
-
})].every(flag => flag); const
|
|
18384
|
+
})].every(flag => flag); const _vo75 = (input, _path, _exceptionable = true) => [undefined === input.template || "string" === typeof input.template || _report(_exceptionable, {
|
|
18059
18385
|
path: _path + ".template",
|
|
18060
18386
|
expected: "(string | undefined)",
|
|
18061
18387
|
value: input.template
|
|
18062
|
-
})].every(flag => flag); const
|
|
18388
|
+
})].every(flag => flag); const _vo76 = (input, _path, _exceptionable = true) => [undefined === input.collections || "boolean" === typeof input.collections || _report(_exceptionable, {
|
|
18063
18389
|
path: _path + ".collections",
|
|
18064
18390
|
expected: "(boolean | undefined)",
|
|
18065
18391
|
value: input.collections
|
|
@@ -18071,7 +18397,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
18071
18397
|
path: _path + ".ameRemoteRendering",
|
|
18072
18398
|
expected: "(boolean | undefined)",
|
|
18073
18399
|
value: input.ameRemoteRendering
|
|
18074
|
-
})].every(flag => flag); const
|
|
18400
|
+
})].every(flag => flag); const _vo77 = (input, _path, _exceptionable = true) => [undefined === input.utils || "boolean" === typeof input.utils || _report(_exceptionable, {
|
|
18075
18401
|
path: _path + ".utils",
|
|
18076
18402
|
expected: "(boolean | undefined)",
|
|
18077
18403
|
value: input.utils
|
|
@@ -18147,20 +18473,20 @@ function _validateDomainRecord(domain, input) {
|
|
|
18147
18473
|
path: _path + ".systemHealth",
|
|
18148
18474
|
expected: "(boolean | undefined)",
|
|
18149
18475
|
value: input.systemHealth
|
|
18150
|
-
})].every(flag => flag); const
|
|
18476
|
+
})].every(flag => flag); const _vo78 = (input, _path, _exceptionable = true) => [undefined === input.events || ("object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) || _report(_exceptionable, {
|
|
18151
18477
|
path: _path + ".events",
|
|
18152
|
-
expected: "(__type.
|
|
18478
|
+
expected: "(__type.o72 | undefined)",
|
|
18153
18479
|
value: input.events
|
|
18154
|
-
})) &&
|
|
18480
|
+
})) && _vo79(input.events, _path + ".events", true && _exceptionable) || _report(_exceptionable, {
|
|
18155
18481
|
path: _path + ".events",
|
|
18156
|
-
expected: "(__type.
|
|
18482
|
+
expected: "(__type.o72 | undefined)",
|
|
18157
18483
|
value: input.events
|
|
18158
|
-
})].every(flag => flag); const
|
|
18484
|
+
})].every(flag => flag); const _vo79 = (input, _path, _exceptionable = true) => [undefined === input.comment || (Array.isArray(input.comment) || _report(_exceptionable, {
|
|
18159
18485
|
path: _path + ".comment",
|
|
18160
18486
|
expected: "(Array<NotificationReason> | undefined)",
|
|
18161
18487
|
value: input.comment
|
|
18162
|
-
})) && input.comment.map((elem,
|
|
18163
|
-
path: _path + ".comment[" +
|
|
18488
|
+
})) && input.comment.map((elem, _index64) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
18489
|
+
path: _path + ".comment[" + _index64 + "]",
|
|
18164
18490
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
18165
18491
|
value: elem
|
|
18166
18492
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18171,8 +18497,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
18171
18497
|
path: _path + ".assigned",
|
|
18172
18498
|
expected: "(Array<NotificationReason> | undefined)",
|
|
18173
18499
|
value: input.assigned
|
|
18174
|
-
})) && input.assigned.map((elem,
|
|
18175
|
-
path: _path + ".assigned[" +
|
|
18500
|
+
})) && input.assigned.map((elem, _index65) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
18501
|
+
path: _path + ".assigned[" + _index65 + "]",
|
|
18176
18502
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
18177
18503
|
value: elem
|
|
18178
18504
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18183,8 +18509,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
18183
18509
|
path: _path + ".unassigned",
|
|
18184
18510
|
expected: "(Array<NotificationReason> | undefined)",
|
|
18185
18511
|
value: input.unassigned
|
|
18186
|
-
})) && input.unassigned.map((elem,
|
|
18187
|
-
path: _path + ".unassigned[" +
|
|
18512
|
+
})) && input.unassigned.map((elem, _index66) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
18513
|
+
path: _path + ".unassigned[" + _index66 + "]",
|
|
18188
18514
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
18189
18515
|
value: elem
|
|
18190
18516
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18193,13 +18519,13 @@ function _validateDomainRecord(domain, input) {
|
|
|
18193
18519
|
value: input.unassigned
|
|
18194
18520
|
}), undefined === input.publishSucceeded || ("object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) || _report(_exceptionable, {
|
|
18195
18521
|
path: _path + ".publishSucceeded",
|
|
18196
|
-
expected: "(__type.
|
|
18522
|
+
expected: "(__type.o73 | undefined)",
|
|
18197
18523
|
value: input.publishSucceeded
|
|
18198
|
-
})) &&
|
|
18524
|
+
})) && _vo80(input.publishSucceeded, _path + ".publishSucceeded", true && _exceptionable) || _report(_exceptionable, {
|
|
18199
18525
|
path: _path + ".publishSucceeded",
|
|
18200
|
-
expected: "(__type.
|
|
18526
|
+
expected: "(__type.o73 | undefined)",
|
|
18201
18527
|
value: input.publishSucceeded
|
|
18202
|
-
})].every(flag => flag); const
|
|
18528
|
+
})].every(flag => flag); const _vo80 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
18203
18529
|
const value = input[key];
|
|
18204
18530
|
if (undefined === value)
|
|
18205
18531
|
return true;
|
|
@@ -18207,8 +18533,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
18207
18533
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
18208
18534
|
expected: "Array<NotificationReason>",
|
|
18209
18535
|
value: value
|
|
18210
|
-
})) && value.map((elem,
|
|
18211
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" +
|
|
18536
|
+
})) && value.map((elem, _index67) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
18537
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index67 + "]",
|
|
18212
18538
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
18213
18539
|
value: elem
|
|
18214
18540
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18216,15 +18542,23 @@ function _validateDomainRecord(domain, input) {
|
|
|
18216
18542
|
expected: "Array<NotificationReason>",
|
|
18217
18543
|
value: value
|
|
18218
18544
|
});
|
|
18219
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
18545
|
+
}).every(flag => flag)].every(flag => flag); const _vo81 = (input, _path, _exceptionable = true) => [undefined === input.create || ("object" === typeof input.create && null !== input.create && false === Array.isArray(input.create) || _report(_exceptionable, {
|
|
18546
|
+
path: _path + ".create",
|
|
18547
|
+
expected: "(__type.o75 | undefined)",
|
|
18548
|
+
value: input.create
|
|
18549
|
+
})) && _vo82(input.create, _path + ".create", true && _exceptionable) || _report(_exceptionable, {
|
|
18550
|
+
path: _path + ".create",
|
|
18551
|
+
expected: "(__type.o75 | undefined)",
|
|
18552
|
+
value: input.create
|
|
18553
|
+
}), undefined === input.duplicate || ("object" === typeof input.duplicate && null !== input.duplicate && false === Array.isArray(input.duplicate) || _report(_exceptionable, {
|
|
18220
18554
|
path: _path + ".duplicate",
|
|
18221
|
-
expected: "(__type.
|
|
18555
|
+
expected: "(__type.o76 | undefined)",
|
|
18222
18556
|
value: input.duplicate
|
|
18223
|
-
})) &&
|
|
18557
|
+
})) && _vo83(input.duplicate, _path + ".duplicate", true && _exceptionable) || _report(_exceptionable, {
|
|
18224
18558
|
path: _path + ".duplicate",
|
|
18225
|
-
expected: "(__type.
|
|
18559
|
+
expected: "(__type.o76 | undefined)",
|
|
18226
18560
|
value: input.duplicate
|
|
18227
|
-
})].every(flag => flag); const
|
|
18561
|
+
})].every(flag => flag); const _vo82 = (input, _path, _exceptionable = true) => [undefined === input.titlePrefix || "string" === typeof input.titlePrefix || _report(_exceptionable, {
|
|
18228
18562
|
path: _path + ".titlePrefix",
|
|
18229
18563
|
expected: "(string | undefined)",
|
|
18230
18564
|
value: input.titlePrefix
|
|
@@ -18232,12 +18566,20 @@ function _validateDomainRecord(domain, input) {
|
|
|
18232
18566
|
path: _path + ".titleSuffix",
|
|
18233
18567
|
expected: "(string | undefined)",
|
|
18234
18568
|
value: input.titleSuffix
|
|
18235
|
-
})].every(flag => flag); const
|
|
18569
|
+
})].every(flag => flag); const _vo83 = (input, _path, _exceptionable = true) => [undefined === input.titlePrefix || "string" === typeof input.titlePrefix || _report(_exceptionable, {
|
|
18570
|
+
path: _path + ".titlePrefix",
|
|
18571
|
+
expected: "(string | undefined)",
|
|
18572
|
+
value: input.titlePrefix
|
|
18573
|
+
}), undefined === input.titleSuffix || "string" === typeof input.titleSuffix || _report(_exceptionable, {
|
|
18574
|
+
path: _path + ".titleSuffix",
|
|
18575
|
+
expected: "(string | undefined)",
|
|
18576
|
+
value: input.titleSuffix
|
|
18577
|
+
})].every(flag => flag); const _vo84 = (input, _path, _exceptionable = true) => [undefined === input.stateFilter || (Array.isArray(input.stateFilter) || _report(_exceptionable, {
|
|
18236
18578
|
path: _path + ".stateFilter",
|
|
18237
18579
|
expected: "(Array<number> | undefined)",
|
|
18238
18580
|
value: input.stateFilter
|
|
18239
|
-
})) && input.stateFilter.map((elem,
|
|
18240
|
-
path: _path + ".stateFilter[" +
|
|
18581
|
+
})) && input.stateFilter.map((elem, _index68) => "number" === typeof elem || _report(_exceptionable, {
|
|
18582
|
+
path: _path + ".stateFilter[" + _index68 + "]",
|
|
18241
18583
|
expected: "number",
|
|
18242
18584
|
value: elem
|
|
18243
18585
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18264,14 +18606,18 @@ function _validateDomainRecord(domain, input) {
|
|
|
18264
18606
|
path: _path + ".parseRegex",
|
|
18265
18607
|
expected: "(boolean | undefined)",
|
|
18266
18608
|
value: input.parseRegex
|
|
18267
|
-
})].every(flag => flag); const
|
|
18609
|
+
})].every(flag => flag); const _vo85 = (input, _path, _exceptionable = true) => [undefined === input.disableHotArea || "boolean" === typeof input.disableHotArea || _report(_exceptionable, {
|
|
18268
18610
|
path: _path + ".disableHotArea",
|
|
18269
18611
|
expected: "(boolean | undefined)",
|
|
18270
18612
|
value: input.disableHotArea
|
|
18271
|
-
})].every(flag => flag); const
|
|
18613
|
+
})].every(flag => flag); const _vo86 = (input, _path, _exceptionable = true) => [undefined === input.refreshInterval || "number" === typeof input.refreshInterval || _report(_exceptionable, {
|
|
18272
18614
|
path: _path + ".refreshInterval",
|
|
18273
18615
|
expected: "(number | undefined)",
|
|
18274
18616
|
value: input.refreshInterval
|
|
18617
|
+
})].every(flag => flag); const _vo87 = (input, _path, _exceptionable = true) => [undefined === input.layout || "string" === typeof input.layout || _report(_exceptionable, {
|
|
18618
|
+
path: _path + ".layout",
|
|
18619
|
+
expected: "(string | undefined)",
|
|
18620
|
+
value: input.layout
|
|
18275
18621
|
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
18276
18622
|
if (false === __is(input)) {
|
|
18277
18623
|
errors = [];
|
|
@@ -18358,7 +18704,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
18358
18704
|
}; })()(input);
|
|
18359
18705
|
}
|
|
18360
18706
|
case ":shotbox": {
|
|
18361
|
-
return (() => { const _io0 = input => undefined === input.pages || Array.isArray(input.pages) && input.pages.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem)); const _io1 = input => (undefined === input.stickyTopRow || "boolean" === typeof input.stickyTopRow) && (undefined === input.inferGroups || "boolean" === typeof input.inferGroups) && (undefined === input.layout || Array.isArray(input.layout) && input.layout.every(elem => null !== elem && undefined !== elem && (Array.isArray(elem) && elem.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)))); const _io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.sticky || "boolean" === typeof input.sticky) && (undefined === input.type || "trigger" === input.type || "toggle" === input.type) && (undefined === input.width || "string" === typeof input.width) && (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)) && (undefined === input.states || "object" === typeof input.states && null !== input.states && _io3(input.states)) && (undefined === input.flow || "column" === input.flow || "row" === input.flow) && (undefined === input.minRows || "number" === typeof input.minRows) && (undefined === input.maxRows || "number" === typeof input.maxRows); const _io3 = input => "boolean" === typeof input.completed; const _io4 = input => "stream" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.width || "string" === typeof input.width) && (undefined === input.source || "string" === typeof input.source); const _iu0 = input => (() => {
|
|
18707
|
+
return (() => { const _io0 = input => undefined === input.pages || Array.isArray(input.pages) && input.pages.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem)); const _io1 = input => (undefined === input.stickyTopRow || "boolean" === typeof input.stickyTopRow) && (undefined === input.inferGroups || "boolean" === typeof input.inferGroups) && (undefined === input.excludeFromInferredGroups || Array.isArray(input.excludeFromInferredGroups) && input.excludeFromInferredGroups.every(elem => "string" === typeof elem)) && (undefined === input.layout || Array.isArray(input.layout) && input.layout.every(elem => null !== elem && undefined !== elem && (Array.isArray(elem) && elem.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)))); const _io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.sticky || "boolean" === typeof input.sticky) && (undefined === input.type || "trigger" === input.type || "toggle" === input.type) && (undefined === input.width || "string" === typeof input.width) && (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)) && (undefined === input.states || "object" === typeof input.states && null !== input.states && _io3(input.states)) && (undefined === input.flow || "column" === input.flow || "row" === input.flow) && (undefined === input.minRows || "number" === typeof input.minRows) && (undefined === input.maxRows || "number" === typeof input.maxRows); const _io3 = input => "boolean" === typeof input.completed; const _io4 = input => "stream" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.width || "string" === typeof input.width) && (undefined === input.source || "string" === typeof input.source); const _iu0 = input => (() => {
|
|
18362
18708
|
if ("stream" === input.type)
|
|
18363
18709
|
return _io4(input);
|
|
18364
18710
|
else
|
|
@@ -18367,12 +18713,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
18367
18713
|
path: _path + ".pages",
|
|
18368
18714
|
expected: "(Array<ShotboxPage> | undefined)",
|
|
18369
18715
|
value: input.pages
|
|
18370
|
-
})) && input.pages.map((elem,
|
|
18371
|
-
path: _path + ".pages[" +
|
|
18716
|
+
})) && input.pages.map((elem, _index7) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
18717
|
+
path: _path + ".pages[" + _index7 + "]",
|
|
18372
18718
|
expected: "ShotboxPage",
|
|
18373
18719
|
value: elem
|
|
18374
|
-
})) && _vo1(elem, _path + ".pages[" +
|
|
18375
|
-
path: _path + ".pages[" +
|
|
18720
|
+
})) && _vo1(elem, _path + ".pages[" + _index7 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
18721
|
+
path: _path + ".pages[" + _index7 + "]",
|
|
18376
18722
|
expected: "ShotboxPage",
|
|
18377
18723
|
value: elem
|
|
18378
18724
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18387,32 +18733,44 @@ function _validateDomainRecord(domain, input) {
|
|
|
18387
18733
|
path: _path + ".inferGroups",
|
|
18388
18734
|
expected: "(boolean | undefined)",
|
|
18389
18735
|
value: input.inferGroups
|
|
18736
|
+
}), undefined === input.excludeFromInferredGroups || (Array.isArray(input.excludeFromInferredGroups) || _report(_exceptionable, {
|
|
18737
|
+
path: _path + ".excludeFromInferredGroups",
|
|
18738
|
+
expected: "(Array<string> | undefined)",
|
|
18739
|
+
value: input.excludeFromInferredGroups
|
|
18740
|
+
})) && input.excludeFromInferredGroups.map((elem, _index8) => "string" === typeof elem || _report(_exceptionable, {
|
|
18741
|
+
path: _path + ".excludeFromInferredGroups[" + _index8 + "]",
|
|
18742
|
+
expected: "string",
|
|
18743
|
+
value: elem
|
|
18744
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
18745
|
+
path: _path + ".excludeFromInferredGroups",
|
|
18746
|
+
expected: "(Array<string> | undefined)",
|
|
18747
|
+
value: input.excludeFromInferredGroups
|
|
18390
18748
|
}), undefined === input.layout || (Array.isArray(input.layout) || _report(_exceptionable, {
|
|
18391
18749
|
path: _path + ".layout",
|
|
18392
18750
|
expected: "(Array<ShotboxGroup | ShotboxGroup[]> | undefined)",
|
|
18393
18751
|
value: input.layout
|
|
18394
|
-
})) && input.layout.map((elem,
|
|
18395
|
-
path: _path + ".layout[" +
|
|
18752
|
+
})) && input.layout.map((elem, _index9) => (null !== elem || _report(_exceptionable, {
|
|
18753
|
+
path: _path + ".layout[" + _index9 + "]",
|
|
18396
18754
|
expected: "(Array<ShotboxGroup> | ShotboxEventGroup | ShotboxStreamGroup)",
|
|
18397
18755
|
value: elem
|
|
18398
18756
|
})) && (undefined !== elem || _report(_exceptionable, {
|
|
18399
|
-
path: _path + ".layout[" +
|
|
18757
|
+
path: _path + ".layout[" + _index9 + "]",
|
|
18400
18758
|
expected: "(Array<ShotboxGroup> | ShotboxEventGroup | ShotboxStreamGroup)",
|
|
18401
18759
|
value: elem
|
|
18402
|
-
})) && (Array.isArray(elem) && elem.map((elem,
|
|
18403
|
-
path: _path + ".layout[" +
|
|
18760
|
+
})) && (Array.isArray(elem) && elem.map((elem, _index10) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
18761
|
+
path: _path + ".layout[" + _index9 + "][" + _index10 + "]",
|
|
18404
18762
|
expected: "(ShotboxEventGroup | ShotboxStreamGroup)",
|
|
18405
18763
|
value: elem
|
|
18406
|
-
})) && _vu0(elem, _path + ".layout[" +
|
|
18407
|
-
path: _path + ".layout[" +
|
|
18764
|
+
})) && _vu0(elem, _path + ".layout[" + _index9 + "][" + _index10 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
18765
|
+
path: _path + ".layout[" + _index9 + "][" + _index10 + "]",
|
|
18408
18766
|
expected: "(ShotboxEventGroup | ShotboxStreamGroup)",
|
|
18409
18767
|
value: elem
|
|
18410
|
-
})).every(flag => flag) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _vu0(elem, _path + ".layout[" +
|
|
18411
|
-
path: _path + ".layout[" +
|
|
18768
|
+
})).every(flag => flag) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _vu0(elem, _path + ".layout[" + _index9 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
18769
|
+
path: _path + ".layout[" + _index9 + "]",
|
|
18412
18770
|
expected: "(Array<ShotboxGroup> | ShotboxEventGroup | ShotboxStreamGroup)",
|
|
18413
18771
|
value: elem
|
|
18414
18772
|
}) || _report(_exceptionable, {
|
|
18415
|
-
path: _path + ".layout[" +
|
|
18773
|
+
path: _path + ".layout[" + _index9 + "]",
|
|
18416
18774
|
expected: "(Array<ShotboxGroup> | ShotboxEventGroup | ShotboxStreamGroup)",
|
|
18417
18775
|
value: elem
|
|
18418
18776
|
}))).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18443,8 +18801,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
18443
18801
|
path: _path + ".include",
|
|
18444
18802
|
expected: "(Array<string> | undefined)",
|
|
18445
18803
|
value: input.include
|
|
18446
|
-
})) && input.include.map((elem,
|
|
18447
|
-
path: _path + ".include[" +
|
|
18804
|
+
})) && input.include.map((elem, _index11) => "string" === typeof elem || _report(_exceptionable, {
|
|
18805
|
+
path: _path + ".include[" + _index11 + "]",
|
|
18448
18806
|
expected: "string",
|
|
18449
18807
|
value: elem
|
|
18450
18808
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18455,8 +18813,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
18455
18813
|
path: _path + ".exclude",
|
|
18456
18814
|
expected: "(Array<string> | undefined)",
|
|
18457
18815
|
value: input.exclude
|
|
18458
|
-
})) && input.exclude.map((elem,
|
|
18459
|
-
path: _path + ".exclude[" +
|
|
18816
|
+
})) && input.exclude.map((elem, _index12) => "string" === typeof elem || _report(_exceptionable, {
|
|
18817
|
+
path: _path + ".exclude[" + _index12 + "]",
|
|
18460
18818
|
expected: "string",
|
|
18461
18819
|
value: elem
|
|
18462
18820
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18704,7 +19062,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
18704
19062
|
}; })()(input);
|
|
18705
19063
|
}
|
|
18706
19064
|
case ":subtitle-style": {
|
|
18707
|
-
return (() => { const _io0 = input => (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.previewSettings || "object" === typeof input.previewSettings && null !== input.previewSettings && false === Array.isArray(input.previewSettings) && _io1(input.previewSettings)) && (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io1 = input => (undefined === input.aspectRatio || "string" === typeof input.aspectRatio) && (undefined === input.backgroundAssetId || "string" === typeof input.backgroundAssetId) && (undefined === input.text || "string" === typeof input.text); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow || _report(_exceptionable, {
|
|
19065
|
+
return (() => { const _io0 = input => (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.previewSettings || "object" === typeof input.previewSettings && null !== input.previewSettings && false === Array.isArray(input.previewSettings) && _io1(input.previewSettings)) && (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io1 = input => (undefined === input.aspectRatio || "string" === typeof input.aspectRatio) && (undefined === input.backgroundAssetId || "string" === typeof input.backgroundAssetId) && (undefined === input.text || "string" === typeof input.text); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow || _report(_exceptionable, {
|
|
18708
19066
|
path: _path + ".scaledBorderAndShadow",
|
|
18709
19067
|
expected: "(boolean | undefined)",
|
|
18710
19068
|
value: input.scaledBorderAndShadow
|
|
@@ -18776,6 +19134,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
18776
19134
|
path: _path + ".spacing",
|
|
18777
19135
|
expected: "(string | undefined)",
|
|
18778
19136
|
value: input.spacing
|
|
19137
|
+
}), undefined === input.lineSpacing || "string" === typeof input.lineSpacing || _report(_exceptionable, {
|
|
19138
|
+
path: _path + ".lineSpacing",
|
|
19139
|
+
expected: "(string | undefined)",
|
|
19140
|
+
value: input.lineSpacing
|
|
18779
19141
|
}), undefined === input.angle || "string" === typeof input.angle || _report(_exceptionable, {
|
|
18780
19142
|
path: _path + ".angle",
|
|
18781
19143
|
expected: "(string | undefined)",
|