@nxtedition/types 23.0.57 → 23.0.59
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/nxtpression.d.ts +1 -1
- package/dist/common/search.d.ts +9 -0
- package/dist/common/settings.d.ts +26 -1
- package/dist/nxtpression.d.ts +197 -11
- package/dist/records/domains/calendarevent.d.ts +27 -0
- package/dist/records/domains/calendarevent.js +1 -0
- package/dist/records/domains/condition.d.ts +5 -0
- package/dist/records/domains/condition.js +1 -0
- package/dist/records/domains/harvest.d.ts +10 -0
- package/dist/records/domains/harvest.js +1 -0
- package/dist/records/domains/index.d.ts +11 -1
- package/dist/records/domains/index.js +5 -0
- package/dist/records/domains/ingestclip.d.ts +21 -0
- package/dist/records/domains/ingestclip.js +1 -0
- package/dist/records/domains/panel.d.ts +8 -1
- package/dist/records/domains/published.d.ts +7 -3
- package/dist/records/domains/script.d.ts +4 -0
- package/dist/records/domains/search.d.ts +25 -4
- package/dist/records/domains/shotbox.d.ts +33 -0
- package/dist/records/domains/shotbox.js +1 -0
- package/dist/records/validate/assert-guard.js +1255 -444
- package/dist/records/validate/assert.js +1260 -442
- package/dist/records/validate/is.js +59 -33
- package/dist/records/validate/schemas.js +699 -66
- package/dist/records/validate/stringify.js +110 -79
- package/dist/records/validate/utils.js +1 -1
- package/dist/records/validate/validate-equals.js +1835 -634
- package/dist/records/validate/validate.js +1187 -427
- package/dist/rpc.d.ts +4 -1
- package/package.json +1 -1
|
@@ -5216,6 +5216,134 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
5216
5216
|
};
|
|
5217
5217
|
}; })()(input);
|
|
5218
5218
|
}
|
|
5219
|
+
case ":calendarevent": {
|
|
5220
|
+
return (() => { const _io0 = (input, _exceptionable = true) => (null === input.start || undefined === input.start || "string" === typeof input.start) && (null === input.end || undefined === input.end || "string" === typeof input.end) && (undefined === input.description || "string" === typeof input.description) && (null === input.recurrence || undefined === input.recurrence || "object" === typeof input.recurrence && null !== input.recurrence && false === Array.isArray(input.recurrence) && _io1(input.recurrence, true && _exceptionable)) && (undefined === input.color || "string" === typeof input.color) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
5221
|
+
if (["start", "end", "description", "recurrence", "color"].some(prop => key === prop))
|
|
5222
|
+
return true;
|
|
5223
|
+
const value = input[key];
|
|
5224
|
+
if (undefined === value)
|
|
5225
|
+
return true;
|
|
5226
|
+
return false;
|
|
5227
|
+
})); const _io1 = (input, _exceptionable = true) => (undefined === input.interval || "number" === typeof input.interval) && (null === input.frequency || undefined === input.frequency || "days" === input.frequency || "weeks" === input.frequency || "months" === input.frequency || "years" === input.frequency) && (null === input.byweekday || undefined === input.byweekday || Array.isArray(input.byweekday) && input.byweekday.every((elem, _index1) => "number" === typeof elem)) && (null === input.count || undefined === input.count) && (null === input.until || undefined === input.until || "string" === typeof input.until) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
5228
|
+
if (["interval", "frequency", "byweekday", "count", "until"].some(prop => key === prop))
|
|
5229
|
+
return true;
|
|
5230
|
+
const value = input[key];
|
|
5231
|
+
if (undefined === value)
|
|
5232
|
+
return true;
|
|
5233
|
+
return false;
|
|
5234
|
+
})); const _vo0 = (input, _path, _exceptionable = true) => [null === input.start || undefined === input.start || "string" === typeof input.start || _report(_exceptionable, {
|
|
5235
|
+
path: _path + ".start",
|
|
5236
|
+
expected: "(null | string | undefined)",
|
|
5237
|
+
value: input.start
|
|
5238
|
+
}), null === input.end || undefined === input.end || "string" === typeof input.end || _report(_exceptionable, {
|
|
5239
|
+
path: _path + ".end",
|
|
5240
|
+
expected: "(null | string | undefined)",
|
|
5241
|
+
value: input.end
|
|
5242
|
+
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
5243
|
+
path: _path + ".description",
|
|
5244
|
+
expected: "(string | undefined)",
|
|
5245
|
+
value: input.description
|
|
5246
|
+
}), null === input.recurrence || undefined === input.recurrence || ("object" === typeof input.recurrence && null !== input.recurrence && false === Array.isArray(input.recurrence) || _report(_exceptionable, {
|
|
5247
|
+
path: _path + ".recurrence",
|
|
5248
|
+
expected: "(CalendarEventDomainRecurrenceRule | null | undefined)",
|
|
5249
|
+
value: input.recurrence
|
|
5250
|
+
})) && _vo1(input.recurrence, _path + ".recurrence", true && _exceptionable) || _report(_exceptionable, {
|
|
5251
|
+
path: _path + ".recurrence",
|
|
5252
|
+
expected: "(CalendarEventDomainRecurrenceRule | null | undefined)",
|
|
5253
|
+
value: input.recurrence
|
|
5254
|
+
}), undefined === input.color || "string" === typeof input.color || _report(_exceptionable, {
|
|
5255
|
+
path: _path + ".color",
|
|
5256
|
+
expected: "(string | undefined)",
|
|
5257
|
+
value: input.color
|
|
5258
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
5259
|
+
if (["start", "end", "description", "recurrence", "color"].some(prop => key === prop))
|
|
5260
|
+
return true;
|
|
5261
|
+
const value = input[key];
|
|
5262
|
+
if (undefined === value)
|
|
5263
|
+
return true;
|
|
5264
|
+
return _report(_exceptionable, {
|
|
5265
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
5266
|
+
expected: "undefined",
|
|
5267
|
+
value: value,
|
|
5268
|
+
description: [
|
|
5269
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
5270
|
+
"",
|
|
5271
|
+
"Please remove the property next time."
|
|
5272
|
+
].join("\n")
|
|
5273
|
+
});
|
|
5274
|
+
}).every(flag => flag))].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [undefined === input.interval || "number" === typeof input.interval || _report(_exceptionable, {
|
|
5275
|
+
path: _path + ".interval",
|
|
5276
|
+
expected: "(number | undefined)",
|
|
5277
|
+
value: input.interval
|
|
5278
|
+
}), null === input.frequency || undefined === input.frequency || "days" === input.frequency || "weeks" === input.frequency || "months" === input.frequency || "years" === input.frequency || _report(_exceptionable, {
|
|
5279
|
+
path: _path + ".frequency",
|
|
5280
|
+
expected: "(\"days\" | \"months\" | \"weeks\" | \"years\" | null | undefined)",
|
|
5281
|
+
value: input.frequency
|
|
5282
|
+
}), null === input.byweekday || undefined === input.byweekday || (Array.isArray(input.byweekday) || _report(_exceptionable, {
|
|
5283
|
+
path: _path + ".byweekday",
|
|
5284
|
+
expected: "(Array<number> | null | undefined)",
|
|
5285
|
+
value: input.byweekday
|
|
5286
|
+
})) && input.byweekday.map((elem, _index2) => "number" === typeof elem || _report(_exceptionable, {
|
|
5287
|
+
path: _path + ".byweekday[" + _index2 + "]",
|
|
5288
|
+
expected: "number",
|
|
5289
|
+
value: elem
|
|
5290
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
5291
|
+
path: _path + ".byweekday",
|
|
5292
|
+
expected: "(Array<number> | null | undefined)",
|
|
5293
|
+
value: input.byweekday
|
|
5294
|
+
}), null === input.count || undefined === input.count || _report(_exceptionable, {
|
|
5295
|
+
path: _path + ".count",
|
|
5296
|
+
expected: "(null | undefined)",
|
|
5297
|
+
value: input.count
|
|
5298
|
+
}), null === input.until || undefined === input.until || "string" === typeof input.until || _report(_exceptionable, {
|
|
5299
|
+
path: _path + ".until",
|
|
5300
|
+
expected: "(null | string | undefined)",
|
|
5301
|
+
value: input.until
|
|
5302
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
5303
|
+
if (["interval", "frequency", "byweekday", "count", "until"].some(prop => key === prop))
|
|
5304
|
+
return true;
|
|
5305
|
+
const value = input[key];
|
|
5306
|
+
if (undefined === value)
|
|
5307
|
+
return true;
|
|
5308
|
+
return _report(_exceptionable, {
|
|
5309
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
5310
|
+
expected: "undefined",
|
|
5311
|
+
value: value,
|
|
5312
|
+
description: [
|
|
5313
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
5314
|
+
"",
|
|
5315
|
+
"Please remove the property next time."
|
|
5316
|
+
].join("\n")
|
|
5317
|
+
});
|
|
5318
|
+
}).every(flag => flag))].every(flag => flag); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input, true); let errors; let _report; return input => {
|
|
5319
|
+
if (false === __is(input)) {
|
|
5320
|
+
errors = [];
|
|
5321
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
5322
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
5323
|
+
path: _path + "",
|
|
5324
|
+
expected: "CalendarEventDomainRecord",
|
|
5325
|
+
value: input
|
|
5326
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
5327
|
+
path: _path + "",
|
|
5328
|
+
expected: "CalendarEventDomainRecord",
|
|
5329
|
+
value: input
|
|
5330
|
+
}))(input, "$input", true);
|
|
5331
|
+
const success = 0 === errors.length;
|
|
5332
|
+
return success ? {
|
|
5333
|
+
success,
|
|
5334
|
+
data: input
|
|
5335
|
+
} : {
|
|
5336
|
+
success,
|
|
5337
|
+
errors,
|
|
5338
|
+
data: input
|
|
5339
|
+
};
|
|
5340
|
+
}
|
|
5341
|
+
return {
|
|
5342
|
+
success: true,
|
|
5343
|
+
data: input
|
|
5344
|
+
};
|
|
5345
|
+
}; })()(input);
|
|
5346
|
+
}
|
|
5219
5347
|
case ":clone": {
|
|
5220
5348
|
return (() => { const _io0 = (input, _exceptionable = true) => Array.isArray(input.rules) && input.rules.every((elem, _index1) => "object" === typeof elem && null !== elem && _io1(elem, true && _exceptionable)) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
5221
5349
|
if (["rules"].some(prop => key === prop))
|
|
@@ -6150,6 +6278,71 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
6150
6278
|
};
|
|
6151
6279
|
}; })()(input);
|
|
6152
6280
|
}
|
|
6281
|
+
case ":condition": {
|
|
6282
|
+
return (() => { const _io0 = (input, _exceptionable = true) => (undefined === input.field || "string" === typeof input.field) && (undefined === input.type || "string" === typeof input.type) && (undefined === input.op || "string" === typeof input.op) && true && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6283
|
+
if (["field", "type", "op", "value"].some(prop => key === prop))
|
|
6284
|
+
return true;
|
|
6285
|
+
const value = input[key];
|
|
6286
|
+
if (undefined === value)
|
|
6287
|
+
return true;
|
|
6288
|
+
return false;
|
|
6289
|
+
})); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.field || "string" === typeof input.field || _report(_exceptionable, {
|
|
6290
|
+
path: _path + ".field",
|
|
6291
|
+
expected: "(string | undefined)",
|
|
6292
|
+
value: input.field
|
|
6293
|
+
}), undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
6294
|
+
path: _path + ".type",
|
|
6295
|
+
expected: "(string | undefined)",
|
|
6296
|
+
value: input.type
|
|
6297
|
+
}), undefined === input.op || "string" === typeof input.op || _report(_exceptionable, {
|
|
6298
|
+
path: _path + ".op",
|
|
6299
|
+
expected: "(string | undefined)",
|
|
6300
|
+
value: input.op
|
|
6301
|
+
}), true, 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
6302
|
+
if (["field", "type", "op", "value"].some(prop => key === prop))
|
|
6303
|
+
return true;
|
|
6304
|
+
const value = input[key];
|
|
6305
|
+
if (undefined === value)
|
|
6306
|
+
return true;
|
|
6307
|
+
return _report(_exceptionable, {
|
|
6308
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
6309
|
+
expected: "undefined",
|
|
6310
|
+
value: value,
|
|
6311
|
+
description: [
|
|
6312
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
6313
|
+
"",
|
|
6314
|
+
"Please remove the property next time."
|
|
6315
|
+
].join("\n")
|
|
6316
|
+
});
|
|
6317
|
+
}).every(flag => flag))].every(flag => flag); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input, true); let errors; let _report; return input => {
|
|
6318
|
+
if (false === __is(input)) {
|
|
6319
|
+
errors = [];
|
|
6320
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
6321
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
6322
|
+
path: _path + "",
|
|
6323
|
+
expected: "SearchCondition",
|
|
6324
|
+
value: input
|
|
6325
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
6326
|
+
path: _path + "",
|
|
6327
|
+
expected: "SearchCondition",
|
|
6328
|
+
value: input
|
|
6329
|
+
}))(input, "$input", true);
|
|
6330
|
+
const success = 0 === errors.length;
|
|
6331
|
+
return success ? {
|
|
6332
|
+
success,
|
|
6333
|
+
data: input
|
|
6334
|
+
} : {
|
|
6335
|
+
success,
|
|
6336
|
+
errors,
|
|
6337
|
+
data: input
|
|
6338
|
+
};
|
|
6339
|
+
}
|
|
6340
|
+
return {
|
|
6341
|
+
success: true,
|
|
6342
|
+
data: input
|
|
6343
|
+
};
|
|
6344
|
+
}; })()(input);
|
|
6345
|
+
}
|
|
6153
6346
|
case ":connection": {
|
|
6154
6347
|
return (() => { const _io0 = (input, _exceptionable = true) => (undefined === input.protocol || "ftp" === input.protocol) && (undefined === input.host || "string" === typeof input.host) && (undefined === input.username || "string" === typeof input.username) && (undefined === input.password || "string" === typeof input.password) && (undefined === input.utf8 || "boolean" === typeof input.utf8) && (undefined === input.timezone || "string" === typeof input.timezone) && (undefined === input.type || "file" === input.type) && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) && _io1(input.metafile, true && _exceptionable)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6155
6348
|
if (["protocol", "host", "username", "password", "utf8", "timezone", "type", "port", "ignoreMissing", "concurrency", "stabilityThreshold", "pollInterval", "listConcurrency", "metafile", "userNotificationsEnabled"].some(prop => key === prop))
|
|
@@ -12666,65 +12859,263 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
12666
12859
|
};
|
|
12667
12860
|
}; })()(input);
|
|
12668
12861
|
}
|
|
12669
|
-
case ":
|
|
12670
|
-
return (() => { const _io0 = (input, _exceptionable = true) => (undefined === input.
|
|
12671
|
-
if (["
|
|
12672
|
-
return true;
|
|
12673
|
-
const value = input[key];
|
|
12674
|
-
if (undefined === value)
|
|
12675
|
-
return true;
|
|
12676
|
-
return false;
|
|
12677
|
-
})); const _io1 = (input, _exceptionable = true) => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
12678
|
-
if (["type", "file"].some(prop => key === prop))
|
|
12679
|
-
return true;
|
|
12680
|
-
const value = input[key];
|
|
12681
|
-
if (undefined === value)
|
|
12682
|
-
return true;
|
|
12683
|
-
return false;
|
|
12684
|
-
})); const _io2 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
12685
|
-
const value = input[key];
|
|
12686
|
-
if (undefined === value)
|
|
12687
|
-
return true;
|
|
12688
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io3(value, true && _exceptionable);
|
|
12689
|
-
}); const _io3 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
12690
|
-
if (["style", "styleOverrides"].some(prop => key === prop))
|
|
12691
|
-
return true;
|
|
12692
|
-
const value = input[key];
|
|
12693
|
-
if (undefined === value)
|
|
12694
|
-
return true;
|
|
12695
|
-
return false;
|
|
12696
|
-
})); const _io4 = (input, _exceptionable = true) => (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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
12697
|
-
if (["name", "fontname", "fontsize", "primaryColour", "secondaryColour", "outlineColour", "backColour", "bold", "italic", "underline", "strikeOut", "scaleX", "scaleY", "spacing", "angle", "borderStyle", "outline", "shadow", "alignment", "marginL", "marginR", "marginV", "encoding"].some(prop => key === prop))
|
|
12698
|
-
return true;
|
|
12699
|
-
const value = input[key];
|
|
12700
|
-
if (undefined === value)
|
|
12701
|
-
return true;
|
|
12702
|
-
return false;
|
|
12703
|
-
})); const _io5 = (input, _exceptionable = true) => (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io6(input.crop, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
12704
|
-
if (["crop"].some(prop => key === prop))
|
|
12705
|
-
return true;
|
|
12706
|
-
const value = input[key];
|
|
12707
|
-
if (undefined === value)
|
|
12708
|
-
return true;
|
|
12709
|
-
return false;
|
|
12710
|
-
})); const _io6 = (input, _exceptionable = true) => (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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
12711
|
-
if (["x", "y", "width", "height"].some(prop => key === prop))
|
|
12862
|
+
case ":harvest": {
|
|
12863
|
+
return (() => { const _io0 = (input, _exceptionable = true) => (undefined === input.active || "boolean" === typeof input.active) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every((elem, _index1) => "string" === typeof elem)) && (undefined === input.revisions || "boolean" === typeof input.revisions) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.throttle || "number" === typeof input.throttle) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
12864
|
+
if (["active", "tags", "revisions", "concurrency", "throttle"].some(prop => key === prop))
|
|
12712
12865
|
return true;
|
|
12713
12866
|
const value = input[key];
|
|
12714
12867
|
if (undefined === value)
|
|
12715
12868
|
return true;
|
|
12716
12869
|
return false;
|
|
12717
|
-
})); const
|
|
12718
|
-
|
|
12870
|
+
})); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.active || "boolean" === typeof input.active || _report(_exceptionable, {
|
|
12871
|
+
path: _path + ".active",
|
|
12872
|
+
expected: "(boolean | undefined)",
|
|
12873
|
+
value: input.active
|
|
12874
|
+
}), undefined === input.tags || (Array.isArray(input.tags) || _report(_exceptionable, {
|
|
12875
|
+
path: _path + ".tags",
|
|
12876
|
+
expected: "(Array<string> | undefined)",
|
|
12877
|
+
value: input.tags
|
|
12878
|
+
})) && input.tags.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
|
|
12879
|
+
path: _path + ".tags[" + _index2 + "]",
|
|
12880
|
+
expected: "string",
|
|
12881
|
+
value: elem
|
|
12882
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
12883
|
+
path: _path + ".tags",
|
|
12884
|
+
expected: "(Array<string> | undefined)",
|
|
12885
|
+
value: input.tags
|
|
12886
|
+
}), undefined === input.revisions || "boolean" === typeof input.revisions || _report(_exceptionable, {
|
|
12887
|
+
path: _path + ".revisions",
|
|
12888
|
+
expected: "(boolean | undefined)",
|
|
12889
|
+
value: input.revisions
|
|
12890
|
+
}), undefined === input.concurrency || "number" === typeof input.concurrency || _report(_exceptionable, {
|
|
12891
|
+
path: _path + ".concurrency",
|
|
12892
|
+
expected: "(number | undefined)",
|
|
12893
|
+
value: input.concurrency
|
|
12894
|
+
}), undefined === input.throttle || "number" === typeof input.throttle || _report(_exceptionable, {
|
|
12895
|
+
path: _path + ".throttle",
|
|
12896
|
+
expected: "(number | undefined)",
|
|
12897
|
+
value: input.throttle
|
|
12898
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
12899
|
+
if (["active", "tags", "revisions", "concurrency", "throttle"].some(prop => key === prop))
|
|
12900
|
+
return true;
|
|
12901
|
+
const value = input[key];
|
|
12902
|
+
if (undefined === value)
|
|
12903
|
+
return true;
|
|
12904
|
+
return _report(_exceptionable, {
|
|
12905
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
12906
|
+
expected: "undefined",
|
|
12907
|
+
value: value,
|
|
12908
|
+
description: [
|
|
12909
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
12910
|
+
"",
|
|
12911
|
+
"Please remove the property next time."
|
|
12912
|
+
].join("\n")
|
|
12913
|
+
});
|
|
12914
|
+
}).every(flag => flag))].every(flag => flag); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input, true); let errors; let _report; return input => {
|
|
12915
|
+
if (false === __is(input)) {
|
|
12916
|
+
errors = [];
|
|
12917
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
12918
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
12919
|
+
path: _path + "",
|
|
12920
|
+
expected: "HarvestDomainRecord",
|
|
12921
|
+
value: input
|
|
12922
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
12923
|
+
path: _path + "",
|
|
12924
|
+
expected: "HarvestDomainRecord",
|
|
12925
|
+
value: input
|
|
12926
|
+
}))(input, "$input", true);
|
|
12927
|
+
const success = 0 === errors.length;
|
|
12928
|
+
return success ? {
|
|
12929
|
+
success,
|
|
12930
|
+
data: input
|
|
12931
|
+
} : {
|
|
12932
|
+
success,
|
|
12933
|
+
errors,
|
|
12934
|
+
data: input
|
|
12935
|
+
};
|
|
12936
|
+
}
|
|
12937
|
+
return {
|
|
12938
|
+
success: true,
|
|
12939
|
+
data: input
|
|
12940
|
+
};
|
|
12941
|
+
}; })()(input);
|
|
12942
|
+
}
|
|
12943
|
+
case ":ingestclip": {
|
|
12944
|
+
return (() => { const _io0 = (input, _exceptionable = true) => (undefined === input.time || "number" === typeof input.time) && (undefined === input.duration || "number" === typeof input.duration) && (undefined === input.type || "string" === typeof input.type) && (undefined === input.record || "string" === typeof input.record) && (undefined === input.data || "boolean" === typeof input.data) && (undefined === input.gallery || "string" === typeof input.gallery) && (undefined === input.rundown || "string" === typeof input.rundown) && (undefined === input.segment || "string" === typeof input.segment) && (undefined === input.story || "string" === typeof input.story) && (undefined === input.event || "string" === typeof input.event) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.channel || "string" === typeof input.channel) && (undefined === input.schedule || "string" === typeof input.schedule) && (undefined === input.parent || "string" === typeof input.parent) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
12945
|
+
if (["time", "duration", "type", "record", "data", "gallery", "rundown", "segment", "story", "event", "title", "start", "end", "channel", "schedule", "parent"].some(prop => key === prop))
|
|
12719
12946
|
return true;
|
|
12720
12947
|
const value = input[key];
|
|
12721
12948
|
if (undefined === value)
|
|
12722
12949
|
return true;
|
|
12723
12950
|
return false;
|
|
12724
|
-
})); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.
|
|
12725
|
-
path: _path + ".
|
|
12726
|
-
expected: "(
|
|
12727
|
-
value: input.
|
|
12951
|
+
})); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.time || "number" === typeof input.time || _report(_exceptionable, {
|
|
12952
|
+
path: _path + ".time",
|
|
12953
|
+
expected: "(number | undefined)",
|
|
12954
|
+
value: input.time
|
|
12955
|
+
}), undefined === input.duration || "number" === typeof input.duration || _report(_exceptionable, {
|
|
12956
|
+
path: _path + ".duration",
|
|
12957
|
+
expected: "(number | undefined)",
|
|
12958
|
+
value: input.duration
|
|
12959
|
+
}), undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
12960
|
+
path: _path + ".type",
|
|
12961
|
+
expected: "(string | undefined)",
|
|
12962
|
+
value: input.type
|
|
12963
|
+
}), undefined === input.record || "string" === typeof input.record || _report(_exceptionable, {
|
|
12964
|
+
path: _path + ".record",
|
|
12965
|
+
expected: "(string | undefined)",
|
|
12966
|
+
value: input.record
|
|
12967
|
+
}), undefined === input.data || "boolean" === typeof input.data || _report(_exceptionable, {
|
|
12968
|
+
path: _path + ".data",
|
|
12969
|
+
expected: "(boolean | undefined)",
|
|
12970
|
+
value: input.data
|
|
12971
|
+
}), undefined === input.gallery || "string" === typeof input.gallery || _report(_exceptionable, {
|
|
12972
|
+
path: _path + ".gallery",
|
|
12973
|
+
expected: "(string | undefined)",
|
|
12974
|
+
value: input.gallery
|
|
12975
|
+
}), undefined === input.rundown || "string" === typeof input.rundown || _report(_exceptionable, {
|
|
12976
|
+
path: _path + ".rundown",
|
|
12977
|
+
expected: "(string | undefined)",
|
|
12978
|
+
value: input.rundown
|
|
12979
|
+
}), undefined === input.segment || "string" === typeof input.segment || _report(_exceptionable, {
|
|
12980
|
+
path: _path + ".segment",
|
|
12981
|
+
expected: "(string | undefined)",
|
|
12982
|
+
value: input.segment
|
|
12983
|
+
}), undefined === input.story || "string" === typeof input.story || _report(_exceptionable, {
|
|
12984
|
+
path: _path + ".story",
|
|
12985
|
+
expected: "(string | undefined)",
|
|
12986
|
+
value: input.story
|
|
12987
|
+
}), undefined === input.event || "string" === typeof input.event || _report(_exceptionable, {
|
|
12988
|
+
path: _path + ".event",
|
|
12989
|
+
expected: "(string | undefined)",
|
|
12990
|
+
value: input.event
|
|
12991
|
+
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
12992
|
+
path: _path + ".title",
|
|
12993
|
+
expected: "(string | undefined)",
|
|
12994
|
+
value: input.title
|
|
12995
|
+
}), undefined === input.start || "number" === typeof input.start || _report(_exceptionable, {
|
|
12996
|
+
path: _path + ".start",
|
|
12997
|
+
expected: "(number | undefined)",
|
|
12998
|
+
value: input.start
|
|
12999
|
+
}), undefined === input.end || "number" === typeof input.end || _report(_exceptionable, {
|
|
13000
|
+
path: _path + ".end",
|
|
13001
|
+
expected: "(number | undefined)",
|
|
13002
|
+
value: input.end
|
|
13003
|
+
}), undefined === input.channel || "string" === typeof input.channel || _report(_exceptionable, {
|
|
13004
|
+
path: _path + ".channel",
|
|
13005
|
+
expected: "(string | undefined)",
|
|
13006
|
+
value: input.channel
|
|
13007
|
+
}), undefined === input.schedule || "string" === typeof input.schedule || _report(_exceptionable, {
|
|
13008
|
+
path: _path + ".schedule",
|
|
13009
|
+
expected: "(string | undefined)",
|
|
13010
|
+
value: input.schedule
|
|
13011
|
+
}), undefined === input.parent || "string" === typeof input.parent || _report(_exceptionable, {
|
|
13012
|
+
path: _path + ".parent",
|
|
13013
|
+
expected: "(string | undefined)",
|
|
13014
|
+
value: input.parent
|
|
13015
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
13016
|
+
if (["time", "duration", "type", "record", "data", "gallery", "rundown", "segment", "story", "event", "title", "start", "end", "channel", "schedule", "parent"].some(prop => key === prop))
|
|
13017
|
+
return true;
|
|
13018
|
+
const value = input[key];
|
|
13019
|
+
if (undefined === value)
|
|
13020
|
+
return true;
|
|
13021
|
+
return _report(_exceptionable, {
|
|
13022
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13023
|
+
expected: "undefined",
|
|
13024
|
+
value: value,
|
|
13025
|
+
description: [
|
|
13026
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
13027
|
+
"",
|
|
13028
|
+
"Please remove the property next time."
|
|
13029
|
+
].join("\n")
|
|
13030
|
+
});
|
|
13031
|
+
}).every(flag => flag))].every(flag => flag); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input, true); let errors; let _report; return input => {
|
|
13032
|
+
if (false === __is(input)) {
|
|
13033
|
+
errors = [];
|
|
13034
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
13035
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
13036
|
+
path: _path + "",
|
|
13037
|
+
expected: "IngestclipDomainRecord",
|
|
13038
|
+
value: input
|
|
13039
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
13040
|
+
path: _path + "",
|
|
13041
|
+
expected: "IngestclipDomainRecord",
|
|
13042
|
+
value: input
|
|
13043
|
+
}))(input, "$input", true);
|
|
13044
|
+
const success = 0 === errors.length;
|
|
13045
|
+
return success ? {
|
|
13046
|
+
success,
|
|
13047
|
+
data: input
|
|
13048
|
+
} : {
|
|
13049
|
+
success,
|
|
13050
|
+
errors,
|
|
13051
|
+
data: input
|
|
13052
|
+
};
|
|
13053
|
+
}
|
|
13054
|
+
return {
|
|
13055
|
+
success: true,
|
|
13056
|
+
data: input
|
|
13057
|
+
};
|
|
13058
|
+
}; })()(input);
|
|
13059
|
+
}
|
|
13060
|
+
case ":media.source": {
|
|
13061
|
+
return (() => { const _io0 = (input, _exceptionable = true) => (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) && _io1(input.input, true && _exceptionable)) && (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) && _io2(input.subtitleTracks, true && _exceptionable)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io5(input.video, true && _exceptionable)) && (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) && _io7(input.transcribe, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
13062
|
+
if (["id", "preset", "input", "lang", "subtitle", "subtitleTracks", "video", "start", "end", "transcribe"].some(prop => key === prop))
|
|
13063
|
+
return true;
|
|
13064
|
+
const value = input[key];
|
|
13065
|
+
if (undefined === value)
|
|
13066
|
+
return true;
|
|
13067
|
+
return false;
|
|
13068
|
+
})); const _io1 = (input, _exceptionable = true) => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
13069
|
+
if (["type", "file"].some(prop => key === prop))
|
|
13070
|
+
return true;
|
|
13071
|
+
const value = input[key];
|
|
13072
|
+
if (undefined === value)
|
|
13073
|
+
return true;
|
|
13074
|
+
return false;
|
|
13075
|
+
})); const _io2 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
13076
|
+
const value = input[key];
|
|
13077
|
+
if (undefined === value)
|
|
13078
|
+
return true;
|
|
13079
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io3(value, true && _exceptionable);
|
|
13080
|
+
}); const _io3 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
13081
|
+
if (["style", "styleOverrides"].some(prop => key === prop))
|
|
13082
|
+
return true;
|
|
13083
|
+
const value = input[key];
|
|
13084
|
+
if (undefined === value)
|
|
13085
|
+
return true;
|
|
13086
|
+
return false;
|
|
13087
|
+
})); const _io4 = (input, _exceptionable = true) => (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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
13088
|
+
if (["name", "fontname", "fontsize", "primaryColour", "secondaryColour", "outlineColour", "backColour", "bold", "italic", "underline", "strikeOut", "scaleX", "scaleY", "spacing", "angle", "borderStyle", "outline", "shadow", "alignment", "marginL", "marginR", "marginV", "encoding"].some(prop => key === prop))
|
|
13089
|
+
return true;
|
|
13090
|
+
const value = input[key];
|
|
13091
|
+
if (undefined === value)
|
|
13092
|
+
return true;
|
|
13093
|
+
return false;
|
|
13094
|
+
})); const _io5 = (input, _exceptionable = true) => (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io6(input.crop, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
13095
|
+
if (["crop"].some(prop => key === prop))
|
|
13096
|
+
return true;
|
|
13097
|
+
const value = input[key];
|
|
13098
|
+
if (undefined === value)
|
|
13099
|
+
return true;
|
|
13100
|
+
return false;
|
|
13101
|
+
})); const _io6 = (input, _exceptionable = true) => (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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
13102
|
+
if (["x", "y", "width", "height"].some(prop => key === prop))
|
|
13103
|
+
return true;
|
|
13104
|
+
const value = input[key];
|
|
13105
|
+
if (undefined === value)
|
|
13106
|
+
return true;
|
|
13107
|
+
return false;
|
|
13108
|
+
})); const _io7 = (input, _exceptionable = true) => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every((elem, _index1) => "number" === typeof elem)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
13109
|
+
if (["language", "pan"].some(prop => key === prop))
|
|
13110
|
+
return true;
|
|
13111
|
+
const value = input[key];
|
|
13112
|
+
if (undefined === value)
|
|
13113
|
+
return true;
|
|
13114
|
+
return false;
|
|
13115
|
+
})); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
13116
|
+
path: _path + ".id",
|
|
13117
|
+
expected: "(string | undefined)",
|
|
13118
|
+
value: input.id
|
|
12728
13119
|
}), undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
12729
13120
|
path: _path + ".preset",
|
|
12730
13121
|
expected: "(string | undefined)",
|
|
@@ -15186,7 +15577,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15186
15577
|
}; })()(input);
|
|
15187
15578
|
}
|
|
15188
15579
|
case ":panel": {
|
|
15189
|
-
return (() => { const _io0 = (input, _exceptionable = true) => (undefined === input.title || "string" === typeof input.title) && (null !== input.supports && (undefined === input.supports || "string" === typeof input.supports || Array.isArray(input.supports) && input.supports.every((elem, _index1) => "string" === typeof elem))) && (undefined === input.priority || "number" === typeof input.priority) && (undefined === input.editorPriority || "number" === typeof input.editorPriority) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io1(input.properties, true && _exceptionable)) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) &&
|
|
15580
|
+
return (() => { const _io0 = (input, _exceptionable = true) => (undefined === input.title || "string" === typeof input.title) && (null !== input.supports && (undefined === input.supports || "string" === typeof input.supports || Array.isArray(input.supports) && input.supports.every((elem, _index1) => "string" === typeof elem))) && (undefined === input.priority || "number" === typeof input.priority) && (undefined === input.editorPriority || "number" === typeof input.editorPriority) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io1(input.properties, true && _exceptionable)) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) && _io6(input.layout, true && _exceptionable)) && true && true && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
15190
15581
|
if (["title", "supports", "priority", "editorPriority", "properties", "layout", "filter", "expand"].some(prop => key === prop))
|
|
15191
15582
|
return true;
|
|
15192
15583
|
const value = input[key];
|
|
@@ -15198,8 +15589,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15198
15589
|
if (undefined === value)
|
|
15199
15590
|
return true;
|
|
15200
15591
|
return "object" === typeof value && null !== value && _io2(value, true && _exceptionable);
|
|
15201
|
-
}); const _io2 = (input, _exceptionable = true) => ("string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.domain || "string" === typeof input.domain) && (undefined === input.path || "string" === typeof input.path) && true && (undefined === input.index || "object" === typeof input.index && null !== input.index && _io3(input.index, true && _exceptionable)) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf)) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
15202
|
-
if (["type", "title", "description", "domain", "path", "computed", "index", "required", "oneOf"].some(prop => key === prop))
|
|
15592
|
+
}); const _io2 = (input, _exceptionable = true) => ("string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.domain || "string" === typeof input.domain) && (undefined === input.path || "string" === typeof input.path) && true && (undefined === input.index || "object" === typeof input.index && null !== input.index && _io3(input.index, true && _exceptionable)) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every((elem, _index2) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io4(elem, true && _exceptionable))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every((elem, _index3) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io5(elem, true && _exceptionable))) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
15593
|
+
if (["type", "title", "description", "domain", "path", "computed", "index", "required", "oneOf", "anyOf"].some(prop => key === prop))
|
|
15203
15594
|
return true;
|
|
15204
15595
|
const value = input[key];
|
|
15205
15596
|
if (undefined === value)
|
|
@@ -15212,54 +15603,56 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15212
15603
|
if (undefined === value)
|
|
15213
15604
|
return true;
|
|
15214
15605
|
return false;
|
|
15215
|
-
})); const _io4 = (input, _exceptionable = true) =>
|
|
15216
|
-
if (["
|
|
15606
|
+
})); const _io4 = (input, _exceptionable = true) => true && (undefined === input.title || "string" === typeof input.title) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
15607
|
+
if (["const", "title"].some(prop => key === prop))
|
|
15217
15608
|
return true;
|
|
15218
15609
|
const value = input[key];
|
|
15219
15610
|
if (undefined === value)
|
|
15220
15611
|
return true;
|
|
15221
15612
|
return false;
|
|
15222
|
-
})); const _io5 = (input, _exceptionable = true) =>
|
|
15223
|
-
if (["
|
|
15613
|
+
})); const _io5 = (input, _exceptionable = true) => true && (undefined === input.title || "string" === typeof input.title) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
15614
|
+
if (["const", "title"].some(prop => key === prop))
|
|
15224
15615
|
return true;
|
|
15225
15616
|
const value = input[key];
|
|
15226
15617
|
if (undefined === value)
|
|
15227
15618
|
return true;
|
|
15228
15619
|
return false;
|
|
15229
|
-
})); const _io6 = (input, _exceptionable = true) =>
|
|
15230
|
-
if (["
|
|
15620
|
+
})); const _io6 = (input, _exceptionable = true) => null !== input.panel && (undefined === input.panel || "string" === typeof input.panel || (Array.isArray(input.panel) && (_ia0(input.panel, true && _exceptionable) || false) || "object" === typeof input.panel && null !== input.panel && _iu0(input.panel, true && _exceptionable))) && (null !== input.editor && (undefined === input.editor || "string" === typeof input.editor || (Array.isArray(input.editor) && (_ia0(input.editor, true && _exceptionable) || false) || "object" === typeof input.editor && null !== input.editor && _iu0(input.editor, true && _exceptionable)))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
15621
|
+
if (["panel", "editor"].some(prop => key === prop))
|
|
15231
15622
|
return true;
|
|
15232
15623
|
const value = input[key];
|
|
15233
15624
|
if (undefined === value)
|
|
15234
15625
|
return true;
|
|
15235
15626
|
return false;
|
|
15236
|
-
})); const _io7 = (input, _exceptionable = true) =>
|
|
15237
|
-
if (["type", "
|
|
15627
|
+
})); const _io7 = (input, _exceptionable = true) => "divider" === input.type && (undefined === input.title || "string" === typeof input.title) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
15628
|
+
if (["type", "title"].some(prop => key === prop))
|
|
15238
15629
|
return true;
|
|
15239
15630
|
const value = input[key];
|
|
15240
15631
|
if (undefined === value)
|
|
15241
15632
|
return true;
|
|
15242
15633
|
return false;
|
|
15243
|
-
})); const _io8 = (input, _exceptionable = true) => "
|
|
15244
|
-
if (["
|
|
15634
|
+
})); const _io8 = (input, _exceptionable = true) => "string" === typeof input.property && (undefined === input.width || "string" === typeof input.width || "number" === typeof input.width) && (null !== input.widget && (undefined === input.widget || "default" === input.widget || "assetTypes" === input.widget || "assetTags" === input.widget || "geopoint" === input.widget || "poster" === input.widget || "textarea" === input.widget || "tags" === input.widget || "object" === typeof input.widget && null !== input.widget && _io9(input.widget, true && _exceptionable))) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
15635
|
+
if (["property", "width", "widget"].some(prop => key === prop))
|
|
15245
15636
|
return true;
|
|
15246
15637
|
const value = input[key];
|
|
15247
15638
|
if (undefined === value)
|
|
15248
15639
|
return true;
|
|
15249
15640
|
return false;
|
|
15250
|
-
})); const _io9 = (input, _exceptionable = true) =>
|
|
15641
|
+
})); const _io9 = (input, _exceptionable = true) => ("default" === input.type || "assetTypes" === input.type || "assetTags" === input.type || "geopoint" === input.type || "poster" === input.type || "textarea" === input.type || "tags" === input.type) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
15642
|
+
if (["type", "readOnly"].some(prop => key === prop))
|
|
15643
|
+
return true;
|
|
15251
15644
|
const value = input[key];
|
|
15252
15645
|
if (undefined === value)
|
|
15253
15646
|
return true;
|
|
15254
15647
|
return false;
|
|
15255
|
-
}); const _iu0 = (input, _exceptionable = true) => (() => {
|
|
15648
|
+
})); const _iu0 = (input, _exceptionable = true) => (() => {
|
|
15256
15649
|
if (undefined !== input.type)
|
|
15257
|
-
return
|
|
15650
|
+
return _io7(input, true && _exceptionable);
|
|
15258
15651
|
else if (undefined !== input.property)
|
|
15259
|
-
return
|
|
15652
|
+
return _io8(input, true && _exceptionable);
|
|
15260
15653
|
else
|
|
15261
15654
|
return false;
|
|
15262
|
-
})(); const _ia0 = (input, _exceptionable = true) => input.every((elem,
|
|
15655
|
+
})(); const _ia0 = (input, _exceptionable = true) => input.every((elem, _index4) => null !== elem && undefined !== elem && ("string" === typeof elem || (Array.isArray(elem) && (_ia0(elem, true && _exceptionable) || false) || "object" === typeof elem && null !== elem && _iu0(elem, true && _exceptionable)))); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
15263
15656
|
path: _path + ".title",
|
|
15264
15657
|
expected: "(string | undefined)",
|
|
15265
15658
|
value: input.title
|
|
@@ -15271,8 +15664,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15271
15664
|
path: _path + ".supports",
|
|
15272
15665
|
expected: "(Array<string> | string | undefined)",
|
|
15273
15666
|
value: input.supports
|
|
15274
|
-
})) && input.supports.map((elem,
|
|
15275
|
-
path: _path + ".supports[" +
|
|
15667
|
+
})) && input.supports.map((elem, _index5) => "string" === typeof elem || _report(_exceptionable, {
|
|
15668
|
+
path: _path + ".supports[" + _index5 + "]",
|
|
15276
15669
|
expected: "string",
|
|
15277
15670
|
value: elem
|
|
15278
15671
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15297,37 +15690,13 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15297
15690
|
value: input.properties
|
|
15298
15691
|
}), undefined === input.layout || ("object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) || _report(_exceptionable, {
|
|
15299
15692
|
path: _path + ".layout",
|
|
15300
|
-
expected: "(__type.
|
|
15693
|
+
expected: "(__type.o4 | undefined)",
|
|
15301
15694
|
value: input.layout
|
|
15302
|
-
})) &&
|
|
15695
|
+
})) && _vo6(input.layout, _path + ".layout", true && _exceptionable) || _report(_exceptionable, {
|
|
15303
15696
|
path: _path + ".layout",
|
|
15304
|
-
expected: "(__type.
|
|
15697
|
+
expected: "(__type.o4 | undefined)",
|
|
15305
15698
|
value: input.layout
|
|
15306
|
-
}),
|
|
15307
|
-
path: _path + ".filter",
|
|
15308
|
-
expected: "(__type.o3 | string | undefined)",
|
|
15309
|
-
value: input.filter
|
|
15310
|
-
})) && (undefined === input.filter || "string" === typeof input.filter || ("object" === typeof input.filter && null !== input.filter || _report(_exceptionable, {
|
|
15311
|
-
path: _path + ".filter",
|
|
15312
|
-
expected: "(__type.o3 | string | undefined)",
|
|
15313
|
-
value: input.filter
|
|
15314
|
-
})) && _vo8(input.filter, _path + ".filter", true && _exceptionable) || _report(_exceptionable, {
|
|
15315
|
-
path: _path + ".filter",
|
|
15316
|
-
expected: "(__type.o3 | string | undefined)",
|
|
15317
|
-
value: input.filter
|
|
15318
|
-
})), (null !== input.expand || _report(_exceptionable, {
|
|
15319
|
-
path: _path + ".expand",
|
|
15320
|
-
expected: "(__type.o3 | string | undefined)",
|
|
15321
|
-
value: input.expand
|
|
15322
|
-
})) && (undefined === input.expand || "string" === typeof input.expand || ("object" === typeof input.expand && null !== input.expand || _report(_exceptionable, {
|
|
15323
|
-
path: _path + ".expand",
|
|
15324
|
-
expected: "(__type.o3 | string | undefined)",
|
|
15325
|
-
value: input.expand
|
|
15326
|
-
})) && _vo8(input.expand, _path + ".expand", true && _exceptionable) || _report(_exceptionable, {
|
|
15327
|
-
path: _path + ".expand",
|
|
15328
|
-
expected: "(__type.o3 | string | undefined)",
|
|
15329
|
-
value: input.expand
|
|
15330
|
-
})), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
15699
|
+
}), true, true, 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
15331
15700
|
if (["title", "supports", "priority", "editorPriority", "properties", "layout", "filter", "expand"].some(prop => key === prop))
|
|
15332
15701
|
return true;
|
|
15333
15702
|
const value = input[key];
|
|
@@ -15388,12 +15757,40 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15388
15757
|
path: _path + ".required",
|
|
15389
15758
|
expected: "(boolean | undefined)",
|
|
15390
15759
|
value: input.required
|
|
15391
|
-
}), undefined === input.oneOf || Array.isArray(input.oneOf) || _report(_exceptionable, {
|
|
15760
|
+
}), undefined === input.oneOf || (Array.isArray(input.oneOf) || _report(_exceptionable, {
|
|
15761
|
+
path: _path + ".oneOf",
|
|
15762
|
+
expected: "(Array<__type> | undefined)",
|
|
15763
|
+
value: input.oneOf
|
|
15764
|
+
})) && input.oneOf.map((elem, _index6) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
15765
|
+
path: _path + ".oneOf[" + _index6 + "]",
|
|
15766
|
+
expected: "__type.o2",
|
|
15767
|
+
value: elem
|
|
15768
|
+
})) && _vo4(elem, _path + ".oneOf[" + _index6 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
15769
|
+
path: _path + ".oneOf[" + _index6 + "]",
|
|
15770
|
+
expected: "__type.o2",
|
|
15771
|
+
value: elem
|
|
15772
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
15392
15773
|
path: _path + ".oneOf",
|
|
15393
|
-
expected: "(Array<
|
|
15774
|
+
expected: "(Array<__type> | undefined)",
|
|
15394
15775
|
value: input.oneOf
|
|
15776
|
+
}), undefined === input.anyOf || (Array.isArray(input.anyOf) || _report(_exceptionable, {
|
|
15777
|
+
path: _path + ".anyOf",
|
|
15778
|
+
expected: "(Array<__type>.o1 | undefined)",
|
|
15779
|
+
value: input.anyOf
|
|
15780
|
+
})) && input.anyOf.map((elem, _index7) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
15781
|
+
path: _path + ".anyOf[" + _index7 + "]",
|
|
15782
|
+
expected: "__type.o3",
|
|
15783
|
+
value: elem
|
|
15784
|
+
})) && _vo5(elem, _path + ".anyOf[" + _index7 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
15785
|
+
path: _path + ".anyOf[" + _index7 + "]",
|
|
15786
|
+
expected: "__type.o3",
|
|
15787
|
+
value: elem
|
|
15788
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
15789
|
+
path: _path + ".anyOf",
|
|
15790
|
+
expected: "(Array<__type>.o1 | undefined)",
|
|
15791
|
+
value: input.anyOf
|
|
15395
15792
|
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
15396
|
-
if (["type", "title", "description", "domain", "path", "computed", "index", "required", "oneOf"].some(prop => key === prop))
|
|
15793
|
+
if (["type", "title", "description", "domain", "path", "computed", "index", "required", "oneOf", "anyOf"].some(prop => key === prop))
|
|
15397
15794
|
return true;
|
|
15398
15795
|
const value = input[key];
|
|
15399
15796
|
if (undefined === value)
|
|
@@ -15432,7 +15829,47 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15432
15829
|
"Please remove the property next time."
|
|
15433
15830
|
].join("\n")
|
|
15434
15831
|
});
|
|
15435
|
-
}).every(flag => flag))].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [
|
|
15832
|
+
}).every(flag => flag))].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [true, undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
15833
|
+
path: _path + ".title",
|
|
15834
|
+
expected: "(string | undefined)",
|
|
15835
|
+
value: input.title
|
|
15836
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
15837
|
+
if (["const", "title"].some(prop => key === prop))
|
|
15838
|
+
return true;
|
|
15839
|
+
const value = input[key];
|
|
15840
|
+
if (undefined === value)
|
|
15841
|
+
return true;
|
|
15842
|
+
return _report(_exceptionable, {
|
|
15843
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
15844
|
+
expected: "undefined",
|
|
15845
|
+
value: value,
|
|
15846
|
+
description: [
|
|
15847
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
15848
|
+
"",
|
|
15849
|
+
"Please remove the property next time."
|
|
15850
|
+
].join("\n")
|
|
15851
|
+
});
|
|
15852
|
+
}).every(flag => flag))].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => [true, undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
15853
|
+
path: _path + ".title",
|
|
15854
|
+
expected: "(string | undefined)",
|
|
15855
|
+
value: input.title
|
|
15856
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
15857
|
+
if (["const", "title"].some(prop => key === prop))
|
|
15858
|
+
return true;
|
|
15859
|
+
const value = input[key];
|
|
15860
|
+
if (undefined === value)
|
|
15861
|
+
return true;
|
|
15862
|
+
return _report(_exceptionable, {
|
|
15863
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
15864
|
+
expected: "undefined",
|
|
15865
|
+
value: value,
|
|
15866
|
+
description: [
|
|
15867
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
15868
|
+
"",
|
|
15869
|
+
"Please remove the property next time."
|
|
15870
|
+
].join("\n")
|
|
15871
|
+
});
|
|
15872
|
+
}).every(flag => flag))].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => [(null !== input.panel || _report(_exceptionable, {
|
|
15436
15873
|
path: _path + ".panel",
|
|
15437
15874
|
expected: "(Array<PanelLayout> | PanelLayoutDivider | PanelLayoutItem | string | undefined)",
|
|
15438
15875
|
value: input.panel
|
|
@@ -15480,7 +15917,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15480
15917
|
"Please remove the property next time."
|
|
15481
15918
|
].join("\n")
|
|
15482
15919
|
});
|
|
15483
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
15920
|
+
}).every(flag => flag))].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => ["divider" === input.type || _report(_exceptionable, {
|
|
15484
15921
|
path: _path + ".type",
|
|
15485
15922
|
expected: "\"divider\"",
|
|
15486
15923
|
value: input.type
|
|
@@ -15504,7 +15941,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15504
15941
|
"Please remove the property next time."
|
|
15505
15942
|
].join("\n")
|
|
15506
15943
|
});
|
|
15507
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
15944
|
+
}).every(flag => flag))].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => ["string" === typeof input.property || _report(_exceptionable, {
|
|
15508
15945
|
path: _path + ".property",
|
|
15509
15946
|
expected: "string",
|
|
15510
15947
|
value: input.property
|
|
@@ -15520,7 +15957,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15520
15957
|
path: _path + ".widget",
|
|
15521
15958
|
expected: "(\"assetTags\" | \"assetTypes\" | \"default\" | \"geopoint\" | \"poster\" | \"tags\" | \"textarea\" | WidgetItem | undefined)",
|
|
15522
15959
|
value: input.widget
|
|
15523
|
-
})) &&
|
|
15960
|
+
})) && _vo9(input.widget, _path + ".widget", true && _exceptionable) || _report(_exceptionable, {
|
|
15524
15961
|
path: _path + ".widget",
|
|
15525
15962
|
expected: "(\"assetTags\" | \"assetTypes\" | \"default\" | \"geopoint\" | \"poster\" | \"tags\" | \"textarea\" | WidgetItem | undefined)",
|
|
15526
15963
|
value: input.widget
|
|
@@ -15540,7 +15977,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15540
15977
|
"Please remove the property next time."
|
|
15541
15978
|
].join("\n")
|
|
15542
15979
|
});
|
|
15543
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
15980
|
+
}).every(flag => flag))].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => ["default" === input.type || "assetTypes" === input.type || "assetTags" === input.type || "geopoint" === input.type || "poster" === input.type || "textarea" === input.type || "tags" === input.type || _report(_exceptionable, {
|
|
15544
15981
|
path: _path + ".type",
|
|
15545
15982
|
expected: "(\"assetTags\" | \"assetTypes\" | \"default\" | \"geopoint\" | \"poster\" | \"tags\" | \"textarea\")",
|
|
15546
15983
|
value: input.type
|
|
@@ -15564,77 +16001,35 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15564
16001
|
"Please remove the property next time."
|
|
15565
16002
|
].join("\n")
|
|
15566
16003
|
});
|
|
15567
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
15568
|
-
|
|
15569
|
-
|
|
15570
|
-
|
|
15571
|
-
|
|
15572
|
-
|
|
15573
|
-
expected: "object",
|
|
15574
|
-
value: input.__context
|
|
15575
|
-
}), "string" === typeof input.__returnValue || _report(_exceptionable, {
|
|
15576
|
-
path: _path + ".__returnValue",
|
|
15577
|
-
expected: "string",
|
|
15578
|
-
value: input.__returnValue
|
|
15579
|
-
}), 2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
15580
|
-
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
15581
|
-
return true;
|
|
15582
|
-
const value = input[key];
|
|
15583
|
-
if (undefined === value)
|
|
15584
|
-
return true;
|
|
16004
|
+
}).every(flag => flag))].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
16005
|
+
if (undefined !== input.type)
|
|
16006
|
+
return _vo7(input, _path, true && _exceptionable);
|
|
16007
|
+
else if (undefined !== input.property)
|
|
16008
|
+
return _vo8(input, _path, true && _exceptionable);
|
|
16009
|
+
else
|
|
15585
16010
|
return _report(_exceptionable, {
|
|
15586
|
-
path: _path
|
|
15587
|
-
expected: "
|
|
15588
|
-
value:
|
|
15589
|
-
description: [
|
|
15590
|
-
`The property \`${key}\` is not defined in the object type.`,
|
|
15591
|
-
"",
|
|
15592
|
-
"Please remove the property next time."
|
|
15593
|
-
].join("\n")
|
|
16011
|
+
path: _path,
|
|
16012
|
+
expected: "(PanelLayoutDivider | PanelLayoutItem)",
|
|
16013
|
+
value: input
|
|
15594
16014
|
});
|
|
15595
|
-
|
|
15596
|
-
|
|
15597
|
-
if (undefined === value)
|
|
15598
|
-
return true;
|
|
15599
|
-
return _report(_exceptionable, {
|
|
15600
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
15601
|
-
expected: "undefined",
|
|
15602
|
-
value: value,
|
|
15603
|
-
description: [
|
|
15604
|
-
`The property \`${key}\` is not defined in the object type.`,
|
|
15605
|
-
"",
|
|
15606
|
-
"Please remove the property next time."
|
|
15607
|
-
].join("\n")
|
|
15608
|
-
});
|
|
15609
|
-
}).every(flag => flag))].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
15610
|
-
if (undefined !== input.type)
|
|
15611
|
-
return _vo5(input, _path, true && _exceptionable);
|
|
15612
|
-
else if (undefined !== input.property)
|
|
15613
|
-
return _vo6(input, _path, true && _exceptionable);
|
|
15614
|
-
else
|
|
15615
|
-
return _report(_exceptionable, {
|
|
15616
|
-
path: _path,
|
|
15617
|
-
expected: "(PanelLayoutDivider | PanelLayoutItem)",
|
|
15618
|
-
value: input
|
|
15619
|
-
});
|
|
15620
|
-
})(); const _va0 = (input, _path, _exceptionable = true) => input.map((elem, _index4) => (null !== elem || _report(_exceptionable, {
|
|
15621
|
-
path: _path + "[" + _index4 + "]",
|
|
16015
|
+
})(); const _va0 = (input, _path, _exceptionable = true) => input.map((elem, _index8) => (null !== elem || _report(_exceptionable, {
|
|
16016
|
+
path: _path + "[" + _index8 + "]",
|
|
15622
16017
|
expected: "(Array<PanelLayout> | PanelLayoutDivider | PanelLayoutItem | string)",
|
|
15623
16018
|
value: elem
|
|
15624
16019
|
})) && (undefined !== elem || _report(_exceptionable, {
|
|
15625
|
-
path: _path + "[" +
|
|
16020
|
+
path: _path + "[" + _index8 + "]",
|
|
15626
16021
|
expected: "(Array<PanelLayout> | PanelLayoutDivider | PanelLayoutItem | string)",
|
|
15627
16022
|
value: elem
|
|
15628
|
-
})) && ("string" === typeof elem || (Array.isArray(elem) && (_va0(elem, _path + "[" +
|
|
15629
|
-
path: _path + "[" +
|
|
16023
|
+
})) && ("string" === typeof elem || (Array.isArray(elem) && (_va0(elem, _path + "[" + _index8 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16024
|
+
path: _path + "[" + _index8 + "]",
|
|
15630
16025
|
expected: "Array<PanelLayout>",
|
|
15631
16026
|
value: elem
|
|
15632
|
-
})) || "object" === typeof elem && null !== elem && _vu0(elem, _path + "[" +
|
|
15633
|
-
path: _path + "[" +
|
|
16027
|
+
})) || "object" === typeof elem && null !== elem && _vu0(elem, _path + "[" + _index8 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16028
|
+
path: _path + "[" + _index8 + "]",
|
|
15634
16029
|
expected: "(Array<PanelLayout> | PanelLayoutDivider | PanelLayoutItem | string)",
|
|
15635
16030
|
value: elem
|
|
15636
16031
|
})) || _report(_exceptionable, {
|
|
15637
|
-
path: _path + "[" +
|
|
16032
|
+
path: _path + "[" + _index8 + "]",
|
|
15638
16033
|
expected: "(Array<PanelLayout> | PanelLayoutDivider | PanelLayoutItem | string)",
|
|
15639
16034
|
value: elem
|
|
15640
16035
|
}))).every(flag => flag); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input, true); let errors; let _report; return input => {
|
|
@@ -19949,8 +20344,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
19949
20344
|
}; })()(input);
|
|
19950
20345
|
}
|
|
19951
20346
|
case ":published": {
|
|
19952
|
-
return (() => { const _io0 = (input, _exceptionable = true) => "string" === typeof input.type && "string" === typeof input.parent && (Array.isArray(input.asset) && input.asset.every((elem, _index1) => "string" === typeof elem)) && "number" === typeof input.time && "string" === typeof input.connection && (undefined === input.user || "string" === typeof input.user) && (undefined === input.error || "boolean" === typeof input.error) && (
|
|
19953
|
-
if (["type", "parent", "asset", "time", "connection", "user", "error"].some(prop => key === prop))
|
|
20347
|
+
return (() => { const _io0 = (input, _exceptionable = true) => "string" === typeof input.type && (undefined === input.parent || "string" === typeof input.parent) && (null !== input.asset && (undefined === input.asset || "string" === typeof input.asset || Array.isArray(input.asset) && input.asset.every((elem, _index1) => "string" === typeof elem))) && (undefined === input.assets || Array.isArray(input.assets) && input.assets.every((elem, _index2) => "string" === typeof elem)) && "number" === typeof input.time && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.gallery || "string" === typeof input.gallery) && (undefined === input.user || "string" === typeof input.user) && (undefined === input.error || "boolean" === typeof input.error) && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
20348
|
+
if (["type", "parent", "asset", "assets", "time", "connection", "gallery", "user", "error"].some(prop => key === prop))
|
|
19954
20349
|
return true;
|
|
19955
20350
|
const value = input[key];
|
|
19956
20351
|
if (undefined === value)
|
|
@@ -19960,30 +20355,50 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
19960
20355
|
path: _path + ".type",
|
|
19961
20356
|
expected: "string",
|
|
19962
20357
|
value: input.type
|
|
19963
|
-
}), "string" === typeof input.parent || _report(_exceptionable, {
|
|
20358
|
+
}), undefined === input.parent || "string" === typeof input.parent || _report(_exceptionable, {
|
|
19964
20359
|
path: _path + ".parent",
|
|
19965
|
-
expected: "string",
|
|
20360
|
+
expected: "(string | undefined)",
|
|
19966
20361
|
value: input.parent
|
|
19967
|
-
}), (
|
|
20362
|
+
}), (null !== input.asset || _report(_exceptionable, {
|
|
19968
20363
|
path: _path + ".asset",
|
|
19969
|
-
expected: "Array<string>",
|
|
20364
|
+
expected: "(Array<string> | string | undefined)",
|
|
19970
20365
|
value: input.asset
|
|
19971
|
-
})) && input.asset
|
|
19972
|
-
path: _path + ".asset
|
|
20366
|
+
})) && (undefined === input.asset || "string" === typeof input.asset || (Array.isArray(input.asset) || _report(_exceptionable, {
|
|
20367
|
+
path: _path + ".asset",
|
|
20368
|
+
expected: "(Array<string> | string | undefined)",
|
|
20369
|
+
value: input.asset
|
|
20370
|
+
})) && input.asset.map((elem, _index3) => "string" === typeof elem || _report(_exceptionable, {
|
|
20371
|
+
path: _path + ".asset[" + _index3 + "]",
|
|
19973
20372
|
expected: "string",
|
|
19974
20373
|
value: elem
|
|
19975
20374
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
19976
20375
|
path: _path + ".asset",
|
|
19977
|
-
expected: "Array<string>",
|
|
20376
|
+
expected: "(Array<string> | string | undefined)",
|
|
19978
20377
|
value: input.asset
|
|
20378
|
+
})), undefined === input.assets || (Array.isArray(input.assets) || _report(_exceptionable, {
|
|
20379
|
+
path: _path + ".assets",
|
|
20380
|
+
expected: "(Array<string> | undefined)",
|
|
20381
|
+
value: input.assets
|
|
20382
|
+
})) && input.assets.map((elem, _index4) => "string" === typeof elem || _report(_exceptionable, {
|
|
20383
|
+
path: _path + ".assets[" + _index4 + "]",
|
|
20384
|
+
expected: "string",
|
|
20385
|
+
value: elem
|
|
20386
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
20387
|
+
path: _path + ".assets",
|
|
20388
|
+
expected: "(Array<string> | undefined)",
|
|
20389
|
+
value: input.assets
|
|
19979
20390
|
}), "number" === typeof input.time || _report(_exceptionable, {
|
|
19980
20391
|
path: _path + ".time",
|
|
19981
20392
|
expected: "number",
|
|
19982
20393
|
value: input.time
|
|
19983
|
-
}), "string" === typeof input.connection || _report(_exceptionable, {
|
|
20394
|
+
}), undefined === input.connection || "string" === typeof input.connection || _report(_exceptionable, {
|
|
19984
20395
|
path: _path + ".connection",
|
|
19985
|
-
expected: "string",
|
|
20396
|
+
expected: "(string | undefined)",
|
|
19986
20397
|
value: input.connection
|
|
20398
|
+
}), undefined === input.gallery || "string" === typeof input.gallery || _report(_exceptionable, {
|
|
20399
|
+
path: _path + ".gallery",
|
|
20400
|
+
expected: "(string | undefined)",
|
|
20401
|
+
value: input.gallery
|
|
19987
20402
|
}), undefined === input.user || "string" === typeof input.user || _report(_exceptionable, {
|
|
19988
20403
|
path: _path + ".user",
|
|
19989
20404
|
expected: "(string | undefined)",
|
|
@@ -19992,8 +20407,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
19992
20407
|
path: _path + ".error",
|
|
19993
20408
|
expected: "(boolean | undefined)",
|
|
19994
20409
|
value: input.error
|
|
19995
|
-
}),
|
|
19996
|
-
if (["type", "parent", "asset", "time", "connection", "user", "error"].some(prop => key === prop))
|
|
20410
|
+
}), 2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
20411
|
+
if (["type", "parent", "asset", "assets", "time", "connection", "gallery", "user", "error"].some(prop => key === prop))
|
|
19997
20412
|
return true;
|
|
19998
20413
|
const value = input[key];
|
|
19999
20414
|
if (undefined === value)
|
|
@@ -21845,8 +22260,15 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
21845
22260
|
}; })()(input);
|
|
21846
22261
|
}
|
|
21847
22262
|
case ":script": {
|
|
21848
|
-
return (() => { const _io0 = (input, _exceptionable = true) => "string" === typeof input.value && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
21849
|
-
if (["value"].some(prop => key === prop))
|
|
22263
|
+
return (() => { const _io0 = (input, _exceptionable = true) => "string" === typeof input.value && (undefined === input.refs || Array.isArray(input.refs) && input.refs.every((elem, _index1) => "object" === typeof elem && null !== elem && _io1(elem, true && _exceptionable))) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
22264
|
+
if (["value", "refs"].some(prop => key === prop))
|
|
22265
|
+
return true;
|
|
22266
|
+
const value = input[key];
|
|
22267
|
+
if (undefined === value)
|
|
22268
|
+
return true;
|
|
22269
|
+
return false;
|
|
22270
|
+
})); const _io1 = (input, _exceptionable = true) => "string" === typeof input.mixin && (undefined === input.asset || "string" === typeof input.asset) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
22271
|
+
if (["mixin", "asset"].some(prop => key === prop))
|
|
21850
22272
|
return true;
|
|
21851
22273
|
const value = input[key];
|
|
21852
22274
|
if (undefined === value)
|
|
@@ -21856,8 +22278,48 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
21856
22278
|
path: _path + ".value",
|
|
21857
22279
|
expected: "string",
|
|
21858
22280
|
value: input.value
|
|
22281
|
+
}), undefined === input.refs || (Array.isArray(input.refs) || _report(_exceptionable, {
|
|
22282
|
+
path: _path + ".refs",
|
|
22283
|
+
expected: "(Array<__type> | undefined)",
|
|
22284
|
+
value: input.refs
|
|
22285
|
+
})) && input.refs.map((elem, _index2) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
22286
|
+
path: _path + ".refs[" + _index2 + "]",
|
|
22287
|
+
expected: "__type",
|
|
22288
|
+
value: elem
|
|
22289
|
+
})) && _vo1(elem, _path + ".refs[" + _index2 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
22290
|
+
path: _path + ".refs[" + _index2 + "]",
|
|
22291
|
+
expected: "__type",
|
|
22292
|
+
value: elem
|
|
22293
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
22294
|
+
path: _path + ".refs",
|
|
22295
|
+
expected: "(Array<__type> | undefined)",
|
|
22296
|
+
value: input.refs
|
|
21859
22297
|
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
21860
|
-
if (["value"].some(prop => key === prop))
|
|
22298
|
+
if (["value", "refs"].some(prop => key === prop))
|
|
22299
|
+
return true;
|
|
22300
|
+
const value = input[key];
|
|
22301
|
+
if (undefined === value)
|
|
22302
|
+
return true;
|
|
22303
|
+
return _report(_exceptionable, {
|
|
22304
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
22305
|
+
expected: "undefined",
|
|
22306
|
+
value: value,
|
|
22307
|
+
description: [
|
|
22308
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
22309
|
+
"",
|
|
22310
|
+
"Please remove the property next time."
|
|
22311
|
+
].join("\n")
|
|
22312
|
+
});
|
|
22313
|
+
}).every(flag => flag))].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.mixin || _report(_exceptionable, {
|
|
22314
|
+
path: _path + ".mixin",
|
|
22315
|
+
expected: "string",
|
|
22316
|
+
value: input.mixin
|
|
22317
|
+
}), undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
|
|
22318
|
+
path: _path + ".asset",
|
|
22319
|
+
expected: "(string | undefined)",
|
|
22320
|
+
value: input.asset
|
|
22321
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
22322
|
+
if (["mixin", "asset"].some(prop => key === prop))
|
|
21861
22323
|
return true;
|
|
21862
22324
|
const value = input[key];
|
|
21863
22325
|
if (undefined === value)
|
|
@@ -23151,8 +23613,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23151
23613
|
}; })()(input);
|
|
23152
23614
|
}
|
|
23153
23615
|
case ":search": {
|
|
23154
|
-
return (() => { const _io0 = (input, _exceptionable = true) => (undefined === input.type || "conditions_and" === input.type) && (undefined === input.sort || Array.isArray(input.sort) && input.sort.every((elem, _index1) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem, true && _exceptionable))) && (undefined === input.showDefault || "boolean" === typeof input.showDefault) && (undefined === input.showDeleted || "boolean" === typeof input.showDeleted) && (undefined === input.showHidden || "boolean" === typeof input.showHidden) && (undefined === input.view || "GRID_VIEW" === input.view || "LIST_VIEW" === input.view || "CALENDAR_VIEW" === input.view || "MAP_VIEW" === input.view || "AGENDA_VIEW" === input.view || "RESOURCE_VIEW" === input.view) && (undefined === input.conditions || Array.isArray(input.conditions)) && (null === input.visibleColumnKeys || undefined === input.visibleColumnKeys || Array.isArray(input.visibleColumnKeys) && input.visibleColumnKeys.every((elem,
|
|
23155
|
-
if (["type", "sort", "showDefault", "showDeleted", "showHidden", "view", "conditions", "visibleColumnKeys", "connectionId"].some(prop => key === prop))
|
|
23616
|
+
return (() => { const _io0 = (input, _exceptionable = true) => (undefined === input.type || "conditions_and" === input.type || "conditions_or" === input.type) && (undefined === input.sort || Array.isArray(input.sort) && input.sort.every((elem, _index1) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem, true && _exceptionable))) && (undefined === input.showDefault || "boolean" === typeof input.showDefault) && (undefined === input.showDeleted || "boolean" === typeof input.showDeleted) && (undefined === input.showHidden || "boolean" === typeof input.showHidden) && (null === input.view || undefined === input.view || "GRID_VIEW" === input.view || "LIST_VIEW" === input.view || "CALENDAR_VIEW" === input.view || "MAP_VIEW" === input.view || "AGENDA_VIEW" === input.view || "RESOURCE_VIEW" === input.view) && (undefined === input.conditions || Array.isArray(input.conditions) && input.conditions.every((elem, _index2) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io2(elem, true && _exceptionable))) && (null === input.visibleColumnKeys || undefined === input.visibleColumnKeys || Array.isArray(input.visibleColumnKeys) && input.visibleColumnKeys.every((elem, _index3) => "string" === typeof elem)) && (null === input.connectionId || undefined === input.connectionId || "string" === typeof input.connectionId) && (undefined === input.calendar || "object" === typeof input.calendar && null !== input.calendar && false === Array.isArray(input.calendar) && _io3(input.calendar, true && _exceptionable)) && (undefined === input.refreshInterval || "number" === typeof input.refreshInterval) && (undefined === input.color || "string" === typeof input.color) && (undefined === input.icon || "string" === typeof input.icon) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23617
|
+
if (["type", "sort", "showDefault", "showDeleted", "showHidden", "view", "conditions", "visibleColumnKeys", "connectionId", "calendar", "refreshInterval", "color", "icon"].some(prop => key === prop))
|
|
23156
23618
|
return true;
|
|
23157
23619
|
const value = input[key];
|
|
23158
23620
|
if (undefined === value)
|
|
@@ -23163,20 +23625,34 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23163
23625
|
if (undefined === value)
|
|
23164
23626
|
return true;
|
|
23165
23627
|
return "asc" === value || "desc" === value;
|
|
23166
|
-
}); const
|
|
23628
|
+
}); const _io2 = (input, _exceptionable = true) => (undefined === input.field || "string" === typeof input.field) && (undefined === input.type || "string" === typeof input.type) && (undefined === input.op || "string" === typeof input.op) && true && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23629
|
+
if (["field", "type", "op", "value"].some(prop => key === prop))
|
|
23630
|
+
return true;
|
|
23631
|
+
const value = input[key];
|
|
23632
|
+
if (undefined === value)
|
|
23633
|
+
return true;
|
|
23634
|
+
return false;
|
|
23635
|
+
})); const _io3 = (input, _exceptionable = true) => (null === input.view || undefined === input.view || "day" === input.view || "week" === input.view || "month" === input.view || "work_week" === input.view) && (null === input.dateAccessor || undefined === input.dateAccessor || "string" === typeof input.dateAccessor) && (undefined === input.agenda || "boolean" === typeof input.agenda) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23636
|
+
if (["view", "dateAccessor", "agenda"].some(prop => key === prop))
|
|
23637
|
+
return true;
|
|
23638
|
+
const value = input[key];
|
|
23639
|
+
if (undefined === value)
|
|
23640
|
+
return true;
|
|
23641
|
+
return false;
|
|
23642
|
+
})); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.type || "conditions_and" === input.type || "conditions_or" === input.type || _report(_exceptionable, {
|
|
23167
23643
|
path: _path + ".type",
|
|
23168
|
-
expected: "(\"conditions_and\" | undefined)",
|
|
23644
|
+
expected: "(\"conditions_and\" | \"conditions_or\" | undefined)",
|
|
23169
23645
|
value: input.type
|
|
23170
23646
|
}), undefined === input.sort || (Array.isArray(input.sort) || _report(_exceptionable, {
|
|
23171
23647
|
path: _path + ".sort",
|
|
23172
23648
|
expected: "(Array<__type> | undefined)",
|
|
23173
23649
|
value: input.sort
|
|
23174
|
-
})) && input.sort.map((elem,
|
|
23175
|
-
path: _path + ".sort[" +
|
|
23650
|
+
})) && input.sort.map((elem, _index4) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
23651
|
+
path: _path + ".sort[" + _index4 + "]",
|
|
23176
23652
|
expected: "__type",
|
|
23177
23653
|
value: elem
|
|
23178
|
-
})) && _vo1(elem, _path + ".sort[" +
|
|
23179
|
-
path: _path + ".sort[" +
|
|
23654
|
+
})) && _vo1(elem, _path + ".sort[" + _index4 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
23655
|
+
path: _path + ".sort[" + _index4 + "]",
|
|
23180
23656
|
expected: "__type",
|
|
23181
23657
|
value: elem
|
|
23182
23658
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -23195,20 +23671,32 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23195
23671
|
path: _path + ".showHidden",
|
|
23196
23672
|
expected: "(boolean | undefined)",
|
|
23197
23673
|
value: input.showHidden
|
|
23198
|
-
}), undefined === input.view || "GRID_VIEW" === input.view || "LIST_VIEW" === input.view || "CALENDAR_VIEW" === input.view || "MAP_VIEW" === input.view || "AGENDA_VIEW" === input.view || "RESOURCE_VIEW" === input.view || _report(_exceptionable, {
|
|
23674
|
+
}), null === input.view || undefined === input.view || "GRID_VIEW" === input.view || "LIST_VIEW" === input.view || "CALENDAR_VIEW" === input.view || "MAP_VIEW" === input.view || "AGENDA_VIEW" === input.view || "RESOURCE_VIEW" === input.view || _report(_exceptionable, {
|
|
23199
23675
|
path: _path + ".view",
|
|
23200
|
-
expected: "(\"AGENDA_VIEW\" | \"CALENDAR_VIEW\" | \"GRID_VIEW\" | \"LIST_VIEW\" | \"MAP_VIEW\" | \"RESOURCE_VIEW\" | undefined)",
|
|
23676
|
+
expected: "(\"AGENDA_VIEW\" | \"CALENDAR_VIEW\" | \"GRID_VIEW\" | \"LIST_VIEW\" | \"MAP_VIEW\" | \"RESOURCE_VIEW\" | null | undefined)",
|
|
23201
23677
|
value: input.view
|
|
23202
|
-
}), undefined === input.conditions || Array.isArray(input.conditions) || _report(_exceptionable, {
|
|
23678
|
+
}), undefined === input.conditions || (Array.isArray(input.conditions) || _report(_exceptionable, {
|
|
23679
|
+
path: _path + ".conditions",
|
|
23680
|
+
expected: "(Array<SearchCondition> | undefined)",
|
|
23681
|
+
value: input.conditions
|
|
23682
|
+
})) && input.conditions.map((elem, _index5) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
23683
|
+
path: _path + ".conditions[" + _index5 + "]",
|
|
23684
|
+
expected: "SearchCondition",
|
|
23685
|
+
value: elem
|
|
23686
|
+
})) && _vo2(elem, _path + ".conditions[" + _index5 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
23687
|
+
path: _path + ".conditions[" + _index5 + "]",
|
|
23688
|
+
expected: "SearchCondition",
|
|
23689
|
+
value: elem
|
|
23690
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
23203
23691
|
path: _path + ".conditions",
|
|
23204
|
-
expected: "(Array<
|
|
23692
|
+
expected: "(Array<SearchCondition> | undefined)",
|
|
23205
23693
|
value: input.conditions
|
|
23206
23694
|
}), null === input.visibleColumnKeys || undefined === input.visibleColumnKeys || (Array.isArray(input.visibleColumnKeys) || _report(_exceptionable, {
|
|
23207
23695
|
path: _path + ".visibleColumnKeys",
|
|
23208
23696
|
expected: "(Array<string> | null | undefined)",
|
|
23209
23697
|
value: input.visibleColumnKeys
|
|
23210
|
-
})) && input.visibleColumnKeys.map((elem,
|
|
23211
|
-
path: _path + ".visibleColumnKeys[" +
|
|
23698
|
+
})) && input.visibleColumnKeys.map((elem, _index6) => "string" === typeof elem || _report(_exceptionable, {
|
|
23699
|
+
path: _path + ".visibleColumnKeys[" + _index6 + "]",
|
|
23212
23700
|
expected: "string",
|
|
23213
23701
|
value: elem
|
|
23214
23702
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -23219,8 +23707,28 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23219
23707
|
path: _path + ".connectionId",
|
|
23220
23708
|
expected: "(null | string | undefined)",
|
|
23221
23709
|
value: input.connectionId
|
|
23710
|
+
}), undefined === input.calendar || ("object" === typeof input.calendar && null !== input.calendar && false === Array.isArray(input.calendar) || _report(_exceptionable, {
|
|
23711
|
+
path: _path + ".calendar",
|
|
23712
|
+
expected: "(__type.o1 | undefined)",
|
|
23713
|
+
value: input.calendar
|
|
23714
|
+
})) && _vo3(input.calendar, _path + ".calendar", true && _exceptionable) || _report(_exceptionable, {
|
|
23715
|
+
path: _path + ".calendar",
|
|
23716
|
+
expected: "(__type.o1 | undefined)",
|
|
23717
|
+
value: input.calendar
|
|
23718
|
+
}), undefined === input.refreshInterval || "number" === typeof input.refreshInterval || _report(_exceptionable, {
|
|
23719
|
+
path: _path + ".refreshInterval",
|
|
23720
|
+
expected: "(number | undefined)",
|
|
23721
|
+
value: input.refreshInterval
|
|
23722
|
+
}), undefined === input.color || "string" === typeof input.color || _report(_exceptionable, {
|
|
23723
|
+
path: _path + ".color",
|
|
23724
|
+
expected: "(string | undefined)",
|
|
23725
|
+
value: input.color
|
|
23726
|
+
}), undefined === input.icon || "string" === typeof input.icon || _report(_exceptionable, {
|
|
23727
|
+
path: _path + ".icon",
|
|
23728
|
+
expected: "(string | undefined)",
|
|
23729
|
+
value: input.icon
|
|
23222
23730
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
23223
|
-
if (["type", "sort", "showDefault", "showDeleted", "showHidden", "view", "conditions", "visibleColumnKeys", "connectionId"].some(prop => key === prop))
|
|
23731
|
+
if (["type", "sort", "showDefault", "showDeleted", "showHidden", "view", "conditions", "visibleColumnKeys", "connectionId", "calendar", "refreshInterval", "color", "icon"].some(prop => key === prop))
|
|
23224
23732
|
return true;
|
|
23225
23733
|
const value = input[key];
|
|
23226
23734
|
if (undefined === value)
|
|
@@ -23244,7 +23752,63 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23244
23752
|
expected: "(\"asc\" | \"desc\")",
|
|
23245
23753
|
value: value
|
|
23246
23754
|
});
|
|
23247
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
23755
|
+
}).every(flag => flag)].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.field || "string" === typeof input.field || _report(_exceptionable, {
|
|
23756
|
+
path: _path + ".field",
|
|
23757
|
+
expected: "(string | undefined)",
|
|
23758
|
+
value: input.field
|
|
23759
|
+
}), undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
23760
|
+
path: _path + ".type",
|
|
23761
|
+
expected: "(string | undefined)",
|
|
23762
|
+
value: input.type
|
|
23763
|
+
}), undefined === input.op || "string" === typeof input.op || _report(_exceptionable, {
|
|
23764
|
+
path: _path + ".op",
|
|
23765
|
+
expected: "(string | undefined)",
|
|
23766
|
+
value: input.op
|
|
23767
|
+
}), true, 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
23768
|
+
if (["field", "type", "op", "value"].some(prop => key === prop))
|
|
23769
|
+
return true;
|
|
23770
|
+
const value = input[key];
|
|
23771
|
+
if (undefined === value)
|
|
23772
|
+
return true;
|
|
23773
|
+
return _report(_exceptionable, {
|
|
23774
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
23775
|
+
expected: "undefined",
|
|
23776
|
+
value: value,
|
|
23777
|
+
description: [
|
|
23778
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
23779
|
+
"",
|
|
23780
|
+
"Please remove the property next time."
|
|
23781
|
+
].join("\n")
|
|
23782
|
+
});
|
|
23783
|
+
}).every(flag => flag))].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [null === input.view || undefined === input.view || "day" === input.view || "week" === input.view || "month" === input.view || "work_week" === input.view || _report(_exceptionable, {
|
|
23784
|
+
path: _path + ".view",
|
|
23785
|
+
expected: "(\"day\" | \"month\" | \"week\" | \"work_week\" | null | undefined)",
|
|
23786
|
+
value: input.view
|
|
23787
|
+
}), null === input.dateAccessor || undefined === input.dateAccessor || "string" === typeof input.dateAccessor || _report(_exceptionable, {
|
|
23788
|
+
path: _path + ".dateAccessor",
|
|
23789
|
+
expected: "(null | string | undefined)",
|
|
23790
|
+
value: input.dateAccessor
|
|
23791
|
+
}), undefined === input.agenda || "boolean" === typeof input.agenda || _report(_exceptionable, {
|
|
23792
|
+
path: _path + ".agenda",
|
|
23793
|
+
expected: "(boolean | undefined)",
|
|
23794
|
+
value: input.agenda
|
|
23795
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
23796
|
+
if (["view", "dateAccessor", "agenda"].some(prop => key === prop))
|
|
23797
|
+
return true;
|
|
23798
|
+
const value = input[key];
|
|
23799
|
+
if (undefined === value)
|
|
23800
|
+
return true;
|
|
23801
|
+
return _report(_exceptionable, {
|
|
23802
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
23803
|
+
expected: "undefined",
|
|
23804
|
+
value: value,
|
|
23805
|
+
description: [
|
|
23806
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
23807
|
+
"",
|
|
23808
|
+
"Please remove the property next time."
|
|
23809
|
+
].join("\n")
|
|
23810
|
+
});
|
|
23811
|
+
}).every(flag => flag))].every(flag => flag); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input, true); let errors; let _report; return input => {
|
|
23248
23812
|
if (false === __is(input)) {
|
|
23249
23813
|
errors = [];
|
|
23250
23814
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
@@ -23274,16 +23838,16 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23274
23838
|
}; })()(input);
|
|
23275
23839
|
}
|
|
23276
23840
|
case ":search?": {
|
|
23277
|
-
return (() => { const _io0 = (input, _exceptionable = true) => Array.isArray(input.hits) && input.hits.every((elem, _index1) => "string" === typeof elem) && (undefined === input.total || "number" === typeof input.total) && (undefined === input.relation || "string" === typeof input.relation) && (undefined === input.error || "string" === typeof input.error) && (
|
|
23841
|
+
return (() => { const _io0 = (input, _exceptionable = true) => (undefined === input.hits || Array.isArray(input.hits) && input.hits.every((elem, _index1) => "string" === typeof elem)) && (undefined === input.total || "number" === typeof input.total) && (undefined === input.relation || "string" === typeof input.relation) && (undefined === input.error || "string" === typeof input.error) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23278
23842
|
if (["hits", "total", "relation", "error"].some(prop => key === prop))
|
|
23279
23843
|
return true;
|
|
23280
23844
|
const value = input[key];
|
|
23281
23845
|
if (undefined === value)
|
|
23282
23846
|
return true;
|
|
23283
23847
|
return false;
|
|
23284
|
-
})); const _vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.hits) || _report(_exceptionable, {
|
|
23848
|
+
})); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.hits || (Array.isArray(input.hits) || _report(_exceptionable, {
|
|
23285
23849
|
path: _path + ".hits",
|
|
23286
|
-
expected: "Array<string>",
|
|
23850
|
+
expected: "(Array<string> | undefined)",
|
|
23287
23851
|
value: input.hits
|
|
23288
23852
|
})) && input.hits.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
|
|
23289
23853
|
path: _path + ".hits[" + _index2 + "]",
|
|
@@ -23291,7 +23855,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23291
23855
|
value: elem
|
|
23292
23856
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
23293
23857
|
path: _path + ".hits",
|
|
23294
|
-
expected: "Array<string>",
|
|
23858
|
+
expected: "(Array<string> | undefined)",
|
|
23295
23859
|
value: input.hits
|
|
23296
23860
|
}), undefined === input.total || "number" === typeof input.total || _report(_exceptionable, {
|
|
23297
23861
|
path: _path + ".total",
|
|
@@ -23305,7 +23869,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23305
23869
|
path: _path + ".error",
|
|
23306
23870
|
expected: "(string | undefined)",
|
|
23307
23871
|
value: input.error
|
|
23308
|
-
}),
|
|
23872
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
23309
23873
|
if (["hits", "total", "relation", "error"].some(prop => key === prop))
|
|
23310
23874
|
return true;
|
|
23311
23875
|
const value = input[key];
|
|
@@ -23321,11 +23885,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23321
23885
|
"Please remove the property next time."
|
|
23322
23886
|
].join("\n")
|
|
23323
23887
|
});
|
|
23324
|
-
}).every(flag => flag))].every(flag => flag); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && _io0(input, true); let errors; let _report; return input => {
|
|
23888
|
+
}).every(flag => flag))].every(flag => flag); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input, true); let errors; let _report; return input => {
|
|
23325
23889
|
if (false === __is(input)) {
|
|
23326
23890
|
errors = [];
|
|
23327
23891
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
23328
|
-
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
23892
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
23329
23893
|
path: _path + "",
|
|
23330
23894
|
expected: "SearchRecordProvided",
|
|
23331
23895
|
value: input
|
|
@@ -23350,51 +23914,181 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23350
23914
|
};
|
|
23351
23915
|
}; })()(input);
|
|
23352
23916
|
}
|
|
23353
|
-
case ":
|
|
23354
|
-
return (() => { const
|
|
23355
|
-
if (["
|
|
23356
|
-
return true;
|
|
23357
|
-
const value = input[key];
|
|
23358
|
-
if (undefined === value)
|
|
23359
|
-
return true;
|
|
23360
|
-
return false;
|
|
23361
|
-
})); const _io1 = (input, _exceptionable = true) => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23362
|
-
if (["overrideUserContact", "overrideUserLogin"].some(prop => key === prop))
|
|
23363
|
-
return true;
|
|
23364
|
-
const value = input[key];
|
|
23365
|
-
if (undefined === value)
|
|
23366
|
-
return true;
|
|
23367
|
-
return false;
|
|
23368
|
-
})); const _io2 = (input, _exceptionable = true) => (undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && _io3(input.tabs, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23369
|
-
if (["tabs"].some(prop => key === prop))
|
|
23370
|
-
return true;
|
|
23371
|
-
const value = input[key];
|
|
23372
|
-
if (undefined === value)
|
|
23373
|
-
return true;
|
|
23374
|
-
return false;
|
|
23375
|
-
})); const _io3 = (input, _exceptionable = true) => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && _io4(input.settingsPanelStore, true && _exceptionable)) && Object.keys(input).every(key => {
|
|
23376
|
-
if (["settingsPanelStore"].some(prop => key === prop))
|
|
23377
|
-
return true;
|
|
23378
|
-
const value = input[key];
|
|
23379
|
-
if (undefined === value)
|
|
23380
|
-
return true;
|
|
23381
|
-
return undefined === value || "object" === typeof value && null !== value && false === Array.isArray(value) && _io5(value, true && _exceptionable);
|
|
23382
|
-
}); const _io4 = (input, _exceptionable = true) => (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex) && (undefined === input.activeTab || "string" === typeof input.activeTab) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23383
|
-
if (["activeSectionIndex", "activeTab"].some(prop => key === prop))
|
|
23917
|
+
case ":search.conditions": {
|
|
23918
|
+
return (() => { const _io0 = (input, _exceptionable = true) => (undefined === input.value || Array.isArray(input.value) && input.value.every((elem, _index1) => "string" === typeof elem)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23919
|
+
if (["value"].some(prop => key === prop))
|
|
23384
23920
|
return true;
|
|
23385
23921
|
const value = input[key];
|
|
23386
23922
|
if (undefined === value)
|
|
23387
23923
|
return true;
|
|
23388
23924
|
return false;
|
|
23389
|
-
})); const
|
|
23390
|
-
|
|
23925
|
+
})); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.value || (Array.isArray(input.value) || _report(_exceptionable, {
|
|
23926
|
+
path: _path + ".value",
|
|
23927
|
+
expected: "(Array<string> | undefined)",
|
|
23928
|
+
value: input.value
|
|
23929
|
+
})) && input.value.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
|
|
23930
|
+
path: _path + ".value[" + _index2 + "]",
|
|
23931
|
+
expected: "string",
|
|
23932
|
+
value: elem
|
|
23933
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
23934
|
+
path: _path + ".value",
|
|
23935
|
+
expected: "(Array<string> | undefined)",
|
|
23936
|
+
value: input.value
|
|
23937
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
23938
|
+
if (["value"].some(prop => key === prop))
|
|
23939
|
+
return true;
|
|
23940
|
+
const value = input[key];
|
|
23941
|
+
if (undefined === value)
|
|
23942
|
+
return true;
|
|
23943
|
+
return _report(_exceptionable, {
|
|
23944
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
23945
|
+
expected: "undefined",
|
|
23946
|
+
value: value,
|
|
23947
|
+
description: [
|
|
23948
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
23949
|
+
"",
|
|
23950
|
+
"Please remove the property next time."
|
|
23951
|
+
].join("\n")
|
|
23952
|
+
});
|
|
23953
|
+
}).every(flag => flag))].every(flag => flag); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input, true); let errors; let _report; return input => {
|
|
23954
|
+
if (false === __is(input)) {
|
|
23955
|
+
errors = [];
|
|
23956
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
23957
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
23958
|
+
path: _path + "",
|
|
23959
|
+
expected: "SearchDomainConditionsRecord",
|
|
23960
|
+
value: input
|
|
23961
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
23962
|
+
path: _path + "",
|
|
23963
|
+
expected: "SearchDomainConditionsRecord",
|
|
23964
|
+
value: input
|
|
23965
|
+
}))(input, "$input", true);
|
|
23966
|
+
const success = 0 === errors.length;
|
|
23967
|
+
return success ? {
|
|
23968
|
+
success,
|
|
23969
|
+
data: input
|
|
23970
|
+
} : {
|
|
23971
|
+
success,
|
|
23972
|
+
errors,
|
|
23973
|
+
data: input
|
|
23974
|
+
};
|
|
23975
|
+
}
|
|
23976
|
+
return {
|
|
23977
|
+
success: true,
|
|
23978
|
+
data: input
|
|
23979
|
+
};
|
|
23980
|
+
}; })()(input);
|
|
23981
|
+
}
|
|
23982
|
+
case ":search.visibleColumnKeys": {
|
|
23983
|
+
return (() => { const _io0 = (input, _exceptionable = true) => (undefined === input.value || Array.isArray(input.value) && input.value.every((elem, _index1) => "string" === typeof elem)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23984
|
+
if (["value"].some(prop => key === prop))
|
|
23391
23985
|
return true;
|
|
23392
23986
|
const value = input[key];
|
|
23393
23987
|
if (undefined === value)
|
|
23394
23988
|
return true;
|
|
23395
23989
|
return false;
|
|
23396
|
-
})); const
|
|
23397
|
-
|
|
23990
|
+
})); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.value || (Array.isArray(input.value) || _report(_exceptionable, {
|
|
23991
|
+
path: _path + ".value",
|
|
23992
|
+
expected: "(Array<string> | undefined)",
|
|
23993
|
+
value: input.value
|
|
23994
|
+
})) && input.value.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
|
|
23995
|
+
path: _path + ".value[" + _index2 + "]",
|
|
23996
|
+
expected: "string",
|
|
23997
|
+
value: elem
|
|
23998
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
23999
|
+
path: _path + ".value",
|
|
24000
|
+
expected: "(Array<string> | undefined)",
|
|
24001
|
+
value: input.value
|
|
24002
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
24003
|
+
if (["value"].some(prop => key === prop))
|
|
24004
|
+
return true;
|
|
24005
|
+
const value = input[key];
|
|
24006
|
+
if (undefined === value)
|
|
24007
|
+
return true;
|
|
24008
|
+
return _report(_exceptionable, {
|
|
24009
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
24010
|
+
expected: "undefined",
|
|
24011
|
+
value: value,
|
|
24012
|
+
description: [
|
|
24013
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
24014
|
+
"",
|
|
24015
|
+
"Please remove the property next time."
|
|
24016
|
+
].join("\n")
|
|
24017
|
+
});
|
|
24018
|
+
}).every(flag => flag))].every(flag => flag); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input, true); let errors; let _report; return input => {
|
|
24019
|
+
if (false === __is(input)) {
|
|
24020
|
+
errors = [];
|
|
24021
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
24022
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
24023
|
+
path: _path + "",
|
|
24024
|
+
expected: "SearchDomainVisibleColumnKeysRecord",
|
|
24025
|
+
value: input
|
|
24026
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
24027
|
+
path: _path + "",
|
|
24028
|
+
expected: "SearchDomainVisibleColumnKeysRecord",
|
|
24029
|
+
value: input
|
|
24030
|
+
}))(input, "$input", true);
|
|
24031
|
+
const success = 0 === errors.length;
|
|
24032
|
+
return success ? {
|
|
24033
|
+
success,
|
|
24034
|
+
data: input
|
|
24035
|
+
} : {
|
|
24036
|
+
success,
|
|
24037
|
+
errors,
|
|
24038
|
+
data: input
|
|
24039
|
+
};
|
|
24040
|
+
}
|
|
24041
|
+
return {
|
|
24042
|
+
success: true,
|
|
24043
|
+
data: input
|
|
24044
|
+
};
|
|
24045
|
+
}; })()(input);
|
|
24046
|
+
}
|
|
24047
|
+
case ":settings": {
|
|
24048
|
+
return (() => { const _iv22 = new Set(["name", "fontname", "fontsize", "primaryColour", "secondaryColour", "outlineColour", "backColour", "bold", "italic", "underline", "strikeOut", "scaleX", "scaleY", "spacing", "angle", "borderStyle", "outline", "shadow", "alignment", "marginL", "marginR", "marginV", "encoding"]); const _iv26 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]); const _vv54 = new Set(["name", "fontname", "fontsize", "primaryColour", "secondaryColour", "outlineColour", "backColour", "bold", "italic", "underline", "strikeOut", "scaleX", "scaleY", "spacing", "angle", "borderStyle", "outline", "shadow", "alignment", "marginL", "marginR", "marginV", "encoding"]); const _vv58 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]); const _io0 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (undefined === input["module"] || "object" === typeof input["module"] && null !== input["module"] && false === Array.isArray(input["module"]) && _io2(input["module"], true && _exceptionable)) && (undefined === input.upload || "object" === typeof input.upload && null !== input.upload && false === Array.isArray(input.upload) && _io6(input.upload, true && _exceptionable)) && (undefined === input.download || "object" === typeof input.download && null !== input.download && false === Array.isArray(input.download) && _io7(input.download, true && _exceptionable)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && _io8(input.browser, true && _exceptionable)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && _io12(input.toolbarTags, true && _exceptionable)) && (undefined === input.exclusiveTagGroups || Array.isArray(input.exclusiveTagGroups) && input.exclusiveTagGroups.every((elem, _index1) => Array.isArray(elem) && elem.every((elem, _index2) => "string" === typeof elem))) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && _io13(input.deadlines, true && _exceptionable)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && _io14(input.assignees, true && _exceptionable)) && (undefined === input.comments || "object" === typeof input.comments && null !== input.comments && false === Array.isArray(input.comments) && _io15(input.comments, true && _exceptionable)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && _io16(input.clock, true && _exceptionable)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && _io17(input.swarm, true && _exceptionable)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && _io18(input.dashboard, true && _exceptionable)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && _io20(input.script, true && _exceptionable)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io25(input.events, true && _exceptionable)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && _io28(input.rundown, true && _exceptionable)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && _io29(input.gallery, true && _exceptionable)) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.keymap || "object" === typeof input.keymap && null !== input.keymap && false === Array.isArray(input.keymap) && _io30(input.keymap, true && _exceptionable)) && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && _io43(input.media, true && _exceptionable)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && _io56(input.edit, true && _exceptionable)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every((elem, _index3) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io58(elem, true && _exceptionable))) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every((elem, _index4) => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && _io59(input.storyboard, true && _exceptionable)) && (undefined === input.print || "object" === typeof input.print && null !== input.print && false === Array.isArray(input.print) && _io68(input.print, true && _exceptionable)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every((elem, _index5) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io69(elem, true && _exceptionable))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && _io70(input.plugins, true && _exceptionable)) && (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) && _io73(input.featurePreview, true && _exceptionable)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && _io74(input.flags, true && _exceptionable)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && _io75(input.notifications, true && _exceptionable)) && (undefined === input.suppressDeleteAlert || "boolean" === typeof input.suppressDeleteAlert) && (undefined === input.clone || "object" === typeof input.clone && null !== input.clone && false === Array.isArray(input.clone) && _io78(input.clone, true && _exceptionable)) && (undefined === input.utilsAssetEditorPanel || "object" === typeof input.utilsAssetEditorPanel && null !== input.utilsAssetEditorPanel && false === Array.isArray(input.utilsAssetEditorPanel) && _io80(input.utilsAssetEditorPanel, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
24049
|
+
if (["autoLogoutTime", "permission", "module", "upload", "download", "browser", "toolbarTags", "exclusiveTagGroups", "deadlines", "assignees", "comments", "clock", "swarm", "dashboard", "script", "events", "rundown", "gallery", "history", "keymap", "media", "edit", "commands", "predefinedTags", "storyboard", "print", "hiddenPreviews", "plugins", "crashScreen", "debug", "featurePreview", "flags", "notifications", "suppressDeleteAlert", "clone", "utilsAssetEditorPanel"].some(prop => key === prop))
|
|
24050
|
+
return true;
|
|
24051
|
+
const value = input[key];
|
|
24052
|
+
if (undefined === value)
|
|
24053
|
+
return true;
|
|
24054
|
+
return false;
|
|
24055
|
+
})); const _io1 = (input, _exceptionable = true) => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
24056
|
+
if (["overrideUserContact", "overrideUserLogin"].some(prop => key === prop))
|
|
24057
|
+
return true;
|
|
24058
|
+
const value = input[key];
|
|
24059
|
+
if (undefined === value)
|
|
24060
|
+
return true;
|
|
24061
|
+
return false;
|
|
24062
|
+
})); const _io2 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
24063
|
+
if (["editor", "tabs"].some(prop => key === prop))
|
|
24064
|
+
return true;
|
|
24065
|
+
const value = input[key];
|
|
24066
|
+
if (undefined === value)
|
|
24067
|
+
return true;
|
|
24068
|
+
return false;
|
|
24069
|
+
})); const _io3 = (input, _exceptionable = true) => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && _io4(input.settingsPanelStore, true && _exceptionable)) && Object.keys(input).every(key => {
|
|
24070
|
+
if (["settingsPanelStore"].some(prop => key === prop))
|
|
24071
|
+
return true;
|
|
24072
|
+
const value = input[key];
|
|
24073
|
+
if (undefined === value)
|
|
24074
|
+
return true;
|
|
24075
|
+
return undefined === value || "object" === typeof value && null !== value && false === Array.isArray(value) && _io5(value, true && _exceptionable);
|
|
24076
|
+
}); const _io4 = (input, _exceptionable = true) => (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex) && (null === input.activeTab || undefined === input.activeTab || "string" === typeof input.activeTab) && (undefined === input.priority || "number" === typeof input.priority) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
24077
|
+
if (["activeSectionIndex", "activeTab", "priority"].some(prop => key === prop))
|
|
24078
|
+
return true;
|
|
24079
|
+
const value = input[key];
|
|
24080
|
+
if (undefined === value)
|
|
24081
|
+
return true;
|
|
24082
|
+
return false;
|
|
24083
|
+
})); const _io5 = (input, _exceptionable = true) => (null === input.activeTab || undefined === input.activeTab || "string" === typeof input.activeTab) && (undefined === input.priority || "number" === typeof input.priority) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
24084
|
+
if (["activeTab", "priority"].some(prop => key === prop))
|
|
24085
|
+
return true;
|
|
24086
|
+
const value = input[key];
|
|
24087
|
+
if (undefined === value)
|
|
24088
|
+
return true;
|
|
24089
|
+
return false;
|
|
24090
|
+
})); const _io6 = (input, _exceptionable = true) => (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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
24091
|
+
if (["defaultGrouping", "hideStoryboardCollection", "displayUploadFilesDialog"].some(prop => key === prop))
|
|
23398
24092
|
return true;
|
|
23399
24093
|
const value = input[key];
|
|
23400
24094
|
if (undefined === value)
|
|
@@ -23435,28 +24129,28 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23435
24129
|
if (undefined === value)
|
|
23436
24130
|
return true;
|
|
23437
24131
|
return false;
|
|
23438
|
-
})); const _io12 = (input, _exceptionable = true) => (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every((elem,
|
|
23439
|
-
if (["exclude"].some(prop => key === prop))
|
|
24132
|
+
})); const _io12 = (input, _exceptionable = true) => (undefined === input.include || Array.isArray(input.include) && input.include.every((elem, _index7) => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every((elem, _index8) => "string" === typeof elem)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
24133
|
+
if (["include", "exclude"].some(prop => key === prop))
|
|
23440
24134
|
return true;
|
|
23441
24135
|
const value = input[key];
|
|
23442
24136
|
if (undefined === value)
|
|
23443
24137
|
return true;
|
|
23444
24138
|
return false;
|
|
23445
|
-
})); const _io13 = (input, _exceptionable = true) => (undefined === input.include || Array.isArray(input.include) && input.include.every((elem,
|
|
24139
|
+
})); const _io13 = (input, _exceptionable = true) => (undefined === input.include || Array.isArray(input.include) && input.include.every((elem, _index9) => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every((elem, _index10) => "string" === typeof elem)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23446
24140
|
if (["include", "exclude"].some(prop => key === prop))
|
|
23447
24141
|
return true;
|
|
23448
24142
|
const value = input[key];
|
|
23449
24143
|
if (undefined === value)
|
|
23450
24144
|
return true;
|
|
23451
24145
|
return false;
|
|
23452
|
-
})); const _io14 = (input, _exceptionable = true) => (undefined === input.include || Array.isArray(input.include) && input.include.every((elem,
|
|
24146
|
+
})); const _io14 = (input, _exceptionable = true) => (undefined === input.include || Array.isArray(input.include) && input.include.every((elem, _index11) => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every((elem, _index12) => "string" === typeof elem)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23453
24147
|
if (["include", "exclude"].some(prop => key === prop))
|
|
23454
24148
|
return true;
|
|
23455
24149
|
const value = input[key];
|
|
23456
24150
|
if (undefined === value)
|
|
23457
24151
|
return true;
|
|
23458
24152
|
return false;
|
|
23459
|
-
})); const _io15 = (input, _exceptionable = true) => (undefined === input.include || Array.isArray(input.include) && input.include.every((elem,
|
|
24153
|
+
})); const _io15 = (input, _exceptionable = true) => (undefined === input.include || Array.isArray(input.include) && input.include.every((elem, _index13) => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every((elem, _index14) => "string" === typeof elem)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23460
24154
|
if (["include", "exclude"].some(prop => key === prop))
|
|
23461
24155
|
return true;
|
|
23462
24156
|
const value = input[key];
|
|
@@ -23477,392 +24171,420 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23477
24171
|
if (undefined === value)
|
|
23478
24172
|
return true;
|
|
23479
24173
|
return false;
|
|
23480
|
-
})); const _io18 = (input, _exceptionable = true) => (undefined === input.maxMru || "number" === typeof input.maxMru) && (undefined === input.maxTabs || "number" === typeof input.maxTabs) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23481
|
-
if (["maxMru", "maxTabs"].some(prop => key === prop))
|
|
24174
|
+
})); const _io18 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
24175
|
+
if (["maxMru", "maxTabs", "layout"].some(prop => key === prop))
|
|
24176
|
+
return true;
|
|
24177
|
+
const value = input[key];
|
|
24178
|
+
if (undefined === value)
|
|
24179
|
+
return true;
|
|
24180
|
+
return false;
|
|
24181
|
+
})); const _io19 = (input, _exceptionable = true) => (undefined === input.bookmarks || "number" === typeof input.bookmarks) && (undefined === input.browser || "number" === typeof input.browser) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
24182
|
+
if (["bookmarks", "browser"].some(prop => key === prop))
|
|
23482
24183
|
return true;
|
|
23483
24184
|
const value = input[key];
|
|
23484
24185
|
if (undefined === value)
|
|
23485
24186
|
return true;
|
|
23486
24187
|
return false;
|
|
23487
|
-
})); const
|
|
24188
|
+
})); const _io20 = (input, _exceptionable = true) => (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && _io21(input.createMenu, true && _exceptionable)) && (undefined === input.colorTags || Array.isArray(input.colorTags) && input.colorTags.every((elem, _index15) => "object" === typeof elem && null !== elem && _io22(elem, true && _exceptionable))) && (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, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23488
24189
|
if (["createMenu", "colorTags", "readType", "readRate", "collapsedNodes"].some(prop => key === prop))
|
|
23489
24190
|
return true;
|
|
23490
24191
|
const value = input[key];
|
|
23491
24192
|
if (undefined === value)
|
|
23492
24193
|
return true;
|
|
23493
24194
|
return false;
|
|
23494
|
-
})); const
|
|
24195
|
+
})); const _io21 = (input, _exceptionable = true) => (undefined === input.sortBy || "index" === input.sortBy || "title" === input.sortBy) && (undefined === input.showPreview || "boolean" === typeof input.showPreview) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23495
24196
|
if (["sortBy", "showPreview"].some(prop => key === prop))
|
|
23496
24197
|
return true;
|
|
23497
24198
|
const value = input[key];
|
|
23498
24199
|
if (undefined === value)
|
|
23499
24200
|
return true;
|
|
23500
24201
|
return false;
|
|
23501
|
-
})); const
|
|
24202
|
+
})); const _io22 = (input, _exceptionable = true) => (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) && (4 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23502
24203
|
if (["name", "icon", "color", "description"].some(prop => key === prop))
|
|
23503
24204
|
return true;
|
|
23504
24205
|
const value = input[key];
|
|
23505
24206
|
if (undefined === value)
|
|
23506
24207
|
return true;
|
|
23507
24208
|
return false;
|
|
23508
|
-
})); const
|
|
24209
|
+
})); const _io23 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
23509
24210
|
const value = input[key];
|
|
23510
24211
|
if (undefined === value)
|
|
23511
24212
|
return true;
|
|
23512
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
23513
|
-
}); const
|
|
24213
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io24(value, true && _exceptionable);
|
|
24214
|
+
}); const _io24 = (input, _exceptionable = true) => (undefined === input.preview || "boolean" === typeof input.preview) && (undefined === input.children || "boolean" === typeof input.children) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23514
24215
|
if (["preview", "children"].some(prop => key === prop))
|
|
23515
24216
|
return true;
|
|
23516
24217
|
const value = input[key];
|
|
23517
24218
|
if (undefined === value)
|
|
23518
24219
|
return true;
|
|
23519
24220
|
return false;
|
|
23520
|
-
})); const
|
|
24221
|
+
})); const _io25 = (input, _exceptionable = true) => (undefined === input.graphicBaseTemplate || "string" === typeof input.graphicBaseTemplate) && (undefined === input.favorites || Array.isArray(input.favorites) && input.favorites.every((elem, _index16) => "string" === typeof elem)) && (undefined === input.defaults || "object" === typeof input.defaults && null !== input.defaults && false === Array.isArray(input.defaults) && _io26(input.defaults, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23521
24222
|
if (["graphicBaseTemplate", "favorites", "defaults"].some(prop => key === prop))
|
|
23522
24223
|
return true;
|
|
23523
24224
|
const value = input[key];
|
|
23524
24225
|
if (undefined === value)
|
|
23525
24226
|
return true;
|
|
23526
24227
|
return false;
|
|
23527
|
-
})); const
|
|
24228
|
+
})); const _io26 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
23528
24229
|
const value = input[key];
|
|
23529
24230
|
if (undefined === value)
|
|
23530
24231
|
return true;
|
|
23531
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
23532
|
-
}); const
|
|
24232
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io27(value, true && _exceptionable);
|
|
24233
|
+
}); const _io27 = (input, _exceptionable = true) => (undefined === input.event || "string" === typeof input.event) && (undefined === input.property || "string" === typeof input.property) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23533
24234
|
if (["event", "property"].some(prop => key === prop))
|
|
23534
24235
|
return true;
|
|
23535
24236
|
const value = input[key];
|
|
23536
24237
|
if (undefined === value)
|
|
23537
24238
|
return true;
|
|
23538
24239
|
return false;
|
|
23539
|
-
})); const
|
|
24240
|
+
})); const _io28 = (input, _exceptionable = true) => (undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23540
24241
|
if (["eventThumbnails"].some(prop => key === prop))
|
|
23541
24242
|
return true;
|
|
23542
24243
|
const value = input[key];
|
|
23543
24244
|
if (undefined === value)
|
|
23544
24245
|
return true;
|
|
23545
24246
|
return false;
|
|
23546
|
-
})); const
|
|
23547
|
-
if (["dimOnBlur", "float"].some(prop => key === prop))
|
|
24247
|
+
})); const _io29 = (input, _exceptionable = true) => (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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
24248
|
+
if (["dimOnBlur", "float", "countFloatedDuration"].some(prop => key === prop))
|
|
23548
24249
|
return true;
|
|
23549
24250
|
const value = input[key];
|
|
23550
24251
|
if (undefined === value)
|
|
23551
24252
|
return true;
|
|
23552
24253
|
return false;
|
|
23553
|
-
})); const
|
|
24254
|
+
})); const _io30 = (input, _exceptionable = true) => (undefined === input.display || "object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) && _io31(input.display, true && _exceptionable)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && _io33(input.browser, true && _exceptionable)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && _io34(input.gallery, true && _exceptionable)) && (undefined === input.global || "object" === typeof input.global && null !== input.global && false === Array.isArray(input.global) && _io35(input.global, true && _exceptionable)) && (undefined === input.player || "object" === typeof input.player && null !== input.player && false === Array.isArray(input.player) && _io36(input.player, true && _exceptionable)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && _io37(input.script, true && _exceptionable)) && (undefined === input.codeEditor || "object" === typeof input.codeEditor && null !== input.codeEditor && false === Array.isArray(input.codeEditor) && _io38(input.codeEditor, true && _exceptionable)) && (undefined === input.bookmarks || "object" === typeof input.bookmarks && null !== input.bookmarks && false === Array.isArray(input.bookmarks) && _io39(input.bookmarks, true && _exceptionable)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && _io40(input.edit, true && _exceptionable)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && _io41(input.rundown, true && _exceptionable)) && (undefined === input.segment || "object" === typeof input.segment && null !== input.segment && false === Array.isArray(input.segment) && _io42(input.segment, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23554
24255
|
if (["display", "browser", "gallery", "global", "player", "script", "codeEditor", "bookmarks", "edit", "rundown", "segment"].some(prop => key === prop))
|
|
23555
24256
|
return true;
|
|
23556
24257
|
const value = input[key];
|
|
23557
24258
|
if (undefined === value)
|
|
23558
24259
|
return true;
|
|
23559
24260
|
return false;
|
|
23560
|
-
})); const
|
|
24261
|
+
})); const _io31 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
23561
24262
|
const value = input[key];
|
|
23562
24263
|
if (undefined === value)
|
|
23563
24264
|
return true;
|
|
23564
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
23565
|
-
}); const
|
|
24265
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io32(value, true && _exceptionable);
|
|
24266
|
+
}); const _io32 = (input, _exceptionable = true) => (undefined === input.title || "string" === typeof input.title) && (undefined === input.sequence || "string" === typeof input.sequence) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23566
24267
|
if (["title", "sequence"].some(prop => key === prop))
|
|
23567
24268
|
return true;
|
|
23568
24269
|
const value = input[key];
|
|
23569
24270
|
if (undefined === value)
|
|
23570
24271
|
return true;
|
|
23571
24272
|
return false;
|
|
23572
|
-
})); const
|
|
24273
|
+
})); const _io33 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
23573
24274
|
const value = input[key];
|
|
23574
24275
|
if (undefined === value)
|
|
23575
24276
|
return true;
|
|
23576
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
23577
|
-
}); const _io33 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
23578
|
-
const value = input[key];
|
|
23579
|
-
if (undefined === value)
|
|
23580
|
-
return true;
|
|
23581
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io31(value, true && _exceptionable);
|
|
24277
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io32(value, true && _exceptionable);
|
|
23582
24278
|
}); const _io34 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
23583
24279
|
const value = input[key];
|
|
23584
24280
|
if (undefined === value)
|
|
23585
24281
|
return true;
|
|
23586
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
24282
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io32(value, true && _exceptionable);
|
|
23587
24283
|
}); const _io35 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
23588
24284
|
const value = input[key];
|
|
23589
24285
|
if (undefined === value)
|
|
23590
24286
|
return true;
|
|
23591
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
24287
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io32(value, true && _exceptionable);
|
|
23592
24288
|
}); const _io36 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
23593
24289
|
const value = input[key];
|
|
23594
24290
|
if (undefined === value)
|
|
23595
24291
|
return true;
|
|
23596
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
24292
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io32(value, true && _exceptionable);
|
|
23597
24293
|
}); const _io37 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
23598
24294
|
const value = input[key];
|
|
23599
24295
|
if (undefined === value)
|
|
23600
24296
|
return true;
|
|
23601
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
24297
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io32(value, true && _exceptionable);
|
|
23602
24298
|
}); const _io38 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
23603
24299
|
const value = input[key];
|
|
23604
24300
|
if (undefined === value)
|
|
23605
24301
|
return true;
|
|
23606
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
24302
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io32(value, true && _exceptionable);
|
|
23607
24303
|
}); const _io39 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
23608
24304
|
const value = input[key];
|
|
23609
24305
|
if (undefined === value)
|
|
23610
24306
|
return true;
|
|
23611
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
24307
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io32(value, true && _exceptionable);
|
|
23612
24308
|
}); const _io40 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
23613
24309
|
const value = input[key];
|
|
23614
24310
|
if (undefined === value)
|
|
23615
24311
|
return true;
|
|
23616
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
24312
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io32(value, true && _exceptionable);
|
|
23617
24313
|
}); const _io41 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
23618
24314
|
const value = input[key];
|
|
23619
24315
|
if (undefined === value)
|
|
23620
24316
|
return true;
|
|
23621
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
23622
|
-
}); const _io42 = (input, _exceptionable = true) =>
|
|
24317
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io32(value, true && _exceptionable);
|
|
24318
|
+
}); const _io42 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
24319
|
+
const value = input[key];
|
|
24320
|
+
if (undefined === value)
|
|
24321
|
+
return true;
|
|
24322
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io32(value, true && _exceptionable);
|
|
24323
|
+
}); const _io43 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (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, true && _exceptionable)) && (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, _index17) => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && _io46(input.subtitles, true && _exceptionable)) && (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, _index18) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io49(elem, true && _exceptionable))) && (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, true && _exceptionable)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io51(input.transcribe, true && _exceptionable)) && (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, true && _exceptionable))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23623
24324
|
if (["defaultFrameRate", "placeholder", "guide", "stepManyFrames", "liveZoomDuration", "importTitleTemplate", "tile", "timecodeReference", "maxSubclipDuration", "rewindStep", "forwardStep", "interlacedPlayback", "playbackRates", "subtitles", "subtitleTemplateId", "initialVolume", "guides", "download", "editMode", "transcribe", "openCommand"].some(prop => key === prop))
|
|
23624
24325
|
return true;
|
|
23625
24326
|
const value = input[key];
|
|
23626
24327
|
if (undefined === value)
|
|
23627
24328
|
return true;
|
|
23628
24329
|
return false;
|
|
23629
|
-
})); const
|
|
24330
|
+
})); const _io44 = (input, _exceptionable = true) => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23630
24331
|
if (["mask", "actionSafe", "titleSafe"].some(prop => key === prop))
|
|
23631
24332
|
return true;
|
|
23632
24333
|
const value = input[key];
|
|
23633
24334
|
if (undefined === value)
|
|
23634
24335
|
return true;
|
|
23635
24336
|
return false;
|
|
23636
|
-
})); const
|
|
24337
|
+
})); const _io45 = (input, _exceptionable = true) => (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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23637
24338
|
if (["preview", "showRenderProgress"].some(prop => key === prop))
|
|
23638
24339
|
return true;
|
|
23639
24340
|
const value = input[key];
|
|
23640
24341
|
if (undefined === value)
|
|
23641
24342
|
return true;
|
|
23642
24343
|
return false;
|
|
23643
|
-
})); const
|
|
24344
|
+
})); const _io46 = (input, _exceptionable = true) => (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, _index19) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io47(elem, true && _exceptionable))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every((elem, _index20) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io48(elem, true && _exceptionable))) && (undefined === input.overridableProperties || Array.isArray(input.overridableProperties) && input.overridableProperties.every((elem, _index21) => null === elem || true === _iv22.has(elem))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23644
24345
|
if (["spacing", "maxCharactersPerLine", "suggestions", "colors", "overridableProperties"].some(prop => key === prop))
|
|
23645
24346
|
return true;
|
|
23646
24347
|
const value = input[key];
|
|
23647
24348
|
if (undefined === value)
|
|
23648
24349
|
return true;
|
|
23649
24350
|
return false;
|
|
23650
|
-
})); const
|
|
24351
|
+
})); const _io47 = (input, _exceptionable = true) => (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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23651
24352
|
if (["ifAspectRatio", "ifLang", "thenStyle", "thenMaxCharactersPerLine"].some(prop => key === prop))
|
|
23652
24353
|
return true;
|
|
23653
24354
|
const value = input[key];
|
|
23654
24355
|
if (undefined === value)
|
|
23655
24356
|
return true;
|
|
23656
24357
|
return false;
|
|
23657
|
-
})); const
|
|
24358
|
+
})); const _io48 = (input, _exceptionable = true) => (null === input.label || undefined === input.label || "string" === typeof input.label) && (null === input.color || undefined === input.color || "string" === typeof input.color) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23658
24359
|
if (["label", "color"].some(prop => key === prop))
|
|
23659
24360
|
return true;
|
|
23660
24361
|
const value = input[key];
|
|
23661
24362
|
if (undefined === value)
|
|
23662
24363
|
return true;
|
|
23663
24364
|
return false;
|
|
23664
|
-
})); const
|
|
24365
|
+
})); const _io49 = (input, _exceptionable = true) => (undefined === input.label || "string" === typeof input.label) && (undefined === input.aspectRatio || "string" === typeof input.aspectRatio) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23665
24366
|
if (["label", "aspectRatio"].some(prop => key === prop))
|
|
23666
24367
|
return true;
|
|
23667
24368
|
const value = input[key];
|
|
23668
24369
|
if (undefined === value)
|
|
23669
24370
|
return true;
|
|
23670
24371
|
return false;
|
|
23671
|
-
})); const
|
|
24372
|
+
})); const _io50 = (input, _exceptionable = true) => (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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23672
24373
|
if (["enabled", "defaultEnterOption", "defaultExitOption"].some(prop => key === prop))
|
|
23673
24374
|
return true;
|
|
23674
24375
|
const value = input[key];
|
|
23675
24376
|
if (undefined === value)
|
|
23676
24377
|
return true;
|
|
23677
24378
|
return false;
|
|
23678
|
-
})); const
|
|
24379
|
+
})); const _io51 = (input, _exceptionable = true) => (undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && _io52(input.subtitleDisclaimer, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23679
24380
|
if (["subtitleDisclaimer"].some(prop => key === prop))
|
|
23680
24381
|
return true;
|
|
23681
24382
|
const value = input[key];
|
|
23682
24383
|
if (undefined === value)
|
|
23683
24384
|
return true;
|
|
23684
24385
|
return false;
|
|
23685
|
-
})); const
|
|
24386
|
+
})); const _io52 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23686
24387
|
if (["isUserConfigurable", "defaultValue"].some(prop => key === prop))
|
|
23687
24388
|
return true;
|
|
23688
24389
|
const value = input[key];
|
|
23689
24390
|
if (undefined === value)
|
|
23690
24391
|
return true;
|
|
23691
24392
|
return false;
|
|
23692
|
-
})); const
|
|
24393
|
+
})); const _io53 = (input, _exceptionable = true) => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every((elem, _index23) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io54(elem, true && _exceptionable))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23693
24394
|
if (["enabled", "text", "offset", "duration"].some(prop => key === prop))
|
|
23694
24395
|
return true;
|
|
23695
24396
|
const value = input[key];
|
|
23696
24397
|
if (undefined === value)
|
|
23697
24398
|
return true;
|
|
23698
24399
|
return false;
|
|
23699
|
-
})); const
|
|
24400
|
+
})); const _io54 = (input, _exceptionable = true) => (undefined === input.language || "string" === typeof input.language) && (undefined === input.value || "string" === typeof input.value) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23700
24401
|
if (["language", "value"].some(prop => key === prop))
|
|
23701
24402
|
return true;
|
|
23702
24403
|
const value = input[key];
|
|
23703
24404
|
if (undefined === value)
|
|
23704
24405
|
return true;
|
|
23705
24406
|
return false;
|
|
23706
|
-
})); const
|
|
24407
|
+
})); const _io55 = (input, _exceptionable = true) => (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, _index24) => "string" === typeof elem)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23707
24408
|
if (["url", "command", "app", "args"].some(prop => key === prop))
|
|
23708
24409
|
return true;
|
|
23709
24410
|
const value = input[key];
|
|
23710
24411
|
if (undefined === value)
|
|
23711
24412
|
return true;
|
|
23712
24413
|
return false;
|
|
23713
|
-
})); const
|
|
24414
|
+
})); const _io56 = (input, _exceptionable = true) => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && (undefined === input.voiceOver || "object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) && _io57(input.voiceOver, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23714
24415
|
if (["thumbnailView", "voiceOver"].some(prop => key === prop))
|
|
23715
24416
|
return true;
|
|
23716
24417
|
const value = input[key];
|
|
23717
24418
|
if (undefined === value)
|
|
23718
24419
|
return true;
|
|
23719
24420
|
return false;
|
|
23720
|
-
})); const
|
|
24421
|
+
})); const _io57 = (input, _exceptionable = true) => (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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23721
24422
|
if (["inputDevice", "inputGainDb", "backgroundReductionDb", "recordMode", "preRollDuration"].some(prop => key === prop))
|
|
23722
24423
|
return true;
|
|
23723
24424
|
const value = input[key];
|
|
23724
24425
|
if (undefined === value)
|
|
23725
24426
|
return true;
|
|
23726
24427
|
return false;
|
|
23727
|
-
})); const
|
|
24428
|
+
})); const _io58 = (input, _exceptionable = true) => (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, _index25) => "string" === typeof elem)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23728
24429
|
if (["title", "command", "args"].some(prop => key === prop))
|
|
23729
24430
|
return true;
|
|
23730
24431
|
const value = input[key];
|
|
23731
24432
|
if (undefined === value)
|
|
23732
24433
|
return true;
|
|
23733
24434
|
return false;
|
|
23734
|
-
})); const
|
|
24435
|
+
})); const _io59 = (input, _exceptionable = true) => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && _io60(input.folded, true && _exceptionable)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && _io61(input.assets, true && _exceptionable)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && _io65(input.pipeline, true && _exceptionable)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && _io67(input.item, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23735
24436
|
if (["folded", "assets", "pipeline", "item"].some(prop => key === prop))
|
|
23736
24437
|
return true;
|
|
23737
24438
|
const value = input[key];
|
|
23738
24439
|
if (undefined === value)
|
|
23739
24440
|
return true;
|
|
23740
24441
|
return false;
|
|
23741
|
-
})); const
|
|
24442
|
+
})); const _io60 = (input, _exceptionable = true) => (undefined === input.auto || "boolean" === typeof input.auto) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23742
24443
|
if (["auto"].some(prop => key === prop))
|
|
23743
24444
|
return true;
|
|
23744
24445
|
const value = input[key];
|
|
23745
24446
|
if (undefined === value)
|
|
23746
24447
|
return true;
|
|
23747
24448
|
return false;
|
|
23748
|
-
})); const
|
|
24449
|
+
})); const _io61 = (input, _exceptionable = true) => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && _io62(input.story, true && _exceptionable)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && _io64(input.note, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23749
24450
|
if (["story", "note"].some(prop => key === prop))
|
|
23750
24451
|
return true;
|
|
23751
24452
|
const value = input[key];
|
|
23752
24453
|
if (undefined === value)
|
|
23753
24454
|
return true;
|
|
23754
24455
|
return false;
|
|
23755
|
-
})); const
|
|
24456
|
+
})); const _io62 = (input, _exceptionable = true) => (undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && _io63(input.excerpt, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23756
24457
|
if (["excerpt"].some(prop => key === prop))
|
|
23757
24458
|
return true;
|
|
23758
24459
|
const value = input[key];
|
|
23759
24460
|
if (undefined === value)
|
|
23760
24461
|
return true;
|
|
23761
24462
|
return false;
|
|
23762
|
-
})); const
|
|
24463
|
+
})); const _io63 = (input, _exceptionable = true) => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode) && (undefined === input.comments || "boolean" === typeof input.comments) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23763
24464
|
if (["maxLines", "mode", "comments"].some(prop => key === prop))
|
|
23764
24465
|
return true;
|
|
23765
24466
|
const value = input[key];
|
|
23766
24467
|
if (undefined === value)
|
|
23767
24468
|
return true;
|
|
23768
24469
|
return false;
|
|
23769
|
-
})); const
|
|
24470
|
+
})); const _io64 = (input, _exceptionable = true) => (undefined === input.maxHeight || "number" === typeof input.maxHeight) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23770
24471
|
if (["maxHeight"].some(prop => key === prop))
|
|
23771
24472
|
return true;
|
|
23772
24473
|
const value = input[key];
|
|
23773
24474
|
if (undefined === value)
|
|
23774
24475
|
return true;
|
|
23775
24476
|
return false;
|
|
23776
|
-
})); const
|
|
24477
|
+
})); const _io65 = (input, _exceptionable = true) => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && _io66(input.search, true && _exceptionable)) && (undefined === input.sortMode || true === _iv26.has(input.sortMode)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23777
24478
|
if (["search", "sortMode"].some(prop => key === prop))
|
|
23778
24479
|
return true;
|
|
23779
24480
|
const value = input[key];
|
|
23780
24481
|
if (undefined === value)
|
|
23781
24482
|
return true;
|
|
23782
24483
|
return false;
|
|
23783
|
-
})); const
|
|
24484
|
+
})); const _io66 = (input, _exceptionable = true) => (undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23784
24485
|
if (["maxItemsDisplayed"].some(prop => key === prop))
|
|
23785
24486
|
return true;
|
|
23786
24487
|
const value = input[key];
|
|
23787
24488
|
if (undefined === value)
|
|
23788
24489
|
return true;
|
|
23789
24490
|
return false;
|
|
23790
|
-
})); const
|
|
23791
|
-
if (["maxHeight"].some(prop => key === prop))
|
|
24491
|
+
})); const _io67 = (input, _exceptionable = true) => (undefined === input.maxHeight || "number" === typeof input.maxHeight) && (undefined === input.titleLines || "number" === typeof input.titleLines) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
24492
|
+
if (["maxHeight", "titleLines"].some(prop => key === prop))
|
|
23792
24493
|
return true;
|
|
23793
24494
|
const value = input[key];
|
|
23794
24495
|
if (undefined === value)
|
|
23795
24496
|
return true;
|
|
23796
24497
|
return false;
|
|
23797
|
-
})); const
|
|
24498
|
+
})); const _io68 = (input, _exceptionable = true) => (undefined === input.fontFamilies || Array.isArray(input.fontFamilies) && input.fontFamilies.every((elem, _index27) => "string" === typeof elem)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23798
24499
|
if (["fontFamilies"].some(prop => key === prop))
|
|
23799
24500
|
return true;
|
|
23800
24501
|
const value = input[key];
|
|
23801
24502
|
if (undefined === value)
|
|
23802
24503
|
return true;
|
|
23803
24504
|
return false;
|
|
23804
|
-
})); const
|
|
24505
|
+
})); const _io69 = (input, _exceptionable = true) => (undefined === input.id || "string" === typeof input.id) && (undefined === input.folded || "boolean" === typeof input.folded) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23805
24506
|
if (["id", "folded"].some(prop => key === prop))
|
|
23806
24507
|
return true;
|
|
23807
24508
|
const value = input[key];
|
|
23808
24509
|
if (undefined === value)
|
|
23809
24510
|
return true;
|
|
23810
24511
|
return false;
|
|
23811
|
-
})); const
|
|
24512
|
+
})); const _io70 = (input, _exceptionable = true) => (undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && _io71(input.adobe, true && _exceptionable)) && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && _io72(input.rive, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23812
24513
|
if (["adobe", "rive"].some(prop => key === prop))
|
|
23813
24514
|
return true;
|
|
23814
24515
|
const value = input[key];
|
|
23815
24516
|
if (undefined === value)
|
|
23816
24517
|
return true;
|
|
23817
24518
|
return false;
|
|
23818
|
-
})); const
|
|
24519
|
+
})); const _io71 = (input, _exceptionable = true) => (undefined === input.useProxies || "boolean" === typeof input.useProxies) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23819
24520
|
if (["useProxies"].some(prop => key === prop))
|
|
23820
24521
|
return true;
|
|
23821
24522
|
const value = input[key];
|
|
23822
24523
|
if (undefined === value)
|
|
23823
24524
|
return true;
|
|
23824
24525
|
return false;
|
|
23825
|
-
})); const
|
|
24526
|
+
})); const _io72 = (input, _exceptionable = true) => (undefined === input.template || "string" === typeof input.template) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23826
24527
|
if (["template"].some(prop => key === prop))
|
|
23827
24528
|
return true;
|
|
23828
24529
|
const value = input[key];
|
|
23829
24530
|
if (undefined === value)
|
|
23830
24531
|
return true;
|
|
23831
24532
|
return false;
|
|
23832
|
-
})); const
|
|
24533
|
+
})); const _io73 = (input, _exceptionable = true) => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23833
24534
|
if (["collections", "semanticSearch", "ameRemoteRendering"].some(prop => key === prop))
|
|
23834
24535
|
return true;
|
|
23835
24536
|
const value = input[key];
|
|
23836
24537
|
if (undefined === value)
|
|
23837
24538
|
return true;
|
|
23838
24539
|
return false;
|
|
23839
|
-
})); const
|
|
23840
|
-
if (["utils", "history", "refs", "access", "files", "export", "json", "hlsjs", "resetRenders", "resetReplicas", "assetStatus", "consolidateMedia", "hideInAssetMenu", "assetRoute", "devWarnings", "multiplexWebSockets", "systemHealth"].some(prop => key === prop))
|
|
24540
|
+
})); const _io74 = (input, _exceptionable = true) => (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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
24541
|
+
if (["utils", "utilsAssetEditor", "utilsAssetPanel", "history", "refs", "access", "files", "export", "json", "hlsjs", "resetRenders", "resetReplicas", "assetStatus", "consolidateMedia", "hideInAssetMenu", "assetRoute", "devWarnings", "multiplexWebSockets", "systemHealth"].some(prop => key === prop))
|
|
23841
24542
|
return true;
|
|
23842
24543
|
const value = input[key];
|
|
23843
24544
|
if (undefined === value)
|
|
23844
24545
|
return true;
|
|
23845
24546
|
return false;
|
|
23846
|
-
})); const
|
|
24547
|
+
})); const _io75 = (input, _exceptionable = true) => (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io76(input.events, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23847
24548
|
if (["events"].some(prop => key === prop))
|
|
23848
24549
|
return true;
|
|
23849
24550
|
const value = input[key];
|
|
23850
24551
|
if (undefined === value)
|
|
23851
24552
|
return true;
|
|
23852
24553
|
return false;
|
|
23853
|
-
})); const
|
|
24554
|
+
})); const _io76 = (input, _exceptionable = true) => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every((elem, _index28) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every((elem, _index29) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every((elem, _index30) => "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) && _io77(input.publishSucceeded, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23854
24555
|
if (["comment", "assigned", "unassigned", "publishSucceeded"].some(prop => key === prop))
|
|
23855
24556
|
return true;
|
|
23856
24557
|
const value = input[key];
|
|
23857
24558
|
if (undefined === value)
|
|
23858
24559
|
return true;
|
|
23859
24560
|
return false;
|
|
23860
|
-
})); const
|
|
24561
|
+
})); const _io77 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
24562
|
+
const value = input[key];
|
|
24563
|
+
if (undefined === value)
|
|
24564
|
+
return true;
|
|
24565
|
+
return Array.isArray(value) && value.every((elem, _index31) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem);
|
|
24566
|
+
}); const _io78 = (input, _exceptionable = true) => (undefined === input.duplicate || "object" === typeof input.duplicate && null !== input.duplicate && false === Array.isArray(input.duplicate) && _io79(input.duplicate, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
24567
|
+
if (["duplicate"].some(prop => key === prop))
|
|
24568
|
+
return true;
|
|
24569
|
+
const value = input[key];
|
|
24570
|
+
if (undefined === value)
|
|
24571
|
+
return true;
|
|
24572
|
+
return false;
|
|
24573
|
+
})); const _io79 = (input, _exceptionable = true) => (undefined === input.titlePrefix || "string" === typeof input.titlePrefix) && (undefined === input.titleSuffix || "string" === typeof input.titleSuffix) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
24574
|
+
if (["titlePrefix", "titleSuffix"].some(prop => key === prop))
|
|
24575
|
+
return true;
|
|
24576
|
+
const value = input[key];
|
|
24577
|
+
if (undefined === value)
|
|
24578
|
+
return true;
|
|
24579
|
+
return false;
|
|
24580
|
+
})); const _io80 = (input, _exceptionable = true) => (undefined === input.stateFilter || Array.isArray(input.stateFilter) && input.stateFilter.every((elem, _index32) => "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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
24581
|
+
if (["stateFilter", "textFilter", "showEmpty", "selectedRecord", "subscribeSearchHits", "parseRegex"].some(prop => key === prop))
|
|
24582
|
+
return true;
|
|
23861
24583
|
const value = input[key];
|
|
23862
24584
|
if (undefined === value)
|
|
23863
24585
|
return true;
|
|
23864
|
-
return
|
|
23865
|
-
}); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime || _report(_exceptionable, {
|
|
24586
|
+
return false;
|
|
24587
|
+
})); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime || _report(_exceptionable, {
|
|
23866
24588
|
path: _path + ".autoLogoutTime",
|
|
23867
24589
|
expected: "(number | undefined)",
|
|
23868
24590
|
value: input.autoLogoutTime
|
|
@@ -23918,16 +24640,16 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23918
24640
|
path: _path + ".exclusiveTagGroups",
|
|
23919
24641
|
expected: "(Array<Array<string>> | undefined)",
|
|
23920
24642
|
value: input.exclusiveTagGroups
|
|
23921
|
-
})) && input.exclusiveTagGroups.map((elem,
|
|
23922
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
24643
|
+
})) && input.exclusiveTagGroups.map((elem, _index33) => (Array.isArray(elem) || _report(_exceptionable, {
|
|
24644
|
+
path: _path + ".exclusiveTagGroups[" + _index33 + "]",
|
|
23923
24645
|
expected: "Array<string>",
|
|
23924
24646
|
value: elem
|
|
23925
|
-
})) && elem.map((elem,
|
|
23926
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
24647
|
+
})) && elem.map((elem, _index34) => "string" === typeof elem || _report(_exceptionable, {
|
|
24648
|
+
path: _path + ".exclusiveTagGroups[" + _index33 + "][" + _index34 + "]",
|
|
23927
24649
|
expected: "string",
|
|
23928
24650
|
value: elem
|
|
23929
24651
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
23930
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
24652
|
+
path: _path + ".exclusiveTagGroups[" + _index33 + "]",
|
|
23931
24653
|
expected: "Array<string>",
|
|
23932
24654
|
value: elem
|
|
23933
24655
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -23984,35 +24706,35 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23984
24706
|
value: input.dashboard
|
|
23985
24707
|
}), undefined === input.script || ("object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) || _report(_exceptionable, {
|
|
23986
24708
|
path: _path + ".script",
|
|
23987
|
-
expected: "(__type.
|
|
24709
|
+
expected: "(__type.o16 | undefined)",
|
|
23988
24710
|
value: input.script
|
|
23989
|
-
})) &&
|
|
24711
|
+
})) && _vo20(input.script, _path + ".script", true && _exceptionable) || _report(_exceptionable, {
|
|
23990
24712
|
path: _path + ".script",
|
|
23991
|
-
expected: "(__type.
|
|
24713
|
+
expected: "(__type.o16 | undefined)",
|
|
23992
24714
|
value: input.script
|
|
23993
24715
|
}), undefined === input.events || ("object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) || _report(_exceptionable, {
|
|
23994
24716
|
path: _path + ".events",
|
|
23995
|
-
expected: "(__type.
|
|
24717
|
+
expected: "(__type.o20 | undefined)",
|
|
23996
24718
|
value: input.events
|
|
23997
|
-
})) &&
|
|
24719
|
+
})) && _vo25(input.events, _path + ".events", true && _exceptionable) || _report(_exceptionable, {
|
|
23998
24720
|
path: _path + ".events",
|
|
23999
|
-
expected: "(__type.
|
|
24721
|
+
expected: "(__type.o20 | undefined)",
|
|
24000
24722
|
value: input.events
|
|
24001
24723
|
}), undefined === input.rundown || ("object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) || _report(_exceptionable, {
|
|
24002
24724
|
path: _path + ".rundown",
|
|
24003
|
-
expected: "(__type.
|
|
24725
|
+
expected: "(__type.o22 | undefined)",
|
|
24004
24726
|
value: input.rundown
|
|
24005
|
-
})) &&
|
|
24727
|
+
})) && _vo28(input.rundown, _path + ".rundown", true && _exceptionable) || _report(_exceptionable, {
|
|
24006
24728
|
path: _path + ".rundown",
|
|
24007
|
-
expected: "(__type.
|
|
24729
|
+
expected: "(__type.o22 | undefined)",
|
|
24008
24730
|
value: input.rundown
|
|
24009
24731
|
}), undefined === input.gallery || ("object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) || _report(_exceptionable, {
|
|
24010
24732
|
path: _path + ".gallery",
|
|
24011
|
-
expected: "(__type.
|
|
24733
|
+
expected: "(__type.o23 | undefined)",
|
|
24012
24734
|
value: input.gallery
|
|
24013
|
-
})) &&
|
|
24735
|
+
})) && _vo29(input.gallery, _path + ".gallery", true && _exceptionable) || _report(_exceptionable, {
|
|
24014
24736
|
path: _path + ".gallery",
|
|
24015
|
-
expected: "(__type.
|
|
24737
|
+
expected: "(__type.o23 | undefined)",
|
|
24016
24738
|
value: input.gallery
|
|
24017
24739
|
}), undefined === input.history || "boolean" === typeof input.history || _report(_exceptionable, {
|
|
24018
24740
|
path: _path + ".history",
|
|
@@ -24020,39 +24742,39 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24020
24742
|
value: input.history
|
|
24021
24743
|
}), undefined === input.keymap || ("object" === typeof input.keymap && null !== input.keymap && false === Array.isArray(input.keymap) || _report(_exceptionable, {
|
|
24022
24744
|
path: _path + ".keymap",
|
|
24023
|
-
expected: "(__type.
|
|
24745
|
+
expected: "(__type.o24 | undefined)",
|
|
24024
24746
|
value: input.keymap
|
|
24025
|
-
})) &&
|
|
24747
|
+
})) && _vo30(input.keymap, _path + ".keymap", true && _exceptionable) || _report(_exceptionable, {
|
|
24026
24748
|
path: _path + ".keymap",
|
|
24027
|
-
expected: "(__type.
|
|
24749
|
+
expected: "(__type.o24 | undefined)",
|
|
24028
24750
|
value: input.keymap
|
|
24029
24751
|
}), undefined === input.media || ("object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) || _report(_exceptionable, {
|
|
24030
24752
|
path: _path + ".media",
|
|
24031
|
-
expected: "(__type.
|
|
24753
|
+
expected: "(__type.o36 | undefined)",
|
|
24032
24754
|
value: input.media
|
|
24033
|
-
})) &&
|
|
24755
|
+
})) && _vo43(input.media, _path + ".media", true && _exceptionable) || _report(_exceptionable, {
|
|
24034
24756
|
path: _path + ".media",
|
|
24035
|
-
expected: "(__type.
|
|
24757
|
+
expected: "(__type.o36 | undefined)",
|
|
24036
24758
|
value: input.media
|
|
24037
24759
|
}), undefined === input.edit || ("object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) || _report(_exceptionable, {
|
|
24038
24760
|
path: _path + ".edit",
|
|
24039
|
-
expected: "(__type.
|
|
24761
|
+
expected: "(__type.o49 | undefined)",
|
|
24040
24762
|
value: input.edit
|
|
24041
|
-
})) &&
|
|
24763
|
+
})) && _vo56(input.edit, _path + ".edit", true && _exceptionable) || _report(_exceptionable, {
|
|
24042
24764
|
path: _path + ".edit",
|
|
24043
|
-
expected: "(__type.
|
|
24765
|
+
expected: "(__type.o49 | undefined)",
|
|
24044
24766
|
value: input.edit
|
|
24045
24767
|
}), undefined === input.commands || (Array.isArray(input.commands) || _report(_exceptionable, {
|
|
24046
24768
|
path: _path + ".commands",
|
|
24047
24769
|
expected: "(Array<__type>.o4 | undefined)",
|
|
24048
24770
|
value: input.commands
|
|
24049
|
-
})) && input.commands.map((elem,
|
|
24050
|
-
path: _path + ".commands[" +
|
|
24051
|
-
expected: "__type.
|
|
24771
|
+
})) && input.commands.map((elem, _index35) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
24772
|
+
path: _path + ".commands[" + _index35 + "]",
|
|
24773
|
+
expected: "__type.o51",
|
|
24052
24774
|
value: elem
|
|
24053
|
-
})) &&
|
|
24054
|
-
path: _path + ".commands[" +
|
|
24055
|
-
expected: "__type.
|
|
24775
|
+
})) && _vo58(elem, _path + ".commands[" + _index35 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
24776
|
+
path: _path + ".commands[" + _index35 + "]",
|
|
24777
|
+
expected: "__type.o51",
|
|
24056
24778
|
value: elem
|
|
24057
24779
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
24058
24780
|
path: _path + ".commands",
|
|
@@ -24062,8 +24784,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24062
24784
|
path: _path + ".predefinedTags",
|
|
24063
24785
|
expected: "(Array<string> | undefined)",
|
|
24064
24786
|
value: input.predefinedTags
|
|
24065
|
-
})) && input.predefinedTags.map((elem,
|
|
24066
|
-
path: _path + ".predefinedTags[" +
|
|
24787
|
+
})) && input.predefinedTags.map((elem, _index36) => "string" === typeof elem || _report(_exceptionable, {
|
|
24788
|
+
path: _path + ".predefinedTags[" + _index36 + "]",
|
|
24067
24789
|
expected: "string",
|
|
24068
24790
|
value: elem
|
|
24069
24791
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -24072,31 +24794,31 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24072
24794
|
value: input.predefinedTags
|
|
24073
24795
|
}), undefined === input.storyboard || ("object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) || _report(_exceptionable, {
|
|
24074
24796
|
path: _path + ".storyboard",
|
|
24075
|
-
expected: "(__type.
|
|
24797
|
+
expected: "(__type.o52 | undefined)",
|
|
24076
24798
|
value: input.storyboard
|
|
24077
|
-
})) &&
|
|
24799
|
+
})) && _vo59(input.storyboard, _path + ".storyboard", true && _exceptionable) || _report(_exceptionable, {
|
|
24078
24800
|
path: _path + ".storyboard",
|
|
24079
|
-
expected: "(__type.
|
|
24801
|
+
expected: "(__type.o52 | undefined)",
|
|
24080
24802
|
value: input.storyboard
|
|
24081
24803
|
}), undefined === input.print || ("object" === typeof input.print && null !== input.print && false === Array.isArray(input.print) || _report(_exceptionable, {
|
|
24082
24804
|
path: _path + ".print",
|
|
24083
|
-
expected: "(__type.
|
|
24805
|
+
expected: "(__type.o61 | undefined)",
|
|
24084
24806
|
value: input.print
|
|
24085
|
-
})) &&
|
|
24807
|
+
})) && _vo68(input.print, _path + ".print", true && _exceptionable) || _report(_exceptionable, {
|
|
24086
24808
|
path: _path + ".print",
|
|
24087
|
-
expected: "(__type.
|
|
24809
|
+
expected: "(__type.o61 | undefined)",
|
|
24088
24810
|
value: input.print
|
|
24089
24811
|
}), undefined === input.hiddenPreviews || (Array.isArray(input.hiddenPreviews) || _report(_exceptionable, {
|
|
24090
24812
|
path: _path + ".hiddenPreviews",
|
|
24091
24813
|
expected: "(Array<__type>.o5 | undefined)",
|
|
24092
24814
|
value: input.hiddenPreviews
|
|
24093
|
-
})) && input.hiddenPreviews.map((elem,
|
|
24094
|
-
path: _path + ".hiddenPreviews[" +
|
|
24095
|
-
expected: "__type.
|
|
24815
|
+
})) && input.hiddenPreviews.map((elem, _index37) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
24816
|
+
path: _path + ".hiddenPreviews[" + _index37 + "]",
|
|
24817
|
+
expected: "__type.o62",
|
|
24096
24818
|
value: elem
|
|
24097
|
-
})) &&
|
|
24098
|
-
path: _path + ".hiddenPreviews[" +
|
|
24099
|
-
expected: "__type.
|
|
24819
|
+
})) && _vo69(elem, _path + ".hiddenPreviews[" + _index37 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
24820
|
+
path: _path + ".hiddenPreviews[" + _index37 + "]",
|
|
24821
|
+
expected: "__type.o62",
|
|
24100
24822
|
value: elem
|
|
24101
24823
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
24102
24824
|
path: _path + ".hiddenPreviews",
|
|
@@ -24104,11 +24826,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24104
24826
|
value: input.hiddenPreviews
|
|
24105
24827
|
}), undefined === input.plugins || ("object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) || _report(_exceptionable, {
|
|
24106
24828
|
path: _path + ".plugins",
|
|
24107
|
-
expected: "(__type.
|
|
24829
|
+
expected: "(__type.o63 | undefined)",
|
|
24108
24830
|
value: input.plugins
|
|
24109
|
-
})) &&
|
|
24831
|
+
})) && _vo70(input.plugins, _path + ".plugins", true && _exceptionable) || _report(_exceptionable, {
|
|
24110
24832
|
path: _path + ".plugins",
|
|
24111
|
-
expected: "(__type.
|
|
24833
|
+
expected: "(__type.o63 | undefined)",
|
|
24112
24834
|
value: input.plugins
|
|
24113
24835
|
}), undefined === input.crashScreen || "boolean" === typeof input.crashScreen || _report(_exceptionable, {
|
|
24114
24836
|
path: _path + ".crashScreen",
|
|
@@ -24120,34 +24842,50 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24120
24842
|
value: input.debug
|
|
24121
24843
|
}), undefined === input.featurePreview || ("object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) || _report(_exceptionable, {
|
|
24122
24844
|
path: _path + ".featurePreview",
|
|
24123
|
-
expected: "(__type.
|
|
24845
|
+
expected: "(__type.o66 | undefined)",
|
|
24124
24846
|
value: input.featurePreview
|
|
24125
|
-
})) &&
|
|
24847
|
+
})) && _vo73(input.featurePreview, _path + ".featurePreview", true && _exceptionable) || _report(_exceptionable, {
|
|
24126
24848
|
path: _path + ".featurePreview",
|
|
24127
|
-
expected: "(__type.
|
|
24849
|
+
expected: "(__type.o66 | undefined)",
|
|
24128
24850
|
value: input.featurePreview
|
|
24129
24851
|
}), undefined === input.flags || ("object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) || _report(_exceptionable, {
|
|
24130
24852
|
path: _path + ".flags",
|
|
24131
|
-
expected: "(__type.
|
|
24853
|
+
expected: "(__type.o67 | undefined)",
|
|
24132
24854
|
value: input.flags
|
|
24133
|
-
})) &&
|
|
24855
|
+
})) && _vo74(input.flags, _path + ".flags", true && _exceptionable) || _report(_exceptionable, {
|
|
24134
24856
|
path: _path + ".flags",
|
|
24135
|
-
expected: "(__type.
|
|
24857
|
+
expected: "(__type.o67 | undefined)",
|
|
24136
24858
|
value: input.flags
|
|
24137
24859
|
}), undefined === input.notifications || ("object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) || _report(_exceptionable, {
|
|
24138
24860
|
path: _path + ".notifications",
|
|
24139
|
-
expected: "(__type.
|
|
24861
|
+
expected: "(__type.o68 | undefined)",
|
|
24140
24862
|
value: input.notifications
|
|
24141
|
-
})) &&
|
|
24863
|
+
})) && _vo75(input.notifications, _path + ".notifications", true && _exceptionable) || _report(_exceptionable, {
|
|
24142
24864
|
path: _path + ".notifications",
|
|
24143
|
-
expected: "(__type.
|
|
24865
|
+
expected: "(__type.o68 | undefined)",
|
|
24144
24866
|
value: input.notifications
|
|
24145
24867
|
}), undefined === input.suppressDeleteAlert || "boolean" === typeof input.suppressDeleteAlert || _report(_exceptionable, {
|
|
24146
24868
|
path: _path + ".suppressDeleteAlert",
|
|
24147
24869
|
expected: "(boolean | undefined)",
|
|
24148
24870
|
value: input.suppressDeleteAlert
|
|
24871
|
+
}), undefined === input.clone || ("object" === typeof input.clone && null !== input.clone && false === Array.isArray(input.clone) || _report(_exceptionable, {
|
|
24872
|
+
path: _path + ".clone",
|
|
24873
|
+
expected: "(__type.o71 | undefined)",
|
|
24874
|
+
value: input.clone
|
|
24875
|
+
})) && _vo78(input.clone, _path + ".clone", true && _exceptionable) || _report(_exceptionable, {
|
|
24876
|
+
path: _path + ".clone",
|
|
24877
|
+
expected: "(__type.o71 | undefined)",
|
|
24878
|
+
value: input.clone
|
|
24879
|
+
}), undefined === input.utilsAssetEditorPanel || ("object" === typeof input.utilsAssetEditorPanel && null !== input.utilsAssetEditorPanel && false === Array.isArray(input.utilsAssetEditorPanel) || _report(_exceptionable, {
|
|
24880
|
+
path: _path + ".utilsAssetEditorPanel",
|
|
24881
|
+
expected: "(__type.o73 | undefined)",
|
|
24882
|
+
value: input.utilsAssetEditorPanel
|
|
24883
|
+
})) && _vo80(input.utilsAssetEditorPanel, _path + ".utilsAssetEditorPanel", true && _exceptionable) || _report(_exceptionable, {
|
|
24884
|
+
path: _path + ".utilsAssetEditorPanel",
|
|
24885
|
+
expected: "(__type.o73 | undefined)",
|
|
24886
|
+
value: input.utilsAssetEditorPanel
|
|
24149
24887
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
24150
|
-
if (["autoLogoutTime", "permission", "module", "upload", "download", "browser", "toolbarTags", "exclusiveTagGroups", "deadlines", "assignees", "comments", "clock", "swarm", "dashboard", "script", "events", "rundown", "gallery", "history", "keymap", "media", "edit", "commands", "predefinedTags", "storyboard", "print", "hiddenPreviews", "plugins", "crashScreen", "debug", "featurePreview", "flags", "notifications", "suppressDeleteAlert"].some(prop => key === prop))
|
|
24888
|
+
if (["autoLogoutTime", "permission", "module", "upload", "download", "browser", "toolbarTags", "exclusiveTagGroups", "deadlines", "assignees", "comments", "clock", "swarm", "dashboard", "script", "events", "rundown", "gallery", "history", "keymap", "media", "edit", "commands", "predefinedTags", "storyboard", "print", "hiddenPreviews", "plugins", "crashScreen", "debug", "featurePreview", "flags", "notifications", "suppressDeleteAlert", "clone", "utilsAssetEditorPanel"].some(prop => key === prop))
|
|
24151
24889
|
return true;
|
|
24152
24890
|
const value = input[key];
|
|
24153
24891
|
if (undefined === value)
|
|
@@ -24186,7 +24924,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24186
24924
|
"Please remove the property next time."
|
|
24187
24925
|
].join("\n")
|
|
24188
24926
|
});
|
|
24189
|
-
}).every(flag => flag))].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.
|
|
24927
|
+
}).every(flag => flag))].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.editor || "string" === typeof input.editor || _report(_exceptionable, {
|
|
24928
|
+
path: _path + ".editor",
|
|
24929
|
+
expected: "(string | undefined)",
|
|
24930
|
+
value: input.editor
|
|
24931
|
+
}), undefined === input.tabs || ("object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) || _report(_exceptionable, {
|
|
24190
24932
|
path: _path + ".tabs",
|
|
24191
24933
|
expected: "(ModuleTabs | undefined)",
|
|
24192
24934
|
value: input.tabs
|
|
@@ -24195,7 +24937,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24195
24937
|
expected: "(ModuleTabs | undefined)",
|
|
24196
24938
|
value: input.tabs
|
|
24197
24939
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
24198
|
-
if (["tabs"].some(prop => key === prop))
|
|
24940
|
+
if (["editor", "tabs"].some(prop => key === prop))
|
|
24199
24941
|
return true;
|
|
24200
24942
|
const value = input[key];
|
|
24201
24943
|
if (undefined === value)
|
|
@@ -24237,12 +24979,16 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24237
24979
|
path: _path + ".activeSectionIndex",
|
|
24238
24980
|
expected: "(number | undefined)",
|
|
24239
24981
|
value: input.activeSectionIndex
|
|
24240
|
-
}), undefined === input.activeTab || "string" === typeof input.activeTab || _report(_exceptionable, {
|
|
24982
|
+
}), null === input.activeTab || undefined === input.activeTab || "string" === typeof input.activeTab || _report(_exceptionable, {
|
|
24241
24983
|
path: _path + ".activeTab",
|
|
24242
|
-
expected: "(string | undefined)",
|
|
24984
|
+
expected: "(null | string | undefined)",
|
|
24243
24985
|
value: input.activeTab
|
|
24986
|
+
}), undefined === input.priority || "number" === typeof input.priority || _report(_exceptionable, {
|
|
24987
|
+
path: _path + ".priority",
|
|
24988
|
+
expected: "(number | undefined)",
|
|
24989
|
+
value: input.priority
|
|
24244
24990
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
24245
|
-
if (["activeSectionIndex", "activeTab"].some(prop => key === prop))
|
|
24991
|
+
if (["activeSectionIndex", "activeTab", "priority"].some(prop => key === prop))
|
|
24246
24992
|
return true;
|
|
24247
24993
|
const value = input[key];
|
|
24248
24994
|
if (undefined === value)
|
|
@@ -24257,12 +25003,16 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24257
25003
|
"Please remove the property next time."
|
|
24258
25004
|
].join("\n")
|
|
24259
25005
|
});
|
|
24260
|
-
}).every(flag => flag))].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => [undefined === input.activeTab || "string" === typeof input.activeTab || _report(_exceptionable, {
|
|
25006
|
+
}).every(flag => flag))].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => [null === input.activeTab || undefined === input.activeTab || "string" === typeof input.activeTab || _report(_exceptionable, {
|
|
24261
25007
|
path: _path + ".activeTab",
|
|
24262
|
-
expected: "(string | undefined)",
|
|
25008
|
+
expected: "(null | string | undefined)",
|
|
24263
25009
|
value: input.activeTab
|
|
25010
|
+
}), undefined === input.priority || "number" === typeof input.priority || _report(_exceptionable, {
|
|
25011
|
+
path: _path + ".priority",
|
|
25012
|
+
expected: "(number | undefined)",
|
|
25013
|
+
value: input.priority
|
|
24264
25014
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
24265
|
-
if (["activeTab"].some(prop => key === prop))
|
|
25015
|
+
if (["activeTab", "priority"].some(prop => key === prop))
|
|
24266
25016
|
return true;
|
|
24267
25017
|
const value = input[key];
|
|
24268
25018
|
if (undefined === value)
|
|
@@ -24421,8 +25171,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24421
25171
|
path: _path + ".sortOrder",
|
|
24422
25172
|
expected: "(Array<string> | undefined)",
|
|
24423
25173
|
value: input.sortOrder
|
|
24424
|
-
})) && input.sortOrder.map((elem,
|
|
24425
|
-
path: _path + ".sortOrder[" +
|
|
25174
|
+
})) && input.sortOrder.map((elem, _index38) => "string" === typeof elem || _report(_exceptionable, {
|
|
25175
|
+
path: _path + ".sortOrder[" + _index38 + "]",
|
|
24426
25176
|
expected: "string",
|
|
24427
25177
|
value: elem
|
|
24428
25178
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -24445,12 +25195,24 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24445
25195
|
"Please remove the property next time."
|
|
24446
25196
|
].join("\n")
|
|
24447
25197
|
});
|
|
24448
|
-
}).every(flag => flag))].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => [undefined === input.
|
|
25198
|
+
}).every(flag => flag))].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => [undefined === input.include || (Array.isArray(input.include) || _report(_exceptionable, {
|
|
25199
|
+
path: _path + ".include",
|
|
25200
|
+
expected: "(Array<string> | undefined)",
|
|
25201
|
+
value: input.include
|
|
25202
|
+
})) && input.include.map((elem, _index39) => "string" === typeof elem || _report(_exceptionable, {
|
|
25203
|
+
path: _path + ".include[" + _index39 + "]",
|
|
25204
|
+
expected: "string",
|
|
25205
|
+
value: elem
|
|
25206
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
25207
|
+
path: _path + ".include",
|
|
25208
|
+
expected: "(Array<string> | undefined)",
|
|
25209
|
+
value: input.include
|
|
25210
|
+
}), undefined === input.exclude || (Array.isArray(input.exclude) || _report(_exceptionable, {
|
|
24449
25211
|
path: _path + ".exclude",
|
|
24450
25212
|
expected: "(Array<string> | undefined)",
|
|
24451
25213
|
value: input.exclude
|
|
24452
|
-
})) && input.exclude.map((elem,
|
|
24453
|
-
path: _path + ".exclude[" +
|
|
25214
|
+
})) && input.exclude.map((elem, _index40) => "string" === typeof elem || _report(_exceptionable, {
|
|
25215
|
+
path: _path + ".exclude[" + _index40 + "]",
|
|
24454
25216
|
expected: "string",
|
|
24455
25217
|
value: elem
|
|
24456
25218
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -24458,7 +25220,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24458
25220
|
expected: "(Array<string> | undefined)",
|
|
24459
25221
|
value: input.exclude
|
|
24460
25222
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
24461
|
-
if (["exclude"].some(prop => key === prop))
|
|
25223
|
+
if (["include", "exclude"].some(prop => key === prop))
|
|
24462
25224
|
return true;
|
|
24463
25225
|
const value = input[key];
|
|
24464
25226
|
if (undefined === value)
|
|
@@ -24477,8 +25239,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24477
25239
|
path: _path + ".include",
|
|
24478
25240
|
expected: "(Array<string> | undefined)",
|
|
24479
25241
|
value: input.include
|
|
24480
|
-
})) && input.include.map((elem,
|
|
24481
|
-
path: _path + ".include[" +
|
|
25242
|
+
})) && input.include.map((elem, _index41) => "string" === typeof elem || _report(_exceptionable, {
|
|
25243
|
+
path: _path + ".include[" + _index41 + "]",
|
|
24482
25244
|
expected: "string",
|
|
24483
25245
|
value: elem
|
|
24484
25246
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -24489,8 +25251,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24489
25251
|
path: _path + ".exclude",
|
|
24490
25252
|
expected: "(Array<string> | undefined)",
|
|
24491
25253
|
value: input.exclude
|
|
24492
|
-
})) && input.exclude.map((elem,
|
|
24493
|
-
path: _path + ".exclude[" +
|
|
25254
|
+
})) && input.exclude.map((elem, _index42) => "string" === typeof elem || _report(_exceptionable, {
|
|
25255
|
+
path: _path + ".exclude[" + _index42 + "]",
|
|
24494
25256
|
expected: "string",
|
|
24495
25257
|
value: elem
|
|
24496
25258
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -24517,8 +25279,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24517
25279
|
path: _path + ".include",
|
|
24518
25280
|
expected: "(Array<string> | undefined)",
|
|
24519
25281
|
value: input.include
|
|
24520
|
-
})) && input.include.map((elem,
|
|
24521
|
-
path: _path + ".include[" +
|
|
25282
|
+
})) && input.include.map((elem, _index43) => "string" === typeof elem || _report(_exceptionable, {
|
|
25283
|
+
path: _path + ".include[" + _index43 + "]",
|
|
24522
25284
|
expected: "string",
|
|
24523
25285
|
value: elem
|
|
24524
25286
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -24529,8 +25291,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24529
25291
|
path: _path + ".exclude",
|
|
24530
25292
|
expected: "(Array<string> | undefined)",
|
|
24531
25293
|
value: input.exclude
|
|
24532
|
-
})) && input.exclude.map((elem,
|
|
24533
|
-
path: _path + ".exclude[" +
|
|
25294
|
+
})) && input.exclude.map((elem, _index44) => "string" === typeof elem || _report(_exceptionable, {
|
|
25295
|
+
path: _path + ".exclude[" + _index44 + "]",
|
|
24534
25296
|
expected: "string",
|
|
24535
25297
|
value: elem
|
|
24536
25298
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -24557,8 +25319,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24557
25319
|
path: _path + ".include",
|
|
24558
25320
|
expected: "(Array<string> | undefined)",
|
|
24559
25321
|
value: input.include
|
|
24560
|
-
})) && input.include.map((elem,
|
|
24561
|
-
path: _path + ".include[" +
|
|
25322
|
+
})) && input.include.map((elem, _index45) => "string" === typeof elem || _report(_exceptionable, {
|
|
25323
|
+
path: _path + ".include[" + _index45 + "]",
|
|
24562
25324
|
expected: "string",
|
|
24563
25325
|
value: elem
|
|
24564
25326
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -24569,8 +25331,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24569
25331
|
path: _path + ".exclude",
|
|
24570
25332
|
expected: "(Array<string> | undefined)",
|
|
24571
25333
|
value: input.exclude
|
|
24572
|
-
})) && input.exclude.map((elem,
|
|
24573
|
-
path: _path + ".exclude[" +
|
|
25334
|
+
})) && input.exclude.map((elem, _index46) => "string" === typeof elem || _report(_exceptionable, {
|
|
25335
|
+
path: _path + ".exclude[" + _index46 + "]",
|
|
24574
25336
|
expected: "string",
|
|
24575
25337
|
value: elem
|
|
24576
25338
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -24669,8 +25431,40 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24669
25431
|
path: _path + ".maxTabs",
|
|
24670
25432
|
expected: "(number | undefined)",
|
|
24671
25433
|
value: input.maxTabs
|
|
25434
|
+
}), undefined === input.layout || ("object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) || _report(_exceptionable, {
|
|
25435
|
+
path: _path + ".layout",
|
|
25436
|
+
expected: "(__type.o15 | undefined)",
|
|
25437
|
+
value: input.layout
|
|
25438
|
+
})) && _vo19(input.layout, _path + ".layout", true && _exceptionable) || _report(_exceptionable, {
|
|
25439
|
+
path: _path + ".layout",
|
|
25440
|
+
expected: "(__type.o15 | undefined)",
|
|
25441
|
+
value: input.layout
|
|
25442
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
25443
|
+
if (["maxMru", "maxTabs", "layout"].some(prop => key === prop))
|
|
25444
|
+
return true;
|
|
25445
|
+
const value = input[key];
|
|
25446
|
+
if (undefined === value)
|
|
25447
|
+
return true;
|
|
25448
|
+
return _report(_exceptionable, {
|
|
25449
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
25450
|
+
expected: "undefined",
|
|
25451
|
+
value: value,
|
|
25452
|
+
description: [
|
|
25453
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
25454
|
+
"",
|
|
25455
|
+
"Please remove the property next time."
|
|
25456
|
+
].join("\n")
|
|
25457
|
+
});
|
|
25458
|
+
}).every(flag => flag))].every(flag => flag); const _vo19 = (input, _path, _exceptionable = true) => [undefined === input.bookmarks || "number" === typeof input.bookmarks || _report(_exceptionable, {
|
|
25459
|
+
path: _path + ".bookmarks",
|
|
25460
|
+
expected: "(number | undefined)",
|
|
25461
|
+
value: input.bookmarks
|
|
25462
|
+
}), undefined === input.browser || "number" === typeof input.browser || _report(_exceptionable, {
|
|
25463
|
+
path: _path + ".browser",
|
|
25464
|
+
expected: "(number | undefined)",
|
|
25465
|
+
value: input.browser
|
|
24672
25466
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
24673
|
-
if (["
|
|
25467
|
+
if (["bookmarks", "browser"].some(prop => key === prop))
|
|
24674
25468
|
return true;
|
|
24675
25469
|
const value = input[key];
|
|
24676
25470
|
if (undefined === value)
|
|
@@ -24685,24 +25479,24 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24685
25479
|
"Please remove the property next time."
|
|
24686
25480
|
].join("\n")
|
|
24687
25481
|
});
|
|
24688
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
25482
|
+
}).every(flag => flag))].every(flag => flag); const _vo20 = (input, _path, _exceptionable = true) => [undefined === input.createMenu || ("object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) || _report(_exceptionable, {
|
|
24689
25483
|
path: _path + ".createMenu",
|
|
24690
|
-
expected: "(__type.
|
|
25484
|
+
expected: "(__type.o17 | undefined)",
|
|
24691
25485
|
value: input.createMenu
|
|
24692
|
-
})) &&
|
|
25486
|
+
})) && _vo21(input.createMenu, _path + ".createMenu", true && _exceptionable) || _report(_exceptionable, {
|
|
24693
25487
|
path: _path + ".createMenu",
|
|
24694
|
-
expected: "(__type.
|
|
25488
|
+
expected: "(__type.o17 | undefined)",
|
|
24695
25489
|
value: input.createMenu
|
|
24696
25490
|
}), undefined === input.colorTags || (Array.isArray(input.colorTags) || _report(_exceptionable, {
|
|
24697
25491
|
path: _path + ".colorTags",
|
|
24698
25492
|
expected: "(Array<PromotedTag> | undefined)",
|
|
24699
25493
|
value: input.colorTags
|
|
24700
|
-
})) && input.colorTags.map((elem,
|
|
24701
|
-
path: _path + ".colorTags[" +
|
|
25494
|
+
})) && input.colorTags.map((elem, _index47) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
25495
|
+
path: _path + ".colorTags[" + _index47 + "]",
|
|
24702
25496
|
expected: "PromotedTag",
|
|
24703
25497
|
value: elem
|
|
24704
|
-
})) &&
|
|
24705
|
-
path: _path + ".colorTags[" +
|
|
25498
|
+
})) && _vo22(elem, _path + ".colorTags[" + _index47 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
25499
|
+
path: _path + ".colorTags[" + _index47 + "]",
|
|
24706
25500
|
expected: "PromotedTag",
|
|
24707
25501
|
value: elem
|
|
24708
25502
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -24719,11 +25513,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24719
25513
|
value: input.readRate
|
|
24720
25514
|
}), undefined === input.collapsedNodes || ("object" === typeof input.collapsedNodes && null !== input.collapsedNodes && false === Array.isArray(input.collapsedNodes) || _report(_exceptionable, {
|
|
24721
25515
|
path: _path + ".collapsedNodes",
|
|
24722
|
-
expected: "(__type.
|
|
25516
|
+
expected: "(__type.o18 | undefined)",
|
|
24723
25517
|
value: input.collapsedNodes
|
|
24724
|
-
})) &&
|
|
25518
|
+
})) && _vo23(input.collapsedNodes, _path + ".collapsedNodes", true && _exceptionable) || _report(_exceptionable, {
|
|
24725
25519
|
path: _path + ".collapsedNodes",
|
|
24726
|
-
expected: "(__type.
|
|
25520
|
+
expected: "(__type.o18 | undefined)",
|
|
24727
25521
|
value: input.collapsedNodes
|
|
24728
25522
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
24729
25523
|
if (["createMenu", "colorTags", "readType", "readRate", "collapsedNodes"].some(prop => key === prop))
|
|
@@ -24741,7 +25535,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24741
25535
|
"Please remove the property next time."
|
|
24742
25536
|
].join("\n")
|
|
24743
25537
|
});
|
|
24744
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
25538
|
+
}).every(flag => flag))].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [undefined === input.sortBy || "index" === input.sortBy || "title" === input.sortBy || _report(_exceptionable, {
|
|
24745
25539
|
path: _path + ".sortBy",
|
|
24746
25540
|
expected: "(\"index\" | \"title\" | undefined)",
|
|
24747
25541
|
value: input.sortBy
|
|
@@ -24765,7 +25559,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24765
25559
|
"Please remove the property next time."
|
|
24766
25560
|
].join("\n")
|
|
24767
25561
|
});
|
|
24768
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
25562
|
+
}).every(flag => flag))].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => [null === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
24769
25563
|
path: _path + ".name",
|
|
24770
25564
|
expected: "(null | string)",
|
|
24771
25565
|
value: input.name
|
|
@@ -24797,20 +25591,20 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24797
25591
|
"Please remove the property next time."
|
|
24798
25592
|
].join("\n")
|
|
24799
25593
|
});
|
|
24800
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
25594
|
+
}).every(flag => flag))].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
24801
25595
|
const value = input[key];
|
|
24802
25596
|
if (undefined === value)
|
|
24803
25597
|
return true;
|
|
24804
25598
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
|
24805
25599
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
24806
|
-
expected: "__type.
|
|
25600
|
+
expected: "__type.o19",
|
|
24807
25601
|
value: value
|
|
24808
|
-
})) &&
|
|
25602
|
+
})) && _vo24(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
24809
25603
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
24810
|
-
expected: "__type.
|
|
25604
|
+
expected: "__type.o19",
|
|
24811
25605
|
value: value
|
|
24812
25606
|
});
|
|
24813
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
25607
|
+
}).every(flag => flag)].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => [undefined === input.preview || "boolean" === typeof input.preview || _report(_exceptionable, {
|
|
24814
25608
|
path: _path + ".preview",
|
|
24815
25609
|
expected: "(boolean | undefined)",
|
|
24816
25610
|
value: input.preview
|
|
@@ -24834,7 +25628,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24834
25628
|
"Please remove the property next time."
|
|
24835
25629
|
].join("\n")
|
|
24836
25630
|
});
|
|
24837
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
25631
|
+
}).every(flag => flag))].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => [undefined === input.graphicBaseTemplate || "string" === typeof input.graphicBaseTemplate || _report(_exceptionable, {
|
|
24838
25632
|
path: _path + ".graphicBaseTemplate",
|
|
24839
25633
|
expected: "(string | undefined)",
|
|
24840
25634
|
value: input.graphicBaseTemplate
|
|
@@ -24842,8 +25636,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24842
25636
|
path: _path + ".favorites",
|
|
24843
25637
|
expected: "(Array<string> | undefined)",
|
|
24844
25638
|
value: input.favorites
|
|
24845
|
-
})) && input.favorites.map((elem,
|
|
24846
|
-
path: _path + ".favorites[" +
|
|
25639
|
+
})) && input.favorites.map((elem, _index48) => "string" === typeof elem || _report(_exceptionable, {
|
|
25640
|
+
path: _path + ".favorites[" + _index48 + "]",
|
|
24847
25641
|
expected: "string",
|
|
24848
25642
|
value: elem
|
|
24849
25643
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -24854,7 +25648,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24854
25648
|
path: _path + ".defaults",
|
|
24855
25649
|
expected: "(Record<string, __type> | undefined)",
|
|
24856
25650
|
value: input.defaults
|
|
24857
|
-
})) &&
|
|
25651
|
+
})) && _vo26(input.defaults, _path + ".defaults", true && _exceptionable) || _report(_exceptionable, {
|
|
24858
25652
|
path: _path + ".defaults",
|
|
24859
25653
|
expected: "(Record<string, __type> | undefined)",
|
|
24860
25654
|
value: input.defaults
|
|
@@ -24874,20 +25668,20 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24874
25668
|
"Please remove the property next time."
|
|
24875
25669
|
].join("\n")
|
|
24876
25670
|
});
|
|
24877
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
25671
|
+
}).every(flag => flag))].every(flag => flag); const _vo26 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
24878
25672
|
const value = input[key];
|
|
24879
25673
|
if (undefined === value)
|
|
24880
25674
|
return true;
|
|
24881
25675
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
|
24882
25676
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
24883
|
-
expected: "__type.
|
|
25677
|
+
expected: "__type.o21",
|
|
24884
25678
|
value: value
|
|
24885
|
-
})) &&
|
|
25679
|
+
})) && _vo27(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
24886
25680
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
24887
|
-
expected: "__type.
|
|
25681
|
+
expected: "__type.o21",
|
|
24888
25682
|
value: value
|
|
24889
25683
|
});
|
|
24890
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
25684
|
+
}).every(flag => flag)].every(flag => flag); const _vo27 = (input, _path, _exceptionable = true) => [undefined === input.event || "string" === typeof input.event || _report(_exceptionable, {
|
|
24891
25685
|
path: _path + ".event",
|
|
24892
25686
|
expected: "(string | undefined)",
|
|
24893
25687
|
value: input.event
|
|
@@ -24911,7 +25705,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24911
25705
|
"Please remove the property next time."
|
|
24912
25706
|
].join("\n")
|
|
24913
25707
|
});
|
|
24914
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
25708
|
+
}).every(flag => flag))].every(flag => flag); const _vo28 = (input, _path, _exceptionable = true) => [undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails || _report(_exceptionable, {
|
|
24915
25709
|
path: _path + ".eventThumbnails",
|
|
24916
25710
|
expected: "(boolean | undefined)",
|
|
24917
25711
|
value: input.eventThumbnails
|
|
@@ -24931,7 +25725,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24931
25725
|
"Please remove the property next time."
|
|
24932
25726
|
].join("\n")
|
|
24933
25727
|
});
|
|
24934
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
25728
|
+
}).every(flag => flag))].every(flag => flag); const _vo29 = (input, _path, _exceptionable = true) => [undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur || _report(_exceptionable, {
|
|
24935
25729
|
path: _path + ".dimOnBlur",
|
|
24936
25730
|
expected: "(boolean | undefined)",
|
|
24937
25731
|
value: input.dimOnBlur
|
|
@@ -24939,8 +25733,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24939
25733
|
path: _path + ".float",
|
|
24940
25734
|
expected: "(\"disabled\" | \"gallery\" | \"rundown\" | undefined)",
|
|
24941
25735
|
value: input.float
|
|
25736
|
+
}), undefined === input.countFloatedDuration || "boolean" === typeof input.countFloatedDuration || _report(_exceptionable, {
|
|
25737
|
+
path: _path + ".countFloatedDuration",
|
|
25738
|
+
expected: "(boolean | undefined)",
|
|
25739
|
+
value: input.countFloatedDuration
|
|
24942
25740
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
24943
|
-
if (["dimOnBlur", "float"].some(prop => key === prop))
|
|
25741
|
+
if (["dimOnBlur", "float", "countFloatedDuration"].some(prop => key === prop))
|
|
24944
25742
|
return true;
|
|
24945
25743
|
const value = input[key];
|
|
24946
25744
|
if (undefined === value)
|
|
@@ -24955,93 +25753,93 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24955
25753
|
"Please remove the property next time."
|
|
24956
25754
|
].join("\n")
|
|
24957
25755
|
});
|
|
24958
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
25756
|
+
}).every(flag => flag))].every(flag => flag); const _vo30 = (input, _path, _exceptionable = true) => [undefined === input.display || ("object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) || _report(_exceptionable, {
|
|
24959
25757
|
path: _path + ".display",
|
|
24960
|
-
expected: "(__type.
|
|
25758
|
+
expected: "(__type.o25 | undefined)",
|
|
24961
25759
|
value: input.display
|
|
24962
|
-
})) &&
|
|
25760
|
+
})) && _vo31(input.display, _path + ".display", true && _exceptionable) || _report(_exceptionable, {
|
|
24963
25761
|
path: _path + ".display",
|
|
24964
|
-
expected: "(__type.
|
|
25762
|
+
expected: "(__type.o25 | undefined)",
|
|
24965
25763
|
value: input.display
|
|
24966
25764
|
}), undefined === input.browser || ("object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) || _report(_exceptionable, {
|
|
24967
25765
|
path: _path + ".browser",
|
|
24968
|
-
expected: "(__type.
|
|
25766
|
+
expected: "(__type.o26 | undefined)",
|
|
24969
25767
|
value: input.browser
|
|
24970
|
-
})) &&
|
|
25768
|
+
})) && _vo33(input.browser, _path + ".browser", true && _exceptionable) || _report(_exceptionable, {
|
|
24971
25769
|
path: _path + ".browser",
|
|
24972
|
-
expected: "(__type.
|
|
25770
|
+
expected: "(__type.o26 | undefined)",
|
|
24973
25771
|
value: input.browser
|
|
24974
25772
|
}), undefined === input.gallery || ("object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) || _report(_exceptionable, {
|
|
24975
25773
|
path: _path + ".gallery",
|
|
24976
|
-
expected: "(__type.
|
|
25774
|
+
expected: "(__type.o27 | undefined)",
|
|
24977
25775
|
value: input.gallery
|
|
24978
|
-
})) &&
|
|
25776
|
+
})) && _vo34(input.gallery, _path + ".gallery", true && _exceptionable) || _report(_exceptionable, {
|
|
24979
25777
|
path: _path + ".gallery",
|
|
24980
|
-
expected: "(__type.
|
|
25778
|
+
expected: "(__type.o27 | undefined)",
|
|
24981
25779
|
value: input.gallery
|
|
24982
25780
|
}), undefined === input.global || ("object" === typeof input.global && null !== input.global && false === Array.isArray(input.global) || _report(_exceptionable, {
|
|
24983
25781
|
path: _path + ".global",
|
|
24984
|
-
expected: "(__type.
|
|
25782
|
+
expected: "(__type.o28 | undefined)",
|
|
24985
25783
|
value: input.global
|
|
24986
|
-
})) &&
|
|
25784
|
+
})) && _vo35(input.global, _path + ".global", true && _exceptionable) || _report(_exceptionable, {
|
|
24987
25785
|
path: _path + ".global",
|
|
24988
|
-
expected: "(__type.
|
|
25786
|
+
expected: "(__type.o28 | undefined)",
|
|
24989
25787
|
value: input.global
|
|
24990
25788
|
}), undefined === input.player || ("object" === typeof input.player && null !== input.player && false === Array.isArray(input.player) || _report(_exceptionable, {
|
|
24991
25789
|
path: _path + ".player",
|
|
24992
|
-
expected: "(__type.
|
|
25790
|
+
expected: "(__type.o29 | undefined)",
|
|
24993
25791
|
value: input.player
|
|
24994
|
-
})) &&
|
|
25792
|
+
})) && _vo36(input.player, _path + ".player", true && _exceptionable) || _report(_exceptionable, {
|
|
24995
25793
|
path: _path + ".player",
|
|
24996
|
-
expected: "(__type.
|
|
25794
|
+
expected: "(__type.o29 | undefined)",
|
|
24997
25795
|
value: input.player
|
|
24998
25796
|
}), undefined === input.script || ("object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) || _report(_exceptionable, {
|
|
24999
25797
|
path: _path + ".script",
|
|
25000
|
-
expected: "(__type.
|
|
25798
|
+
expected: "(__type.o30 | undefined)",
|
|
25001
25799
|
value: input.script
|
|
25002
|
-
})) &&
|
|
25800
|
+
})) && _vo37(input.script, _path + ".script", true && _exceptionable) || _report(_exceptionable, {
|
|
25003
25801
|
path: _path + ".script",
|
|
25004
|
-
expected: "(__type.
|
|
25802
|
+
expected: "(__type.o30 | undefined)",
|
|
25005
25803
|
value: input.script
|
|
25006
25804
|
}), undefined === input.codeEditor || ("object" === typeof input.codeEditor && null !== input.codeEditor && false === Array.isArray(input.codeEditor) || _report(_exceptionable, {
|
|
25007
25805
|
path: _path + ".codeEditor",
|
|
25008
|
-
expected: "(__type.
|
|
25806
|
+
expected: "(__type.o31 | undefined)",
|
|
25009
25807
|
value: input.codeEditor
|
|
25010
|
-
})) &&
|
|
25808
|
+
})) && _vo38(input.codeEditor, _path + ".codeEditor", true && _exceptionable) || _report(_exceptionable, {
|
|
25011
25809
|
path: _path + ".codeEditor",
|
|
25012
|
-
expected: "(__type.
|
|
25810
|
+
expected: "(__type.o31 | undefined)",
|
|
25013
25811
|
value: input.codeEditor
|
|
25014
25812
|
}), undefined === input.bookmarks || ("object" === typeof input.bookmarks && null !== input.bookmarks && false === Array.isArray(input.bookmarks) || _report(_exceptionable, {
|
|
25015
25813
|
path: _path + ".bookmarks",
|
|
25016
|
-
expected: "(__type.
|
|
25814
|
+
expected: "(__type.o32 | undefined)",
|
|
25017
25815
|
value: input.bookmarks
|
|
25018
|
-
})) &&
|
|
25816
|
+
})) && _vo39(input.bookmarks, _path + ".bookmarks", true && _exceptionable) || _report(_exceptionable, {
|
|
25019
25817
|
path: _path + ".bookmarks",
|
|
25020
|
-
expected: "(__type.
|
|
25818
|
+
expected: "(__type.o32 | undefined)",
|
|
25021
25819
|
value: input.bookmarks
|
|
25022
25820
|
}), undefined === input.edit || ("object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) || _report(_exceptionable, {
|
|
25023
25821
|
path: _path + ".edit",
|
|
25024
|
-
expected: "(__type.
|
|
25822
|
+
expected: "(__type.o33 | undefined)",
|
|
25025
25823
|
value: input.edit
|
|
25026
|
-
})) &&
|
|
25824
|
+
})) && _vo40(input.edit, _path + ".edit", true && _exceptionable) || _report(_exceptionable, {
|
|
25027
25825
|
path: _path + ".edit",
|
|
25028
|
-
expected: "(__type.
|
|
25826
|
+
expected: "(__type.o33 | undefined)",
|
|
25029
25827
|
value: input.edit
|
|
25030
25828
|
}), undefined === input.rundown || ("object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) || _report(_exceptionable, {
|
|
25031
25829
|
path: _path + ".rundown",
|
|
25032
|
-
expected: "(__type.
|
|
25830
|
+
expected: "(__type.o34 | undefined)",
|
|
25033
25831
|
value: input.rundown
|
|
25034
|
-
})) &&
|
|
25832
|
+
})) && _vo41(input.rundown, _path + ".rundown", true && _exceptionable) || _report(_exceptionable, {
|
|
25035
25833
|
path: _path + ".rundown",
|
|
25036
|
-
expected: "(__type.
|
|
25834
|
+
expected: "(__type.o34 | undefined)",
|
|
25037
25835
|
value: input.rundown
|
|
25038
25836
|
}), undefined === input.segment || ("object" === typeof input.segment && null !== input.segment && false === Array.isArray(input.segment) || _report(_exceptionable, {
|
|
25039
25837
|
path: _path + ".segment",
|
|
25040
|
-
expected: "(__type.
|
|
25838
|
+
expected: "(__type.o35 | undefined)",
|
|
25041
25839
|
value: input.segment
|
|
25042
|
-
})) &&
|
|
25840
|
+
})) && _vo42(input.segment, _path + ".segment", true && _exceptionable) || _report(_exceptionable, {
|
|
25043
25841
|
path: _path + ".segment",
|
|
25044
|
-
expected: "(__type.
|
|
25842
|
+
expected: "(__type.o35 | undefined)",
|
|
25045
25843
|
value: input.segment
|
|
25046
25844
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
25047
25845
|
if (["display", "browser", "gallery", "global", "player", "script", "codeEditor", "bookmarks", "edit", "rundown", "segment"].some(prop => key === prop))
|
|
@@ -25059,7 +25857,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25059
25857
|
"Please remove the property next time."
|
|
25060
25858
|
].join("\n")
|
|
25061
25859
|
});
|
|
25062
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
25860
|
+
}).every(flag => flag))].every(flag => flag); const _vo31 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
25063
25861
|
const value = input[key];
|
|
25064
25862
|
if (undefined === value)
|
|
25065
25863
|
return true;
|
|
@@ -25067,12 +25865,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25067
25865
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
25068
25866
|
expected: "KeymapSetting",
|
|
25069
25867
|
value: value
|
|
25070
|
-
})) &&
|
|
25868
|
+
})) && _vo32(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
25071
25869
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
25072
25870
|
expected: "KeymapSetting",
|
|
25073
25871
|
value: value
|
|
25074
25872
|
});
|
|
25075
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
25873
|
+
}).every(flag => flag)].every(flag => flag); const _vo32 = (input, _path, _exceptionable = true) => [undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
25076
25874
|
path: _path + ".title",
|
|
25077
25875
|
expected: "(string | undefined)",
|
|
25078
25876
|
value: input.title
|
|
@@ -25096,7 +25894,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25096
25894
|
"Please remove the property next time."
|
|
25097
25895
|
].join("\n")
|
|
25098
25896
|
});
|
|
25099
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
25897
|
+
}).every(flag => flag))].every(flag => flag); const _vo33 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
25100
25898
|
const value = input[key];
|
|
25101
25899
|
if (undefined === value)
|
|
25102
25900
|
return true;
|
|
@@ -25104,12 +25902,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25104
25902
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
25105
25903
|
expected: "KeymapSetting",
|
|
25106
25904
|
value: value
|
|
25107
|
-
})) &&
|
|
25905
|
+
})) && _vo32(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
25108
25906
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
25109
25907
|
expected: "KeymapSetting",
|
|
25110
25908
|
value: value
|
|
25111
25909
|
});
|
|
25112
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
25910
|
+
}).every(flag => flag)].every(flag => flag); const _vo34 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
25113
25911
|
const value = input[key];
|
|
25114
25912
|
if (undefined === value)
|
|
25115
25913
|
return true;
|
|
@@ -25117,12 +25915,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25117
25915
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
25118
25916
|
expected: "KeymapSetting",
|
|
25119
25917
|
value: value
|
|
25120
|
-
})) &&
|
|
25918
|
+
})) && _vo32(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
25121
25919
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
25122
25920
|
expected: "KeymapSetting",
|
|
25123
25921
|
value: value
|
|
25124
25922
|
});
|
|
25125
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
25923
|
+
}).every(flag => flag)].every(flag => flag); const _vo35 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
25126
25924
|
const value = input[key];
|
|
25127
25925
|
if (undefined === value)
|
|
25128
25926
|
return true;
|
|
@@ -25130,12 +25928,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25130
25928
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
25131
25929
|
expected: "KeymapSetting",
|
|
25132
25930
|
value: value
|
|
25133
|
-
})) &&
|
|
25931
|
+
})) && _vo32(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
25134
25932
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
25135
25933
|
expected: "KeymapSetting",
|
|
25136
25934
|
value: value
|
|
25137
25935
|
});
|
|
25138
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
25936
|
+
}).every(flag => flag)].every(flag => flag); const _vo36 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
25139
25937
|
const value = input[key];
|
|
25140
25938
|
if (undefined === value)
|
|
25141
25939
|
return true;
|
|
@@ -25143,12 +25941,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25143
25941
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
25144
25942
|
expected: "KeymapSetting",
|
|
25145
25943
|
value: value
|
|
25146
|
-
})) &&
|
|
25944
|
+
})) && _vo32(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
25147
25945
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
25148
25946
|
expected: "KeymapSetting",
|
|
25149
25947
|
value: value
|
|
25150
25948
|
});
|
|
25151
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
25949
|
+
}).every(flag => flag)].every(flag => flag); const _vo37 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
25152
25950
|
const value = input[key];
|
|
25153
25951
|
if (undefined === value)
|
|
25154
25952
|
return true;
|
|
@@ -25156,12 +25954,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25156
25954
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
25157
25955
|
expected: "KeymapSetting",
|
|
25158
25956
|
value: value
|
|
25159
|
-
})) &&
|
|
25957
|
+
})) && _vo32(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
25160
25958
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
25161
25959
|
expected: "KeymapSetting",
|
|
25162
25960
|
value: value
|
|
25163
25961
|
});
|
|
25164
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
25962
|
+
}).every(flag => flag)].every(flag => flag); const _vo38 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
25165
25963
|
const value = input[key];
|
|
25166
25964
|
if (undefined === value)
|
|
25167
25965
|
return true;
|
|
@@ -25169,12 +25967,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25169
25967
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
25170
25968
|
expected: "KeymapSetting",
|
|
25171
25969
|
value: value
|
|
25172
|
-
})) &&
|
|
25970
|
+
})) && _vo32(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
25173
25971
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
25174
25972
|
expected: "KeymapSetting",
|
|
25175
25973
|
value: value
|
|
25176
25974
|
});
|
|
25177
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
25975
|
+
}).every(flag => flag)].every(flag => flag); const _vo39 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
25178
25976
|
const value = input[key];
|
|
25179
25977
|
if (undefined === value)
|
|
25180
25978
|
return true;
|
|
@@ -25182,12 +25980,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25182
25980
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
25183
25981
|
expected: "KeymapSetting",
|
|
25184
25982
|
value: value
|
|
25185
|
-
})) &&
|
|
25983
|
+
})) && _vo32(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
25186
25984
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
25187
25985
|
expected: "KeymapSetting",
|
|
25188
25986
|
value: value
|
|
25189
25987
|
});
|
|
25190
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
25988
|
+
}).every(flag => flag)].every(flag => flag); const _vo40 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
25191
25989
|
const value = input[key];
|
|
25192
25990
|
if (undefined === value)
|
|
25193
25991
|
return true;
|
|
@@ -25195,12 +25993,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25195
25993
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
25196
25994
|
expected: "KeymapSetting",
|
|
25197
25995
|
value: value
|
|
25198
|
-
})) &&
|
|
25996
|
+
})) && _vo32(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
25199
25997
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
25200
25998
|
expected: "KeymapSetting",
|
|
25201
25999
|
value: value
|
|
25202
26000
|
});
|
|
25203
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
26001
|
+
}).every(flag => flag)].every(flag => flag); const _vo41 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
25204
26002
|
const value = input[key];
|
|
25205
26003
|
if (undefined === value)
|
|
25206
26004
|
return true;
|
|
@@ -25208,12 +26006,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25208
26006
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
25209
26007
|
expected: "KeymapSetting",
|
|
25210
26008
|
value: value
|
|
25211
|
-
})) &&
|
|
26009
|
+
})) && _vo32(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
25212
26010
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
25213
26011
|
expected: "KeymapSetting",
|
|
25214
26012
|
value: value
|
|
25215
26013
|
});
|
|
25216
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
26014
|
+
}).every(flag => flag)].every(flag => flag); const _vo42 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
25217
26015
|
const value = input[key];
|
|
25218
26016
|
if (undefined === value)
|
|
25219
26017
|
return true;
|
|
@@ -25221,12 +26019,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25221
26019
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
25222
26020
|
expected: "KeymapSetting",
|
|
25223
26021
|
value: value
|
|
25224
|
-
})) &&
|
|
26022
|
+
})) && _vo32(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
25225
26023
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
25226
26024
|
expected: "KeymapSetting",
|
|
25227
26025
|
value: value
|
|
25228
26026
|
});
|
|
25229
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
26027
|
+
}).every(flag => flag)].every(flag => flag); const _vo43 = (input, _path, _exceptionable = true) => [undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate || _report(_exceptionable, {
|
|
25230
26028
|
path: _path + ".defaultFrameRate",
|
|
25231
26029
|
expected: "(number | undefined)",
|
|
25232
26030
|
value: input.defaultFrameRate
|
|
@@ -25236,11 +26034,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25236
26034
|
value: input.placeholder
|
|
25237
26035
|
}), undefined === input.guide || ("object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) || _report(_exceptionable, {
|
|
25238
26036
|
path: _path + ".guide",
|
|
25239
|
-
expected: "(__type.
|
|
26037
|
+
expected: "(__type.o37 | undefined)",
|
|
25240
26038
|
value: input.guide
|
|
25241
|
-
})) &&
|
|
26039
|
+
})) && _vo44(input.guide, _path + ".guide", true && _exceptionable) || _report(_exceptionable, {
|
|
25242
26040
|
path: _path + ".guide",
|
|
25243
|
-
expected: "(__type.
|
|
26041
|
+
expected: "(__type.o37 | undefined)",
|
|
25244
26042
|
value: input.guide
|
|
25245
26043
|
}), undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames || _report(_exceptionable, {
|
|
25246
26044
|
path: _path + ".stepManyFrames",
|
|
@@ -25256,11 +26054,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25256
26054
|
value: input.importTitleTemplate
|
|
25257
26055
|
}), undefined === input.tile || ("object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) || _report(_exceptionable, {
|
|
25258
26056
|
path: _path + ".tile",
|
|
25259
|
-
expected: "(__type.
|
|
26057
|
+
expected: "(__type.o38 | undefined)",
|
|
25260
26058
|
value: input.tile
|
|
25261
|
-
})) &&
|
|
26059
|
+
})) && _vo45(input.tile, _path + ".tile", true && _exceptionable) || _report(_exceptionable, {
|
|
25262
26060
|
path: _path + ".tile",
|
|
25263
|
-
expected: "(__type.
|
|
26061
|
+
expected: "(__type.o38 | undefined)",
|
|
25264
26062
|
value: input.tile
|
|
25265
26063
|
}), undefined === input.timecodeReference || "string" === typeof input.timecodeReference || _report(_exceptionable, {
|
|
25266
26064
|
path: _path + ".timecodeReference",
|
|
@@ -25286,8 +26084,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25286
26084
|
path: _path + ".playbackRates",
|
|
25287
26085
|
expected: "(Array<number> | undefined)",
|
|
25288
26086
|
value: input.playbackRates
|
|
25289
|
-
})) && input.playbackRates.map((elem,
|
|
25290
|
-
path: _path + ".playbackRates[" +
|
|
26087
|
+
})) && input.playbackRates.map((elem, _index49) => "number" === typeof elem || _report(_exceptionable, {
|
|
26088
|
+
path: _path + ".playbackRates[" + _index49 + "]",
|
|
25291
26089
|
expected: "number",
|
|
25292
26090
|
value: elem
|
|
25293
26091
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -25296,11 +26094,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25296
26094
|
value: input.playbackRates
|
|
25297
26095
|
}), undefined === input.subtitles || ("object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) || _report(_exceptionable, {
|
|
25298
26096
|
path: _path + ".subtitles",
|
|
25299
|
-
expected: "(__type.
|
|
26097
|
+
expected: "(__type.o39 | undefined)",
|
|
25300
26098
|
value: input.subtitles
|
|
25301
|
-
})) &&
|
|
26099
|
+
})) && _vo46(input.subtitles, _path + ".subtitles", true && _exceptionable) || _report(_exceptionable, {
|
|
25302
26100
|
path: _path + ".subtitles",
|
|
25303
|
-
expected: "(__type.
|
|
26101
|
+
expected: "(__type.o39 | undefined)",
|
|
25304
26102
|
value: input.subtitles
|
|
25305
26103
|
}), undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId || _report(_exceptionable, {
|
|
25306
26104
|
path: _path + ".subtitleTemplateId",
|
|
@@ -25314,13 +26112,13 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25314
26112
|
path: _path + ".guides",
|
|
25315
26113
|
expected: "(Array<__type>.o2 | undefined)",
|
|
25316
26114
|
value: input.guides
|
|
25317
|
-
})) && input.guides.map((elem,
|
|
25318
|
-
path: _path + ".guides[" +
|
|
25319
|
-
expected: "__type.
|
|
26115
|
+
})) && input.guides.map((elem, _index50) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
26116
|
+
path: _path + ".guides[" + _index50 + "]",
|
|
26117
|
+
expected: "__type.o42",
|
|
25320
26118
|
value: elem
|
|
25321
|
-
})) &&
|
|
25322
|
-
path: _path + ".guides[" +
|
|
25323
|
-
expected: "__type.
|
|
26119
|
+
})) && _vo49(elem, _path + ".guides[" + _index50 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
26120
|
+
path: _path + ".guides[" + _index50 + "]",
|
|
26121
|
+
expected: "__type.o42",
|
|
25324
26122
|
value: elem
|
|
25325
26123
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
25326
26124
|
path: _path + ".guides",
|
|
@@ -25332,31 +26130,31 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25332
26130
|
value: input.download
|
|
25333
26131
|
}), undefined === input.editMode || ("object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) || _report(_exceptionable, {
|
|
25334
26132
|
path: _path + ".editMode",
|
|
25335
|
-
expected: "(__type.
|
|
26133
|
+
expected: "(__type.o43 | undefined)",
|
|
25336
26134
|
value: input.editMode
|
|
25337
|
-
})) &&
|
|
26135
|
+
})) && _vo50(input.editMode, _path + ".editMode", true && _exceptionable) || _report(_exceptionable, {
|
|
25338
26136
|
path: _path + ".editMode",
|
|
25339
|
-
expected: "(__type.
|
|
26137
|
+
expected: "(__type.o43 | undefined)",
|
|
25340
26138
|
value: input.editMode
|
|
25341
26139
|
}), undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) || _report(_exceptionable, {
|
|
25342
26140
|
path: _path + ".transcribe",
|
|
25343
|
-
expected: "(__type.
|
|
26141
|
+
expected: "(__type.o44 | undefined)",
|
|
25344
26142
|
value: input.transcribe
|
|
25345
|
-
})) &&
|
|
26143
|
+
})) && _vo51(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
25346
26144
|
path: _path + ".transcribe",
|
|
25347
|
-
expected: "(__type.
|
|
26145
|
+
expected: "(__type.o44 | undefined)",
|
|
25348
26146
|
value: input.transcribe
|
|
25349
26147
|
}), (null !== input.openCommand || _report(_exceptionable, {
|
|
25350
26148
|
path: _path + ".openCommand",
|
|
25351
|
-
expected: "(__type.
|
|
26149
|
+
expected: "(__type.o48 | string | undefined)",
|
|
25352
26150
|
value: input.openCommand
|
|
25353
26151
|
})) && (undefined === input.openCommand || "string" === typeof input.openCommand || ("object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) || _report(_exceptionable, {
|
|
25354
26152
|
path: _path + ".openCommand",
|
|
25355
|
-
expected: "(__type.
|
|
26153
|
+
expected: "(__type.o48 | string | undefined)",
|
|
25356
26154
|
value: input.openCommand
|
|
25357
|
-
})) &&
|
|
26155
|
+
})) && _vo55(input.openCommand, _path + ".openCommand", true && _exceptionable) || _report(_exceptionable, {
|
|
25358
26156
|
path: _path + ".openCommand",
|
|
25359
|
-
expected: "(__type.
|
|
26157
|
+
expected: "(__type.o48 | string | undefined)",
|
|
25360
26158
|
value: input.openCommand
|
|
25361
26159
|
})), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
25362
26160
|
if (["defaultFrameRate", "placeholder", "guide", "stepManyFrames", "liveZoomDuration", "importTitleTemplate", "tile", "timecodeReference", "maxSubclipDuration", "rewindStep", "forwardStep", "interlacedPlayback", "playbackRates", "subtitles", "subtitleTemplateId", "initialVolume", "guides", "download", "editMode", "transcribe", "openCommand"].some(prop => key === prop))
|
|
@@ -25374,7 +26172,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25374
26172
|
"Please remove the property next time."
|
|
25375
26173
|
].join("\n")
|
|
25376
26174
|
});
|
|
25377
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
26175
|
+
}).every(flag => flag))].every(flag => flag); const _vo44 = (input, _path, _exceptionable = true) => [undefined === input.mask || "boolean" === typeof input.mask || _report(_exceptionable, {
|
|
25378
26176
|
path: _path + ".mask",
|
|
25379
26177
|
expected: "(boolean | undefined)",
|
|
25380
26178
|
value: input.mask
|
|
@@ -25402,7 +26200,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25402
26200
|
"Please remove the property next time."
|
|
25403
26201
|
].join("\n")
|
|
25404
26202
|
});
|
|
25405
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
26203
|
+
}).every(flag => flag))].every(flag => flag); const _vo45 = (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, {
|
|
25406
26204
|
path: _path + ".preview",
|
|
25407
26205
|
expected: "(\"disabled\" | \"play\" | \"seek\" | \"seekplay\" | boolean | undefined)",
|
|
25408
26206
|
value: input.preview
|
|
@@ -25426,7 +26224,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25426
26224
|
"Please remove the property next time."
|
|
25427
26225
|
].join("\n")
|
|
25428
26226
|
});
|
|
25429
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
26227
|
+
}).every(flag => flag))].every(flag => flag); const _vo46 = (input, _path, _exceptionable = true) => [undefined === input.spacing || "number" === typeof input.spacing || _report(_exceptionable, {
|
|
25430
26228
|
path: _path + ".spacing",
|
|
25431
26229
|
expected: "(number | undefined)",
|
|
25432
26230
|
value: input.spacing
|
|
@@ -25438,13 +26236,13 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25438
26236
|
path: _path + ".suggestions",
|
|
25439
26237
|
expected: "(Array<__type> | undefined)",
|
|
25440
26238
|
value: input.suggestions
|
|
25441
|
-
})) && input.suggestions.map((elem,
|
|
25442
|
-
path: _path + ".suggestions[" +
|
|
25443
|
-
expected: "__type.
|
|
26239
|
+
})) && input.suggestions.map((elem, _index51) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
26240
|
+
path: _path + ".suggestions[" + _index51 + "]",
|
|
26241
|
+
expected: "__type.o40",
|
|
25444
26242
|
value: elem
|
|
25445
|
-
})) &&
|
|
25446
|
-
path: _path + ".suggestions[" +
|
|
25447
|
-
expected: "__type.
|
|
26243
|
+
})) && _vo47(elem, _path + ".suggestions[" + _index51 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
26244
|
+
path: _path + ".suggestions[" + _index51 + "]",
|
|
26245
|
+
expected: "__type.o40",
|
|
25448
26246
|
value: elem
|
|
25449
26247
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
25450
26248
|
path: _path + ".suggestions",
|
|
@@ -25454,13 +26252,13 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25454
26252
|
path: _path + ".colors",
|
|
25455
26253
|
expected: "(Array<__type>.o1 | undefined)",
|
|
25456
26254
|
value: input.colors
|
|
25457
|
-
})) && input.colors.map((elem,
|
|
25458
|
-
path: _path + ".colors[" +
|
|
25459
|
-
expected: "__type.
|
|
26255
|
+
})) && input.colors.map((elem, _index52) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
26256
|
+
path: _path + ".colors[" + _index52 + "]",
|
|
26257
|
+
expected: "__type.o41",
|
|
25460
26258
|
value: elem
|
|
25461
|
-
})) &&
|
|
25462
|
-
path: _path + ".colors[" +
|
|
25463
|
-
expected: "__type.
|
|
26259
|
+
})) && _vo48(elem, _path + ".colors[" + _index52 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
26260
|
+
path: _path + ".colors[" + _index52 + "]",
|
|
26261
|
+
expected: "__type.o41",
|
|
25464
26262
|
value: elem
|
|
25465
26263
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
25466
26264
|
path: _path + ".colors",
|
|
@@ -25470,8 +26268,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25470
26268
|
path: _path + ".overridableProperties",
|
|
25471
26269
|
expected: "(Array<keyof SubtitleStyle | null> | undefined)",
|
|
25472
26270
|
value: input.overridableProperties
|
|
25473
|
-
})) && input.overridableProperties.map((elem,
|
|
25474
|
-
path: _path + ".overridableProperties[" +
|
|
26271
|
+
})) && input.overridableProperties.map((elem, _index53) => null === elem || true === _vv54.has(elem) || _report(_exceptionable, {
|
|
26272
|
+
path: _path + ".overridableProperties[" + _index53 + "]",
|
|
25475
26273
|
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)",
|
|
25476
26274
|
value: elem
|
|
25477
26275
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -25494,7 +26292,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25494
26292
|
"Please remove the property next time."
|
|
25495
26293
|
].join("\n")
|
|
25496
26294
|
});
|
|
25497
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
26295
|
+
}).every(flag => flag))].every(flag => flag); const _vo47 = (input, _path, _exceptionable = true) => [null === input.ifAspectRatio || undefined === input.ifAspectRatio || "string" === typeof input.ifAspectRatio || _report(_exceptionable, {
|
|
25498
26296
|
path: _path + ".ifAspectRatio",
|
|
25499
26297
|
expected: "(null | string | undefined)",
|
|
25500
26298
|
value: input.ifAspectRatio
|
|
@@ -25526,7 +26324,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25526
26324
|
"Please remove the property next time."
|
|
25527
26325
|
].join("\n")
|
|
25528
26326
|
});
|
|
25529
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
26327
|
+
}).every(flag => flag))].every(flag => flag); const _vo48 = (input, _path, _exceptionable = true) => [null === input.label || undefined === input.label || "string" === typeof input.label || _report(_exceptionable, {
|
|
25530
26328
|
path: _path + ".label",
|
|
25531
26329
|
expected: "(null | string | undefined)",
|
|
25532
26330
|
value: input.label
|
|
@@ -25550,7 +26348,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25550
26348
|
"Please remove the property next time."
|
|
25551
26349
|
].join("\n")
|
|
25552
26350
|
});
|
|
25553
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
26351
|
+
}).every(flag => flag))].every(flag => flag); const _vo49 = (input, _path, _exceptionable = true) => [undefined === input.label || "string" === typeof input.label || _report(_exceptionable, {
|
|
25554
26352
|
path: _path + ".label",
|
|
25555
26353
|
expected: "(string | undefined)",
|
|
25556
26354
|
value: input.label
|
|
@@ -25574,7 +26372,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25574
26372
|
"Please remove the property next time."
|
|
25575
26373
|
].join("\n")
|
|
25576
26374
|
});
|
|
25577
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
26375
|
+
}).every(flag => flag))].every(flag => flag); const _vo50 = (input, _path, _exceptionable = true) => [undefined === input.enabled || "boolean" === typeof input.enabled || _report(_exceptionable, {
|
|
25578
26376
|
path: _path + ".enabled",
|
|
25579
26377
|
expected: "(boolean | undefined)",
|
|
25580
26378
|
value: input.enabled
|
|
@@ -25602,13 +26400,13 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25602
26400
|
"Please remove the property next time."
|
|
25603
26401
|
].join("\n")
|
|
25604
26402
|
});
|
|
25605
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
26403
|
+
}).every(flag => flag))].every(flag => flag); const _vo51 = (input, _path, _exceptionable = true) => [undefined === input.subtitleDisclaimer || ("object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) || _report(_exceptionable, {
|
|
25606
26404
|
path: _path + ".subtitleDisclaimer",
|
|
25607
|
-
expected: "(__type.
|
|
26405
|
+
expected: "(__type.o45 | undefined)",
|
|
25608
26406
|
value: input.subtitleDisclaimer
|
|
25609
|
-
})) &&
|
|
26407
|
+
})) && _vo52(input.subtitleDisclaimer, _path + ".subtitleDisclaimer", true && _exceptionable) || _report(_exceptionable, {
|
|
25610
26408
|
path: _path + ".subtitleDisclaimer",
|
|
25611
|
-
expected: "(__type.
|
|
26409
|
+
expected: "(__type.o45 | undefined)",
|
|
25612
26410
|
value: input.subtitleDisclaimer
|
|
25613
26411
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
25614
26412
|
if (["subtitleDisclaimer"].some(prop => key === prop))
|
|
@@ -25626,17 +26424,17 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25626
26424
|
"Please remove the property next time."
|
|
25627
26425
|
].join("\n")
|
|
25628
26426
|
});
|
|
25629
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
26427
|
+
}).every(flag => flag))].every(flag => flag); const _vo52 = (input, _path, _exceptionable = true) => [undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable || _report(_exceptionable, {
|
|
25630
26428
|
path: _path + ".isUserConfigurable",
|
|
25631
26429
|
expected: "(boolean | undefined)",
|
|
25632
26430
|
value: input.isUserConfigurable
|
|
25633
26431
|
}), undefined === input.defaultValue || ("object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) || _report(_exceptionable, {
|
|
25634
26432
|
path: _path + ".defaultValue",
|
|
25635
|
-
expected: "(__type.
|
|
26433
|
+
expected: "(__type.o46 | undefined)",
|
|
25636
26434
|
value: input.defaultValue
|
|
25637
|
-
})) &&
|
|
26435
|
+
})) && _vo53(input.defaultValue, _path + ".defaultValue", true && _exceptionable) || _report(_exceptionable, {
|
|
25638
26436
|
path: _path + ".defaultValue",
|
|
25639
|
-
expected: "(__type.
|
|
26437
|
+
expected: "(__type.o46 | undefined)",
|
|
25640
26438
|
value: input.defaultValue
|
|
25641
26439
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
25642
26440
|
if (["isUserConfigurable", "defaultValue"].some(prop => key === prop))
|
|
@@ -25654,7 +26452,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25654
26452
|
"Please remove the property next time."
|
|
25655
26453
|
].join("\n")
|
|
25656
26454
|
});
|
|
25657
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
26455
|
+
}).every(flag => flag))].every(flag => flag); const _vo53 = (input, _path, _exceptionable = true) => [undefined === input.enabled || false === input.enabled || _report(_exceptionable, {
|
|
25658
26456
|
path: _path + ".enabled",
|
|
25659
26457
|
expected: "(false | undefined)",
|
|
25660
26458
|
value: input.enabled
|
|
@@ -25662,13 +26460,13 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25662
26460
|
path: _path + ".text",
|
|
25663
26461
|
expected: "(Array<__type>.o3 | undefined)",
|
|
25664
26462
|
value: input.text
|
|
25665
|
-
})) && input.text.map((elem,
|
|
25666
|
-
path: _path + ".text[" +
|
|
25667
|
-
expected: "__type.
|
|
26463
|
+
})) && input.text.map((elem, _index55) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
26464
|
+
path: _path + ".text[" + _index55 + "]",
|
|
26465
|
+
expected: "__type.o47",
|
|
25668
26466
|
value: elem
|
|
25669
|
-
})) &&
|
|
25670
|
-
path: _path + ".text[" +
|
|
25671
|
-
expected: "__type.
|
|
26467
|
+
})) && _vo54(elem, _path + ".text[" + _index55 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
26468
|
+
path: _path + ".text[" + _index55 + "]",
|
|
26469
|
+
expected: "__type.o47",
|
|
25672
26470
|
value: elem
|
|
25673
26471
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
25674
26472
|
path: _path + ".text",
|
|
@@ -25698,7 +26496,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25698
26496
|
"Please remove the property next time."
|
|
25699
26497
|
].join("\n")
|
|
25700
26498
|
});
|
|
25701
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
26499
|
+
}).every(flag => flag))].every(flag => flag); const _vo54 = (input, _path, _exceptionable = true) => [undefined === input.language || "string" === typeof input.language || _report(_exceptionable, {
|
|
25702
26500
|
path: _path + ".language",
|
|
25703
26501
|
expected: "(string | undefined)",
|
|
25704
26502
|
value: input.language
|
|
@@ -25722,7 +26520,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25722
26520
|
"Please remove the property next time."
|
|
25723
26521
|
].join("\n")
|
|
25724
26522
|
});
|
|
25725
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
26523
|
+
}).every(flag => flag))].every(flag => flag); const _vo55 = (input, _path, _exceptionable = true) => [undefined === input.url || "string" === typeof input.url || _report(_exceptionable, {
|
|
25726
26524
|
path: _path + ".url",
|
|
25727
26525
|
expected: "(string | undefined)",
|
|
25728
26526
|
value: input.url
|
|
@@ -25738,8 +26536,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25738
26536
|
path: _path + ".args",
|
|
25739
26537
|
expected: "(Array<string> | undefined)",
|
|
25740
26538
|
value: input.args
|
|
25741
|
-
})) && input.args.map((elem,
|
|
25742
|
-
path: _path + ".args[" +
|
|
26539
|
+
})) && input.args.map((elem, _index56) => "string" === typeof elem || _report(_exceptionable, {
|
|
26540
|
+
path: _path + ".args[" + _index56 + "]",
|
|
25743
26541
|
expected: "string",
|
|
25744
26542
|
value: elem
|
|
25745
26543
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -25762,17 +26560,17 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25762
26560
|
"Please remove the property next time."
|
|
25763
26561
|
].join("\n")
|
|
25764
26562
|
});
|
|
25765
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
26563
|
+
}).every(flag => flag))].every(flag => flag); const _vo56 = (input, _path, _exceptionable = true) => [undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView || _report(_exceptionable, {
|
|
25766
26564
|
path: _path + ".thumbnailView",
|
|
25767
26565
|
expected: "(\"filmStrip\" | \"none\" | \"thumbnail\" | undefined)",
|
|
25768
26566
|
value: input.thumbnailView
|
|
25769
26567
|
}), undefined === input.voiceOver || ("object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) || _report(_exceptionable, {
|
|
25770
26568
|
path: _path + ".voiceOver",
|
|
25771
|
-
expected: "(__type.
|
|
26569
|
+
expected: "(__type.o50 | undefined)",
|
|
25772
26570
|
value: input.voiceOver
|
|
25773
|
-
})) &&
|
|
26571
|
+
})) && _vo57(input.voiceOver, _path + ".voiceOver", true && _exceptionable) || _report(_exceptionable, {
|
|
25774
26572
|
path: _path + ".voiceOver",
|
|
25775
|
-
expected: "(__type.
|
|
26573
|
+
expected: "(__type.o50 | undefined)",
|
|
25776
26574
|
value: input.voiceOver
|
|
25777
26575
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
25778
26576
|
if (["thumbnailView", "voiceOver"].some(prop => key === prop))
|
|
@@ -25790,7 +26588,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25790
26588
|
"Please remove the property next time."
|
|
25791
26589
|
].join("\n")
|
|
25792
26590
|
});
|
|
25793
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
26591
|
+
}).every(flag => flag))].every(flag => flag); const _vo57 = (input, _path, _exceptionable = true) => [undefined === input.inputDevice || "string" === typeof input.inputDevice || _report(_exceptionable, {
|
|
25794
26592
|
path: _path + ".inputDevice",
|
|
25795
26593
|
expected: "(string | undefined)",
|
|
25796
26594
|
value: input.inputDevice
|
|
@@ -25826,7 +26624,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25826
26624
|
"Please remove the property next time."
|
|
25827
26625
|
].join("\n")
|
|
25828
26626
|
});
|
|
25829
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
26627
|
+
}).every(flag => flag))].every(flag => flag); const _vo58 = (input, _path, _exceptionable = true) => [undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
25830
26628
|
path: _path + ".title",
|
|
25831
26629
|
expected: "(string | undefined)",
|
|
25832
26630
|
value: input.title
|
|
@@ -25838,8 +26636,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25838
26636
|
path: _path + ".args",
|
|
25839
26637
|
expected: "(Array<string> | undefined)",
|
|
25840
26638
|
value: input.args
|
|
25841
|
-
})) && input.args.map((elem,
|
|
25842
|
-
path: _path + ".args[" +
|
|
26639
|
+
})) && input.args.map((elem, _index57) => "string" === typeof elem || _report(_exceptionable, {
|
|
26640
|
+
path: _path + ".args[" + _index57 + "]",
|
|
25843
26641
|
expected: "string",
|
|
25844
26642
|
value: elem
|
|
25845
26643
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -25862,37 +26660,37 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25862
26660
|
"Please remove the property next time."
|
|
25863
26661
|
].join("\n")
|
|
25864
26662
|
});
|
|
25865
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
26663
|
+
}).every(flag => flag))].every(flag => flag); const _vo59 = (input, _path, _exceptionable = true) => [undefined === input.folded || ("object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) || _report(_exceptionable, {
|
|
25866
26664
|
path: _path + ".folded",
|
|
25867
|
-
expected: "(__type.
|
|
26665
|
+
expected: "(__type.o53 | undefined)",
|
|
25868
26666
|
value: input.folded
|
|
25869
|
-
})) &&
|
|
26667
|
+
})) && _vo60(input.folded, _path + ".folded", true && _exceptionable) || _report(_exceptionable, {
|
|
25870
26668
|
path: _path + ".folded",
|
|
25871
|
-
expected: "(__type.
|
|
26669
|
+
expected: "(__type.o53 | undefined)",
|
|
25872
26670
|
value: input.folded
|
|
25873
26671
|
}), undefined === input.assets || ("object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) || _report(_exceptionable, {
|
|
25874
26672
|
path: _path + ".assets",
|
|
25875
|
-
expected: "(__type.
|
|
26673
|
+
expected: "(__type.o54 | undefined)",
|
|
25876
26674
|
value: input.assets
|
|
25877
|
-
})) &&
|
|
26675
|
+
})) && _vo61(input.assets, _path + ".assets", true && _exceptionable) || _report(_exceptionable, {
|
|
25878
26676
|
path: _path + ".assets",
|
|
25879
|
-
expected: "(__type.
|
|
26677
|
+
expected: "(__type.o54 | undefined)",
|
|
25880
26678
|
value: input.assets
|
|
25881
26679
|
}), undefined === input.pipeline || ("object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) || _report(_exceptionable, {
|
|
25882
26680
|
path: _path + ".pipeline",
|
|
25883
|
-
expected: "(__type.
|
|
26681
|
+
expected: "(__type.o58 | undefined)",
|
|
25884
26682
|
value: input.pipeline
|
|
25885
|
-
})) &&
|
|
26683
|
+
})) && _vo65(input.pipeline, _path + ".pipeline", true && _exceptionable) || _report(_exceptionable, {
|
|
25886
26684
|
path: _path + ".pipeline",
|
|
25887
|
-
expected: "(__type.
|
|
26685
|
+
expected: "(__type.o58 | undefined)",
|
|
25888
26686
|
value: input.pipeline
|
|
25889
26687
|
}), undefined === input.item || ("object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) || _report(_exceptionable, {
|
|
25890
26688
|
path: _path + ".item",
|
|
25891
|
-
expected: "(__type.
|
|
26689
|
+
expected: "(__type.o60 | undefined)",
|
|
25892
26690
|
value: input.item
|
|
25893
|
-
})) &&
|
|
26691
|
+
})) && _vo67(input.item, _path + ".item", true && _exceptionable) || _report(_exceptionable, {
|
|
25894
26692
|
path: _path + ".item",
|
|
25895
|
-
expected: "(__type.
|
|
26693
|
+
expected: "(__type.o60 | undefined)",
|
|
25896
26694
|
value: input.item
|
|
25897
26695
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
25898
26696
|
if (["folded", "assets", "pipeline", "item"].some(prop => key === prop))
|
|
@@ -25910,7 +26708,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25910
26708
|
"Please remove the property next time."
|
|
25911
26709
|
].join("\n")
|
|
25912
26710
|
});
|
|
25913
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
26711
|
+
}).every(flag => flag))].every(flag => flag); const _vo60 = (input, _path, _exceptionable = true) => [undefined === input.auto || "boolean" === typeof input.auto || _report(_exceptionable, {
|
|
25914
26712
|
path: _path + ".auto",
|
|
25915
26713
|
expected: "(boolean | undefined)",
|
|
25916
26714
|
value: input.auto
|
|
@@ -25930,21 +26728,21 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25930
26728
|
"Please remove the property next time."
|
|
25931
26729
|
].join("\n")
|
|
25932
26730
|
});
|
|
25933
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
26731
|
+
}).every(flag => flag))].every(flag => flag); const _vo61 = (input, _path, _exceptionable = true) => [undefined === input.story || ("object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) || _report(_exceptionable, {
|
|
25934
26732
|
path: _path + ".story",
|
|
25935
|
-
expected: "(__type.
|
|
26733
|
+
expected: "(__type.o55 | undefined)",
|
|
25936
26734
|
value: input.story
|
|
25937
|
-
})) &&
|
|
26735
|
+
})) && _vo62(input.story, _path + ".story", true && _exceptionable) || _report(_exceptionable, {
|
|
25938
26736
|
path: _path + ".story",
|
|
25939
|
-
expected: "(__type.
|
|
26737
|
+
expected: "(__type.o55 | undefined)",
|
|
25940
26738
|
value: input.story
|
|
25941
26739
|
}), undefined === input.note || ("object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) || _report(_exceptionable, {
|
|
25942
26740
|
path: _path + ".note",
|
|
25943
|
-
expected: "(__type.
|
|
26741
|
+
expected: "(__type.o57 | undefined)",
|
|
25944
26742
|
value: input.note
|
|
25945
|
-
})) &&
|
|
26743
|
+
})) && _vo64(input.note, _path + ".note", true && _exceptionable) || _report(_exceptionable, {
|
|
25946
26744
|
path: _path + ".note",
|
|
25947
|
-
expected: "(__type.
|
|
26745
|
+
expected: "(__type.o57 | undefined)",
|
|
25948
26746
|
value: input.note
|
|
25949
26747
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
25950
26748
|
if (["story", "note"].some(prop => key === prop))
|
|
@@ -25962,13 +26760,13 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25962
26760
|
"Please remove the property next time."
|
|
25963
26761
|
].join("\n")
|
|
25964
26762
|
});
|
|
25965
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
26763
|
+
}).every(flag => flag))].every(flag => flag); const _vo62 = (input, _path, _exceptionable = true) => [undefined === input.excerpt || ("object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) || _report(_exceptionable, {
|
|
25966
26764
|
path: _path + ".excerpt",
|
|
25967
|
-
expected: "(__type.
|
|
26765
|
+
expected: "(__type.o56 | undefined)",
|
|
25968
26766
|
value: input.excerpt
|
|
25969
|
-
})) &&
|
|
26767
|
+
})) && _vo63(input.excerpt, _path + ".excerpt", true && _exceptionable) || _report(_exceptionable, {
|
|
25970
26768
|
path: _path + ".excerpt",
|
|
25971
|
-
expected: "(__type.
|
|
26769
|
+
expected: "(__type.o56 | undefined)",
|
|
25972
26770
|
value: input.excerpt
|
|
25973
26771
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
25974
26772
|
if (["excerpt"].some(prop => key === prop))
|
|
@@ -25986,7 +26784,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25986
26784
|
"Please remove the property next time."
|
|
25987
26785
|
].join("\n")
|
|
25988
26786
|
});
|
|
25989
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
26787
|
+
}).every(flag => flag))].every(flag => flag); const _vo63 = (input, _path, _exceptionable = true) => [undefined === input.maxLines || "number" === typeof input.maxLines || _report(_exceptionable, {
|
|
25990
26788
|
path: _path + ".maxLines",
|
|
25991
26789
|
expected: "(number | undefined)",
|
|
25992
26790
|
value: input.maxLines
|
|
@@ -26014,7 +26812,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26014
26812
|
"Please remove the property next time."
|
|
26015
26813
|
].join("\n")
|
|
26016
26814
|
});
|
|
26017
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
26815
|
+
}).every(flag => flag))].every(flag => flag); const _vo64 = (input, _path, _exceptionable = true) => [undefined === input.maxHeight || "number" === typeof input.maxHeight || _report(_exceptionable, {
|
|
26018
26816
|
path: _path + ".maxHeight",
|
|
26019
26817
|
expected: "(number | undefined)",
|
|
26020
26818
|
value: input.maxHeight
|
|
@@ -26034,15 +26832,15 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26034
26832
|
"Please remove the property next time."
|
|
26035
26833
|
].join("\n")
|
|
26036
26834
|
});
|
|
26037
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
26835
|
+
}).every(flag => flag))].every(flag => flag); const _vo65 = (input, _path, _exceptionable = true) => [undefined === input.search || ("object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) || _report(_exceptionable, {
|
|
26038
26836
|
path: _path + ".search",
|
|
26039
|
-
expected: "(__type.
|
|
26837
|
+
expected: "(__type.o59 | undefined)",
|
|
26040
26838
|
value: input.search
|
|
26041
|
-
})) &&
|
|
26839
|
+
})) && _vo66(input.search, _path + ".search", true && _exceptionable) || _report(_exceptionable, {
|
|
26042
26840
|
path: _path + ".search",
|
|
26043
|
-
expected: "(__type.
|
|
26841
|
+
expected: "(__type.o59 | undefined)",
|
|
26044
26842
|
value: input.search
|
|
26045
|
-
}), undefined === input.sortMode || true ===
|
|
26843
|
+
}), undefined === input.sortMode || true === _vv58.has(input.sortMode) || _report(_exceptionable, {
|
|
26046
26844
|
path: _path + ".sortMode",
|
|
26047
26845
|
expected: "(\"az\" | \"default\" | \"earliestdeadline\" | \"latestdeadline\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
|
|
26048
26846
|
value: input.sortMode
|
|
@@ -26062,7 +26860,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26062
26860
|
"Please remove the property next time."
|
|
26063
26861
|
].join("\n")
|
|
26064
26862
|
});
|
|
26065
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
26863
|
+
}).every(flag => flag))].every(flag => flag); const _vo66 = (input, _path, _exceptionable = true) => [undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed || _report(_exceptionable, {
|
|
26066
26864
|
path: _path + ".maxItemsDisplayed",
|
|
26067
26865
|
expected: "(number | undefined)",
|
|
26068
26866
|
value: input.maxItemsDisplayed
|
|
@@ -26082,12 +26880,16 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26082
26880
|
"Please remove the property next time."
|
|
26083
26881
|
].join("\n")
|
|
26084
26882
|
});
|
|
26085
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
26883
|
+
}).every(flag => flag))].every(flag => flag); const _vo67 = (input, _path, _exceptionable = true) => [undefined === input.maxHeight || "number" === typeof input.maxHeight || _report(_exceptionable, {
|
|
26086
26884
|
path: _path + ".maxHeight",
|
|
26087
26885
|
expected: "(number | undefined)",
|
|
26088
26886
|
value: input.maxHeight
|
|
26887
|
+
}), undefined === input.titleLines || "number" === typeof input.titleLines || _report(_exceptionable, {
|
|
26888
|
+
path: _path + ".titleLines",
|
|
26889
|
+
expected: "(number | undefined)",
|
|
26890
|
+
value: input.titleLines
|
|
26089
26891
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
26090
|
-
if (["maxHeight"].some(prop => key === prop))
|
|
26892
|
+
if (["maxHeight", "titleLines"].some(prop => key === prop))
|
|
26091
26893
|
return true;
|
|
26092
26894
|
const value = input[key];
|
|
26093
26895
|
if (undefined === value)
|
|
@@ -26102,12 +26904,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26102
26904
|
"Please remove the property next time."
|
|
26103
26905
|
].join("\n")
|
|
26104
26906
|
});
|
|
26105
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
26907
|
+
}).every(flag => flag))].every(flag => flag); const _vo68 = (input, _path, _exceptionable = true) => [undefined === input.fontFamilies || (Array.isArray(input.fontFamilies) || _report(_exceptionable, {
|
|
26106
26908
|
path: _path + ".fontFamilies",
|
|
26107
26909
|
expected: "(Array<string> | undefined)",
|
|
26108
26910
|
value: input.fontFamilies
|
|
26109
|
-
})) && input.fontFamilies.map((elem,
|
|
26110
|
-
path: _path + ".fontFamilies[" +
|
|
26911
|
+
})) && input.fontFamilies.map((elem, _index59) => "string" === typeof elem || _report(_exceptionable, {
|
|
26912
|
+
path: _path + ".fontFamilies[" + _index59 + "]",
|
|
26111
26913
|
expected: "string",
|
|
26112
26914
|
value: elem
|
|
26113
26915
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -26130,7 +26932,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26130
26932
|
"Please remove the property next time."
|
|
26131
26933
|
].join("\n")
|
|
26132
26934
|
});
|
|
26133
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
26935
|
+
}).every(flag => flag))].every(flag => flag); const _vo69 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
26134
26936
|
path: _path + ".id",
|
|
26135
26937
|
expected: "(string | undefined)",
|
|
26136
26938
|
value: input.id
|
|
@@ -26154,21 +26956,21 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26154
26956
|
"Please remove the property next time."
|
|
26155
26957
|
].join("\n")
|
|
26156
26958
|
});
|
|
26157
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
26959
|
+
}).every(flag => flag))].every(flag => flag); const _vo70 = (input, _path, _exceptionable = true) => [undefined === input.adobe || ("object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) || _report(_exceptionable, {
|
|
26158
26960
|
path: _path + ".adobe",
|
|
26159
|
-
expected: "(__type.
|
|
26961
|
+
expected: "(__type.o64 | undefined)",
|
|
26160
26962
|
value: input.adobe
|
|
26161
|
-
})) &&
|
|
26963
|
+
})) && _vo71(input.adobe, _path + ".adobe", true && _exceptionable) || _report(_exceptionable, {
|
|
26162
26964
|
path: _path + ".adobe",
|
|
26163
|
-
expected: "(__type.
|
|
26965
|
+
expected: "(__type.o64 | undefined)",
|
|
26164
26966
|
value: input.adobe
|
|
26165
26967
|
}), undefined === input.rive || ("object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) || _report(_exceptionable, {
|
|
26166
26968
|
path: _path + ".rive",
|
|
26167
|
-
expected: "(__type.
|
|
26969
|
+
expected: "(__type.o65 | undefined)",
|
|
26168
26970
|
value: input.rive
|
|
26169
|
-
})) &&
|
|
26971
|
+
})) && _vo72(input.rive, _path + ".rive", true && _exceptionable) || _report(_exceptionable, {
|
|
26170
26972
|
path: _path + ".rive",
|
|
26171
|
-
expected: "(__type.
|
|
26973
|
+
expected: "(__type.o65 | undefined)",
|
|
26172
26974
|
value: input.rive
|
|
26173
26975
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
26174
26976
|
if (["adobe", "rive"].some(prop => key === prop))
|
|
@@ -26186,7 +26988,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26186
26988
|
"Please remove the property next time."
|
|
26187
26989
|
].join("\n")
|
|
26188
26990
|
});
|
|
26189
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
26991
|
+
}).every(flag => flag))].every(flag => flag); const _vo71 = (input, _path, _exceptionable = true) => [undefined === input.useProxies || "boolean" === typeof input.useProxies || _report(_exceptionable, {
|
|
26190
26992
|
path: _path + ".useProxies",
|
|
26191
26993
|
expected: "(boolean | undefined)",
|
|
26192
26994
|
value: input.useProxies
|
|
@@ -26206,7 +27008,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26206
27008
|
"Please remove the property next time."
|
|
26207
27009
|
].join("\n")
|
|
26208
27010
|
});
|
|
26209
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
27011
|
+
}).every(flag => flag))].every(flag => flag); const _vo72 = (input, _path, _exceptionable = true) => [undefined === input.template || "string" === typeof input.template || _report(_exceptionable, {
|
|
26210
27012
|
path: _path + ".template",
|
|
26211
27013
|
expected: "(string | undefined)",
|
|
26212
27014
|
value: input.template
|
|
@@ -26226,7 +27028,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26226
27028
|
"Please remove the property next time."
|
|
26227
27029
|
].join("\n")
|
|
26228
27030
|
});
|
|
26229
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
27031
|
+
}).every(flag => flag))].every(flag => flag); const _vo73 = (input, _path, _exceptionable = true) => [undefined === input.collections || "boolean" === typeof input.collections || _report(_exceptionable, {
|
|
26230
27032
|
path: _path + ".collections",
|
|
26231
27033
|
expected: "(boolean | undefined)",
|
|
26232
27034
|
value: input.collections
|
|
@@ -26254,10 +27056,18 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26254
27056
|
"Please remove the property next time."
|
|
26255
27057
|
].join("\n")
|
|
26256
27058
|
});
|
|
26257
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
27059
|
+
}).every(flag => flag))].every(flag => flag); const _vo74 = (input, _path, _exceptionable = true) => [undefined === input.utils || "boolean" === typeof input.utils || _report(_exceptionable, {
|
|
26258
27060
|
path: _path + ".utils",
|
|
26259
27061
|
expected: "(boolean | undefined)",
|
|
26260
27062
|
value: input.utils
|
|
27063
|
+
}), undefined === input.utilsAssetEditor || "boolean" === typeof input.utilsAssetEditor || _report(_exceptionable, {
|
|
27064
|
+
path: _path + ".utilsAssetEditor",
|
|
27065
|
+
expected: "(boolean | undefined)",
|
|
27066
|
+
value: input.utilsAssetEditor
|
|
27067
|
+
}), undefined === input.utilsAssetPanel || "boolean" === typeof input.utilsAssetPanel || _report(_exceptionable, {
|
|
27068
|
+
path: _path + ".utilsAssetPanel",
|
|
27069
|
+
expected: "(boolean | undefined)",
|
|
27070
|
+
value: input.utilsAssetPanel
|
|
26261
27071
|
}), undefined === input.history || "boolean" === typeof input.history || _report(_exceptionable, {
|
|
26262
27072
|
path: _path + ".history",
|
|
26263
27073
|
expected: "(boolean | undefined)",
|
|
@@ -26323,7 +27133,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26323
27133
|
expected: "(boolean | undefined)",
|
|
26324
27134
|
value: input.systemHealth
|
|
26325
27135
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
26326
|
-
if (["utils", "history", "refs", "access", "files", "export", "json", "hlsjs", "resetRenders", "resetReplicas", "assetStatus", "consolidateMedia", "hideInAssetMenu", "assetRoute", "devWarnings", "multiplexWebSockets", "systemHealth"].some(prop => key === prop))
|
|
27136
|
+
if (["utils", "utilsAssetEditor", "utilsAssetPanel", "history", "refs", "access", "files", "export", "json", "hlsjs", "resetRenders", "resetReplicas", "assetStatus", "consolidateMedia", "hideInAssetMenu", "assetRoute", "devWarnings", "multiplexWebSockets", "systemHealth"].some(prop => key === prop))
|
|
26327
27137
|
return true;
|
|
26328
27138
|
const value = input[key];
|
|
26329
27139
|
if (undefined === value)
|
|
@@ -26338,13 +27148,13 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26338
27148
|
"Please remove the property next time."
|
|
26339
27149
|
].join("\n")
|
|
26340
27150
|
});
|
|
26341
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
27151
|
+
}).every(flag => flag))].every(flag => flag); const _vo75 = (input, _path, _exceptionable = true) => [undefined === input.events || ("object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) || _report(_exceptionable, {
|
|
26342
27152
|
path: _path + ".events",
|
|
26343
|
-
expected: "(__type.
|
|
27153
|
+
expected: "(__type.o69 | undefined)",
|
|
26344
27154
|
value: input.events
|
|
26345
|
-
})) &&
|
|
27155
|
+
})) && _vo76(input.events, _path + ".events", true && _exceptionable) || _report(_exceptionable, {
|
|
26346
27156
|
path: _path + ".events",
|
|
26347
|
-
expected: "(__type.
|
|
27157
|
+
expected: "(__type.o69 | undefined)",
|
|
26348
27158
|
value: input.events
|
|
26349
27159
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
26350
27160
|
if (["events"].some(prop => key === prop))
|
|
@@ -26362,12 +27172,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26362
27172
|
"Please remove the property next time."
|
|
26363
27173
|
].join("\n")
|
|
26364
27174
|
});
|
|
26365
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
27175
|
+
}).every(flag => flag))].every(flag => flag); const _vo76 = (input, _path, _exceptionable = true) => [undefined === input.comment || (Array.isArray(input.comment) || _report(_exceptionable, {
|
|
26366
27176
|
path: _path + ".comment",
|
|
26367
27177
|
expected: "(Array<NotificationReason> | undefined)",
|
|
26368
27178
|
value: input.comment
|
|
26369
|
-
})) && input.comment.map((elem,
|
|
26370
|
-
path: _path + ".comment[" +
|
|
27179
|
+
})) && input.comment.map((elem, _index60) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
27180
|
+
path: _path + ".comment[" + _index60 + "]",
|
|
26371
27181
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
26372
27182
|
value: elem
|
|
26373
27183
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -26378,8 +27188,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26378
27188
|
path: _path + ".assigned",
|
|
26379
27189
|
expected: "(Array<NotificationReason> | undefined)",
|
|
26380
27190
|
value: input.assigned
|
|
26381
|
-
})) && input.assigned.map((elem,
|
|
26382
|
-
path: _path + ".assigned[" +
|
|
27191
|
+
})) && input.assigned.map((elem, _index61) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
27192
|
+
path: _path + ".assigned[" + _index61 + "]",
|
|
26383
27193
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
26384
27194
|
value: elem
|
|
26385
27195
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -26390,8 +27200,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26390
27200
|
path: _path + ".unassigned",
|
|
26391
27201
|
expected: "(Array<NotificationReason> | undefined)",
|
|
26392
27202
|
value: input.unassigned
|
|
26393
|
-
})) && input.unassigned.map((elem,
|
|
26394
|
-
path: _path + ".unassigned[" +
|
|
27203
|
+
})) && input.unassigned.map((elem, _index62) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
27204
|
+
path: _path + ".unassigned[" + _index62 + "]",
|
|
26395
27205
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
26396
27206
|
value: elem
|
|
26397
27207
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -26400,11 +27210,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26400
27210
|
value: input.unassigned
|
|
26401
27211
|
}), undefined === input.publishSucceeded || ("object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) || _report(_exceptionable, {
|
|
26402
27212
|
path: _path + ".publishSucceeded",
|
|
26403
|
-
expected: "(__type.
|
|
27213
|
+
expected: "(__type.o70 | undefined)",
|
|
26404
27214
|
value: input.publishSucceeded
|
|
26405
|
-
})) &&
|
|
27215
|
+
})) && _vo77(input.publishSucceeded, _path + ".publishSucceeded", true && _exceptionable) || _report(_exceptionable, {
|
|
26406
27216
|
path: _path + ".publishSucceeded",
|
|
26407
|
-
expected: "(__type.
|
|
27217
|
+
expected: "(__type.o70 | undefined)",
|
|
26408
27218
|
value: input.publishSucceeded
|
|
26409
27219
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
26410
27220
|
if (["comment", "assigned", "unassigned", "publishSucceeded"].some(prop => key === prop))
|
|
@@ -26422,7 +27232,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26422
27232
|
"Please remove the property next time."
|
|
26423
27233
|
].join("\n")
|
|
26424
27234
|
});
|
|
26425
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
27235
|
+
}).every(flag => flag))].every(flag => flag); const _vo77 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
26426
27236
|
const value = input[key];
|
|
26427
27237
|
if (undefined === value)
|
|
26428
27238
|
return true;
|
|
@@ -26430,8 +27240,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26430
27240
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
26431
27241
|
expected: "Array<NotificationReason>",
|
|
26432
27242
|
value: value
|
|
26433
|
-
})) && value.map((elem,
|
|
26434
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" +
|
|
27243
|
+
})) && value.map((elem, _index63) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
27244
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index63 + "]",
|
|
26435
27245
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
26436
27246
|
value: elem
|
|
26437
27247
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -26439,7 +27249,103 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26439
27249
|
expected: "Array<NotificationReason>",
|
|
26440
27250
|
value: value
|
|
26441
27251
|
});
|
|
26442
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
27252
|
+
}).every(flag => flag)].every(flag => flag); const _vo78 = (input, _path, _exceptionable = true) => [undefined === input.duplicate || ("object" === typeof input.duplicate && null !== input.duplicate && false === Array.isArray(input.duplicate) || _report(_exceptionable, {
|
|
27253
|
+
path: _path + ".duplicate",
|
|
27254
|
+
expected: "(__type.o72 | undefined)",
|
|
27255
|
+
value: input.duplicate
|
|
27256
|
+
})) && _vo79(input.duplicate, _path + ".duplicate", true && _exceptionable) || _report(_exceptionable, {
|
|
27257
|
+
path: _path + ".duplicate",
|
|
27258
|
+
expected: "(__type.o72 | undefined)",
|
|
27259
|
+
value: input.duplicate
|
|
27260
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
27261
|
+
if (["duplicate"].some(prop => key === prop))
|
|
27262
|
+
return true;
|
|
27263
|
+
const value = input[key];
|
|
27264
|
+
if (undefined === value)
|
|
27265
|
+
return true;
|
|
27266
|
+
return _report(_exceptionable, {
|
|
27267
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
27268
|
+
expected: "undefined",
|
|
27269
|
+
value: value,
|
|
27270
|
+
description: [
|
|
27271
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
27272
|
+
"",
|
|
27273
|
+
"Please remove the property next time."
|
|
27274
|
+
].join("\n")
|
|
27275
|
+
});
|
|
27276
|
+
}).every(flag => flag))].every(flag => flag); const _vo79 = (input, _path, _exceptionable = true) => [undefined === input.titlePrefix || "string" === typeof input.titlePrefix || _report(_exceptionable, {
|
|
27277
|
+
path: _path + ".titlePrefix",
|
|
27278
|
+
expected: "(string | undefined)",
|
|
27279
|
+
value: input.titlePrefix
|
|
27280
|
+
}), undefined === input.titleSuffix || "string" === typeof input.titleSuffix || _report(_exceptionable, {
|
|
27281
|
+
path: _path + ".titleSuffix",
|
|
27282
|
+
expected: "(string | undefined)",
|
|
27283
|
+
value: input.titleSuffix
|
|
27284
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
27285
|
+
if (["titlePrefix", "titleSuffix"].some(prop => key === prop))
|
|
27286
|
+
return true;
|
|
27287
|
+
const value = input[key];
|
|
27288
|
+
if (undefined === value)
|
|
27289
|
+
return true;
|
|
27290
|
+
return _report(_exceptionable, {
|
|
27291
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
27292
|
+
expected: "undefined",
|
|
27293
|
+
value: value,
|
|
27294
|
+
description: [
|
|
27295
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
27296
|
+
"",
|
|
27297
|
+
"Please remove the property next time."
|
|
27298
|
+
].join("\n")
|
|
27299
|
+
});
|
|
27300
|
+
}).every(flag => flag))].every(flag => flag); const _vo80 = (input, _path, _exceptionable = true) => [undefined === input.stateFilter || (Array.isArray(input.stateFilter) || _report(_exceptionable, {
|
|
27301
|
+
path: _path + ".stateFilter",
|
|
27302
|
+
expected: "(Array<number> | undefined)",
|
|
27303
|
+
value: input.stateFilter
|
|
27304
|
+
})) && input.stateFilter.map((elem, _index64) => "number" === typeof elem || _report(_exceptionable, {
|
|
27305
|
+
path: _path + ".stateFilter[" + _index64 + "]",
|
|
27306
|
+
expected: "number",
|
|
27307
|
+
value: elem
|
|
27308
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
27309
|
+
path: _path + ".stateFilter",
|
|
27310
|
+
expected: "(Array<number> | undefined)",
|
|
27311
|
+
value: input.stateFilter
|
|
27312
|
+
}), undefined === input.textFilter || "string" === typeof input.textFilter || _report(_exceptionable, {
|
|
27313
|
+
path: _path + ".textFilter",
|
|
27314
|
+
expected: "(string | undefined)",
|
|
27315
|
+
value: input.textFilter
|
|
27316
|
+
}), undefined === input.showEmpty || "boolean" === typeof input.showEmpty || _report(_exceptionable, {
|
|
27317
|
+
path: _path + ".showEmpty",
|
|
27318
|
+
expected: "(boolean | undefined)",
|
|
27319
|
+
value: input.showEmpty
|
|
27320
|
+
}), undefined === input.selectedRecord || "string" === typeof input.selectedRecord || _report(_exceptionable, {
|
|
27321
|
+
path: _path + ".selectedRecord",
|
|
27322
|
+
expected: "(string | undefined)",
|
|
27323
|
+
value: input.selectedRecord
|
|
27324
|
+
}), undefined === input.subscribeSearchHits || "boolean" === typeof input.subscribeSearchHits || _report(_exceptionable, {
|
|
27325
|
+
path: _path + ".subscribeSearchHits",
|
|
27326
|
+
expected: "(boolean | undefined)",
|
|
27327
|
+
value: input.subscribeSearchHits
|
|
27328
|
+
}), undefined === input.parseRegex || "boolean" === typeof input.parseRegex || _report(_exceptionable, {
|
|
27329
|
+
path: _path + ".parseRegex",
|
|
27330
|
+
expected: "(boolean | undefined)",
|
|
27331
|
+
value: input.parseRegex
|
|
27332
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
27333
|
+
if (["stateFilter", "textFilter", "showEmpty", "selectedRecord", "subscribeSearchHits", "parseRegex"].some(prop => key === prop))
|
|
27334
|
+
return true;
|
|
27335
|
+
const value = input[key];
|
|
27336
|
+
if (undefined === value)
|
|
27337
|
+
return true;
|
|
27338
|
+
return _report(_exceptionable, {
|
|
27339
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
27340
|
+
expected: "undefined",
|
|
27341
|
+
value: value,
|
|
27342
|
+
description: [
|
|
27343
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
27344
|
+
"",
|
|
27345
|
+
"Please remove the property next time."
|
|
27346
|
+
].join("\n")
|
|
27347
|
+
});
|
|
27348
|
+
}).every(flag => flag))].every(flag => flag); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input, true); let errors; let _report; return input => {
|
|
26443
27349
|
if (false === __is(input)) {
|
|
26444
27350
|
errors = [];
|
|
26445
27351
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
@@ -26468,6 +27374,301 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26468
27374
|
};
|
|
26469
27375
|
}; })()(input);
|
|
26470
27376
|
}
|
|
27377
|
+
case ":shotbox": {
|
|
27378
|
+
return (() => { const _io0 = (input, _exceptionable = true) => (undefined === input.pages || Array.isArray(input.pages) && input.pages.every((elem, _index1) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem, true && _exceptionable))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
27379
|
+
if (["pages"].some(prop => key === prop))
|
|
27380
|
+
return true;
|
|
27381
|
+
const value = input[key];
|
|
27382
|
+
if (undefined === value)
|
|
27383
|
+
return true;
|
|
27384
|
+
return false;
|
|
27385
|
+
})); const _io1 = (input, _exceptionable = true) => (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, _index2) => null !== elem && undefined !== elem && (Array.isArray(elem) && elem.every((elem, _index3) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem, true && _exceptionable)) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem, true && _exceptionable)))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
27386
|
+
if (["stickyTopRow", "inferGroups", "layout"].some(prop => key === prop))
|
|
27387
|
+
return true;
|
|
27388
|
+
const value = input[key];
|
|
27389
|
+
if (undefined === value)
|
|
27390
|
+
return true;
|
|
27391
|
+
return false;
|
|
27392
|
+
})); const _io2 = (input, _exceptionable = true) => (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, _index4) => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every((elem, _index5) => "string" === typeof elem)) && (undefined === input.states || "object" === typeof input.states && null !== input.states && _io3(input.states, true && _exceptionable)) && (undefined === input.flow || "column" === input.flow || "row" === input.flow) && (undefined === input.minRows || "number" === typeof input.minRows) && (undefined === input.maxRows || "number" === typeof input.maxRows) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
27393
|
+
if (["id", "title", "sticky", "type", "width", "include", "exclude", "states", "flow", "minRows", "maxRows"].some(prop => key === prop))
|
|
27394
|
+
return true;
|
|
27395
|
+
const value = input[key];
|
|
27396
|
+
if (undefined === value)
|
|
27397
|
+
return true;
|
|
27398
|
+
return false;
|
|
27399
|
+
})); const _io3 = (input, _exceptionable = true) => "boolean" === typeof input.completed && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
27400
|
+
if (["completed"].some(prop => key === prop))
|
|
27401
|
+
return true;
|
|
27402
|
+
const value = input[key];
|
|
27403
|
+
if (undefined === value)
|
|
27404
|
+
return true;
|
|
27405
|
+
return false;
|
|
27406
|
+
})); const _io4 = (input, _exceptionable = true) => "stream" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.width || "string" === typeof input.width) && (undefined === input.source || "string" === typeof input.source) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
27407
|
+
if (["type", "title", "width", "source"].some(prop => key === prop))
|
|
27408
|
+
return true;
|
|
27409
|
+
const value = input[key];
|
|
27410
|
+
if (undefined === value)
|
|
27411
|
+
return true;
|
|
27412
|
+
return false;
|
|
27413
|
+
})); const _iu0 = (input, _exceptionable = true) => (() => {
|
|
27414
|
+
if ("stream" === input.type)
|
|
27415
|
+
return _io4(input, true && _exceptionable);
|
|
27416
|
+
else
|
|
27417
|
+
return _io2(input, true && _exceptionable);
|
|
27418
|
+
})(); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.pages || (Array.isArray(input.pages) || _report(_exceptionable, {
|
|
27419
|
+
path: _path + ".pages",
|
|
27420
|
+
expected: "(Array<ShotboxPage> | undefined)",
|
|
27421
|
+
value: input.pages
|
|
27422
|
+
})) && input.pages.map((elem, _index6) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
27423
|
+
path: _path + ".pages[" + _index6 + "]",
|
|
27424
|
+
expected: "ShotboxPage",
|
|
27425
|
+
value: elem
|
|
27426
|
+
})) && _vo1(elem, _path + ".pages[" + _index6 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
27427
|
+
path: _path + ".pages[" + _index6 + "]",
|
|
27428
|
+
expected: "ShotboxPage",
|
|
27429
|
+
value: elem
|
|
27430
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
27431
|
+
path: _path + ".pages",
|
|
27432
|
+
expected: "(Array<ShotboxPage> | undefined)",
|
|
27433
|
+
value: input.pages
|
|
27434
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
27435
|
+
if (["pages"].some(prop => key === prop))
|
|
27436
|
+
return true;
|
|
27437
|
+
const value = input[key];
|
|
27438
|
+
if (undefined === value)
|
|
27439
|
+
return true;
|
|
27440
|
+
return _report(_exceptionable, {
|
|
27441
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
27442
|
+
expected: "undefined",
|
|
27443
|
+
value: value,
|
|
27444
|
+
description: [
|
|
27445
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
27446
|
+
"",
|
|
27447
|
+
"Please remove the property next time."
|
|
27448
|
+
].join("\n")
|
|
27449
|
+
});
|
|
27450
|
+
}).every(flag => flag))].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [undefined === input.stickyTopRow || "boolean" === typeof input.stickyTopRow || _report(_exceptionable, {
|
|
27451
|
+
path: _path + ".stickyTopRow",
|
|
27452
|
+
expected: "(boolean | undefined)",
|
|
27453
|
+
value: input.stickyTopRow
|
|
27454
|
+
}), undefined === input.inferGroups || "boolean" === typeof input.inferGroups || _report(_exceptionable, {
|
|
27455
|
+
path: _path + ".inferGroups",
|
|
27456
|
+
expected: "(boolean | undefined)",
|
|
27457
|
+
value: input.inferGroups
|
|
27458
|
+
}), undefined === input.layout || (Array.isArray(input.layout) || _report(_exceptionable, {
|
|
27459
|
+
path: _path + ".layout",
|
|
27460
|
+
expected: "(Array<ShotboxGroup | ShotboxGroup[]> | undefined)",
|
|
27461
|
+
value: input.layout
|
|
27462
|
+
})) && input.layout.map((elem, _index7) => (null !== elem || _report(_exceptionable, {
|
|
27463
|
+
path: _path + ".layout[" + _index7 + "]",
|
|
27464
|
+
expected: "(Array<ShotboxGroup> | ShotboxEventGroup | ShotboxStreamGroup)",
|
|
27465
|
+
value: elem
|
|
27466
|
+
})) && (undefined !== elem || _report(_exceptionable, {
|
|
27467
|
+
path: _path + ".layout[" + _index7 + "]",
|
|
27468
|
+
expected: "(Array<ShotboxGroup> | ShotboxEventGroup | ShotboxStreamGroup)",
|
|
27469
|
+
value: elem
|
|
27470
|
+
})) && (Array.isArray(elem) && elem.map((elem, _index8) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
27471
|
+
path: _path + ".layout[" + _index7 + "][" + _index8 + "]",
|
|
27472
|
+
expected: "(ShotboxEventGroup | ShotboxStreamGroup)",
|
|
27473
|
+
value: elem
|
|
27474
|
+
})) && _vu0(elem, _path + ".layout[" + _index7 + "][" + _index8 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
27475
|
+
path: _path + ".layout[" + _index7 + "][" + _index8 + "]",
|
|
27476
|
+
expected: "(ShotboxEventGroup | ShotboxStreamGroup)",
|
|
27477
|
+
value: elem
|
|
27478
|
+
})).every(flag => flag) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _vu0(elem, _path + ".layout[" + _index7 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
27479
|
+
path: _path + ".layout[" + _index7 + "]",
|
|
27480
|
+
expected: "(Array<ShotboxGroup> | ShotboxEventGroup | ShotboxStreamGroup)",
|
|
27481
|
+
value: elem
|
|
27482
|
+
}) || _report(_exceptionable, {
|
|
27483
|
+
path: _path + ".layout[" + _index7 + "]",
|
|
27484
|
+
expected: "(Array<ShotboxGroup> | ShotboxEventGroup | ShotboxStreamGroup)",
|
|
27485
|
+
value: elem
|
|
27486
|
+
}))).every(flag => flag) || _report(_exceptionable, {
|
|
27487
|
+
path: _path + ".layout",
|
|
27488
|
+
expected: "(Array<ShotboxGroup | ShotboxGroup[]> | undefined)",
|
|
27489
|
+
value: input.layout
|
|
27490
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
27491
|
+
if (["stickyTopRow", "inferGroups", "layout"].some(prop => key === prop))
|
|
27492
|
+
return true;
|
|
27493
|
+
const value = input[key];
|
|
27494
|
+
if (undefined === value)
|
|
27495
|
+
return true;
|
|
27496
|
+
return _report(_exceptionable, {
|
|
27497
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
27498
|
+
expected: "undefined",
|
|
27499
|
+
value: value,
|
|
27500
|
+
description: [
|
|
27501
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
27502
|
+
"",
|
|
27503
|
+
"Please remove the property next time."
|
|
27504
|
+
].join("\n")
|
|
27505
|
+
});
|
|
27506
|
+
}).every(flag => flag))].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
27507
|
+
path: _path + ".id",
|
|
27508
|
+
expected: "(string | undefined)",
|
|
27509
|
+
value: input.id
|
|
27510
|
+
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
27511
|
+
path: _path + ".title",
|
|
27512
|
+
expected: "(string | undefined)",
|
|
27513
|
+
value: input.title
|
|
27514
|
+
}), undefined === input.sticky || "boolean" === typeof input.sticky || _report(_exceptionable, {
|
|
27515
|
+
path: _path + ".sticky",
|
|
27516
|
+
expected: "(boolean | undefined)",
|
|
27517
|
+
value: input.sticky
|
|
27518
|
+
}), undefined === input.type || "trigger" === input.type || "toggle" === input.type || _report(_exceptionable, {
|
|
27519
|
+
path: _path + ".type",
|
|
27520
|
+
expected: "(\"toggle\" | \"trigger\" | undefined)",
|
|
27521
|
+
value: input.type
|
|
27522
|
+
}), undefined === input.width || "string" === typeof input.width || _report(_exceptionable, {
|
|
27523
|
+
path: _path + ".width",
|
|
27524
|
+
expected: "(string | undefined)",
|
|
27525
|
+
value: input.width
|
|
27526
|
+
}), undefined === input.include || (Array.isArray(input.include) || _report(_exceptionable, {
|
|
27527
|
+
path: _path + ".include",
|
|
27528
|
+
expected: "(Array<string> | undefined)",
|
|
27529
|
+
value: input.include
|
|
27530
|
+
})) && input.include.map((elem, _index9) => "string" === typeof elem || _report(_exceptionable, {
|
|
27531
|
+
path: _path + ".include[" + _index9 + "]",
|
|
27532
|
+
expected: "string",
|
|
27533
|
+
value: elem
|
|
27534
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
27535
|
+
path: _path + ".include",
|
|
27536
|
+
expected: "(Array<string> | undefined)",
|
|
27537
|
+
value: input.include
|
|
27538
|
+
}), undefined === input.exclude || (Array.isArray(input.exclude) || _report(_exceptionable, {
|
|
27539
|
+
path: _path + ".exclude",
|
|
27540
|
+
expected: "(Array<string> | undefined)",
|
|
27541
|
+
value: input.exclude
|
|
27542
|
+
})) && input.exclude.map((elem, _index10) => "string" === typeof elem || _report(_exceptionable, {
|
|
27543
|
+
path: _path + ".exclude[" + _index10 + "]",
|
|
27544
|
+
expected: "string",
|
|
27545
|
+
value: elem
|
|
27546
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
27547
|
+
path: _path + ".exclude",
|
|
27548
|
+
expected: "(Array<string> | undefined)",
|
|
27549
|
+
value: input.exclude
|
|
27550
|
+
}), undefined === input.states || ("object" === typeof input.states && null !== input.states || _report(_exceptionable, {
|
|
27551
|
+
path: _path + ".states",
|
|
27552
|
+
expected: "(__type | undefined)",
|
|
27553
|
+
value: input.states
|
|
27554
|
+
})) && _vo3(input.states, _path + ".states", true && _exceptionable) || _report(_exceptionable, {
|
|
27555
|
+
path: _path + ".states",
|
|
27556
|
+
expected: "(__type | undefined)",
|
|
27557
|
+
value: input.states
|
|
27558
|
+
}), undefined === input.flow || "column" === input.flow || "row" === input.flow || _report(_exceptionable, {
|
|
27559
|
+
path: _path + ".flow",
|
|
27560
|
+
expected: "(\"column\" | \"row\" | undefined)",
|
|
27561
|
+
value: input.flow
|
|
27562
|
+
}), undefined === input.minRows || "number" === typeof input.minRows || _report(_exceptionable, {
|
|
27563
|
+
path: _path + ".minRows",
|
|
27564
|
+
expected: "(number | undefined)",
|
|
27565
|
+
value: input.minRows
|
|
27566
|
+
}), undefined === input.maxRows || "number" === typeof input.maxRows || _report(_exceptionable, {
|
|
27567
|
+
path: _path + ".maxRows",
|
|
27568
|
+
expected: "(number | undefined)",
|
|
27569
|
+
value: input.maxRows
|
|
27570
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
27571
|
+
if (["id", "title", "sticky", "type", "width", "include", "exclude", "states", "flow", "minRows", "maxRows"].some(prop => key === prop))
|
|
27572
|
+
return true;
|
|
27573
|
+
const value = input[key];
|
|
27574
|
+
if (undefined === value)
|
|
27575
|
+
return true;
|
|
27576
|
+
return _report(_exceptionable, {
|
|
27577
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
27578
|
+
expected: "undefined",
|
|
27579
|
+
value: value,
|
|
27580
|
+
description: [
|
|
27581
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
27582
|
+
"",
|
|
27583
|
+
"Please remove the property next time."
|
|
27584
|
+
].join("\n")
|
|
27585
|
+
});
|
|
27586
|
+
}).every(flag => flag))].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => ["boolean" === typeof input.completed || _report(_exceptionable, {
|
|
27587
|
+
path: _path + ".completed",
|
|
27588
|
+
expected: "boolean",
|
|
27589
|
+
value: input.completed
|
|
27590
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
27591
|
+
if (["completed"].some(prop => key === prop))
|
|
27592
|
+
return true;
|
|
27593
|
+
const value = input[key];
|
|
27594
|
+
if (undefined === value)
|
|
27595
|
+
return true;
|
|
27596
|
+
return _report(_exceptionable, {
|
|
27597
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
27598
|
+
expected: "undefined",
|
|
27599
|
+
value: value,
|
|
27600
|
+
description: [
|
|
27601
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
27602
|
+
"",
|
|
27603
|
+
"Please remove the property next time."
|
|
27604
|
+
].join("\n")
|
|
27605
|
+
});
|
|
27606
|
+
}).every(flag => flag))].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => ["stream" === input.type || _report(_exceptionable, {
|
|
27607
|
+
path: _path + ".type",
|
|
27608
|
+
expected: "\"stream\"",
|
|
27609
|
+
value: input.type
|
|
27610
|
+
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
27611
|
+
path: _path + ".title",
|
|
27612
|
+
expected: "(string | undefined)",
|
|
27613
|
+
value: input.title
|
|
27614
|
+
}), undefined === input.width || "string" === typeof input.width || _report(_exceptionable, {
|
|
27615
|
+
path: _path + ".width",
|
|
27616
|
+
expected: "(string | undefined)",
|
|
27617
|
+
value: input.width
|
|
27618
|
+
}), undefined === input.source || "string" === typeof input.source || _report(_exceptionable, {
|
|
27619
|
+
path: _path + ".source",
|
|
27620
|
+
expected: "(string | undefined)",
|
|
27621
|
+
value: input.source
|
|
27622
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
27623
|
+
if (["type", "title", "width", "source"].some(prop => key === prop))
|
|
27624
|
+
return true;
|
|
27625
|
+
const value = input[key];
|
|
27626
|
+
if (undefined === value)
|
|
27627
|
+
return true;
|
|
27628
|
+
return _report(_exceptionable, {
|
|
27629
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
27630
|
+
expected: "undefined",
|
|
27631
|
+
value: value,
|
|
27632
|
+
description: [
|
|
27633
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
27634
|
+
"",
|
|
27635
|
+
"Please remove the property next time."
|
|
27636
|
+
].join("\n")
|
|
27637
|
+
});
|
|
27638
|
+
}).every(flag => flag))].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
27639
|
+
if ("stream" === input.type)
|
|
27640
|
+
return _vo4(input, _path, true && _exceptionable);
|
|
27641
|
+
else
|
|
27642
|
+
return _vo2(input, _path, true && _exceptionable);
|
|
27643
|
+
})(); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input, true); let errors; let _report; return input => {
|
|
27644
|
+
if (false === __is(input)) {
|
|
27645
|
+
errors = [];
|
|
27646
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
27647
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
27648
|
+
path: _path + "",
|
|
27649
|
+
expected: "ShotboxDomainRecord",
|
|
27650
|
+
value: input
|
|
27651
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
27652
|
+
path: _path + "",
|
|
27653
|
+
expected: "ShotboxDomainRecord",
|
|
27654
|
+
value: input
|
|
27655
|
+
}))(input, "$input", true);
|
|
27656
|
+
const success = 0 === errors.length;
|
|
27657
|
+
return success ? {
|
|
27658
|
+
success,
|
|
27659
|
+
data: input
|
|
27660
|
+
} : {
|
|
27661
|
+
success,
|
|
27662
|
+
errors,
|
|
27663
|
+
data: input
|
|
27664
|
+
};
|
|
27665
|
+
}
|
|
27666
|
+
return {
|
|
27667
|
+
success: true,
|
|
27668
|
+
data: input
|
|
27669
|
+
};
|
|
27670
|
+
}; })()(input);
|
|
27671
|
+
}
|
|
26471
27672
|
case ":storyboard": {
|
|
26472
27673
|
return (() => { const _io0 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
26473
27674
|
const value = input[key];
|