@nxtedition/types 23.0.55 → 23.0.57
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/nxtpression.d.ts +14 -8
- package/dist/records/domains/asset.d.ts +4 -0
- 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/validate/assert-guard.js +193 -132
- package/dist/records/validate/assert.js +194 -132
- package/dist/records/validate/is.js +20 -20
- package/dist/records/validate/schemas.js +86 -39
- package/dist/records/validate/stringify.js +31 -31
- package/dist/records/validate/utils.js +1 -1
- package/dist/records/validate/validate-equals.js +271 -180
- package/dist/records/validate/validate.js +185 -123
- package/package.json +1 -1
|
@@ -2132,6 +2132,48 @@ function _validateDomainRecord(domain, input) {
|
|
|
2132
2132
|
};
|
|
2133
2133
|
}; })()(input);
|
|
2134
2134
|
}
|
|
2135
|
+
case ":asset.rawTypes?": {
|
|
2136
|
+
return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.value || (Array.isArray(input.value) || _report(_exceptionable, {
|
|
2137
|
+
path: _path + ".value",
|
|
2138
|
+
expected: "(Array<string> | undefined)",
|
|
2139
|
+
value: input.value
|
|
2140
|
+
})) && input.value.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
|
|
2141
|
+
path: _path + ".value[" + _index2 + "]",
|
|
2142
|
+
expected: "string",
|
|
2143
|
+
value: elem
|
|
2144
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
2145
|
+
path: _path + ".value",
|
|
2146
|
+
expected: "(Array<string> | undefined)",
|
|
2147
|
+
value: input.value
|
|
2148
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
2149
|
+
if (false === __is(input)) {
|
|
2150
|
+
errors = [];
|
|
2151
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
2152
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
2153
|
+
path: _path + "",
|
|
2154
|
+
expected: "AssetRawTypesProvidedRecord",
|
|
2155
|
+
value: input
|
|
2156
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
2157
|
+
path: _path + "",
|
|
2158
|
+
expected: "AssetRawTypesProvidedRecord",
|
|
2159
|
+
value: input
|
|
2160
|
+
}))(input, "$input", true);
|
|
2161
|
+
const success = 0 === errors.length;
|
|
2162
|
+
return success ? {
|
|
2163
|
+
success,
|
|
2164
|
+
data: input
|
|
2165
|
+
} : {
|
|
2166
|
+
success,
|
|
2167
|
+
errors,
|
|
2168
|
+
data: input
|
|
2169
|
+
};
|
|
2170
|
+
}
|
|
2171
|
+
return {
|
|
2172
|
+
success: true,
|
|
2173
|
+
data: input
|
|
2174
|
+
};
|
|
2175
|
+
}; })()(input);
|
|
2176
|
+
}
|
|
2135
2177
|
case ":asset.types?": {
|
|
2136
2178
|
return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.value || (Array.isArray(input.value) || _report(_exceptionable, {
|
|
2137
2179
|
path: _path + ".value",
|
|
@@ -10298,29 +10340,29 @@ function _validateDomainRecord(domain, input) {
|
|
|
10298
10340
|
}; })()(input);
|
|
10299
10341
|
}
|
|
10300
10342
|
case ":publish": {
|
|
10301
|
-
return (() => { const _io0 = input =>
|
|
10343
|
+
return (() => { const _io0 = input => (null === input.type || undefined === input.type) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && true && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io15(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io16(elem))); const _io1 = input => (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io2(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io10(input.profile)); const _io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (null === input.input || undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io3(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io4(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io7(input.video)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io9(input.transcribe)); const _io3 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file); const _io4 = input => Object.keys(input).every(key => {
|
|
10302
10344
|
const value = input[key];
|
|
10303
10345
|
if (undefined === value)
|
|
10304
10346
|
return true;
|
|
10305
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
10306
|
-
}); const
|
|
10347
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io5(value);
|
|
10348
|
+
}); const _io5 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io6(input.styleOverrides)); const _io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io7 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io8(input.crop); const _io8 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io9 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io10 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io11(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io12(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io13(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io14(input.subtitle))); const _io11 = input => "string" === typeof input.engine; const _io12 = input => "string" === typeof input.language; const _io13 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io14 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _io15 = input => "string" === typeof input.method; const _io16 = input => "number" === typeof input.level && "string" === typeof input.code && "string" === typeof input.msg; const _io17 = input => (undefined === input.type || "facebook" === input.type) && (undefined === input.pageId || "string" === typeof input.pageId) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && true && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io15(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io16(elem))); const _io18 = input => (undefined === input.type || "file" === input.type) && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io19(input.renders)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io23(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io24(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io27(input.published)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io15(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io16(elem))); const _io19 = input => Object.keys(input).every(key => {
|
|
10307
10349
|
const value = input[key];
|
|
10308
10350
|
if (undefined === value)
|
|
10309
10351
|
return true;
|
|
10310
10352
|
return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && _iu0(value));
|
|
10311
|
-
}); const _io20 = input => (undefined === input.name || "string" === typeof input.name) && "string" === typeof input.path && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene) && (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) &&
|
|
10353
|
+
}); const _io20 = input => (undefined === input.name || "string" === typeof input.name) && "string" === typeof input.path && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene) && (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io2(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io10(input.profile)); const _io21 = input => "object" === typeof input.__context && null !== input.__context && _io22(input.__context) && ("object" === typeof input.__returnValue && null !== input.__returnValue && _io20(input.__returnValue)); const _io22 = input => "object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) && _io18(input.publish) && "string" === typeof input.directory && "string" === typeof input.name; const _io23 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename); const _io24 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io25(input.renders)); const _io25 = input => Object.keys(input).every(key => {
|
|
10312
10354
|
const value = input[key];
|
|
10313
10355
|
if (undefined === value)
|
|
10314
10356
|
return true;
|
|
10315
10357
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io26(value);
|
|
10316
|
-
}); const _io26 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem &&
|
|
10358
|
+
}); const _io26 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io16(elem))) && true && (undefined === input.size || "number" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash) && (undefined === input.source || "string" === typeof input.source); const _io27 = input => (undefined === input.directory || "string" === typeof input.directory) && "string" === typeof input.filename; const _io28 = input => (undefined === input.type || "file" === input.type) && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io23(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && _io29(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io27(input.published)) && (null !== input.renders && undefined === input.renders) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io15(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io16(elem))); const _io29 = input => (undefined === input.id || "string" === typeof input.id) && "string" === typeof input.path && "string" === typeof input.filename && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && _io30(input.subtitle)) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && _io31(input.metafile)) && Object.keys(input).every(key => {
|
|
10317
10359
|
if (["id", "path", "filename", "directory", "subtitle", "metafile"].some(prop => key === prop))
|
|
10318
10360
|
return true;
|
|
10319
10361
|
const value = input[key];
|
|
10320
10362
|
if (undefined === value)
|
|
10321
10363
|
return true;
|
|
10322
10364
|
return true;
|
|
10323
|
-
}); const _io30 = input => "string" === typeof input.path; const _io31 = input => "string" === typeof input.path; const _io32 = input => "youtube" === input.type && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io33(input.draft)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render &&
|
|
10365
|
+
}); const _io30 = input => "string" === typeof input.path; const _io31 = input => "string" === typeof input.path; const _io32 = input => (undefined === input.type || "youtube" === input.type) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io33(input.draft)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io15(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io16(elem))); const _io33 = input => undefined === input.snippet || "object" === typeof input.snippet && null !== input.snippet && false === Array.isArray(input.snippet) && _io34(input.snippet); const _io34 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.description || "string" === typeof input.description); const _iu0 = input => (() => {
|
|
10324
10366
|
if (undefined !== input.path)
|
|
10325
10367
|
return _io20(input);
|
|
10326
10368
|
else if (undefined !== input.__context)
|
|
@@ -10328,40 +10370,21 @@ function _validateDomainRecord(domain, input) {
|
|
|
10328
10370
|
else
|
|
10329
10371
|
return false;
|
|
10330
10372
|
})(); const _iu1 = input => (() => {
|
|
10331
|
-
if (
|
|
10373
|
+
if (_io0(input))
|
|
10332
10374
|
return _io0(input);
|
|
10333
|
-
|
|
10334
|
-
return
|
|
10335
|
-
|
|
10375
|
+
if (_io17(input))
|
|
10376
|
+
return _io17(input);
|
|
10377
|
+
if (_io28(input))
|
|
10378
|
+
return _io28(input);
|
|
10379
|
+
if (_io18(input))
|
|
10380
|
+
return _io18(input);
|
|
10381
|
+
if (_io32(input))
|
|
10336
10382
|
return _io32(input);
|
|
10337
|
-
|
|
10338
|
-
|
|
10339
|
-
if (_io28(input))
|
|
10340
|
-
return _io28(input);
|
|
10341
|
-
if (_io18(input))
|
|
10342
|
-
return _io18(input);
|
|
10343
|
-
return false;
|
|
10344
|
-
})();
|
|
10345
|
-
})(); const _vo0 = (input, _path, _exceptionable = true) => [(undefined !== input.type || _report(_exceptionable, {
|
|
10346
|
-
path: _path + ".type",
|
|
10347
|
-
expected: "null",
|
|
10348
|
-
value: input.type
|
|
10349
|
-
})) && (null === input.type || _report(_exceptionable, {
|
|
10350
|
-
path: _path + ".type",
|
|
10351
|
-
expected: "null",
|
|
10352
|
-
value: input.type
|
|
10353
|
-
})), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
|
|
10354
|
-
path: _path + ".asset",
|
|
10355
|
-
expected: "(null | string | undefined)",
|
|
10356
|
-
value: input.asset
|
|
10357
|
-
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["facebook" === input.type || _report(_exceptionable, {
|
|
10383
|
+
return false;
|
|
10384
|
+
})(); const _vo0 = (input, _path, _exceptionable = true) => [null === input.type || undefined === input.type || _report(_exceptionable, {
|
|
10358
10385
|
path: _path + ".type",
|
|
10359
|
-
expected: "
|
|
10386
|
+
expected: "(null | undefined)",
|
|
10360
10387
|
value: input.type
|
|
10361
|
-
}), undefined === input.pageId || "string" === typeof input.pageId || _report(_exceptionable, {
|
|
10362
|
-
path: _path + ".pageId",
|
|
10363
|
-
expected: "(string | undefined)",
|
|
10364
|
-
value: input.pageId
|
|
10365
10388
|
}), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
|
|
10366
10389
|
path: _path + ".asset",
|
|
10367
10390
|
expected: "(null | string | undefined)",
|
|
@@ -10374,7 +10397,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10374
10397
|
path: _path + ".render",
|
|
10375
10398
|
expected: "(PublishRenderBase | undefined)",
|
|
10376
10399
|
value: input.render
|
|
10377
|
-
})) &&
|
|
10400
|
+
})) && _vo1(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
10378
10401
|
path: _path + ".render",
|
|
10379
10402
|
expected: "(PublishRenderBase | undefined)",
|
|
10380
10403
|
value: input.render
|
|
@@ -10382,7 +10405,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10382
10405
|
path: _path + ".error",
|
|
10383
10406
|
expected: "(__type.o9 | null | undefined)",
|
|
10384
10407
|
value: input.error
|
|
10385
|
-
})) &&
|
|
10408
|
+
})) && _vo15(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
10386
10409
|
path: _path + ".error",
|
|
10387
10410
|
expected: "(__type.o9 | null | undefined)",
|
|
10388
10411
|
value: input.error
|
|
@@ -10390,19 +10413,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
10390
10413
|
path: _path + ".messages",
|
|
10391
10414
|
expected: "(Array<Message> | undefined)",
|
|
10392
10415
|
value: input.messages
|
|
10393
|
-
})) && input.messages.map((elem,
|
|
10394
|
-
path: _path + ".messages[" +
|
|
10416
|
+
})) && input.messages.map((elem, _index10) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
10417
|
+
path: _path + ".messages[" + _index10 + "]",
|
|
10395
10418
|
expected: "Message",
|
|
10396
10419
|
value: elem
|
|
10397
|
-
})) &&
|
|
10398
|
-
path: _path + ".messages[" +
|
|
10420
|
+
})) && _vo16(elem, _path + ".messages[" + _index10 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
10421
|
+
path: _path + ".messages[" + _index10 + "]",
|
|
10399
10422
|
expected: "Message",
|
|
10400
10423
|
value: elem
|
|
10401
10424
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
10402
10425
|
path: _path + ".messages",
|
|
10403
10426
|
expected: "(Array<Message> | undefined)",
|
|
10404
10427
|
value: input.messages
|
|
10405
|
-
})].every(flag => flag); const
|
|
10428
|
+
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
10406
10429
|
path: _path + ".preset",
|
|
10407
10430
|
expected: "(string | undefined)",
|
|
10408
10431
|
value: input.preset
|
|
@@ -10414,7 +10437,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10414
10437
|
path: _path + ".scene",
|
|
10415
10438
|
expected: "(RenderSceneObject | undefined)",
|
|
10416
10439
|
value: input.scene
|
|
10417
|
-
})) &&
|
|
10440
|
+
})) && _vo2(input.scene, _path + ".scene", true && _exceptionable) || _report(_exceptionable, {
|
|
10418
10441
|
path: _path + ".scene",
|
|
10419
10442
|
expected: "(RenderSceneObject | undefined)",
|
|
10420
10443
|
value: input.scene
|
|
@@ -10422,11 +10445,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
10422
10445
|
path: _path + ".profile",
|
|
10423
10446
|
expected: "(RenderProfileObject | undefined)",
|
|
10424
10447
|
value: input.profile
|
|
10425
|
-
})) &&
|
|
10448
|
+
})) && _vo10(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
10426
10449
|
path: _path + ".profile",
|
|
10427
10450
|
expected: "(RenderProfileObject | undefined)",
|
|
10428
10451
|
value: input.profile
|
|
10429
|
-
})].every(flag => flag); const
|
|
10452
|
+
})].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
10430
10453
|
path: _path + ".id",
|
|
10431
10454
|
expected: "(string | undefined)",
|
|
10432
10455
|
value: input.id
|
|
@@ -10438,7 +10461,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10438
10461
|
path: _path + ".input",
|
|
10439
10462
|
expected: "(__type | null | undefined)",
|
|
10440
10463
|
value: input.input
|
|
10441
|
-
})) &&
|
|
10464
|
+
})) && _vo3(input.input, _path + ".input", true && _exceptionable) || _report(_exceptionable, {
|
|
10442
10465
|
path: _path + ".input",
|
|
10443
10466
|
expected: "(__type | null | undefined)",
|
|
10444
10467
|
value: input.input
|
|
@@ -10454,7 +10477,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10454
10477
|
path: _path + ".subtitleTracks",
|
|
10455
10478
|
expected: "(__type.o1 | undefined)",
|
|
10456
10479
|
value: input.subtitleTracks
|
|
10457
|
-
})) &&
|
|
10480
|
+
})) && _vo4(input.subtitleTracks, _path + ".subtitleTracks", true && _exceptionable) || _report(_exceptionable, {
|
|
10458
10481
|
path: _path + ".subtitleTracks",
|
|
10459
10482
|
expected: "(__type.o1 | undefined)",
|
|
10460
10483
|
value: input.subtitleTracks
|
|
@@ -10462,7 +10485,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10462
10485
|
path: _path + ".video",
|
|
10463
10486
|
expected: "(__type.o3 | undefined)",
|
|
10464
10487
|
value: input.video
|
|
10465
|
-
})) &&
|
|
10488
|
+
})) && _vo7(input.video, _path + ".video", true && _exceptionable) || _report(_exceptionable, {
|
|
10466
10489
|
path: _path + ".video",
|
|
10467
10490
|
expected: "(__type.o3 | undefined)",
|
|
10468
10491
|
value: input.video
|
|
@@ -10478,11 +10501,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
10478
10501
|
path: _path + ".transcribe",
|
|
10479
10502
|
expected: "(__type.o5 | undefined)",
|
|
10480
10503
|
value: input.transcribe
|
|
10481
|
-
})) &&
|
|
10504
|
+
})) && _vo9(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
10482
10505
|
path: _path + ".transcribe",
|
|
10483
10506
|
expected: "(__type.o5 | undefined)",
|
|
10484
10507
|
value: input.transcribe
|
|
10485
|
-
})].every(flag => flag); const
|
|
10508
|
+
})].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
10486
10509
|
path: _path + ".type",
|
|
10487
10510
|
expected: "(string | undefined)",
|
|
10488
10511
|
value: input.type
|
|
@@ -10490,7 +10513,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10490
10513
|
path: _path + ".file",
|
|
10491
10514
|
expected: "(null | string | undefined)",
|
|
10492
10515
|
value: input.file
|
|
10493
|
-
})].every(flag => flag); const
|
|
10516
|
+
})].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
10494
10517
|
const value = input[key];
|
|
10495
10518
|
if (undefined === value)
|
|
10496
10519
|
return true;
|
|
@@ -10498,12 +10521,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
10498
10521
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
10499
10522
|
expected: "__type.o2",
|
|
10500
10523
|
value: value
|
|
10501
|
-
})) &&
|
|
10524
|
+
})) && _vo5(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
10502
10525
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
10503
10526
|
expected: "__type.o2",
|
|
10504
10527
|
value: value
|
|
10505
10528
|
});
|
|
10506
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
10529
|
+
}).every(flag => flag)].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => [null === input.style || undefined === input.style || "string" === typeof input.style || _report(_exceptionable, {
|
|
10507
10530
|
path: _path + ".style",
|
|
10508
10531
|
expected: "(null | string | undefined)",
|
|
10509
10532
|
value: input.style
|
|
@@ -10511,11 +10534,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
10511
10534
|
path: _path + ".styleOverrides",
|
|
10512
10535
|
expected: "(SubtitleStyle | undefined)",
|
|
10513
10536
|
value: input.styleOverrides
|
|
10514
|
-
})) &&
|
|
10537
|
+
})) && _vo6(input.styleOverrides, _path + ".styleOverrides", true && _exceptionable) || _report(_exceptionable, {
|
|
10515
10538
|
path: _path + ".styleOverrides",
|
|
10516
10539
|
expected: "(SubtitleStyle | undefined)",
|
|
10517
10540
|
value: input.styleOverrides
|
|
10518
|
-
})].every(flag => flag); const
|
|
10541
|
+
})].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
10519
10542
|
path: _path + ".name",
|
|
10520
10543
|
expected: "(string | undefined)",
|
|
10521
10544
|
value: input.name
|
|
@@ -10607,15 +10630,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
10607
10630
|
path: _path + ".encoding",
|
|
10608
10631
|
expected: "(string | undefined)",
|
|
10609
10632
|
value: input.encoding
|
|
10610
|
-
})].every(flag => flag); const
|
|
10633
|
+
})].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, {
|
|
10611
10634
|
path: _path + ".crop",
|
|
10612
10635
|
expected: "(__type.o4 | undefined)",
|
|
10613
10636
|
value: input.crop
|
|
10614
|
-
})) &&
|
|
10637
|
+
})) && _vo8(input.crop, _path + ".crop", true && _exceptionable) || _report(_exceptionable, {
|
|
10615
10638
|
path: _path + ".crop",
|
|
10616
10639
|
expected: "(__type.o4 | undefined)",
|
|
10617
10640
|
value: input.crop
|
|
10618
|
-
})].every(flag => flag); const
|
|
10641
|
+
})].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [undefined === input.x || "number" === typeof input.x || _report(_exceptionable, {
|
|
10619
10642
|
path: _path + ".x",
|
|
10620
10643
|
expected: "(number | undefined)",
|
|
10621
10644
|
value: input.x
|
|
@@ -10631,7 +10654,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10631
10654
|
path: _path + ".height",
|
|
10632
10655
|
expected: "(number | undefined)",
|
|
10633
10656
|
value: input.height
|
|
10634
|
-
})].every(flag => flag); const
|
|
10657
|
+
})].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [undefined === input.language || "string" === typeof input.language || _report(_exceptionable, {
|
|
10635
10658
|
path: _path + ".language",
|
|
10636
10659
|
expected: "(string | undefined)",
|
|
10637
10660
|
value: input.language
|
|
@@ -10639,15 +10662,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
10639
10662
|
path: _path + ".pan",
|
|
10640
10663
|
expected: "(Array<number> | undefined)",
|
|
10641
10664
|
value: input.pan
|
|
10642
|
-
})) && input.pan.map((elem,
|
|
10643
|
-
path: _path + ".pan[" +
|
|
10665
|
+
})) && input.pan.map((elem, _index11) => "number" === typeof elem || _report(_exceptionable, {
|
|
10666
|
+
path: _path + ".pan[" + _index11 + "]",
|
|
10644
10667
|
expected: "number",
|
|
10645
10668
|
value: elem
|
|
10646
10669
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
10647
10670
|
path: _path + ".pan",
|
|
10648
10671
|
expected: "(Array<number> | undefined)",
|
|
10649
10672
|
value: input.pan
|
|
10650
|
-
})].every(flag => flag); const
|
|
10673
|
+
})].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => ["string" === typeof input.format || _report(_exceptionable, {
|
|
10651
10674
|
path: _path + ".format",
|
|
10652
10675
|
expected: "string",
|
|
10653
10676
|
value: input.format
|
|
@@ -10655,7 +10678,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10655
10678
|
path: _path + ".transcribe",
|
|
10656
10679
|
expected: "(__type.o6 | undefined)",
|
|
10657
10680
|
value: input.transcribe
|
|
10658
|
-
})) &&
|
|
10681
|
+
})) && _vo11(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
10659
10682
|
path: _path + ".transcribe",
|
|
10660
10683
|
expected: "(__type.o6 | undefined)",
|
|
10661
10684
|
value: input.transcribe
|
|
@@ -10663,7 +10686,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10663
10686
|
path: _path + ".translate",
|
|
10664
10687
|
expected: "(__type.o7 | undefined)",
|
|
10665
10688
|
value: input.translate
|
|
10666
|
-
})) &&
|
|
10689
|
+
})) && _vo12(input.translate, _path + ".translate", true && _exceptionable) || _report(_exceptionable, {
|
|
10667
10690
|
path: _path + ".translate",
|
|
10668
10691
|
expected: "(__type.o7 | undefined)",
|
|
10669
10692
|
value: input.translate
|
|
@@ -10671,7 +10694,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10671
10694
|
path: _path + ".audio",
|
|
10672
10695
|
expected: "(__type.o8 | undefined)",
|
|
10673
10696
|
value: input.audio
|
|
10674
|
-
})) &&
|
|
10697
|
+
})) && _vo13(input.audio, _path + ".audio", true && _exceptionable) || _report(_exceptionable, {
|
|
10675
10698
|
path: _path + ".audio",
|
|
10676
10699
|
expected: "(__type.o8 | undefined)",
|
|
10677
10700
|
value: input.audio
|
|
@@ -10679,8 +10702,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
10679
10702
|
path: _path + ".pick",
|
|
10680
10703
|
expected: "(Array<string> | undefined)",
|
|
10681
10704
|
value: input.pick
|
|
10682
|
-
})) && input.pick.map((elem,
|
|
10683
|
-
path: _path + ".pick[" +
|
|
10705
|
+
})) && input.pick.map((elem, _index12) => "string" === typeof elem || _report(_exceptionable, {
|
|
10706
|
+
path: _path + ".pick[" + _index12 + "]",
|
|
10684
10707
|
expected: "string",
|
|
10685
10708
|
value: elem
|
|
10686
10709
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -10695,19 +10718,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
10695
10718
|
path: _path + ".subtitle",
|
|
10696
10719
|
expected: "(SubtitleProfile | string | undefined)",
|
|
10697
10720
|
value: input.subtitle
|
|
10698
|
-
})) &&
|
|
10721
|
+
})) && _vo14(input.subtitle, _path + ".subtitle", true && _exceptionable) || _report(_exceptionable, {
|
|
10699
10722
|
path: _path + ".subtitle",
|
|
10700
10723
|
expected: "(SubtitleProfile | string | undefined)",
|
|
10701
10724
|
value: input.subtitle
|
|
10702
|
-
}))].every(flag => flag); const
|
|
10725
|
+
}))].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => ["string" === typeof input.engine || _report(_exceptionable, {
|
|
10703
10726
|
path: _path + ".engine",
|
|
10704
10727
|
expected: "string",
|
|
10705
10728
|
value: input.engine
|
|
10706
|
-
})].every(flag => flag); const
|
|
10729
|
+
})].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => ["string" === typeof input.language || _report(_exceptionable, {
|
|
10707
10730
|
path: _path + ".language",
|
|
10708
10731
|
expected: "string",
|
|
10709
10732
|
value: input.language
|
|
10710
|
-
})].every(flag => flag); const
|
|
10733
|
+
})].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => [undefined === input.codec || "string" === typeof input.codec || _report(_exceptionable, {
|
|
10711
10734
|
path: _path + ".codec",
|
|
10712
10735
|
expected: "(string | undefined)",
|
|
10713
10736
|
value: input.codec
|
|
@@ -10723,7 +10746,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10723
10746
|
path: _path + ".split",
|
|
10724
10747
|
expected: "(boolean | undefined)",
|
|
10725
10748
|
value: input.split
|
|
10726
|
-
})].every(flag => flag); const
|
|
10749
|
+
})].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [undefined === input.lang || "string" === typeof input.lang || _report(_exceptionable, {
|
|
10727
10750
|
path: _path + ".lang",
|
|
10728
10751
|
expected: "(string | undefined)",
|
|
10729
10752
|
value: input.lang
|
|
@@ -10731,11 +10754,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
10731
10754
|
path: _path + ".style",
|
|
10732
10755
|
expected: "(string | undefined)",
|
|
10733
10756
|
value: input.style
|
|
10734
|
-
})].every(flag => flag); const
|
|
10757
|
+
})].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => ["string" === typeof input.method || _report(_exceptionable, {
|
|
10735
10758
|
path: _path + ".method",
|
|
10736
10759
|
expected: "string",
|
|
10737
10760
|
value: input.method
|
|
10738
|
-
})].every(flag => flag); const
|
|
10761
|
+
})].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => ["number" === typeof input.level || _report(_exceptionable, {
|
|
10739
10762
|
path: _path + ".level",
|
|
10740
10763
|
expected: "number",
|
|
10741
10764
|
value: input.level
|
|
@@ -10747,9 +10770,57 @@ function _validateDomainRecord(domain, input) {
|
|
|
10747
10770
|
path: _path + ".msg",
|
|
10748
10771
|
expected: "string",
|
|
10749
10772
|
value: input.msg
|
|
10750
|
-
})].every(flag => flag); const
|
|
10773
|
+
})].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => [undefined === input.type || "facebook" === input.type || _report(_exceptionable, {
|
|
10774
|
+
path: _path + ".type",
|
|
10775
|
+
expected: "(\"facebook\" | undefined)",
|
|
10776
|
+
value: input.type
|
|
10777
|
+
}), undefined === input.pageId || "string" === typeof input.pageId || _report(_exceptionable, {
|
|
10778
|
+
path: _path + ".pageId",
|
|
10779
|
+
expected: "(string | undefined)",
|
|
10780
|
+
value: input.pageId
|
|
10781
|
+
}), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
|
|
10782
|
+
path: _path + ".asset",
|
|
10783
|
+
expected: "(null | string | undefined)",
|
|
10784
|
+
value: input.asset
|
|
10785
|
+
}), undefined === input.connection || "string" === typeof input.connection || _report(_exceptionable, {
|
|
10786
|
+
path: _path + ".connection",
|
|
10787
|
+
expected: "(string | undefined)",
|
|
10788
|
+
value: input.connection
|
|
10789
|
+
}), undefined === input.render || ("object" === typeof input.render && null !== input.render || _report(_exceptionable, {
|
|
10790
|
+
path: _path + ".render",
|
|
10791
|
+
expected: "(PublishRenderBase | undefined)",
|
|
10792
|
+
value: input.render
|
|
10793
|
+
})) && _vo1(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
10794
|
+
path: _path + ".render",
|
|
10795
|
+
expected: "(PublishRenderBase | undefined)",
|
|
10796
|
+
value: input.render
|
|
10797
|
+
}), true, true, true, null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
10798
|
+
path: _path + ".error",
|
|
10799
|
+
expected: "(__type.o9 | null | undefined)",
|
|
10800
|
+
value: input.error
|
|
10801
|
+
})) && _vo15(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
10802
|
+
path: _path + ".error",
|
|
10803
|
+
expected: "(__type.o9 | null | undefined)",
|
|
10804
|
+
value: input.error
|
|
10805
|
+
}), undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
10806
|
+
path: _path + ".messages",
|
|
10807
|
+
expected: "(Array<Message> | undefined)",
|
|
10808
|
+
value: input.messages
|
|
10809
|
+
})) && input.messages.map((elem, _index13) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
10810
|
+
path: _path + ".messages[" + _index13 + "]",
|
|
10811
|
+
expected: "Message",
|
|
10812
|
+
value: elem
|
|
10813
|
+
})) && _vo16(elem, _path + ".messages[" + _index13 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
10814
|
+
path: _path + ".messages[" + _index13 + "]",
|
|
10815
|
+
expected: "Message",
|
|
10816
|
+
value: elem
|
|
10817
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
10818
|
+
path: _path + ".messages",
|
|
10819
|
+
expected: "(Array<Message> | undefined)",
|
|
10820
|
+
value: input.messages
|
|
10821
|
+
})].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => [undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
10751
10822
|
path: _path + ".type",
|
|
10752
|
-
expected: "\"file\"",
|
|
10823
|
+
expected: "(\"file\" | undefined)",
|
|
10753
10824
|
value: input.type
|
|
10754
10825
|
}), undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
10755
10826
|
path: _path + ".directory",
|
|
@@ -10803,7 +10874,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10803
10874
|
path: _path + ".render",
|
|
10804
10875
|
expected: "(PublishRenderBase | undefined)",
|
|
10805
10876
|
value: input.render
|
|
10806
|
-
})) &&
|
|
10877
|
+
})) && _vo1(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
10807
10878
|
path: _path + ".render",
|
|
10808
10879
|
expected: "(PublishRenderBase | undefined)",
|
|
10809
10880
|
value: input.render
|
|
@@ -10811,7 +10882,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10811
10882
|
path: _path + ".error",
|
|
10812
10883
|
expected: "(__type.o9 | null | undefined)",
|
|
10813
10884
|
value: input.error
|
|
10814
|
-
})) &&
|
|
10885
|
+
})) && _vo15(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
10815
10886
|
path: _path + ".error",
|
|
10816
10887
|
expected: "(__type.o9 | null | undefined)",
|
|
10817
10888
|
value: input.error
|
|
@@ -10819,12 +10890,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
10819
10890
|
path: _path + ".messages",
|
|
10820
10891
|
expected: "(Array<Message> | undefined)",
|
|
10821
10892
|
value: input.messages
|
|
10822
|
-
})) && input.messages.map((elem,
|
|
10823
|
-
path: _path + ".messages[" +
|
|
10893
|
+
})) && input.messages.map((elem, _index14) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
10894
|
+
path: _path + ".messages[" + _index14 + "]",
|
|
10824
10895
|
expected: "Message",
|
|
10825
10896
|
value: elem
|
|
10826
|
-
})) &&
|
|
10827
|
-
path: _path + ".messages[" +
|
|
10897
|
+
})) && _vo16(elem, _path + ".messages[" + _index14 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
10898
|
+
path: _path + ".messages[" + _index14 + "]",
|
|
10828
10899
|
expected: "Message",
|
|
10829
10900
|
value: elem
|
|
10830
10901
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -10880,7 +10951,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10880
10951
|
path: _path + ".scene",
|
|
10881
10952
|
expected: "(RenderSceneObject | undefined)",
|
|
10882
10953
|
value: input.scene
|
|
10883
|
-
})) &&
|
|
10954
|
+
})) && _vo2(input.scene, _path + ".scene", true && _exceptionable) || _report(_exceptionable, {
|
|
10884
10955
|
path: _path + ".scene",
|
|
10885
10956
|
expected: "(RenderSceneObject | undefined)",
|
|
10886
10957
|
value: input.scene
|
|
@@ -10888,7 +10959,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10888
10959
|
path: _path + ".profile",
|
|
10889
10960
|
expected: "(RenderProfileObject | undefined)",
|
|
10890
10961
|
value: input.profile
|
|
10891
|
-
})) &&
|
|
10962
|
+
})) && _vo10(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
10892
10963
|
path: _path + ".profile",
|
|
10893
10964
|
expected: "(RenderProfileObject | undefined)",
|
|
10894
10965
|
value: input.profile
|
|
@@ -10908,7 +10979,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10908
10979
|
path: _path + ".__returnValue",
|
|
10909
10980
|
expected: "ResolvedFilePublishRender",
|
|
10910
10981
|
value: input.__returnValue
|
|
10911
|
-
})].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => [("object" === typeof input.publish && null !== input.publish || _report(_exceptionable, {
|
|
10982
|
+
})].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => [("object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) || _report(_exceptionable, {
|
|
10912
10983
|
path: _path + ".publish",
|
|
10913
10984
|
expected: "FilePublishRecord",
|
|
10914
10985
|
value: input.publish
|
|
@@ -10969,12 +11040,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
10969
11040
|
path: _path + ".messages",
|
|
10970
11041
|
expected: "(Array<Message> | undefined)",
|
|
10971
11042
|
value: input.messages
|
|
10972
|
-
})) && input.messages.map((elem,
|
|
10973
|
-
path: _path + ".messages[" +
|
|
11043
|
+
})) && input.messages.map((elem, _index15) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
11044
|
+
path: _path + ".messages[" + _index15 + "]",
|
|
10974
11045
|
expected: "Message",
|
|
10975
11046
|
value: elem
|
|
10976
|
-
})) &&
|
|
10977
|
-
path: _path + ".messages[" +
|
|
11047
|
+
})) && _vo16(elem, _path + ".messages[" + _index15 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
11048
|
+
path: _path + ".messages[" + _index15 + "]",
|
|
10978
11049
|
expected: "Message",
|
|
10979
11050
|
value: elem
|
|
10980
11051
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -11001,9 +11072,9 @@ function _validateDomainRecord(domain, input) {
|
|
|
11001
11072
|
path: _path + ".filename",
|
|
11002
11073
|
expected: "string",
|
|
11003
11074
|
value: input.filename
|
|
11004
|
-
})].every(flag => flag); const _vo28 = (input, _path, _exceptionable = true) => ["file" === input.type || _report(_exceptionable, {
|
|
11075
|
+
})].every(flag => flag); const _vo28 = (input, _path, _exceptionable = true) => [undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
11005
11076
|
path: _path + ".type",
|
|
11006
|
-
expected: "\"file\"",
|
|
11077
|
+
expected: "(\"file\" | undefined)",
|
|
11007
11078
|
value: input.type
|
|
11008
11079
|
}), undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
11009
11080
|
path: _path + ".directory",
|
|
@@ -11057,7 +11128,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
11057
11128
|
path: _path + ".render",
|
|
11058
11129
|
expected: "(PublishRenderBase | undefined)",
|
|
11059
11130
|
value: input.render
|
|
11060
|
-
})) &&
|
|
11131
|
+
})) && _vo1(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
11061
11132
|
path: _path + ".render",
|
|
11062
11133
|
expected: "(PublishRenderBase | undefined)",
|
|
11063
11134
|
value: input.render
|
|
@@ -11065,7 +11136,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
11065
11136
|
path: _path + ".error",
|
|
11066
11137
|
expected: "(__type.o9 | null | undefined)",
|
|
11067
11138
|
value: input.error
|
|
11068
|
-
})) &&
|
|
11139
|
+
})) && _vo15(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
11069
11140
|
path: _path + ".error",
|
|
11070
11141
|
expected: "(__type.o9 | null | undefined)",
|
|
11071
11142
|
value: input.error
|
|
@@ -11073,12 +11144,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
11073
11144
|
path: _path + ".messages",
|
|
11074
11145
|
expected: "(Array<Message> | undefined)",
|
|
11075
11146
|
value: input.messages
|
|
11076
|
-
})) && input.messages.map((elem,
|
|
11077
|
-
path: _path + ".messages[" +
|
|
11147
|
+
})) && input.messages.map((elem, _index16) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
11148
|
+
path: _path + ".messages[" + _index16 + "]",
|
|
11078
11149
|
expected: "Message",
|
|
11079
11150
|
value: elem
|
|
11080
|
-
})) &&
|
|
11081
|
-
path: _path + ".messages[" +
|
|
11151
|
+
})) && _vo16(elem, _path + ".messages[" + _index16 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
11152
|
+
path: _path + ".messages[" + _index16 + "]",
|
|
11082
11153
|
expected: "Message",
|
|
11083
11154
|
value: elem
|
|
11084
11155
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -11132,9 +11203,9 @@ function _validateDomainRecord(domain, input) {
|
|
|
11132
11203
|
path: _path + ".path",
|
|
11133
11204
|
expected: "string",
|
|
11134
11205
|
value: input.path
|
|
11135
|
-
})].every(flag => flag); const _vo32 = (input, _path, _exceptionable = true) => ["youtube" === input.type || _report(_exceptionable, {
|
|
11206
|
+
})].every(flag => flag); const _vo32 = (input, _path, _exceptionable = true) => [undefined === input.type || "youtube" === input.type || _report(_exceptionable, {
|
|
11136
11207
|
path: _path + ".type",
|
|
11137
|
-
expected: "\"youtube\"",
|
|
11208
|
+
expected: "(\"youtube\" | undefined)",
|
|
11138
11209
|
value: input.type
|
|
11139
11210
|
}), undefined === input.draft || ("object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) || _report(_exceptionable, {
|
|
11140
11211
|
path: _path + ".draft",
|
|
@@ -11156,7 +11227,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
11156
11227
|
path: _path + ".render",
|
|
11157
11228
|
expected: "(PublishRenderBase | undefined)",
|
|
11158
11229
|
value: input.render
|
|
11159
|
-
})) &&
|
|
11230
|
+
})) && _vo1(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
11160
11231
|
path: _path + ".render",
|
|
11161
11232
|
expected: "(PublishRenderBase | undefined)",
|
|
11162
11233
|
value: input.render
|
|
@@ -11164,7 +11235,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
11164
11235
|
path: _path + ".error",
|
|
11165
11236
|
expected: "(__type.o9 | null | undefined)",
|
|
11166
11237
|
value: input.error
|
|
11167
|
-
})) &&
|
|
11238
|
+
})) && _vo15(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
11168
11239
|
path: _path + ".error",
|
|
11169
11240
|
expected: "(__type.o9 | null | undefined)",
|
|
11170
11241
|
value: input.error
|
|
@@ -11172,12 +11243,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
11172
11243
|
path: _path + ".messages",
|
|
11173
11244
|
expected: "(Array<Message> | undefined)",
|
|
11174
11245
|
value: input.messages
|
|
11175
|
-
})) && input.messages.map((elem,
|
|
11176
|
-
path: _path + ".messages[" +
|
|
11246
|
+
})) && input.messages.map((elem, _index17) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
11247
|
+
path: _path + ".messages[" + _index17 + "]",
|
|
11177
11248
|
expected: "Message",
|
|
11178
11249
|
value: elem
|
|
11179
|
-
})) &&
|
|
11180
|
-
path: _path + ".messages[" +
|
|
11250
|
+
})) && _vo16(elem, _path + ".messages[" + _index17 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
11251
|
+
path: _path + ".messages[" + _index17 + "]",
|
|
11181
11252
|
expected: "Message",
|
|
11182
11253
|
value: elem
|
|
11183
11254
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -11200,8 +11271,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
11200
11271
|
path: _path + ".tags",
|
|
11201
11272
|
expected: "(Array<string> | undefined)",
|
|
11202
11273
|
value: input.tags
|
|
11203
|
-
})) && input.tags.map((elem,
|
|
11204
|
-
path: _path + ".tags[" +
|
|
11274
|
+
})) && input.tags.map((elem, _index18) => "string" === typeof elem || _report(_exceptionable, {
|
|
11275
|
+
path: _path + ".tags[" + _index18 + "]",
|
|
11205
11276
|
expected: "string",
|
|
11206
11277
|
value: elem
|
|
11207
11278
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -11223,20 +11294,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
11223
11294
|
expected: "(ResolvedFilePublishRender | __type.o10)",
|
|
11224
11295
|
value: input
|
|
11225
11296
|
});
|
|
11226
|
-
})(); const _vu1 = (input, _path, _exceptionable = true) => (() => {
|
|
11227
|
-
if (undefined !== input.type && null === input.type)
|
|
11228
|
-
return _vo0(input, _path, true && _exceptionable);
|
|
11229
|
-
else if ("facebook" === input.type)
|
|
11230
|
-
return _vo1(input, _path, true && _exceptionable);
|
|
11231
|
-
else if ("youtube" === input.type)
|
|
11232
|
-
return _vo32(input, _path, true && _exceptionable);
|
|
11233
|
-
else
|
|
11234
|
-
return _vo28(input, _path, false && _exceptionable) || _vo18(input, _path, false && _exceptionable);
|
|
11235
|
-
})(); const __is = input => "object" === typeof input && null !== input && _iu1(input); let errors; let _report; return input => {
|
|
11297
|
+
})(); const _vu1 = (input, _path, _exceptionable = true) => _vo0(input, _path, false && _exceptionable) || _vo17(input, _path, false && _exceptionable) || _vo28(input, _path, false && _exceptionable) || _vo18(input, _path, false && _exceptionable) || _vo32(input, _path, false && _exceptionable); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _iu1(input); let errors; let _report; return input => {
|
|
11236
11298
|
if (false === __is(input)) {
|
|
11237
11299
|
errors = [];
|
|
11238
11300
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
11239
|
-
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
11301
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
11240
11302
|
path: _path + "",
|
|
11241
11303
|
expected: "(EmptyPublishRecord | FacebookPublishRecord | FilePublishRecord | FilePublishRecordLegacy | YoutubePublishRecord)",
|
|
11242
11304
|
value: input
|
|
@@ -11277,7 +11339,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
11277
11339
|
if (undefined === value)
|
|
11278
11340
|
return true;
|
|
11279
11341
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io13(value);
|
|
11280
|
-
}); const _io13 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io14(input.styleOverrides)); const _io14 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io15 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io16(input.crop); const _io16 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io17 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io18 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io19(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io20(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io21(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io22(input.subtitle))); const _io19 = input => "string" === typeof input.engine; const _io20 = input => "string" === typeof input.language; const _io21 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io22 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _io23 = input => "object" === typeof input.__context && null !== input.__context && _io24(input.__context) && ("object" === typeof input.__returnValue && null !== input.__returnValue && _io9(input.__returnValue)); const _io24 = input => "object" === typeof input.publish && null !== input.publish && _io25(input.publish) && "string" === typeof input.directory && "string" === typeof input.name; const _io25 = input => "file" === input.type && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io8(input.renders)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io26(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io27(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io30(input.published)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io31(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io32(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io26 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename); const _io27 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io28(input.renders)); const _io28 = input => Object.keys(input).every(key => {
|
|
11342
|
+
}); const _io13 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io14(input.styleOverrides)); const _io14 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io15 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io16(input.crop); const _io16 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io17 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io18 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io19(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io20(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io21(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io22(input.subtitle))); const _io19 = input => "string" === typeof input.engine; const _io20 = input => "string" === typeof input.language; const _io21 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io22 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _io23 = input => "object" === typeof input.__context && null !== input.__context && _io24(input.__context) && ("object" === typeof input.__returnValue && null !== input.__returnValue && _io9(input.__returnValue)); const _io24 = input => "object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) && _io25(input.publish) && "string" === typeof input.directory && "string" === typeof input.name; const _io25 = input => (undefined === input.type || "file" === input.type) && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io8(input.renders)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io26(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io27(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io30(input.published)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io31(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io32(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io26 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename); const _io27 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io28(input.renders)); const _io28 = input => Object.keys(input).every(key => {
|
|
11281
11343
|
const value = input[key];
|
|
11282
11344
|
if (undefined === value)
|
|
11283
11345
|
return true;
|
|
@@ -11836,7 +11898,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
11836
11898
|
path: _path + ".__returnValue",
|
|
11837
11899
|
expected: "ResolvedFilePublishRender",
|
|
11838
11900
|
value: input.__returnValue
|
|
11839
|
-
})].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => [("object" === typeof input.publish && null !== input.publish || _report(_exceptionable, {
|
|
11901
|
+
})].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => [("object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) || _report(_exceptionable, {
|
|
11840
11902
|
path: _path + ".publish",
|
|
11841
11903
|
expected: "FilePublishRecord",
|
|
11842
11904
|
value: input.publish
|
|
@@ -11852,9 +11914,9 @@ function _validateDomainRecord(domain, input) {
|
|
|
11852
11914
|
path: _path + ".name",
|
|
11853
11915
|
expected: "string",
|
|
11854
11916
|
value: input.name
|
|
11855
|
-
})].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => ["file" === input.type || _report(_exceptionable, {
|
|
11917
|
+
})].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => [undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
11856
11918
|
path: _path + ".type",
|
|
11857
|
-
expected: "\"file\"",
|
|
11919
|
+
expected: "(\"file\" | undefined)",
|
|
11858
11920
|
value: input.type
|
|
11859
11921
|
}), undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
11860
11922
|
path: _path + ".directory",
|