@nxtedition/types 23.0.55 → 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 +191 -18
- package/dist/records/domains/asset.d.ts +4 -0
- 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/publish/empty.d.ts +3 -3
- package/dist/records/domains/publish/facebook.d.ts +1 -1
- package/dist/records/domains/publish/file-legacy.d.ts +1 -1
- package/dist/records/domains/publish/file.d.ts +1 -1
- package/dist/records/domains/publish/index.d.ts +6 -2
- package/dist/records/domains/publish/youtube.d.ts +1 -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 +1077 -325
- package/dist/records/validate/assert.js +1080 -320
- package/dist/records/validate/is.js +57 -31
- package/dist/records/validate/schemas.js +709 -111
- package/dist/records/validate/stringify.js +102 -71
- package/dist/records/validate/utils.js +1 -1
- package/dist/records/validate/validate-equals.js +1563 -459
- package/dist/records/validate/validate.js +1018 -292
- package/dist/rpc.d.ts +4 -1
- package/package.json +1 -1
|
@@ -3604,6 +3604,71 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
3604
3604
|
};
|
|
3605
3605
|
}; })()(input);
|
|
3606
3606
|
}
|
|
3607
|
+
case ":asset.rawTypes?": {
|
|
3608
|
+
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 => {
|
|
3609
|
+
if (["value"].some(prop => key === prop))
|
|
3610
|
+
return true;
|
|
3611
|
+
const value = input[key];
|
|
3612
|
+
if (undefined === value)
|
|
3613
|
+
return true;
|
|
3614
|
+
return false;
|
|
3615
|
+
})); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.value || (Array.isArray(input.value) || _report(_exceptionable, {
|
|
3616
|
+
path: _path + ".value",
|
|
3617
|
+
expected: "(Array<string> | undefined)",
|
|
3618
|
+
value: input.value
|
|
3619
|
+
})) && input.value.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
|
|
3620
|
+
path: _path + ".value[" + _index2 + "]",
|
|
3621
|
+
expected: "string",
|
|
3622
|
+
value: elem
|
|
3623
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
3624
|
+
path: _path + ".value",
|
|
3625
|
+
expected: "(Array<string> | undefined)",
|
|
3626
|
+
value: input.value
|
|
3627
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
3628
|
+
if (["value"].some(prop => key === prop))
|
|
3629
|
+
return true;
|
|
3630
|
+
const value = input[key];
|
|
3631
|
+
if (undefined === value)
|
|
3632
|
+
return true;
|
|
3633
|
+
return _report(_exceptionable, {
|
|
3634
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
3635
|
+
expected: "undefined",
|
|
3636
|
+
value: value,
|
|
3637
|
+
description: [
|
|
3638
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
3639
|
+
"",
|
|
3640
|
+
"Please remove the property next time."
|
|
3641
|
+
].join("\n")
|
|
3642
|
+
});
|
|
3643
|
+
}).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 => {
|
|
3644
|
+
if (false === __is(input)) {
|
|
3645
|
+
errors = [];
|
|
3646
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
3647
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
3648
|
+
path: _path + "",
|
|
3649
|
+
expected: "AssetRawTypesProvidedRecord",
|
|
3650
|
+
value: input
|
|
3651
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
3652
|
+
path: _path + "",
|
|
3653
|
+
expected: "AssetRawTypesProvidedRecord",
|
|
3654
|
+
value: input
|
|
3655
|
+
}))(input, "$input", true);
|
|
3656
|
+
const success = 0 === errors.length;
|
|
3657
|
+
return success ? {
|
|
3658
|
+
success,
|
|
3659
|
+
data: input
|
|
3660
|
+
} : {
|
|
3661
|
+
success,
|
|
3662
|
+
errors,
|
|
3663
|
+
data: input
|
|
3664
|
+
};
|
|
3665
|
+
}
|
|
3666
|
+
return {
|
|
3667
|
+
success: true,
|
|
3668
|
+
data: input
|
|
3669
|
+
};
|
|
3670
|
+
}; })()(input);
|
|
3671
|
+
}
|
|
3607
3672
|
case ":asset.types?": {
|
|
3608
3673
|
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 => {
|
|
3609
3674
|
if (["value"].some(prop => key === prop))
|
|
@@ -5151,6 +5216,134 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
5151
5216
|
};
|
|
5152
5217
|
}; })()(input);
|
|
5153
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
|
+
}
|
|
5154
5347
|
case ":clone": {
|
|
5155
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 => {
|
|
5156
5349
|
if (["rules"].some(prop => key === prop))
|
|
@@ -6085,6 +6278,71 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
6085
6278
|
};
|
|
6086
6279
|
}; })()(input);
|
|
6087
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
|
+
}
|
|
6088
6346
|
case ":connection": {
|
|
6089
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 => {
|
|
6090
6348
|
if (["protocol", "host", "username", "password", "utf8", "timezone", "type", "port", "ignoreMissing", "concurrency", "stabilityThreshold", "pollInterval", "listConcurrency", "metafile", "userNotificationsEnabled"].some(prop => key === prop))
|
|
@@ -12601,56 +12859,254 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
12601
12859
|
};
|
|
12602
12860
|
}; })()(input);
|
|
12603
12861
|
}
|
|
12604
|
-
case ":
|
|
12605
|
-
return (() => { const _io0 = (input, _exceptionable = true) => (undefined === input.
|
|
12606
|
-
if (["
|
|
12607
|
-
return true;
|
|
12608
|
-
const value = input[key];
|
|
12609
|
-
if (undefined === value)
|
|
12610
|
-
return true;
|
|
12611
|
-
return false;
|
|
12612
|
-
})); const
|
|
12613
|
-
|
|
12614
|
-
|
|
12615
|
-
|
|
12616
|
-
|
|
12617
|
-
|
|
12618
|
-
|
|
12619
|
-
|
|
12620
|
-
|
|
12621
|
-
|
|
12622
|
-
|
|
12623
|
-
|
|
12624
|
-
|
|
12625
|
-
|
|
12626
|
-
|
|
12627
|
-
|
|
12628
|
-
|
|
12629
|
-
|
|
12630
|
-
|
|
12631
|
-
|
|
12632
|
-
|
|
12633
|
-
|
|
12634
|
-
|
|
12635
|
-
|
|
12636
|
-
|
|
12637
|
-
|
|
12638
|
-
|
|
12639
|
-
|
|
12640
|
-
|
|
12641
|
-
|
|
12642
|
-
|
|
12643
|
-
|
|
12644
|
-
|
|
12645
|
-
|
|
12646
|
-
|
|
12647
|
-
|
|
12648
|
-
|
|
12649
|
-
|
|
12650
|
-
|
|
12651
|
-
|
|
12652
|
-
|
|
12653
|
-
|
|
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))
|
|
12865
|
+
return true;
|
|
12866
|
+
const value = input[key];
|
|
12867
|
+
if (undefined === value)
|
|
12868
|
+
return true;
|
|
12869
|
+
return false;
|
|
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))
|
|
12946
|
+
return true;
|
|
12947
|
+
const value = input[key];
|
|
12948
|
+
if (undefined === value)
|
|
12949
|
+
return true;
|
|
12950
|
+
return false;
|
|
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))
|
|
12654
13110
|
return true;
|
|
12655
13111
|
const value = input[key];
|
|
12656
13112
|
if (undefined === value)
|
|
@@ -15121,7 +15577,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15121
15577
|
}; })()(input);
|
|
15122
15578
|
}
|
|
15123
15579
|
case ":panel": {
|
|
15124
|
-
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 => {
|
|
15125
15581
|
if (["title", "supports", "priority", "editorPriority", "properties", "layout", "filter", "expand"].some(prop => key === prop))
|
|
15126
15582
|
return true;
|
|
15127
15583
|
const value = input[key];
|
|
@@ -15133,8 +15589,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15133
15589
|
if (undefined === value)
|
|
15134
15590
|
return true;
|
|
15135
15591
|
return "object" === typeof value && null !== value && _io2(value, true && _exceptionable);
|
|
15136
|
-
}); 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 => {
|
|
15137
|
-
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))
|
|
15138
15594
|
return true;
|
|
15139
15595
|
const value = input[key];
|
|
15140
15596
|
if (undefined === value)
|
|
@@ -15147,54 +15603,56 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15147
15603
|
if (undefined === value)
|
|
15148
15604
|
return true;
|
|
15149
15605
|
return false;
|
|
15150
|
-
})); const _io4 = (input, _exceptionable = true) =>
|
|
15151
|
-
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))
|
|
15152
15608
|
return true;
|
|
15153
15609
|
const value = input[key];
|
|
15154
15610
|
if (undefined === value)
|
|
15155
15611
|
return true;
|
|
15156
15612
|
return false;
|
|
15157
|
-
})); const _io5 = (input, _exceptionable = true) =>
|
|
15158
|
-
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))
|
|
15159
15615
|
return true;
|
|
15160
15616
|
const value = input[key];
|
|
15161
15617
|
if (undefined === value)
|
|
15162
15618
|
return true;
|
|
15163
15619
|
return false;
|
|
15164
|
-
})); const _io6 = (input, _exceptionable = true) =>
|
|
15165
|
-
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))
|
|
15166
15622
|
return true;
|
|
15167
15623
|
const value = input[key];
|
|
15168
15624
|
if (undefined === value)
|
|
15169
15625
|
return true;
|
|
15170
15626
|
return false;
|
|
15171
|
-
})); const _io7 = (input, _exceptionable = true) =>
|
|
15172
|
-
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))
|
|
15173
15629
|
return true;
|
|
15174
15630
|
const value = input[key];
|
|
15175
15631
|
if (undefined === value)
|
|
15176
15632
|
return true;
|
|
15177
15633
|
return false;
|
|
15178
|
-
})); const _io8 = (input, _exceptionable = true) => "
|
|
15179
|
-
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))
|
|
15180
15636
|
return true;
|
|
15181
15637
|
const value = input[key];
|
|
15182
15638
|
if (undefined === value)
|
|
15183
15639
|
return true;
|
|
15184
15640
|
return false;
|
|
15185
|
-
})); 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;
|
|
15186
15644
|
const value = input[key];
|
|
15187
15645
|
if (undefined === value)
|
|
15188
15646
|
return true;
|
|
15189
15647
|
return false;
|
|
15190
|
-
}); const _iu0 = (input, _exceptionable = true) => (() => {
|
|
15648
|
+
})); const _iu0 = (input, _exceptionable = true) => (() => {
|
|
15191
15649
|
if (undefined !== input.type)
|
|
15192
|
-
return
|
|
15650
|
+
return _io7(input, true && _exceptionable);
|
|
15193
15651
|
else if (undefined !== input.property)
|
|
15194
|
-
return
|
|
15652
|
+
return _io8(input, true && _exceptionable);
|
|
15195
15653
|
else
|
|
15196
15654
|
return false;
|
|
15197
|
-
})(); 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, {
|
|
15198
15656
|
path: _path + ".title",
|
|
15199
15657
|
expected: "(string | undefined)",
|
|
15200
15658
|
value: input.title
|
|
@@ -15206,8 +15664,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15206
15664
|
path: _path + ".supports",
|
|
15207
15665
|
expected: "(Array<string> | string | undefined)",
|
|
15208
15666
|
value: input.supports
|
|
15209
|
-
})) && input.supports.map((elem,
|
|
15210
|
-
path: _path + ".supports[" +
|
|
15667
|
+
})) && input.supports.map((elem, _index5) => "string" === typeof elem || _report(_exceptionable, {
|
|
15668
|
+
path: _path + ".supports[" + _index5 + "]",
|
|
15211
15669
|
expected: "string",
|
|
15212
15670
|
value: elem
|
|
15213
15671
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15232,37 +15690,13 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15232
15690
|
value: input.properties
|
|
15233
15691
|
}), undefined === input.layout || ("object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) || _report(_exceptionable, {
|
|
15234
15692
|
path: _path + ".layout",
|
|
15235
|
-
expected: "(__type.
|
|
15693
|
+
expected: "(__type.o4 | undefined)",
|
|
15236
15694
|
value: input.layout
|
|
15237
|
-
})) &&
|
|
15695
|
+
})) && _vo6(input.layout, _path + ".layout", true && _exceptionable) || _report(_exceptionable, {
|
|
15238
15696
|
path: _path + ".layout",
|
|
15239
|
-
expected: "(__type.
|
|
15697
|
+
expected: "(__type.o4 | undefined)",
|
|
15240
15698
|
value: input.layout
|
|
15241
|
-
}),
|
|
15242
|
-
path: _path + ".filter",
|
|
15243
|
-
expected: "(__type.o3 | string | undefined)",
|
|
15244
|
-
value: input.filter
|
|
15245
|
-
})) && (undefined === input.filter || "string" === typeof input.filter || ("object" === typeof input.filter && null !== input.filter || _report(_exceptionable, {
|
|
15246
|
-
path: _path + ".filter",
|
|
15247
|
-
expected: "(__type.o3 | string | undefined)",
|
|
15248
|
-
value: input.filter
|
|
15249
|
-
})) && _vo8(input.filter, _path + ".filter", true && _exceptionable) || _report(_exceptionable, {
|
|
15250
|
-
path: _path + ".filter",
|
|
15251
|
-
expected: "(__type.o3 | string | undefined)",
|
|
15252
|
-
value: input.filter
|
|
15253
|
-
})), (null !== input.expand || _report(_exceptionable, {
|
|
15254
|
-
path: _path + ".expand",
|
|
15255
|
-
expected: "(__type.o3 | string | undefined)",
|
|
15256
|
-
value: input.expand
|
|
15257
|
-
})) && (undefined === input.expand || "string" === typeof input.expand || ("object" === typeof input.expand && null !== input.expand || _report(_exceptionable, {
|
|
15258
|
-
path: _path + ".expand",
|
|
15259
|
-
expected: "(__type.o3 | string | undefined)",
|
|
15260
|
-
value: input.expand
|
|
15261
|
-
})) && _vo8(input.expand, _path + ".expand", true && _exceptionable) || _report(_exceptionable, {
|
|
15262
|
-
path: _path + ".expand",
|
|
15263
|
-
expected: "(__type.o3 | string | undefined)",
|
|
15264
|
-
value: input.expand
|
|
15265
|
-
})), 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 => {
|
|
15266
15700
|
if (["title", "supports", "priority", "editorPriority", "properties", "layout", "filter", "expand"].some(prop => key === prop))
|
|
15267
15701
|
return true;
|
|
15268
15702
|
const value = input[key];
|
|
@@ -15323,12 +15757,40 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15323
15757
|
path: _path + ".required",
|
|
15324
15758
|
expected: "(boolean | undefined)",
|
|
15325
15759
|
value: input.required
|
|
15326
|
-
}), undefined === input.oneOf || Array.isArray(input.oneOf) || _report(_exceptionable, {
|
|
15760
|
+
}), undefined === input.oneOf || (Array.isArray(input.oneOf) || _report(_exceptionable, {
|
|
15327
15761
|
path: _path + ".oneOf",
|
|
15328
|
-
expected: "(Array<
|
|
15762
|
+
expected: "(Array<__type> | undefined)",
|
|
15329
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
|
|
15330
15792
|
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
15331
|
-
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))
|
|
15332
15794
|
return true;
|
|
15333
15795
|
const value = input[key];
|
|
15334
15796
|
if (undefined === value)
|
|
@@ -15367,7 +15829,47 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15367
15829
|
"Please remove the property next time."
|
|
15368
15830
|
].join("\n")
|
|
15369
15831
|
});
|
|
15370
|
-
}).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, {
|
|
15371
15873
|
path: _path + ".panel",
|
|
15372
15874
|
expected: "(Array<PanelLayout> | PanelLayoutDivider | PanelLayoutItem | string | undefined)",
|
|
15373
15875
|
value: input.panel
|
|
@@ -15415,7 +15917,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15415
15917
|
"Please remove the property next time."
|
|
15416
15918
|
].join("\n")
|
|
15417
15919
|
});
|
|
15418
|
-
}).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, {
|
|
15419
15921
|
path: _path + ".type",
|
|
15420
15922
|
expected: "\"divider\"",
|
|
15421
15923
|
value: input.type
|
|
@@ -15439,7 +15941,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15439
15941
|
"Please remove the property next time."
|
|
15440
15942
|
].join("\n")
|
|
15441
15943
|
});
|
|
15442
|
-
}).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, {
|
|
15443
15945
|
path: _path + ".property",
|
|
15444
15946
|
expected: "string",
|
|
15445
15947
|
value: input.property
|
|
@@ -15455,7 +15957,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15455
15957
|
path: _path + ".widget",
|
|
15456
15958
|
expected: "(\"assetTags\" | \"assetTypes\" | \"default\" | \"geopoint\" | \"poster\" | \"tags\" | \"textarea\" | WidgetItem | undefined)",
|
|
15457
15959
|
value: input.widget
|
|
15458
|
-
})) &&
|
|
15960
|
+
})) && _vo9(input.widget, _path + ".widget", true && _exceptionable) || _report(_exceptionable, {
|
|
15459
15961
|
path: _path + ".widget",
|
|
15460
15962
|
expected: "(\"assetTags\" | \"assetTypes\" | \"default\" | \"geopoint\" | \"poster\" | \"tags\" | \"textarea\" | WidgetItem | undefined)",
|
|
15461
15963
|
value: input.widget
|
|
@@ -15475,7 +15977,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15475
15977
|
"Please remove the property next time."
|
|
15476
15978
|
].join("\n")
|
|
15477
15979
|
});
|
|
15478
|
-
}).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, {
|
|
15479
15981
|
path: _path + ".type",
|
|
15480
15982
|
expected: "(\"assetTags\" | \"assetTypes\" | \"default\" | \"geopoint\" | \"poster\" | \"tags\" | \"textarea\")",
|
|
15481
15983
|
value: input.type
|
|
@@ -15499,77 +16001,35 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15499
16001
|
"Please remove the property next time."
|
|
15500
16002
|
].join("\n")
|
|
15501
16003
|
});
|
|
15502
|
-
}).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, {
|
|
15503
|
-
path: _path + ".__context",
|
|
15504
|
-
expected: "object",
|
|
15505
|
-
value: input.__context
|
|
15506
|
-
})) && _vo9(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
15507
|
-
path: _path + ".__context",
|
|
15508
|
-
expected: "object",
|
|
15509
|
-
value: input.__context
|
|
15510
|
-
}), "string" === typeof input.__returnValue || _report(_exceptionable, {
|
|
15511
|
-
path: _path + ".__returnValue",
|
|
15512
|
-
expected: "string",
|
|
15513
|
-
value: input.__returnValue
|
|
15514
|
-
}), 2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
15515
|
-
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
15516
|
-
return true;
|
|
15517
|
-
const value = input[key];
|
|
15518
|
-
if (undefined === value)
|
|
15519
|
-
return true;
|
|
15520
|
-
return _report(_exceptionable, {
|
|
15521
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
15522
|
-
expected: "undefined",
|
|
15523
|
-
value: value,
|
|
15524
|
-
description: [
|
|
15525
|
-
`The property \`${key}\` is not defined in the object type.`,
|
|
15526
|
-
"",
|
|
15527
|
-
"Please remove the property next time."
|
|
15528
|
-
].join("\n")
|
|
15529
|
-
});
|
|
15530
|
-
}).every(flag => flag))].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
15531
|
-
const value = input[key];
|
|
15532
|
-
if (undefined === value)
|
|
15533
|
-
return true;
|
|
15534
|
-
return _report(_exceptionable, {
|
|
15535
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
15536
|
-
expected: "undefined",
|
|
15537
|
-
value: value,
|
|
15538
|
-
description: [
|
|
15539
|
-
`The property \`${key}\` is not defined in the object type.`,
|
|
15540
|
-
"",
|
|
15541
|
-
"Please remove the property next time."
|
|
15542
|
-
].join("\n")
|
|
15543
|
-
});
|
|
15544
16004
|
}).every(flag => flag))].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
15545
16005
|
if (undefined !== input.type)
|
|
15546
|
-
return
|
|
16006
|
+
return _vo7(input, _path, true && _exceptionable);
|
|
15547
16007
|
else if (undefined !== input.property)
|
|
15548
|
-
return
|
|
16008
|
+
return _vo8(input, _path, true && _exceptionable);
|
|
15549
16009
|
else
|
|
15550
16010
|
return _report(_exceptionable, {
|
|
15551
16011
|
path: _path,
|
|
15552
16012
|
expected: "(PanelLayoutDivider | PanelLayoutItem)",
|
|
15553
16013
|
value: input
|
|
15554
16014
|
});
|
|
15555
|
-
})(); const _va0 = (input, _path, _exceptionable = true) => input.map((elem,
|
|
15556
|
-
path: _path + "[" +
|
|
16015
|
+
})(); const _va0 = (input, _path, _exceptionable = true) => input.map((elem, _index8) => (null !== elem || _report(_exceptionable, {
|
|
16016
|
+
path: _path + "[" + _index8 + "]",
|
|
15557
16017
|
expected: "(Array<PanelLayout> | PanelLayoutDivider | PanelLayoutItem | string)",
|
|
15558
16018
|
value: elem
|
|
15559
16019
|
})) && (undefined !== elem || _report(_exceptionable, {
|
|
15560
|
-
path: _path + "[" +
|
|
16020
|
+
path: _path + "[" + _index8 + "]",
|
|
15561
16021
|
expected: "(Array<PanelLayout> | PanelLayoutDivider | PanelLayoutItem | string)",
|
|
15562
16022
|
value: elem
|
|
15563
|
-
})) && ("string" === typeof elem || (Array.isArray(elem) && (_va0(elem, _path + "[" +
|
|
15564
|
-
path: _path + "[" +
|
|
16023
|
+
})) && ("string" === typeof elem || (Array.isArray(elem) && (_va0(elem, _path + "[" + _index8 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16024
|
+
path: _path + "[" + _index8 + "]",
|
|
15565
16025
|
expected: "Array<PanelLayout>",
|
|
15566
16026
|
value: elem
|
|
15567
|
-
})) || "object" === typeof elem && null !== elem && _vu0(elem, _path + "[" +
|
|
15568
|
-
path: _path + "[" +
|
|
16027
|
+
})) || "object" === typeof elem && null !== elem && _vu0(elem, _path + "[" + _index8 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16028
|
+
path: _path + "[" + _index8 + "]",
|
|
15569
16029
|
expected: "(Array<PanelLayout> | PanelLayoutDivider | PanelLayoutItem | string)",
|
|
15570
16030
|
value: elem
|
|
15571
16031
|
})) || _report(_exceptionable, {
|
|
15572
|
-
path: _path + "[" +
|
|
16032
|
+
path: _path + "[" + _index8 + "]",
|
|
15573
16033
|
expected: "(Array<PanelLayout> | PanelLayoutDivider | PanelLayoutItem | string)",
|
|
15574
16034
|
value: elem
|
|
15575
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 => {
|
|
@@ -16544,131 +17004,131 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16544
17004
|
}; })()(input);
|
|
16545
17005
|
}
|
|
16546
17006
|
case ":publish": {
|
|
16547
|
-
return (() => { const _io0 = (input, _exceptionable = true) =>
|
|
16548
|
-
if (["type", "asset"].some(prop => key === prop))
|
|
16549
|
-
return true;
|
|
16550
|
-
const value = input[key];
|
|
16551
|
-
if (undefined === value)
|
|
16552
|
-
return true;
|
|
16553
|
-
return false;
|
|
16554
|
-
})); const _io1 = (input, _exceptionable = true) => "facebook" === input.type && (undefined === input.pageId || "string" === typeof input.pageId) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io2(input.render, true && _exceptionable)) && true && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io16(input.error, true && _exceptionable)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every((elem, _index1) => "object" === typeof elem && null !== elem && _io17(elem, true && _exceptionable))) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16555
|
-
if (["type", "pageId", "asset", "connection", "render", "draft", "published", "remote", "error", "messages"].some(prop => key === prop))
|
|
17007
|
+
return (() => { const _io0 = (input, _exceptionable = true) => (null === input.type || undefined === input.type) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render, true && _exceptionable)) && true && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io15(input.error, true && _exceptionable)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every((elem, _index1) => "object" === typeof elem && null !== elem && _io16(elem, true && _exceptionable))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
17008
|
+
if (["type", "asset", "connection", "render", "draft", "published", "remote", "error", "messages"].some(prop => key === prop))
|
|
16556
17009
|
return true;
|
|
16557
17010
|
const value = input[key];
|
|
16558
17011
|
if (undefined === value)
|
|
16559
17012
|
return true;
|
|
16560
17013
|
return false;
|
|
16561
|
-
})); const
|
|
17014
|
+
})); const _io1 = (input, _exceptionable = true) => (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io2(input.scene, true && _exceptionable)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io10(input.profile, true && _exceptionable)) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16562
17015
|
if (["preset", "type", "scene", "profile"].some(prop => key === prop))
|
|
16563
17016
|
return true;
|
|
16564
17017
|
const value = input[key];
|
|
16565
17018
|
if (undefined === value)
|
|
16566
17019
|
return true;
|
|
16567
17020
|
return false;
|
|
16568
|
-
})); const
|
|
17021
|
+
})); const _io2 = (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) && _io3(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) && _io4(input.subtitleTracks, true && _exceptionable)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io7(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) && _io9(input.transcribe, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16569
17022
|
if (["id", "preset", "input", "lang", "subtitle", "subtitleTracks", "video", "start", "end", "transcribe"].some(prop => key === prop))
|
|
16570
17023
|
return true;
|
|
16571
17024
|
const value = input[key];
|
|
16572
17025
|
if (undefined === value)
|
|
16573
17026
|
return true;
|
|
16574
17027
|
return false;
|
|
16575
|
-
})); const
|
|
17028
|
+
})); const _io3 = (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 => {
|
|
16576
17029
|
if (["type", "file"].some(prop => key === prop))
|
|
16577
17030
|
return true;
|
|
16578
17031
|
const value = input[key];
|
|
16579
17032
|
if (undefined === value)
|
|
16580
17033
|
return true;
|
|
16581
17034
|
return false;
|
|
16582
|
-
})); const
|
|
17035
|
+
})); const _io4 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
16583
17036
|
const value = input[key];
|
|
16584
17037
|
if (undefined === value)
|
|
16585
17038
|
return true;
|
|
16586
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
16587
|
-
}); const
|
|
17039
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io5(value, true && _exceptionable);
|
|
17040
|
+
}); const _io5 = (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) && _io6(input.styleOverrides, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16588
17041
|
if (["style", "styleOverrides"].some(prop => key === prop))
|
|
16589
17042
|
return true;
|
|
16590
17043
|
const value = input[key];
|
|
16591
17044
|
if (undefined === value)
|
|
16592
17045
|
return true;
|
|
16593
17046
|
return false;
|
|
16594
|
-
})); const
|
|
17047
|
+
})); const _io6 = (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 => {
|
|
16595
17048
|
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))
|
|
16596
17049
|
return true;
|
|
16597
17050
|
const value = input[key];
|
|
16598
17051
|
if (undefined === value)
|
|
16599
17052
|
return true;
|
|
16600
17053
|
return false;
|
|
16601
|
-
})); const
|
|
17054
|
+
})); const _io7 = (input, _exceptionable = true) => (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io8(input.crop, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16602
17055
|
if (["crop"].some(prop => key === prop))
|
|
16603
17056
|
return true;
|
|
16604
17057
|
const value = input[key];
|
|
16605
17058
|
if (undefined === value)
|
|
16606
17059
|
return true;
|
|
16607
17060
|
return false;
|
|
16608
|
-
})); const
|
|
17061
|
+
})); const _io8 = (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 => {
|
|
16609
17062
|
if (["x", "y", "width", "height"].some(prop => key === prop))
|
|
16610
17063
|
return true;
|
|
16611
17064
|
const value = input[key];
|
|
16612
17065
|
if (undefined === value)
|
|
16613
17066
|
return true;
|
|
16614
17067
|
return false;
|
|
16615
|
-
})); const
|
|
17068
|
+
})); const _io9 = (input, _exceptionable = true) => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every((elem, _index2) => "number" === typeof elem)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16616
17069
|
if (["language", "pan"].some(prop => key === prop))
|
|
16617
17070
|
return true;
|
|
16618
17071
|
const value = input[key];
|
|
16619
17072
|
if (undefined === value)
|
|
16620
17073
|
return true;
|
|
16621
17074
|
return false;
|
|
16622
|
-
})); const
|
|
17075
|
+
})); const _io10 = (input, _exceptionable = true) => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io11(input.transcribe, true && _exceptionable)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io12(input.translate, true && _exceptionable)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io13(input.audio, true && _exceptionable)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every((elem, _index3) => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io14(input.subtitle, true && _exceptionable))) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16623
17076
|
if (["format", "transcribe", "translate", "audio", "video", "pick", "subtitle"].some(prop => key === prop))
|
|
16624
17077
|
return true;
|
|
16625
17078
|
const value = input[key];
|
|
16626
17079
|
if (undefined === value)
|
|
16627
17080
|
return true;
|
|
16628
17081
|
return false;
|
|
16629
|
-
})); const
|
|
17082
|
+
})); const _io11 = (input, _exceptionable = true) => "string" === typeof input.engine && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16630
17083
|
if (["engine"].some(prop => key === prop))
|
|
16631
17084
|
return true;
|
|
16632
17085
|
const value = input[key];
|
|
16633
17086
|
if (undefined === value)
|
|
16634
17087
|
return true;
|
|
16635
17088
|
return false;
|
|
16636
|
-
})); const
|
|
17089
|
+
})); const _io12 = (input, _exceptionable = true) => "string" === typeof input.language && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16637
17090
|
if (["language"].some(prop => key === prop))
|
|
16638
17091
|
return true;
|
|
16639
17092
|
const value = input[key];
|
|
16640
17093
|
if (undefined === value)
|
|
16641
17094
|
return true;
|
|
16642
17095
|
return false;
|
|
16643
|
-
})); const
|
|
17096
|
+
})); const _io13 = (input, _exceptionable = true) => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16644
17097
|
if (["codec", "pan", "samplerate", "split"].some(prop => key === prop))
|
|
16645
17098
|
return true;
|
|
16646
17099
|
const value = input[key];
|
|
16647
17100
|
if (undefined === value)
|
|
16648
17101
|
return true;
|
|
16649
17102
|
return false;
|
|
16650
|
-
})); const
|
|
17103
|
+
})); const _io14 = (input, _exceptionable = true) => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16651
17104
|
if (["lang", "style"].some(prop => key === prop))
|
|
16652
17105
|
return true;
|
|
16653
17106
|
const value = input[key];
|
|
16654
17107
|
if (undefined === value)
|
|
16655
17108
|
return true;
|
|
16656
17109
|
return false;
|
|
16657
|
-
})); const
|
|
17110
|
+
})); const _io15 = (input, _exceptionable = true) => "string" === typeof input.method && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16658
17111
|
if (["method"].some(prop => key === prop))
|
|
16659
17112
|
return true;
|
|
16660
17113
|
const value = input[key];
|
|
16661
17114
|
if (undefined === value)
|
|
16662
17115
|
return true;
|
|
16663
17116
|
return false;
|
|
16664
|
-
})); const
|
|
17117
|
+
})); const _io16 = (input, _exceptionable = true) => "number" === typeof input.level && "string" === typeof input.code && "string" === typeof input.msg && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16665
17118
|
if (["level", "code", "msg"].some(prop => key === prop))
|
|
16666
17119
|
return true;
|
|
16667
17120
|
const value = input[key];
|
|
16668
17121
|
if (undefined === value)
|
|
16669
17122
|
return true;
|
|
16670
17123
|
return false;
|
|
16671
|
-
})); const
|
|
17124
|
+
})); const _io17 = (input, _exceptionable = true) => (undefined === input.type || "facebook" === input.type) && (undefined === input.pageId || "string" === typeof input.pageId) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render, true && _exceptionable)) && true && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io15(input.error, true && _exceptionable)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every((elem, _index4) => "object" === typeof elem && null !== elem && _io16(elem, true && _exceptionable))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
17125
|
+
if (["type", "pageId", "asset", "connection", "render", "draft", "published", "remote", "error", "messages"].some(prop => key === prop))
|
|
17126
|
+
return true;
|
|
17127
|
+
const value = input[key];
|
|
17128
|
+
if (undefined === value)
|
|
17129
|
+
return true;
|
|
17130
|
+
return false;
|
|
17131
|
+
})); const _io18 = (input, _exceptionable = true) => (undefined === input.type || "file" === input.type) && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io19(input.renders, true && _exceptionable)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io23(input.draft, true && _exceptionable)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io24(input.remote, true && _exceptionable)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io27(input.published, true && _exceptionable)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render, true && _exceptionable)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io15(input.error, true && _exceptionable)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every((elem, _index5) => "object" === typeof elem && null !== elem && _io16(elem, true && _exceptionable))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16672
17132
|
if (["type", "directory", "filename", "renders", "draft", "remote", "published", "asset", "connection", "render", "error", "messages"].some(prop => key === prop))
|
|
16673
17133
|
return true;
|
|
16674
17134
|
const value = input[key];
|
|
@@ -16680,7 +17140,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16680
17140
|
if (undefined === value)
|
|
16681
17141
|
return true;
|
|
16682
17142
|
return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && _iu0(value, true && _exceptionable));
|
|
16683
|
-
}); const _io20 = (input, _exceptionable = true) => (undefined === input.name || "string" === typeof input.name) && "string" === typeof input.path && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene) && (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) &&
|
|
17143
|
+
}); const _io20 = (input, _exceptionable = true) => (undefined === input.name || "string" === typeof input.name) && "string" === typeof input.path && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene) && (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io2(input.scene, true && _exceptionable)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io10(input.profile, true && _exceptionable)) && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16684
17144
|
if (["name", "path", "collisionStrategy", "ignoreEmptyScene", "preset", "type", "scene", "profile"].some(prop => key === prop))
|
|
16685
17145
|
return true;
|
|
16686
17146
|
const value = input[key];
|
|
@@ -16694,7 +17154,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16694
17154
|
if (undefined === value)
|
|
16695
17155
|
return true;
|
|
16696
17156
|
return false;
|
|
16697
|
-
})); const _io22 = (input, _exceptionable = true) => "object" === typeof input.publish && null !== input.publish && _io18(input.publish, true && _exceptionable) && "string" === typeof input.directory && "string" === typeof input.name && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
17157
|
+
})); const _io22 = (input, _exceptionable = true) => "object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) && _io18(input.publish, true && _exceptionable) && "string" === typeof input.directory && "string" === typeof input.name && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16698
17158
|
if (["publish", "directory", "name"].some(prop => key === prop))
|
|
16699
17159
|
return true;
|
|
16700
17160
|
const value = input[key];
|
|
@@ -16720,7 +17180,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16720
17180
|
if (undefined === value)
|
|
16721
17181
|
return true;
|
|
16722
17182
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io26(value, true && _exceptionable);
|
|
16723
|
-
}); const _io26 = (input, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every((elem,
|
|
17183
|
+
}); const _io26 = (input, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every((elem, _index6) => "object" === typeof elem && null !== elem && _io16(elem, true && _exceptionable))) && true && (undefined === input.size || "number" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash) && (undefined === input.source || "string" === typeof input.source) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16724
17184
|
if (["path", "messages", "query", "size", "hash", "source"].some(prop => key === prop))
|
|
16725
17185
|
return true;
|
|
16726
17186
|
const value = input[key];
|
|
@@ -16734,7 +17194,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16734
17194
|
if (undefined === value)
|
|
16735
17195
|
return true;
|
|
16736
17196
|
return false;
|
|
16737
|
-
})); const _io28 = (input, _exceptionable = true) => "file" === input.type && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io23(input.draft, true && _exceptionable)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && _io29(input.remote, true && _exceptionable)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io27(input.published, true && _exceptionable)) && (null !== input.renders && undefined === input.renders) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render &&
|
|
17197
|
+
})); const _io28 = (input, _exceptionable = true) => (undefined === input.type || "file" === input.type) && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io23(input.draft, true && _exceptionable)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && _io29(input.remote, true && _exceptionable)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io27(input.published, true && _exceptionable)) && (null !== input.renders && undefined === input.renders) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render, true && _exceptionable)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io15(input.error, true && _exceptionable)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every((elem, _index7) => "object" === typeof elem && null !== elem && _io16(elem, true && _exceptionable))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16738
17198
|
if (["type", "directory", "filename", "draft", "remote", "published", "renders", "asset", "connection", "render", "error", "messages"].some(prop => key === prop))
|
|
16739
17199
|
return true;
|
|
16740
17200
|
const value = input[key];
|
|
@@ -16762,7 +17222,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16762
17222
|
if (undefined === value)
|
|
16763
17223
|
return true;
|
|
16764
17224
|
return false;
|
|
16765
|
-
})); const _io32 = (input, _exceptionable = true) => "youtube" === input.type && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io33(input.draft, true && _exceptionable)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render &&
|
|
17225
|
+
})); const _io32 = (input, _exceptionable = true) => (undefined === input.type || "youtube" === input.type) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io33(input.draft, true && _exceptionable)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render, true && _exceptionable)) && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io15(input.error, true && _exceptionable)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every((elem, _index8) => "object" === typeof elem && null !== elem && _io16(elem, true && _exceptionable))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16766
17226
|
if (["type", "draft", "asset", "connection", "render", "published", "remote", "error", "messages"].some(prop => key === prop))
|
|
16767
17227
|
return true;
|
|
16768
17228
|
const value = input[key];
|
|
@@ -16776,7 +17236,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16776
17236
|
if (undefined === value)
|
|
16777
17237
|
return true;
|
|
16778
17238
|
return false;
|
|
16779
|
-
})); const _io34 = (input, _exceptionable = true) => (undefined === input.title || "string" === typeof input.title) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every((elem,
|
|
17239
|
+
})); const _io34 = (input, _exceptionable = true) => (undefined === input.title || "string" === typeof input.title) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every((elem, _index9) => "string" === typeof elem)) && (undefined === input.description || "string" === typeof input.description) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16780
17240
|
if (["title", "tags", "description"].some(prop => key === prop))
|
|
16781
17241
|
return true;
|
|
16782
17242
|
const value = input[key];
|
|
@@ -16791,56 +17251,21 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16791
17251
|
else
|
|
16792
17252
|
return false;
|
|
16793
17253
|
})(); const _iu1 = (input, _exceptionable = true) => (() => {
|
|
16794
|
-
if (
|
|
17254
|
+
if (_io0(input, false && _exceptionable))
|
|
16795
17255
|
return _io0(input, true && _exceptionable);
|
|
16796
|
-
|
|
16797
|
-
return
|
|
16798
|
-
|
|
17256
|
+
if (_io17(input, false && _exceptionable))
|
|
17257
|
+
return _io17(input, true && _exceptionable);
|
|
17258
|
+
if (_io28(input, false && _exceptionable))
|
|
17259
|
+
return _io28(input, true && _exceptionable);
|
|
17260
|
+
if (_io18(input, false && _exceptionable))
|
|
17261
|
+
return _io18(input, true && _exceptionable);
|
|
17262
|
+
if (_io32(input, false && _exceptionable))
|
|
16799
17263
|
return _io32(input, true && _exceptionable);
|
|
16800
|
-
|
|
16801
|
-
|
|
16802
|
-
if (_io28(input, false && _exceptionable))
|
|
16803
|
-
return _io28(input, true && _exceptionable);
|
|
16804
|
-
if (_io18(input, false && _exceptionable))
|
|
16805
|
-
return _io18(input, true && _exceptionable);
|
|
16806
|
-
return false;
|
|
16807
|
-
})();
|
|
16808
|
-
})(); const _vo0 = (input, _path, _exceptionable = true) => [(undefined !== input.type || _report(_exceptionable, {
|
|
16809
|
-
path: _path + ".type",
|
|
16810
|
-
expected: "null",
|
|
16811
|
-
value: input.type
|
|
16812
|
-
})) && (null === input.type || _report(_exceptionable, {
|
|
16813
|
-
path: _path + ".type",
|
|
16814
|
-
expected: "null",
|
|
16815
|
-
value: input.type
|
|
16816
|
-
})), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
|
|
16817
|
-
path: _path + ".asset",
|
|
16818
|
-
expected: "(null | string | undefined)",
|
|
16819
|
-
value: input.asset
|
|
16820
|
-
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
16821
|
-
if (["type", "asset"].some(prop => key === prop))
|
|
16822
|
-
return true;
|
|
16823
|
-
const value = input[key];
|
|
16824
|
-
if (undefined === value)
|
|
16825
|
-
return true;
|
|
16826
|
-
return _report(_exceptionable, {
|
|
16827
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
16828
|
-
expected: "undefined",
|
|
16829
|
-
value: value,
|
|
16830
|
-
description: [
|
|
16831
|
-
`The property \`${key}\` is not defined in the object type.`,
|
|
16832
|
-
"",
|
|
16833
|
-
"Please remove the property next time."
|
|
16834
|
-
].join("\n")
|
|
16835
|
-
});
|
|
16836
|
-
}).every(flag => flag))].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["facebook" === input.type || _report(_exceptionable, {
|
|
17264
|
+
return false;
|
|
17265
|
+
})(); const _vo0 = (input, _path, _exceptionable = true) => [null === input.type || undefined === input.type || _report(_exceptionable, {
|
|
16837
17266
|
path: _path + ".type",
|
|
16838
|
-
expected: "
|
|
17267
|
+
expected: "(null | undefined)",
|
|
16839
17268
|
value: input.type
|
|
16840
|
-
}), undefined === input.pageId || "string" === typeof input.pageId || _report(_exceptionable, {
|
|
16841
|
-
path: _path + ".pageId",
|
|
16842
|
-
expected: "(string | undefined)",
|
|
16843
|
-
value: input.pageId
|
|
16844
17269
|
}), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
|
|
16845
17270
|
path: _path + ".asset",
|
|
16846
17271
|
expected: "(null | string | undefined)",
|
|
@@ -16853,7 +17278,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16853
17278
|
path: _path + ".render",
|
|
16854
17279
|
expected: "(PublishRenderBase | undefined)",
|
|
16855
17280
|
value: input.render
|
|
16856
|
-
})) &&
|
|
17281
|
+
})) && _vo1(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
16857
17282
|
path: _path + ".render",
|
|
16858
17283
|
expected: "(PublishRenderBase | undefined)",
|
|
16859
17284
|
value: input.render
|
|
@@ -16861,7 +17286,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16861
17286
|
path: _path + ".error",
|
|
16862
17287
|
expected: "(__type.o9 | null | undefined)",
|
|
16863
17288
|
value: input.error
|
|
16864
|
-
})) &&
|
|
17289
|
+
})) && _vo15(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
16865
17290
|
path: _path + ".error",
|
|
16866
17291
|
expected: "(__type.o9 | null | undefined)",
|
|
16867
17292
|
value: input.error
|
|
@@ -16869,20 +17294,20 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16869
17294
|
path: _path + ".messages",
|
|
16870
17295
|
expected: "(Array<Message> | undefined)",
|
|
16871
17296
|
value: input.messages
|
|
16872
|
-
})) && input.messages.map((elem,
|
|
16873
|
-
path: _path + ".messages[" +
|
|
17297
|
+
})) && input.messages.map((elem, _index10) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
17298
|
+
path: _path + ".messages[" + _index10 + "]",
|
|
16874
17299
|
expected: "Message",
|
|
16875
17300
|
value: elem
|
|
16876
|
-
})) &&
|
|
16877
|
-
path: _path + ".messages[" +
|
|
17301
|
+
})) && _vo16(elem, _path + ".messages[" + _index10 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
17302
|
+
path: _path + ".messages[" + _index10 + "]",
|
|
16878
17303
|
expected: "Message",
|
|
16879
17304
|
value: elem
|
|
16880
17305
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
16881
17306
|
path: _path + ".messages",
|
|
16882
17307
|
expected: "(Array<Message> | undefined)",
|
|
16883
17308
|
value: input.messages
|
|
16884
|
-
}),
|
|
16885
|
-
if (["type", "
|
|
17309
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
17310
|
+
if (["type", "asset", "connection", "render", "draft", "published", "remote", "error", "messages"].some(prop => key === prop))
|
|
16886
17311
|
return true;
|
|
16887
17312
|
const value = input[key];
|
|
16888
17313
|
if (undefined === value)
|
|
@@ -16897,7 +17322,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16897
17322
|
"Please remove the property next time."
|
|
16898
17323
|
].join("\n")
|
|
16899
17324
|
});
|
|
16900
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
17325
|
+
}).every(flag => flag))].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
16901
17326
|
path: _path + ".preset",
|
|
16902
17327
|
expected: "(string | undefined)",
|
|
16903
17328
|
value: input.preset
|
|
@@ -16909,7 +17334,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16909
17334
|
path: _path + ".scene",
|
|
16910
17335
|
expected: "(RenderSceneObject | undefined)",
|
|
16911
17336
|
value: input.scene
|
|
16912
|
-
})) &&
|
|
17337
|
+
})) && _vo2(input.scene, _path + ".scene", true && _exceptionable) || _report(_exceptionable, {
|
|
16913
17338
|
path: _path + ".scene",
|
|
16914
17339
|
expected: "(RenderSceneObject | undefined)",
|
|
16915
17340
|
value: input.scene
|
|
@@ -16917,7 +17342,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16917
17342
|
path: _path + ".profile",
|
|
16918
17343
|
expected: "(RenderProfileObject | undefined)",
|
|
16919
17344
|
value: input.profile
|
|
16920
|
-
})) &&
|
|
17345
|
+
})) && _vo10(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
16921
17346
|
path: _path + ".profile",
|
|
16922
17347
|
expected: "(RenderProfileObject | undefined)",
|
|
16923
17348
|
value: input.profile
|
|
@@ -16937,7 +17362,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16937
17362
|
"Please remove the property next time."
|
|
16938
17363
|
].join("\n")
|
|
16939
17364
|
});
|
|
16940
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
17365
|
+
}).every(flag => flag))].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
16941
17366
|
path: _path + ".id",
|
|
16942
17367
|
expected: "(string | undefined)",
|
|
16943
17368
|
value: input.id
|
|
@@ -16949,7 +17374,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16949
17374
|
path: _path + ".input",
|
|
16950
17375
|
expected: "(__type | null | undefined)",
|
|
16951
17376
|
value: input.input
|
|
16952
|
-
})) &&
|
|
17377
|
+
})) && _vo3(input.input, _path + ".input", true && _exceptionable) || _report(_exceptionable, {
|
|
16953
17378
|
path: _path + ".input",
|
|
16954
17379
|
expected: "(__type | null | undefined)",
|
|
16955
17380
|
value: input.input
|
|
@@ -16965,7 +17390,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16965
17390
|
path: _path + ".subtitleTracks",
|
|
16966
17391
|
expected: "(__type.o1 | undefined)",
|
|
16967
17392
|
value: input.subtitleTracks
|
|
16968
|
-
})) &&
|
|
17393
|
+
})) && _vo4(input.subtitleTracks, _path + ".subtitleTracks", true && _exceptionable) || _report(_exceptionable, {
|
|
16969
17394
|
path: _path + ".subtitleTracks",
|
|
16970
17395
|
expected: "(__type.o1 | undefined)",
|
|
16971
17396
|
value: input.subtitleTracks
|
|
@@ -16973,7 +17398,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16973
17398
|
path: _path + ".video",
|
|
16974
17399
|
expected: "(__type.o3 | undefined)",
|
|
16975
17400
|
value: input.video
|
|
16976
|
-
})) &&
|
|
17401
|
+
})) && _vo7(input.video, _path + ".video", true && _exceptionable) || _report(_exceptionable, {
|
|
16977
17402
|
path: _path + ".video",
|
|
16978
17403
|
expected: "(__type.o3 | undefined)",
|
|
16979
17404
|
value: input.video
|
|
@@ -16989,7 +17414,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16989
17414
|
path: _path + ".transcribe",
|
|
16990
17415
|
expected: "(__type.o5 | undefined)",
|
|
16991
17416
|
value: input.transcribe
|
|
16992
|
-
})) &&
|
|
17417
|
+
})) && _vo9(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
16993
17418
|
path: _path + ".transcribe",
|
|
16994
17419
|
expected: "(__type.o5 | undefined)",
|
|
16995
17420
|
value: input.transcribe
|
|
@@ -17009,7 +17434,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17009
17434
|
"Please remove the property next time."
|
|
17010
17435
|
].join("\n")
|
|
17011
17436
|
});
|
|
17012
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
17437
|
+
}).every(flag => flag))].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
17013
17438
|
path: _path + ".type",
|
|
17014
17439
|
expected: "(string | undefined)",
|
|
17015
17440
|
value: input.type
|
|
@@ -17033,7 +17458,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17033
17458
|
"Please remove the property next time."
|
|
17034
17459
|
].join("\n")
|
|
17035
17460
|
});
|
|
17036
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
17461
|
+
}).every(flag => flag))].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
17037
17462
|
const value = input[key];
|
|
17038
17463
|
if (undefined === value)
|
|
17039
17464
|
return true;
|
|
@@ -17041,12 +17466,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17041
17466
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17042
17467
|
expected: "__type.o2",
|
|
17043
17468
|
value: value
|
|
17044
|
-
})) &&
|
|
17469
|
+
})) && _vo5(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
17045
17470
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17046
17471
|
expected: "__type.o2",
|
|
17047
17472
|
value: value
|
|
17048
17473
|
});
|
|
17049
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
17474
|
+
}).every(flag => flag)].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => [null === input.style || undefined === input.style || "string" === typeof input.style || _report(_exceptionable, {
|
|
17050
17475
|
path: _path + ".style",
|
|
17051
17476
|
expected: "(null | string | undefined)",
|
|
17052
17477
|
value: input.style
|
|
@@ -17054,7 +17479,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17054
17479
|
path: _path + ".styleOverrides",
|
|
17055
17480
|
expected: "(SubtitleStyle | undefined)",
|
|
17056
17481
|
value: input.styleOverrides
|
|
17057
|
-
})) &&
|
|
17482
|
+
})) && _vo6(input.styleOverrides, _path + ".styleOverrides", true && _exceptionable) || _report(_exceptionable, {
|
|
17058
17483
|
path: _path + ".styleOverrides",
|
|
17059
17484
|
expected: "(SubtitleStyle | undefined)",
|
|
17060
17485
|
value: input.styleOverrides
|
|
@@ -17074,7 +17499,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17074
17499
|
"Please remove the property next time."
|
|
17075
17500
|
].join("\n")
|
|
17076
17501
|
});
|
|
17077
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
17502
|
+
}).every(flag => flag))].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
17078
17503
|
path: _path + ".name",
|
|
17079
17504
|
expected: "(string | undefined)",
|
|
17080
17505
|
value: input.name
|
|
@@ -17182,11 +17607,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17182
17607
|
"Please remove the property next time."
|
|
17183
17608
|
].join("\n")
|
|
17184
17609
|
});
|
|
17185
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
17610
|
+
}).every(flag => flag))].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [undefined === input.crop || ("object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) || _report(_exceptionable, {
|
|
17186
17611
|
path: _path + ".crop",
|
|
17187
17612
|
expected: "(__type.o4 | undefined)",
|
|
17188
17613
|
value: input.crop
|
|
17189
|
-
})) &&
|
|
17614
|
+
})) && _vo8(input.crop, _path + ".crop", true && _exceptionable) || _report(_exceptionable, {
|
|
17190
17615
|
path: _path + ".crop",
|
|
17191
17616
|
expected: "(__type.o4 | undefined)",
|
|
17192
17617
|
value: input.crop
|
|
@@ -17206,7 +17631,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17206
17631
|
"Please remove the property next time."
|
|
17207
17632
|
].join("\n")
|
|
17208
17633
|
});
|
|
17209
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
17634
|
+
}).every(flag => flag))].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [undefined === input.x || "number" === typeof input.x || _report(_exceptionable, {
|
|
17210
17635
|
path: _path + ".x",
|
|
17211
17636
|
expected: "(number | undefined)",
|
|
17212
17637
|
value: input.x
|
|
@@ -17238,7 +17663,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17238
17663
|
"Please remove the property next time."
|
|
17239
17664
|
].join("\n")
|
|
17240
17665
|
});
|
|
17241
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
17666
|
+
}).every(flag => flag))].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [undefined === input.language || "string" === typeof input.language || _report(_exceptionable, {
|
|
17242
17667
|
path: _path + ".language",
|
|
17243
17668
|
expected: "(string | undefined)",
|
|
17244
17669
|
value: input.language
|
|
@@ -17246,8 +17671,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17246
17671
|
path: _path + ".pan",
|
|
17247
17672
|
expected: "(Array<number> | undefined)",
|
|
17248
17673
|
value: input.pan
|
|
17249
|
-
})) && input.pan.map((elem,
|
|
17250
|
-
path: _path + ".pan[" +
|
|
17674
|
+
})) && input.pan.map((elem, _index11) => "number" === typeof elem || _report(_exceptionable, {
|
|
17675
|
+
path: _path + ".pan[" + _index11 + "]",
|
|
17251
17676
|
expected: "number",
|
|
17252
17677
|
value: elem
|
|
17253
17678
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17270,7 +17695,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17270
17695
|
"Please remove the property next time."
|
|
17271
17696
|
].join("\n")
|
|
17272
17697
|
});
|
|
17273
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
17698
|
+
}).every(flag => flag))].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => ["string" === typeof input.format || _report(_exceptionable, {
|
|
17274
17699
|
path: _path + ".format",
|
|
17275
17700
|
expected: "string",
|
|
17276
17701
|
value: input.format
|
|
@@ -17278,7 +17703,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17278
17703
|
path: _path + ".transcribe",
|
|
17279
17704
|
expected: "(__type.o6 | undefined)",
|
|
17280
17705
|
value: input.transcribe
|
|
17281
|
-
})) &&
|
|
17706
|
+
})) && _vo11(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
17282
17707
|
path: _path + ".transcribe",
|
|
17283
17708
|
expected: "(__type.o6 | undefined)",
|
|
17284
17709
|
value: input.transcribe
|
|
@@ -17286,7 +17711,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17286
17711
|
path: _path + ".translate",
|
|
17287
17712
|
expected: "(__type.o7 | undefined)",
|
|
17288
17713
|
value: input.translate
|
|
17289
|
-
})) &&
|
|
17714
|
+
})) && _vo12(input.translate, _path + ".translate", true && _exceptionable) || _report(_exceptionable, {
|
|
17290
17715
|
path: _path + ".translate",
|
|
17291
17716
|
expected: "(__type.o7 | undefined)",
|
|
17292
17717
|
value: input.translate
|
|
@@ -17294,7 +17719,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17294
17719
|
path: _path + ".audio",
|
|
17295
17720
|
expected: "(__type.o8 | undefined)",
|
|
17296
17721
|
value: input.audio
|
|
17297
|
-
})) &&
|
|
17722
|
+
})) && _vo13(input.audio, _path + ".audio", true && _exceptionable) || _report(_exceptionable, {
|
|
17298
17723
|
path: _path + ".audio",
|
|
17299
17724
|
expected: "(__type.o8 | undefined)",
|
|
17300
17725
|
value: input.audio
|
|
@@ -17302,8 +17727,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17302
17727
|
path: _path + ".pick",
|
|
17303
17728
|
expected: "(Array<string> | undefined)",
|
|
17304
17729
|
value: input.pick
|
|
17305
|
-
})) && input.pick.map((elem,
|
|
17306
|
-
path: _path + ".pick[" +
|
|
17730
|
+
})) && input.pick.map((elem, _index12) => "string" === typeof elem || _report(_exceptionable, {
|
|
17731
|
+
path: _path + ".pick[" + _index12 + "]",
|
|
17307
17732
|
expected: "string",
|
|
17308
17733
|
value: elem
|
|
17309
17734
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17318,7 +17743,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17318
17743
|
path: _path + ".subtitle",
|
|
17319
17744
|
expected: "(SubtitleProfile | string | undefined)",
|
|
17320
17745
|
value: input.subtitle
|
|
17321
|
-
})) &&
|
|
17746
|
+
})) && _vo14(input.subtitle, _path + ".subtitle", true && _exceptionable) || _report(_exceptionable, {
|
|
17322
17747
|
path: _path + ".subtitle",
|
|
17323
17748
|
expected: "(SubtitleProfile | string | undefined)",
|
|
17324
17749
|
value: input.subtitle
|
|
@@ -17338,7 +17763,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17338
17763
|
"Please remove the property next time."
|
|
17339
17764
|
].join("\n")
|
|
17340
17765
|
});
|
|
17341
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
17766
|
+
}).every(flag => flag))].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => ["string" === typeof input.engine || _report(_exceptionable, {
|
|
17342
17767
|
path: _path + ".engine",
|
|
17343
17768
|
expected: "string",
|
|
17344
17769
|
value: input.engine
|
|
@@ -17358,7 +17783,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17358
17783
|
"Please remove the property next time."
|
|
17359
17784
|
].join("\n")
|
|
17360
17785
|
});
|
|
17361
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
17786
|
+
}).every(flag => flag))].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => ["string" === typeof input.language || _report(_exceptionable, {
|
|
17362
17787
|
path: _path + ".language",
|
|
17363
17788
|
expected: "string",
|
|
17364
17789
|
value: input.language
|
|
@@ -17378,7 +17803,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17378
17803
|
"Please remove the property next time."
|
|
17379
17804
|
].join("\n")
|
|
17380
17805
|
});
|
|
17381
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
17806
|
+
}).every(flag => flag))].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => [undefined === input.codec || "string" === typeof input.codec || _report(_exceptionable, {
|
|
17382
17807
|
path: _path + ".codec",
|
|
17383
17808
|
expected: "(string | undefined)",
|
|
17384
17809
|
value: input.codec
|
|
@@ -17410,7 +17835,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17410
17835
|
"Please remove the property next time."
|
|
17411
17836
|
].join("\n")
|
|
17412
17837
|
});
|
|
17413
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
17838
|
+
}).every(flag => flag))].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [undefined === input.lang || "string" === typeof input.lang || _report(_exceptionable, {
|
|
17414
17839
|
path: _path + ".lang",
|
|
17415
17840
|
expected: "(string | undefined)",
|
|
17416
17841
|
value: input.lang
|
|
@@ -17434,7 +17859,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17434
17859
|
"Please remove the property next time."
|
|
17435
17860
|
].join("\n")
|
|
17436
17861
|
});
|
|
17437
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
17862
|
+
}).every(flag => flag))].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => ["string" === typeof input.method || _report(_exceptionable, {
|
|
17438
17863
|
path: _path + ".method",
|
|
17439
17864
|
expected: "string",
|
|
17440
17865
|
value: input.method
|
|
@@ -17454,7 +17879,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17454
17879
|
"Please remove the property next time."
|
|
17455
17880
|
].join("\n")
|
|
17456
17881
|
});
|
|
17457
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
17882
|
+
}).every(flag => flag))].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => ["number" === typeof input.level || _report(_exceptionable, {
|
|
17458
17883
|
path: _path + ".level",
|
|
17459
17884
|
expected: "number",
|
|
17460
17885
|
value: input.level
|
|
@@ -17482,9 +17907,73 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17482
17907
|
"Please remove the property next time."
|
|
17483
17908
|
].join("\n")
|
|
17484
17909
|
});
|
|
17485
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
17910
|
+
}).every(flag => flag))].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => [undefined === input.type || "facebook" === input.type || _report(_exceptionable, {
|
|
17911
|
+
path: _path + ".type",
|
|
17912
|
+
expected: "(\"facebook\" | undefined)",
|
|
17913
|
+
value: input.type
|
|
17914
|
+
}), undefined === input.pageId || "string" === typeof input.pageId || _report(_exceptionable, {
|
|
17915
|
+
path: _path + ".pageId",
|
|
17916
|
+
expected: "(string | undefined)",
|
|
17917
|
+
value: input.pageId
|
|
17918
|
+
}), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
|
|
17919
|
+
path: _path + ".asset",
|
|
17920
|
+
expected: "(null | string | undefined)",
|
|
17921
|
+
value: input.asset
|
|
17922
|
+
}), undefined === input.connection || "string" === typeof input.connection || _report(_exceptionable, {
|
|
17923
|
+
path: _path + ".connection",
|
|
17924
|
+
expected: "(string | undefined)",
|
|
17925
|
+
value: input.connection
|
|
17926
|
+
}), undefined === input.render || ("object" === typeof input.render && null !== input.render || _report(_exceptionable, {
|
|
17927
|
+
path: _path + ".render",
|
|
17928
|
+
expected: "(PublishRenderBase | undefined)",
|
|
17929
|
+
value: input.render
|
|
17930
|
+
})) && _vo1(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
17931
|
+
path: _path + ".render",
|
|
17932
|
+
expected: "(PublishRenderBase | undefined)",
|
|
17933
|
+
value: input.render
|
|
17934
|
+
}), true, true, true, null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
17935
|
+
path: _path + ".error",
|
|
17936
|
+
expected: "(__type.o9 | null | undefined)",
|
|
17937
|
+
value: input.error
|
|
17938
|
+
})) && _vo15(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
17939
|
+
path: _path + ".error",
|
|
17940
|
+
expected: "(__type.o9 | null | undefined)",
|
|
17941
|
+
value: input.error
|
|
17942
|
+
}), undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
17943
|
+
path: _path + ".messages",
|
|
17944
|
+
expected: "(Array<Message> | undefined)",
|
|
17945
|
+
value: input.messages
|
|
17946
|
+
})) && input.messages.map((elem, _index13) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
17947
|
+
path: _path + ".messages[" + _index13 + "]",
|
|
17948
|
+
expected: "Message",
|
|
17949
|
+
value: elem
|
|
17950
|
+
})) && _vo16(elem, _path + ".messages[" + _index13 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
17951
|
+
path: _path + ".messages[" + _index13 + "]",
|
|
17952
|
+
expected: "Message",
|
|
17953
|
+
value: elem
|
|
17954
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
17955
|
+
path: _path + ".messages",
|
|
17956
|
+
expected: "(Array<Message> | undefined)",
|
|
17957
|
+
value: input.messages
|
|
17958
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
17959
|
+
if (["type", "pageId", "asset", "connection", "render", "draft", "published", "remote", "error", "messages"].some(prop => key === prop))
|
|
17960
|
+
return true;
|
|
17961
|
+
const value = input[key];
|
|
17962
|
+
if (undefined === value)
|
|
17963
|
+
return true;
|
|
17964
|
+
return _report(_exceptionable, {
|
|
17965
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17966
|
+
expected: "undefined",
|
|
17967
|
+
value: value,
|
|
17968
|
+
description: [
|
|
17969
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
17970
|
+
"",
|
|
17971
|
+
"Please remove the property next time."
|
|
17972
|
+
].join("\n")
|
|
17973
|
+
});
|
|
17974
|
+
}).every(flag => flag))].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => [undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
17486
17975
|
path: _path + ".type",
|
|
17487
|
-
expected: "\"file\"",
|
|
17976
|
+
expected: "(\"file\" | undefined)",
|
|
17488
17977
|
value: input.type
|
|
17489
17978
|
}), undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
17490
17979
|
path: _path + ".directory",
|
|
@@ -17538,7 +18027,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17538
18027
|
path: _path + ".render",
|
|
17539
18028
|
expected: "(PublishRenderBase | undefined)",
|
|
17540
18029
|
value: input.render
|
|
17541
|
-
})) &&
|
|
18030
|
+
})) && _vo1(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
17542
18031
|
path: _path + ".render",
|
|
17543
18032
|
expected: "(PublishRenderBase | undefined)",
|
|
17544
18033
|
value: input.render
|
|
@@ -17546,7 +18035,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17546
18035
|
path: _path + ".error",
|
|
17547
18036
|
expected: "(__type.o9 | null | undefined)",
|
|
17548
18037
|
value: input.error
|
|
17549
|
-
})) &&
|
|
18038
|
+
})) && _vo15(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
17550
18039
|
path: _path + ".error",
|
|
17551
18040
|
expected: "(__type.o9 | null | undefined)",
|
|
17552
18041
|
value: input.error
|
|
@@ -17554,19 +18043,19 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17554
18043
|
path: _path + ".messages",
|
|
17555
18044
|
expected: "(Array<Message> | undefined)",
|
|
17556
18045
|
value: input.messages
|
|
17557
|
-
})) && input.messages.map((elem,
|
|
17558
|
-
path: _path + ".messages[" +
|
|
18046
|
+
})) && input.messages.map((elem, _index14) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
18047
|
+
path: _path + ".messages[" + _index14 + "]",
|
|
17559
18048
|
expected: "Message",
|
|
17560
18049
|
value: elem
|
|
17561
|
-
})) &&
|
|
17562
|
-
path: _path + ".messages[" +
|
|
18050
|
+
})) && _vo16(elem, _path + ".messages[" + _index14 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
18051
|
+
path: _path + ".messages[" + _index14 + "]",
|
|
17563
18052
|
expected: "Message",
|
|
17564
18053
|
value: elem
|
|
17565
18054
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
17566
18055
|
path: _path + ".messages",
|
|
17567
18056
|
expected: "(Array<Message> | undefined)",
|
|
17568
18057
|
value: input.messages
|
|
17569
|
-
}),
|
|
18058
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
17570
18059
|
if (["type", "directory", "filename", "renders", "draft", "remote", "published", "asset", "connection", "render", "error", "messages"].some(prop => key === prop))
|
|
17571
18060
|
return true;
|
|
17572
18061
|
const value = input[key];
|
|
@@ -17631,7 +18120,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17631
18120
|
path: _path + ".scene",
|
|
17632
18121
|
expected: "(RenderSceneObject | undefined)",
|
|
17633
18122
|
value: input.scene
|
|
17634
|
-
})) &&
|
|
18123
|
+
})) && _vo2(input.scene, _path + ".scene", true && _exceptionable) || _report(_exceptionable, {
|
|
17635
18124
|
path: _path + ".scene",
|
|
17636
18125
|
expected: "(RenderSceneObject | undefined)",
|
|
17637
18126
|
value: input.scene
|
|
@@ -17639,7 +18128,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17639
18128
|
path: _path + ".profile",
|
|
17640
18129
|
expected: "(RenderProfileObject | undefined)",
|
|
17641
18130
|
value: input.profile
|
|
17642
|
-
})) &&
|
|
18131
|
+
})) && _vo10(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
17643
18132
|
path: _path + ".profile",
|
|
17644
18133
|
expected: "(RenderProfileObject | undefined)",
|
|
17645
18134
|
value: input.profile
|
|
@@ -17691,7 +18180,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17691
18180
|
"Please remove the property next time."
|
|
17692
18181
|
].join("\n")
|
|
17693
18182
|
});
|
|
17694
|
-
}).every(flag => flag))].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => [("object" === typeof input.publish && null !== input.publish || _report(_exceptionable, {
|
|
18183
|
+
}).every(flag => flag))].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => [("object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) || _report(_exceptionable, {
|
|
17695
18184
|
path: _path + ".publish",
|
|
17696
18185
|
expected: "FilePublishRecord",
|
|
17697
18186
|
value: input.publish
|
|
@@ -17800,12 +18289,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17800
18289
|
path: _path + ".messages",
|
|
17801
18290
|
expected: "(Array<Message> | undefined)",
|
|
17802
18291
|
value: input.messages
|
|
17803
|
-
})) && input.messages.map((elem,
|
|
17804
|
-
path: _path + ".messages[" +
|
|
18292
|
+
})) && input.messages.map((elem, _index15) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
18293
|
+
path: _path + ".messages[" + _index15 + "]",
|
|
17805
18294
|
expected: "Message",
|
|
17806
18295
|
value: elem
|
|
17807
|
-
})) &&
|
|
17808
|
-
path: _path + ".messages[" +
|
|
18296
|
+
})) && _vo16(elem, _path + ".messages[" + _index15 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
18297
|
+
path: _path + ".messages[" + _index15 + "]",
|
|
17809
18298
|
expected: "Message",
|
|
17810
18299
|
value: elem
|
|
17811
18300
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17864,9 +18353,9 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17864
18353
|
"Please remove the property next time."
|
|
17865
18354
|
].join("\n")
|
|
17866
18355
|
});
|
|
17867
|
-
}).every(flag => flag))].every(flag => flag); const _vo28 = (input, _path, _exceptionable = true) => ["file" === input.type || _report(_exceptionable, {
|
|
18356
|
+
}).every(flag => flag))].every(flag => flag); const _vo28 = (input, _path, _exceptionable = true) => [undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
17868
18357
|
path: _path + ".type",
|
|
17869
|
-
expected: "\"file\"",
|
|
18358
|
+
expected: "(\"file\" | undefined)",
|
|
17870
18359
|
value: input.type
|
|
17871
18360
|
}), undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
17872
18361
|
path: _path + ".directory",
|
|
@@ -17920,7 +18409,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17920
18409
|
path: _path + ".render",
|
|
17921
18410
|
expected: "(PublishRenderBase | undefined)",
|
|
17922
18411
|
value: input.render
|
|
17923
|
-
})) &&
|
|
18412
|
+
})) && _vo1(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
17924
18413
|
path: _path + ".render",
|
|
17925
18414
|
expected: "(PublishRenderBase | undefined)",
|
|
17926
18415
|
value: input.render
|
|
@@ -17928,7 +18417,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17928
18417
|
path: _path + ".error",
|
|
17929
18418
|
expected: "(__type.o9 | null | undefined)",
|
|
17930
18419
|
value: input.error
|
|
17931
|
-
})) &&
|
|
18420
|
+
})) && _vo15(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
17932
18421
|
path: _path + ".error",
|
|
17933
18422
|
expected: "(__type.o9 | null | undefined)",
|
|
17934
18423
|
value: input.error
|
|
@@ -17936,19 +18425,19 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17936
18425
|
path: _path + ".messages",
|
|
17937
18426
|
expected: "(Array<Message> | undefined)",
|
|
17938
18427
|
value: input.messages
|
|
17939
|
-
})) && input.messages.map((elem,
|
|
17940
|
-
path: _path + ".messages[" +
|
|
18428
|
+
})) && input.messages.map((elem, _index16) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
18429
|
+
path: _path + ".messages[" + _index16 + "]",
|
|
17941
18430
|
expected: "Message",
|
|
17942
18431
|
value: elem
|
|
17943
|
-
})) &&
|
|
17944
|
-
path: _path + ".messages[" +
|
|
18432
|
+
})) && _vo16(elem, _path + ".messages[" + _index16 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
18433
|
+
path: _path + ".messages[" + _index16 + "]",
|
|
17945
18434
|
expected: "Message",
|
|
17946
18435
|
value: elem
|
|
17947
18436
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
17948
18437
|
path: _path + ".messages",
|
|
17949
18438
|
expected: "(Array<Message> | undefined)",
|
|
17950
18439
|
value: input.messages
|
|
17951
|
-
}),
|
|
18440
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
17952
18441
|
if (["type", "directory", "filename", "draft", "remote", "published", "renders", "asset", "connection", "render", "error", "messages"].some(prop => key === prop))
|
|
17953
18442
|
return true;
|
|
17954
18443
|
const value = input[key];
|
|
@@ -18043,9 +18532,9 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
18043
18532
|
"Please remove the property next time."
|
|
18044
18533
|
].join("\n")
|
|
18045
18534
|
});
|
|
18046
|
-
}).every(flag => flag))].every(flag => flag); const _vo32 = (input, _path, _exceptionable = true) => ["youtube" === input.type || _report(_exceptionable, {
|
|
18535
|
+
}).every(flag => flag))].every(flag => flag); const _vo32 = (input, _path, _exceptionable = true) => [undefined === input.type || "youtube" === input.type || _report(_exceptionable, {
|
|
18047
18536
|
path: _path + ".type",
|
|
18048
|
-
expected: "\"youtube\"",
|
|
18537
|
+
expected: "(\"youtube\" | undefined)",
|
|
18049
18538
|
value: input.type
|
|
18050
18539
|
}), undefined === input.draft || ("object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) || _report(_exceptionable, {
|
|
18051
18540
|
path: _path + ".draft",
|
|
@@ -18067,7 +18556,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
18067
18556
|
path: _path + ".render",
|
|
18068
18557
|
expected: "(PublishRenderBase | undefined)",
|
|
18069
18558
|
value: input.render
|
|
18070
|
-
})) &&
|
|
18559
|
+
})) && _vo1(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
18071
18560
|
path: _path + ".render",
|
|
18072
18561
|
expected: "(PublishRenderBase | undefined)",
|
|
18073
18562
|
value: input.render
|
|
@@ -18075,7 +18564,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
18075
18564
|
path: _path + ".error",
|
|
18076
18565
|
expected: "(__type.o9 | null | undefined)",
|
|
18077
18566
|
value: input.error
|
|
18078
|
-
})) &&
|
|
18567
|
+
})) && _vo15(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
18079
18568
|
path: _path + ".error",
|
|
18080
18569
|
expected: "(__type.o9 | null | undefined)",
|
|
18081
18570
|
value: input.error
|
|
@@ -18083,19 +18572,19 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
18083
18572
|
path: _path + ".messages",
|
|
18084
18573
|
expected: "(Array<Message> | undefined)",
|
|
18085
18574
|
value: input.messages
|
|
18086
|
-
})) && input.messages.map((elem,
|
|
18087
|
-
path: _path + ".messages[" +
|
|
18575
|
+
})) && input.messages.map((elem, _index17) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
18576
|
+
path: _path + ".messages[" + _index17 + "]",
|
|
18088
18577
|
expected: "Message",
|
|
18089
18578
|
value: elem
|
|
18090
|
-
})) &&
|
|
18091
|
-
path: _path + ".messages[" +
|
|
18579
|
+
})) && _vo16(elem, _path + ".messages[" + _index17 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
18580
|
+
path: _path + ".messages[" + _index17 + "]",
|
|
18092
18581
|
expected: "Message",
|
|
18093
18582
|
value: elem
|
|
18094
18583
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
18095
18584
|
path: _path + ".messages",
|
|
18096
18585
|
expected: "(Array<Message> | undefined)",
|
|
18097
18586
|
value: input.messages
|
|
18098
|
-
}),
|
|
18587
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
18099
18588
|
if (["type", "draft", "asset", "connection", "render", "published", "remote", "error", "messages"].some(prop => key === prop))
|
|
18100
18589
|
return true;
|
|
18101
18590
|
const value = input[key];
|
|
@@ -18143,8 +18632,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
18143
18632
|
path: _path + ".tags",
|
|
18144
18633
|
expected: "(Array<string> | undefined)",
|
|
18145
18634
|
value: input.tags
|
|
18146
|
-
})) && input.tags.map((elem,
|
|
18147
|
-
path: _path + ".tags[" +
|
|
18635
|
+
})) && input.tags.map((elem, _index18) => "string" === typeof elem || _report(_exceptionable, {
|
|
18636
|
+
path: _path + ".tags[" + _index18 + "]",
|
|
18148
18637
|
expected: "string",
|
|
18149
18638
|
value: elem
|
|
18150
18639
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18183,29 +18672,26 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
18183
18672
|
value: input
|
|
18184
18673
|
});
|
|
18185
18674
|
})(); const _vu1 = (input, _path, _exceptionable = true) => (() => {
|
|
18186
|
-
if (
|
|
18675
|
+
if (_vo0(input, _path, false && _exceptionable))
|
|
18187
18676
|
return _vo0(input, _path, true && _exceptionable);
|
|
18188
|
-
|
|
18189
|
-
return
|
|
18190
|
-
|
|
18677
|
+
if (_vo17(input, _path, false && _exceptionable))
|
|
18678
|
+
return _vo17(input, _path, true && _exceptionable);
|
|
18679
|
+
if (_vo28(input, _path, false && _exceptionable))
|
|
18680
|
+
return _vo28(input, _path, true && _exceptionable);
|
|
18681
|
+
if (_vo18(input, _path, false && _exceptionable))
|
|
18682
|
+
return _vo18(input, _path, true && _exceptionable);
|
|
18683
|
+
if (_vo32(input, _path, false && _exceptionable))
|
|
18191
18684
|
return _vo32(input, _path, true && _exceptionable);
|
|
18192
|
-
|
|
18193
|
-
|
|
18194
|
-
|
|
18195
|
-
|
|
18196
|
-
|
|
18197
|
-
|
|
18198
|
-
return _report(_exceptionable, {
|
|
18199
|
-
path: _path,
|
|
18200
|
-
expected: "(FilePublishRecordLegacy | FilePublishRecord)",
|
|
18201
|
-
value: input
|
|
18202
|
-
});
|
|
18203
|
-
})();
|
|
18204
|
-
})(); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && _iu1(input, true); let errors; let _report; return input => {
|
|
18685
|
+
return _report(_exceptionable, {
|
|
18686
|
+
path: _path,
|
|
18687
|
+
expected: "(EmptyPublishRecord | FacebookPublishRecord | FilePublishRecordLegacy | FilePublishRecord | YoutubePublishRecord)",
|
|
18688
|
+
value: input
|
|
18689
|
+
});
|
|
18690
|
+
})(); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && false === Array.isArray(input) && _iu1(input, true); let errors; let _report; return input => {
|
|
18205
18691
|
if (false === __is(input)) {
|
|
18206
18692
|
errors = [];
|
|
18207
18693
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
18208
|
-
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
18694
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
18209
18695
|
path: _path + "",
|
|
18210
18696
|
expected: "(EmptyPublishRecord | FacebookPublishRecord | FilePublishRecord | FilePublishRecordLegacy | YoutubePublishRecord)",
|
|
18211
18697
|
value: input
|
|
@@ -18393,14 +18879,14 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
18393
18879
|
if (undefined === value)
|
|
18394
18880
|
return true;
|
|
18395
18881
|
return false;
|
|
18396
|
-
})); const _io24 = (input, _exceptionable = true) => "object" === typeof input.publish && null !== input.publish && _io25(input.publish, true && _exceptionable) && "string" === typeof input.directory && "string" === typeof input.name && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
18882
|
+
})); const _io24 = (input, _exceptionable = true) => "object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) && _io25(input.publish, true && _exceptionable) && "string" === typeof input.directory && "string" === typeof input.name && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
18397
18883
|
if (["publish", "directory", "name"].some(prop => key === prop))
|
|
18398
18884
|
return true;
|
|
18399
18885
|
const value = input[key];
|
|
18400
18886
|
if (undefined === value)
|
|
18401
18887
|
return true;
|
|
18402
18888
|
return false;
|
|
18403
|
-
})); const _io25 = (input, _exceptionable = true) => "file" === input.type && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io8(input.renders, true && _exceptionable)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io26(input.draft, true && _exceptionable)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io27(input.remote, true && _exceptionable)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io30(input.published, true && _exceptionable)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io31(input.render, true && _exceptionable)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io32(input.error, true && _exceptionable)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every((elem, _index6) => "object" === typeof elem && null !== elem && _io1(elem, true && _exceptionable))) && (
|
|
18889
|
+
})); const _io25 = (input, _exceptionable = true) => (undefined === input.type || "file" === input.type) && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io8(input.renders, true && _exceptionable)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io26(input.draft, true && _exceptionable)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io27(input.remote, true && _exceptionable)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io30(input.published, true && _exceptionable)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io31(input.render, true && _exceptionable)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io32(input.error, true && _exceptionable)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every((elem, _index6) => "object" === typeof elem && null !== elem && _io1(elem, true && _exceptionable))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
18404
18890
|
if (["type", "directory", "filename", "renders", "draft", "remote", "published", "asset", "connection", "render", "error", "messages"].some(prop => key === prop))
|
|
18405
18891
|
return true;
|
|
18406
18892
|
const value = input[key];
|
|
@@ -19344,7 +19830,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
19344
19830
|
"Please remove the property next time."
|
|
19345
19831
|
].join("\n")
|
|
19346
19832
|
});
|
|
19347
|
-
}).every(flag => flag))].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => [("object" === typeof input.publish && null !== input.publish || _report(_exceptionable, {
|
|
19833
|
+
}).every(flag => flag))].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => [("object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) || _report(_exceptionable, {
|
|
19348
19834
|
path: _path + ".publish",
|
|
19349
19835
|
expected: "FilePublishRecord",
|
|
19350
19836
|
value: input.publish
|
|
@@ -19376,9 +19862,9 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
19376
19862
|
"Please remove the property next time."
|
|
19377
19863
|
].join("\n")
|
|
19378
19864
|
});
|
|
19379
|
-
}).every(flag => flag))].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => ["file" === input.type || _report(_exceptionable, {
|
|
19865
|
+
}).every(flag => flag))].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => [undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
19380
19866
|
path: _path + ".type",
|
|
19381
|
-
expected: "\"file\"",
|
|
19867
|
+
expected: "(\"file\" | undefined)",
|
|
19382
19868
|
value: input.type
|
|
19383
19869
|
}), undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
19384
19870
|
path: _path + ".directory",
|
|
@@ -19460,7 +19946,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
19460
19946
|
path: _path + ".messages",
|
|
19461
19947
|
expected: "(Array<Message> | undefined)",
|
|
19462
19948
|
value: input.messages
|
|
19463
|
-
}),
|
|
19949
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
19464
19950
|
if (["type", "directory", "filename", "renders", "draft", "remote", "published", "asset", "connection", "render", "error", "messages"].some(prop => key === prop))
|
|
19465
19951
|
return true;
|
|
19466
19952
|
const value = input[key];
|
|
@@ -19858,8 +20344,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
19858
20344
|
}; })()(input);
|
|
19859
20345
|
}
|
|
19860
20346
|
case ":published": {
|
|
19861
|
-
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) && (
|
|
19862
|
-
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))
|
|
19863
20349
|
return true;
|
|
19864
20350
|
const value = input[key];
|
|
19865
20351
|
if (undefined === value)
|
|
@@ -19869,30 +20355,50 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
19869
20355
|
path: _path + ".type",
|
|
19870
20356
|
expected: "string",
|
|
19871
20357
|
value: input.type
|
|
19872
|
-
}), "string" === typeof input.parent || _report(_exceptionable, {
|
|
20358
|
+
}), undefined === input.parent || "string" === typeof input.parent || _report(_exceptionable, {
|
|
19873
20359
|
path: _path + ".parent",
|
|
19874
|
-
expected: "string",
|
|
20360
|
+
expected: "(string | undefined)",
|
|
19875
20361
|
value: input.parent
|
|
19876
|
-
}), (
|
|
20362
|
+
}), (null !== input.asset || _report(_exceptionable, {
|
|
19877
20363
|
path: _path + ".asset",
|
|
19878
|
-
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)",
|
|
19879
20369
|
value: input.asset
|
|
19880
|
-
})) && input.asset.map((elem,
|
|
19881
|
-
path: _path + ".asset[" +
|
|
20370
|
+
})) && input.asset.map((elem, _index3) => "string" === typeof elem || _report(_exceptionable, {
|
|
20371
|
+
path: _path + ".asset[" + _index3 + "]",
|
|
19882
20372
|
expected: "string",
|
|
19883
20373
|
value: elem
|
|
19884
20374
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
19885
20375
|
path: _path + ".asset",
|
|
19886
|
-
expected: "Array<string>",
|
|
20376
|
+
expected: "(Array<string> | string | undefined)",
|
|
19887
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
|
|
19888
20390
|
}), "number" === typeof input.time || _report(_exceptionable, {
|
|
19889
20391
|
path: _path + ".time",
|
|
19890
20392
|
expected: "number",
|
|
19891
20393
|
value: input.time
|
|
19892
|
-
}), "string" === typeof input.connection || _report(_exceptionable, {
|
|
20394
|
+
}), undefined === input.connection || "string" === typeof input.connection || _report(_exceptionable, {
|
|
19893
20395
|
path: _path + ".connection",
|
|
19894
|
-
expected: "string",
|
|
20396
|
+
expected: "(string | undefined)",
|
|
19895
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
|
|
19896
20402
|
}), undefined === input.user || "string" === typeof input.user || _report(_exceptionable, {
|
|
19897
20403
|
path: _path + ".user",
|
|
19898
20404
|
expected: "(string | undefined)",
|
|
@@ -19901,8 +20407,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
19901
20407
|
path: _path + ".error",
|
|
19902
20408
|
expected: "(boolean | undefined)",
|
|
19903
20409
|
value: input.error
|
|
19904
|
-
}),
|
|
19905
|
-
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))
|
|
19906
20412
|
return true;
|
|
19907
20413
|
const value = input[key];
|
|
19908
20414
|
if (undefined === value)
|
|
@@ -23060,8 +23566,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23060
23566
|
}; })()(input);
|
|
23061
23567
|
}
|
|
23062
23568
|
case ":search": {
|
|
23063
|
-
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,
|
|
23064
|
-
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))
|
|
23065
23571
|
return true;
|
|
23066
23572
|
const value = input[key];
|
|
23067
23573
|
if (undefined === value)
|
|
@@ -23072,20 +23578,34 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23072
23578
|
if (undefined === value)
|
|
23073
23579
|
return true;
|
|
23074
23580
|
return "asc" === value || "desc" === value;
|
|
23075
|
-
}); 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, {
|
|
23076
23596
|
path: _path + ".type",
|
|
23077
|
-
expected: "(\"conditions_and\" | undefined)",
|
|
23597
|
+
expected: "(\"conditions_and\" | \"conditions_or\" | undefined)",
|
|
23078
23598
|
value: input.type
|
|
23079
23599
|
}), undefined === input.sort || (Array.isArray(input.sort) || _report(_exceptionable, {
|
|
23080
23600
|
path: _path + ".sort",
|
|
23081
23601
|
expected: "(Array<__type> | undefined)",
|
|
23082
23602
|
value: input.sort
|
|
23083
|
-
})) && input.sort.map((elem,
|
|
23084
|
-
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 + "]",
|
|
23085
23605
|
expected: "__type",
|
|
23086
23606
|
value: elem
|
|
23087
|
-
})) && _vo1(elem, _path + ".sort[" +
|
|
23088
|
-
path: _path + ".sort[" +
|
|
23607
|
+
})) && _vo1(elem, _path + ".sort[" + _index4 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
23608
|
+
path: _path + ".sort[" + _index4 + "]",
|
|
23089
23609
|
expected: "__type",
|
|
23090
23610
|
value: elem
|
|
23091
23611
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -23104,20 +23624,32 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23104
23624
|
path: _path + ".showHidden",
|
|
23105
23625
|
expected: "(boolean | undefined)",
|
|
23106
23626
|
value: input.showHidden
|
|
23107
|
-
}), 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, {
|
|
23108
23628
|
path: _path + ".view",
|
|
23109
|
-
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)",
|
|
23110
23630
|
value: input.view
|
|
23111
|
-
}), 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, {
|
|
23112
23644
|
path: _path + ".conditions",
|
|
23113
|
-
expected: "(Array<
|
|
23645
|
+
expected: "(Array<SearchCondition> | undefined)",
|
|
23114
23646
|
value: input.conditions
|
|
23115
23647
|
}), null === input.visibleColumnKeys || undefined === input.visibleColumnKeys || (Array.isArray(input.visibleColumnKeys) || _report(_exceptionable, {
|
|
23116
23648
|
path: _path + ".visibleColumnKeys",
|
|
23117
23649
|
expected: "(Array<string> | null | undefined)",
|
|
23118
23650
|
value: input.visibleColumnKeys
|
|
23119
|
-
})) && input.visibleColumnKeys.map((elem,
|
|
23120
|
-
path: _path + ".visibleColumnKeys[" +
|
|
23651
|
+
})) && input.visibleColumnKeys.map((elem, _index6) => "string" === typeof elem || _report(_exceptionable, {
|
|
23652
|
+
path: _path + ".visibleColumnKeys[" + _index6 + "]",
|
|
23121
23653
|
expected: "string",
|
|
23122
23654
|
value: elem
|
|
23123
23655
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -23128,8 +23660,24 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23128
23660
|
path: _path + ".connectionId",
|
|
23129
23661
|
expected: "(null | string | undefined)",
|
|
23130
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
|
|
23131
23679
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
23132
|
-
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))
|
|
23133
23681
|
return true;
|
|
23134
23682
|
const value = input[key];
|
|
23135
23683
|
if (undefined === value)
|
|
@@ -23153,7 +23701,63 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23153
23701
|
expected: "(\"asc\" | \"desc\")",
|
|
23154
23702
|
value: value
|
|
23155
23703
|
});
|
|
23156
|
-
}).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 => {
|
|
23157
23761
|
if (false === __is(input)) {
|
|
23158
23762
|
errors = [];
|
|
23159
23763
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
@@ -23183,16 +23787,16 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23183
23787
|
}; })()(input);
|
|
23184
23788
|
}
|
|
23185
23789
|
case ":search?": {
|
|
23186
|
-
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 => {
|
|
23187
23791
|
if (["hits", "total", "relation", "error"].some(prop => key === prop))
|
|
23188
23792
|
return true;
|
|
23189
23793
|
const value = input[key];
|
|
23190
23794
|
if (undefined === value)
|
|
23191
23795
|
return true;
|
|
23192
23796
|
return false;
|
|
23193
|
-
})); 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, {
|
|
23194
23798
|
path: _path + ".hits",
|
|
23195
|
-
expected: "Array<string>",
|
|
23799
|
+
expected: "(Array<string> | undefined)",
|
|
23196
23800
|
value: input.hits
|
|
23197
23801
|
})) && input.hits.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
|
|
23198
23802
|
path: _path + ".hits[" + _index2 + "]",
|
|
@@ -23200,7 +23804,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23200
23804
|
value: elem
|
|
23201
23805
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
23202
23806
|
path: _path + ".hits",
|
|
23203
|
-
expected: "Array<string>",
|
|
23807
|
+
expected: "(Array<string> | undefined)",
|
|
23204
23808
|
value: input.hits
|
|
23205
23809
|
}), undefined === input.total || "number" === typeof input.total || _report(_exceptionable, {
|
|
23206
23810
|
path: _path + ".total",
|
|
@@ -23214,7 +23818,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23214
23818
|
path: _path + ".error",
|
|
23215
23819
|
expected: "(string | undefined)",
|
|
23216
23820
|
value: input.error
|
|
23217
|
-
}),
|
|
23821
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
23218
23822
|
if (["hits", "total", "relation", "error"].some(prop => key === prop))
|
|
23219
23823
|
return true;
|
|
23220
23824
|
const value = input[key];
|
|
@@ -23230,17 +23834,147 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23230
23834
|
"Please remove the property next time."
|
|
23231
23835
|
].join("\n")
|
|
23232
23836
|
});
|
|
23233
|
-
}).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 => {
|
|
23234
23968
|
if (false === __is(input)) {
|
|
23235
23969
|
errors = [];
|
|
23236
23970
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
23237
|
-
((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, {
|
|
23238
23972
|
path: _path + "",
|
|
23239
|
-
expected: "
|
|
23973
|
+
expected: "SearchDomainVisibleColumnKeysRecord",
|
|
23240
23974
|
value: input
|
|
23241
23975
|
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
23242
23976
|
path: _path + "",
|
|
23243
|
-
expected: "
|
|
23977
|
+
expected: "SearchDomainVisibleColumnKeysRecord",
|
|
23244
23978
|
value: input
|
|
23245
23979
|
}))(input, "$input", true);
|
|
23246
23980
|
const success = 0 === errors.length;
|
|
@@ -23260,8 +23994,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23260
23994
|
}; })()(input);
|
|
23261
23995
|
}
|
|
23262
23996
|
case ":settings": {
|
|
23263
|
-
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
|
|
23264
|
-
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))
|
|
23265
23999
|
return true;
|
|
23266
24000
|
const value = input[key];
|
|
23267
24001
|
if (undefined === value)
|
|
@@ -23696,8 +24430,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23696
24430
|
if (undefined === value)
|
|
23697
24431
|
return true;
|
|
23698
24432
|
return false;
|
|
23699
|
-
})); const _io66 = (input, _exceptionable = true) => (undefined === input.maxHeight || "number" === typeof input.maxHeight) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23700
|
-
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))
|
|
23701
24435
|
return true;
|
|
23702
24436
|
const value = input[key];
|
|
23703
24437
|
if (undefined === value)
|
|
@@ -23745,8 +24479,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23745
24479
|
if (undefined === value)
|
|
23746
24480
|
return true;
|
|
23747
24481
|
return false;
|
|
23748
|
-
})); 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 => {
|
|
23749
|
-
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))
|
|
23750
24484
|
return true;
|
|
23751
24485
|
const value = input[key];
|
|
23752
24486
|
if (undefined === value)
|
|
@@ -23771,7 +24505,14 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23771
24505
|
if (undefined === value)
|
|
23772
24506
|
return true;
|
|
23773
24507
|
return Array.isArray(value) && value.every((elem, _index30) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem);
|
|
23774
|
-
}); 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, {
|
|
23775
24516
|
path: _path + ".autoLogoutTime",
|
|
23776
24517
|
expected: "(number | undefined)",
|
|
23777
24518
|
value: input.autoLogoutTime
|
|
@@ -23827,16 +24568,16 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23827
24568
|
path: _path + ".exclusiveTagGroups",
|
|
23828
24569
|
expected: "(Array<Array<string>> | undefined)",
|
|
23829
24570
|
value: input.exclusiveTagGroups
|
|
23830
|
-
})) && input.exclusiveTagGroups.map((elem,
|
|
23831
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
24571
|
+
})) && input.exclusiveTagGroups.map((elem, _index32) => (Array.isArray(elem) || _report(_exceptionable, {
|
|
24572
|
+
path: _path + ".exclusiveTagGroups[" + _index32 + "]",
|
|
23832
24573
|
expected: "Array<string>",
|
|
23833
24574
|
value: elem
|
|
23834
|
-
})) && elem.map((elem,
|
|
23835
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
24575
|
+
})) && elem.map((elem, _index33) => "string" === typeof elem || _report(_exceptionable, {
|
|
24576
|
+
path: _path + ".exclusiveTagGroups[" + _index32 + "][" + _index33 + "]",
|
|
23836
24577
|
expected: "string",
|
|
23837
24578
|
value: elem
|
|
23838
24579
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
23839
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
24580
|
+
path: _path + ".exclusiveTagGroups[" + _index32 + "]",
|
|
23840
24581
|
expected: "Array<string>",
|
|
23841
24582
|
value: elem
|
|
23842
24583
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -23955,12 +24696,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23955
24696
|
path: _path + ".commands",
|
|
23956
24697
|
expected: "(Array<__type>.o4 | undefined)",
|
|
23957
24698
|
value: input.commands
|
|
23958
|
-
})) && input.commands.map((elem,
|
|
23959
|
-
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 + "]",
|
|
23960
24701
|
expected: "__type.o50",
|
|
23961
24702
|
value: elem
|
|
23962
|
-
})) && _vo57(elem, _path + ".commands[" +
|
|
23963
|
-
path: _path + ".commands[" +
|
|
24703
|
+
})) && _vo57(elem, _path + ".commands[" + _index34 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
24704
|
+
path: _path + ".commands[" + _index34 + "]",
|
|
23964
24705
|
expected: "__type.o50",
|
|
23965
24706
|
value: elem
|
|
23966
24707
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -23971,8 +24712,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23971
24712
|
path: _path + ".predefinedTags",
|
|
23972
24713
|
expected: "(Array<string> | undefined)",
|
|
23973
24714
|
value: input.predefinedTags
|
|
23974
|
-
})) && input.predefinedTags.map((elem,
|
|
23975
|
-
path: _path + ".predefinedTags[" +
|
|
24715
|
+
})) && input.predefinedTags.map((elem, _index35) => "string" === typeof elem || _report(_exceptionable, {
|
|
24716
|
+
path: _path + ".predefinedTags[" + _index35 + "]",
|
|
23976
24717
|
expected: "string",
|
|
23977
24718
|
value: elem
|
|
23978
24719
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -23999,12 +24740,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23999
24740
|
path: _path + ".hiddenPreviews",
|
|
24000
24741
|
expected: "(Array<__type>.o5 | undefined)",
|
|
24001
24742
|
value: input.hiddenPreviews
|
|
24002
|
-
})) && input.hiddenPreviews.map((elem,
|
|
24003
|
-
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 + "]",
|
|
24004
24745
|
expected: "__type.o61",
|
|
24005
24746
|
value: elem
|
|
24006
|
-
})) && _vo68(elem, _path + ".hiddenPreviews[" +
|
|
24007
|
-
path: _path + ".hiddenPreviews[" +
|
|
24747
|
+
})) && _vo68(elem, _path + ".hiddenPreviews[" + _index36 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
24748
|
+
path: _path + ".hiddenPreviews[" + _index36 + "]",
|
|
24008
24749
|
expected: "__type.o61",
|
|
24009
24750
|
value: elem
|
|
24010
24751
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -24055,8 +24796,16 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24055
24796
|
path: _path + ".suppressDeleteAlert",
|
|
24056
24797
|
expected: "(boolean | undefined)",
|
|
24057
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
|
|
24058
24807
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
24059
|
-
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))
|
|
24060
24809
|
return true;
|
|
24061
24810
|
const value = input[key];
|
|
24062
24811
|
if (undefined === value)
|
|
@@ -24330,8 +25079,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24330
25079
|
path: _path + ".sortOrder",
|
|
24331
25080
|
expected: "(Array<string> | undefined)",
|
|
24332
25081
|
value: input.sortOrder
|
|
24333
|
-
})) && input.sortOrder.map((elem,
|
|
24334
|
-
path: _path + ".sortOrder[" +
|
|
25082
|
+
})) && input.sortOrder.map((elem, _index37) => "string" === typeof elem || _report(_exceptionable, {
|
|
25083
|
+
path: _path + ".sortOrder[" + _index37 + "]",
|
|
24335
25084
|
expected: "string",
|
|
24336
25085
|
value: elem
|
|
24337
25086
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -24358,8 +25107,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24358
25107
|
path: _path + ".exclude",
|
|
24359
25108
|
expected: "(Array<string> | undefined)",
|
|
24360
25109
|
value: input.exclude
|
|
24361
|
-
})) && input.exclude.map((elem,
|
|
24362
|
-
path: _path + ".exclude[" +
|
|
25110
|
+
})) && input.exclude.map((elem, _index38) => "string" === typeof elem || _report(_exceptionable, {
|
|
25111
|
+
path: _path + ".exclude[" + _index38 + "]",
|
|
24363
25112
|
expected: "string",
|
|
24364
25113
|
value: elem
|
|
24365
25114
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -24386,8 +25135,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24386
25135
|
path: _path + ".include",
|
|
24387
25136
|
expected: "(Array<string> | undefined)",
|
|
24388
25137
|
value: input.include
|
|
24389
|
-
})) && input.include.map((elem,
|
|
24390
|
-
path: _path + ".include[" +
|
|
25138
|
+
})) && input.include.map((elem, _index39) => "string" === typeof elem || _report(_exceptionable, {
|
|
25139
|
+
path: _path + ".include[" + _index39 + "]",
|
|
24391
25140
|
expected: "string",
|
|
24392
25141
|
value: elem
|
|
24393
25142
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -24398,8 +25147,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24398
25147
|
path: _path + ".exclude",
|
|
24399
25148
|
expected: "(Array<string> | undefined)",
|
|
24400
25149
|
value: input.exclude
|
|
24401
|
-
})) && input.exclude.map((elem,
|
|
24402
|
-
path: _path + ".exclude[" +
|
|
25150
|
+
})) && input.exclude.map((elem, _index40) => "string" === typeof elem || _report(_exceptionable, {
|
|
25151
|
+
path: _path + ".exclude[" + _index40 + "]",
|
|
24403
25152
|
expected: "string",
|
|
24404
25153
|
value: elem
|
|
24405
25154
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -24426,8 +25175,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24426
25175
|
path: _path + ".include",
|
|
24427
25176
|
expected: "(Array<string> | undefined)",
|
|
24428
25177
|
value: input.include
|
|
24429
|
-
})) && input.include.map((elem,
|
|
24430
|
-
path: _path + ".include[" +
|
|
25178
|
+
})) && input.include.map((elem, _index41) => "string" === typeof elem || _report(_exceptionable, {
|
|
25179
|
+
path: _path + ".include[" + _index41 + "]",
|
|
24431
25180
|
expected: "string",
|
|
24432
25181
|
value: elem
|
|
24433
25182
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -24438,8 +25187,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24438
25187
|
path: _path + ".exclude",
|
|
24439
25188
|
expected: "(Array<string> | undefined)",
|
|
24440
25189
|
value: input.exclude
|
|
24441
|
-
})) && input.exclude.map((elem,
|
|
24442
|
-
path: _path + ".exclude[" +
|
|
25190
|
+
})) && input.exclude.map((elem, _index42) => "string" === typeof elem || _report(_exceptionable, {
|
|
25191
|
+
path: _path + ".exclude[" + _index42 + "]",
|
|
24443
25192
|
expected: "string",
|
|
24444
25193
|
value: elem
|
|
24445
25194
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -24466,8 +25215,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24466
25215
|
path: _path + ".include",
|
|
24467
25216
|
expected: "(Array<string> | undefined)",
|
|
24468
25217
|
value: input.include
|
|
24469
|
-
})) && input.include.map((elem,
|
|
24470
|
-
path: _path + ".include[" +
|
|
25218
|
+
})) && input.include.map((elem, _index43) => "string" === typeof elem || _report(_exceptionable, {
|
|
25219
|
+
path: _path + ".include[" + _index43 + "]",
|
|
24471
25220
|
expected: "string",
|
|
24472
25221
|
value: elem
|
|
24473
25222
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -24478,8 +25227,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24478
25227
|
path: _path + ".exclude",
|
|
24479
25228
|
expected: "(Array<string> | undefined)",
|
|
24480
25229
|
value: input.exclude
|
|
24481
|
-
})) && input.exclude.map((elem,
|
|
24482
|
-
path: _path + ".exclude[" +
|
|
25230
|
+
})) && input.exclude.map((elem, _index44) => "string" === typeof elem || _report(_exceptionable, {
|
|
25231
|
+
path: _path + ".exclude[" + _index44 + "]",
|
|
24483
25232
|
expected: "string",
|
|
24484
25233
|
value: elem
|
|
24485
25234
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -24606,12 +25355,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24606
25355
|
path: _path + ".colorTags",
|
|
24607
25356
|
expected: "(Array<PromotedTag> | undefined)",
|
|
24608
25357
|
value: input.colorTags
|
|
24609
|
-
})) && input.colorTags.map((elem,
|
|
24610
|
-
path: _path + ".colorTags[" +
|
|
25358
|
+
})) && input.colorTags.map((elem, _index45) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
25359
|
+
path: _path + ".colorTags[" + _index45 + "]",
|
|
24611
25360
|
expected: "PromotedTag",
|
|
24612
25361
|
value: elem
|
|
24613
|
-
})) && _vo21(elem, _path + ".colorTags[" +
|
|
24614
|
-
path: _path + ".colorTags[" +
|
|
25362
|
+
})) && _vo21(elem, _path + ".colorTags[" + _index45 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
25363
|
+
path: _path + ".colorTags[" + _index45 + "]",
|
|
24615
25364
|
expected: "PromotedTag",
|
|
24616
25365
|
value: elem
|
|
24617
25366
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -24751,8 +25500,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24751
25500
|
path: _path + ".favorites",
|
|
24752
25501
|
expected: "(Array<string> | undefined)",
|
|
24753
25502
|
value: input.favorites
|
|
24754
|
-
})) && input.favorites.map((elem,
|
|
24755
|
-
path: _path + ".favorites[" +
|
|
25503
|
+
})) && input.favorites.map((elem, _index46) => "string" === typeof elem || _report(_exceptionable, {
|
|
25504
|
+
path: _path + ".favorites[" + _index46 + "]",
|
|
24756
25505
|
expected: "string",
|
|
24757
25506
|
value: elem
|
|
24758
25507
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -25195,8 +25944,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25195
25944
|
path: _path + ".playbackRates",
|
|
25196
25945
|
expected: "(Array<number> | undefined)",
|
|
25197
25946
|
value: input.playbackRates
|
|
25198
|
-
})) && input.playbackRates.map((elem,
|
|
25199
|
-
path: _path + ".playbackRates[" +
|
|
25947
|
+
})) && input.playbackRates.map((elem, _index47) => "number" === typeof elem || _report(_exceptionable, {
|
|
25948
|
+
path: _path + ".playbackRates[" + _index47 + "]",
|
|
25200
25949
|
expected: "number",
|
|
25201
25950
|
value: elem
|
|
25202
25951
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -25223,12 +25972,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25223
25972
|
path: _path + ".guides",
|
|
25224
25973
|
expected: "(Array<__type>.o2 | undefined)",
|
|
25225
25974
|
value: input.guides
|
|
25226
|
-
})) && input.guides.map((elem,
|
|
25227
|
-
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 + "]",
|
|
25228
25977
|
expected: "__type.o41",
|
|
25229
25978
|
value: elem
|
|
25230
|
-
})) && _vo48(elem, _path + ".guides[" +
|
|
25231
|
-
path: _path + ".guides[" +
|
|
25979
|
+
})) && _vo48(elem, _path + ".guides[" + _index48 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
25980
|
+
path: _path + ".guides[" + _index48 + "]",
|
|
25232
25981
|
expected: "__type.o41",
|
|
25233
25982
|
value: elem
|
|
25234
25983
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -25347,12 +26096,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25347
26096
|
path: _path + ".suggestions",
|
|
25348
26097
|
expected: "(Array<__type> | undefined)",
|
|
25349
26098
|
value: input.suggestions
|
|
25350
|
-
})) && input.suggestions.map((elem,
|
|
25351
|
-
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 + "]",
|
|
25352
26101
|
expected: "__type.o39",
|
|
25353
26102
|
value: elem
|
|
25354
|
-
})) && _vo46(elem, _path + ".suggestions[" +
|
|
25355
|
-
path: _path + ".suggestions[" +
|
|
26103
|
+
})) && _vo46(elem, _path + ".suggestions[" + _index49 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
26104
|
+
path: _path + ".suggestions[" + _index49 + "]",
|
|
25356
26105
|
expected: "__type.o39",
|
|
25357
26106
|
value: elem
|
|
25358
26107
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -25363,12 +26112,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25363
26112
|
path: _path + ".colors",
|
|
25364
26113
|
expected: "(Array<__type>.o1 | undefined)",
|
|
25365
26114
|
value: input.colors
|
|
25366
|
-
})) && input.colors.map((elem,
|
|
25367
|
-
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 + "]",
|
|
25368
26117
|
expected: "__type.o40",
|
|
25369
26118
|
value: elem
|
|
25370
|
-
})) && _vo47(elem, _path + ".colors[" +
|
|
25371
|
-
path: _path + ".colors[" +
|
|
26119
|
+
})) && _vo47(elem, _path + ".colors[" + _index50 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
26120
|
+
path: _path + ".colors[" + _index50 + "]",
|
|
25372
26121
|
expected: "__type.o40",
|
|
25373
26122
|
value: elem
|
|
25374
26123
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -25379,8 +26128,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25379
26128
|
path: _path + ".overridableProperties",
|
|
25380
26129
|
expected: "(Array<keyof SubtitleStyle | null> | undefined)",
|
|
25381
26130
|
value: input.overridableProperties
|
|
25382
|
-
})) && input.overridableProperties.map((elem,
|
|
25383
|
-
path: _path + ".overridableProperties[" +
|
|
26131
|
+
})) && input.overridableProperties.map((elem, _index51) => null === elem || true === _vv52.has(elem) || _report(_exceptionable, {
|
|
26132
|
+
path: _path + ".overridableProperties[" + _index51 + "]",
|
|
25384
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)",
|
|
25385
26134
|
value: elem
|
|
25386
26135
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -25571,12 +26320,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25571
26320
|
path: _path + ".text",
|
|
25572
26321
|
expected: "(Array<__type>.o3 | undefined)",
|
|
25573
26322
|
value: input.text
|
|
25574
|
-
})) && input.text.map((elem,
|
|
25575
|
-
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 + "]",
|
|
25576
26325
|
expected: "__type.o46",
|
|
25577
26326
|
value: elem
|
|
25578
|
-
})) && _vo53(elem, _path + ".text[" +
|
|
25579
|
-
path: _path + ".text[" +
|
|
26327
|
+
})) && _vo53(elem, _path + ".text[" + _index53 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
26328
|
+
path: _path + ".text[" + _index53 + "]",
|
|
25580
26329
|
expected: "__type.o46",
|
|
25581
26330
|
value: elem
|
|
25582
26331
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -25647,8 +26396,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25647
26396
|
path: _path + ".args",
|
|
25648
26397
|
expected: "(Array<string> | undefined)",
|
|
25649
26398
|
value: input.args
|
|
25650
|
-
})) && input.args.map((elem,
|
|
25651
|
-
path: _path + ".args[" +
|
|
26399
|
+
})) && input.args.map((elem, _index54) => "string" === typeof elem || _report(_exceptionable, {
|
|
26400
|
+
path: _path + ".args[" + _index54 + "]",
|
|
25652
26401
|
expected: "string",
|
|
25653
26402
|
value: elem
|
|
25654
26403
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -25747,8 +26496,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25747
26496
|
path: _path + ".args",
|
|
25748
26497
|
expected: "(Array<string> | undefined)",
|
|
25749
26498
|
value: input.args
|
|
25750
|
-
})) && input.args.map((elem,
|
|
25751
|
-
path: _path + ".args[" +
|
|
26499
|
+
})) && input.args.map((elem, _index55) => "string" === typeof elem || _report(_exceptionable, {
|
|
26500
|
+
path: _path + ".args[" + _index55 + "]",
|
|
25752
26501
|
expected: "string",
|
|
25753
26502
|
value: elem
|
|
25754
26503
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -25951,7 +26700,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25951
26700
|
path: _path + ".search",
|
|
25952
26701
|
expected: "(__type.o58 | undefined)",
|
|
25953
26702
|
value: input.search
|
|
25954
|
-
}), undefined === input.sortMode || true ===
|
|
26703
|
+
}), undefined === input.sortMode || true === _vv56.has(input.sortMode) || _report(_exceptionable, {
|
|
25955
26704
|
path: _path + ".sortMode",
|
|
25956
26705
|
expected: "(\"az\" | \"default\" | \"earliestdeadline\" | \"latestdeadline\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
|
|
25957
26706
|
value: input.sortMode
|
|
@@ -25995,8 +26744,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25995
26744
|
path: _path + ".maxHeight",
|
|
25996
26745
|
expected: "(number | undefined)",
|
|
25997
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
|
|
25998
26751
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
25999
|
-
if (["maxHeight"].some(prop => key === prop))
|
|
26752
|
+
if (["maxHeight", "titleLines"].some(prop => key === prop))
|
|
26000
26753
|
return true;
|
|
26001
26754
|
const value = input[key];
|
|
26002
26755
|
if (undefined === value)
|
|
@@ -26015,8 +26768,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26015
26768
|
path: _path + ".fontFamilies",
|
|
26016
26769
|
expected: "(Array<string> | undefined)",
|
|
26017
26770
|
value: input.fontFamilies
|
|
26018
|
-
})) && input.fontFamilies.map((elem,
|
|
26019
|
-
path: _path + ".fontFamilies[" +
|
|
26771
|
+
})) && input.fontFamilies.map((elem, _index57) => "string" === typeof elem || _report(_exceptionable, {
|
|
26772
|
+
path: _path + ".fontFamilies[" + _index57 + "]",
|
|
26020
26773
|
expected: "string",
|
|
26021
26774
|
value: elem
|
|
26022
26775
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -26167,6 +26920,14 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26167
26920
|
path: _path + ".utils",
|
|
26168
26921
|
expected: "(boolean | undefined)",
|
|
26169
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
|
|
26170
26931
|
}), undefined === input.history || "boolean" === typeof input.history || _report(_exceptionable, {
|
|
26171
26932
|
path: _path + ".history",
|
|
26172
26933
|
expected: "(boolean | undefined)",
|
|
@@ -26232,7 +26993,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26232
26993
|
expected: "(boolean | undefined)",
|
|
26233
26994
|
value: input.systemHealth
|
|
26234
26995
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
26235
|
-
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))
|
|
26236
26997
|
return true;
|
|
26237
26998
|
const value = input[key];
|
|
26238
26999
|
if (undefined === value)
|
|
@@ -26275,8 +27036,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26275
27036
|
path: _path + ".comment",
|
|
26276
27037
|
expected: "(Array<NotificationReason> | undefined)",
|
|
26277
27038
|
value: input.comment
|
|
26278
|
-
})) && input.comment.map((elem,
|
|
26279
|
-
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 + "]",
|
|
26280
27041
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
26281
27042
|
value: elem
|
|
26282
27043
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -26287,8 +27048,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26287
27048
|
path: _path + ".assigned",
|
|
26288
27049
|
expected: "(Array<NotificationReason> | undefined)",
|
|
26289
27050
|
value: input.assigned
|
|
26290
|
-
})) && input.assigned.map((elem,
|
|
26291
|
-
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 + "]",
|
|
26292
27053
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
26293
27054
|
value: elem
|
|
26294
27055
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -26299,8 +27060,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26299
27060
|
path: _path + ".unassigned",
|
|
26300
27061
|
expected: "(Array<NotificationReason> | undefined)",
|
|
26301
27062
|
value: input.unassigned
|
|
26302
|
-
})) && input.unassigned.map((elem,
|
|
26303
|
-
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 + "]",
|
|
26304
27065
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
26305
27066
|
value: elem
|
|
26306
27067
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -26339,8 +27100,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26339
27100
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
26340
27101
|
expected: "Array<NotificationReason>",
|
|
26341
27102
|
value: value
|
|
26342
|
-
})) && value.map((elem,
|
|
26343
|
-
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 + "]",
|
|
26344
27105
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
26345
27106
|
value: elem
|
|
26346
27107
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -26348,7 +27109,55 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26348
27109
|
expected: "Array<NotificationReason>",
|
|
26349
27110
|
value: value
|
|
26350
27111
|
});
|
|
26351
|
-
}).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 => {
|
|
26352
27161
|
if (false === __is(input)) {
|
|
26353
27162
|
errors = [];
|
|
26354
27163
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
@@ -26377,6 +27186,301 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26377
27186
|
};
|
|
26378
27187
|
}; })()(input);
|
|
26379
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
|
+
}
|
|
26380
27484
|
case ":storyboard": {
|
|
26381
27485
|
return (() => { const _io0 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
26382
27486
|
const value = input[key];
|