@nxtedition/types 23.1.6 → 23.1.8
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/index.d.ts +2 -0
- package/dist/common/index.js +2 -0
- package/dist/common/panel-property.d.ts +35 -2
- package/dist/common/render-scene.d.ts +2 -0
- package/dist/common/report.d.ts +85 -0
- package/dist/common/report.js +8 -0
- package/dist/common/rss.d.ts +70 -0
- package/dist/common/rss.js +11 -0
- package/dist/common/schema-property.d.ts +31 -27
- package/dist/common/settings.d.ts +3 -1
- package/dist/nxtpression.d.ts +306 -42
- package/dist/records/domains/connection/index.d.ts +3 -1
- package/dist/records/domains/connection/index.js +1 -0
- package/dist/records/domains/connection/report.d.ts +7 -0
- package/dist/records/domains/connection/report.js +1 -0
- package/dist/records/domains/file.d.ts +7 -0
- package/dist/records/domains/panel.d.ts +26 -3
- package/dist/records/domains/publish/index.d.ts +3 -1
- package/dist/records/domains/publish/index.js +1 -0
- package/dist/records/domains/publish/report.d.ts +70 -0
- package/dist/records/domains/publish/report.js +1304 -0
- package/dist/records/domains/render.d.ts +3 -0
- package/dist/records/domains/schema.d.ts +2 -2
- package/dist/records/validate/assert-guard.js +2659 -1038
- package/dist/records/validate/assert.js +2659 -1037
- package/dist/records/validate/is.js +143 -38
- package/dist/records/validate/schemas.js +1878 -657
- package/dist/records/validate/stringify.js +565 -101
- package/dist/records/validate/utils.js +1 -1
- package/dist/records/validate/validate-equals.js +2886 -861
- package/dist/records/validate/validate.js +2129 -777
- package/dist/rpc.d.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,1304 @@
|
|
|
1
|
+
import * as __typia_transform__assertGuard from "typia/lib/internal/_assertGuard";
|
|
2
|
+
import * as __typia_transform__accessExpressionAsString from "typia/lib/internal/_accessExpressionAsString";
|
|
3
|
+
import typia from 'typia';
|
|
4
|
+
export const isReportPublishFormat = (() => { return input => "rss" === input || "json" === input || "xml" === input || "csv" === input; })();
|
|
5
|
+
export const isReportPublishExpandType = (() => { return input => "deadlines" === input || "published" === input || "recurrence_date_range" === input; })();
|
|
6
|
+
export const isReportPublishRecord = (() => { const _io0 = input => (undefined === input.type || "report" === input.type) && (undefined === input.searchId || "string" === typeof input.searchId) && (undefined === input.expand || "object" === typeof input.expand && null !== input.expand && false === Array.isArray(input.expand) && _io1(input.expand)) && (undefined === input.panel || "string" === typeof input.panel) && (undefined === input.route || "string" === typeof input.route) && (undefined === input.sort || "string" === typeof input.sort) && (undefined === input.order || "asc" === input.order || "desc" === input.order) && (undefined === input.format || "rss" === input.format || "json" === input.format || "xml" === input.format || "csv" === input.format) && (undefined === input.xml || "object" === typeof input.xml && null !== input.xml && false === Array.isArray(input.xml) && _io2(input.xml)) && (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 && _io13(input.render)) && true && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io36(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io37(elem))); const _io1 = input => (undefined === input.type || "" === input.type || "deadlines" === input.type || "published" === input.type || "recurrence_date_range" === input.type) && (undefined === input.start || "string" === typeof input.start) && (undefined === input.end || "string" === typeof input.end); const _io2 = input => (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io3(input.options)) && (undefined === input.formatterOptions || "object" === typeof input.formatterOptions && null !== input.formatterOptions && false === Array.isArray(input.formatterOptions) && _io7(input.formatterOptions)) && (null !== input.rootSchema && (undefined === input.rootSchema || "string" === typeof input.rootSchema || (Array.isArray(input.rootSchema) || "object" === typeof input.rootSchema && null !== input.rootSchema && false === Array.isArray(input.rootSchema) && _iu0(input.rootSchema)))) && (null !== input.itemSchema && (undefined === input.itemSchema || "string" === typeof input.itemSchema || (Array.isArray(input.itemSchema) || "object" === typeof input.itemSchema && null !== input.itemSchema && false === Array.isArray(input.itemSchema) && _iu1(input.itemSchema)))); const _io3 = input => (undefined === input.version || "1.0" === input.version) && (undefined === input.encoding || "string" === typeof input.encoding) && (undefined === input.standalone || "boolean" === typeof input.standalone) && (undefined === input.keepNullNodes || "boolean" === typeof input.keepNullNodes) && (undefined === input.keepNullAttributes || "boolean" === typeof input.keepNullAttributes) && (undefined === input.ignoreConverters || "boolean" === typeof input.ignoreConverters) && (undefined === input.skipWhitespaceOnlyText || "boolean" === typeof input.skipWhitespaceOnlyText) && (undefined === input.convert || "object" === typeof input.convert && null !== input.convert && false === Array.isArray(input.convert) && _io4(input.convert)) && (undefined === input.defaultNamespace || "object" === typeof input.defaultNamespace && null !== input.defaultNamespace && false === Array.isArray(input.defaultNamespace) && _io5(input.defaultNamespace)) && (undefined === input.namespaceAlias || "object" === typeof input.namespaceAlias && null !== input.namespaceAlias && false === Array.isArray(input.namespaceAlias) && _io6(input.namespaceAlias)) && (null !== input.invalidCharReplacement && (undefined === input.invalidCharReplacement || "function" === typeof input.invalidCharReplacement || "string" === typeof input.invalidCharReplacement)) && true && Object.keys(input).every(key => {
|
|
7
|
+
if (["version", "encoding", "standalone", "keepNullNodes", "keepNullAttributes", "ignoreConverters", "skipWhitespaceOnlyText", "convert", "defaultNamespace", "namespaceAlias", "invalidCharReplacement", "parser"].some(prop => key === prop))
|
|
8
|
+
return true;
|
|
9
|
+
const value = input[key];
|
|
10
|
+
if (undefined === value)
|
|
11
|
+
return true;
|
|
12
|
+
return true;
|
|
13
|
+
}); const _io4 = input => (undefined === input.att || "string" === typeof input.att) && (undefined === input.ins || "string" === typeof input.ins) && (undefined === input.text || "string" === typeof input.text) && (undefined === input.cdata || "string" === typeof input.cdata) && (undefined === input.comment || "string" === typeof input.comment); const _io5 = input => (null === input.ele || undefined === input.ele || "string" === typeof input.ele) && (null === input.att || undefined === input.att || "string" === typeof input.att); const _io6 = input => Object.keys(input).every(key => {
|
|
14
|
+
const value = input[key];
|
|
15
|
+
if (undefined === value)
|
|
16
|
+
return true;
|
|
17
|
+
return null === value || undefined === value || "string" === typeof value;
|
|
18
|
+
}); const _io7 = input => (undefined === input.wellFormed || "boolean" === typeof input.wellFormed) && (undefined === input.format || "xml" === input.format) && (undefined === input.headless || "boolean" === typeof input.headless) && (undefined === input.prettyPrint || "boolean" === typeof input.prettyPrint) && (undefined === input.indent || "string" === typeof input.indent) && (undefined === input.newline || "string" === typeof input.newline) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.allowEmptyTags || "boolean" === typeof input.allowEmptyTags) && (undefined === input.indentTextOnlyNodes || "boolean" === typeof input.indentTextOnlyNodes) && (undefined === input.spaceBeforeSlash || "boolean" === typeof input.spaceBeforeSlash); const _io8 = input => Object.keys(input).every(key => {
|
|
19
|
+
const value = input[key];
|
|
20
|
+
if (undefined === value)
|
|
21
|
+
return true;
|
|
22
|
+
return true;
|
|
23
|
+
}); const _io9 = input => "object" === typeof input.__context && null !== input.__context && _io10(input.__context) && (null !== input.__returnValue && undefined !== input.__returnValue && (Array.isArray(input.__returnValue) || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io8(input.__returnValue))); const _io10 = input => "string" === typeof input.publishId && Array.isArray(input.items); const _io11 = input => "object" === typeof input.__context && null !== input.__context && false === Array.isArray(input.__context) && _io12(input.__context) && (null !== input.__returnValue && undefined !== input.__returnValue && (Array.isArray(input.__returnValue) || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io8(input.__returnValue))); const _io12 = input => Object.keys(input).every(key => {
|
|
24
|
+
const value = input[key];
|
|
25
|
+
if (undefined === value)
|
|
26
|
+
return true;
|
|
27
|
+
return true;
|
|
28
|
+
}); const _io13 = 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) && _io14(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io29(input.profile)); const _io14 = 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) && _io15(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.graphics || "string" === typeof input.graphics) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io17(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io20(input.video)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io27(input.audio)) && (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) && _io28(input.transcribe)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io25(input.crop)) && (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io21(input.filters)) && (undefined === input.orientation || "number" === typeof input.orientation) && (undefined === input.rotate || "number" === typeof input.rotate) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io15 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io16(input.video)) && (null === input.proxy || undefined === input.proxy || "string" === typeof input.proxy) && (null === input.proxyManifest || undefined === input.proxyManifest || "string" === typeof input.proxyManifest) && (null === input.proxyFile || undefined === input.proxyFile || "string" === typeof input.proxyFile) && (null === input.manifest || undefined === input.manifest || "string" === typeof input.manifest) && (undefined === input.timecode || "number" === typeof input.timecode) && (undefined === input.timezone || "string" === typeof input.timezone); const _io16 = input => (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced); const _io17 = input => Object.keys(input).every(key => {
|
|
29
|
+
const value = input[key];
|
|
30
|
+
if (undefined === value)
|
|
31
|
+
return true;
|
|
32
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io18(value);
|
|
33
|
+
}); const _io18 = 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) && _io19(input.styleOverrides)); const _io19 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io20 = input => (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io21(input.filters)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io25(input.crop)) && (undefined === input.focus || "object" === typeof input.focus && null !== input.focus && false === Array.isArray(input.focus) && _io26(input.focus)) && (undefined === input.orientation || "number" === typeof input.orientation) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io21 = input => (undefined === input.eq || "object" === typeof input.eq && null !== input.eq && false === Array.isArray(input.eq) && _io22(input.eq)) && (undefined === input.hue || "object" === typeof input.hue && null !== input.hue && false === Array.isArray(input.hue) && _io23(input.hue)) && (undefined === input.colorbalance || "object" === typeof input.colorbalance && null !== input.colorbalance && false === Array.isArray(input.colorbalance) && _io24(input.colorbalance)); const _io22 = input => (undefined === input.brightness || "number" === typeof input.brightness) && (undefined === input.contrast || "number" === typeof input.contrast) && (undefined === input.gamma || "number" === typeof input.gamma) && (undefined === input.saturation || "number" === typeof input.saturation); const _io23 = input => (undefined === input.h || "number" === typeof input.h) && (undefined === input.s || "number" === typeof input.s) && (undefined === input.b || "number" === typeof input.b); const _io24 = input => (undefined === input.rs || "number" === typeof input.rs) && (undefined === input.gs || "number" === typeof input.gs) && (undefined === input.bs || "number" === typeof input.bs) && (undefined === input.rm || "number" === typeof input.rm) && (undefined === input.gm || "number" === typeof input.gm) && (undefined === input.bm || "number" === typeof input.bm) && (undefined === input.rh || "number" === typeof input.rh) && (undefined === input.gh || "number" === typeof input.gh) && (undefined === input.bh || "number" === typeof input.bh); const _io25 = 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 _io26 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y); const _io27 = input => undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem)); const _io28 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)) && (undefined === input.diarization || "boolean" === typeof input.diarization); const _io29 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io30(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io31(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io32(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) && _io33(input.subtitle))); const _io30 = input => "string" === typeof input.engine; const _io31 = input => "string" === typeof input.language; const _io32 = 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 _io33 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (undefined === input.ccconverter || "object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) && _io34(input.ccconverter)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io35(input.ass)); const _io34 = input => undefined === input.preset || "string" === typeof input.preset; const _io35 = input => (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack); const _io36 = input => "string" === typeof input.method; const _io37 = input => "number" === typeof input.level && "string" === typeof input.code && "string" === typeof input.msg; const _iu0 = input => (() => {
|
|
34
|
+
if (undefined !== input.__context)
|
|
35
|
+
return _io9(input);
|
|
36
|
+
else
|
|
37
|
+
return _io8(input);
|
|
38
|
+
})(); const _iu1 = input => (() => {
|
|
39
|
+
if (undefined !== input.__context)
|
|
40
|
+
return _io11(input);
|
|
41
|
+
else
|
|
42
|
+
return _io8(input);
|
|
43
|
+
})(); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })();
|
|
44
|
+
export const assertReportPublishRecord = (() => { const _io0 = input => (undefined === input.type || "report" === input.type) && (undefined === input.searchId || "string" === typeof input.searchId) && (undefined === input.expand || "object" === typeof input.expand && null !== input.expand && false === Array.isArray(input.expand) && _io1(input.expand)) && (undefined === input.panel || "string" === typeof input.panel) && (undefined === input.route || "string" === typeof input.route) && (undefined === input.sort || "string" === typeof input.sort) && (undefined === input.order || "asc" === input.order || "desc" === input.order) && (undefined === input.format || "rss" === input.format || "json" === input.format || "xml" === input.format || "csv" === input.format) && (undefined === input.xml || "object" === typeof input.xml && null !== input.xml && false === Array.isArray(input.xml) && _io2(input.xml)) && (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 && _io13(input.render)) && true && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io36(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io37(elem))); const _io1 = input => (undefined === input.type || "" === input.type || "deadlines" === input.type || "published" === input.type || "recurrence_date_range" === input.type) && (undefined === input.start || "string" === typeof input.start) && (undefined === input.end || "string" === typeof input.end); const _io2 = input => (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io3(input.options)) && (undefined === input.formatterOptions || "object" === typeof input.formatterOptions && null !== input.formatterOptions && false === Array.isArray(input.formatterOptions) && _io7(input.formatterOptions)) && (null !== input.rootSchema && (undefined === input.rootSchema || "string" === typeof input.rootSchema || (Array.isArray(input.rootSchema) || "object" === typeof input.rootSchema && null !== input.rootSchema && false === Array.isArray(input.rootSchema) && _iu0(input.rootSchema)))) && (null !== input.itemSchema && (undefined === input.itemSchema || "string" === typeof input.itemSchema || (Array.isArray(input.itemSchema) || "object" === typeof input.itemSchema && null !== input.itemSchema && false === Array.isArray(input.itemSchema) && _iu1(input.itemSchema)))); const _io3 = input => (undefined === input.version || "1.0" === input.version) && (undefined === input.encoding || "string" === typeof input.encoding) && (undefined === input.standalone || "boolean" === typeof input.standalone) && (undefined === input.keepNullNodes || "boolean" === typeof input.keepNullNodes) && (undefined === input.keepNullAttributes || "boolean" === typeof input.keepNullAttributes) && (undefined === input.ignoreConverters || "boolean" === typeof input.ignoreConverters) && (undefined === input.skipWhitespaceOnlyText || "boolean" === typeof input.skipWhitespaceOnlyText) && (undefined === input.convert || "object" === typeof input.convert && null !== input.convert && false === Array.isArray(input.convert) && _io4(input.convert)) && (undefined === input.defaultNamespace || "object" === typeof input.defaultNamespace && null !== input.defaultNamespace && false === Array.isArray(input.defaultNamespace) && _io5(input.defaultNamespace)) && (undefined === input.namespaceAlias || "object" === typeof input.namespaceAlias && null !== input.namespaceAlias && false === Array.isArray(input.namespaceAlias) && _io6(input.namespaceAlias)) && (null !== input.invalidCharReplacement && (undefined === input.invalidCharReplacement || "function" === typeof input.invalidCharReplacement || "string" === typeof input.invalidCharReplacement)) && true && Object.keys(input).every(key => {
|
|
45
|
+
if (["version", "encoding", "standalone", "keepNullNodes", "keepNullAttributes", "ignoreConverters", "skipWhitespaceOnlyText", "convert", "defaultNamespace", "namespaceAlias", "invalidCharReplacement", "parser"].some(prop => key === prop))
|
|
46
|
+
return true;
|
|
47
|
+
const value = input[key];
|
|
48
|
+
if (undefined === value)
|
|
49
|
+
return true;
|
|
50
|
+
return true;
|
|
51
|
+
}); const _io4 = input => (undefined === input.att || "string" === typeof input.att) && (undefined === input.ins || "string" === typeof input.ins) && (undefined === input.text || "string" === typeof input.text) && (undefined === input.cdata || "string" === typeof input.cdata) && (undefined === input.comment || "string" === typeof input.comment); const _io5 = input => (null === input.ele || undefined === input.ele || "string" === typeof input.ele) && (null === input.att || undefined === input.att || "string" === typeof input.att); const _io6 = input => Object.keys(input).every(key => {
|
|
52
|
+
const value = input[key];
|
|
53
|
+
if (undefined === value)
|
|
54
|
+
return true;
|
|
55
|
+
return null === value || undefined === value || "string" === typeof value;
|
|
56
|
+
}); const _io7 = input => (undefined === input.wellFormed || "boolean" === typeof input.wellFormed) && (undefined === input.format || "xml" === input.format) && (undefined === input.headless || "boolean" === typeof input.headless) && (undefined === input.prettyPrint || "boolean" === typeof input.prettyPrint) && (undefined === input.indent || "string" === typeof input.indent) && (undefined === input.newline || "string" === typeof input.newline) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.allowEmptyTags || "boolean" === typeof input.allowEmptyTags) && (undefined === input.indentTextOnlyNodes || "boolean" === typeof input.indentTextOnlyNodes) && (undefined === input.spaceBeforeSlash || "boolean" === typeof input.spaceBeforeSlash); const _io8 = input => Object.keys(input).every(key => {
|
|
57
|
+
const value = input[key];
|
|
58
|
+
if (undefined === value)
|
|
59
|
+
return true;
|
|
60
|
+
return true;
|
|
61
|
+
}); const _io9 = input => "object" === typeof input.__context && null !== input.__context && _io10(input.__context) && (null !== input.__returnValue && undefined !== input.__returnValue && (Array.isArray(input.__returnValue) || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io8(input.__returnValue))); const _io10 = input => "string" === typeof input.publishId && Array.isArray(input.items); const _io11 = input => "object" === typeof input.__context && null !== input.__context && false === Array.isArray(input.__context) && _io12(input.__context) && (null !== input.__returnValue && undefined !== input.__returnValue && (Array.isArray(input.__returnValue) || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io8(input.__returnValue))); const _io12 = input => Object.keys(input).every(key => {
|
|
62
|
+
const value = input[key];
|
|
63
|
+
if (undefined === value)
|
|
64
|
+
return true;
|
|
65
|
+
return true;
|
|
66
|
+
}); const _io13 = 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) && _io14(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io29(input.profile)); const _io14 = 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) && _io15(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.graphics || "string" === typeof input.graphics) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io17(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io20(input.video)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io27(input.audio)) && (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) && _io28(input.transcribe)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io25(input.crop)) && (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io21(input.filters)) && (undefined === input.orientation || "number" === typeof input.orientation) && (undefined === input.rotate || "number" === typeof input.rotate) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io15 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io16(input.video)) && (null === input.proxy || undefined === input.proxy || "string" === typeof input.proxy) && (null === input.proxyManifest || undefined === input.proxyManifest || "string" === typeof input.proxyManifest) && (null === input.proxyFile || undefined === input.proxyFile || "string" === typeof input.proxyFile) && (null === input.manifest || undefined === input.manifest || "string" === typeof input.manifest) && (undefined === input.timecode || "number" === typeof input.timecode) && (undefined === input.timezone || "string" === typeof input.timezone); const _io16 = input => (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced); const _io17 = input => Object.keys(input).every(key => {
|
|
67
|
+
const value = input[key];
|
|
68
|
+
if (undefined === value)
|
|
69
|
+
return true;
|
|
70
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io18(value);
|
|
71
|
+
}); const _io18 = 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) && _io19(input.styleOverrides)); const _io19 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io20 = input => (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io21(input.filters)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io25(input.crop)) && (undefined === input.focus || "object" === typeof input.focus && null !== input.focus && false === Array.isArray(input.focus) && _io26(input.focus)) && (undefined === input.orientation || "number" === typeof input.orientation) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io21 = input => (undefined === input.eq || "object" === typeof input.eq && null !== input.eq && false === Array.isArray(input.eq) && _io22(input.eq)) && (undefined === input.hue || "object" === typeof input.hue && null !== input.hue && false === Array.isArray(input.hue) && _io23(input.hue)) && (undefined === input.colorbalance || "object" === typeof input.colorbalance && null !== input.colorbalance && false === Array.isArray(input.colorbalance) && _io24(input.colorbalance)); const _io22 = input => (undefined === input.brightness || "number" === typeof input.brightness) && (undefined === input.contrast || "number" === typeof input.contrast) && (undefined === input.gamma || "number" === typeof input.gamma) && (undefined === input.saturation || "number" === typeof input.saturation); const _io23 = input => (undefined === input.h || "number" === typeof input.h) && (undefined === input.s || "number" === typeof input.s) && (undefined === input.b || "number" === typeof input.b); const _io24 = input => (undefined === input.rs || "number" === typeof input.rs) && (undefined === input.gs || "number" === typeof input.gs) && (undefined === input.bs || "number" === typeof input.bs) && (undefined === input.rm || "number" === typeof input.rm) && (undefined === input.gm || "number" === typeof input.gm) && (undefined === input.bm || "number" === typeof input.bm) && (undefined === input.rh || "number" === typeof input.rh) && (undefined === input.gh || "number" === typeof input.gh) && (undefined === input.bh || "number" === typeof input.bh); const _io25 = 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 _io26 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y); const _io27 = input => undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem)); const _io28 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)) && (undefined === input.diarization || "boolean" === typeof input.diarization); const _io29 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io30(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io31(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io32(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) && _io33(input.subtitle))); const _io30 = input => "string" === typeof input.engine; const _io31 = input => "string" === typeof input.language; const _io32 = 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 _io33 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (undefined === input.ccconverter || "object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) && _io34(input.ccconverter)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io35(input.ass)); const _io34 = input => undefined === input.preset || "string" === typeof input.preset; const _io35 = input => (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack); const _io36 = input => "string" === typeof input.method; const _io37 = input => "number" === typeof input.level && "string" === typeof input.code && "string" === typeof input.msg; const _iu0 = input => (() => {
|
|
72
|
+
if (undefined !== input.__context)
|
|
73
|
+
return _io9(input);
|
|
74
|
+
else
|
|
75
|
+
return _io8(input);
|
|
76
|
+
})(); const _iu1 = input => (() => {
|
|
77
|
+
if (undefined !== input.__context)
|
|
78
|
+
return _io11(input);
|
|
79
|
+
else
|
|
80
|
+
return _io8(input);
|
|
81
|
+
})(); const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.type || "report" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
82
|
+
method: "typia.createAssert",
|
|
83
|
+
path: _path + ".type",
|
|
84
|
+
expected: "(\"report\" | undefined)",
|
|
85
|
+
value: input.type
|
|
86
|
+
}, _errorFactory)) && (undefined === input.searchId || "string" === typeof input.searchId || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
87
|
+
method: "typia.createAssert",
|
|
88
|
+
path: _path + ".searchId",
|
|
89
|
+
expected: "(string | undefined)",
|
|
90
|
+
value: input.searchId
|
|
91
|
+
}, _errorFactory)) && (undefined === input.expand || ("object" === typeof input.expand && null !== input.expand && false === Array.isArray(input.expand) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
92
|
+
method: "typia.createAssert",
|
|
93
|
+
path: _path + ".expand",
|
|
94
|
+
expected: "(__type | undefined)",
|
|
95
|
+
value: input.expand
|
|
96
|
+
}, _errorFactory)) && _ao1(input.expand, _path + ".expand", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
97
|
+
method: "typia.createAssert",
|
|
98
|
+
path: _path + ".expand",
|
|
99
|
+
expected: "(__type | undefined)",
|
|
100
|
+
value: input.expand
|
|
101
|
+
}, _errorFactory)) && (undefined === input.panel || "string" === typeof input.panel || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
102
|
+
method: "typia.createAssert",
|
|
103
|
+
path: _path + ".panel",
|
|
104
|
+
expected: "(string | undefined)",
|
|
105
|
+
value: input.panel
|
|
106
|
+
}, _errorFactory)) && (undefined === input.route || "string" === typeof input.route || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
107
|
+
method: "typia.createAssert",
|
|
108
|
+
path: _path + ".route",
|
|
109
|
+
expected: "(string | undefined)",
|
|
110
|
+
value: input.route
|
|
111
|
+
}, _errorFactory)) && (undefined === input.sort || "string" === typeof input.sort || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
112
|
+
method: "typia.createAssert",
|
|
113
|
+
path: _path + ".sort",
|
|
114
|
+
expected: "(string | undefined)",
|
|
115
|
+
value: input.sort
|
|
116
|
+
}, _errorFactory)) && (undefined === input.order || "asc" === input.order || "desc" === input.order || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
117
|
+
method: "typia.createAssert",
|
|
118
|
+
path: _path + ".order",
|
|
119
|
+
expected: "(\"asc\" | \"desc\" | undefined)",
|
|
120
|
+
value: input.order
|
|
121
|
+
}, _errorFactory)) && (undefined === input.format || "rss" === input.format || "json" === input.format || "xml" === input.format || "csv" === input.format || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
122
|
+
method: "typia.createAssert",
|
|
123
|
+
path: _path + ".format",
|
|
124
|
+
expected: "(\"csv\" | \"json\" | \"rss\" | \"xml\" | undefined)",
|
|
125
|
+
value: input.format
|
|
126
|
+
}, _errorFactory)) && (undefined === input.xml || ("object" === typeof input.xml && null !== input.xml && false === Array.isArray(input.xml) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
127
|
+
method: "typia.createAssert",
|
|
128
|
+
path: _path + ".xml",
|
|
129
|
+
expected: "(ReportXmlOptions | undefined)",
|
|
130
|
+
value: input.xml
|
|
131
|
+
}, _errorFactory)) && _ao2(input.xml, _path + ".xml", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
132
|
+
method: "typia.createAssert",
|
|
133
|
+
path: _path + ".xml",
|
|
134
|
+
expected: "(ReportXmlOptions | undefined)",
|
|
135
|
+
value: input.xml
|
|
136
|
+
}, _errorFactory)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
137
|
+
method: "typia.createAssert",
|
|
138
|
+
path: _path + ".asset",
|
|
139
|
+
expected: "(null | string | undefined)",
|
|
140
|
+
value: input.asset
|
|
141
|
+
}, _errorFactory)) && (undefined === input.connection || "string" === typeof input.connection || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
142
|
+
method: "typia.createAssert",
|
|
143
|
+
path: _path + ".connection",
|
|
144
|
+
expected: "(string | undefined)",
|
|
145
|
+
value: input.connection
|
|
146
|
+
}, _errorFactory)) && (undefined === input.render || ("object" === typeof input.render && null !== input.render || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
147
|
+
method: "typia.createAssert",
|
|
148
|
+
path: _path + ".render",
|
|
149
|
+
expected: "(PublishRenderBase | undefined)",
|
|
150
|
+
value: input.render
|
|
151
|
+
}, _errorFactory)) && _ao13(input.render, _path + ".render", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
152
|
+
method: "typia.createAssert",
|
|
153
|
+
path: _path + ".render",
|
|
154
|
+
expected: "(PublishRenderBase | undefined)",
|
|
155
|
+
value: input.render
|
|
156
|
+
}, _errorFactory)) && true && true && true && (null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
157
|
+
method: "typia.createAssert",
|
|
158
|
+
path: _path + ".error",
|
|
159
|
+
expected: "(__type.o20 | null | undefined)",
|
|
160
|
+
value: input.error
|
|
161
|
+
}, _errorFactory)) && _ao36(input.error, _path + ".error", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
162
|
+
method: "typia.createAssert",
|
|
163
|
+
path: _path + ".error",
|
|
164
|
+
expected: "(__type.o20 | null | undefined)",
|
|
165
|
+
value: input.error
|
|
166
|
+
}, _errorFactory)) && (undefined === input.messages || (Array.isArray(input.messages) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
167
|
+
method: "typia.createAssert",
|
|
168
|
+
path: _path + ".messages",
|
|
169
|
+
expected: "(Array<Message> | undefined)",
|
|
170
|
+
value: input.messages
|
|
171
|
+
}, _errorFactory)) && input.messages.every((elem, _index6) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
172
|
+
method: "typia.createAssert",
|
|
173
|
+
path: _path + ".messages[" + _index6 + "]",
|
|
174
|
+
expected: "Message",
|
|
175
|
+
value: elem
|
|
176
|
+
}, _errorFactory)) && _ao37(elem, _path + ".messages[" + _index6 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
177
|
+
method: "typia.createAssert",
|
|
178
|
+
path: _path + ".messages[" + _index6 + "]",
|
|
179
|
+
expected: "Message",
|
|
180
|
+
value: elem
|
|
181
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
182
|
+
method: "typia.createAssert",
|
|
183
|
+
path: _path + ".messages",
|
|
184
|
+
expected: "(Array<Message> | undefined)",
|
|
185
|
+
value: input.messages
|
|
186
|
+
}, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => (undefined === input.type || "" === input.type || "deadlines" === input.type || "published" === input.type || "recurrence_date_range" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
187
|
+
method: "typia.createAssert",
|
|
188
|
+
path: _path + ".type",
|
|
189
|
+
expected: "(\"\" | \"deadlines\" | \"published\" | \"recurrence_date_range\" | undefined)",
|
|
190
|
+
value: input.type
|
|
191
|
+
}, _errorFactory)) && (undefined === input.start || "string" === typeof input.start || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
192
|
+
method: "typia.createAssert",
|
|
193
|
+
path: _path + ".start",
|
|
194
|
+
expected: "(string | undefined)",
|
|
195
|
+
value: input.start
|
|
196
|
+
}, _errorFactory)) && (undefined === input.end || "string" === typeof input.end || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
197
|
+
method: "typia.createAssert",
|
|
198
|
+
path: _path + ".end",
|
|
199
|
+
expected: "(string | undefined)",
|
|
200
|
+
value: input.end
|
|
201
|
+
}, _errorFactory)); const _ao2 = (input, _path, _exceptionable = true) => (undefined === input.options || ("object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
202
|
+
method: "typia.createAssert",
|
|
203
|
+
path: _path + ".options",
|
|
204
|
+
expected: "(XMLBuilderOptions | undefined)",
|
|
205
|
+
value: input.options
|
|
206
|
+
}, _errorFactory)) && _ao3(input.options, _path + ".options", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
207
|
+
method: "typia.createAssert",
|
|
208
|
+
path: _path + ".options",
|
|
209
|
+
expected: "(XMLBuilderOptions | undefined)",
|
|
210
|
+
value: input.options
|
|
211
|
+
}, _errorFactory)) && (undefined === input.formatterOptions || ("object" === typeof input.formatterOptions && null !== input.formatterOptions && false === Array.isArray(input.formatterOptions) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
212
|
+
method: "typia.createAssert",
|
|
213
|
+
path: _path + ".formatterOptions",
|
|
214
|
+
expected: "(XMLWriterOptions | undefined)",
|
|
215
|
+
value: input.formatterOptions
|
|
216
|
+
}, _errorFactory)) && _ao7(input.formatterOptions, _path + ".formatterOptions", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
217
|
+
method: "typia.createAssert",
|
|
218
|
+
path: _path + ".formatterOptions",
|
|
219
|
+
expected: "(XMLWriterOptions | undefined)",
|
|
220
|
+
value: input.formatterOptions
|
|
221
|
+
}, _errorFactory)) && ((null !== input.rootSchema || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
222
|
+
method: "typia.createAssert",
|
|
223
|
+
path: _path + ".rootSchema",
|
|
224
|
+
expected: "(Array<any> | __type.o3 | __type.o4 | string | undefined)",
|
|
225
|
+
value: input.rootSchema
|
|
226
|
+
}, _errorFactory)) && (undefined === input.rootSchema || "string" === typeof input.rootSchema || (Array.isArray(input.rootSchema) || "object" === typeof input.rootSchema && null !== input.rootSchema && false === Array.isArray(input.rootSchema) && _au0(input.rootSchema, _path + ".rootSchema", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
227
|
+
method: "typia.createAssert",
|
|
228
|
+
path: _path + ".rootSchema",
|
|
229
|
+
expected: "(Array<any> | __type.o3 | __type.o4 | string | undefined)",
|
|
230
|
+
value: input.rootSchema
|
|
231
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
232
|
+
method: "typia.createAssert",
|
|
233
|
+
path: _path + ".rootSchema",
|
|
234
|
+
expected: "(Array<any> | __type.o3 | __type.o4 | string | undefined)",
|
|
235
|
+
value: input.rootSchema
|
|
236
|
+
}, _errorFactory))) && ((null !== input.itemSchema || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
237
|
+
method: "typia.createAssert",
|
|
238
|
+
path: _path + ".itemSchema",
|
|
239
|
+
expected: "(Array<any> | __type.o3 | __type.o6 | string | undefined)",
|
|
240
|
+
value: input.itemSchema
|
|
241
|
+
}, _errorFactory)) && (undefined === input.itemSchema || "string" === typeof input.itemSchema || (Array.isArray(input.itemSchema) || "object" === typeof input.itemSchema && null !== input.itemSchema && false === Array.isArray(input.itemSchema) && _au1(input.itemSchema, _path + ".itemSchema", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
242
|
+
method: "typia.createAssert",
|
|
243
|
+
path: _path + ".itemSchema",
|
|
244
|
+
expected: "(Array<any> | __type.o3 | __type.o6 | string | undefined)",
|
|
245
|
+
value: input.itemSchema
|
|
246
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
247
|
+
method: "typia.createAssert",
|
|
248
|
+
path: _path + ".itemSchema",
|
|
249
|
+
expected: "(Array<any> | __type.o3 | __type.o6 | string | undefined)",
|
|
250
|
+
value: input.itemSchema
|
|
251
|
+
}, _errorFactory))); const _ao3 = (input, _path, _exceptionable = true) => (undefined === input.version || "1.0" === input.version || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
252
|
+
method: "typia.createAssert",
|
|
253
|
+
path: _path + ".version",
|
|
254
|
+
expected: "(\"1.0\" | undefined)",
|
|
255
|
+
value: input.version
|
|
256
|
+
}, _errorFactory)) && (undefined === input.encoding || "string" === typeof input.encoding || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
257
|
+
method: "typia.createAssert",
|
|
258
|
+
path: _path + ".encoding",
|
|
259
|
+
expected: "(string | undefined)",
|
|
260
|
+
value: input.encoding
|
|
261
|
+
}, _errorFactory)) && (undefined === input.standalone || "boolean" === typeof input.standalone || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
262
|
+
method: "typia.createAssert",
|
|
263
|
+
path: _path + ".standalone",
|
|
264
|
+
expected: "(boolean | undefined)",
|
|
265
|
+
value: input.standalone
|
|
266
|
+
}, _errorFactory)) && (undefined === input.keepNullNodes || "boolean" === typeof input.keepNullNodes || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
267
|
+
method: "typia.createAssert",
|
|
268
|
+
path: _path + ".keepNullNodes",
|
|
269
|
+
expected: "(boolean | undefined)",
|
|
270
|
+
value: input.keepNullNodes
|
|
271
|
+
}, _errorFactory)) && (undefined === input.keepNullAttributes || "boolean" === typeof input.keepNullAttributes || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
272
|
+
method: "typia.createAssert",
|
|
273
|
+
path: _path + ".keepNullAttributes",
|
|
274
|
+
expected: "(boolean | undefined)",
|
|
275
|
+
value: input.keepNullAttributes
|
|
276
|
+
}, _errorFactory)) && (undefined === input.ignoreConverters || "boolean" === typeof input.ignoreConverters || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
277
|
+
method: "typia.createAssert",
|
|
278
|
+
path: _path + ".ignoreConverters",
|
|
279
|
+
expected: "(boolean | undefined)",
|
|
280
|
+
value: input.ignoreConverters
|
|
281
|
+
}, _errorFactory)) && (undefined === input.skipWhitespaceOnlyText || "boolean" === typeof input.skipWhitespaceOnlyText || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
282
|
+
method: "typia.createAssert",
|
|
283
|
+
path: _path + ".skipWhitespaceOnlyText",
|
|
284
|
+
expected: "(boolean | undefined)",
|
|
285
|
+
value: input.skipWhitespaceOnlyText
|
|
286
|
+
}, _errorFactory)) && (undefined === input.convert || ("object" === typeof input.convert && null !== input.convert && false === Array.isArray(input.convert) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
287
|
+
method: "typia.createAssert",
|
|
288
|
+
path: _path + ".convert",
|
|
289
|
+
expected: "(ConvertOptions | undefined)",
|
|
290
|
+
value: input.convert
|
|
291
|
+
}, _errorFactory)) && _ao4(input.convert, _path + ".convert", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
292
|
+
method: "typia.createAssert",
|
|
293
|
+
path: _path + ".convert",
|
|
294
|
+
expected: "(ConvertOptions | undefined)",
|
|
295
|
+
value: input.convert
|
|
296
|
+
}, _errorFactory)) && (undefined === input.defaultNamespace || ("object" === typeof input.defaultNamespace && null !== input.defaultNamespace && false === Array.isArray(input.defaultNamespace) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
297
|
+
method: "typia.createAssert",
|
|
298
|
+
path: _path + ".defaultNamespace",
|
|
299
|
+
expected: "(__type.o1 | undefined)",
|
|
300
|
+
value: input.defaultNamespace
|
|
301
|
+
}, _errorFactory)) && _ao5(input.defaultNamespace, _path + ".defaultNamespace", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
302
|
+
method: "typia.createAssert",
|
|
303
|
+
path: _path + ".defaultNamespace",
|
|
304
|
+
expected: "(__type.o1 | undefined)",
|
|
305
|
+
value: input.defaultNamespace
|
|
306
|
+
}, _errorFactory)) && (undefined === input.namespaceAlias || ("object" === typeof input.namespaceAlias && null !== input.namespaceAlias && false === Array.isArray(input.namespaceAlias) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
307
|
+
method: "typia.createAssert",
|
|
308
|
+
path: _path + ".namespaceAlias",
|
|
309
|
+
expected: "(__type.o2 | undefined)",
|
|
310
|
+
value: input.namespaceAlias
|
|
311
|
+
}, _errorFactory)) && _ao6(input.namespaceAlias, _path + ".namespaceAlias", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
312
|
+
method: "typia.createAssert",
|
|
313
|
+
path: _path + ".namespaceAlias",
|
|
314
|
+
expected: "(__type.o2 | undefined)",
|
|
315
|
+
value: input.namespaceAlias
|
|
316
|
+
}, _errorFactory)) && ((null !== input.invalidCharReplacement || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
317
|
+
method: "typia.createAssert",
|
|
318
|
+
path: _path + ".invalidCharReplacement",
|
|
319
|
+
expected: "(string | undefined)",
|
|
320
|
+
value: input.invalidCharReplacement
|
|
321
|
+
}, _errorFactory)) && (undefined === input.invalidCharReplacement || "function" === typeof input.invalidCharReplacement || "string" === typeof input.invalidCharReplacement || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
322
|
+
method: "typia.createAssert",
|
|
323
|
+
path: _path + ".invalidCharReplacement",
|
|
324
|
+
expected: "(string | undefined)",
|
|
325
|
+
value: input.invalidCharReplacement
|
|
326
|
+
}, _errorFactory))) && true && (false === _exceptionable || Object.keys(input).every(key => {
|
|
327
|
+
if (["version", "encoding", "standalone", "keepNullNodes", "keepNullAttributes", "ignoreConverters", "skipWhitespaceOnlyText", "convert", "defaultNamespace", "namespaceAlias", "invalidCharReplacement", "parser"].some(prop => key === prop))
|
|
328
|
+
return true;
|
|
329
|
+
const value = input[key];
|
|
330
|
+
if (undefined === value)
|
|
331
|
+
return true;
|
|
332
|
+
return true;
|
|
333
|
+
})); const _ao4 = (input, _path, _exceptionable = true) => (undefined === input.att || "string" === typeof input.att || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
334
|
+
method: "typia.createAssert",
|
|
335
|
+
path: _path + ".att",
|
|
336
|
+
expected: "(string | undefined)",
|
|
337
|
+
value: input.att
|
|
338
|
+
}, _errorFactory)) && (undefined === input.ins || "string" === typeof input.ins || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
339
|
+
method: "typia.createAssert",
|
|
340
|
+
path: _path + ".ins",
|
|
341
|
+
expected: "(string | undefined)",
|
|
342
|
+
value: input.ins
|
|
343
|
+
}, _errorFactory)) && (undefined === input.text || "string" === typeof input.text || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
344
|
+
method: "typia.createAssert",
|
|
345
|
+
path: _path + ".text",
|
|
346
|
+
expected: "(string | undefined)",
|
|
347
|
+
value: input.text
|
|
348
|
+
}, _errorFactory)) && (undefined === input.cdata || "string" === typeof input.cdata || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
349
|
+
method: "typia.createAssert",
|
|
350
|
+
path: _path + ".cdata",
|
|
351
|
+
expected: "(string | undefined)",
|
|
352
|
+
value: input.cdata
|
|
353
|
+
}, _errorFactory)) && (undefined === input.comment || "string" === typeof input.comment || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
354
|
+
method: "typia.createAssert",
|
|
355
|
+
path: _path + ".comment",
|
|
356
|
+
expected: "(string | undefined)",
|
|
357
|
+
value: input.comment
|
|
358
|
+
}, _errorFactory)); const _ao5 = (input, _path, _exceptionable = true) => (null === input.ele || undefined === input.ele || "string" === typeof input.ele || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
359
|
+
method: "typia.createAssert",
|
|
360
|
+
path: _path + ".ele",
|
|
361
|
+
expected: "(null | string | undefined)",
|
|
362
|
+
value: input.ele
|
|
363
|
+
}, _errorFactory)) && (null === input.att || undefined === input.att || "string" === typeof input.att || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
364
|
+
method: "typia.createAssert",
|
|
365
|
+
path: _path + ".att",
|
|
366
|
+
expected: "(null | string | undefined)",
|
|
367
|
+
value: input.att
|
|
368
|
+
}, _errorFactory)); const _ao6 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
369
|
+
const value = input[key];
|
|
370
|
+
if (undefined === value)
|
|
371
|
+
return true;
|
|
372
|
+
return null === value || undefined === value || "string" === typeof value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
373
|
+
method: "typia.createAssert",
|
|
374
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
375
|
+
expected: "(null | string | undefined)",
|
|
376
|
+
value: value
|
|
377
|
+
}, _errorFactory);
|
|
378
|
+
}); const _ao7 = (input, _path, _exceptionable = true) => (undefined === input.wellFormed || "boolean" === typeof input.wellFormed || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
379
|
+
method: "typia.createAssert",
|
|
380
|
+
path: _path + ".wellFormed",
|
|
381
|
+
expected: "(boolean | undefined)",
|
|
382
|
+
value: input.wellFormed
|
|
383
|
+
}, _errorFactory)) && (undefined === input.format || "xml" === input.format || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
384
|
+
method: "typia.createAssert",
|
|
385
|
+
path: _path + ".format",
|
|
386
|
+
expected: "(\"xml\" | undefined)",
|
|
387
|
+
value: input.format
|
|
388
|
+
}, _errorFactory)) && (undefined === input.headless || "boolean" === typeof input.headless || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
389
|
+
method: "typia.createAssert",
|
|
390
|
+
path: _path + ".headless",
|
|
391
|
+
expected: "(boolean | undefined)",
|
|
392
|
+
value: input.headless
|
|
393
|
+
}, _errorFactory)) && (undefined === input.prettyPrint || "boolean" === typeof input.prettyPrint || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
394
|
+
method: "typia.createAssert",
|
|
395
|
+
path: _path + ".prettyPrint",
|
|
396
|
+
expected: "(boolean | undefined)",
|
|
397
|
+
value: input.prettyPrint
|
|
398
|
+
}, _errorFactory)) && (undefined === input.indent || "string" === typeof input.indent || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
399
|
+
method: "typia.createAssert",
|
|
400
|
+
path: _path + ".indent",
|
|
401
|
+
expected: "(string | undefined)",
|
|
402
|
+
value: input.indent
|
|
403
|
+
}, _errorFactory)) && (undefined === input.newline || "string" === typeof input.newline || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
404
|
+
method: "typia.createAssert",
|
|
405
|
+
path: _path + ".newline",
|
|
406
|
+
expected: "(string | undefined)",
|
|
407
|
+
value: input.newline
|
|
408
|
+
}, _errorFactory)) && (undefined === input.offset || "number" === typeof input.offset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
409
|
+
method: "typia.createAssert",
|
|
410
|
+
path: _path + ".offset",
|
|
411
|
+
expected: "(number | undefined)",
|
|
412
|
+
value: input.offset
|
|
413
|
+
}, _errorFactory)) && (undefined === input.width || "number" === typeof input.width || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
414
|
+
method: "typia.createAssert",
|
|
415
|
+
path: _path + ".width",
|
|
416
|
+
expected: "(number | undefined)",
|
|
417
|
+
value: input.width
|
|
418
|
+
}, _errorFactory)) && (undefined === input.allowEmptyTags || "boolean" === typeof input.allowEmptyTags || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
419
|
+
method: "typia.createAssert",
|
|
420
|
+
path: _path + ".allowEmptyTags",
|
|
421
|
+
expected: "(boolean | undefined)",
|
|
422
|
+
value: input.allowEmptyTags
|
|
423
|
+
}, _errorFactory)) && (undefined === input.indentTextOnlyNodes || "boolean" === typeof input.indentTextOnlyNodes || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
424
|
+
method: "typia.createAssert",
|
|
425
|
+
path: _path + ".indentTextOnlyNodes",
|
|
426
|
+
expected: "(boolean | undefined)",
|
|
427
|
+
value: input.indentTextOnlyNodes
|
|
428
|
+
}, _errorFactory)) && (undefined === input.spaceBeforeSlash || "boolean" === typeof input.spaceBeforeSlash || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
429
|
+
method: "typia.createAssert",
|
|
430
|
+
path: _path + ".spaceBeforeSlash",
|
|
431
|
+
expected: "(boolean | undefined)",
|
|
432
|
+
value: input.spaceBeforeSlash
|
|
433
|
+
}, _errorFactory)); const _ao8 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
434
|
+
const value = input[key];
|
|
435
|
+
if (undefined === value)
|
|
436
|
+
return true;
|
|
437
|
+
return true;
|
|
438
|
+
}); const _ao9 = (input, _path, _exceptionable = true) => (("object" === typeof input.__context && null !== input.__context || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
439
|
+
method: "typia.createAssert",
|
|
440
|
+
path: _path + ".__context",
|
|
441
|
+
expected: "__type.o5",
|
|
442
|
+
value: input.__context
|
|
443
|
+
}, _errorFactory)) && _ao10(input.__context, _path + ".__context", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
444
|
+
method: "typia.createAssert",
|
|
445
|
+
path: _path + ".__context",
|
|
446
|
+
expected: "__type.o5",
|
|
447
|
+
value: input.__context
|
|
448
|
+
}, _errorFactory)) && ((null !== input.__returnValue || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
449
|
+
method: "typia.createAssert",
|
|
450
|
+
path: _path + ".__returnValue",
|
|
451
|
+
expected: "(Array<any> | __type.o3)",
|
|
452
|
+
value: input.__returnValue
|
|
453
|
+
}, _errorFactory)) && (undefined !== input.__returnValue || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
454
|
+
method: "typia.createAssert",
|
|
455
|
+
path: _path + ".__returnValue",
|
|
456
|
+
expected: "(Array<any> | __type.o3)",
|
|
457
|
+
value: input.__returnValue
|
|
458
|
+
}, _errorFactory)) && (Array.isArray(input.__returnValue) || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _ao8(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
459
|
+
method: "typia.createAssert",
|
|
460
|
+
path: _path + ".__returnValue",
|
|
461
|
+
expected: "(Array<any> | __type.o3)",
|
|
462
|
+
value: input.__returnValue
|
|
463
|
+
}, _errorFactory) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
464
|
+
method: "typia.createAssert",
|
|
465
|
+
path: _path + ".__returnValue",
|
|
466
|
+
expected: "(Array<any> | __type.o3)",
|
|
467
|
+
value: input.__returnValue
|
|
468
|
+
}, _errorFactory))); const _ao10 = (input, _path, _exceptionable = true) => ("string" === typeof input.publishId || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
469
|
+
method: "typia.createAssert",
|
|
470
|
+
path: _path + ".publishId",
|
|
471
|
+
expected: "string",
|
|
472
|
+
value: input.publishId
|
|
473
|
+
}, _errorFactory)) && (Array.isArray(input.items) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
474
|
+
method: "typia.createAssert",
|
|
475
|
+
path: _path + ".items",
|
|
476
|
+
expected: "Array<unknown>",
|
|
477
|
+
value: input.items
|
|
478
|
+
}, _errorFactory)); const _ao11 = (input, _path, _exceptionable = true) => (("object" === typeof input.__context && null !== input.__context && false === Array.isArray(input.__context) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
479
|
+
method: "typia.createAssert",
|
|
480
|
+
path: _path + ".__context",
|
|
481
|
+
expected: "Record<string, unknown>",
|
|
482
|
+
value: input.__context
|
|
483
|
+
}, _errorFactory)) && _ao12(input.__context, _path + ".__context", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
484
|
+
method: "typia.createAssert",
|
|
485
|
+
path: _path + ".__context",
|
|
486
|
+
expected: "Record<string, unknown>",
|
|
487
|
+
value: input.__context
|
|
488
|
+
}, _errorFactory)) && ((null !== input.__returnValue || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
489
|
+
method: "typia.createAssert",
|
|
490
|
+
path: _path + ".__returnValue",
|
|
491
|
+
expected: "(Array<any> | __type.o3)",
|
|
492
|
+
value: input.__returnValue
|
|
493
|
+
}, _errorFactory)) && (undefined !== input.__returnValue || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
494
|
+
method: "typia.createAssert",
|
|
495
|
+
path: _path + ".__returnValue",
|
|
496
|
+
expected: "(Array<any> | __type.o3)",
|
|
497
|
+
value: input.__returnValue
|
|
498
|
+
}, _errorFactory)) && (Array.isArray(input.__returnValue) || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _ao8(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
499
|
+
method: "typia.createAssert",
|
|
500
|
+
path: _path + ".__returnValue",
|
|
501
|
+
expected: "(Array<any> | __type.o3)",
|
|
502
|
+
value: input.__returnValue
|
|
503
|
+
}, _errorFactory) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
504
|
+
method: "typia.createAssert",
|
|
505
|
+
path: _path + ".__returnValue",
|
|
506
|
+
expected: "(Array<any> | __type.o3)",
|
|
507
|
+
value: input.__returnValue
|
|
508
|
+
}, _errorFactory))); const _ao12 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
509
|
+
const value = input[key];
|
|
510
|
+
if (undefined === value)
|
|
511
|
+
return true;
|
|
512
|
+
return true;
|
|
513
|
+
}); const _ao13 = (input, _path, _exceptionable = true) => (undefined === input.preset || "string" === typeof input.preset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
514
|
+
method: "typia.createAssert",
|
|
515
|
+
path: _path + ".preset",
|
|
516
|
+
expected: "(string | undefined)",
|
|
517
|
+
value: input.preset
|
|
518
|
+
}, _errorFactory)) && ("string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
519
|
+
method: "typia.createAssert",
|
|
520
|
+
path: _path + ".type",
|
|
521
|
+
expected: "string",
|
|
522
|
+
value: input.type
|
|
523
|
+
}, _errorFactory)) && (undefined === input.scene || ("object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
524
|
+
method: "typia.createAssert",
|
|
525
|
+
path: _path + ".scene",
|
|
526
|
+
expected: "(RenderSceneObject | undefined)",
|
|
527
|
+
value: input.scene
|
|
528
|
+
}, _errorFactory)) && _ao14(input.scene, _path + ".scene", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
529
|
+
method: "typia.createAssert",
|
|
530
|
+
path: _path + ".scene",
|
|
531
|
+
expected: "(RenderSceneObject | undefined)",
|
|
532
|
+
value: input.scene
|
|
533
|
+
}, _errorFactory)) && (undefined === input.profile || ("object" === typeof input.profile && null !== input.profile || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
534
|
+
method: "typia.createAssert",
|
|
535
|
+
path: _path + ".profile",
|
|
536
|
+
expected: "(RenderProfileObject | undefined)",
|
|
537
|
+
value: input.profile
|
|
538
|
+
}, _errorFactory)) && _ao29(input.profile, _path + ".profile", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
539
|
+
method: "typia.createAssert",
|
|
540
|
+
path: _path + ".profile",
|
|
541
|
+
expected: "(RenderProfileObject | undefined)",
|
|
542
|
+
value: input.profile
|
|
543
|
+
}, _errorFactory)); const _ao14 = (input, _path, _exceptionable = true) => (undefined === input.id || "string" === typeof input.id || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
544
|
+
method: "typia.createAssert",
|
|
545
|
+
path: _path + ".id",
|
|
546
|
+
expected: "(string | undefined)",
|
|
547
|
+
value: input.id
|
|
548
|
+
}, _errorFactory)) && (undefined === input.preset || "string" === typeof input.preset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
549
|
+
method: "typia.createAssert",
|
|
550
|
+
path: _path + ".preset",
|
|
551
|
+
expected: "(string | undefined)",
|
|
552
|
+
value: input.preset
|
|
553
|
+
}, _errorFactory)) && (null === input.input || undefined === input.input || ("object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
554
|
+
method: "typia.createAssert",
|
|
555
|
+
path: _path + ".input",
|
|
556
|
+
expected: "(__type.o7 | null | undefined)",
|
|
557
|
+
value: input.input
|
|
558
|
+
}, _errorFactory)) && _ao15(input.input, _path + ".input", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
559
|
+
method: "typia.createAssert",
|
|
560
|
+
path: _path + ".input",
|
|
561
|
+
expected: "(__type.o7 | null | undefined)",
|
|
562
|
+
value: input.input
|
|
563
|
+
}, _errorFactory)) && (undefined === input.lang || "string" === typeof input.lang || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
564
|
+
method: "typia.createAssert",
|
|
565
|
+
path: _path + ".lang",
|
|
566
|
+
expected: "(string | undefined)",
|
|
567
|
+
value: input.lang
|
|
568
|
+
}, _errorFactory)) && (undefined === input.subtitle || "string" === typeof input.subtitle || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
569
|
+
method: "typia.createAssert",
|
|
570
|
+
path: _path + ".subtitle",
|
|
571
|
+
expected: "(string | undefined)",
|
|
572
|
+
value: input.subtitle
|
|
573
|
+
}, _errorFactory)) && (undefined === input.graphics || "string" === typeof input.graphics || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
574
|
+
method: "typia.createAssert",
|
|
575
|
+
path: _path + ".graphics",
|
|
576
|
+
expected: "(string | undefined)",
|
|
577
|
+
value: input.graphics
|
|
578
|
+
}, _errorFactory)) && (undefined === input.subtitleTracks || ("object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
579
|
+
method: "typia.createAssert",
|
|
580
|
+
path: _path + ".subtitleTracks",
|
|
581
|
+
expected: "(RenderSceneSubtitleTracks | undefined)",
|
|
582
|
+
value: input.subtitleTracks
|
|
583
|
+
}, _errorFactory)) && _ao17(input.subtitleTracks, _path + ".subtitleTracks", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
584
|
+
method: "typia.createAssert",
|
|
585
|
+
path: _path + ".subtitleTracks",
|
|
586
|
+
expected: "(RenderSceneSubtitleTracks | undefined)",
|
|
587
|
+
value: input.subtitleTracks
|
|
588
|
+
}, _errorFactory)) && (undefined === input.video || ("object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
589
|
+
method: "typia.createAssert",
|
|
590
|
+
path: _path + ".video",
|
|
591
|
+
expected: "(__type.o9 | undefined)",
|
|
592
|
+
value: input.video
|
|
593
|
+
}, _errorFactory)) && _ao20(input.video, _path + ".video", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
594
|
+
method: "typia.createAssert",
|
|
595
|
+
path: _path + ".video",
|
|
596
|
+
expected: "(__type.o9 | undefined)",
|
|
597
|
+
value: input.video
|
|
598
|
+
}, _errorFactory)) && (undefined === input.audio || ("object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
599
|
+
method: "typia.createAssert",
|
|
600
|
+
path: _path + ".audio",
|
|
601
|
+
expected: "(__type.o13 | undefined)",
|
|
602
|
+
value: input.audio
|
|
603
|
+
}, _errorFactory)) && _ao27(input.audio, _path + ".audio", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
604
|
+
method: "typia.createAssert",
|
|
605
|
+
path: _path + ".audio",
|
|
606
|
+
expected: "(__type.o13 | undefined)",
|
|
607
|
+
value: input.audio
|
|
608
|
+
}, _errorFactory)) && (undefined === input.start || "number" === typeof input.start || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
609
|
+
method: "typia.createAssert",
|
|
610
|
+
path: _path + ".start",
|
|
611
|
+
expected: "(number | undefined)",
|
|
612
|
+
value: input.start
|
|
613
|
+
}, _errorFactory)) && (undefined === input.end || "number" === typeof input.end || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
614
|
+
method: "typia.createAssert",
|
|
615
|
+
path: _path + ".end",
|
|
616
|
+
expected: "(number | undefined)",
|
|
617
|
+
value: input.end
|
|
618
|
+
}, _errorFactory)) && (undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
619
|
+
method: "typia.createAssert",
|
|
620
|
+
path: _path + ".transcribe",
|
|
621
|
+
expected: "(__type.o14 | undefined)",
|
|
622
|
+
value: input.transcribe
|
|
623
|
+
}, _errorFactory)) && _ao28(input.transcribe, _path + ".transcribe", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
624
|
+
method: "typia.createAssert",
|
|
625
|
+
path: _path + ".transcribe",
|
|
626
|
+
expected: "(__type.o14 | undefined)",
|
|
627
|
+
value: input.transcribe
|
|
628
|
+
}, _errorFactory)) && (undefined === input.crop || ("object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
629
|
+
method: "typia.createAssert",
|
|
630
|
+
path: _path + ".crop",
|
|
631
|
+
expected: "(RenderSceneCrop | undefined)",
|
|
632
|
+
value: input.crop
|
|
633
|
+
}, _errorFactory)) && _ao25(input.crop, _path + ".crop", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
634
|
+
method: "typia.createAssert",
|
|
635
|
+
path: _path + ".crop",
|
|
636
|
+
expected: "(RenderSceneCrop | undefined)",
|
|
637
|
+
value: input.crop
|
|
638
|
+
}, _errorFactory)) && (undefined === input.filters || ("object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
639
|
+
method: "typia.createAssert",
|
|
640
|
+
path: _path + ".filters",
|
|
641
|
+
expected: "(RenderSceneFilters | undefined)",
|
|
642
|
+
value: input.filters
|
|
643
|
+
}, _errorFactory)) && _ao21(input.filters, _path + ".filters", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
644
|
+
method: "typia.createAssert",
|
|
645
|
+
path: _path + ".filters",
|
|
646
|
+
expected: "(RenderSceneFilters | undefined)",
|
|
647
|
+
value: input.filters
|
|
648
|
+
}, _errorFactory)) && (undefined === input.orientation || "number" === typeof input.orientation || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
649
|
+
method: "typia.createAssert",
|
|
650
|
+
path: _path + ".orientation",
|
|
651
|
+
expected: "(number | undefined)",
|
|
652
|
+
value: input.orientation
|
|
653
|
+
}, _errorFactory)) && (undefined === input.rotate || "number" === typeof input.rotate || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
654
|
+
method: "typia.createAssert",
|
|
655
|
+
path: _path + ".rotate",
|
|
656
|
+
expected: "(number | undefined)",
|
|
657
|
+
value: input.rotate
|
|
658
|
+
}, _errorFactory)) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
659
|
+
method: "typia.createAssert",
|
|
660
|
+
path: _path + ".interlaced",
|
|
661
|
+
expected: "(\"bff\" | \"tff\" | false | null | undefined)",
|
|
662
|
+
value: input.interlaced
|
|
663
|
+
}, _errorFactory)) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
664
|
+
method: "typia.createAssert",
|
|
665
|
+
path: _path + ".alpha",
|
|
666
|
+
expected: "(\"straight\" | boolean | null | undefined)",
|
|
667
|
+
value: input.alpha
|
|
668
|
+
}, _errorFactory)); const _ao15 = (input, _path, _exceptionable = true) => (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
669
|
+
method: "typia.createAssert",
|
|
670
|
+
path: _path + ".type",
|
|
671
|
+
expected: "(string | undefined)",
|
|
672
|
+
value: input.type
|
|
673
|
+
}, _errorFactory)) && (null === input.file || undefined === input.file || "string" === typeof input.file || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
674
|
+
method: "typia.createAssert",
|
|
675
|
+
path: _path + ".file",
|
|
676
|
+
expected: "(null | string | undefined)",
|
|
677
|
+
value: input.file
|
|
678
|
+
}, _errorFactory)) && (undefined === input.video || ("object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
679
|
+
method: "typia.createAssert",
|
|
680
|
+
path: _path + ".video",
|
|
681
|
+
expected: "(__type.o8 | undefined)",
|
|
682
|
+
value: input.video
|
|
683
|
+
}, _errorFactory)) && _ao16(input.video, _path + ".video", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
684
|
+
method: "typia.createAssert",
|
|
685
|
+
path: _path + ".video",
|
|
686
|
+
expected: "(__type.o8 | undefined)",
|
|
687
|
+
value: input.video
|
|
688
|
+
}, _errorFactory)) && (null === input.proxy || undefined === input.proxy || "string" === typeof input.proxy || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
689
|
+
method: "typia.createAssert",
|
|
690
|
+
path: _path + ".proxy",
|
|
691
|
+
expected: "(null | string | undefined)",
|
|
692
|
+
value: input.proxy
|
|
693
|
+
}, _errorFactory)) && (null === input.proxyManifest || undefined === input.proxyManifest || "string" === typeof input.proxyManifest || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
694
|
+
method: "typia.createAssert",
|
|
695
|
+
path: _path + ".proxyManifest",
|
|
696
|
+
expected: "(null | string | undefined)",
|
|
697
|
+
value: input.proxyManifest
|
|
698
|
+
}, _errorFactory)) && (null === input.proxyFile || undefined === input.proxyFile || "string" === typeof input.proxyFile || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
699
|
+
method: "typia.createAssert",
|
|
700
|
+
path: _path + ".proxyFile",
|
|
701
|
+
expected: "(null | string | undefined)",
|
|
702
|
+
value: input.proxyFile
|
|
703
|
+
}, _errorFactory)) && (null === input.manifest || undefined === input.manifest || "string" === typeof input.manifest || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
704
|
+
method: "typia.createAssert",
|
|
705
|
+
path: _path + ".manifest",
|
|
706
|
+
expected: "(null | string | undefined)",
|
|
707
|
+
value: input.manifest
|
|
708
|
+
}, _errorFactory)) && (undefined === input.timecode || "number" === typeof input.timecode || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
709
|
+
method: "typia.createAssert",
|
|
710
|
+
path: _path + ".timecode",
|
|
711
|
+
expected: "(number | undefined)",
|
|
712
|
+
value: input.timecode
|
|
713
|
+
}, _errorFactory)) && (undefined === input.timezone || "string" === typeof input.timezone || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
714
|
+
method: "typia.createAssert",
|
|
715
|
+
path: _path + ".timezone",
|
|
716
|
+
expected: "(string | undefined)",
|
|
717
|
+
value: input.timezone
|
|
718
|
+
}, _errorFactory)); const _ao16 = (input, _path, _exceptionable = true) => (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
719
|
+
method: "typia.createAssert",
|
|
720
|
+
path: _path + ".alpha",
|
|
721
|
+
expected: "(\"straight\" | boolean | null | undefined)",
|
|
722
|
+
value: input.alpha
|
|
723
|
+
}, _errorFactory)) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
724
|
+
method: "typia.createAssert",
|
|
725
|
+
path: _path + ".interlaced",
|
|
726
|
+
expected: "(\"bff\" | \"tff\" | false | null | undefined)",
|
|
727
|
+
value: input.interlaced
|
|
728
|
+
}, _errorFactory)); const _ao17 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
729
|
+
const value = input[key];
|
|
730
|
+
if (undefined === value)
|
|
731
|
+
return true;
|
|
732
|
+
return ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
733
|
+
method: "typia.createAssert",
|
|
734
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
735
|
+
expected: "RenderSceneSubtitleTrack",
|
|
736
|
+
value: value
|
|
737
|
+
}, _errorFactory)) && _ao18(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
738
|
+
method: "typia.createAssert",
|
|
739
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
740
|
+
expected: "RenderSceneSubtitleTrack",
|
|
741
|
+
value: value
|
|
742
|
+
}, _errorFactory);
|
|
743
|
+
}); const _ao18 = (input, _path, _exceptionable = true) => (null === input.style || undefined === input.style || "string" === typeof input.style || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
744
|
+
method: "typia.createAssert",
|
|
745
|
+
path: _path + ".style",
|
|
746
|
+
expected: "(null | string | undefined)",
|
|
747
|
+
value: input.style
|
|
748
|
+
}, _errorFactory)) && (undefined === input.styleOverrides || ("object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
749
|
+
method: "typia.createAssert",
|
|
750
|
+
path: _path + ".styleOverrides",
|
|
751
|
+
expected: "(SubtitleStyle | undefined)",
|
|
752
|
+
value: input.styleOverrides
|
|
753
|
+
}, _errorFactory)) && _ao19(input.styleOverrides, _path + ".styleOverrides", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
754
|
+
method: "typia.createAssert",
|
|
755
|
+
path: _path + ".styleOverrides",
|
|
756
|
+
expected: "(SubtitleStyle | undefined)",
|
|
757
|
+
value: input.styleOverrides
|
|
758
|
+
}, _errorFactory)); const _ao19 = (input, _path, _exceptionable = true) => (undefined === input.name || "string" === typeof input.name || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
759
|
+
method: "typia.createAssert",
|
|
760
|
+
path: _path + ".name",
|
|
761
|
+
expected: "(string | undefined)",
|
|
762
|
+
value: input.name
|
|
763
|
+
}, _errorFactory)) && (undefined === input.fontname || "string" === typeof input.fontname || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
764
|
+
method: "typia.createAssert",
|
|
765
|
+
path: _path + ".fontname",
|
|
766
|
+
expected: "(string | undefined)",
|
|
767
|
+
value: input.fontname
|
|
768
|
+
}, _errorFactory)) && (undefined === input.fontsize || "string" === typeof input.fontsize || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
769
|
+
method: "typia.createAssert",
|
|
770
|
+
path: _path + ".fontsize",
|
|
771
|
+
expected: "(string | undefined)",
|
|
772
|
+
value: input.fontsize
|
|
773
|
+
}, _errorFactory)) && (undefined === input.primaryColour || "string" === typeof input.primaryColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
774
|
+
method: "typia.createAssert",
|
|
775
|
+
path: _path + ".primaryColour",
|
|
776
|
+
expected: "(string | undefined)",
|
|
777
|
+
value: input.primaryColour
|
|
778
|
+
}, _errorFactory)) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
779
|
+
method: "typia.createAssert",
|
|
780
|
+
path: _path + ".secondaryColour",
|
|
781
|
+
expected: "(string | undefined)",
|
|
782
|
+
value: input.secondaryColour
|
|
783
|
+
}, _errorFactory)) && (undefined === input.outlineColour || "string" === typeof input.outlineColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
784
|
+
method: "typia.createAssert",
|
|
785
|
+
path: _path + ".outlineColour",
|
|
786
|
+
expected: "(string | undefined)",
|
|
787
|
+
value: input.outlineColour
|
|
788
|
+
}, _errorFactory)) && (undefined === input.backColour || "string" === typeof input.backColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
789
|
+
method: "typia.createAssert",
|
|
790
|
+
path: _path + ".backColour",
|
|
791
|
+
expected: "(string | undefined)",
|
|
792
|
+
value: input.backColour
|
|
793
|
+
}, _errorFactory)) && (undefined === input.bold || "string" === typeof input.bold || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
794
|
+
method: "typia.createAssert",
|
|
795
|
+
path: _path + ".bold",
|
|
796
|
+
expected: "(string | undefined)",
|
|
797
|
+
value: input.bold
|
|
798
|
+
}, _errorFactory)) && (undefined === input.italic || "string" === typeof input.italic || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
799
|
+
method: "typia.createAssert",
|
|
800
|
+
path: _path + ".italic",
|
|
801
|
+
expected: "(string | undefined)",
|
|
802
|
+
value: input.italic
|
|
803
|
+
}, _errorFactory)) && (undefined === input.underline || "string" === typeof input.underline || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
804
|
+
method: "typia.createAssert",
|
|
805
|
+
path: _path + ".underline",
|
|
806
|
+
expected: "(string | undefined)",
|
|
807
|
+
value: input.underline
|
|
808
|
+
}, _errorFactory)) && (undefined === input.strikeOut || "string" === typeof input.strikeOut || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
809
|
+
method: "typia.createAssert",
|
|
810
|
+
path: _path + ".strikeOut",
|
|
811
|
+
expected: "(string | undefined)",
|
|
812
|
+
value: input.strikeOut
|
|
813
|
+
}, _errorFactory)) && (undefined === input.scaleX || "string" === typeof input.scaleX || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
814
|
+
method: "typia.createAssert",
|
|
815
|
+
path: _path + ".scaleX",
|
|
816
|
+
expected: "(string | undefined)",
|
|
817
|
+
value: input.scaleX
|
|
818
|
+
}, _errorFactory)) && (undefined === input.scaleY || "string" === typeof input.scaleY || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
819
|
+
method: "typia.createAssert",
|
|
820
|
+
path: _path + ".scaleY",
|
|
821
|
+
expected: "(string | undefined)",
|
|
822
|
+
value: input.scaleY
|
|
823
|
+
}, _errorFactory)) && (undefined === input.spacing || "string" === typeof input.spacing || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
824
|
+
method: "typia.createAssert",
|
|
825
|
+
path: _path + ".spacing",
|
|
826
|
+
expected: "(string | undefined)",
|
|
827
|
+
value: input.spacing
|
|
828
|
+
}, _errorFactory)) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
829
|
+
method: "typia.createAssert",
|
|
830
|
+
path: _path + ".lineSpacing",
|
|
831
|
+
expected: "(string | undefined)",
|
|
832
|
+
value: input.lineSpacing
|
|
833
|
+
}, _errorFactory)) && (undefined === input.angle || "string" === typeof input.angle || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
834
|
+
method: "typia.createAssert",
|
|
835
|
+
path: _path + ".angle",
|
|
836
|
+
expected: "(string | undefined)",
|
|
837
|
+
value: input.angle
|
|
838
|
+
}, _errorFactory)) && (undefined === input.borderStyle || "string" === typeof input.borderStyle || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
839
|
+
method: "typia.createAssert",
|
|
840
|
+
path: _path + ".borderStyle",
|
|
841
|
+
expected: "(string | undefined)",
|
|
842
|
+
value: input.borderStyle
|
|
843
|
+
}, _errorFactory)) && (undefined === input.outline || "string" === typeof input.outline || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
844
|
+
method: "typia.createAssert",
|
|
845
|
+
path: _path + ".outline",
|
|
846
|
+
expected: "(string | undefined)",
|
|
847
|
+
value: input.outline
|
|
848
|
+
}, _errorFactory)) && (undefined === input.shadow || "string" === typeof input.shadow || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
849
|
+
method: "typia.createAssert",
|
|
850
|
+
path: _path + ".shadow",
|
|
851
|
+
expected: "(string | undefined)",
|
|
852
|
+
value: input.shadow
|
|
853
|
+
}, _errorFactory)) && (undefined === input.alignment || "string" === typeof input.alignment || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
854
|
+
method: "typia.createAssert",
|
|
855
|
+
path: _path + ".alignment",
|
|
856
|
+
expected: "(string | undefined)",
|
|
857
|
+
value: input.alignment
|
|
858
|
+
}, _errorFactory)) && (undefined === input.marginL || "string" === typeof input.marginL || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
859
|
+
method: "typia.createAssert",
|
|
860
|
+
path: _path + ".marginL",
|
|
861
|
+
expected: "(string | undefined)",
|
|
862
|
+
value: input.marginL
|
|
863
|
+
}, _errorFactory)) && (undefined === input.marginR || "string" === typeof input.marginR || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
864
|
+
method: "typia.createAssert",
|
|
865
|
+
path: _path + ".marginR",
|
|
866
|
+
expected: "(string | undefined)",
|
|
867
|
+
value: input.marginR
|
|
868
|
+
}, _errorFactory)) && (undefined === input.marginV || "string" === typeof input.marginV || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
869
|
+
method: "typia.createAssert",
|
|
870
|
+
path: _path + ".marginV",
|
|
871
|
+
expected: "(string | undefined)",
|
|
872
|
+
value: input.marginV
|
|
873
|
+
}, _errorFactory)) && (undefined === input.encoding || "string" === typeof input.encoding || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
874
|
+
method: "typia.createAssert",
|
|
875
|
+
path: _path + ".encoding",
|
|
876
|
+
expected: "(string | undefined)",
|
|
877
|
+
value: input.encoding
|
|
878
|
+
}, _errorFactory)); const _ao20 = (input, _path, _exceptionable = true) => (undefined === input.filters || ("object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
879
|
+
method: "typia.createAssert",
|
|
880
|
+
path: _path + ".filters",
|
|
881
|
+
expected: "(RenderSceneFilters | undefined)",
|
|
882
|
+
value: input.filters
|
|
883
|
+
}, _errorFactory)) && _ao21(input.filters, _path + ".filters", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
884
|
+
method: "typia.createAssert",
|
|
885
|
+
path: _path + ".filters",
|
|
886
|
+
expected: "(RenderSceneFilters | undefined)",
|
|
887
|
+
value: input.filters
|
|
888
|
+
}, _errorFactory)) && (undefined === input.crop || ("object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
889
|
+
method: "typia.createAssert",
|
|
890
|
+
path: _path + ".crop",
|
|
891
|
+
expected: "(RenderSceneCrop | undefined)",
|
|
892
|
+
value: input.crop
|
|
893
|
+
}, _errorFactory)) && _ao25(input.crop, _path + ".crop", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
894
|
+
method: "typia.createAssert",
|
|
895
|
+
path: _path + ".crop",
|
|
896
|
+
expected: "(RenderSceneCrop | undefined)",
|
|
897
|
+
value: input.crop
|
|
898
|
+
}, _errorFactory)) && (undefined === input.focus || ("object" === typeof input.focus && null !== input.focus && false === Array.isArray(input.focus) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
899
|
+
method: "typia.createAssert",
|
|
900
|
+
path: _path + ".focus",
|
|
901
|
+
expected: "(RenderSceneFocus | undefined)",
|
|
902
|
+
value: input.focus
|
|
903
|
+
}, _errorFactory)) && _ao26(input.focus, _path + ".focus", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
904
|
+
method: "typia.createAssert",
|
|
905
|
+
path: _path + ".focus",
|
|
906
|
+
expected: "(RenderSceneFocus | undefined)",
|
|
907
|
+
value: input.focus
|
|
908
|
+
}, _errorFactory)) && (undefined === input.orientation || "number" === typeof input.orientation || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
909
|
+
method: "typia.createAssert",
|
|
910
|
+
path: _path + ".orientation",
|
|
911
|
+
expected: "(number | undefined)",
|
|
912
|
+
value: input.orientation
|
|
913
|
+
}, _errorFactory)) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
914
|
+
method: "typia.createAssert",
|
|
915
|
+
path: _path + ".interlaced",
|
|
916
|
+
expected: "(\"bff\" | \"tff\" | false | null | undefined)",
|
|
917
|
+
value: input.interlaced
|
|
918
|
+
}, _errorFactory)) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
919
|
+
method: "typia.createAssert",
|
|
920
|
+
path: _path + ".alpha",
|
|
921
|
+
expected: "(\"straight\" | boolean | null | undefined)",
|
|
922
|
+
value: input.alpha
|
|
923
|
+
}, _errorFactory)); const _ao21 = (input, _path, _exceptionable = true) => (undefined === input.eq || ("object" === typeof input.eq && null !== input.eq && false === Array.isArray(input.eq) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
924
|
+
method: "typia.createAssert",
|
|
925
|
+
path: _path + ".eq",
|
|
926
|
+
expected: "(__type.o10 | undefined)",
|
|
927
|
+
value: input.eq
|
|
928
|
+
}, _errorFactory)) && _ao22(input.eq, _path + ".eq", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
929
|
+
method: "typia.createAssert",
|
|
930
|
+
path: _path + ".eq",
|
|
931
|
+
expected: "(__type.o10 | undefined)",
|
|
932
|
+
value: input.eq
|
|
933
|
+
}, _errorFactory)) && (undefined === input.hue || ("object" === typeof input.hue && null !== input.hue && false === Array.isArray(input.hue) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
934
|
+
method: "typia.createAssert",
|
|
935
|
+
path: _path + ".hue",
|
|
936
|
+
expected: "(__type.o11 | undefined)",
|
|
937
|
+
value: input.hue
|
|
938
|
+
}, _errorFactory)) && _ao23(input.hue, _path + ".hue", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
939
|
+
method: "typia.createAssert",
|
|
940
|
+
path: _path + ".hue",
|
|
941
|
+
expected: "(__type.o11 | undefined)",
|
|
942
|
+
value: input.hue
|
|
943
|
+
}, _errorFactory)) && (undefined === input.colorbalance || ("object" === typeof input.colorbalance && null !== input.colorbalance && false === Array.isArray(input.colorbalance) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
944
|
+
method: "typia.createAssert",
|
|
945
|
+
path: _path + ".colorbalance",
|
|
946
|
+
expected: "(__type.o12 | undefined)",
|
|
947
|
+
value: input.colorbalance
|
|
948
|
+
}, _errorFactory)) && _ao24(input.colorbalance, _path + ".colorbalance", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
949
|
+
method: "typia.createAssert",
|
|
950
|
+
path: _path + ".colorbalance",
|
|
951
|
+
expected: "(__type.o12 | undefined)",
|
|
952
|
+
value: input.colorbalance
|
|
953
|
+
}, _errorFactory)); const _ao22 = (input, _path, _exceptionable = true) => (undefined === input.brightness || "number" === typeof input.brightness || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
954
|
+
method: "typia.createAssert",
|
|
955
|
+
path: _path + ".brightness",
|
|
956
|
+
expected: "(number | undefined)",
|
|
957
|
+
value: input.brightness
|
|
958
|
+
}, _errorFactory)) && (undefined === input.contrast || "number" === typeof input.contrast || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
959
|
+
method: "typia.createAssert",
|
|
960
|
+
path: _path + ".contrast",
|
|
961
|
+
expected: "(number | undefined)",
|
|
962
|
+
value: input.contrast
|
|
963
|
+
}, _errorFactory)) && (undefined === input.gamma || "number" === typeof input.gamma || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
964
|
+
method: "typia.createAssert",
|
|
965
|
+
path: _path + ".gamma",
|
|
966
|
+
expected: "(number | undefined)",
|
|
967
|
+
value: input.gamma
|
|
968
|
+
}, _errorFactory)) && (undefined === input.saturation || "number" === typeof input.saturation || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
969
|
+
method: "typia.createAssert",
|
|
970
|
+
path: _path + ".saturation",
|
|
971
|
+
expected: "(number | undefined)",
|
|
972
|
+
value: input.saturation
|
|
973
|
+
}, _errorFactory)); const _ao23 = (input, _path, _exceptionable = true) => (undefined === input.h || "number" === typeof input.h || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
974
|
+
method: "typia.createAssert",
|
|
975
|
+
path: _path + ".h",
|
|
976
|
+
expected: "(number | undefined)",
|
|
977
|
+
value: input.h
|
|
978
|
+
}, _errorFactory)) && (undefined === input.s || "number" === typeof input.s || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
979
|
+
method: "typia.createAssert",
|
|
980
|
+
path: _path + ".s",
|
|
981
|
+
expected: "(number | undefined)",
|
|
982
|
+
value: input.s
|
|
983
|
+
}, _errorFactory)) && (undefined === input.b || "number" === typeof input.b || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
984
|
+
method: "typia.createAssert",
|
|
985
|
+
path: _path + ".b",
|
|
986
|
+
expected: "(number | undefined)",
|
|
987
|
+
value: input.b
|
|
988
|
+
}, _errorFactory)); const _ao24 = (input, _path, _exceptionable = true) => (undefined === input.rs || "number" === typeof input.rs || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
989
|
+
method: "typia.createAssert",
|
|
990
|
+
path: _path + ".rs",
|
|
991
|
+
expected: "(number | undefined)",
|
|
992
|
+
value: input.rs
|
|
993
|
+
}, _errorFactory)) && (undefined === input.gs || "number" === typeof input.gs || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
994
|
+
method: "typia.createAssert",
|
|
995
|
+
path: _path + ".gs",
|
|
996
|
+
expected: "(number | undefined)",
|
|
997
|
+
value: input.gs
|
|
998
|
+
}, _errorFactory)) && (undefined === input.bs || "number" === typeof input.bs || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
999
|
+
method: "typia.createAssert",
|
|
1000
|
+
path: _path + ".bs",
|
|
1001
|
+
expected: "(number | undefined)",
|
|
1002
|
+
value: input.bs
|
|
1003
|
+
}, _errorFactory)) && (undefined === input.rm || "number" === typeof input.rm || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1004
|
+
method: "typia.createAssert",
|
|
1005
|
+
path: _path + ".rm",
|
|
1006
|
+
expected: "(number | undefined)",
|
|
1007
|
+
value: input.rm
|
|
1008
|
+
}, _errorFactory)) && (undefined === input.gm || "number" === typeof input.gm || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1009
|
+
method: "typia.createAssert",
|
|
1010
|
+
path: _path + ".gm",
|
|
1011
|
+
expected: "(number | undefined)",
|
|
1012
|
+
value: input.gm
|
|
1013
|
+
}, _errorFactory)) && (undefined === input.bm || "number" === typeof input.bm || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1014
|
+
method: "typia.createAssert",
|
|
1015
|
+
path: _path + ".bm",
|
|
1016
|
+
expected: "(number | undefined)",
|
|
1017
|
+
value: input.bm
|
|
1018
|
+
}, _errorFactory)) && (undefined === input.rh || "number" === typeof input.rh || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1019
|
+
method: "typia.createAssert",
|
|
1020
|
+
path: _path + ".rh",
|
|
1021
|
+
expected: "(number | undefined)",
|
|
1022
|
+
value: input.rh
|
|
1023
|
+
}, _errorFactory)) && (undefined === input.gh || "number" === typeof input.gh || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1024
|
+
method: "typia.createAssert",
|
|
1025
|
+
path: _path + ".gh",
|
|
1026
|
+
expected: "(number | undefined)",
|
|
1027
|
+
value: input.gh
|
|
1028
|
+
}, _errorFactory)) && (undefined === input.bh || "number" === typeof input.bh || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1029
|
+
method: "typia.createAssert",
|
|
1030
|
+
path: _path + ".bh",
|
|
1031
|
+
expected: "(number | undefined)",
|
|
1032
|
+
value: input.bh
|
|
1033
|
+
}, _errorFactory)); const _ao25 = (input, _path, _exceptionable = true) => (undefined === input.x || "number" === typeof input.x || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1034
|
+
method: "typia.createAssert",
|
|
1035
|
+
path: _path + ".x",
|
|
1036
|
+
expected: "(number | undefined)",
|
|
1037
|
+
value: input.x
|
|
1038
|
+
}, _errorFactory)) && (undefined === input.y || "number" === typeof input.y || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1039
|
+
method: "typia.createAssert",
|
|
1040
|
+
path: _path + ".y",
|
|
1041
|
+
expected: "(number | undefined)",
|
|
1042
|
+
value: input.y
|
|
1043
|
+
}, _errorFactory)) && (undefined === input.width || "number" === typeof input.width || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1044
|
+
method: "typia.createAssert",
|
|
1045
|
+
path: _path + ".width",
|
|
1046
|
+
expected: "(number | undefined)",
|
|
1047
|
+
value: input.width
|
|
1048
|
+
}, _errorFactory)) && (undefined === input.height || "number" === typeof input.height || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1049
|
+
method: "typia.createAssert",
|
|
1050
|
+
path: _path + ".height",
|
|
1051
|
+
expected: "(number | undefined)",
|
|
1052
|
+
value: input.height
|
|
1053
|
+
}, _errorFactory)); const _ao26 = (input, _path, _exceptionable = true) => (undefined === input.x || "number" === typeof input.x || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1054
|
+
method: "typia.createAssert",
|
|
1055
|
+
path: _path + ".x",
|
|
1056
|
+
expected: "(number | undefined)",
|
|
1057
|
+
value: input.x
|
|
1058
|
+
}, _errorFactory)) && (undefined === input.y || "number" === typeof input.y || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1059
|
+
method: "typia.createAssert",
|
|
1060
|
+
path: _path + ".y",
|
|
1061
|
+
expected: "(number | undefined)",
|
|
1062
|
+
value: input.y
|
|
1063
|
+
}, _errorFactory)); const _ao27 = (input, _path, _exceptionable = true) => undefined === input.pan || (Array.isArray(input.pan) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1064
|
+
method: "typia.createAssert",
|
|
1065
|
+
path: _path + ".pan",
|
|
1066
|
+
expected: "(Array<Array<number>> | undefined)",
|
|
1067
|
+
value: input.pan
|
|
1068
|
+
}, _errorFactory)) && input.pan.every((elem, _index7) => (Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1069
|
+
method: "typia.createAssert",
|
|
1070
|
+
path: _path + ".pan[" + _index7 + "]",
|
|
1071
|
+
expected: "Array<number>",
|
|
1072
|
+
value: elem
|
|
1073
|
+
}, _errorFactory)) && elem.every((elem, _index8) => "number" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1074
|
+
method: "typia.createAssert",
|
|
1075
|
+
path: _path + ".pan[" + _index7 + "][" + _index8 + "]",
|
|
1076
|
+
expected: "number",
|
|
1077
|
+
value: elem
|
|
1078
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1079
|
+
method: "typia.createAssert",
|
|
1080
|
+
path: _path + ".pan[" + _index7 + "]",
|
|
1081
|
+
expected: "Array<number>",
|
|
1082
|
+
value: elem
|
|
1083
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1084
|
+
method: "typia.createAssert",
|
|
1085
|
+
path: _path + ".pan",
|
|
1086
|
+
expected: "(Array<Array<number>> | undefined)",
|
|
1087
|
+
value: input.pan
|
|
1088
|
+
}, _errorFactory); const _ao28 = (input, _path, _exceptionable = true) => (undefined === input.language || "string" === typeof input.language || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1089
|
+
method: "typia.createAssert",
|
|
1090
|
+
path: _path + ".language",
|
|
1091
|
+
expected: "(string | undefined)",
|
|
1092
|
+
value: input.language
|
|
1093
|
+
}, _errorFactory)) && (undefined === input.pan || (Array.isArray(input.pan) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1094
|
+
method: "typia.createAssert",
|
|
1095
|
+
path: _path + ".pan",
|
|
1096
|
+
expected: "(Array<number> | undefined)",
|
|
1097
|
+
value: input.pan
|
|
1098
|
+
}, _errorFactory)) && input.pan.every((elem, _index9) => "number" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1099
|
+
method: "typia.createAssert",
|
|
1100
|
+
path: _path + ".pan[" + _index9 + "]",
|
|
1101
|
+
expected: "number",
|
|
1102
|
+
value: elem
|
|
1103
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1104
|
+
method: "typia.createAssert",
|
|
1105
|
+
path: _path + ".pan",
|
|
1106
|
+
expected: "(Array<number> | undefined)",
|
|
1107
|
+
value: input.pan
|
|
1108
|
+
}, _errorFactory)) && (undefined === input.diarization || "boolean" === typeof input.diarization || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1109
|
+
method: "typia.createAssert",
|
|
1110
|
+
path: _path + ".diarization",
|
|
1111
|
+
expected: "(boolean | undefined)",
|
|
1112
|
+
value: input.diarization
|
|
1113
|
+
}, _errorFactory)); const _ao29 = (input, _path, _exceptionable = true) => ("string" === typeof input.format || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1114
|
+
method: "typia.createAssert",
|
|
1115
|
+
path: _path + ".format",
|
|
1116
|
+
expected: "string",
|
|
1117
|
+
value: input.format
|
|
1118
|
+
}, _errorFactory)) && (undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1119
|
+
method: "typia.createAssert",
|
|
1120
|
+
path: _path + ".transcribe",
|
|
1121
|
+
expected: "(__type.o15 | undefined)",
|
|
1122
|
+
value: input.transcribe
|
|
1123
|
+
}, _errorFactory)) && _ao30(input.transcribe, _path + ".transcribe", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1124
|
+
method: "typia.createAssert",
|
|
1125
|
+
path: _path + ".transcribe",
|
|
1126
|
+
expected: "(__type.o15 | undefined)",
|
|
1127
|
+
value: input.transcribe
|
|
1128
|
+
}, _errorFactory)) && (undefined === input.translate || ("object" === typeof input.translate && null !== input.translate || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1129
|
+
method: "typia.createAssert",
|
|
1130
|
+
path: _path + ".translate",
|
|
1131
|
+
expected: "(__type.o16 | undefined)",
|
|
1132
|
+
value: input.translate
|
|
1133
|
+
}, _errorFactory)) && _ao31(input.translate, _path + ".translate", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1134
|
+
method: "typia.createAssert",
|
|
1135
|
+
path: _path + ".translate",
|
|
1136
|
+
expected: "(__type.o16 | undefined)",
|
|
1137
|
+
value: input.translate
|
|
1138
|
+
}, _errorFactory)) && (undefined === input.audio || ("object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1139
|
+
method: "typia.createAssert",
|
|
1140
|
+
path: _path + ".audio",
|
|
1141
|
+
expected: "(__type.o17 | undefined)",
|
|
1142
|
+
value: input.audio
|
|
1143
|
+
}, _errorFactory)) && _ao32(input.audio, _path + ".audio", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1144
|
+
method: "typia.createAssert",
|
|
1145
|
+
path: _path + ".audio",
|
|
1146
|
+
expected: "(__type.o17 | undefined)",
|
|
1147
|
+
value: input.audio
|
|
1148
|
+
}, _errorFactory)) && true && (undefined === input.pick || (Array.isArray(input.pick) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1149
|
+
method: "typia.createAssert",
|
|
1150
|
+
path: _path + ".pick",
|
|
1151
|
+
expected: "(Array<string> | undefined)",
|
|
1152
|
+
value: input.pick
|
|
1153
|
+
}, _errorFactory)) && input.pick.every((elem, _index10) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1154
|
+
method: "typia.createAssert",
|
|
1155
|
+
path: _path + ".pick[" + _index10 + "]",
|
|
1156
|
+
expected: "string",
|
|
1157
|
+
value: elem
|
|
1158
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1159
|
+
method: "typia.createAssert",
|
|
1160
|
+
path: _path + ".pick",
|
|
1161
|
+
expected: "(Array<string> | undefined)",
|
|
1162
|
+
value: input.pick
|
|
1163
|
+
}, _errorFactory)) && ((null !== input.subtitle || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1164
|
+
method: "typia.createAssert",
|
|
1165
|
+
path: _path + ".subtitle",
|
|
1166
|
+
expected: "(SubtitleProfile | string | undefined)",
|
|
1167
|
+
value: input.subtitle
|
|
1168
|
+
}, _errorFactory)) && (undefined === input.subtitle || "string" === typeof input.subtitle || ("object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1169
|
+
method: "typia.createAssert",
|
|
1170
|
+
path: _path + ".subtitle",
|
|
1171
|
+
expected: "(SubtitleProfile | string | undefined)",
|
|
1172
|
+
value: input.subtitle
|
|
1173
|
+
}, _errorFactory)) && _ao33(input.subtitle, _path + ".subtitle", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1174
|
+
method: "typia.createAssert",
|
|
1175
|
+
path: _path + ".subtitle",
|
|
1176
|
+
expected: "(SubtitleProfile | string | undefined)",
|
|
1177
|
+
value: input.subtitle
|
|
1178
|
+
}, _errorFactory))); const _ao30 = (input, _path, _exceptionable = true) => "string" === typeof input.engine || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1179
|
+
method: "typia.createAssert",
|
|
1180
|
+
path: _path + ".engine",
|
|
1181
|
+
expected: "string",
|
|
1182
|
+
value: input.engine
|
|
1183
|
+
}, _errorFactory); const _ao31 = (input, _path, _exceptionable = true) => "string" === typeof input.language || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1184
|
+
method: "typia.createAssert",
|
|
1185
|
+
path: _path + ".language",
|
|
1186
|
+
expected: "string",
|
|
1187
|
+
value: input.language
|
|
1188
|
+
}, _errorFactory); const _ao32 = (input, _path, _exceptionable = true) => (undefined === input.codec || "string" === typeof input.codec || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1189
|
+
method: "typia.createAssert",
|
|
1190
|
+
path: _path + ".codec",
|
|
1191
|
+
expected: "(string | undefined)",
|
|
1192
|
+
value: input.codec
|
|
1193
|
+
}, _errorFactory)) && (undefined === input.pan || "string" === typeof input.pan || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1194
|
+
method: "typia.createAssert",
|
|
1195
|
+
path: _path + ".pan",
|
|
1196
|
+
expected: "(string | undefined)",
|
|
1197
|
+
value: input.pan
|
|
1198
|
+
}, _errorFactory)) && (undefined === input.samplerate || "number" === typeof input.samplerate || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1199
|
+
method: "typia.createAssert",
|
|
1200
|
+
path: _path + ".samplerate",
|
|
1201
|
+
expected: "(number | undefined)",
|
|
1202
|
+
value: input.samplerate
|
|
1203
|
+
}, _errorFactory)) && (undefined === input.split || "boolean" === typeof input.split || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1204
|
+
method: "typia.createAssert",
|
|
1205
|
+
path: _path + ".split",
|
|
1206
|
+
expected: "(boolean | undefined)",
|
|
1207
|
+
value: input.split
|
|
1208
|
+
}, _errorFactory)); const _ao33 = (input, _path, _exceptionable = true) => (undefined === input.lang || "string" === typeof input.lang || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1209
|
+
method: "typia.createAssert",
|
|
1210
|
+
path: _path + ".lang",
|
|
1211
|
+
expected: "(string | undefined)",
|
|
1212
|
+
value: input.lang
|
|
1213
|
+
}, _errorFactory)) && (undefined === input.style || "string" === typeof input.style || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1214
|
+
method: "typia.createAssert",
|
|
1215
|
+
path: _path + ".style",
|
|
1216
|
+
expected: "(string | undefined)",
|
|
1217
|
+
value: input.style
|
|
1218
|
+
}, _errorFactory)) && (undefined === input.ccconverter || ("object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1219
|
+
method: "typia.createAssert",
|
|
1220
|
+
path: _path + ".ccconverter",
|
|
1221
|
+
expected: "(__type.o18 | undefined)",
|
|
1222
|
+
value: input.ccconverter
|
|
1223
|
+
}, _errorFactory)) && _ao34(input.ccconverter, _path + ".ccconverter", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1224
|
+
method: "typia.createAssert",
|
|
1225
|
+
path: _path + ".ccconverter",
|
|
1226
|
+
expected: "(__type.o18 | undefined)",
|
|
1227
|
+
value: input.ccconverter
|
|
1228
|
+
}, _errorFactory)) && (undefined === input.ass || ("object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1229
|
+
method: "typia.createAssert",
|
|
1230
|
+
path: _path + ".ass",
|
|
1231
|
+
expected: "(__type.o19 | undefined)",
|
|
1232
|
+
value: input.ass
|
|
1233
|
+
}, _errorFactory)) && _ao35(input.ass, _path + ".ass", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1234
|
+
method: "typia.createAssert",
|
|
1235
|
+
path: _path + ".ass",
|
|
1236
|
+
expected: "(__type.o19 | undefined)",
|
|
1237
|
+
value: input.ass
|
|
1238
|
+
}, _errorFactory)); const _ao34 = (input, _path, _exceptionable = true) => undefined === input.preset || "string" === typeof input.preset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1239
|
+
method: "typia.createAssert",
|
|
1240
|
+
path: _path + ".preset",
|
|
1241
|
+
expected: "(string | undefined)",
|
|
1242
|
+
value: input.preset
|
|
1243
|
+
}, _errorFactory); const _ao35 = (input, _path, _exceptionable = true) => (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1244
|
+
method: "typia.createAssert",
|
|
1245
|
+
path: _path + ".futureWordWrapping",
|
|
1246
|
+
expected: "(boolean | undefined)",
|
|
1247
|
+
value: input.futureWordWrapping
|
|
1248
|
+
}, _errorFactory)) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1249
|
+
method: "typia.createAssert",
|
|
1250
|
+
path: _path + ".scaledBorderAndShadow",
|
|
1251
|
+
expected: "(boolean | undefined)",
|
|
1252
|
+
value: input.scaledBorderAndShadow
|
|
1253
|
+
}, _errorFactory)) && (undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1254
|
+
method: "typia.createAssert",
|
|
1255
|
+
path: _path + ".enableUnsafeLineSpacingHack",
|
|
1256
|
+
expected: "(boolean | undefined)",
|
|
1257
|
+
value: input.enableUnsafeLineSpacingHack
|
|
1258
|
+
}, _errorFactory)); const _ao36 = (input, _path, _exceptionable = true) => "string" === typeof input.method || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1259
|
+
method: "typia.createAssert",
|
|
1260
|
+
path: _path + ".method",
|
|
1261
|
+
expected: "string",
|
|
1262
|
+
value: input.method
|
|
1263
|
+
}, _errorFactory); const _ao37 = (input, _path, _exceptionable = true) => ("number" === typeof input.level || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1264
|
+
method: "typia.createAssert",
|
|
1265
|
+
path: _path + ".level",
|
|
1266
|
+
expected: "number",
|
|
1267
|
+
value: input.level
|
|
1268
|
+
}, _errorFactory)) && ("string" === typeof input.code || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1269
|
+
method: "typia.createAssert",
|
|
1270
|
+
path: _path + ".code",
|
|
1271
|
+
expected: "string",
|
|
1272
|
+
value: input.code
|
|
1273
|
+
}, _errorFactory)) && ("string" === typeof input.msg || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1274
|
+
method: "typia.createAssert",
|
|
1275
|
+
path: _path + ".msg",
|
|
1276
|
+
expected: "string",
|
|
1277
|
+
value: input.msg
|
|
1278
|
+
}, _errorFactory)); const _au0 = (input, _path, _exceptionable = true) => (() => {
|
|
1279
|
+
if (undefined !== input.__context)
|
|
1280
|
+
return _ao9(input, _path, true && _exceptionable);
|
|
1281
|
+
else
|
|
1282
|
+
return _ao8(input, _path, true && _exceptionable);
|
|
1283
|
+
})(); const _au1 = (input, _path, _exceptionable = true) => (() => {
|
|
1284
|
+
if (undefined !== input.__context)
|
|
1285
|
+
return _ao11(input, _path, true && _exceptionable);
|
|
1286
|
+
else
|
|
1287
|
+
return _ao8(input, _path, true && _exceptionable);
|
|
1288
|
+
})(); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
1289
|
+
if (false === __is(input)) {
|
|
1290
|
+
_errorFactory = errorFactory;
|
|
1291
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
1292
|
+
method: "typia.createAssert",
|
|
1293
|
+
path: _path + "",
|
|
1294
|
+
expected: "ReportPublishRecord",
|
|
1295
|
+
value: input
|
|
1296
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
1297
|
+
method: "typia.createAssert",
|
|
1298
|
+
path: _path + "",
|
|
1299
|
+
expected: "ReportPublishRecord",
|
|
1300
|
+
value: input
|
|
1301
|
+
}, _errorFactory))(input, "$input", true);
|
|
1302
|
+
}
|
|
1303
|
+
return input;
|
|
1304
|
+
}; })();
|