@nxtedition/types 23.0.57 → 23.0.58
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 +11 -0
- package/dist/nxtpression.d.ts +177 -10
- 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/search.d.ts +24 -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 +871 -180
- package/dist/records/validate/assert.js +878 -180
- package/dist/records/validate/is.js +37 -11
- package/dist/records/validate/schemas.js +615 -64
- package/dist/records/validate/stringify.js +71 -40
- package/dist/records/validate/utils.js +1 -1
- package/dist/records/validate/validate-equals.js +1291 -278
- package/dist/records/validate/validate.js +833 -169
- 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, {
|
|
15392
15761
|
path: _path + ".oneOf",
|
|
15393
|
-
expected: "(Array<
|
|
15762
|
+
expected: "(Array<__type> | undefined)",
|
|
15394
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, {
|
|
15773
|
+
path: _path + ".oneOf",
|
|
15774
|
+
expected: "(Array<__type> | undefined)",
|
|
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 _vo8 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context && false === Array.isArray(input.__context) || _report(_exceptionable, {
|
|
15568
|
-
path: _path + ".__context",
|
|
15569
|
-
expected: "object",
|
|
15570
|
-
value: input.__context
|
|
15571
|
-
})) && _vo9(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
15572
|
-
path: _path + ".__context",
|
|
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;
|
|
15585
|
-
return _report(_exceptionable, {
|
|
15586
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
15587
|
-
expected: "undefined",
|
|
15588
|
-
value: 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")
|
|
15594
|
-
});
|
|
15595
|
-
}).every(flag => flag))].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
15596
|
-
const value = input[key];
|
|
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
16004
|
}).every(flag => flag))].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
15610
16005
|
if (undefined !== input.type)
|
|
15611
|
-
return
|
|
16006
|
+
return _vo7(input, _path, true && _exceptionable);
|
|
15612
16007
|
else if (undefined !== input.property)
|
|
15613
|
-
return
|
|
16008
|
+
return _vo8(input, _path, true && _exceptionable);
|
|
15614
16009
|
else
|
|
15615
16010
|
return _report(_exceptionable, {
|
|
15616
16011
|
path: _path,
|
|
15617
16012
|
expected: "(PanelLayoutDivider | PanelLayoutItem)",
|
|
15618
16013
|
value: input
|
|
15619
16014
|
});
|
|
15620
|
-
})(); const _va0 = (input, _path, _exceptionable = true) => input.map((elem,
|
|
15621
|
-
path: _path + "[" +
|
|
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)",
|
|
20365
|
+
value: input.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)",
|
|
19970
20369
|
value: input.asset
|
|
19971
|
-
})) && input.asset.map((elem,
|
|
19972
|
-
path: _path + ".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)
|
|
@@ -23151,8 +23566,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23151
23566
|
}; })()(input);
|
|
23152
23567
|
}
|
|
23153
23568
|
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))
|
|
23569
|
+
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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23570
|
+
if (["type", "sort", "showDefault", "showDeleted", "showHidden", "view", "conditions", "visibleColumnKeys", "connectionId", "calendar", "refreshInterval", "color"].some(prop => key === prop))
|
|
23156
23571
|
return true;
|
|
23157
23572
|
const value = input[key];
|
|
23158
23573
|
if (undefined === value)
|
|
@@ -23163,20 +23578,34 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23163
23578
|
if (undefined === value)
|
|
23164
23579
|
return true;
|
|
23165
23580
|
return "asc" === value || "desc" === value;
|
|
23166
|
-
}); const
|
|
23581
|
+
}); 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 => {
|
|
23582
|
+
if (["field", "type", "op", "value"].some(prop => key === prop))
|
|
23583
|
+
return true;
|
|
23584
|
+
const value = input[key];
|
|
23585
|
+
if (undefined === value)
|
|
23586
|
+
return true;
|
|
23587
|
+
return false;
|
|
23588
|
+
})); 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 => {
|
|
23589
|
+
if (["view", "dateAccessor", "agenda"].some(prop => key === prop))
|
|
23590
|
+
return true;
|
|
23591
|
+
const value = input[key];
|
|
23592
|
+
if (undefined === value)
|
|
23593
|
+
return true;
|
|
23594
|
+
return false;
|
|
23595
|
+
})); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.type || "conditions_and" === input.type || "conditions_or" === input.type || _report(_exceptionable, {
|
|
23167
23596
|
path: _path + ".type",
|
|
23168
|
-
expected: "(\"conditions_and\" | undefined)",
|
|
23597
|
+
expected: "(\"conditions_and\" | \"conditions_or\" | undefined)",
|
|
23169
23598
|
value: input.type
|
|
23170
23599
|
}), undefined === input.sort || (Array.isArray(input.sort) || _report(_exceptionable, {
|
|
23171
23600
|
path: _path + ".sort",
|
|
23172
23601
|
expected: "(Array<__type> | undefined)",
|
|
23173
23602
|
value: input.sort
|
|
23174
|
-
})) && input.sort.map((elem,
|
|
23175
|
-
path: _path + ".sort[" +
|
|
23603
|
+
})) && input.sort.map((elem, _index4) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
23604
|
+
path: _path + ".sort[" + _index4 + "]",
|
|
23176
23605
|
expected: "__type",
|
|
23177
23606
|
value: elem
|
|
23178
|
-
})) && _vo1(elem, _path + ".sort[" +
|
|
23179
|
-
path: _path + ".sort[" +
|
|
23607
|
+
})) && _vo1(elem, _path + ".sort[" + _index4 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
23608
|
+
path: _path + ".sort[" + _index4 + "]",
|
|
23180
23609
|
expected: "__type",
|
|
23181
23610
|
value: elem
|
|
23182
23611
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -23195,20 +23624,32 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23195
23624
|
path: _path + ".showHidden",
|
|
23196
23625
|
expected: "(boolean | undefined)",
|
|
23197
23626
|
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, {
|
|
23627
|
+
}), 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
23628
|
path: _path + ".view",
|
|
23200
|
-
expected: "(\"AGENDA_VIEW\" | \"CALENDAR_VIEW\" | \"GRID_VIEW\" | \"LIST_VIEW\" | \"MAP_VIEW\" | \"RESOURCE_VIEW\" | undefined)",
|
|
23629
|
+
expected: "(\"AGENDA_VIEW\" | \"CALENDAR_VIEW\" | \"GRID_VIEW\" | \"LIST_VIEW\" | \"MAP_VIEW\" | \"RESOURCE_VIEW\" | null | undefined)",
|
|
23201
23630
|
value: input.view
|
|
23202
|
-
}), undefined === input.conditions || Array.isArray(input.conditions) || _report(_exceptionable, {
|
|
23631
|
+
}), undefined === input.conditions || (Array.isArray(input.conditions) || _report(_exceptionable, {
|
|
23632
|
+
path: _path + ".conditions",
|
|
23633
|
+
expected: "(Array<SearchCondition> | undefined)",
|
|
23634
|
+
value: input.conditions
|
|
23635
|
+
})) && input.conditions.map((elem, _index5) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
23636
|
+
path: _path + ".conditions[" + _index5 + "]",
|
|
23637
|
+
expected: "SearchCondition",
|
|
23638
|
+
value: elem
|
|
23639
|
+
})) && _vo2(elem, _path + ".conditions[" + _index5 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
23640
|
+
path: _path + ".conditions[" + _index5 + "]",
|
|
23641
|
+
expected: "SearchCondition",
|
|
23642
|
+
value: elem
|
|
23643
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
23203
23644
|
path: _path + ".conditions",
|
|
23204
|
-
expected: "(Array<
|
|
23645
|
+
expected: "(Array<SearchCondition> | undefined)",
|
|
23205
23646
|
value: input.conditions
|
|
23206
23647
|
}), null === input.visibleColumnKeys || undefined === input.visibleColumnKeys || (Array.isArray(input.visibleColumnKeys) || _report(_exceptionable, {
|
|
23207
23648
|
path: _path + ".visibleColumnKeys",
|
|
23208
23649
|
expected: "(Array<string> | null | undefined)",
|
|
23209
23650
|
value: input.visibleColumnKeys
|
|
23210
|
-
})) && input.visibleColumnKeys.map((elem,
|
|
23211
|
-
path: _path + ".visibleColumnKeys[" +
|
|
23651
|
+
})) && input.visibleColumnKeys.map((elem, _index6) => "string" === typeof elem || _report(_exceptionable, {
|
|
23652
|
+
path: _path + ".visibleColumnKeys[" + _index6 + "]",
|
|
23212
23653
|
expected: "string",
|
|
23213
23654
|
value: elem
|
|
23214
23655
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -23219,8 +23660,24 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23219
23660
|
path: _path + ".connectionId",
|
|
23220
23661
|
expected: "(null | string | undefined)",
|
|
23221
23662
|
value: input.connectionId
|
|
23663
|
+
}), undefined === input.calendar || ("object" === typeof input.calendar && null !== input.calendar && false === Array.isArray(input.calendar) || _report(_exceptionable, {
|
|
23664
|
+
path: _path + ".calendar",
|
|
23665
|
+
expected: "(__type.o1 | undefined)",
|
|
23666
|
+
value: input.calendar
|
|
23667
|
+
})) && _vo3(input.calendar, _path + ".calendar", true && _exceptionable) || _report(_exceptionable, {
|
|
23668
|
+
path: _path + ".calendar",
|
|
23669
|
+
expected: "(__type.o1 | undefined)",
|
|
23670
|
+
value: input.calendar
|
|
23671
|
+
}), undefined === input.refreshInterval || "number" === typeof input.refreshInterval || _report(_exceptionable, {
|
|
23672
|
+
path: _path + ".refreshInterval",
|
|
23673
|
+
expected: "(number | undefined)",
|
|
23674
|
+
value: input.refreshInterval
|
|
23675
|
+
}), undefined === input.color || "string" === typeof input.color || _report(_exceptionable, {
|
|
23676
|
+
path: _path + ".color",
|
|
23677
|
+
expected: "(string | undefined)",
|
|
23678
|
+
value: input.color
|
|
23222
23679
|
}), 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))
|
|
23680
|
+
if (["type", "sort", "showDefault", "showDeleted", "showHidden", "view", "conditions", "visibleColumnKeys", "connectionId", "calendar", "refreshInterval", "color"].some(prop => key === prop))
|
|
23224
23681
|
return true;
|
|
23225
23682
|
const value = input[key];
|
|
23226
23683
|
if (undefined === value)
|
|
@@ -23244,7 +23701,63 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23244
23701
|
expected: "(\"asc\" | \"desc\")",
|
|
23245
23702
|
value: value
|
|
23246
23703
|
});
|
|
23247
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
23704
|
+
}).every(flag => flag)].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.field || "string" === typeof input.field || _report(_exceptionable, {
|
|
23705
|
+
path: _path + ".field",
|
|
23706
|
+
expected: "(string | undefined)",
|
|
23707
|
+
value: input.field
|
|
23708
|
+
}), undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
23709
|
+
path: _path + ".type",
|
|
23710
|
+
expected: "(string | undefined)",
|
|
23711
|
+
value: input.type
|
|
23712
|
+
}), undefined === input.op || "string" === typeof input.op || _report(_exceptionable, {
|
|
23713
|
+
path: _path + ".op",
|
|
23714
|
+
expected: "(string | undefined)",
|
|
23715
|
+
value: input.op
|
|
23716
|
+
}), true, 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
23717
|
+
if (["field", "type", "op", "value"].some(prop => key === prop))
|
|
23718
|
+
return true;
|
|
23719
|
+
const value = input[key];
|
|
23720
|
+
if (undefined === value)
|
|
23721
|
+
return true;
|
|
23722
|
+
return _report(_exceptionable, {
|
|
23723
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
23724
|
+
expected: "undefined",
|
|
23725
|
+
value: value,
|
|
23726
|
+
description: [
|
|
23727
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
23728
|
+
"",
|
|
23729
|
+
"Please remove the property next time."
|
|
23730
|
+
].join("\n")
|
|
23731
|
+
});
|
|
23732
|
+
}).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, {
|
|
23733
|
+
path: _path + ".view",
|
|
23734
|
+
expected: "(\"day\" | \"month\" | \"week\" | \"work_week\" | null | undefined)",
|
|
23735
|
+
value: input.view
|
|
23736
|
+
}), null === input.dateAccessor || undefined === input.dateAccessor || "string" === typeof input.dateAccessor || _report(_exceptionable, {
|
|
23737
|
+
path: _path + ".dateAccessor",
|
|
23738
|
+
expected: "(null | string | undefined)",
|
|
23739
|
+
value: input.dateAccessor
|
|
23740
|
+
}), undefined === input.agenda || "boolean" === typeof input.agenda || _report(_exceptionable, {
|
|
23741
|
+
path: _path + ".agenda",
|
|
23742
|
+
expected: "(boolean | undefined)",
|
|
23743
|
+
value: input.agenda
|
|
23744
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
23745
|
+
if (["view", "dateAccessor", "agenda"].some(prop => key === prop))
|
|
23746
|
+
return true;
|
|
23747
|
+
const value = input[key];
|
|
23748
|
+
if (undefined === value)
|
|
23749
|
+
return true;
|
|
23750
|
+
return _report(_exceptionable, {
|
|
23751
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
23752
|
+
expected: "undefined",
|
|
23753
|
+
value: value,
|
|
23754
|
+
description: [
|
|
23755
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
23756
|
+
"",
|
|
23757
|
+
"Please remove the property next time."
|
|
23758
|
+
].join("\n")
|
|
23759
|
+
});
|
|
23760
|
+
}).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
23761
|
if (false === __is(input)) {
|
|
23249
23762
|
errors = [];
|
|
23250
23763
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
@@ -23274,16 +23787,16 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23274
23787
|
}; })()(input);
|
|
23275
23788
|
}
|
|
23276
23789
|
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) && (
|
|
23790
|
+
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
23791
|
if (["hits", "total", "relation", "error"].some(prop => key === prop))
|
|
23279
23792
|
return true;
|
|
23280
23793
|
const value = input[key];
|
|
23281
23794
|
if (undefined === value)
|
|
23282
23795
|
return true;
|
|
23283
23796
|
return false;
|
|
23284
|
-
})); const _vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.hits) || _report(_exceptionable, {
|
|
23797
|
+
})); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.hits || (Array.isArray(input.hits) || _report(_exceptionable, {
|
|
23285
23798
|
path: _path + ".hits",
|
|
23286
|
-
expected: "Array<string>",
|
|
23799
|
+
expected: "(Array<string> | undefined)",
|
|
23287
23800
|
value: input.hits
|
|
23288
23801
|
})) && input.hits.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
|
|
23289
23802
|
path: _path + ".hits[" + _index2 + "]",
|
|
@@ -23291,7 +23804,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23291
23804
|
value: elem
|
|
23292
23805
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
23293
23806
|
path: _path + ".hits",
|
|
23294
|
-
expected: "Array<string>",
|
|
23807
|
+
expected: "(Array<string> | undefined)",
|
|
23295
23808
|
value: input.hits
|
|
23296
23809
|
}), undefined === input.total || "number" === typeof input.total || _report(_exceptionable, {
|
|
23297
23810
|
path: _path + ".total",
|
|
@@ -23305,7 +23818,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23305
23818
|
path: _path + ".error",
|
|
23306
23819
|
expected: "(string | undefined)",
|
|
23307
23820
|
value: input.error
|
|
23308
|
-
}),
|
|
23821
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
23309
23822
|
if (["hits", "total", "relation", "error"].some(prop => key === prop))
|
|
23310
23823
|
return true;
|
|
23311
23824
|
const value = input[key];
|
|
@@ -23321,17 +23834,147 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23321
23834
|
"Please remove the property next time."
|
|
23322
23835
|
].join("\n")
|
|
23323
23836
|
});
|
|
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 => {
|
|
23837
|
+
}).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 => {
|
|
23838
|
+
if (false === __is(input)) {
|
|
23839
|
+
errors = [];
|
|
23840
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
23841
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
23842
|
+
path: _path + "",
|
|
23843
|
+
expected: "SearchRecordProvided",
|
|
23844
|
+
value: input
|
|
23845
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
23846
|
+
path: _path + "",
|
|
23847
|
+
expected: "SearchRecordProvided",
|
|
23848
|
+
value: input
|
|
23849
|
+
}))(input, "$input", true);
|
|
23850
|
+
const success = 0 === errors.length;
|
|
23851
|
+
return success ? {
|
|
23852
|
+
success,
|
|
23853
|
+
data: input
|
|
23854
|
+
} : {
|
|
23855
|
+
success,
|
|
23856
|
+
errors,
|
|
23857
|
+
data: input
|
|
23858
|
+
};
|
|
23859
|
+
}
|
|
23860
|
+
return {
|
|
23861
|
+
success: true,
|
|
23862
|
+
data: input
|
|
23863
|
+
};
|
|
23864
|
+
}; })()(input);
|
|
23865
|
+
}
|
|
23866
|
+
case ":search.conditions": {
|
|
23867
|
+
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 => {
|
|
23868
|
+
if (["value"].some(prop => key === prop))
|
|
23869
|
+
return true;
|
|
23870
|
+
const value = input[key];
|
|
23871
|
+
if (undefined === value)
|
|
23872
|
+
return true;
|
|
23873
|
+
return false;
|
|
23874
|
+
})); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.value || (Array.isArray(input.value) || _report(_exceptionable, {
|
|
23875
|
+
path: _path + ".value",
|
|
23876
|
+
expected: "(Array<string> | undefined)",
|
|
23877
|
+
value: input.value
|
|
23878
|
+
})) && input.value.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
|
|
23879
|
+
path: _path + ".value[" + _index2 + "]",
|
|
23880
|
+
expected: "string",
|
|
23881
|
+
value: elem
|
|
23882
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
23883
|
+
path: _path + ".value",
|
|
23884
|
+
expected: "(Array<string> | undefined)",
|
|
23885
|
+
value: input.value
|
|
23886
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
23887
|
+
if (["value"].some(prop => key === prop))
|
|
23888
|
+
return true;
|
|
23889
|
+
const value = input[key];
|
|
23890
|
+
if (undefined === value)
|
|
23891
|
+
return true;
|
|
23892
|
+
return _report(_exceptionable, {
|
|
23893
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
23894
|
+
expected: "undefined",
|
|
23895
|
+
value: value,
|
|
23896
|
+
description: [
|
|
23897
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
23898
|
+
"",
|
|
23899
|
+
"Please remove the property next time."
|
|
23900
|
+
].join("\n")
|
|
23901
|
+
});
|
|
23902
|
+
}).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 => {
|
|
23903
|
+
if (false === __is(input)) {
|
|
23904
|
+
errors = [];
|
|
23905
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
23906
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
23907
|
+
path: _path + "",
|
|
23908
|
+
expected: "SearchDomainConditionsRecord",
|
|
23909
|
+
value: input
|
|
23910
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
23911
|
+
path: _path + "",
|
|
23912
|
+
expected: "SearchDomainConditionsRecord",
|
|
23913
|
+
value: input
|
|
23914
|
+
}))(input, "$input", true);
|
|
23915
|
+
const success = 0 === errors.length;
|
|
23916
|
+
return success ? {
|
|
23917
|
+
success,
|
|
23918
|
+
data: input
|
|
23919
|
+
} : {
|
|
23920
|
+
success,
|
|
23921
|
+
errors,
|
|
23922
|
+
data: input
|
|
23923
|
+
};
|
|
23924
|
+
}
|
|
23925
|
+
return {
|
|
23926
|
+
success: true,
|
|
23927
|
+
data: input
|
|
23928
|
+
};
|
|
23929
|
+
}; })()(input);
|
|
23930
|
+
}
|
|
23931
|
+
case ":search.visibleColumnKeys": {
|
|
23932
|
+
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 => {
|
|
23933
|
+
if (["value"].some(prop => key === prop))
|
|
23934
|
+
return true;
|
|
23935
|
+
const value = input[key];
|
|
23936
|
+
if (undefined === value)
|
|
23937
|
+
return true;
|
|
23938
|
+
return false;
|
|
23939
|
+
})); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.value || (Array.isArray(input.value) || _report(_exceptionable, {
|
|
23940
|
+
path: _path + ".value",
|
|
23941
|
+
expected: "(Array<string> | undefined)",
|
|
23942
|
+
value: input.value
|
|
23943
|
+
})) && input.value.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
|
|
23944
|
+
path: _path + ".value[" + _index2 + "]",
|
|
23945
|
+
expected: "string",
|
|
23946
|
+
value: elem
|
|
23947
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
23948
|
+
path: _path + ".value",
|
|
23949
|
+
expected: "(Array<string> | undefined)",
|
|
23950
|
+
value: input.value
|
|
23951
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
23952
|
+
if (["value"].some(prop => key === prop))
|
|
23953
|
+
return true;
|
|
23954
|
+
const value = input[key];
|
|
23955
|
+
if (undefined === value)
|
|
23956
|
+
return true;
|
|
23957
|
+
return _report(_exceptionable, {
|
|
23958
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
23959
|
+
expected: "undefined",
|
|
23960
|
+
value: value,
|
|
23961
|
+
description: [
|
|
23962
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
23963
|
+
"",
|
|
23964
|
+
"Please remove the property next time."
|
|
23965
|
+
].join("\n")
|
|
23966
|
+
});
|
|
23967
|
+
}).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
23968
|
if (false === __is(input)) {
|
|
23326
23969
|
errors = [];
|
|
23327
23970
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
23328
|
-
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
23971
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
23329
23972
|
path: _path + "",
|
|
23330
|
-
expected: "
|
|
23973
|
+
expected: "SearchDomainVisibleColumnKeysRecord",
|
|
23331
23974
|
value: input
|
|
23332
23975
|
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
23333
23976
|
path: _path + "",
|
|
23334
|
-
expected: "
|
|
23977
|
+
expected: "SearchDomainVisibleColumnKeysRecord",
|
|
23335
23978
|
value: input
|
|
23336
23979
|
}))(input, "$input", true);
|
|
23337
23980
|
const success = 0 === errors.length;
|
|
@@ -23351,8 +23994,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23351
23994
|
}; })()(input);
|
|
23352
23995
|
}
|
|
23353
23996
|
case ":settings": {
|
|
23354
|
-
return (() => { const _iv21 = 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 _iv25 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]); const
|
|
23355
|
-
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))
|
|
23997
|
+
return (() => { const _iv21 = 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 _iv25 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]); const _vv52 = 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 _vv56 = 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) && _io19(input.script, true && _exceptionable)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io24(input.events, true && _exceptionable)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && _io27(input.rundown, true && _exceptionable)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && _io28(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) && _io29(input.keymap, true && _exceptionable)) && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && _io42(input.media, true && _exceptionable)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && _io55(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) && _io57(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) && _io58(input.storyboard, true && _exceptionable)) && (undefined === input.print || "object" === typeof input.print && null !== input.print && false === Array.isArray(input.print) && _io67(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) && _io68(elem, true && _exceptionable))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && _io69(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) && _io72(input.featurePreview, true && _exceptionable)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && _io73(input.flags, true && _exceptionable)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && _io74(input.notifications, true && _exceptionable)) && (undefined === input.suppressDeleteAlert || "boolean" === typeof input.suppressDeleteAlert) && (undefined === input.utilsAssetEditorPanel || "object" === typeof input.utilsAssetEditorPanel && null !== input.utilsAssetEditorPanel && false === Array.isArray(input.utilsAssetEditorPanel) && _io77(input.utilsAssetEditorPanel, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23998
|
+
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", "utilsAssetEditorPanel"].some(prop => key === prop))
|
|
23356
23999
|
return true;
|
|
23357
24000
|
const value = input[key];
|
|
23358
24001
|
if (undefined === value)
|
|
@@ -23787,8 +24430,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23787
24430
|
if (undefined === value)
|
|
23788
24431
|
return true;
|
|
23789
24432
|
return false;
|
|
23790
|
-
})); const _io66 = (input, _exceptionable = true) => (undefined === input.maxHeight || "number" === typeof input.maxHeight) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23791
|
-
if (["maxHeight"].some(prop => key === prop))
|
|
24433
|
+
})); const _io66 = (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 => {
|
|
24434
|
+
if (["maxHeight", "titleLines"].some(prop => key === prop))
|
|
23792
24435
|
return true;
|
|
23793
24436
|
const value = input[key];
|
|
23794
24437
|
if (undefined === value)
|
|
@@ -23836,8 +24479,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23836
24479
|
if (undefined === value)
|
|
23837
24480
|
return true;
|
|
23838
24481
|
return false;
|
|
23839
|
-
})); const _io73 = (input, _exceptionable = true) => (undefined === input.utils || "boolean" === typeof input.utils) && (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 => {
|
|
23840
|
-
if (["utils", "history", "refs", "access", "files", "export", "json", "hlsjs", "resetRenders", "resetReplicas", "assetStatus", "consolidateMedia", "hideInAssetMenu", "assetRoute", "devWarnings", "multiplexWebSockets", "systemHealth"].some(prop => key === prop))
|
|
24482
|
+
})); const _io73 = (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 => {
|
|
24483
|
+
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
24484
|
return true;
|
|
23842
24485
|
const value = input[key];
|
|
23843
24486
|
if (undefined === value)
|
|
@@ -23862,7 +24505,14 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23862
24505
|
if (undefined === value)
|
|
23863
24506
|
return true;
|
|
23864
24507
|
return Array.isArray(value) && value.every((elem, _index30) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem);
|
|
23865
|
-
}); const
|
|
24508
|
+
}); const _io77 = (input, _exceptionable = true) => (undefined === input.stateFilter || Array.isArray(input.stateFilter) && input.stateFilter.every((elem, _index31) => "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 => {
|
|
24509
|
+
if (["stateFilter", "textFilter", "showEmpty", "selectedRecord", "subscribeSearchHits", "parseRegex"].some(prop => key === prop))
|
|
24510
|
+
return true;
|
|
24511
|
+
const value = input[key];
|
|
24512
|
+
if (undefined === value)
|
|
24513
|
+
return true;
|
|
24514
|
+
return false;
|
|
24515
|
+
})); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime || _report(_exceptionable, {
|
|
23866
24516
|
path: _path + ".autoLogoutTime",
|
|
23867
24517
|
expected: "(number | undefined)",
|
|
23868
24518
|
value: input.autoLogoutTime
|
|
@@ -23918,16 +24568,16 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23918
24568
|
path: _path + ".exclusiveTagGroups",
|
|
23919
24569
|
expected: "(Array<Array<string>> | undefined)",
|
|
23920
24570
|
value: input.exclusiveTagGroups
|
|
23921
|
-
})) && input.exclusiveTagGroups.map((elem,
|
|
23922
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
24571
|
+
})) && input.exclusiveTagGroups.map((elem, _index32) => (Array.isArray(elem) || _report(_exceptionable, {
|
|
24572
|
+
path: _path + ".exclusiveTagGroups[" + _index32 + "]",
|
|
23923
24573
|
expected: "Array<string>",
|
|
23924
24574
|
value: elem
|
|
23925
|
-
})) && elem.map((elem,
|
|
23926
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
24575
|
+
})) && elem.map((elem, _index33) => "string" === typeof elem || _report(_exceptionable, {
|
|
24576
|
+
path: _path + ".exclusiveTagGroups[" + _index32 + "][" + _index33 + "]",
|
|
23927
24577
|
expected: "string",
|
|
23928
24578
|
value: elem
|
|
23929
24579
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
23930
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
24580
|
+
path: _path + ".exclusiveTagGroups[" + _index32 + "]",
|
|
23931
24581
|
expected: "Array<string>",
|
|
23932
24582
|
value: elem
|
|
23933
24583
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -24046,12 +24696,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24046
24696
|
path: _path + ".commands",
|
|
24047
24697
|
expected: "(Array<__type>.o4 | undefined)",
|
|
24048
24698
|
value: input.commands
|
|
24049
|
-
})) && input.commands.map((elem,
|
|
24050
|
-
path: _path + ".commands[" +
|
|
24699
|
+
})) && input.commands.map((elem, _index34) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
24700
|
+
path: _path + ".commands[" + _index34 + "]",
|
|
24051
24701
|
expected: "__type.o50",
|
|
24052
24702
|
value: elem
|
|
24053
|
-
})) && _vo57(elem, _path + ".commands[" +
|
|
24054
|
-
path: _path + ".commands[" +
|
|
24703
|
+
})) && _vo57(elem, _path + ".commands[" + _index34 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
24704
|
+
path: _path + ".commands[" + _index34 + "]",
|
|
24055
24705
|
expected: "__type.o50",
|
|
24056
24706
|
value: elem
|
|
24057
24707
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -24062,8 +24712,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24062
24712
|
path: _path + ".predefinedTags",
|
|
24063
24713
|
expected: "(Array<string> | undefined)",
|
|
24064
24714
|
value: input.predefinedTags
|
|
24065
|
-
})) && input.predefinedTags.map((elem,
|
|
24066
|
-
path: _path + ".predefinedTags[" +
|
|
24715
|
+
})) && input.predefinedTags.map((elem, _index35) => "string" === typeof elem || _report(_exceptionable, {
|
|
24716
|
+
path: _path + ".predefinedTags[" + _index35 + "]",
|
|
24067
24717
|
expected: "string",
|
|
24068
24718
|
value: elem
|
|
24069
24719
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -24090,12 +24740,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24090
24740
|
path: _path + ".hiddenPreviews",
|
|
24091
24741
|
expected: "(Array<__type>.o5 | undefined)",
|
|
24092
24742
|
value: input.hiddenPreviews
|
|
24093
|
-
})) && input.hiddenPreviews.map((elem,
|
|
24094
|
-
path: _path + ".hiddenPreviews[" +
|
|
24743
|
+
})) && input.hiddenPreviews.map((elem, _index36) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
24744
|
+
path: _path + ".hiddenPreviews[" + _index36 + "]",
|
|
24095
24745
|
expected: "__type.o61",
|
|
24096
24746
|
value: elem
|
|
24097
|
-
})) && _vo68(elem, _path + ".hiddenPreviews[" +
|
|
24098
|
-
path: _path + ".hiddenPreviews[" +
|
|
24747
|
+
})) && _vo68(elem, _path + ".hiddenPreviews[" + _index36 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
24748
|
+
path: _path + ".hiddenPreviews[" + _index36 + "]",
|
|
24099
24749
|
expected: "__type.o61",
|
|
24100
24750
|
value: elem
|
|
24101
24751
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -24146,8 +24796,16 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24146
24796
|
path: _path + ".suppressDeleteAlert",
|
|
24147
24797
|
expected: "(boolean | undefined)",
|
|
24148
24798
|
value: input.suppressDeleteAlert
|
|
24799
|
+
}), undefined === input.utilsAssetEditorPanel || ("object" === typeof input.utilsAssetEditorPanel && null !== input.utilsAssetEditorPanel && false === Array.isArray(input.utilsAssetEditorPanel) || _report(_exceptionable, {
|
|
24800
|
+
path: _path + ".utilsAssetEditorPanel",
|
|
24801
|
+
expected: "(__type.o70 | undefined)",
|
|
24802
|
+
value: input.utilsAssetEditorPanel
|
|
24803
|
+
})) && _vo77(input.utilsAssetEditorPanel, _path + ".utilsAssetEditorPanel", true && _exceptionable) || _report(_exceptionable, {
|
|
24804
|
+
path: _path + ".utilsAssetEditorPanel",
|
|
24805
|
+
expected: "(__type.o70 | undefined)",
|
|
24806
|
+
value: input.utilsAssetEditorPanel
|
|
24149
24807
|
}), 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))
|
|
24808
|
+
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", "utilsAssetEditorPanel"].some(prop => key === prop))
|
|
24151
24809
|
return true;
|
|
24152
24810
|
const value = input[key];
|
|
24153
24811
|
if (undefined === value)
|
|
@@ -24421,8 +25079,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24421
25079
|
path: _path + ".sortOrder",
|
|
24422
25080
|
expected: "(Array<string> | undefined)",
|
|
24423
25081
|
value: input.sortOrder
|
|
24424
|
-
})) && input.sortOrder.map((elem,
|
|
24425
|
-
path: _path + ".sortOrder[" +
|
|
25082
|
+
})) && input.sortOrder.map((elem, _index37) => "string" === typeof elem || _report(_exceptionable, {
|
|
25083
|
+
path: _path + ".sortOrder[" + _index37 + "]",
|
|
24426
25084
|
expected: "string",
|
|
24427
25085
|
value: elem
|
|
24428
25086
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -24449,8 +25107,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24449
25107
|
path: _path + ".exclude",
|
|
24450
25108
|
expected: "(Array<string> | undefined)",
|
|
24451
25109
|
value: input.exclude
|
|
24452
|
-
})) && input.exclude.map((elem,
|
|
24453
|
-
path: _path + ".exclude[" +
|
|
25110
|
+
})) && input.exclude.map((elem, _index38) => "string" === typeof elem || _report(_exceptionable, {
|
|
25111
|
+
path: _path + ".exclude[" + _index38 + "]",
|
|
24454
25112
|
expected: "string",
|
|
24455
25113
|
value: elem
|
|
24456
25114
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -24477,8 +25135,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24477
25135
|
path: _path + ".include",
|
|
24478
25136
|
expected: "(Array<string> | undefined)",
|
|
24479
25137
|
value: input.include
|
|
24480
|
-
})) && input.include.map((elem,
|
|
24481
|
-
path: _path + ".include[" +
|
|
25138
|
+
})) && input.include.map((elem, _index39) => "string" === typeof elem || _report(_exceptionable, {
|
|
25139
|
+
path: _path + ".include[" + _index39 + "]",
|
|
24482
25140
|
expected: "string",
|
|
24483
25141
|
value: elem
|
|
24484
25142
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -24489,8 +25147,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24489
25147
|
path: _path + ".exclude",
|
|
24490
25148
|
expected: "(Array<string> | undefined)",
|
|
24491
25149
|
value: input.exclude
|
|
24492
|
-
})) && input.exclude.map((elem,
|
|
24493
|
-
path: _path + ".exclude[" +
|
|
25150
|
+
})) && input.exclude.map((elem, _index40) => "string" === typeof elem || _report(_exceptionable, {
|
|
25151
|
+
path: _path + ".exclude[" + _index40 + "]",
|
|
24494
25152
|
expected: "string",
|
|
24495
25153
|
value: elem
|
|
24496
25154
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -24517,8 +25175,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24517
25175
|
path: _path + ".include",
|
|
24518
25176
|
expected: "(Array<string> | undefined)",
|
|
24519
25177
|
value: input.include
|
|
24520
|
-
})) && input.include.map((elem,
|
|
24521
|
-
path: _path + ".include[" +
|
|
25178
|
+
})) && input.include.map((elem, _index41) => "string" === typeof elem || _report(_exceptionable, {
|
|
25179
|
+
path: _path + ".include[" + _index41 + "]",
|
|
24522
25180
|
expected: "string",
|
|
24523
25181
|
value: elem
|
|
24524
25182
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -24529,8 +25187,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24529
25187
|
path: _path + ".exclude",
|
|
24530
25188
|
expected: "(Array<string> | undefined)",
|
|
24531
25189
|
value: input.exclude
|
|
24532
|
-
})) && input.exclude.map((elem,
|
|
24533
|
-
path: _path + ".exclude[" +
|
|
25190
|
+
})) && input.exclude.map((elem, _index42) => "string" === typeof elem || _report(_exceptionable, {
|
|
25191
|
+
path: _path + ".exclude[" + _index42 + "]",
|
|
24534
25192
|
expected: "string",
|
|
24535
25193
|
value: elem
|
|
24536
25194
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -24557,8 +25215,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24557
25215
|
path: _path + ".include",
|
|
24558
25216
|
expected: "(Array<string> | undefined)",
|
|
24559
25217
|
value: input.include
|
|
24560
|
-
})) && input.include.map((elem,
|
|
24561
|
-
path: _path + ".include[" +
|
|
25218
|
+
})) && input.include.map((elem, _index43) => "string" === typeof elem || _report(_exceptionable, {
|
|
25219
|
+
path: _path + ".include[" + _index43 + "]",
|
|
24562
25220
|
expected: "string",
|
|
24563
25221
|
value: elem
|
|
24564
25222
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -24569,8 +25227,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24569
25227
|
path: _path + ".exclude",
|
|
24570
25228
|
expected: "(Array<string> | undefined)",
|
|
24571
25229
|
value: input.exclude
|
|
24572
|
-
})) && input.exclude.map((elem,
|
|
24573
|
-
path: _path + ".exclude[" +
|
|
25230
|
+
})) && input.exclude.map((elem, _index44) => "string" === typeof elem || _report(_exceptionable, {
|
|
25231
|
+
path: _path + ".exclude[" + _index44 + "]",
|
|
24574
25232
|
expected: "string",
|
|
24575
25233
|
value: elem
|
|
24576
25234
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -24697,12 +25355,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24697
25355
|
path: _path + ".colorTags",
|
|
24698
25356
|
expected: "(Array<PromotedTag> | undefined)",
|
|
24699
25357
|
value: input.colorTags
|
|
24700
|
-
})) && input.colorTags.map((elem,
|
|
24701
|
-
path: _path + ".colorTags[" +
|
|
25358
|
+
})) && input.colorTags.map((elem, _index45) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
25359
|
+
path: _path + ".colorTags[" + _index45 + "]",
|
|
24702
25360
|
expected: "PromotedTag",
|
|
24703
25361
|
value: elem
|
|
24704
|
-
})) && _vo21(elem, _path + ".colorTags[" +
|
|
24705
|
-
path: _path + ".colorTags[" +
|
|
25362
|
+
})) && _vo21(elem, _path + ".colorTags[" + _index45 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
25363
|
+
path: _path + ".colorTags[" + _index45 + "]",
|
|
24706
25364
|
expected: "PromotedTag",
|
|
24707
25365
|
value: elem
|
|
24708
25366
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -24842,8 +25500,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24842
25500
|
path: _path + ".favorites",
|
|
24843
25501
|
expected: "(Array<string> | undefined)",
|
|
24844
25502
|
value: input.favorites
|
|
24845
|
-
})) && input.favorites.map((elem,
|
|
24846
|
-
path: _path + ".favorites[" +
|
|
25503
|
+
})) && input.favorites.map((elem, _index46) => "string" === typeof elem || _report(_exceptionable, {
|
|
25504
|
+
path: _path + ".favorites[" + _index46 + "]",
|
|
24847
25505
|
expected: "string",
|
|
24848
25506
|
value: elem
|
|
24849
25507
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -25286,8 +25944,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25286
25944
|
path: _path + ".playbackRates",
|
|
25287
25945
|
expected: "(Array<number> | undefined)",
|
|
25288
25946
|
value: input.playbackRates
|
|
25289
|
-
})) && input.playbackRates.map((elem,
|
|
25290
|
-
path: _path + ".playbackRates[" +
|
|
25947
|
+
})) && input.playbackRates.map((elem, _index47) => "number" === typeof elem || _report(_exceptionable, {
|
|
25948
|
+
path: _path + ".playbackRates[" + _index47 + "]",
|
|
25291
25949
|
expected: "number",
|
|
25292
25950
|
value: elem
|
|
25293
25951
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -25314,12 +25972,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25314
25972
|
path: _path + ".guides",
|
|
25315
25973
|
expected: "(Array<__type>.o2 | undefined)",
|
|
25316
25974
|
value: input.guides
|
|
25317
|
-
})) && input.guides.map((elem,
|
|
25318
|
-
path: _path + ".guides[" +
|
|
25975
|
+
})) && input.guides.map((elem, _index48) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
25976
|
+
path: _path + ".guides[" + _index48 + "]",
|
|
25319
25977
|
expected: "__type.o41",
|
|
25320
25978
|
value: elem
|
|
25321
|
-
})) && _vo48(elem, _path + ".guides[" +
|
|
25322
|
-
path: _path + ".guides[" +
|
|
25979
|
+
})) && _vo48(elem, _path + ".guides[" + _index48 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
25980
|
+
path: _path + ".guides[" + _index48 + "]",
|
|
25323
25981
|
expected: "__type.o41",
|
|
25324
25982
|
value: elem
|
|
25325
25983
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -25438,12 +26096,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25438
26096
|
path: _path + ".suggestions",
|
|
25439
26097
|
expected: "(Array<__type> | undefined)",
|
|
25440
26098
|
value: input.suggestions
|
|
25441
|
-
})) && input.suggestions.map((elem,
|
|
25442
|
-
path: _path + ".suggestions[" +
|
|
26099
|
+
})) && input.suggestions.map((elem, _index49) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
26100
|
+
path: _path + ".suggestions[" + _index49 + "]",
|
|
25443
26101
|
expected: "__type.o39",
|
|
25444
26102
|
value: elem
|
|
25445
|
-
})) && _vo46(elem, _path + ".suggestions[" +
|
|
25446
|
-
path: _path + ".suggestions[" +
|
|
26103
|
+
})) && _vo46(elem, _path + ".suggestions[" + _index49 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
26104
|
+
path: _path + ".suggestions[" + _index49 + "]",
|
|
25447
26105
|
expected: "__type.o39",
|
|
25448
26106
|
value: elem
|
|
25449
26107
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -25454,12 +26112,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25454
26112
|
path: _path + ".colors",
|
|
25455
26113
|
expected: "(Array<__type>.o1 | undefined)",
|
|
25456
26114
|
value: input.colors
|
|
25457
|
-
})) && input.colors.map((elem,
|
|
25458
|
-
path: _path + ".colors[" +
|
|
26115
|
+
})) && input.colors.map((elem, _index50) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
26116
|
+
path: _path + ".colors[" + _index50 + "]",
|
|
25459
26117
|
expected: "__type.o40",
|
|
25460
26118
|
value: elem
|
|
25461
|
-
})) && _vo47(elem, _path + ".colors[" +
|
|
25462
|
-
path: _path + ".colors[" +
|
|
26119
|
+
})) && _vo47(elem, _path + ".colors[" + _index50 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
26120
|
+
path: _path + ".colors[" + _index50 + "]",
|
|
25463
26121
|
expected: "__type.o40",
|
|
25464
26122
|
value: elem
|
|
25465
26123
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -25470,8 +26128,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25470
26128
|
path: _path + ".overridableProperties",
|
|
25471
26129
|
expected: "(Array<keyof SubtitleStyle | null> | undefined)",
|
|
25472
26130
|
value: input.overridableProperties
|
|
25473
|
-
})) && input.overridableProperties.map((elem,
|
|
25474
|
-
path: _path + ".overridableProperties[" +
|
|
26131
|
+
})) && input.overridableProperties.map((elem, _index51) => null === elem || true === _vv52.has(elem) || _report(_exceptionable, {
|
|
26132
|
+
path: _path + ".overridableProperties[" + _index51 + "]",
|
|
25475
26133
|
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
26134
|
value: elem
|
|
25477
26135
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -25662,12 +26320,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25662
26320
|
path: _path + ".text",
|
|
25663
26321
|
expected: "(Array<__type>.o3 | undefined)",
|
|
25664
26322
|
value: input.text
|
|
25665
|
-
})) && input.text.map((elem,
|
|
25666
|
-
path: _path + ".text[" +
|
|
26323
|
+
})) && input.text.map((elem, _index53) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
26324
|
+
path: _path + ".text[" + _index53 + "]",
|
|
25667
26325
|
expected: "__type.o46",
|
|
25668
26326
|
value: elem
|
|
25669
|
-
})) && _vo53(elem, _path + ".text[" +
|
|
25670
|
-
path: _path + ".text[" +
|
|
26327
|
+
})) && _vo53(elem, _path + ".text[" + _index53 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
26328
|
+
path: _path + ".text[" + _index53 + "]",
|
|
25671
26329
|
expected: "__type.o46",
|
|
25672
26330
|
value: elem
|
|
25673
26331
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -25738,8 +26396,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25738
26396
|
path: _path + ".args",
|
|
25739
26397
|
expected: "(Array<string> | undefined)",
|
|
25740
26398
|
value: input.args
|
|
25741
|
-
})) && input.args.map((elem,
|
|
25742
|
-
path: _path + ".args[" +
|
|
26399
|
+
})) && input.args.map((elem, _index54) => "string" === typeof elem || _report(_exceptionable, {
|
|
26400
|
+
path: _path + ".args[" + _index54 + "]",
|
|
25743
26401
|
expected: "string",
|
|
25744
26402
|
value: elem
|
|
25745
26403
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -25838,8 +26496,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25838
26496
|
path: _path + ".args",
|
|
25839
26497
|
expected: "(Array<string> | undefined)",
|
|
25840
26498
|
value: input.args
|
|
25841
|
-
})) && input.args.map((elem,
|
|
25842
|
-
path: _path + ".args[" +
|
|
26499
|
+
})) && input.args.map((elem, _index55) => "string" === typeof elem || _report(_exceptionable, {
|
|
26500
|
+
path: _path + ".args[" + _index55 + "]",
|
|
25843
26501
|
expected: "string",
|
|
25844
26502
|
value: elem
|
|
25845
26503
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -26042,7 +26700,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26042
26700
|
path: _path + ".search",
|
|
26043
26701
|
expected: "(__type.o58 | undefined)",
|
|
26044
26702
|
value: input.search
|
|
26045
|
-
}), undefined === input.sortMode || true ===
|
|
26703
|
+
}), undefined === input.sortMode || true === _vv56.has(input.sortMode) || _report(_exceptionable, {
|
|
26046
26704
|
path: _path + ".sortMode",
|
|
26047
26705
|
expected: "(\"az\" | \"default\" | \"earliestdeadline\" | \"latestdeadline\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
|
|
26048
26706
|
value: input.sortMode
|
|
@@ -26086,8 +26744,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26086
26744
|
path: _path + ".maxHeight",
|
|
26087
26745
|
expected: "(number | undefined)",
|
|
26088
26746
|
value: input.maxHeight
|
|
26747
|
+
}), undefined === input.titleLines || "number" === typeof input.titleLines || _report(_exceptionable, {
|
|
26748
|
+
path: _path + ".titleLines",
|
|
26749
|
+
expected: "(number | undefined)",
|
|
26750
|
+
value: input.titleLines
|
|
26089
26751
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
26090
|
-
if (["maxHeight"].some(prop => key === prop))
|
|
26752
|
+
if (["maxHeight", "titleLines"].some(prop => key === prop))
|
|
26091
26753
|
return true;
|
|
26092
26754
|
const value = input[key];
|
|
26093
26755
|
if (undefined === value)
|
|
@@ -26106,8 +26768,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26106
26768
|
path: _path + ".fontFamilies",
|
|
26107
26769
|
expected: "(Array<string> | undefined)",
|
|
26108
26770
|
value: input.fontFamilies
|
|
26109
|
-
})) && input.fontFamilies.map((elem,
|
|
26110
|
-
path: _path + ".fontFamilies[" +
|
|
26771
|
+
})) && input.fontFamilies.map((elem, _index57) => "string" === typeof elem || _report(_exceptionable, {
|
|
26772
|
+
path: _path + ".fontFamilies[" + _index57 + "]",
|
|
26111
26773
|
expected: "string",
|
|
26112
26774
|
value: elem
|
|
26113
26775
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -26258,6 +26920,14 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26258
26920
|
path: _path + ".utils",
|
|
26259
26921
|
expected: "(boolean | undefined)",
|
|
26260
26922
|
value: input.utils
|
|
26923
|
+
}), undefined === input.utilsAssetEditor || "boolean" === typeof input.utilsAssetEditor || _report(_exceptionable, {
|
|
26924
|
+
path: _path + ".utilsAssetEditor",
|
|
26925
|
+
expected: "(boolean | undefined)",
|
|
26926
|
+
value: input.utilsAssetEditor
|
|
26927
|
+
}), undefined === input.utilsAssetPanel || "boolean" === typeof input.utilsAssetPanel || _report(_exceptionable, {
|
|
26928
|
+
path: _path + ".utilsAssetPanel",
|
|
26929
|
+
expected: "(boolean | undefined)",
|
|
26930
|
+
value: input.utilsAssetPanel
|
|
26261
26931
|
}), undefined === input.history || "boolean" === typeof input.history || _report(_exceptionable, {
|
|
26262
26932
|
path: _path + ".history",
|
|
26263
26933
|
expected: "(boolean | undefined)",
|
|
@@ -26323,7 +26993,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26323
26993
|
expected: "(boolean | undefined)",
|
|
26324
26994
|
value: input.systemHealth
|
|
26325
26995
|
}), 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))
|
|
26996
|
+
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
26997
|
return true;
|
|
26328
26998
|
const value = input[key];
|
|
26329
26999
|
if (undefined === value)
|
|
@@ -26366,8 +27036,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26366
27036
|
path: _path + ".comment",
|
|
26367
27037
|
expected: "(Array<NotificationReason> | undefined)",
|
|
26368
27038
|
value: input.comment
|
|
26369
|
-
})) && input.comment.map((elem,
|
|
26370
|
-
path: _path + ".comment[" +
|
|
27039
|
+
})) && input.comment.map((elem, _index58) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
27040
|
+
path: _path + ".comment[" + _index58 + "]",
|
|
26371
27041
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
26372
27042
|
value: elem
|
|
26373
27043
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -26378,8 +27048,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26378
27048
|
path: _path + ".assigned",
|
|
26379
27049
|
expected: "(Array<NotificationReason> | undefined)",
|
|
26380
27050
|
value: input.assigned
|
|
26381
|
-
})) && input.assigned.map((elem,
|
|
26382
|
-
path: _path + ".assigned[" +
|
|
27051
|
+
})) && input.assigned.map((elem, _index59) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
27052
|
+
path: _path + ".assigned[" + _index59 + "]",
|
|
26383
27053
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
26384
27054
|
value: elem
|
|
26385
27055
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -26390,8 +27060,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26390
27060
|
path: _path + ".unassigned",
|
|
26391
27061
|
expected: "(Array<NotificationReason> | undefined)",
|
|
26392
27062
|
value: input.unassigned
|
|
26393
|
-
})) && input.unassigned.map((elem,
|
|
26394
|
-
path: _path + ".unassigned[" +
|
|
27063
|
+
})) && input.unassigned.map((elem, _index60) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
27064
|
+
path: _path + ".unassigned[" + _index60 + "]",
|
|
26395
27065
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
26396
27066
|
value: elem
|
|
26397
27067
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -26430,8 +27100,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26430
27100
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
26431
27101
|
expected: "Array<NotificationReason>",
|
|
26432
27102
|
value: value
|
|
26433
|
-
})) && value.map((elem,
|
|
26434
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" +
|
|
27103
|
+
})) && value.map((elem, _index61) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
27104
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index61 + "]",
|
|
26435
27105
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
26436
27106
|
value: elem
|
|
26437
27107
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -26439,7 +27109,55 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26439
27109
|
expected: "Array<NotificationReason>",
|
|
26440
27110
|
value: value
|
|
26441
27111
|
});
|
|
26442
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
27112
|
+
}).every(flag => flag)].every(flag => flag); const _vo77 = (input, _path, _exceptionable = true) => [undefined === input.stateFilter || (Array.isArray(input.stateFilter) || _report(_exceptionable, {
|
|
27113
|
+
path: _path + ".stateFilter",
|
|
27114
|
+
expected: "(Array<number> | undefined)",
|
|
27115
|
+
value: input.stateFilter
|
|
27116
|
+
})) && input.stateFilter.map((elem, _index62) => "number" === typeof elem || _report(_exceptionable, {
|
|
27117
|
+
path: _path + ".stateFilter[" + _index62 + "]",
|
|
27118
|
+
expected: "number",
|
|
27119
|
+
value: elem
|
|
27120
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
27121
|
+
path: _path + ".stateFilter",
|
|
27122
|
+
expected: "(Array<number> | undefined)",
|
|
27123
|
+
value: input.stateFilter
|
|
27124
|
+
}), undefined === input.textFilter || "string" === typeof input.textFilter || _report(_exceptionable, {
|
|
27125
|
+
path: _path + ".textFilter",
|
|
27126
|
+
expected: "(string | undefined)",
|
|
27127
|
+
value: input.textFilter
|
|
27128
|
+
}), undefined === input.showEmpty || "boolean" === typeof input.showEmpty || _report(_exceptionable, {
|
|
27129
|
+
path: _path + ".showEmpty",
|
|
27130
|
+
expected: "(boolean | undefined)",
|
|
27131
|
+
value: input.showEmpty
|
|
27132
|
+
}), undefined === input.selectedRecord || "string" === typeof input.selectedRecord || _report(_exceptionable, {
|
|
27133
|
+
path: _path + ".selectedRecord",
|
|
27134
|
+
expected: "(string | undefined)",
|
|
27135
|
+
value: input.selectedRecord
|
|
27136
|
+
}), undefined === input.subscribeSearchHits || "boolean" === typeof input.subscribeSearchHits || _report(_exceptionable, {
|
|
27137
|
+
path: _path + ".subscribeSearchHits",
|
|
27138
|
+
expected: "(boolean | undefined)",
|
|
27139
|
+
value: input.subscribeSearchHits
|
|
27140
|
+
}), undefined === input.parseRegex || "boolean" === typeof input.parseRegex || _report(_exceptionable, {
|
|
27141
|
+
path: _path + ".parseRegex",
|
|
27142
|
+
expected: "(boolean | undefined)",
|
|
27143
|
+
value: input.parseRegex
|
|
27144
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
27145
|
+
if (["stateFilter", "textFilter", "showEmpty", "selectedRecord", "subscribeSearchHits", "parseRegex"].some(prop => key === prop))
|
|
27146
|
+
return true;
|
|
27147
|
+
const value = input[key];
|
|
27148
|
+
if (undefined === value)
|
|
27149
|
+
return true;
|
|
27150
|
+
return _report(_exceptionable, {
|
|
27151
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
27152
|
+
expected: "undefined",
|
|
27153
|
+
value: value,
|
|
27154
|
+
description: [
|
|
27155
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
27156
|
+
"",
|
|
27157
|
+
"Please remove the property next time."
|
|
27158
|
+
].join("\n")
|
|
27159
|
+
});
|
|
27160
|
+
}).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
27161
|
if (false === __is(input)) {
|
|
26444
27162
|
errors = [];
|
|
26445
27163
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
@@ -26468,6 +27186,301 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26468
27186
|
};
|
|
26469
27187
|
}; })()(input);
|
|
26470
27188
|
}
|
|
27189
|
+
case ":shotbox": {
|
|
27190
|
+
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 => {
|
|
27191
|
+
if (["pages"].some(prop => key === prop))
|
|
27192
|
+
return true;
|
|
27193
|
+
const value = input[key];
|
|
27194
|
+
if (undefined === value)
|
|
27195
|
+
return true;
|
|
27196
|
+
return false;
|
|
27197
|
+
})); 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 => {
|
|
27198
|
+
if (["stickyTopRow", "inferGroups", "layout"].some(prop => key === prop))
|
|
27199
|
+
return true;
|
|
27200
|
+
const value = input[key];
|
|
27201
|
+
if (undefined === value)
|
|
27202
|
+
return true;
|
|
27203
|
+
return false;
|
|
27204
|
+
})); 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 => {
|
|
27205
|
+
if (["id", "title", "sticky", "type", "width", "include", "exclude", "states", "flow", "minRows", "maxRows"].some(prop => key === prop))
|
|
27206
|
+
return true;
|
|
27207
|
+
const value = input[key];
|
|
27208
|
+
if (undefined === value)
|
|
27209
|
+
return true;
|
|
27210
|
+
return false;
|
|
27211
|
+
})); const _io3 = (input, _exceptionable = true) => "boolean" === typeof input.completed && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
27212
|
+
if (["completed"].some(prop => key === prop))
|
|
27213
|
+
return true;
|
|
27214
|
+
const value = input[key];
|
|
27215
|
+
if (undefined === value)
|
|
27216
|
+
return true;
|
|
27217
|
+
return false;
|
|
27218
|
+
})); 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 => {
|
|
27219
|
+
if (["type", "title", "width", "source"].some(prop => key === prop))
|
|
27220
|
+
return true;
|
|
27221
|
+
const value = input[key];
|
|
27222
|
+
if (undefined === value)
|
|
27223
|
+
return true;
|
|
27224
|
+
return false;
|
|
27225
|
+
})); const _iu0 = (input, _exceptionable = true) => (() => {
|
|
27226
|
+
if ("stream" === input.type)
|
|
27227
|
+
return _io4(input, true && _exceptionable);
|
|
27228
|
+
else
|
|
27229
|
+
return _io2(input, true && _exceptionable);
|
|
27230
|
+
})(); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.pages || (Array.isArray(input.pages) || _report(_exceptionable, {
|
|
27231
|
+
path: _path + ".pages",
|
|
27232
|
+
expected: "(Array<ShotboxPage> | undefined)",
|
|
27233
|
+
value: input.pages
|
|
27234
|
+
})) && input.pages.map((elem, _index6) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
27235
|
+
path: _path + ".pages[" + _index6 + "]",
|
|
27236
|
+
expected: "ShotboxPage",
|
|
27237
|
+
value: elem
|
|
27238
|
+
})) && _vo1(elem, _path + ".pages[" + _index6 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
27239
|
+
path: _path + ".pages[" + _index6 + "]",
|
|
27240
|
+
expected: "ShotboxPage",
|
|
27241
|
+
value: elem
|
|
27242
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
27243
|
+
path: _path + ".pages",
|
|
27244
|
+
expected: "(Array<ShotboxPage> | undefined)",
|
|
27245
|
+
value: input.pages
|
|
27246
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
27247
|
+
if (["pages"].some(prop => key === prop))
|
|
27248
|
+
return true;
|
|
27249
|
+
const value = input[key];
|
|
27250
|
+
if (undefined === value)
|
|
27251
|
+
return true;
|
|
27252
|
+
return _report(_exceptionable, {
|
|
27253
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
27254
|
+
expected: "undefined",
|
|
27255
|
+
value: value,
|
|
27256
|
+
description: [
|
|
27257
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
27258
|
+
"",
|
|
27259
|
+
"Please remove the property next time."
|
|
27260
|
+
].join("\n")
|
|
27261
|
+
});
|
|
27262
|
+
}).every(flag => flag))].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [undefined === input.stickyTopRow || "boolean" === typeof input.stickyTopRow || _report(_exceptionable, {
|
|
27263
|
+
path: _path + ".stickyTopRow",
|
|
27264
|
+
expected: "(boolean | undefined)",
|
|
27265
|
+
value: input.stickyTopRow
|
|
27266
|
+
}), undefined === input.inferGroups || "boolean" === typeof input.inferGroups || _report(_exceptionable, {
|
|
27267
|
+
path: _path + ".inferGroups",
|
|
27268
|
+
expected: "(boolean | undefined)",
|
|
27269
|
+
value: input.inferGroups
|
|
27270
|
+
}), undefined === input.layout || (Array.isArray(input.layout) || _report(_exceptionable, {
|
|
27271
|
+
path: _path + ".layout",
|
|
27272
|
+
expected: "(Array<ShotboxGroup | ShotboxGroup[]> | undefined)",
|
|
27273
|
+
value: input.layout
|
|
27274
|
+
})) && input.layout.map((elem, _index7) => (null !== elem || _report(_exceptionable, {
|
|
27275
|
+
path: _path + ".layout[" + _index7 + "]",
|
|
27276
|
+
expected: "(Array<ShotboxGroup> | ShotboxEventGroup | ShotboxStreamGroup)",
|
|
27277
|
+
value: elem
|
|
27278
|
+
})) && (undefined !== elem || _report(_exceptionable, {
|
|
27279
|
+
path: _path + ".layout[" + _index7 + "]",
|
|
27280
|
+
expected: "(Array<ShotboxGroup> | ShotboxEventGroup | ShotboxStreamGroup)",
|
|
27281
|
+
value: elem
|
|
27282
|
+
})) && (Array.isArray(elem) && elem.map((elem, _index8) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
27283
|
+
path: _path + ".layout[" + _index7 + "][" + _index8 + "]",
|
|
27284
|
+
expected: "(ShotboxEventGroup | ShotboxStreamGroup)",
|
|
27285
|
+
value: elem
|
|
27286
|
+
})) && _vu0(elem, _path + ".layout[" + _index7 + "][" + _index8 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
27287
|
+
path: _path + ".layout[" + _index7 + "][" + _index8 + "]",
|
|
27288
|
+
expected: "(ShotboxEventGroup | ShotboxStreamGroup)",
|
|
27289
|
+
value: elem
|
|
27290
|
+
})).every(flag => flag) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _vu0(elem, _path + ".layout[" + _index7 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
27291
|
+
path: _path + ".layout[" + _index7 + "]",
|
|
27292
|
+
expected: "(Array<ShotboxGroup> | ShotboxEventGroup | ShotboxStreamGroup)",
|
|
27293
|
+
value: elem
|
|
27294
|
+
}) || _report(_exceptionable, {
|
|
27295
|
+
path: _path + ".layout[" + _index7 + "]",
|
|
27296
|
+
expected: "(Array<ShotboxGroup> | ShotboxEventGroup | ShotboxStreamGroup)",
|
|
27297
|
+
value: elem
|
|
27298
|
+
}))).every(flag => flag) || _report(_exceptionable, {
|
|
27299
|
+
path: _path + ".layout",
|
|
27300
|
+
expected: "(Array<ShotboxGroup | ShotboxGroup[]> | undefined)",
|
|
27301
|
+
value: input.layout
|
|
27302
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
27303
|
+
if (["stickyTopRow", "inferGroups", "layout"].some(prop => key === prop))
|
|
27304
|
+
return true;
|
|
27305
|
+
const value = input[key];
|
|
27306
|
+
if (undefined === value)
|
|
27307
|
+
return true;
|
|
27308
|
+
return _report(_exceptionable, {
|
|
27309
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
27310
|
+
expected: "undefined",
|
|
27311
|
+
value: value,
|
|
27312
|
+
description: [
|
|
27313
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
27314
|
+
"",
|
|
27315
|
+
"Please remove the property next time."
|
|
27316
|
+
].join("\n")
|
|
27317
|
+
});
|
|
27318
|
+
}).every(flag => flag))].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
27319
|
+
path: _path + ".id",
|
|
27320
|
+
expected: "(string | undefined)",
|
|
27321
|
+
value: input.id
|
|
27322
|
+
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
27323
|
+
path: _path + ".title",
|
|
27324
|
+
expected: "(string | undefined)",
|
|
27325
|
+
value: input.title
|
|
27326
|
+
}), undefined === input.sticky || "boolean" === typeof input.sticky || _report(_exceptionable, {
|
|
27327
|
+
path: _path + ".sticky",
|
|
27328
|
+
expected: "(boolean | undefined)",
|
|
27329
|
+
value: input.sticky
|
|
27330
|
+
}), undefined === input.type || "trigger" === input.type || "toggle" === input.type || _report(_exceptionable, {
|
|
27331
|
+
path: _path + ".type",
|
|
27332
|
+
expected: "(\"toggle\" | \"trigger\" | undefined)",
|
|
27333
|
+
value: input.type
|
|
27334
|
+
}), undefined === input.width || "string" === typeof input.width || _report(_exceptionable, {
|
|
27335
|
+
path: _path + ".width",
|
|
27336
|
+
expected: "(string | undefined)",
|
|
27337
|
+
value: input.width
|
|
27338
|
+
}), undefined === input.include || (Array.isArray(input.include) || _report(_exceptionable, {
|
|
27339
|
+
path: _path + ".include",
|
|
27340
|
+
expected: "(Array<string> | undefined)",
|
|
27341
|
+
value: input.include
|
|
27342
|
+
})) && input.include.map((elem, _index9) => "string" === typeof elem || _report(_exceptionable, {
|
|
27343
|
+
path: _path + ".include[" + _index9 + "]",
|
|
27344
|
+
expected: "string",
|
|
27345
|
+
value: elem
|
|
27346
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
27347
|
+
path: _path + ".include",
|
|
27348
|
+
expected: "(Array<string> | undefined)",
|
|
27349
|
+
value: input.include
|
|
27350
|
+
}), undefined === input.exclude || (Array.isArray(input.exclude) || _report(_exceptionable, {
|
|
27351
|
+
path: _path + ".exclude",
|
|
27352
|
+
expected: "(Array<string> | undefined)",
|
|
27353
|
+
value: input.exclude
|
|
27354
|
+
})) && input.exclude.map((elem, _index10) => "string" === typeof elem || _report(_exceptionable, {
|
|
27355
|
+
path: _path + ".exclude[" + _index10 + "]",
|
|
27356
|
+
expected: "string",
|
|
27357
|
+
value: elem
|
|
27358
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
27359
|
+
path: _path + ".exclude",
|
|
27360
|
+
expected: "(Array<string> | undefined)",
|
|
27361
|
+
value: input.exclude
|
|
27362
|
+
}), undefined === input.states || ("object" === typeof input.states && null !== input.states || _report(_exceptionable, {
|
|
27363
|
+
path: _path + ".states",
|
|
27364
|
+
expected: "(__type | undefined)",
|
|
27365
|
+
value: input.states
|
|
27366
|
+
})) && _vo3(input.states, _path + ".states", true && _exceptionable) || _report(_exceptionable, {
|
|
27367
|
+
path: _path + ".states",
|
|
27368
|
+
expected: "(__type | undefined)",
|
|
27369
|
+
value: input.states
|
|
27370
|
+
}), undefined === input.flow || "column" === input.flow || "row" === input.flow || _report(_exceptionable, {
|
|
27371
|
+
path: _path + ".flow",
|
|
27372
|
+
expected: "(\"column\" | \"row\" | undefined)",
|
|
27373
|
+
value: input.flow
|
|
27374
|
+
}), undefined === input.minRows || "number" === typeof input.minRows || _report(_exceptionable, {
|
|
27375
|
+
path: _path + ".minRows",
|
|
27376
|
+
expected: "(number | undefined)",
|
|
27377
|
+
value: input.minRows
|
|
27378
|
+
}), undefined === input.maxRows || "number" === typeof input.maxRows || _report(_exceptionable, {
|
|
27379
|
+
path: _path + ".maxRows",
|
|
27380
|
+
expected: "(number | undefined)",
|
|
27381
|
+
value: input.maxRows
|
|
27382
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
27383
|
+
if (["id", "title", "sticky", "type", "width", "include", "exclude", "states", "flow", "minRows", "maxRows"].some(prop => key === prop))
|
|
27384
|
+
return true;
|
|
27385
|
+
const value = input[key];
|
|
27386
|
+
if (undefined === value)
|
|
27387
|
+
return true;
|
|
27388
|
+
return _report(_exceptionable, {
|
|
27389
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
27390
|
+
expected: "undefined",
|
|
27391
|
+
value: value,
|
|
27392
|
+
description: [
|
|
27393
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
27394
|
+
"",
|
|
27395
|
+
"Please remove the property next time."
|
|
27396
|
+
].join("\n")
|
|
27397
|
+
});
|
|
27398
|
+
}).every(flag => flag))].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => ["boolean" === typeof input.completed || _report(_exceptionable, {
|
|
27399
|
+
path: _path + ".completed",
|
|
27400
|
+
expected: "boolean",
|
|
27401
|
+
value: input.completed
|
|
27402
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
27403
|
+
if (["completed"].some(prop => key === prop))
|
|
27404
|
+
return true;
|
|
27405
|
+
const value = input[key];
|
|
27406
|
+
if (undefined === value)
|
|
27407
|
+
return true;
|
|
27408
|
+
return _report(_exceptionable, {
|
|
27409
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
27410
|
+
expected: "undefined",
|
|
27411
|
+
value: value,
|
|
27412
|
+
description: [
|
|
27413
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
27414
|
+
"",
|
|
27415
|
+
"Please remove the property next time."
|
|
27416
|
+
].join("\n")
|
|
27417
|
+
});
|
|
27418
|
+
}).every(flag => flag))].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => ["stream" === input.type || _report(_exceptionable, {
|
|
27419
|
+
path: _path + ".type",
|
|
27420
|
+
expected: "\"stream\"",
|
|
27421
|
+
value: input.type
|
|
27422
|
+
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
27423
|
+
path: _path + ".title",
|
|
27424
|
+
expected: "(string | undefined)",
|
|
27425
|
+
value: input.title
|
|
27426
|
+
}), undefined === input.width || "string" === typeof input.width || _report(_exceptionable, {
|
|
27427
|
+
path: _path + ".width",
|
|
27428
|
+
expected: "(string | undefined)",
|
|
27429
|
+
value: input.width
|
|
27430
|
+
}), undefined === input.source || "string" === typeof input.source || _report(_exceptionable, {
|
|
27431
|
+
path: _path + ".source",
|
|
27432
|
+
expected: "(string | undefined)",
|
|
27433
|
+
value: input.source
|
|
27434
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
27435
|
+
if (["type", "title", "width", "source"].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 _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
27451
|
+
if ("stream" === input.type)
|
|
27452
|
+
return _vo4(input, _path, true && _exceptionable);
|
|
27453
|
+
else
|
|
27454
|
+
return _vo2(input, _path, true && _exceptionable);
|
|
27455
|
+
})(); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input, true); let errors; let _report; return input => {
|
|
27456
|
+
if (false === __is(input)) {
|
|
27457
|
+
errors = [];
|
|
27458
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
27459
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
27460
|
+
path: _path + "",
|
|
27461
|
+
expected: "ShotboxDomainRecord",
|
|
27462
|
+
value: input
|
|
27463
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
27464
|
+
path: _path + "",
|
|
27465
|
+
expected: "ShotboxDomainRecord",
|
|
27466
|
+
value: input
|
|
27467
|
+
}))(input, "$input", true);
|
|
27468
|
+
const success = 0 === errors.length;
|
|
27469
|
+
return success ? {
|
|
27470
|
+
success,
|
|
27471
|
+
data: input
|
|
27472
|
+
} : {
|
|
27473
|
+
success,
|
|
27474
|
+
errors,
|
|
27475
|
+
data: input
|
|
27476
|
+
};
|
|
27477
|
+
}
|
|
27478
|
+
return {
|
|
27479
|
+
success: true,
|
|
27480
|
+
data: input
|
|
27481
|
+
};
|
|
27482
|
+
}; })()(input);
|
|
27483
|
+
}
|
|
26471
27484
|
case ":storyboard": {
|
|
26472
27485
|
return (() => { const _io0 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
26473
27486
|
const value = input[key];
|