@nxtedition/types 23.0.54 → 23.0.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common/settings.d.ts +2 -0
- package/dist/nxtpression.d.ts +156 -25
- package/dist/records/domains/asset.d.ts +4 -0
- package/dist/records/domains/connection/empty.d.ts +1 -1
- package/dist/records/domains/connection/facebook.d.ts +1 -1
- package/dist/records/domains/connection/file/ftp.d.ts +2 -2
- package/dist/records/domains/connection/file/http.d.ts +130 -0
- package/dist/records/domains/connection/file/http.js +20 -0
- package/dist/records/domains/connection/file/index.d.ts +6 -4
- package/dist/records/domains/connection/file/index.js +1 -0
- package/dist/records/domains/connection/file/s3.d.ts +1 -1
- package/dist/records/domains/connection/file/sftp.d.ts +2 -2
- package/dist/records/domains/connection/file/smb.d.ts +3 -3
- package/dist/records/domains/connection/index.d.ts +2 -2
- package/dist/records/domains/connection/reuters.d.ts +1 -1
- package/dist/records/domains/publish/empty.d.ts +3 -3
- package/dist/records/domains/publish/facebook.d.ts +1 -1
- package/dist/records/domains/publish/file-legacy.d.ts +1 -1
- package/dist/records/domains/publish/file.d.ts +1 -1
- package/dist/records/domains/publish/index.d.ts +6 -2
- package/dist/records/domains/publish/youtube.d.ts +1 -1
- package/dist/records/validate/assert-guard.js +2572 -298
- package/dist/records/validate/assert.js +2573 -298
- package/dist/records/validate/is.js +169 -41
- package/dist/records/validate/schemas.js +2181 -124
- package/dist/records/validate/stringify.js +804 -60
- package/dist/records/validate/utils.js +1 -1
- package/dist/records/validate/validate-equals.js +3959 -537
- package/dist/records/validate/validate.js +2159 -283
- package/package.json +1 -1
|
@@ -1378,7 +1378,7 @@ function _validateExactRecord(name, input) {
|
|
|
1378
1378
|
if (undefined === value)
|
|
1379
1379
|
return true;
|
|
1380
1380
|
return "string" === typeof value;
|
|
1381
|
-
}); const _io2 = input => "string" === typeof input.family && (undefined === input.asset || "string" === typeof input.asset) && (undefined === input.weight || "bold" === input.weight || "normal" === input.weight) && (undefined === input.style || "
|
|
1381
|
+
}); const _io2 = input => "string" === typeof input.family && (undefined === input.asset || "string" === typeof input.asset) && (undefined === input.weight || "bold" === input.weight || "normal" === input.weight) && (undefined === input.style || "italic" === input.style || "normal" === input.style); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.languages || ("object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) || _report(_exceptionable, {
|
|
1382
1382
|
path: _path + ".languages",
|
|
1383
1383
|
expected: "(Record<string, string> | undefined)",
|
|
1384
1384
|
value: input.languages
|
|
@@ -1423,7 +1423,7 @@ function _validateExactRecord(name, input) {
|
|
|
1423
1423
|
path: _path + ".weight",
|
|
1424
1424
|
expected: "(\"bold\" | \"normal\" | undefined)",
|
|
1425
1425
|
value: input.weight
|
|
1426
|
-
}), undefined === input.style || "
|
|
1426
|
+
}), undefined === input.style || "italic" === input.style || "normal" === input.style || _report(_exceptionable, {
|
|
1427
1427
|
path: _path + ".style",
|
|
1428
1428
|
expected: "(\"italic\" | \"normal\" | undefined)",
|
|
1429
1429
|
value: input.style
|
|
@@ -1462,7 +1462,7 @@ function _validateExactRecord(name, input) {
|
|
|
1462
1462
|
if (undefined === value)
|
|
1463
1463
|
return true;
|
|
1464
1464
|
return "string" === typeof value;
|
|
1465
|
-
}); const _io2 = input => "string" === typeof input.family && (undefined === input.asset || "string" === typeof input.asset) && (undefined === input.weight || "bold" === input.weight || "normal" === input.weight) && (undefined === input.style || "
|
|
1465
|
+
}); const _io2 = input => "string" === typeof input.family && (undefined === input.asset || "string" === typeof input.asset) && (undefined === input.weight || "bold" === input.weight || "normal" === input.weight) && (undefined === input.style || "italic" === input.style || "normal" === input.style); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.languages || ("object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) || _report(_exceptionable, {
|
|
1466
1466
|
path: _path + ".languages",
|
|
1467
1467
|
expected: "(Record<string, string> | undefined)",
|
|
1468
1468
|
value: input.languages
|
|
@@ -1507,7 +1507,7 @@ function _validateExactRecord(name, input) {
|
|
|
1507
1507
|
path: _path + ".weight",
|
|
1508
1508
|
expected: "(\"bold\" | \"normal\" | undefined)",
|
|
1509
1509
|
value: input.weight
|
|
1510
|
-
}), undefined === input.style || "
|
|
1510
|
+
}), undefined === input.style || "italic" === input.style || "normal" === input.style || _report(_exceptionable, {
|
|
1511
1511
|
path: _path + ".style",
|
|
1512
1512
|
expected: "(\"italic\" | \"normal\" | undefined)",
|
|
1513
1513
|
value: input.style
|
|
@@ -1617,7 +1617,7 @@ function _validateExactRecord(name, input) {
|
|
|
1617
1617
|
}; })()(input);
|
|
1618
1618
|
}
|
|
1619
1619
|
case "media.fonts?": {
|
|
1620
|
-
return (() => { const _io0 = input => (undefined === input.fontFaces || Array.isArray(input.fontFaces) && input.fontFaces.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && (undefined === input.fontFamilyNames || Array.isArray(input.fontFamilyNames) && input.fontFamilyNames.every(elem => "string" === typeof elem)); const _io1 = input => "string" === typeof input.name && "string" === typeof input.family && "string" === typeof input.asset && "string" === typeof input.url && "number" === typeof input.weight && ("
|
|
1620
|
+
return (() => { const _io0 = input => (undefined === input.fontFaces || Array.isArray(input.fontFaces) && input.fontFaces.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && (undefined === input.fontFamilyNames || Array.isArray(input.fontFamilyNames) && input.fontFamilyNames.every(elem => "string" === typeof elem)); const _io1 = input => "string" === typeof input.name && "string" === typeof input.family && "string" === typeof input.asset && "string" === typeof input.url && "number" === typeof input.weight && ("italic" === input.style || "normal" === input.style) && (Array.isArray(input.ranges) && input.ranges.every(elem => Array.isArray(elem) && (elem.length === 2 && "number" === typeof elem[0] && "number" === typeof elem[1]))); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.fontFaces || (Array.isArray(input.fontFaces) || _report(_exceptionable, {
|
|
1621
1621
|
path: _path + ".fontFaces",
|
|
1622
1622
|
expected: "(Array<FontFace> | undefined)",
|
|
1623
1623
|
value: input.fontFaces
|
|
@@ -1665,7 +1665,7 @@ function _validateExactRecord(name, input) {
|
|
|
1665
1665
|
path: _path + ".weight",
|
|
1666
1666
|
expected: "number",
|
|
1667
1667
|
value: input.weight
|
|
1668
|
-
}), "
|
|
1668
|
+
}), "italic" === input.style || "normal" === input.style || _report(_exceptionable, {
|
|
1669
1669
|
path: _path + ".style",
|
|
1670
1670
|
expected: "(\"italic\" | \"normal\")",
|
|
1671
1671
|
value: input.style
|
|
@@ -2132,6 +2132,48 @@ function _validateDomainRecord(domain, input) {
|
|
|
2132
2132
|
};
|
|
2133
2133
|
}; })()(input);
|
|
2134
2134
|
}
|
|
2135
|
+
case ":asset.rawTypes?": {
|
|
2136
|
+
return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.value || (Array.isArray(input.value) || _report(_exceptionable, {
|
|
2137
|
+
path: _path + ".value",
|
|
2138
|
+
expected: "(Array<string> | undefined)",
|
|
2139
|
+
value: input.value
|
|
2140
|
+
})) && input.value.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
|
|
2141
|
+
path: _path + ".value[" + _index2 + "]",
|
|
2142
|
+
expected: "string",
|
|
2143
|
+
value: elem
|
|
2144
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
2145
|
+
path: _path + ".value",
|
|
2146
|
+
expected: "(Array<string> | undefined)",
|
|
2147
|
+
value: input.value
|
|
2148
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
2149
|
+
if (false === __is(input)) {
|
|
2150
|
+
errors = [];
|
|
2151
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
2152
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
2153
|
+
path: _path + "",
|
|
2154
|
+
expected: "AssetRawTypesProvidedRecord",
|
|
2155
|
+
value: input
|
|
2156
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
2157
|
+
path: _path + "",
|
|
2158
|
+
expected: "AssetRawTypesProvidedRecord",
|
|
2159
|
+
value: input
|
|
2160
|
+
}))(input, "$input", true);
|
|
2161
|
+
const success = 0 === errors.length;
|
|
2162
|
+
return success ? {
|
|
2163
|
+
success,
|
|
2164
|
+
data: input
|
|
2165
|
+
} : {
|
|
2166
|
+
success,
|
|
2167
|
+
errors,
|
|
2168
|
+
data: input
|
|
2169
|
+
};
|
|
2170
|
+
}
|
|
2171
|
+
return {
|
|
2172
|
+
success: true,
|
|
2173
|
+
data: input
|
|
2174
|
+
};
|
|
2175
|
+
}; })()(input);
|
|
2176
|
+
}
|
|
2135
2177
|
case ":asset.types?": {
|
|
2136
2178
|
return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.value || (Array.isArray(input.value) || _report(_exceptionable, {
|
|
2137
2179
|
path: _path + ".value",
|
|
@@ -3717,30 +3759,158 @@ function _validateDomainRecord(domain, input) {
|
|
|
3717
3759
|
}; })()(input);
|
|
3718
3760
|
}
|
|
3719
3761
|
case ":connection": {
|
|
3720
|
-
return (() => { const _io0 = input => "ftp" === input.protocol && "string" === typeof input.host && (undefined === input.username || "string" === typeof input.username) && (undefined === input.password || "string" === typeof input.password) && (undefined === input.utf8 || "boolean" === typeof input.utf8) && (undefined === input.timezone || "string" === typeof input.timezone) && "file" === input.type && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && _io1(input.metafile)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io1 = input => "string" === typeof input.content; const _io2 = input =>
|
|
3721
|
-
|
|
3762
|
+
return (() => { const _io0 = input => (undefined === input.protocol || "ftp" === input.protocol) && (undefined === input.host || "string" === typeof input.host) && (undefined === input.username || "string" === typeof input.username) && (undefined === input.password || "string" === typeof input.password) && (undefined === input.utf8 || "boolean" === typeof input.utf8) && (undefined === input.timezone || "string" === typeof input.timezone) && (undefined === input.type || "file" === input.type) && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) && _io1(input.metafile)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io1 = input => undefined === input.content || "string" === typeof input.content; const _io2 = input => (undefined === input.protocol || "http" === input.protocol) && (undefined === input.secure || "boolean" === typeof input.secure) && (undefined === input.authType || "none" === input.authType || "oauth2" === input.authType) && (undefined === input.oauth2 || "object" === typeof input.oauth2 && null !== input.oauth2 && false === Array.isArray(input.oauth2) && _io3(input.oauth2)) && (undefined === input.actions || "object" === typeof input.actions && null !== input.actions && false === Array.isArray(input.actions) && _io8(input.actions)) && (undefined === input.type || "file" === input.type) && (undefined === input.host || "string" === typeof input.host) && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) && _io1(input.metafile)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io3 = input => (undefined === input.client || "object" === typeof input.client && null !== input.client && false === Array.isArray(input.client) && _io4(input.client)) && (undefined === input.auth || "object" === typeof input.auth && null !== input.auth && false === Array.isArray(input.auth) && _io5(input.auth)) && (undefined === input.tokenParams || "object" === typeof input.tokenParams && null !== input.tokenParams && false === Array.isArray(input.tokenParams) && _io6(input.tokenParams)) && (undefined === input.grantType || "password" === input.grantType) && (undefined === input.token || "object" === typeof input.token && null !== input.token && _io7(input.token)) && (undefined === input.error || "string" === typeof input.error); const _io4 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.secret || "string" === typeof input.secret) && (undefined === input.secretParamName || "string" === typeof input.secretParamName) && (undefined === input.idParamName || "string" === typeof input.idParamName); const _io5 = input => (undefined === input.tokenHost || "string" === typeof input.tokenHost) && (undefined === input.tokenPath || "string" === typeof input.tokenPath) && (undefined === input.refreshPath || "string" === typeof input.refreshPath) && (undefined === input.revokePath || "string" === typeof input.revokePath); const _io6 = input => Object.keys(input).every(key => {
|
|
3763
|
+
const value = input[key];
|
|
3764
|
+
if (undefined === value)
|
|
3765
|
+
return true;
|
|
3766
|
+
return "string" === typeof value;
|
|
3767
|
+
}); const _io7 = input => "string" === typeof input.accessToken && (null === input.refreshToken || "string" === typeof input.refreshToken) && (null === input.expiresAt || "number" === typeof input.expiresAt) && (undefined === input.idToken || "string" === typeof input.idToken); const _io8 = input => (undefined === input.ping || "object" === typeof input.ping && null !== input.ping && false === Array.isArray(input.ping) && _io9(input.ping)) && (undefined === input.head || "object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) && _io27(input.head)) && (undefined === input.list || "object" === typeof input.list && null !== input.list && false === Array.isArray(input.list) && _io38(input.list)) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && _io49(input.get)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && _io57(input.put)) && (undefined === input.del || "object" === typeof input.del && null !== input.del && false === Array.isArray(input.del) && _io65(input.del)); const _io9 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io10(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io21(input.response)); const _io10 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io11(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io11(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io11(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu0(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu1(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu2(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io20(input.throwOnError))); const _io11 = input => "object" === typeof input.__context && null !== input.__context && _io12(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io12 = input => "object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection) && Object.keys(input).every(key => {
|
|
3768
|
+
if (["connection"].some(prop => key === prop))
|
|
3769
|
+
return true;
|
|
3770
|
+
const value = input[key];
|
|
3771
|
+
if (undefined === value)
|
|
3772
|
+
return true;
|
|
3773
|
+
return true;
|
|
3774
|
+
}); const _io13 = input => Object.keys(input).every(key => {
|
|
3775
|
+
const value = input[key];
|
|
3776
|
+
if (undefined === value)
|
|
3777
|
+
return true;
|
|
3778
|
+
return undefined === value || "string" === typeof value;
|
|
3779
|
+
}); const _io14 = input => "object" === typeof input.__context && null !== input.__context && _io12(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io15 = input => Object.keys(input).every(key => {
|
|
3780
|
+
const value = input[key];
|
|
3781
|
+
if (undefined === value)
|
|
3782
|
+
return true;
|
|
3783
|
+
return "object" === typeof value && null !== value && _io16(value);
|
|
3784
|
+
}); const _io16 = input => true && (undefined === input.filename || "string" === typeof input.filename); const _io17 = input => "object" === typeof input.__context && null !== input.__context && _io12(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io18 = input => Object.keys(input).every(key => {
|
|
3785
|
+
const value = input[key];
|
|
3786
|
+
if (undefined === value)
|
|
3787
|
+
return true;
|
|
3788
|
+
return undefined === value || "string" === typeof value;
|
|
3789
|
+
}); const _io19 = input => "object" === typeof input.__context && null !== input.__context && _io12(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io20 = input => "object" === typeof input.__context && null !== input.__context && _io12(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io21 = input => (undefined === input.responseFormat || "text" === input.responseFormat || "json" === input.responseFormat || "stream" === input.responseFormat) && (null === input.error || undefined === input.error || "string" === typeof input.error || "object" === typeof input.error && null !== input.error && _io22(input.error)) && (null !== input.transform && (undefined === input.transform || "string" === typeof input.transform || "object" === typeof input.transform && null !== input.transform && _io25(input.transform))); const _io22 = input => "object" === typeof input.__context && null !== input.__context && _io23(input.__context) && (null === input.__returnValue || undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io23 = input => "object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection) && ("object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _io24(input.headers)) && "number" === typeof input.statusCode; const _io24 = input => Object.keys(input).every(key => {
|
|
3790
|
+
const value = input[key];
|
|
3791
|
+
if (undefined === value)
|
|
3792
|
+
return true;
|
|
3793
|
+
return null !== value && (undefined === value || "string" === typeof value || Array.isArray(value) && value.every(elem => "string" === typeof elem));
|
|
3794
|
+
}); const _io25 = input => "object" === typeof input.__context && null !== input.__context && _io26(input.__context) && (null !== input.__returnValue && undefined === input.__returnValue); const _io26 = input => "object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection) && true && (undefined === input.text || "string" === typeof input.text) && ("object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _io24(input.headers)) && "number" === typeof input.statusCode; const _io27 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io28(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io35(input.response)); const _io28 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io29(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io29(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io29(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu3(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu4(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu5(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io34(input.throwOnError))); const _io29 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io30 = input => "string" === typeof input.filepath && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io31 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io32 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io33 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io34 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io35 = input => (undefined === input.responseFormat || "text" === input.responseFormat || "json" === input.responseFormat || "stream" === input.responseFormat) && (null === input.error || undefined === input.error || "string" === typeof input.error || "object" === typeof input.error && null !== input.error && _io22(input.error)) && (null !== input.transform && (undefined === input.transform || "string" === typeof input.transform || "object" === typeof input.transform && null !== input.transform && false === Array.isArray(input.transform) && _iu6(input.transform))); const _io36 = input => (undefined === input.size || "number" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash); const _io37 = input => "object" === typeof input.__context && null !== input.__context && _io26(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io36(input.__returnValue)); const _io38 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io39(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io46(input.response)); const _io39 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io40(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io40(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io40(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu7(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu8(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu9(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io45(input.throwOnError))); const _io40 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io41 = input => (undefined === input.dirpath || "string" === typeof input.dirpath) && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io42 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io43 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io44 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io45 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io46 = input => (undefined === input.responseFormat || "text" === input.responseFormat || "json" === input.responseFormat || "stream" === input.responseFormat) && (null === input.error || undefined === input.error || "string" === typeof input.error || "object" === typeof input.error && null !== input.error && _io22(input.error)) && (null !== input.transform && (undefined === input.transform || "string" === typeof input.transform || (Array.isArray(input.transform) && input.transform.every(elem => "object" === typeof elem && null !== elem && _io47(elem)) || "object" === typeof input.transform && null !== input.transform && _io48(input.transform)))); const _io47 = input => "string" === typeof input.name && "boolean" === typeof input.isDir && "number" === typeof input.size && (undefined === input.date || "string" === typeof input.date) && "string" === typeof input.path; const _io48 = input => "object" === typeof input.__context && null !== input.__context && _io26(input.__context) && (Array.isArray(input.__returnValue) && input.__returnValue.every(elem => "object" === typeof elem && null !== elem && _io47(elem))); const _io49 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io50(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io21(input.response)); const _io50 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io51(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io51(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io51(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu10(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu11(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu12(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io56(input.throwOnError))); const _io51 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io52 = input => "string" === typeof input.id && (undefined === input.offset || "number" === typeof input.offset) && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io53 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io54 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io55 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io56 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io57 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io58(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io21(input.response)); const _io58 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io59(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io59(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io59(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu13(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu14(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu15(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io64(input.throwOnError))); const _io59 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io60 = input => "string" === typeof input.filepath && true && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io61 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io62 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io63 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io64 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io65 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io66(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io21(input.response)); const _io66 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io67(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io67(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io67(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu16(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu17(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu18(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io72(input.throwOnError))); const _io67 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io68 = input => "string" === typeof input.id && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io69 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io70 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io71 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io72 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io73 = input => (undefined === input.protocol || "s3" === input.protocol) && true && (undefined === input.bucket || "string" === typeof input.bucket) && (undefined === input.type || "file" === input.type) && (undefined === input.host || "string" === typeof input.host) && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) && _io1(input.metafile)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io74 = input => (undefined === input.protocol || "smb" === input.protocol) && (undefined === input.host || "string" === typeof input.host) && (undefined === input.share || "string" === typeof input.share) && (undefined === input.workgroup || "string" === typeof input.workgroup) && (undefined === input.username || "string" === typeof input.username) && (undefined === input.password || "string" === typeof input.password) && (undefined === input.type || "file" === input.type) && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) && _io1(input.metafile)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io75 = input => (undefined === input.protocol || "sftp" === input.protocol) && (undefined === input.host || "string" === typeof input.host) && (undefined === input.username || "string" === typeof input.username) && (undefined === input.password || "string" === typeof input.password) && (undefined === input.privateKey || "string" === typeof input.privateKey) && (undefined === input.timezone || "string" === typeof input.timezone) && (undefined === input.debug || "boolean" === typeof input.debug) && (undefined === input.root || "string" === typeof input.root) && (undefined === input.mode || "libcurl" === input.mode || "lftp" === input.mode || "openssh" === input.mode || "ssh2" === input.mode) && (undefined === input.type || "file" === input.type) && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) && _io1(input.metafile)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io76 = input => (undefined === input.type || "facebook" === input.type) && (undefined === input.grantedScopes || Array.isArray(input.grantedScopes) && input.grantedScopes.every(elem => "string" === typeof elem)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io77 = input => (undefined === input.type || "reuters" === input.type) && (undefined === input.clientId || "string" === typeof input.clientId) && (undefined === input.clientSecret || "string" === typeof input.clientSecret) && (undefined === input.audience || "string" === typeof input.audience) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io78 = input => (null === input.type || undefined === input.type) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _iu0 = input => (() => {
|
|
3795
|
+
if (undefined !== input.__context)
|
|
3796
|
+
return _io14(input);
|
|
3797
|
+
else
|
|
3798
|
+
return _io13(input);
|
|
3799
|
+
})(); const _iu1 = input => (() => {
|
|
3800
|
+
if (undefined !== input.__context)
|
|
3801
|
+
return _io17(input);
|
|
3802
|
+
else
|
|
3803
|
+
return _io15(input);
|
|
3804
|
+
})(); const _iu2 = input => (() => {
|
|
3805
|
+
if (undefined !== input.__context)
|
|
3806
|
+
return _io19(input);
|
|
3807
|
+
else
|
|
3808
|
+
return _io18(input);
|
|
3809
|
+
})(); const _iu3 = input => (() => {
|
|
3810
|
+
if (undefined !== input.__context)
|
|
3811
|
+
return _io31(input);
|
|
3812
|
+
else
|
|
3813
|
+
return _io13(input);
|
|
3814
|
+
})(); const _iu4 = input => (() => {
|
|
3815
|
+
if (undefined !== input.__context)
|
|
3816
|
+
return _io32(input);
|
|
3817
|
+
else
|
|
3818
|
+
return _io15(input);
|
|
3819
|
+
})(); const _iu5 = input => (() => {
|
|
3820
|
+
if (undefined !== input.__context)
|
|
3821
|
+
return _io33(input);
|
|
3822
|
+
else
|
|
3823
|
+
return _io18(input);
|
|
3824
|
+
})(); const _iu6 = input => (() => {
|
|
3825
|
+
if (undefined !== input.__context)
|
|
3826
|
+
return _io37(input);
|
|
3827
|
+
else
|
|
3828
|
+
return _io36(input);
|
|
3829
|
+
})(); const _iu7 = input => (() => {
|
|
3830
|
+
if (undefined !== input.__context)
|
|
3831
|
+
return _io42(input);
|
|
3832
|
+
else
|
|
3833
|
+
return _io13(input);
|
|
3834
|
+
})(); const _iu8 = input => (() => {
|
|
3835
|
+
if (undefined !== input.__context)
|
|
3836
|
+
return _io43(input);
|
|
3837
|
+
else
|
|
3838
|
+
return _io15(input);
|
|
3839
|
+
})(); const _iu9 = input => (() => {
|
|
3840
|
+
if (undefined !== input.__context)
|
|
3841
|
+
return _io44(input);
|
|
3842
|
+
else
|
|
3843
|
+
return _io18(input);
|
|
3844
|
+
})(); const _iu10 = input => (() => {
|
|
3845
|
+
if (undefined !== input.__context)
|
|
3846
|
+
return _io53(input);
|
|
3847
|
+
else
|
|
3848
|
+
return _io13(input);
|
|
3849
|
+
})(); const _iu11 = input => (() => {
|
|
3850
|
+
if (undefined !== input.__context)
|
|
3851
|
+
return _io54(input);
|
|
3852
|
+
else
|
|
3853
|
+
return _io15(input);
|
|
3854
|
+
})(); const _iu12 = input => (() => {
|
|
3855
|
+
if (undefined !== input.__context)
|
|
3856
|
+
return _io55(input);
|
|
3857
|
+
else
|
|
3858
|
+
return _io18(input);
|
|
3859
|
+
})(); const _iu13 = input => (() => {
|
|
3860
|
+
if (undefined !== input.__context)
|
|
3861
|
+
return _io61(input);
|
|
3862
|
+
else
|
|
3863
|
+
return _io13(input);
|
|
3864
|
+
})(); const _iu14 = input => (() => {
|
|
3865
|
+
if (undefined !== input.__context)
|
|
3866
|
+
return _io62(input);
|
|
3867
|
+
else
|
|
3868
|
+
return _io15(input);
|
|
3869
|
+
})(); const _iu15 = input => (() => {
|
|
3870
|
+
if (undefined !== input.__context)
|
|
3871
|
+
return _io63(input);
|
|
3872
|
+
else
|
|
3873
|
+
return _io18(input);
|
|
3874
|
+
})(); const _iu16 = input => (() => {
|
|
3875
|
+
if (undefined !== input.__context)
|
|
3876
|
+
return _io69(input);
|
|
3877
|
+
else
|
|
3878
|
+
return _io13(input);
|
|
3879
|
+
})(); const _iu17 = input => (() => {
|
|
3880
|
+
if (undefined !== input.__context)
|
|
3881
|
+
return _io70(input);
|
|
3882
|
+
else
|
|
3883
|
+
return _io15(input);
|
|
3884
|
+
})(); const _iu18 = input => (() => {
|
|
3885
|
+
if (undefined !== input.__context)
|
|
3886
|
+
return _io71(input);
|
|
3887
|
+
else
|
|
3888
|
+
return _io18(input);
|
|
3889
|
+
})(); const _iu19 = input => (() => {
|
|
3890
|
+
if (_io0(input))
|
|
3722
3891
|
return _io0(input);
|
|
3723
|
-
|
|
3892
|
+
if (_io2(input))
|
|
3724
3893
|
return _io2(input);
|
|
3725
|
-
|
|
3726
|
-
return
|
|
3727
|
-
|
|
3728
|
-
return
|
|
3729
|
-
|
|
3730
|
-
return
|
|
3731
|
-
|
|
3732
|
-
return
|
|
3733
|
-
|
|
3734
|
-
return
|
|
3735
|
-
|
|
3736
|
-
return
|
|
3737
|
-
|
|
3894
|
+
if (_io73(input))
|
|
3895
|
+
return _io73(input);
|
|
3896
|
+
if (_io74(input))
|
|
3897
|
+
return _io74(input);
|
|
3898
|
+
if (_io75(input))
|
|
3899
|
+
return _io75(input);
|
|
3900
|
+
if (_io76(input))
|
|
3901
|
+
return _io76(input);
|
|
3902
|
+
if (_io77(input))
|
|
3903
|
+
return _io77(input);
|
|
3904
|
+
if (_io78(input))
|
|
3905
|
+
return _io78(input);
|
|
3906
|
+
return false;
|
|
3907
|
+
})(); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.protocol || "ftp" === input.protocol || _report(_exceptionable, {
|
|
3738
3908
|
path: _path + ".protocol",
|
|
3739
|
-
expected: "\"ftp\"",
|
|
3909
|
+
expected: "(\"ftp\" | undefined)",
|
|
3740
3910
|
value: input.protocol
|
|
3741
|
-
}), "string" === typeof input.host || _report(_exceptionable, {
|
|
3911
|
+
}), undefined === input.host || "string" === typeof input.host || _report(_exceptionable, {
|
|
3742
3912
|
path: _path + ".host",
|
|
3743
|
-
expected: "string",
|
|
3913
|
+
expected: "(string | undefined)",
|
|
3744
3914
|
value: input.host
|
|
3745
3915
|
}), undefined === input.username || "string" === typeof input.username || _report(_exceptionable, {
|
|
3746
3916
|
path: _path + ".username",
|
|
@@ -3758,9 +3928,9 @@ function _validateDomainRecord(domain, input) {
|
|
|
3758
3928
|
path: _path + ".timezone",
|
|
3759
3929
|
expected: "(string | undefined)",
|
|
3760
3930
|
value: input.timezone
|
|
3761
|
-
}), "file" === input.type || _report(_exceptionable, {
|
|
3931
|
+
}), undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
3762
3932
|
path: _path + ".type",
|
|
3763
|
-
expected: "\"file\"",
|
|
3933
|
+
expected: "(\"file\" | undefined)",
|
|
3764
3934
|
value: input.type
|
|
3765
3935
|
}), undefined === input.port || "string" === typeof input.port || "number" === typeof input.port || _report(_exceptionable, {
|
|
3766
3936
|
path: _path + ".port",
|
|
@@ -3786,7 +3956,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
3786
3956
|
path: _path + ".listConcurrency",
|
|
3787
3957
|
expected: "(number | undefined)",
|
|
3788
3958
|
value: input.listConcurrency
|
|
3789
|
-
}), undefined === input.metafile || ("object" === typeof input.metafile && null !== input.metafile || _report(_exceptionable, {
|
|
3959
|
+
}), undefined === input.metafile || ("object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) || _report(_exceptionable, {
|
|
3790
3960
|
path: _path + ".metafile",
|
|
3791
3961
|
expected: "(__type | undefined)",
|
|
3792
3962
|
value: input.metafile
|
|
@@ -3798,21 +3968,1625 @@ function _validateDomainRecord(domain, input) {
|
|
|
3798
3968
|
path: _path + ".userNotificationsEnabled",
|
|
3799
3969
|
expected: "(boolean | undefined)",
|
|
3800
3970
|
value: input.userNotificationsEnabled
|
|
3801
|
-
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.content || _report(_exceptionable, {
|
|
3971
|
+
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [undefined === input.content || "string" === typeof input.content || _report(_exceptionable, {
|
|
3802
3972
|
path: _path + ".content",
|
|
3973
|
+
expected: "(string | undefined)",
|
|
3974
|
+
value: input.content
|
|
3975
|
+
})].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.protocol || "http" === input.protocol || _report(_exceptionable, {
|
|
3976
|
+
path: _path + ".protocol",
|
|
3977
|
+
expected: "(\"http\" | undefined)",
|
|
3978
|
+
value: input.protocol
|
|
3979
|
+
}), undefined === input.secure || "boolean" === typeof input.secure || _report(_exceptionable, {
|
|
3980
|
+
path: _path + ".secure",
|
|
3981
|
+
expected: "(boolean | undefined)",
|
|
3982
|
+
value: input.secure
|
|
3983
|
+
}), undefined === input.authType || "none" === input.authType || "oauth2" === input.authType || _report(_exceptionable, {
|
|
3984
|
+
path: _path + ".authType",
|
|
3985
|
+
expected: "(\"none\" | \"oauth2\" | undefined)",
|
|
3986
|
+
value: input.authType
|
|
3987
|
+
}), undefined === input.oauth2 || ("object" === typeof input.oauth2 && null !== input.oauth2 && false === Array.isArray(input.oauth2) || _report(_exceptionable, {
|
|
3988
|
+
path: _path + ".oauth2",
|
|
3989
|
+
expected: "(__type.o1 | undefined)",
|
|
3990
|
+
value: input.oauth2
|
|
3991
|
+
})) && _vo3(input.oauth2, _path + ".oauth2", true && _exceptionable) || _report(_exceptionable, {
|
|
3992
|
+
path: _path + ".oauth2",
|
|
3993
|
+
expected: "(__type.o1 | undefined)",
|
|
3994
|
+
value: input.oauth2
|
|
3995
|
+
}), undefined === input.actions || ("object" === typeof input.actions && null !== input.actions && false === Array.isArray(input.actions) || _report(_exceptionable, {
|
|
3996
|
+
path: _path + ".actions",
|
|
3997
|
+
expected: "(HttpConnectionActions | undefined)",
|
|
3998
|
+
value: input.actions
|
|
3999
|
+
})) && _vo8(input.actions, _path + ".actions", true && _exceptionable) || _report(_exceptionable, {
|
|
4000
|
+
path: _path + ".actions",
|
|
4001
|
+
expected: "(HttpConnectionActions | undefined)",
|
|
4002
|
+
value: input.actions
|
|
4003
|
+
}), undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
4004
|
+
path: _path + ".type",
|
|
4005
|
+
expected: "(\"file\" | undefined)",
|
|
4006
|
+
value: input.type
|
|
4007
|
+
}), undefined === input.host || "string" === typeof input.host || _report(_exceptionable, {
|
|
4008
|
+
path: _path + ".host",
|
|
4009
|
+
expected: "(string | undefined)",
|
|
4010
|
+
value: input.host
|
|
4011
|
+
}), undefined === input.port || "string" === typeof input.port || "number" === typeof input.port || _report(_exceptionable, {
|
|
4012
|
+
path: _path + ".port",
|
|
4013
|
+
expected: "(number | string | undefined)",
|
|
4014
|
+
value: input.port
|
|
4015
|
+
}), undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing || _report(_exceptionable, {
|
|
4016
|
+
path: _path + ".ignoreMissing",
|
|
4017
|
+
expected: "(boolean | undefined)",
|
|
4018
|
+
value: input.ignoreMissing
|
|
4019
|
+
}), undefined === input.concurrency || "number" === typeof input.concurrency || _report(_exceptionable, {
|
|
4020
|
+
path: _path + ".concurrency",
|
|
4021
|
+
expected: "(number | undefined)",
|
|
4022
|
+
value: input.concurrency
|
|
4023
|
+
}), undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold || _report(_exceptionable, {
|
|
4024
|
+
path: _path + ".stabilityThreshold",
|
|
4025
|
+
expected: "(number | undefined)",
|
|
4026
|
+
value: input.stabilityThreshold
|
|
4027
|
+
}), undefined === input.pollInterval || "number" === typeof input.pollInterval || _report(_exceptionable, {
|
|
4028
|
+
path: _path + ".pollInterval",
|
|
4029
|
+
expected: "(number | undefined)",
|
|
4030
|
+
value: input.pollInterval
|
|
4031
|
+
}), undefined === input.listConcurrency || "number" === typeof input.listConcurrency || _report(_exceptionable, {
|
|
4032
|
+
path: _path + ".listConcurrency",
|
|
4033
|
+
expected: "(number | undefined)",
|
|
4034
|
+
value: input.listConcurrency
|
|
4035
|
+
}), undefined === input.metafile || ("object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) || _report(_exceptionable, {
|
|
4036
|
+
path: _path + ".metafile",
|
|
4037
|
+
expected: "(__type | undefined)",
|
|
4038
|
+
value: input.metafile
|
|
4039
|
+
})) && _vo1(input.metafile, _path + ".metafile", true && _exceptionable) || _report(_exceptionable, {
|
|
4040
|
+
path: _path + ".metafile",
|
|
4041
|
+
expected: "(__type | undefined)",
|
|
4042
|
+
value: input.metafile
|
|
4043
|
+
}), undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled || _report(_exceptionable, {
|
|
4044
|
+
path: _path + ".userNotificationsEnabled",
|
|
4045
|
+
expected: "(boolean | undefined)",
|
|
4046
|
+
value: input.userNotificationsEnabled
|
|
4047
|
+
})].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [undefined === input.client || ("object" === typeof input.client && null !== input.client && false === Array.isArray(input.client) || _report(_exceptionable, {
|
|
4048
|
+
path: _path + ".client",
|
|
4049
|
+
expected: "(__type.o2 | undefined)",
|
|
4050
|
+
value: input.client
|
|
4051
|
+
})) && _vo4(input.client, _path + ".client", true && _exceptionable) || _report(_exceptionable, {
|
|
4052
|
+
path: _path + ".client",
|
|
4053
|
+
expected: "(__type.o2 | undefined)",
|
|
4054
|
+
value: input.client
|
|
4055
|
+
}), undefined === input.auth || ("object" === typeof input.auth && null !== input.auth && false === Array.isArray(input.auth) || _report(_exceptionable, {
|
|
4056
|
+
path: _path + ".auth",
|
|
4057
|
+
expected: "(__type.o3 | undefined)",
|
|
4058
|
+
value: input.auth
|
|
4059
|
+
})) && _vo5(input.auth, _path + ".auth", true && _exceptionable) || _report(_exceptionable, {
|
|
4060
|
+
path: _path + ".auth",
|
|
4061
|
+
expected: "(__type.o3 | undefined)",
|
|
4062
|
+
value: input.auth
|
|
4063
|
+
}), undefined === input.tokenParams || ("object" === typeof input.tokenParams && null !== input.tokenParams && false === Array.isArray(input.tokenParams) || _report(_exceptionable, {
|
|
4064
|
+
path: _path + ".tokenParams",
|
|
4065
|
+
expected: "(__type.o4 | undefined)",
|
|
4066
|
+
value: input.tokenParams
|
|
4067
|
+
})) && _vo6(input.tokenParams, _path + ".tokenParams", true && _exceptionable) || _report(_exceptionable, {
|
|
4068
|
+
path: _path + ".tokenParams",
|
|
4069
|
+
expected: "(__type.o4 | undefined)",
|
|
4070
|
+
value: input.tokenParams
|
|
4071
|
+
}), undefined === input.grantType || "password" === input.grantType || _report(_exceptionable, {
|
|
4072
|
+
path: _path + ".grantType",
|
|
4073
|
+
expected: "(\"password\" | undefined)",
|
|
4074
|
+
value: input.grantType
|
|
4075
|
+
}), undefined === input.token || ("object" === typeof input.token && null !== input.token || _report(_exceptionable, {
|
|
4076
|
+
path: _path + ".token",
|
|
4077
|
+
expected: "(__type.o5 | undefined)",
|
|
4078
|
+
value: input.token
|
|
4079
|
+
})) && _vo7(input.token, _path + ".token", true && _exceptionable) || _report(_exceptionable, {
|
|
4080
|
+
path: _path + ".token",
|
|
4081
|
+
expected: "(__type.o5 | undefined)",
|
|
4082
|
+
value: input.token
|
|
4083
|
+
}), undefined === input.error || "string" === typeof input.error || _report(_exceptionable, {
|
|
4084
|
+
path: _path + ".error",
|
|
4085
|
+
expected: "(string | undefined)",
|
|
4086
|
+
value: input.error
|
|
4087
|
+
})].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
4088
|
+
path: _path + ".id",
|
|
4089
|
+
expected: "(string | undefined)",
|
|
4090
|
+
value: input.id
|
|
4091
|
+
}), undefined === input.secret || "string" === typeof input.secret || _report(_exceptionable, {
|
|
4092
|
+
path: _path + ".secret",
|
|
4093
|
+
expected: "(string | undefined)",
|
|
4094
|
+
value: input.secret
|
|
4095
|
+
}), undefined === input.secretParamName || "string" === typeof input.secretParamName || _report(_exceptionable, {
|
|
4096
|
+
path: _path + ".secretParamName",
|
|
4097
|
+
expected: "(string | undefined)",
|
|
4098
|
+
value: input.secretParamName
|
|
4099
|
+
}), undefined === input.idParamName || "string" === typeof input.idParamName || _report(_exceptionable, {
|
|
4100
|
+
path: _path + ".idParamName",
|
|
4101
|
+
expected: "(string | undefined)",
|
|
4102
|
+
value: input.idParamName
|
|
4103
|
+
})].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => [undefined === input.tokenHost || "string" === typeof input.tokenHost || _report(_exceptionable, {
|
|
4104
|
+
path: _path + ".tokenHost",
|
|
4105
|
+
expected: "(string | undefined)",
|
|
4106
|
+
value: input.tokenHost
|
|
4107
|
+
}), undefined === input.tokenPath || "string" === typeof input.tokenPath || _report(_exceptionable, {
|
|
4108
|
+
path: _path + ".tokenPath",
|
|
4109
|
+
expected: "(string | undefined)",
|
|
4110
|
+
value: input.tokenPath
|
|
4111
|
+
}), undefined === input.refreshPath || "string" === typeof input.refreshPath || _report(_exceptionable, {
|
|
4112
|
+
path: _path + ".refreshPath",
|
|
4113
|
+
expected: "(string | undefined)",
|
|
4114
|
+
value: input.refreshPath
|
|
4115
|
+
}), undefined === input.revokePath || "string" === typeof input.revokePath || _report(_exceptionable, {
|
|
4116
|
+
path: _path + ".revokePath",
|
|
4117
|
+
expected: "(string | undefined)",
|
|
4118
|
+
value: input.revokePath
|
|
4119
|
+
})].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
4120
|
+
const value = input[key];
|
|
4121
|
+
if (undefined === value)
|
|
4122
|
+
return true;
|
|
4123
|
+
return "string" === typeof value || _report(_exceptionable, {
|
|
4124
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
4125
|
+
expected: "string",
|
|
4126
|
+
value: value
|
|
4127
|
+
});
|
|
4128
|
+
}).every(flag => flag)].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => ["string" === typeof input.accessToken || _report(_exceptionable, {
|
|
4129
|
+
path: _path + ".accessToken",
|
|
4130
|
+
expected: "string",
|
|
4131
|
+
value: input.accessToken
|
|
4132
|
+
}), null === input.refreshToken || "string" === typeof input.refreshToken || _report(_exceptionable, {
|
|
4133
|
+
path: _path + ".refreshToken",
|
|
4134
|
+
expected: "(null | string)",
|
|
4135
|
+
value: input.refreshToken
|
|
4136
|
+
}), null === input.expiresAt || "number" === typeof input.expiresAt || _report(_exceptionable, {
|
|
4137
|
+
path: _path + ".expiresAt",
|
|
4138
|
+
expected: "(null | number)",
|
|
4139
|
+
value: input.expiresAt
|
|
4140
|
+
}), undefined === input.idToken || "string" === typeof input.idToken || _report(_exceptionable, {
|
|
4141
|
+
path: _path + ".idToken",
|
|
4142
|
+
expected: "(string | undefined)",
|
|
4143
|
+
value: input.idToken
|
|
4144
|
+
})].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [undefined === input.ping || ("object" === typeof input.ping && null !== input.ping && false === Array.isArray(input.ping) || _report(_exceptionable, {
|
|
4145
|
+
path: _path + ".ping",
|
|
4146
|
+
expected: "(FileConnectionHttpAction<Record<string, unknown>, undefined> | undefined)",
|
|
4147
|
+
value: input.ping
|
|
4148
|
+
})) && _vo9(input.ping, _path + ".ping", true && _exceptionable) || _report(_exceptionable, {
|
|
4149
|
+
path: _path + ".ping",
|
|
4150
|
+
expected: "(FileConnectionHttpAction<Record<string, unknown>, undefined> | undefined)",
|
|
4151
|
+
value: input.ping
|
|
4152
|
+
}), undefined === input.head || ("object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) || _report(_exceptionable, {
|
|
4153
|
+
path: _path + ".head",
|
|
4154
|
+
expected: "(FileConnectionHttpAction<__type, FileConnectionHeadResponse | undefined> | undefined)",
|
|
4155
|
+
value: input.head
|
|
4156
|
+
})) && _vo27(input.head, _path + ".head", true && _exceptionable) || _report(_exceptionable, {
|
|
4157
|
+
path: _path + ".head",
|
|
4158
|
+
expected: "(FileConnectionHttpAction<__type, FileConnectionHeadResponse | undefined> | undefined)",
|
|
4159
|
+
value: input.head
|
|
4160
|
+
}), undefined === input.list || ("object" === typeof input.list && null !== input.list && false === Array.isArray(input.list) || _report(_exceptionable, {
|
|
4161
|
+
path: _path + ".list",
|
|
4162
|
+
expected: "(FileConnectionHttpAction<__type, Array<FileConnectionListResponseItem>> | undefined)",
|
|
4163
|
+
value: input.list
|
|
4164
|
+
})) && _vo38(input.list, _path + ".list", true && _exceptionable) || _report(_exceptionable, {
|
|
4165
|
+
path: _path + ".list",
|
|
4166
|
+
expected: "(FileConnectionHttpAction<__type, Array<FileConnectionListResponseItem>> | undefined)",
|
|
4167
|
+
value: input.list
|
|
4168
|
+
}), undefined === input.get || ("object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) || _report(_exceptionable, {
|
|
4169
|
+
path: _path + ".get",
|
|
4170
|
+
expected: "(FileConnectionHttpAction<__type, undefined> | undefined)",
|
|
4171
|
+
value: input.get
|
|
4172
|
+
})) && _vo49(input.get, _path + ".get", true && _exceptionable) || _report(_exceptionable, {
|
|
4173
|
+
path: _path + ".get",
|
|
4174
|
+
expected: "(FileConnectionHttpAction<__type, undefined> | undefined)",
|
|
4175
|
+
value: input.get
|
|
4176
|
+
}), undefined === input.put || ("object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) || _report(_exceptionable, {
|
|
4177
|
+
path: _path + ".put",
|
|
4178
|
+
expected: "(FileConnectionHttpAction<__type, undefined>.o1 | undefined)",
|
|
4179
|
+
value: input.put
|
|
4180
|
+
})) && _vo57(input.put, _path + ".put", true && _exceptionable) || _report(_exceptionable, {
|
|
4181
|
+
path: _path + ".put",
|
|
4182
|
+
expected: "(FileConnectionHttpAction<__type, undefined>.o1 | undefined)",
|
|
4183
|
+
value: input.put
|
|
4184
|
+
}), undefined === input.del || ("object" === typeof input.del && null !== input.del && false === Array.isArray(input.del) || _report(_exceptionable, {
|
|
4185
|
+
path: _path + ".del",
|
|
4186
|
+
expected: "(FileConnectionHttpAction<__type, undefined>.o2 | undefined)",
|
|
4187
|
+
value: input.del
|
|
4188
|
+
})) && _vo65(input.del, _path + ".del", true && _exceptionable) || _report(_exceptionable, {
|
|
4189
|
+
path: _path + ".del",
|
|
4190
|
+
expected: "(FileConnectionHttpAction<__type, undefined>.o2 | undefined)",
|
|
4191
|
+
value: input.del
|
|
4192
|
+
})].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [undefined === input.request || ("object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) || _report(_exceptionable, {
|
|
4193
|
+
path: _path + ".request",
|
|
4194
|
+
expected: "(__type.o6 | undefined)",
|
|
4195
|
+
value: input.request
|
|
4196
|
+
})) && _vo10(input.request, _path + ".request", true && _exceptionable) || _report(_exceptionable, {
|
|
4197
|
+
path: _path + ".request",
|
|
4198
|
+
expected: "(__type.o6 | undefined)",
|
|
4199
|
+
value: input.request
|
|
4200
|
+
}), undefined === input.response || ("object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) || _report(_exceptionable, {
|
|
4201
|
+
path: _path + ".response",
|
|
4202
|
+
expected: "(HttpConnectionResponseHandler<undefined> | undefined)",
|
|
4203
|
+
value: input.response
|
|
4204
|
+
})) && _vo21(input.response, _path + ".response", true && _exceptionable) || _report(_exceptionable, {
|
|
4205
|
+
path: _path + ".response",
|
|
4206
|
+
expected: "(HttpConnectionResponseHandler<undefined> | undefined)",
|
|
4207
|
+
value: input.response
|
|
4208
|
+
})].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => [(null !== input.origin || _report(_exceptionable, {
|
|
4209
|
+
path: _path + ".origin",
|
|
4210
|
+
expected: "(__type.o7 | string | undefined)",
|
|
4211
|
+
value: input.origin
|
|
4212
|
+
})) && (undefined === input.origin || "string" === typeof input.origin || ("object" === typeof input.origin && null !== input.origin || _report(_exceptionable, {
|
|
4213
|
+
path: _path + ".origin",
|
|
4214
|
+
expected: "(__type.o7 | string | undefined)",
|
|
4215
|
+
value: input.origin
|
|
4216
|
+
})) && _vo11(input.origin, _path + ".origin", true && _exceptionable) || _report(_exceptionable, {
|
|
4217
|
+
path: _path + ".origin",
|
|
4218
|
+
expected: "(__type.o7 | string | undefined)",
|
|
4219
|
+
value: input.origin
|
|
4220
|
+
})), (null !== input.path || _report(_exceptionable, {
|
|
4221
|
+
path: _path + ".path",
|
|
4222
|
+
expected: "(__type.o7 | string | undefined)",
|
|
4223
|
+
value: input.path
|
|
4224
|
+
})) && (undefined === input.path || "string" === typeof input.path || ("object" === typeof input.path && null !== input.path || _report(_exceptionable, {
|
|
4225
|
+
path: _path + ".path",
|
|
4226
|
+
expected: "(__type.o7 | string | undefined)",
|
|
4227
|
+
value: input.path
|
|
4228
|
+
})) && _vo11(input.path, _path + ".path", true && _exceptionable) || _report(_exceptionable, {
|
|
4229
|
+
path: _path + ".path",
|
|
4230
|
+
expected: "(__type.o7 | string | undefined)",
|
|
4231
|
+
value: input.path
|
|
4232
|
+
})), (null !== input.method || _report(_exceptionable, {
|
|
4233
|
+
path: _path + ".method",
|
|
4234
|
+
expected: "(__type.o7 | string | undefined)",
|
|
4235
|
+
value: input.method
|
|
4236
|
+
})) && (undefined === input.method || "string" === typeof input.method || ("object" === typeof input.method && null !== input.method || _report(_exceptionable, {
|
|
4237
|
+
path: _path + ".method",
|
|
4238
|
+
expected: "(__type.o7 | string | undefined)",
|
|
4239
|
+
value: input.method
|
|
4240
|
+
})) && _vo11(input.method, _path + ".method", true && _exceptionable) || _report(_exceptionable, {
|
|
4241
|
+
path: _path + ".method",
|
|
4242
|
+
expected: "(__type.o7 | string | undefined)",
|
|
4243
|
+
value: input.method
|
|
4244
|
+
})), (null !== input.params || _report(_exceptionable, {
|
|
4245
|
+
path: _path + ".params",
|
|
4246
|
+
expected: "(__type.o10 | __type.o9 | string | undefined)",
|
|
4247
|
+
value: input.params
|
|
4248
|
+
})) && (undefined === input.params || "string" === typeof input.params || ("object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) || _report(_exceptionable, {
|
|
4249
|
+
path: _path + ".params",
|
|
4250
|
+
expected: "(__type.o10 | __type.o9 | string | undefined)",
|
|
4251
|
+
value: input.params
|
|
4252
|
+
})) && _vu0(input.params, _path + ".params", true && _exceptionable) || _report(_exceptionable, {
|
|
4253
|
+
path: _path + ".params",
|
|
4254
|
+
expected: "(__type.o10 | __type.o9 | string | undefined)",
|
|
4255
|
+
value: input.params
|
|
4256
|
+
})), (null !== input.form || _report(_exceptionable, {
|
|
4257
|
+
path: _path + ".form",
|
|
4258
|
+
expected: "(__type.o11 | __type.o13 | string | undefined)",
|
|
4259
|
+
value: input.form
|
|
4260
|
+
})) && (undefined === input.form || "string" === typeof input.form || ("object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) || _report(_exceptionable, {
|
|
4261
|
+
path: _path + ".form",
|
|
4262
|
+
expected: "(__type.o11 | __type.o13 | string | undefined)",
|
|
4263
|
+
value: input.form
|
|
4264
|
+
})) && _vu1(input.form, _path + ".form", true && _exceptionable) || _report(_exceptionable, {
|
|
4265
|
+
path: _path + ".form",
|
|
4266
|
+
expected: "(__type.o11 | __type.o13 | string | undefined)",
|
|
4267
|
+
value: input.form
|
|
4268
|
+
})), (null !== input.headers || _report(_exceptionable, {
|
|
4269
|
+
path: _path + ".headers",
|
|
4270
|
+
expected: "(__type.o14 | __type.o15 | string | undefined)",
|
|
4271
|
+
value: input.headers
|
|
4272
|
+
})) && (undefined === input.headers || "string" === typeof input.headers || ("object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) || _report(_exceptionable, {
|
|
4273
|
+
path: _path + ".headers",
|
|
4274
|
+
expected: "(__type.o14 | __type.o15 | string | undefined)",
|
|
4275
|
+
value: input.headers
|
|
4276
|
+
})) && _vu2(input.headers, _path + ".headers", true && _exceptionable) || _report(_exceptionable, {
|
|
4277
|
+
path: _path + ".headers",
|
|
4278
|
+
expected: "(__type.o14 | __type.o15 | string | undefined)",
|
|
4279
|
+
value: input.headers
|
|
4280
|
+
})), (null !== input.throwOnError || _report(_exceptionable, {
|
|
4281
|
+
path: _path + ".throwOnError",
|
|
4282
|
+
expected: "(__type.o16 | boolean | string | undefined)",
|
|
4283
|
+
value: input.throwOnError
|
|
4284
|
+
})) && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || ("object" === typeof input.throwOnError && null !== input.throwOnError || _report(_exceptionable, {
|
|
4285
|
+
path: _path + ".throwOnError",
|
|
4286
|
+
expected: "(__type.o16 | boolean | string | undefined)",
|
|
4287
|
+
value: input.throwOnError
|
|
4288
|
+
})) && _vo20(input.throwOnError, _path + ".throwOnError", true && _exceptionable) || _report(_exceptionable, {
|
|
4289
|
+
path: _path + ".throwOnError",
|
|
4290
|
+
expected: "(__type.o16 | boolean | string | undefined)",
|
|
4291
|
+
value: input.throwOnError
|
|
4292
|
+
}))].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
4293
|
+
path: _path + ".__context",
|
|
4294
|
+
expected: "Record<string, unknown> & { connection: FileConnectionHttpRecord; }",
|
|
4295
|
+
value: input.__context
|
|
4296
|
+
})) && _vo12(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
4297
|
+
path: _path + ".__context",
|
|
4298
|
+
expected: "Record<string, unknown> & { connection: FileConnectionHttpRecord; }",
|
|
4299
|
+
value: input.__context
|
|
4300
|
+
}), undefined === input.__returnValue || "string" === typeof input.__returnValue || _report(_exceptionable, {
|
|
4301
|
+
path: _path + ".__returnValue",
|
|
4302
|
+
expected: "(string | undefined)",
|
|
4303
|
+
value: input.__returnValue
|
|
4304
|
+
})].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => [("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) || _report(_exceptionable, {
|
|
4305
|
+
path: _path + ".connection",
|
|
4306
|
+
expected: "FileConnectionHttpRecord",
|
|
4307
|
+
value: input.connection
|
|
4308
|
+
})) && _vo2(input.connection, _path + ".connection", true && _exceptionable) || _report(_exceptionable, {
|
|
4309
|
+
path: _path + ".connection",
|
|
4310
|
+
expected: "FileConnectionHttpRecord",
|
|
4311
|
+
value: input.connection
|
|
4312
|
+
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
4313
|
+
if (["connection"].some(prop => key === prop))
|
|
4314
|
+
return true;
|
|
4315
|
+
const value = input[key];
|
|
4316
|
+
if (undefined === value)
|
|
4317
|
+
return true;
|
|
4318
|
+
return true;
|
|
4319
|
+
}).every(flag => flag)].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
4320
|
+
const value = input[key];
|
|
4321
|
+
if (undefined === value)
|
|
4322
|
+
return true;
|
|
4323
|
+
return undefined === value || "string" === typeof value || _report(_exceptionable, {
|
|
4324
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
4325
|
+
expected: "(string | undefined)",
|
|
4326
|
+
value: value
|
|
4327
|
+
});
|
|
4328
|
+
}).every(flag => flag)].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
4329
|
+
path: _path + ".__context",
|
|
4330
|
+
expected: "Record<string, unknown> & { connection: FileConnectionHttpRecord; }",
|
|
4331
|
+
value: input.__context
|
|
4332
|
+
})) && _vo12(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
4333
|
+
path: _path + ".__context",
|
|
4334
|
+
expected: "Record<string, unknown> & { connection: FileConnectionHttpRecord; }",
|
|
4335
|
+
value: input.__context
|
|
4336
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
4337
|
+
path: _path + ".__returnValue",
|
|
4338
|
+
expected: "(__type.o9 | undefined)",
|
|
4339
|
+
value: input.__returnValue
|
|
4340
|
+
})) && _vo13(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
4341
|
+
path: _path + ".__returnValue",
|
|
4342
|
+
expected: "(__type.o9 | undefined)",
|
|
4343
|
+
value: input.__returnValue
|
|
4344
|
+
})].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
4345
|
+
const value = input[key];
|
|
4346
|
+
if (undefined === value)
|
|
4347
|
+
return true;
|
|
4348
|
+
return ("object" === typeof value && null !== value || _report(_exceptionable, {
|
|
4349
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
4350
|
+
expected: "__type.o12",
|
|
4351
|
+
value: value
|
|
4352
|
+
})) && _vo16(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
4353
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
4354
|
+
expected: "__type.o12",
|
|
4355
|
+
value: value
|
|
4356
|
+
});
|
|
4357
|
+
}).every(flag => flag)].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [true, undefined === input.filename || "string" === typeof input.filename || _report(_exceptionable, {
|
|
4358
|
+
path: _path + ".filename",
|
|
4359
|
+
expected: "(string | undefined)",
|
|
4360
|
+
value: input.filename
|
|
4361
|
+
})].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
4362
|
+
path: _path + ".__context",
|
|
4363
|
+
expected: "Record<string, unknown> & { connection: FileConnectionHttpRecord; }",
|
|
4364
|
+
value: input.__context
|
|
4365
|
+
})) && _vo12(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
4366
|
+
path: _path + ".__context",
|
|
4367
|
+
expected: "Record<string, unknown> & { connection: FileConnectionHttpRecord; }",
|
|
4368
|
+
value: input.__context
|
|
4369
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
4370
|
+
path: _path + ".__returnValue",
|
|
4371
|
+
expected: "(__type.o11 | undefined)",
|
|
4372
|
+
value: input.__returnValue
|
|
4373
|
+
})) && _vo15(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
4374
|
+
path: _path + ".__returnValue",
|
|
4375
|
+
expected: "(__type.o11 | undefined)",
|
|
4376
|
+
value: input.__returnValue
|
|
4377
|
+
})].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
4378
|
+
const value = input[key];
|
|
4379
|
+
if (undefined === value)
|
|
4380
|
+
return true;
|
|
4381
|
+
return undefined === value || "string" === typeof value || _report(_exceptionable, {
|
|
4382
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
4383
|
+
expected: "(string | undefined)",
|
|
4384
|
+
value: value
|
|
4385
|
+
});
|
|
4386
|
+
}).every(flag => flag)].every(flag => flag); const _vo19 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
4387
|
+
path: _path + ".__context",
|
|
4388
|
+
expected: "Record<string, unknown> & { connection: FileConnectionHttpRecord; }",
|
|
4389
|
+
value: input.__context
|
|
4390
|
+
})) && _vo12(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
4391
|
+
path: _path + ".__context",
|
|
4392
|
+
expected: "Record<string, unknown> & { connection: FileConnectionHttpRecord; }",
|
|
4393
|
+
value: input.__context
|
|
4394
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
4395
|
+
path: _path + ".__returnValue",
|
|
4396
|
+
expected: "(__type.o14 | undefined)",
|
|
4397
|
+
value: input.__returnValue
|
|
4398
|
+
})) && _vo18(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
4399
|
+
path: _path + ".__returnValue",
|
|
4400
|
+
expected: "(__type.o14 | undefined)",
|
|
4401
|
+
value: input.__returnValue
|
|
4402
|
+
})].every(flag => flag); const _vo20 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
4403
|
+
path: _path + ".__context",
|
|
4404
|
+
expected: "Record<string, unknown> & { connection: FileConnectionHttpRecord; }",
|
|
4405
|
+
value: input.__context
|
|
4406
|
+
})) && _vo12(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
4407
|
+
path: _path + ".__context",
|
|
4408
|
+
expected: "Record<string, unknown> & { connection: FileConnectionHttpRecord; }",
|
|
4409
|
+
value: input.__context
|
|
4410
|
+
}), undefined === input.__returnValue || "boolean" === typeof input.__returnValue || _report(_exceptionable, {
|
|
4411
|
+
path: _path + ".__returnValue",
|
|
4412
|
+
expected: "(boolean | undefined)",
|
|
4413
|
+
value: input.__returnValue
|
|
4414
|
+
})].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [undefined === input.responseFormat || "text" === input.responseFormat || "json" === input.responseFormat || "stream" === input.responseFormat || _report(_exceptionable, {
|
|
4415
|
+
path: _path + ".responseFormat",
|
|
4416
|
+
expected: "(\"json\" | \"stream\" | \"text\" | undefined)",
|
|
4417
|
+
value: input.responseFormat
|
|
4418
|
+
}), null === input.error || undefined === input.error || "string" === typeof input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
4419
|
+
path: _path + ".error",
|
|
4420
|
+
expected: "(__type.o17 | null | string | undefined)",
|
|
4421
|
+
value: input.error
|
|
4422
|
+
})) && _vo22(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
4423
|
+
path: _path + ".error",
|
|
4424
|
+
expected: "(__type.o17 | null | string | undefined)",
|
|
4425
|
+
value: input.error
|
|
4426
|
+
}), (null !== input.transform || _report(_exceptionable, {
|
|
4427
|
+
path: _path + ".transform",
|
|
4428
|
+
expected: "(__type.o19 | string | undefined)",
|
|
4429
|
+
value: input.transform
|
|
4430
|
+
})) && (undefined === input.transform || "string" === typeof input.transform || ("object" === typeof input.transform && null !== input.transform || _report(_exceptionable, {
|
|
4431
|
+
path: _path + ".transform",
|
|
4432
|
+
expected: "(__type.o19 | string | undefined)",
|
|
4433
|
+
value: input.transform
|
|
4434
|
+
})) && _vo25(input.transform, _path + ".transform", true && _exceptionable) || _report(_exceptionable, {
|
|
4435
|
+
path: _path + ".transform",
|
|
4436
|
+
expected: "(__type.o19 | string | undefined)",
|
|
4437
|
+
value: input.transform
|
|
4438
|
+
}))].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
4439
|
+
path: _path + ".__context",
|
|
4440
|
+
expected: "__type.o18",
|
|
4441
|
+
value: input.__context
|
|
4442
|
+
})) && _vo23(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
4443
|
+
path: _path + ".__context",
|
|
4444
|
+
expected: "__type.o18",
|
|
4445
|
+
value: input.__context
|
|
4446
|
+
}), null === input.__returnValue || undefined === input.__returnValue || "string" === typeof input.__returnValue || _report(_exceptionable, {
|
|
4447
|
+
path: _path + ".__returnValue",
|
|
4448
|
+
expected: "(null | string | undefined)",
|
|
4449
|
+
value: input.__returnValue
|
|
4450
|
+
})].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => [("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) || _report(_exceptionable, {
|
|
4451
|
+
path: _path + ".connection",
|
|
4452
|
+
expected: "FileConnectionHttpRecord",
|
|
4453
|
+
value: input.connection
|
|
4454
|
+
})) && _vo2(input.connection, _path + ".connection", true && _exceptionable) || _report(_exceptionable, {
|
|
4455
|
+
path: _path + ".connection",
|
|
4456
|
+
expected: "FileConnectionHttpRecord",
|
|
4457
|
+
value: input.connection
|
|
4458
|
+
}), ("object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) || _report(_exceptionable, {
|
|
4459
|
+
path: _path + ".headers",
|
|
4460
|
+
expected: "Record<string, string | string[] | undefined>",
|
|
4461
|
+
value: input.headers
|
|
4462
|
+
})) && _vo24(input.headers, _path + ".headers", true && _exceptionable) || _report(_exceptionable, {
|
|
4463
|
+
path: _path + ".headers",
|
|
4464
|
+
expected: "Record<string, string | string[] | undefined>",
|
|
4465
|
+
value: input.headers
|
|
4466
|
+
}), "number" === typeof input.statusCode || _report(_exceptionable, {
|
|
4467
|
+
path: _path + ".statusCode",
|
|
4468
|
+
expected: "number",
|
|
4469
|
+
value: input.statusCode
|
|
4470
|
+
})].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
4471
|
+
const value = input[key];
|
|
4472
|
+
if (undefined === value)
|
|
4473
|
+
return true;
|
|
4474
|
+
return (null !== value || _report(_exceptionable, {
|
|
4475
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
4476
|
+
expected: "(Array<string> | string | undefined)",
|
|
4477
|
+
value: value
|
|
4478
|
+
})) && (undefined === value || "string" === typeof value || (Array.isArray(value) || _report(_exceptionable, {
|
|
4479
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
4480
|
+
expected: "(Array<string> | string | undefined)",
|
|
4481
|
+
value: value
|
|
4482
|
+
})) && value.map((elem, _index5) => "string" === typeof elem || _report(_exceptionable, {
|
|
4483
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index5 + "]",
|
|
4484
|
+
expected: "string",
|
|
4485
|
+
value: elem
|
|
4486
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
4487
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
4488
|
+
expected: "(Array<string> | string | undefined)",
|
|
4489
|
+
value: value
|
|
4490
|
+
}));
|
|
4491
|
+
}).every(flag => flag)].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
4492
|
+
path: _path + ".__context",
|
|
4493
|
+
expected: "__type.o20",
|
|
4494
|
+
value: input.__context
|
|
4495
|
+
})) && _vo26(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
4496
|
+
path: _path + ".__context",
|
|
4497
|
+
expected: "__type.o20",
|
|
4498
|
+
value: input.__context
|
|
4499
|
+
}), (null !== input.__returnValue || _report(_exceptionable, {
|
|
4500
|
+
path: _path + ".__returnValue",
|
|
4501
|
+
expected: "undefined",
|
|
4502
|
+
value: input.__returnValue
|
|
4503
|
+
})) && (undefined === input.__returnValue || _report(_exceptionable, {
|
|
4504
|
+
path: _path + ".__returnValue",
|
|
4505
|
+
expected: "undefined",
|
|
4506
|
+
value: input.__returnValue
|
|
4507
|
+
}))].every(flag => flag); const _vo26 = (input, _path, _exceptionable = true) => [("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) || _report(_exceptionable, {
|
|
4508
|
+
path: _path + ".connection",
|
|
4509
|
+
expected: "FileConnectionHttpRecord",
|
|
4510
|
+
value: input.connection
|
|
4511
|
+
})) && _vo2(input.connection, _path + ".connection", true && _exceptionable) || _report(_exceptionable, {
|
|
4512
|
+
path: _path + ".connection",
|
|
4513
|
+
expected: "FileConnectionHttpRecord",
|
|
4514
|
+
value: input.connection
|
|
4515
|
+
}), true, undefined === input.text || "string" === typeof input.text || _report(_exceptionable, {
|
|
4516
|
+
path: _path + ".text",
|
|
4517
|
+
expected: "(string | undefined)",
|
|
4518
|
+
value: input.text
|
|
4519
|
+
}), ("object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) || _report(_exceptionable, {
|
|
4520
|
+
path: _path + ".headers",
|
|
4521
|
+
expected: "Record<string, string | string[] | undefined>",
|
|
4522
|
+
value: input.headers
|
|
4523
|
+
})) && _vo24(input.headers, _path + ".headers", true && _exceptionable) || _report(_exceptionable, {
|
|
4524
|
+
path: _path + ".headers",
|
|
4525
|
+
expected: "Record<string, string | string[] | undefined>",
|
|
4526
|
+
value: input.headers
|
|
4527
|
+
}), "number" === typeof input.statusCode || _report(_exceptionable, {
|
|
4528
|
+
path: _path + ".statusCode",
|
|
4529
|
+
expected: "number",
|
|
4530
|
+
value: input.statusCode
|
|
4531
|
+
})].every(flag => flag); const _vo27 = (input, _path, _exceptionable = true) => [undefined === input.request || ("object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) || _report(_exceptionable, {
|
|
4532
|
+
path: _path + ".request",
|
|
4533
|
+
expected: "(__type.o21 | undefined)",
|
|
4534
|
+
value: input.request
|
|
4535
|
+
})) && _vo28(input.request, _path + ".request", true && _exceptionable) || _report(_exceptionable, {
|
|
4536
|
+
path: _path + ".request",
|
|
4537
|
+
expected: "(__type.o21 | undefined)",
|
|
4538
|
+
value: input.request
|
|
4539
|
+
}), undefined === input.response || ("object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) || _report(_exceptionable, {
|
|
4540
|
+
path: _path + ".response",
|
|
4541
|
+
expected: "(HttpConnectionResponseHandler<FileConnectionHeadResponse | undefined> | undefined)",
|
|
4542
|
+
value: input.response
|
|
4543
|
+
})) && _vo35(input.response, _path + ".response", true && _exceptionable) || _report(_exceptionable, {
|
|
4544
|
+
path: _path + ".response",
|
|
4545
|
+
expected: "(HttpConnectionResponseHandler<FileConnectionHeadResponse | undefined> | undefined)",
|
|
4546
|
+
value: input.response
|
|
4547
|
+
})].every(flag => flag); const _vo28 = (input, _path, _exceptionable = true) => [(null !== input.origin || _report(_exceptionable, {
|
|
4548
|
+
path: _path + ".origin",
|
|
4549
|
+
expected: "(__type.o22 | string | undefined)",
|
|
4550
|
+
value: input.origin
|
|
4551
|
+
})) && (undefined === input.origin || "string" === typeof input.origin || ("object" === typeof input.origin && null !== input.origin || _report(_exceptionable, {
|
|
4552
|
+
path: _path + ".origin",
|
|
4553
|
+
expected: "(__type.o22 | string | undefined)",
|
|
4554
|
+
value: input.origin
|
|
4555
|
+
})) && _vo29(input.origin, _path + ".origin", true && _exceptionable) || _report(_exceptionable, {
|
|
4556
|
+
path: _path + ".origin",
|
|
4557
|
+
expected: "(__type.o22 | string | undefined)",
|
|
4558
|
+
value: input.origin
|
|
4559
|
+
})), (null !== input.path || _report(_exceptionable, {
|
|
4560
|
+
path: _path + ".path",
|
|
4561
|
+
expected: "(__type.o22 | string | undefined)",
|
|
4562
|
+
value: input.path
|
|
4563
|
+
})) && (undefined === input.path || "string" === typeof input.path || ("object" === typeof input.path && null !== input.path || _report(_exceptionable, {
|
|
4564
|
+
path: _path + ".path",
|
|
4565
|
+
expected: "(__type.o22 | string | undefined)",
|
|
4566
|
+
value: input.path
|
|
4567
|
+
})) && _vo29(input.path, _path + ".path", true && _exceptionable) || _report(_exceptionable, {
|
|
4568
|
+
path: _path + ".path",
|
|
4569
|
+
expected: "(__type.o22 | string | undefined)",
|
|
4570
|
+
value: input.path
|
|
4571
|
+
})), (null !== input.method || _report(_exceptionable, {
|
|
4572
|
+
path: _path + ".method",
|
|
4573
|
+
expected: "(__type.o22 | string | undefined)",
|
|
4574
|
+
value: input.method
|
|
4575
|
+
})) && (undefined === input.method || "string" === typeof input.method || ("object" === typeof input.method && null !== input.method || _report(_exceptionable, {
|
|
4576
|
+
path: _path + ".method",
|
|
4577
|
+
expected: "(__type.o22 | string | undefined)",
|
|
4578
|
+
value: input.method
|
|
4579
|
+
})) && _vo29(input.method, _path + ".method", true && _exceptionable) || _report(_exceptionable, {
|
|
4580
|
+
path: _path + ".method",
|
|
4581
|
+
expected: "(__type.o22 | string | undefined)",
|
|
4582
|
+
value: input.method
|
|
4583
|
+
})), (null !== input.params || _report(_exceptionable, {
|
|
4584
|
+
path: _path + ".params",
|
|
4585
|
+
expected: "(__type.o24 | __type.o9 | string | undefined)",
|
|
4586
|
+
value: input.params
|
|
4587
|
+
})) && (undefined === input.params || "string" === typeof input.params || ("object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) || _report(_exceptionable, {
|
|
4588
|
+
path: _path + ".params",
|
|
4589
|
+
expected: "(__type.o24 | __type.o9 | string | undefined)",
|
|
4590
|
+
value: input.params
|
|
4591
|
+
})) && _vu3(input.params, _path + ".params", true && _exceptionable) || _report(_exceptionable, {
|
|
4592
|
+
path: _path + ".params",
|
|
4593
|
+
expected: "(__type.o24 | __type.o9 | string | undefined)",
|
|
4594
|
+
value: input.params
|
|
4595
|
+
})), (null !== input.form || _report(_exceptionable, {
|
|
4596
|
+
path: _path + ".form",
|
|
4597
|
+
expected: "(__type.o11 | __type.o25 | string | undefined)",
|
|
4598
|
+
value: input.form
|
|
4599
|
+
})) && (undefined === input.form || "string" === typeof input.form || ("object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) || _report(_exceptionable, {
|
|
4600
|
+
path: _path + ".form",
|
|
4601
|
+
expected: "(__type.o11 | __type.o25 | string | undefined)",
|
|
4602
|
+
value: input.form
|
|
4603
|
+
})) && _vu4(input.form, _path + ".form", true && _exceptionable) || _report(_exceptionable, {
|
|
4604
|
+
path: _path + ".form",
|
|
4605
|
+
expected: "(__type.o11 | __type.o25 | string | undefined)",
|
|
4606
|
+
value: input.form
|
|
4607
|
+
})), (null !== input.headers || _report(_exceptionable, {
|
|
4608
|
+
path: _path + ".headers",
|
|
4609
|
+
expected: "(__type.o14 | __type.o26 | string | undefined)",
|
|
4610
|
+
value: input.headers
|
|
4611
|
+
})) && (undefined === input.headers || "string" === typeof input.headers || ("object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) || _report(_exceptionable, {
|
|
4612
|
+
path: _path + ".headers",
|
|
4613
|
+
expected: "(__type.o14 | __type.o26 | string | undefined)",
|
|
4614
|
+
value: input.headers
|
|
4615
|
+
})) && _vu5(input.headers, _path + ".headers", true && _exceptionable) || _report(_exceptionable, {
|
|
4616
|
+
path: _path + ".headers",
|
|
4617
|
+
expected: "(__type.o14 | __type.o26 | string | undefined)",
|
|
4618
|
+
value: input.headers
|
|
4619
|
+
})), (null !== input.throwOnError || _report(_exceptionable, {
|
|
4620
|
+
path: _path + ".throwOnError",
|
|
4621
|
+
expected: "(__type.o27 | boolean | string | undefined)",
|
|
4622
|
+
value: input.throwOnError
|
|
4623
|
+
})) && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || ("object" === typeof input.throwOnError && null !== input.throwOnError || _report(_exceptionable, {
|
|
4624
|
+
path: _path + ".throwOnError",
|
|
4625
|
+
expected: "(__type.o27 | boolean | string | undefined)",
|
|
4626
|
+
value: input.throwOnError
|
|
4627
|
+
})) && _vo34(input.throwOnError, _path + ".throwOnError", true && _exceptionable) || _report(_exceptionable, {
|
|
4628
|
+
path: _path + ".throwOnError",
|
|
4629
|
+
expected: "(__type.o27 | boolean | string | undefined)",
|
|
4630
|
+
value: input.throwOnError
|
|
4631
|
+
}))].every(flag => flag); const _vo29 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
4632
|
+
path: _path + ".__context",
|
|
4633
|
+
expected: "{ filepath: string; } & { connection: FileConnectionHttpRecord; }",
|
|
4634
|
+
value: input.__context
|
|
4635
|
+
})) && _vo30(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
4636
|
+
path: _path + ".__context",
|
|
4637
|
+
expected: "{ filepath: string; } & { connection: FileConnectionHttpRecord; }",
|
|
4638
|
+
value: input.__context
|
|
4639
|
+
}), undefined === input.__returnValue || "string" === typeof input.__returnValue || _report(_exceptionable, {
|
|
4640
|
+
path: _path + ".__returnValue",
|
|
4641
|
+
expected: "(string | undefined)",
|
|
4642
|
+
value: input.__returnValue
|
|
4643
|
+
})].every(flag => flag); const _vo30 = (input, _path, _exceptionable = true) => ["string" === typeof input.filepath || _report(_exceptionable, {
|
|
4644
|
+
path: _path + ".filepath",
|
|
4645
|
+
expected: "string",
|
|
4646
|
+
value: input.filepath
|
|
4647
|
+
}), ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) || _report(_exceptionable, {
|
|
4648
|
+
path: _path + ".connection",
|
|
4649
|
+
expected: "FileConnectionHttpRecord",
|
|
4650
|
+
value: input.connection
|
|
4651
|
+
})) && _vo2(input.connection, _path + ".connection", true && _exceptionable) || _report(_exceptionable, {
|
|
4652
|
+
path: _path + ".connection",
|
|
4653
|
+
expected: "FileConnectionHttpRecord",
|
|
4654
|
+
value: input.connection
|
|
4655
|
+
})].every(flag => flag); const _vo31 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
4656
|
+
path: _path + ".__context",
|
|
4657
|
+
expected: "{ filepath: string; } & { connection: FileConnectionHttpRecord; }",
|
|
4658
|
+
value: input.__context
|
|
4659
|
+
})) && _vo30(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
4660
|
+
path: _path + ".__context",
|
|
4661
|
+
expected: "{ filepath: string; } & { connection: FileConnectionHttpRecord; }",
|
|
4662
|
+
value: input.__context
|
|
4663
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
4664
|
+
path: _path + ".__returnValue",
|
|
4665
|
+
expected: "(__type.o9 | undefined)",
|
|
4666
|
+
value: input.__returnValue
|
|
4667
|
+
})) && _vo13(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
4668
|
+
path: _path + ".__returnValue",
|
|
4669
|
+
expected: "(__type.o9 | undefined)",
|
|
4670
|
+
value: input.__returnValue
|
|
4671
|
+
})].every(flag => flag); const _vo32 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
4672
|
+
path: _path + ".__context",
|
|
4673
|
+
expected: "{ filepath: string; } & { connection: FileConnectionHttpRecord; }",
|
|
4674
|
+
value: input.__context
|
|
4675
|
+
})) && _vo30(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
4676
|
+
path: _path + ".__context",
|
|
4677
|
+
expected: "{ filepath: string; } & { connection: FileConnectionHttpRecord; }",
|
|
4678
|
+
value: input.__context
|
|
4679
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
4680
|
+
path: _path + ".__returnValue",
|
|
4681
|
+
expected: "(__type.o11 | undefined)",
|
|
4682
|
+
value: input.__returnValue
|
|
4683
|
+
})) && _vo15(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
4684
|
+
path: _path + ".__returnValue",
|
|
4685
|
+
expected: "(__type.o11 | undefined)",
|
|
4686
|
+
value: input.__returnValue
|
|
4687
|
+
})].every(flag => flag); const _vo33 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
4688
|
+
path: _path + ".__context",
|
|
4689
|
+
expected: "{ filepath: string; } & { connection: FileConnectionHttpRecord; }",
|
|
4690
|
+
value: input.__context
|
|
4691
|
+
})) && _vo30(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
4692
|
+
path: _path + ".__context",
|
|
4693
|
+
expected: "{ filepath: string; } & { connection: FileConnectionHttpRecord; }",
|
|
4694
|
+
value: input.__context
|
|
4695
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
4696
|
+
path: _path + ".__returnValue",
|
|
4697
|
+
expected: "(__type.o14 | undefined)",
|
|
4698
|
+
value: input.__returnValue
|
|
4699
|
+
})) && _vo18(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
4700
|
+
path: _path + ".__returnValue",
|
|
4701
|
+
expected: "(__type.o14 | undefined)",
|
|
4702
|
+
value: input.__returnValue
|
|
4703
|
+
})].every(flag => flag); const _vo34 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
4704
|
+
path: _path + ".__context",
|
|
4705
|
+
expected: "{ filepath: string; } & { connection: FileConnectionHttpRecord; }",
|
|
4706
|
+
value: input.__context
|
|
4707
|
+
})) && _vo30(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
4708
|
+
path: _path + ".__context",
|
|
4709
|
+
expected: "{ filepath: string; } & { connection: FileConnectionHttpRecord; }",
|
|
4710
|
+
value: input.__context
|
|
4711
|
+
}), undefined === input.__returnValue || "boolean" === typeof input.__returnValue || _report(_exceptionable, {
|
|
4712
|
+
path: _path + ".__returnValue",
|
|
4713
|
+
expected: "(boolean | undefined)",
|
|
4714
|
+
value: input.__returnValue
|
|
4715
|
+
})].every(flag => flag); const _vo35 = (input, _path, _exceptionable = true) => [undefined === input.responseFormat || "text" === input.responseFormat || "json" === input.responseFormat || "stream" === input.responseFormat || _report(_exceptionable, {
|
|
4716
|
+
path: _path + ".responseFormat",
|
|
4717
|
+
expected: "(\"json\" | \"stream\" | \"text\" | undefined)",
|
|
4718
|
+
value: input.responseFormat
|
|
4719
|
+
}), null === input.error || undefined === input.error || "string" === typeof input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
4720
|
+
path: _path + ".error",
|
|
4721
|
+
expected: "(__type.o17 | null | string | undefined)",
|
|
4722
|
+
value: input.error
|
|
4723
|
+
})) && _vo22(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
4724
|
+
path: _path + ".error",
|
|
4725
|
+
expected: "(__type.o17 | null | string | undefined)",
|
|
4726
|
+
value: input.error
|
|
4727
|
+
}), (null !== input.transform || _report(_exceptionable, {
|
|
4728
|
+
path: _path + ".transform",
|
|
4729
|
+
expected: "(FileConnectionHeadResponse | __type.o28 | string | undefined)",
|
|
4730
|
+
value: input.transform
|
|
4731
|
+
})) && (undefined === input.transform || "string" === typeof input.transform || ("object" === typeof input.transform && null !== input.transform && false === Array.isArray(input.transform) || _report(_exceptionable, {
|
|
4732
|
+
path: _path + ".transform",
|
|
4733
|
+
expected: "(FileConnectionHeadResponse | __type.o28 | string | undefined)",
|
|
4734
|
+
value: input.transform
|
|
4735
|
+
})) && _vu6(input.transform, _path + ".transform", true && _exceptionable) || _report(_exceptionable, {
|
|
4736
|
+
path: _path + ".transform",
|
|
4737
|
+
expected: "(FileConnectionHeadResponse | __type.o28 | string | undefined)",
|
|
4738
|
+
value: input.transform
|
|
4739
|
+
}))].every(flag => flag); const _vo36 = (input, _path, _exceptionable = true) => [undefined === input.size || "number" === typeof input.size || _report(_exceptionable, {
|
|
4740
|
+
path: _path + ".size",
|
|
4741
|
+
expected: "(number | undefined)",
|
|
4742
|
+
value: input.size
|
|
4743
|
+
}), undefined === input.hash || "string" === typeof input.hash || _report(_exceptionable, {
|
|
4744
|
+
path: _path + ".hash",
|
|
4745
|
+
expected: "(string | undefined)",
|
|
4746
|
+
value: input.hash
|
|
4747
|
+
})].every(flag => flag); const _vo37 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
4748
|
+
path: _path + ".__context",
|
|
4749
|
+
expected: "__type.o20",
|
|
4750
|
+
value: input.__context
|
|
4751
|
+
})) && _vo26(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
4752
|
+
path: _path + ".__context",
|
|
4753
|
+
expected: "__type.o20",
|
|
4754
|
+
value: input.__context
|
|
4755
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
4756
|
+
path: _path + ".__returnValue",
|
|
4757
|
+
expected: "(FileConnectionHeadResponse | undefined)",
|
|
4758
|
+
value: input.__returnValue
|
|
4759
|
+
})) && _vo36(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
4760
|
+
path: _path + ".__returnValue",
|
|
4761
|
+
expected: "(FileConnectionHeadResponse | undefined)",
|
|
4762
|
+
value: input.__returnValue
|
|
4763
|
+
})].every(flag => flag); const _vo38 = (input, _path, _exceptionable = true) => [undefined === input.request || ("object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) || _report(_exceptionable, {
|
|
4764
|
+
path: _path + ".request",
|
|
4765
|
+
expected: "(__type.o29 | undefined)",
|
|
4766
|
+
value: input.request
|
|
4767
|
+
})) && _vo39(input.request, _path + ".request", true && _exceptionable) || _report(_exceptionable, {
|
|
4768
|
+
path: _path + ".request",
|
|
4769
|
+
expected: "(__type.o29 | undefined)",
|
|
4770
|
+
value: input.request
|
|
4771
|
+
}), undefined === input.response || ("object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) || _report(_exceptionable, {
|
|
4772
|
+
path: _path + ".response",
|
|
4773
|
+
expected: "(HttpConnectionResponseHandler<Array<FileConnectionListResponseItem>> | undefined)",
|
|
4774
|
+
value: input.response
|
|
4775
|
+
})) && _vo46(input.response, _path + ".response", true && _exceptionable) || _report(_exceptionable, {
|
|
4776
|
+
path: _path + ".response",
|
|
4777
|
+
expected: "(HttpConnectionResponseHandler<Array<FileConnectionListResponseItem>> | undefined)",
|
|
4778
|
+
value: input.response
|
|
4779
|
+
})].every(flag => flag); const _vo39 = (input, _path, _exceptionable = true) => [(null !== input.origin || _report(_exceptionable, {
|
|
4780
|
+
path: _path + ".origin",
|
|
4781
|
+
expected: "(__type.o30 | string | undefined)",
|
|
4782
|
+
value: input.origin
|
|
4783
|
+
})) && (undefined === input.origin || "string" === typeof input.origin || ("object" === typeof input.origin && null !== input.origin || _report(_exceptionable, {
|
|
4784
|
+
path: _path + ".origin",
|
|
4785
|
+
expected: "(__type.o30 | string | undefined)",
|
|
4786
|
+
value: input.origin
|
|
4787
|
+
})) && _vo40(input.origin, _path + ".origin", true && _exceptionable) || _report(_exceptionable, {
|
|
4788
|
+
path: _path + ".origin",
|
|
4789
|
+
expected: "(__type.o30 | string | undefined)",
|
|
4790
|
+
value: input.origin
|
|
4791
|
+
})), (null !== input.path || _report(_exceptionable, {
|
|
4792
|
+
path: _path + ".path",
|
|
4793
|
+
expected: "(__type.o30 | string | undefined)",
|
|
4794
|
+
value: input.path
|
|
4795
|
+
})) && (undefined === input.path || "string" === typeof input.path || ("object" === typeof input.path && null !== input.path || _report(_exceptionable, {
|
|
4796
|
+
path: _path + ".path",
|
|
4797
|
+
expected: "(__type.o30 | string | undefined)",
|
|
4798
|
+
value: input.path
|
|
4799
|
+
})) && _vo40(input.path, _path + ".path", true && _exceptionable) || _report(_exceptionable, {
|
|
4800
|
+
path: _path + ".path",
|
|
4801
|
+
expected: "(__type.o30 | string | undefined)",
|
|
4802
|
+
value: input.path
|
|
4803
|
+
})), (null !== input.method || _report(_exceptionable, {
|
|
4804
|
+
path: _path + ".method",
|
|
4805
|
+
expected: "(__type.o30 | string | undefined)",
|
|
4806
|
+
value: input.method
|
|
4807
|
+
})) && (undefined === input.method || "string" === typeof input.method || ("object" === typeof input.method && null !== input.method || _report(_exceptionable, {
|
|
4808
|
+
path: _path + ".method",
|
|
4809
|
+
expected: "(__type.o30 | string | undefined)",
|
|
4810
|
+
value: input.method
|
|
4811
|
+
})) && _vo40(input.method, _path + ".method", true && _exceptionable) || _report(_exceptionable, {
|
|
4812
|
+
path: _path + ".method",
|
|
4813
|
+
expected: "(__type.o30 | string | undefined)",
|
|
4814
|
+
value: input.method
|
|
4815
|
+
})), (null !== input.params || _report(_exceptionable, {
|
|
4816
|
+
path: _path + ".params",
|
|
4817
|
+
expected: "(__type.o32 | __type.o9 | string | undefined)",
|
|
4818
|
+
value: input.params
|
|
4819
|
+
})) && (undefined === input.params || "string" === typeof input.params || ("object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) || _report(_exceptionable, {
|
|
4820
|
+
path: _path + ".params",
|
|
4821
|
+
expected: "(__type.o32 | __type.o9 | string | undefined)",
|
|
4822
|
+
value: input.params
|
|
4823
|
+
})) && _vu7(input.params, _path + ".params", true && _exceptionable) || _report(_exceptionable, {
|
|
4824
|
+
path: _path + ".params",
|
|
4825
|
+
expected: "(__type.o32 | __type.o9 | string | undefined)",
|
|
4826
|
+
value: input.params
|
|
4827
|
+
})), (null !== input.form || _report(_exceptionable, {
|
|
4828
|
+
path: _path + ".form",
|
|
4829
|
+
expected: "(__type.o11 | __type.o33 | string | undefined)",
|
|
4830
|
+
value: input.form
|
|
4831
|
+
})) && (undefined === input.form || "string" === typeof input.form || ("object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) || _report(_exceptionable, {
|
|
4832
|
+
path: _path + ".form",
|
|
4833
|
+
expected: "(__type.o11 | __type.o33 | string | undefined)",
|
|
4834
|
+
value: input.form
|
|
4835
|
+
})) && _vu8(input.form, _path + ".form", true && _exceptionable) || _report(_exceptionable, {
|
|
4836
|
+
path: _path + ".form",
|
|
4837
|
+
expected: "(__type.o11 | __type.o33 | string | undefined)",
|
|
4838
|
+
value: input.form
|
|
4839
|
+
})), (null !== input.headers || _report(_exceptionable, {
|
|
4840
|
+
path: _path + ".headers",
|
|
4841
|
+
expected: "(__type.o14 | __type.o34 | string | undefined)",
|
|
4842
|
+
value: input.headers
|
|
4843
|
+
})) && (undefined === input.headers || "string" === typeof input.headers || ("object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) || _report(_exceptionable, {
|
|
4844
|
+
path: _path + ".headers",
|
|
4845
|
+
expected: "(__type.o14 | __type.o34 | string | undefined)",
|
|
4846
|
+
value: input.headers
|
|
4847
|
+
})) && _vu9(input.headers, _path + ".headers", true && _exceptionable) || _report(_exceptionable, {
|
|
4848
|
+
path: _path + ".headers",
|
|
4849
|
+
expected: "(__type.o14 | __type.o34 | string | undefined)",
|
|
4850
|
+
value: input.headers
|
|
4851
|
+
})), (null !== input.throwOnError || _report(_exceptionable, {
|
|
4852
|
+
path: _path + ".throwOnError",
|
|
4853
|
+
expected: "(__type.o35 | boolean | string | undefined)",
|
|
4854
|
+
value: input.throwOnError
|
|
4855
|
+
})) && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || ("object" === typeof input.throwOnError && null !== input.throwOnError || _report(_exceptionable, {
|
|
4856
|
+
path: _path + ".throwOnError",
|
|
4857
|
+
expected: "(__type.o35 | boolean | string | undefined)",
|
|
4858
|
+
value: input.throwOnError
|
|
4859
|
+
})) && _vo45(input.throwOnError, _path + ".throwOnError", true && _exceptionable) || _report(_exceptionable, {
|
|
4860
|
+
path: _path + ".throwOnError",
|
|
4861
|
+
expected: "(__type.o35 | boolean | string | undefined)",
|
|
4862
|
+
value: input.throwOnError
|
|
4863
|
+
}))].every(flag => flag); const _vo40 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
4864
|
+
path: _path + ".__context",
|
|
4865
|
+
expected: "{ dirpath?: string | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
4866
|
+
value: input.__context
|
|
4867
|
+
})) && _vo41(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
4868
|
+
path: _path + ".__context",
|
|
4869
|
+
expected: "{ dirpath?: string | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
4870
|
+
value: input.__context
|
|
4871
|
+
}), undefined === input.__returnValue || "string" === typeof input.__returnValue || _report(_exceptionable, {
|
|
4872
|
+
path: _path + ".__returnValue",
|
|
4873
|
+
expected: "(string | undefined)",
|
|
4874
|
+
value: input.__returnValue
|
|
4875
|
+
})].every(flag => flag); const _vo41 = (input, _path, _exceptionable = true) => [undefined === input.dirpath || "string" === typeof input.dirpath || _report(_exceptionable, {
|
|
4876
|
+
path: _path + ".dirpath",
|
|
4877
|
+
expected: "(string | undefined)",
|
|
4878
|
+
value: input.dirpath
|
|
4879
|
+
}), ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) || _report(_exceptionable, {
|
|
4880
|
+
path: _path + ".connection",
|
|
4881
|
+
expected: "FileConnectionHttpRecord",
|
|
4882
|
+
value: input.connection
|
|
4883
|
+
})) && _vo2(input.connection, _path + ".connection", true && _exceptionable) || _report(_exceptionable, {
|
|
4884
|
+
path: _path + ".connection",
|
|
4885
|
+
expected: "FileConnectionHttpRecord",
|
|
4886
|
+
value: input.connection
|
|
4887
|
+
})].every(flag => flag); const _vo42 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
4888
|
+
path: _path + ".__context",
|
|
4889
|
+
expected: "{ dirpath?: string | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
4890
|
+
value: input.__context
|
|
4891
|
+
})) && _vo41(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
4892
|
+
path: _path + ".__context",
|
|
4893
|
+
expected: "{ dirpath?: string | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
4894
|
+
value: input.__context
|
|
4895
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
4896
|
+
path: _path + ".__returnValue",
|
|
4897
|
+
expected: "(__type.o9 | undefined)",
|
|
4898
|
+
value: input.__returnValue
|
|
4899
|
+
})) && _vo13(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
4900
|
+
path: _path + ".__returnValue",
|
|
4901
|
+
expected: "(__type.o9 | undefined)",
|
|
4902
|
+
value: input.__returnValue
|
|
4903
|
+
})].every(flag => flag); const _vo43 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
4904
|
+
path: _path + ".__context",
|
|
4905
|
+
expected: "{ dirpath?: string | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
4906
|
+
value: input.__context
|
|
4907
|
+
})) && _vo41(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
4908
|
+
path: _path + ".__context",
|
|
4909
|
+
expected: "{ dirpath?: string | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
4910
|
+
value: input.__context
|
|
4911
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
4912
|
+
path: _path + ".__returnValue",
|
|
4913
|
+
expected: "(__type.o11 | undefined)",
|
|
4914
|
+
value: input.__returnValue
|
|
4915
|
+
})) && _vo15(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
4916
|
+
path: _path + ".__returnValue",
|
|
4917
|
+
expected: "(__type.o11 | undefined)",
|
|
4918
|
+
value: input.__returnValue
|
|
4919
|
+
})].every(flag => flag); const _vo44 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
4920
|
+
path: _path + ".__context",
|
|
4921
|
+
expected: "{ dirpath?: string | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
4922
|
+
value: input.__context
|
|
4923
|
+
})) && _vo41(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
4924
|
+
path: _path + ".__context",
|
|
4925
|
+
expected: "{ dirpath?: string | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
4926
|
+
value: input.__context
|
|
4927
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
4928
|
+
path: _path + ".__returnValue",
|
|
4929
|
+
expected: "(__type.o14 | undefined)",
|
|
4930
|
+
value: input.__returnValue
|
|
4931
|
+
})) && _vo18(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
4932
|
+
path: _path + ".__returnValue",
|
|
4933
|
+
expected: "(__type.o14 | undefined)",
|
|
4934
|
+
value: input.__returnValue
|
|
4935
|
+
})].every(flag => flag); const _vo45 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
4936
|
+
path: _path + ".__context",
|
|
4937
|
+
expected: "{ dirpath?: string | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
4938
|
+
value: input.__context
|
|
4939
|
+
})) && _vo41(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
4940
|
+
path: _path + ".__context",
|
|
4941
|
+
expected: "{ dirpath?: string | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
4942
|
+
value: input.__context
|
|
4943
|
+
}), undefined === input.__returnValue || "boolean" === typeof input.__returnValue || _report(_exceptionable, {
|
|
4944
|
+
path: _path + ".__returnValue",
|
|
4945
|
+
expected: "(boolean | undefined)",
|
|
4946
|
+
value: input.__returnValue
|
|
4947
|
+
})].every(flag => flag); const _vo46 = (input, _path, _exceptionable = true) => [undefined === input.responseFormat || "text" === input.responseFormat || "json" === input.responseFormat || "stream" === input.responseFormat || _report(_exceptionable, {
|
|
4948
|
+
path: _path + ".responseFormat",
|
|
4949
|
+
expected: "(\"json\" | \"stream\" | \"text\" | undefined)",
|
|
4950
|
+
value: input.responseFormat
|
|
4951
|
+
}), null === input.error || undefined === input.error || "string" === typeof input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
4952
|
+
path: _path + ".error",
|
|
4953
|
+
expected: "(__type.o17 | null | string | undefined)",
|
|
4954
|
+
value: input.error
|
|
4955
|
+
})) && _vo22(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
4956
|
+
path: _path + ".error",
|
|
4957
|
+
expected: "(__type.o17 | null | string | undefined)",
|
|
4958
|
+
value: input.error
|
|
4959
|
+
}), (null !== input.transform || _report(_exceptionable, {
|
|
4960
|
+
path: _path + ".transform",
|
|
4961
|
+
expected: "(Array<FileConnectionListResponseItem> | __type.o36 | string | undefined)",
|
|
4962
|
+
value: input.transform
|
|
4963
|
+
})) && (undefined === input.transform || "string" === typeof input.transform || (Array.isArray(input.transform) && input.transform.map((elem, _index6) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
4964
|
+
path: _path + ".transform[" + _index6 + "]",
|
|
4965
|
+
expected: "FileConnectionListResponseItem",
|
|
4966
|
+
value: elem
|
|
4967
|
+
})) && _vo47(elem, _path + ".transform[" + _index6 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
4968
|
+
path: _path + ".transform[" + _index6 + "]",
|
|
4969
|
+
expected: "FileConnectionListResponseItem",
|
|
4970
|
+
value: elem
|
|
4971
|
+
})).every(flag => flag) || "object" === typeof input.transform && null !== input.transform && _vo48(input.transform, _path + ".transform", true && _exceptionable) || _report(_exceptionable, {
|
|
4972
|
+
path: _path + ".transform",
|
|
4973
|
+
expected: "(Array<FileConnectionListResponseItem> | __type.o36 | string | undefined)",
|
|
4974
|
+
value: input.transform
|
|
4975
|
+
})) || _report(_exceptionable, {
|
|
4976
|
+
path: _path + ".transform",
|
|
4977
|
+
expected: "(Array<FileConnectionListResponseItem> | __type.o36 | string | undefined)",
|
|
4978
|
+
value: input.transform
|
|
4979
|
+
}))].every(flag => flag); const _vo47 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
|
|
4980
|
+
path: _path + ".name",
|
|
4981
|
+
expected: "string",
|
|
4982
|
+
value: input.name
|
|
4983
|
+
}), "boolean" === typeof input.isDir || _report(_exceptionable, {
|
|
4984
|
+
path: _path + ".isDir",
|
|
4985
|
+
expected: "boolean",
|
|
4986
|
+
value: input.isDir
|
|
4987
|
+
}), "number" === typeof input.size || _report(_exceptionable, {
|
|
4988
|
+
path: _path + ".size",
|
|
4989
|
+
expected: "number",
|
|
4990
|
+
value: input.size
|
|
4991
|
+
}), undefined === input.date || "string" === typeof input.date || _report(_exceptionable, {
|
|
4992
|
+
path: _path + ".date",
|
|
4993
|
+
expected: "(string | undefined)",
|
|
4994
|
+
value: input.date
|
|
4995
|
+
}), "string" === typeof input.path || _report(_exceptionable, {
|
|
4996
|
+
path: _path + ".path",
|
|
4997
|
+
expected: "string",
|
|
4998
|
+
value: input.path
|
|
4999
|
+
})].every(flag => flag); const _vo48 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
5000
|
+
path: _path + ".__context",
|
|
5001
|
+
expected: "__type.o20",
|
|
5002
|
+
value: input.__context
|
|
5003
|
+
})) && _vo26(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
5004
|
+
path: _path + ".__context",
|
|
5005
|
+
expected: "__type.o20",
|
|
5006
|
+
value: input.__context
|
|
5007
|
+
}), (Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
5008
|
+
path: _path + ".__returnValue",
|
|
5009
|
+
expected: "Array<FileConnectionListResponseItem>",
|
|
5010
|
+
value: input.__returnValue
|
|
5011
|
+
})) && input.__returnValue.map((elem, _index7) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
5012
|
+
path: _path + ".__returnValue[" + _index7 + "]",
|
|
5013
|
+
expected: "FileConnectionListResponseItem",
|
|
5014
|
+
value: elem
|
|
5015
|
+
})) && _vo47(elem, _path + ".__returnValue[" + _index7 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
5016
|
+
path: _path + ".__returnValue[" + _index7 + "]",
|
|
5017
|
+
expected: "FileConnectionListResponseItem",
|
|
5018
|
+
value: elem
|
|
5019
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
5020
|
+
path: _path + ".__returnValue",
|
|
5021
|
+
expected: "Array<FileConnectionListResponseItem>",
|
|
5022
|
+
value: input.__returnValue
|
|
5023
|
+
})].every(flag => flag); const _vo49 = (input, _path, _exceptionable = true) => [undefined === input.request || ("object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) || _report(_exceptionable, {
|
|
5024
|
+
path: _path + ".request",
|
|
5025
|
+
expected: "(__type.o37 | undefined)",
|
|
5026
|
+
value: input.request
|
|
5027
|
+
})) && _vo50(input.request, _path + ".request", true && _exceptionable) || _report(_exceptionable, {
|
|
5028
|
+
path: _path + ".request",
|
|
5029
|
+
expected: "(__type.o37 | undefined)",
|
|
5030
|
+
value: input.request
|
|
5031
|
+
}), undefined === input.response || ("object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) || _report(_exceptionable, {
|
|
5032
|
+
path: _path + ".response",
|
|
5033
|
+
expected: "(HttpConnectionResponseHandler<undefined> | undefined)",
|
|
5034
|
+
value: input.response
|
|
5035
|
+
})) && _vo21(input.response, _path + ".response", true && _exceptionable) || _report(_exceptionable, {
|
|
5036
|
+
path: _path + ".response",
|
|
5037
|
+
expected: "(HttpConnectionResponseHandler<undefined> | undefined)",
|
|
5038
|
+
value: input.response
|
|
5039
|
+
})].every(flag => flag); const _vo50 = (input, _path, _exceptionable = true) => [(null !== input.origin || _report(_exceptionable, {
|
|
5040
|
+
path: _path + ".origin",
|
|
5041
|
+
expected: "(__type.o38 | string | undefined)",
|
|
5042
|
+
value: input.origin
|
|
5043
|
+
})) && (undefined === input.origin || "string" === typeof input.origin || ("object" === typeof input.origin && null !== input.origin || _report(_exceptionable, {
|
|
5044
|
+
path: _path + ".origin",
|
|
5045
|
+
expected: "(__type.o38 | string | undefined)",
|
|
5046
|
+
value: input.origin
|
|
5047
|
+
})) && _vo51(input.origin, _path + ".origin", true && _exceptionable) || _report(_exceptionable, {
|
|
5048
|
+
path: _path + ".origin",
|
|
5049
|
+
expected: "(__type.o38 | string | undefined)",
|
|
5050
|
+
value: input.origin
|
|
5051
|
+
})), (null !== input.path || _report(_exceptionable, {
|
|
5052
|
+
path: _path + ".path",
|
|
5053
|
+
expected: "(__type.o38 | string | undefined)",
|
|
5054
|
+
value: input.path
|
|
5055
|
+
})) && (undefined === input.path || "string" === typeof input.path || ("object" === typeof input.path && null !== input.path || _report(_exceptionable, {
|
|
5056
|
+
path: _path + ".path",
|
|
5057
|
+
expected: "(__type.o38 | string | undefined)",
|
|
5058
|
+
value: input.path
|
|
5059
|
+
})) && _vo51(input.path, _path + ".path", true && _exceptionable) || _report(_exceptionable, {
|
|
5060
|
+
path: _path + ".path",
|
|
5061
|
+
expected: "(__type.o38 | string | undefined)",
|
|
5062
|
+
value: input.path
|
|
5063
|
+
})), (null !== input.method || _report(_exceptionable, {
|
|
5064
|
+
path: _path + ".method",
|
|
5065
|
+
expected: "(__type.o38 | string | undefined)",
|
|
5066
|
+
value: input.method
|
|
5067
|
+
})) && (undefined === input.method || "string" === typeof input.method || ("object" === typeof input.method && null !== input.method || _report(_exceptionable, {
|
|
5068
|
+
path: _path + ".method",
|
|
5069
|
+
expected: "(__type.o38 | string | undefined)",
|
|
5070
|
+
value: input.method
|
|
5071
|
+
})) && _vo51(input.method, _path + ".method", true && _exceptionable) || _report(_exceptionable, {
|
|
5072
|
+
path: _path + ".method",
|
|
5073
|
+
expected: "(__type.o38 | string | undefined)",
|
|
5074
|
+
value: input.method
|
|
5075
|
+
})), (null !== input.params || _report(_exceptionable, {
|
|
5076
|
+
path: _path + ".params",
|
|
5077
|
+
expected: "(__type.o40 | __type.o9 | string | undefined)",
|
|
5078
|
+
value: input.params
|
|
5079
|
+
})) && (undefined === input.params || "string" === typeof input.params || ("object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) || _report(_exceptionable, {
|
|
5080
|
+
path: _path + ".params",
|
|
5081
|
+
expected: "(__type.o40 | __type.o9 | string | undefined)",
|
|
5082
|
+
value: input.params
|
|
5083
|
+
})) && _vu10(input.params, _path + ".params", true && _exceptionable) || _report(_exceptionable, {
|
|
5084
|
+
path: _path + ".params",
|
|
5085
|
+
expected: "(__type.o40 | __type.o9 | string | undefined)",
|
|
5086
|
+
value: input.params
|
|
5087
|
+
})), (null !== input.form || _report(_exceptionable, {
|
|
5088
|
+
path: _path + ".form",
|
|
5089
|
+
expected: "(__type.o11 | __type.o41 | string | undefined)",
|
|
5090
|
+
value: input.form
|
|
5091
|
+
})) && (undefined === input.form || "string" === typeof input.form || ("object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) || _report(_exceptionable, {
|
|
5092
|
+
path: _path + ".form",
|
|
5093
|
+
expected: "(__type.o11 | __type.o41 | string | undefined)",
|
|
5094
|
+
value: input.form
|
|
5095
|
+
})) && _vu11(input.form, _path + ".form", true && _exceptionable) || _report(_exceptionable, {
|
|
5096
|
+
path: _path + ".form",
|
|
5097
|
+
expected: "(__type.o11 | __type.o41 | string | undefined)",
|
|
5098
|
+
value: input.form
|
|
5099
|
+
})), (null !== input.headers || _report(_exceptionable, {
|
|
5100
|
+
path: _path + ".headers",
|
|
5101
|
+
expected: "(__type.o14 | __type.o42 | string | undefined)",
|
|
5102
|
+
value: input.headers
|
|
5103
|
+
})) && (undefined === input.headers || "string" === typeof input.headers || ("object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) || _report(_exceptionable, {
|
|
5104
|
+
path: _path + ".headers",
|
|
5105
|
+
expected: "(__type.o14 | __type.o42 | string | undefined)",
|
|
5106
|
+
value: input.headers
|
|
5107
|
+
})) && _vu12(input.headers, _path + ".headers", true && _exceptionable) || _report(_exceptionable, {
|
|
5108
|
+
path: _path + ".headers",
|
|
5109
|
+
expected: "(__type.o14 | __type.o42 | string | undefined)",
|
|
5110
|
+
value: input.headers
|
|
5111
|
+
})), (null !== input.throwOnError || _report(_exceptionable, {
|
|
5112
|
+
path: _path + ".throwOnError",
|
|
5113
|
+
expected: "(__type.o43 | boolean | string | undefined)",
|
|
5114
|
+
value: input.throwOnError
|
|
5115
|
+
})) && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || ("object" === typeof input.throwOnError && null !== input.throwOnError || _report(_exceptionable, {
|
|
5116
|
+
path: _path + ".throwOnError",
|
|
5117
|
+
expected: "(__type.o43 | boolean | string | undefined)",
|
|
5118
|
+
value: input.throwOnError
|
|
5119
|
+
})) && _vo56(input.throwOnError, _path + ".throwOnError", true && _exceptionable) || _report(_exceptionable, {
|
|
5120
|
+
path: _path + ".throwOnError",
|
|
5121
|
+
expected: "(__type.o43 | boolean | string | undefined)",
|
|
5122
|
+
value: input.throwOnError
|
|
5123
|
+
}))].every(flag => flag); const _vo51 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
5124
|
+
path: _path + ".__context",
|
|
5125
|
+
expected: "{ id: string; offset?: number | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
5126
|
+
value: input.__context
|
|
5127
|
+
})) && _vo52(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
5128
|
+
path: _path + ".__context",
|
|
5129
|
+
expected: "{ id: string; offset?: number | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
5130
|
+
value: input.__context
|
|
5131
|
+
}), undefined === input.__returnValue || "string" === typeof input.__returnValue || _report(_exceptionable, {
|
|
5132
|
+
path: _path + ".__returnValue",
|
|
5133
|
+
expected: "(string | undefined)",
|
|
5134
|
+
value: input.__returnValue
|
|
5135
|
+
})].every(flag => flag); const _vo52 = (input, _path, _exceptionable = true) => ["string" === typeof input.id || _report(_exceptionable, {
|
|
5136
|
+
path: _path + ".id",
|
|
5137
|
+
expected: "string",
|
|
5138
|
+
value: input.id
|
|
5139
|
+
}), undefined === input.offset || "number" === typeof input.offset || _report(_exceptionable, {
|
|
5140
|
+
path: _path + ".offset",
|
|
5141
|
+
expected: "(number | undefined)",
|
|
5142
|
+
value: input.offset
|
|
5143
|
+
}), ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) || _report(_exceptionable, {
|
|
5144
|
+
path: _path + ".connection",
|
|
5145
|
+
expected: "FileConnectionHttpRecord",
|
|
5146
|
+
value: input.connection
|
|
5147
|
+
})) && _vo2(input.connection, _path + ".connection", true && _exceptionable) || _report(_exceptionable, {
|
|
5148
|
+
path: _path + ".connection",
|
|
5149
|
+
expected: "FileConnectionHttpRecord",
|
|
5150
|
+
value: input.connection
|
|
5151
|
+
})].every(flag => flag); const _vo53 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
5152
|
+
path: _path + ".__context",
|
|
5153
|
+
expected: "{ id: string; offset?: number | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
5154
|
+
value: input.__context
|
|
5155
|
+
})) && _vo52(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
5156
|
+
path: _path + ".__context",
|
|
5157
|
+
expected: "{ id: string; offset?: number | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
5158
|
+
value: input.__context
|
|
5159
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
5160
|
+
path: _path + ".__returnValue",
|
|
5161
|
+
expected: "(__type.o9 | undefined)",
|
|
5162
|
+
value: input.__returnValue
|
|
5163
|
+
})) && _vo13(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
5164
|
+
path: _path + ".__returnValue",
|
|
5165
|
+
expected: "(__type.o9 | undefined)",
|
|
5166
|
+
value: input.__returnValue
|
|
5167
|
+
})].every(flag => flag); const _vo54 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
5168
|
+
path: _path + ".__context",
|
|
5169
|
+
expected: "{ id: string; offset?: number | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
5170
|
+
value: input.__context
|
|
5171
|
+
})) && _vo52(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
5172
|
+
path: _path + ".__context",
|
|
5173
|
+
expected: "{ id: string; offset?: number | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
5174
|
+
value: input.__context
|
|
5175
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
5176
|
+
path: _path + ".__returnValue",
|
|
5177
|
+
expected: "(__type.o11 | undefined)",
|
|
5178
|
+
value: input.__returnValue
|
|
5179
|
+
})) && _vo15(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
5180
|
+
path: _path + ".__returnValue",
|
|
5181
|
+
expected: "(__type.o11 | undefined)",
|
|
5182
|
+
value: input.__returnValue
|
|
5183
|
+
})].every(flag => flag); const _vo55 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
5184
|
+
path: _path + ".__context",
|
|
5185
|
+
expected: "{ id: string; offset?: number | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
5186
|
+
value: input.__context
|
|
5187
|
+
})) && _vo52(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
5188
|
+
path: _path + ".__context",
|
|
5189
|
+
expected: "{ id: string; offset?: number | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
5190
|
+
value: input.__context
|
|
5191
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
5192
|
+
path: _path + ".__returnValue",
|
|
5193
|
+
expected: "(__type.o14 | undefined)",
|
|
5194
|
+
value: input.__returnValue
|
|
5195
|
+
})) && _vo18(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
5196
|
+
path: _path + ".__returnValue",
|
|
5197
|
+
expected: "(__type.o14 | undefined)",
|
|
5198
|
+
value: input.__returnValue
|
|
5199
|
+
})].every(flag => flag); const _vo56 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
5200
|
+
path: _path + ".__context",
|
|
5201
|
+
expected: "{ id: string; offset?: number | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
5202
|
+
value: input.__context
|
|
5203
|
+
})) && _vo52(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
5204
|
+
path: _path + ".__context",
|
|
5205
|
+
expected: "{ id: string; offset?: number | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
5206
|
+
value: input.__context
|
|
5207
|
+
}), undefined === input.__returnValue || "boolean" === typeof input.__returnValue || _report(_exceptionable, {
|
|
5208
|
+
path: _path + ".__returnValue",
|
|
5209
|
+
expected: "(boolean | undefined)",
|
|
5210
|
+
value: input.__returnValue
|
|
5211
|
+
})].every(flag => flag); const _vo57 = (input, _path, _exceptionable = true) => [undefined === input.request || ("object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) || _report(_exceptionable, {
|
|
5212
|
+
path: _path + ".request",
|
|
5213
|
+
expected: "(__type.o44 | undefined)",
|
|
5214
|
+
value: input.request
|
|
5215
|
+
})) && _vo58(input.request, _path + ".request", true && _exceptionable) || _report(_exceptionable, {
|
|
5216
|
+
path: _path + ".request",
|
|
5217
|
+
expected: "(__type.o44 | undefined)",
|
|
5218
|
+
value: input.request
|
|
5219
|
+
}), undefined === input.response || ("object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) || _report(_exceptionable, {
|
|
5220
|
+
path: _path + ".response",
|
|
5221
|
+
expected: "(HttpConnectionResponseHandler<undefined> | undefined)",
|
|
5222
|
+
value: input.response
|
|
5223
|
+
})) && _vo21(input.response, _path + ".response", true && _exceptionable) || _report(_exceptionable, {
|
|
5224
|
+
path: _path + ".response",
|
|
5225
|
+
expected: "(HttpConnectionResponseHandler<undefined> | undefined)",
|
|
5226
|
+
value: input.response
|
|
5227
|
+
})].every(flag => flag); const _vo58 = (input, _path, _exceptionable = true) => [(null !== input.origin || _report(_exceptionable, {
|
|
5228
|
+
path: _path + ".origin",
|
|
5229
|
+
expected: "(__type.o45 | string | undefined)",
|
|
5230
|
+
value: input.origin
|
|
5231
|
+
})) && (undefined === input.origin || "string" === typeof input.origin || ("object" === typeof input.origin && null !== input.origin || _report(_exceptionable, {
|
|
5232
|
+
path: _path + ".origin",
|
|
5233
|
+
expected: "(__type.o45 | string | undefined)",
|
|
5234
|
+
value: input.origin
|
|
5235
|
+
})) && _vo59(input.origin, _path + ".origin", true && _exceptionable) || _report(_exceptionable, {
|
|
5236
|
+
path: _path + ".origin",
|
|
5237
|
+
expected: "(__type.o45 | string | undefined)",
|
|
5238
|
+
value: input.origin
|
|
5239
|
+
})), (null !== input.path || _report(_exceptionable, {
|
|
5240
|
+
path: _path + ".path",
|
|
5241
|
+
expected: "(__type.o45 | string | undefined)",
|
|
5242
|
+
value: input.path
|
|
5243
|
+
})) && (undefined === input.path || "string" === typeof input.path || ("object" === typeof input.path && null !== input.path || _report(_exceptionable, {
|
|
5244
|
+
path: _path + ".path",
|
|
5245
|
+
expected: "(__type.o45 | string | undefined)",
|
|
5246
|
+
value: input.path
|
|
5247
|
+
})) && _vo59(input.path, _path + ".path", true && _exceptionable) || _report(_exceptionable, {
|
|
5248
|
+
path: _path + ".path",
|
|
5249
|
+
expected: "(__type.o45 | string | undefined)",
|
|
5250
|
+
value: input.path
|
|
5251
|
+
})), (null !== input.method || _report(_exceptionable, {
|
|
5252
|
+
path: _path + ".method",
|
|
5253
|
+
expected: "(__type.o45 | string | undefined)",
|
|
5254
|
+
value: input.method
|
|
5255
|
+
})) && (undefined === input.method || "string" === typeof input.method || ("object" === typeof input.method && null !== input.method || _report(_exceptionable, {
|
|
5256
|
+
path: _path + ".method",
|
|
5257
|
+
expected: "(__type.o45 | string | undefined)",
|
|
5258
|
+
value: input.method
|
|
5259
|
+
})) && _vo59(input.method, _path + ".method", true && _exceptionable) || _report(_exceptionable, {
|
|
5260
|
+
path: _path + ".method",
|
|
5261
|
+
expected: "(__type.o45 | string | undefined)",
|
|
5262
|
+
value: input.method
|
|
5263
|
+
})), (null !== input.params || _report(_exceptionable, {
|
|
5264
|
+
path: _path + ".params",
|
|
5265
|
+
expected: "(__type.o47 | __type.o9 | string | undefined)",
|
|
5266
|
+
value: input.params
|
|
5267
|
+
})) && (undefined === input.params || "string" === typeof input.params || ("object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) || _report(_exceptionable, {
|
|
5268
|
+
path: _path + ".params",
|
|
5269
|
+
expected: "(__type.o47 | __type.o9 | string | undefined)",
|
|
5270
|
+
value: input.params
|
|
5271
|
+
})) && _vu13(input.params, _path + ".params", true && _exceptionable) || _report(_exceptionable, {
|
|
5272
|
+
path: _path + ".params",
|
|
5273
|
+
expected: "(__type.o47 | __type.o9 | string | undefined)",
|
|
5274
|
+
value: input.params
|
|
5275
|
+
})), (null !== input.form || _report(_exceptionable, {
|
|
5276
|
+
path: _path + ".form",
|
|
5277
|
+
expected: "(__type.o11 | __type.o48 | string | undefined)",
|
|
5278
|
+
value: input.form
|
|
5279
|
+
})) && (undefined === input.form || "string" === typeof input.form || ("object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) || _report(_exceptionable, {
|
|
5280
|
+
path: _path + ".form",
|
|
5281
|
+
expected: "(__type.o11 | __type.o48 | string | undefined)",
|
|
5282
|
+
value: input.form
|
|
5283
|
+
})) && _vu14(input.form, _path + ".form", true && _exceptionable) || _report(_exceptionable, {
|
|
5284
|
+
path: _path + ".form",
|
|
5285
|
+
expected: "(__type.o11 | __type.o48 | string | undefined)",
|
|
5286
|
+
value: input.form
|
|
5287
|
+
})), (null !== input.headers || _report(_exceptionable, {
|
|
5288
|
+
path: _path + ".headers",
|
|
5289
|
+
expected: "(__type.o14 | __type.o49 | string | undefined)",
|
|
5290
|
+
value: input.headers
|
|
5291
|
+
})) && (undefined === input.headers || "string" === typeof input.headers || ("object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) || _report(_exceptionable, {
|
|
5292
|
+
path: _path + ".headers",
|
|
5293
|
+
expected: "(__type.o14 | __type.o49 | string | undefined)",
|
|
5294
|
+
value: input.headers
|
|
5295
|
+
})) && _vu15(input.headers, _path + ".headers", true && _exceptionable) || _report(_exceptionable, {
|
|
5296
|
+
path: _path + ".headers",
|
|
5297
|
+
expected: "(__type.o14 | __type.o49 | string | undefined)",
|
|
5298
|
+
value: input.headers
|
|
5299
|
+
})), (null !== input.throwOnError || _report(_exceptionable, {
|
|
5300
|
+
path: _path + ".throwOnError",
|
|
5301
|
+
expected: "(__type.o50 | boolean | string | undefined)",
|
|
5302
|
+
value: input.throwOnError
|
|
5303
|
+
})) && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || ("object" === typeof input.throwOnError && null !== input.throwOnError || _report(_exceptionable, {
|
|
5304
|
+
path: _path + ".throwOnError",
|
|
5305
|
+
expected: "(__type.o50 | boolean | string | undefined)",
|
|
5306
|
+
value: input.throwOnError
|
|
5307
|
+
})) && _vo64(input.throwOnError, _path + ".throwOnError", true && _exceptionable) || _report(_exceptionable, {
|
|
5308
|
+
path: _path + ".throwOnError",
|
|
5309
|
+
expected: "(__type.o50 | boolean | string | undefined)",
|
|
5310
|
+
value: input.throwOnError
|
|
5311
|
+
}))].every(flag => flag); const _vo59 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
5312
|
+
path: _path + ".__context",
|
|
5313
|
+
expected: "{ filepath: string; stream: unknown; } & { connection: FileConnectionHttpRecord; }",
|
|
5314
|
+
value: input.__context
|
|
5315
|
+
})) && _vo60(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
5316
|
+
path: _path + ".__context",
|
|
5317
|
+
expected: "{ filepath: string; stream: unknown; } & { connection: FileConnectionHttpRecord; }",
|
|
5318
|
+
value: input.__context
|
|
5319
|
+
}), undefined === input.__returnValue || "string" === typeof input.__returnValue || _report(_exceptionable, {
|
|
5320
|
+
path: _path + ".__returnValue",
|
|
5321
|
+
expected: "(string | undefined)",
|
|
5322
|
+
value: input.__returnValue
|
|
5323
|
+
})].every(flag => flag); const _vo60 = (input, _path, _exceptionable = true) => ["string" === typeof input.filepath || _report(_exceptionable, {
|
|
5324
|
+
path: _path + ".filepath",
|
|
5325
|
+
expected: "string",
|
|
5326
|
+
value: input.filepath
|
|
5327
|
+
}), true, ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) || _report(_exceptionable, {
|
|
5328
|
+
path: _path + ".connection",
|
|
5329
|
+
expected: "FileConnectionHttpRecord",
|
|
5330
|
+
value: input.connection
|
|
5331
|
+
})) && _vo2(input.connection, _path + ".connection", true && _exceptionable) || _report(_exceptionable, {
|
|
5332
|
+
path: _path + ".connection",
|
|
5333
|
+
expected: "FileConnectionHttpRecord",
|
|
5334
|
+
value: input.connection
|
|
5335
|
+
})].every(flag => flag); const _vo61 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
5336
|
+
path: _path + ".__context",
|
|
5337
|
+
expected: "{ filepath: string; stream: unknown; } & { connection: FileConnectionHttpRecord; }",
|
|
5338
|
+
value: input.__context
|
|
5339
|
+
})) && _vo60(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
5340
|
+
path: _path + ".__context",
|
|
5341
|
+
expected: "{ filepath: string; stream: unknown; } & { connection: FileConnectionHttpRecord; }",
|
|
5342
|
+
value: input.__context
|
|
5343
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
5344
|
+
path: _path + ".__returnValue",
|
|
5345
|
+
expected: "(__type.o9 | undefined)",
|
|
5346
|
+
value: input.__returnValue
|
|
5347
|
+
})) && _vo13(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
5348
|
+
path: _path + ".__returnValue",
|
|
5349
|
+
expected: "(__type.o9 | undefined)",
|
|
5350
|
+
value: input.__returnValue
|
|
5351
|
+
})].every(flag => flag); const _vo62 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
5352
|
+
path: _path + ".__context",
|
|
5353
|
+
expected: "{ filepath: string; stream: unknown; } & { connection: FileConnectionHttpRecord; }",
|
|
5354
|
+
value: input.__context
|
|
5355
|
+
})) && _vo60(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
5356
|
+
path: _path + ".__context",
|
|
5357
|
+
expected: "{ filepath: string; stream: unknown; } & { connection: FileConnectionHttpRecord; }",
|
|
5358
|
+
value: input.__context
|
|
5359
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
5360
|
+
path: _path + ".__returnValue",
|
|
5361
|
+
expected: "(__type.o11 | undefined)",
|
|
5362
|
+
value: input.__returnValue
|
|
5363
|
+
})) && _vo15(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
5364
|
+
path: _path + ".__returnValue",
|
|
5365
|
+
expected: "(__type.o11 | undefined)",
|
|
5366
|
+
value: input.__returnValue
|
|
5367
|
+
})].every(flag => flag); const _vo63 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
5368
|
+
path: _path + ".__context",
|
|
5369
|
+
expected: "{ filepath: string; stream: unknown; } & { connection: FileConnectionHttpRecord; }",
|
|
5370
|
+
value: input.__context
|
|
5371
|
+
})) && _vo60(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
5372
|
+
path: _path + ".__context",
|
|
5373
|
+
expected: "{ filepath: string; stream: unknown; } & { connection: FileConnectionHttpRecord; }",
|
|
5374
|
+
value: input.__context
|
|
5375
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
5376
|
+
path: _path + ".__returnValue",
|
|
5377
|
+
expected: "(__type.o14 | undefined)",
|
|
5378
|
+
value: input.__returnValue
|
|
5379
|
+
})) && _vo18(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
5380
|
+
path: _path + ".__returnValue",
|
|
5381
|
+
expected: "(__type.o14 | undefined)",
|
|
5382
|
+
value: input.__returnValue
|
|
5383
|
+
})].every(flag => flag); const _vo64 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
5384
|
+
path: _path + ".__context",
|
|
5385
|
+
expected: "{ filepath: string; stream: unknown; } & { connection: FileConnectionHttpRecord; }",
|
|
5386
|
+
value: input.__context
|
|
5387
|
+
})) && _vo60(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
5388
|
+
path: _path + ".__context",
|
|
5389
|
+
expected: "{ filepath: string; stream: unknown; } & { connection: FileConnectionHttpRecord; }",
|
|
5390
|
+
value: input.__context
|
|
5391
|
+
}), undefined === input.__returnValue || "boolean" === typeof input.__returnValue || _report(_exceptionable, {
|
|
5392
|
+
path: _path + ".__returnValue",
|
|
5393
|
+
expected: "(boolean | undefined)",
|
|
5394
|
+
value: input.__returnValue
|
|
5395
|
+
})].every(flag => flag); const _vo65 = (input, _path, _exceptionable = true) => [undefined === input.request || ("object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) || _report(_exceptionable, {
|
|
5396
|
+
path: _path + ".request",
|
|
5397
|
+
expected: "(__type.o51 | undefined)",
|
|
5398
|
+
value: input.request
|
|
5399
|
+
})) && _vo66(input.request, _path + ".request", true && _exceptionable) || _report(_exceptionable, {
|
|
5400
|
+
path: _path + ".request",
|
|
5401
|
+
expected: "(__type.o51 | undefined)",
|
|
5402
|
+
value: input.request
|
|
5403
|
+
}), undefined === input.response || ("object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) || _report(_exceptionable, {
|
|
5404
|
+
path: _path + ".response",
|
|
5405
|
+
expected: "(HttpConnectionResponseHandler<undefined> | undefined)",
|
|
5406
|
+
value: input.response
|
|
5407
|
+
})) && _vo21(input.response, _path + ".response", true && _exceptionable) || _report(_exceptionable, {
|
|
5408
|
+
path: _path + ".response",
|
|
5409
|
+
expected: "(HttpConnectionResponseHandler<undefined> | undefined)",
|
|
5410
|
+
value: input.response
|
|
5411
|
+
})].every(flag => flag); const _vo66 = (input, _path, _exceptionable = true) => [(null !== input.origin || _report(_exceptionable, {
|
|
5412
|
+
path: _path + ".origin",
|
|
5413
|
+
expected: "(__type.o52 | string | undefined)",
|
|
5414
|
+
value: input.origin
|
|
5415
|
+
})) && (undefined === input.origin || "string" === typeof input.origin || ("object" === typeof input.origin && null !== input.origin || _report(_exceptionable, {
|
|
5416
|
+
path: _path + ".origin",
|
|
5417
|
+
expected: "(__type.o52 | string | undefined)",
|
|
5418
|
+
value: input.origin
|
|
5419
|
+
})) && _vo67(input.origin, _path + ".origin", true && _exceptionable) || _report(_exceptionable, {
|
|
5420
|
+
path: _path + ".origin",
|
|
5421
|
+
expected: "(__type.o52 | string | undefined)",
|
|
5422
|
+
value: input.origin
|
|
5423
|
+
})), (null !== input.path || _report(_exceptionable, {
|
|
5424
|
+
path: _path + ".path",
|
|
5425
|
+
expected: "(__type.o52 | string | undefined)",
|
|
5426
|
+
value: input.path
|
|
5427
|
+
})) && (undefined === input.path || "string" === typeof input.path || ("object" === typeof input.path && null !== input.path || _report(_exceptionable, {
|
|
5428
|
+
path: _path + ".path",
|
|
5429
|
+
expected: "(__type.o52 | string | undefined)",
|
|
5430
|
+
value: input.path
|
|
5431
|
+
})) && _vo67(input.path, _path + ".path", true && _exceptionable) || _report(_exceptionable, {
|
|
5432
|
+
path: _path + ".path",
|
|
5433
|
+
expected: "(__type.o52 | string | undefined)",
|
|
5434
|
+
value: input.path
|
|
5435
|
+
})), (null !== input.method || _report(_exceptionable, {
|
|
5436
|
+
path: _path + ".method",
|
|
5437
|
+
expected: "(__type.o52 | string | undefined)",
|
|
5438
|
+
value: input.method
|
|
5439
|
+
})) && (undefined === input.method || "string" === typeof input.method || ("object" === typeof input.method && null !== input.method || _report(_exceptionable, {
|
|
5440
|
+
path: _path + ".method",
|
|
5441
|
+
expected: "(__type.o52 | string | undefined)",
|
|
5442
|
+
value: input.method
|
|
5443
|
+
})) && _vo67(input.method, _path + ".method", true && _exceptionable) || _report(_exceptionable, {
|
|
5444
|
+
path: _path + ".method",
|
|
5445
|
+
expected: "(__type.o52 | string | undefined)",
|
|
5446
|
+
value: input.method
|
|
5447
|
+
})), (null !== input.params || _report(_exceptionable, {
|
|
5448
|
+
path: _path + ".params",
|
|
5449
|
+
expected: "(__type.o54 | __type.o9 | string | undefined)",
|
|
5450
|
+
value: input.params
|
|
5451
|
+
})) && (undefined === input.params || "string" === typeof input.params || ("object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) || _report(_exceptionable, {
|
|
5452
|
+
path: _path + ".params",
|
|
5453
|
+
expected: "(__type.o54 | __type.o9 | string | undefined)",
|
|
5454
|
+
value: input.params
|
|
5455
|
+
})) && _vu16(input.params, _path + ".params", true && _exceptionable) || _report(_exceptionable, {
|
|
5456
|
+
path: _path + ".params",
|
|
5457
|
+
expected: "(__type.o54 | __type.o9 | string | undefined)",
|
|
5458
|
+
value: input.params
|
|
5459
|
+
})), (null !== input.form || _report(_exceptionable, {
|
|
5460
|
+
path: _path + ".form",
|
|
5461
|
+
expected: "(__type.o11 | __type.o55 | string | undefined)",
|
|
5462
|
+
value: input.form
|
|
5463
|
+
})) && (undefined === input.form || "string" === typeof input.form || ("object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) || _report(_exceptionable, {
|
|
5464
|
+
path: _path + ".form",
|
|
5465
|
+
expected: "(__type.o11 | __type.o55 | string | undefined)",
|
|
5466
|
+
value: input.form
|
|
5467
|
+
})) && _vu17(input.form, _path + ".form", true && _exceptionable) || _report(_exceptionable, {
|
|
5468
|
+
path: _path + ".form",
|
|
5469
|
+
expected: "(__type.o11 | __type.o55 | string | undefined)",
|
|
5470
|
+
value: input.form
|
|
5471
|
+
})), (null !== input.headers || _report(_exceptionable, {
|
|
5472
|
+
path: _path + ".headers",
|
|
5473
|
+
expected: "(__type.o14 | __type.o56 | string | undefined)",
|
|
5474
|
+
value: input.headers
|
|
5475
|
+
})) && (undefined === input.headers || "string" === typeof input.headers || ("object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) || _report(_exceptionable, {
|
|
5476
|
+
path: _path + ".headers",
|
|
5477
|
+
expected: "(__type.o14 | __type.o56 | string | undefined)",
|
|
5478
|
+
value: input.headers
|
|
5479
|
+
})) && _vu18(input.headers, _path + ".headers", true && _exceptionable) || _report(_exceptionable, {
|
|
5480
|
+
path: _path + ".headers",
|
|
5481
|
+
expected: "(__type.o14 | __type.o56 | string | undefined)",
|
|
5482
|
+
value: input.headers
|
|
5483
|
+
})), (null !== input.throwOnError || _report(_exceptionable, {
|
|
5484
|
+
path: _path + ".throwOnError",
|
|
5485
|
+
expected: "(__type.o57 | boolean | string | undefined)",
|
|
5486
|
+
value: input.throwOnError
|
|
5487
|
+
})) && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || ("object" === typeof input.throwOnError && null !== input.throwOnError || _report(_exceptionable, {
|
|
5488
|
+
path: _path + ".throwOnError",
|
|
5489
|
+
expected: "(__type.o57 | boolean | string | undefined)",
|
|
5490
|
+
value: input.throwOnError
|
|
5491
|
+
})) && _vo72(input.throwOnError, _path + ".throwOnError", true && _exceptionable) || _report(_exceptionable, {
|
|
5492
|
+
path: _path + ".throwOnError",
|
|
5493
|
+
expected: "(__type.o57 | boolean | string | undefined)",
|
|
5494
|
+
value: input.throwOnError
|
|
5495
|
+
}))].every(flag => flag); const _vo67 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
5496
|
+
path: _path + ".__context",
|
|
5497
|
+
expected: "{ id: string; } & { connection: FileConnectionHttpRecord; }",
|
|
5498
|
+
value: input.__context
|
|
5499
|
+
})) && _vo68(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
5500
|
+
path: _path + ".__context",
|
|
5501
|
+
expected: "{ id: string; } & { connection: FileConnectionHttpRecord; }",
|
|
5502
|
+
value: input.__context
|
|
5503
|
+
}), undefined === input.__returnValue || "string" === typeof input.__returnValue || _report(_exceptionable, {
|
|
5504
|
+
path: _path + ".__returnValue",
|
|
5505
|
+
expected: "(string | undefined)",
|
|
5506
|
+
value: input.__returnValue
|
|
5507
|
+
})].every(flag => flag); const _vo68 = (input, _path, _exceptionable = true) => ["string" === typeof input.id || _report(_exceptionable, {
|
|
5508
|
+
path: _path + ".id",
|
|
3803
5509
|
expected: "string",
|
|
3804
|
-
value: input.
|
|
3805
|
-
})
|
|
5510
|
+
value: input.id
|
|
5511
|
+
}), ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) || _report(_exceptionable, {
|
|
5512
|
+
path: _path + ".connection",
|
|
5513
|
+
expected: "FileConnectionHttpRecord",
|
|
5514
|
+
value: input.connection
|
|
5515
|
+
})) && _vo2(input.connection, _path + ".connection", true && _exceptionable) || _report(_exceptionable, {
|
|
5516
|
+
path: _path + ".connection",
|
|
5517
|
+
expected: "FileConnectionHttpRecord",
|
|
5518
|
+
value: input.connection
|
|
5519
|
+
})].every(flag => flag); const _vo69 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
5520
|
+
path: _path + ".__context",
|
|
5521
|
+
expected: "{ id: string; } & { connection: FileConnectionHttpRecord; }",
|
|
5522
|
+
value: input.__context
|
|
5523
|
+
})) && _vo68(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
5524
|
+
path: _path + ".__context",
|
|
5525
|
+
expected: "{ id: string; } & { connection: FileConnectionHttpRecord; }",
|
|
5526
|
+
value: input.__context
|
|
5527
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
5528
|
+
path: _path + ".__returnValue",
|
|
5529
|
+
expected: "(__type.o9 | undefined)",
|
|
5530
|
+
value: input.__returnValue
|
|
5531
|
+
})) && _vo13(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
5532
|
+
path: _path + ".__returnValue",
|
|
5533
|
+
expected: "(__type.o9 | undefined)",
|
|
5534
|
+
value: input.__returnValue
|
|
5535
|
+
})].every(flag => flag); const _vo70 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
5536
|
+
path: _path + ".__context",
|
|
5537
|
+
expected: "{ id: string; } & { connection: FileConnectionHttpRecord; }",
|
|
5538
|
+
value: input.__context
|
|
5539
|
+
})) && _vo68(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
5540
|
+
path: _path + ".__context",
|
|
5541
|
+
expected: "{ id: string; } & { connection: FileConnectionHttpRecord; }",
|
|
5542
|
+
value: input.__context
|
|
5543
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
5544
|
+
path: _path + ".__returnValue",
|
|
5545
|
+
expected: "(__type.o11 | undefined)",
|
|
5546
|
+
value: input.__returnValue
|
|
5547
|
+
})) && _vo15(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
5548
|
+
path: _path + ".__returnValue",
|
|
5549
|
+
expected: "(__type.o11 | undefined)",
|
|
5550
|
+
value: input.__returnValue
|
|
5551
|
+
})].every(flag => flag); const _vo71 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
5552
|
+
path: _path + ".__context",
|
|
5553
|
+
expected: "{ id: string; } & { connection: FileConnectionHttpRecord; }",
|
|
5554
|
+
value: input.__context
|
|
5555
|
+
})) && _vo68(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
5556
|
+
path: _path + ".__context",
|
|
5557
|
+
expected: "{ id: string; } & { connection: FileConnectionHttpRecord; }",
|
|
5558
|
+
value: input.__context
|
|
5559
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
5560
|
+
path: _path + ".__returnValue",
|
|
5561
|
+
expected: "(__type.o14 | undefined)",
|
|
5562
|
+
value: input.__returnValue
|
|
5563
|
+
})) && _vo18(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
5564
|
+
path: _path + ".__returnValue",
|
|
5565
|
+
expected: "(__type.o14 | undefined)",
|
|
5566
|
+
value: input.__returnValue
|
|
5567
|
+
})].every(flag => flag); const _vo72 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
5568
|
+
path: _path + ".__context",
|
|
5569
|
+
expected: "{ id: string; } & { connection: FileConnectionHttpRecord; }",
|
|
5570
|
+
value: input.__context
|
|
5571
|
+
})) && _vo68(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
5572
|
+
path: _path + ".__context",
|
|
5573
|
+
expected: "{ id: string; } & { connection: FileConnectionHttpRecord; }",
|
|
5574
|
+
value: input.__context
|
|
5575
|
+
}), undefined === input.__returnValue || "boolean" === typeof input.__returnValue || _report(_exceptionable, {
|
|
5576
|
+
path: _path + ".__returnValue",
|
|
5577
|
+
expected: "(boolean | undefined)",
|
|
5578
|
+
value: input.__returnValue
|
|
5579
|
+
})].every(flag => flag); const _vo73 = (input, _path, _exceptionable = true) => [undefined === input.protocol || "s3" === input.protocol || _report(_exceptionable, {
|
|
3806
5580
|
path: _path + ".protocol",
|
|
3807
|
-
expected: "\"s3\"",
|
|
5581
|
+
expected: "(\"s3\" | undefined)",
|
|
3808
5582
|
value: input.protocol
|
|
3809
5583
|
}), true, undefined === input.bucket || "string" === typeof input.bucket || _report(_exceptionable, {
|
|
3810
5584
|
path: _path + ".bucket",
|
|
3811
5585
|
expected: "(string | undefined)",
|
|
3812
5586
|
value: input.bucket
|
|
3813
|
-
}), "file" === input.type || _report(_exceptionable, {
|
|
5587
|
+
}), undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
3814
5588
|
path: _path + ".type",
|
|
3815
|
-
expected: "\"file\"",
|
|
5589
|
+
expected: "(\"file\" | undefined)",
|
|
3816
5590
|
value: input.type
|
|
3817
5591
|
}), undefined === input.host || "string" === typeof input.host || _report(_exceptionable, {
|
|
3818
5592
|
path: _path + ".host",
|
|
@@ -3842,7 +5616,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
3842
5616
|
path: _path + ".listConcurrency",
|
|
3843
5617
|
expected: "(number | undefined)",
|
|
3844
5618
|
value: input.listConcurrency
|
|
3845
|
-
}), undefined === input.metafile || ("object" === typeof input.metafile && null !== input.metafile || _report(_exceptionable, {
|
|
5619
|
+
}), undefined === input.metafile || ("object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) || _report(_exceptionable, {
|
|
3846
5620
|
path: _path + ".metafile",
|
|
3847
5621
|
expected: "(__type | undefined)",
|
|
3848
5622
|
value: input.metafile
|
|
@@ -3854,17 +5628,17 @@ function _validateDomainRecord(domain, input) {
|
|
|
3854
5628
|
path: _path + ".userNotificationsEnabled",
|
|
3855
5629
|
expected: "(boolean | undefined)",
|
|
3856
5630
|
value: input.userNotificationsEnabled
|
|
3857
|
-
})].every(flag => flag); const
|
|
5631
|
+
})].every(flag => flag); const _vo74 = (input, _path, _exceptionable = true) => [undefined === input.protocol || "smb" === input.protocol || _report(_exceptionable, {
|
|
3858
5632
|
path: _path + ".protocol",
|
|
3859
|
-
expected: "\"smb\"",
|
|
5633
|
+
expected: "(\"smb\" | undefined)",
|
|
3860
5634
|
value: input.protocol
|
|
3861
|
-
}), "string" === typeof input.host || _report(_exceptionable, {
|
|
5635
|
+
}), undefined === input.host || "string" === typeof input.host || _report(_exceptionable, {
|
|
3862
5636
|
path: _path + ".host",
|
|
3863
|
-
expected: "string",
|
|
5637
|
+
expected: "(string | undefined)",
|
|
3864
5638
|
value: input.host
|
|
3865
|
-
}), "string" === typeof input.share || _report(_exceptionable, {
|
|
5639
|
+
}), undefined === input.share || "string" === typeof input.share || _report(_exceptionable, {
|
|
3866
5640
|
path: _path + ".share",
|
|
3867
|
-
expected: "string",
|
|
5641
|
+
expected: "(string | undefined)",
|
|
3868
5642
|
value: input.share
|
|
3869
5643
|
}), undefined === input.workgroup || "string" === typeof input.workgroup || _report(_exceptionable, {
|
|
3870
5644
|
path: _path + ".workgroup",
|
|
@@ -3878,9 +5652,9 @@ function _validateDomainRecord(domain, input) {
|
|
|
3878
5652
|
path: _path + ".password",
|
|
3879
5653
|
expected: "(string | undefined)",
|
|
3880
5654
|
value: input.password
|
|
3881
|
-
}), "file" === input.type || _report(_exceptionable, {
|
|
5655
|
+
}), undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
3882
5656
|
path: _path + ".type",
|
|
3883
|
-
expected: "\"file\"",
|
|
5657
|
+
expected: "(\"file\" | undefined)",
|
|
3884
5658
|
value: input.type
|
|
3885
5659
|
}), undefined === input.port || "string" === typeof input.port || "number" === typeof input.port || _report(_exceptionable, {
|
|
3886
5660
|
path: _path + ".port",
|
|
@@ -3906,7 +5680,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
3906
5680
|
path: _path + ".listConcurrency",
|
|
3907
5681
|
expected: "(number | undefined)",
|
|
3908
5682
|
value: input.listConcurrency
|
|
3909
|
-
}), undefined === input.metafile || ("object" === typeof input.metafile && null !== input.metafile || _report(_exceptionable, {
|
|
5683
|
+
}), undefined === input.metafile || ("object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) || _report(_exceptionable, {
|
|
3910
5684
|
path: _path + ".metafile",
|
|
3911
5685
|
expected: "(__type | undefined)",
|
|
3912
5686
|
value: input.metafile
|
|
@@ -3918,13 +5692,13 @@ function _validateDomainRecord(domain, input) {
|
|
|
3918
5692
|
path: _path + ".userNotificationsEnabled",
|
|
3919
5693
|
expected: "(boolean | undefined)",
|
|
3920
5694
|
value: input.userNotificationsEnabled
|
|
3921
|
-
})].every(flag => flag); const
|
|
5695
|
+
})].every(flag => flag); const _vo75 = (input, _path, _exceptionable = true) => [undefined === input.protocol || "sftp" === input.protocol || _report(_exceptionable, {
|
|
3922
5696
|
path: _path + ".protocol",
|
|
3923
|
-
expected: "\"sftp\"",
|
|
5697
|
+
expected: "(\"sftp\" | undefined)",
|
|
3924
5698
|
value: input.protocol
|
|
3925
|
-
}), "string" === typeof input.host || _report(_exceptionable, {
|
|
5699
|
+
}), undefined === input.host || "string" === typeof input.host || _report(_exceptionable, {
|
|
3926
5700
|
path: _path + ".host",
|
|
3927
|
-
expected: "string",
|
|
5701
|
+
expected: "(string | undefined)",
|
|
3928
5702
|
value: input.host
|
|
3929
5703
|
}), undefined === input.username || "string" === typeof input.username || _report(_exceptionable, {
|
|
3930
5704
|
path: _path + ".username",
|
|
@@ -3954,9 +5728,9 @@ function _validateDomainRecord(domain, input) {
|
|
|
3954
5728
|
path: _path + ".mode",
|
|
3955
5729
|
expected: "(\"lftp\" | \"libcurl\" | \"openssh\" | \"ssh2\" | undefined)",
|
|
3956
5730
|
value: input.mode
|
|
3957
|
-
}), "file" === input.type || _report(_exceptionable, {
|
|
5731
|
+
}), undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
3958
5732
|
path: _path + ".type",
|
|
3959
|
-
expected: "\"file\"",
|
|
5733
|
+
expected: "(\"file\" | undefined)",
|
|
3960
5734
|
value: input.type
|
|
3961
5735
|
}), undefined === input.port || "string" === typeof input.port || "number" === typeof input.port || _report(_exceptionable, {
|
|
3962
5736
|
path: _path + ".port",
|
|
@@ -3982,7 +5756,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
3982
5756
|
path: _path + ".listConcurrency",
|
|
3983
5757
|
expected: "(number | undefined)",
|
|
3984
5758
|
value: input.listConcurrency
|
|
3985
|
-
}), undefined === input.metafile || ("object" === typeof input.metafile && null !== input.metafile || _report(_exceptionable, {
|
|
5759
|
+
}), undefined === input.metafile || ("object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) || _report(_exceptionable, {
|
|
3986
5760
|
path: _path + ".metafile",
|
|
3987
5761
|
expected: "(__type | undefined)",
|
|
3988
5762
|
value: input.metafile
|
|
@@ -3994,16 +5768,16 @@ function _validateDomainRecord(domain, input) {
|
|
|
3994
5768
|
path: _path + ".userNotificationsEnabled",
|
|
3995
5769
|
expected: "(boolean | undefined)",
|
|
3996
5770
|
value: input.userNotificationsEnabled
|
|
3997
|
-
})].every(flag => flag); const
|
|
5771
|
+
})].every(flag => flag); const _vo76 = (input, _path, _exceptionable = true) => [undefined === input.type || "facebook" === input.type || _report(_exceptionable, {
|
|
3998
5772
|
path: _path + ".type",
|
|
3999
|
-
expected: "\"facebook\"",
|
|
5773
|
+
expected: "(\"facebook\" | undefined)",
|
|
4000
5774
|
value: input.type
|
|
4001
5775
|
}), undefined === input.grantedScopes || (Array.isArray(input.grantedScopes) || _report(_exceptionable, {
|
|
4002
5776
|
path: _path + ".grantedScopes",
|
|
4003
5777
|
expected: "(Array<string> | undefined)",
|
|
4004
5778
|
value: input.grantedScopes
|
|
4005
|
-
})) && input.grantedScopes.map((elem,
|
|
4006
|
-
path: _path + ".grantedScopes[" +
|
|
5779
|
+
})) && input.grantedScopes.map((elem, _index8) => "string" === typeof elem || _report(_exceptionable, {
|
|
5780
|
+
path: _path + ".grantedScopes[" + _index8 + "]",
|
|
4007
5781
|
expected: "string",
|
|
4008
5782
|
value: elem
|
|
4009
5783
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -4014,9 +5788,9 @@ function _validateDomainRecord(domain, input) {
|
|
|
4014
5788
|
path: _path + ".userNotificationsEnabled",
|
|
4015
5789
|
expected: "(boolean | undefined)",
|
|
4016
5790
|
value: input.userNotificationsEnabled
|
|
4017
|
-
})].every(flag => flag); const
|
|
5791
|
+
})].every(flag => flag); const _vo77 = (input, _path, _exceptionable = true) => [undefined === input.type || "reuters" === input.type || _report(_exceptionable, {
|
|
4018
5792
|
path: _path + ".type",
|
|
4019
|
-
expected: "\"reuters\"",
|
|
5793
|
+
expected: "(\"reuters\" | undefined)",
|
|
4020
5794
|
value: input.type
|
|
4021
5795
|
}), undefined === input.clientId || "string" === typeof input.clientId || _report(_exceptionable, {
|
|
4022
5796
|
path: _path + ".clientId",
|
|
@@ -4034,50 +5808,120 @@ function _validateDomainRecord(domain, input) {
|
|
|
4034
5808
|
path: _path + ".userNotificationsEnabled",
|
|
4035
5809
|
expected: "(boolean | undefined)",
|
|
4036
5810
|
value: input.userNotificationsEnabled
|
|
4037
|
-
})].every(flag => flag); const
|
|
4038
|
-
path: _path + ".type",
|
|
4039
|
-
expected: "null",
|
|
4040
|
-
value: input.type
|
|
4041
|
-
})) && (null === input.type || _report(_exceptionable, {
|
|
5811
|
+
})].every(flag => flag); const _vo78 = (input, _path, _exceptionable = true) => [null === input.type || undefined === input.type || _report(_exceptionable, {
|
|
4042
5812
|
path: _path + ".type",
|
|
4043
|
-
expected: "null",
|
|
5813
|
+
expected: "(null | undefined)",
|
|
4044
5814
|
value: input.type
|
|
4045
|
-
})
|
|
5815
|
+
}), undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled || _report(_exceptionable, {
|
|
4046
5816
|
path: _path + ".userNotificationsEnabled",
|
|
4047
5817
|
expected: "(boolean | undefined)",
|
|
4048
5818
|
value: input.userNotificationsEnabled
|
|
4049
5819
|
})].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
4050
|
-
if (
|
|
4051
|
-
return
|
|
4052
|
-
else if ("s3" === input.protocol)
|
|
4053
|
-
return _vo2(input, _path, true && _exceptionable);
|
|
4054
|
-
else if ("smb" === input.protocol)
|
|
4055
|
-
return _vo3(input, _path, true && _exceptionable);
|
|
4056
|
-
else if ("sftp" === input.protocol)
|
|
4057
|
-
return _vo4(input, _path, true && _exceptionable);
|
|
4058
|
-
else if ("facebook" === input.type)
|
|
4059
|
-
return _vo5(input, _path, true && _exceptionable);
|
|
4060
|
-
else if ("reuters" === input.type)
|
|
4061
|
-
return _vo6(input, _path, true && _exceptionable);
|
|
4062
|
-
else if (undefined !== input.type && null === input.type)
|
|
4063
|
-
return _vo7(input, _path, true && _exceptionable);
|
|
5820
|
+
if (undefined !== input.__context)
|
|
5821
|
+
return _vo14(input, _path, true && _exceptionable);
|
|
4064
5822
|
else
|
|
4065
|
-
return
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
|
|
5823
|
+
return _vo13(input, _path, true && _exceptionable);
|
|
5824
|
+
})(); const _vu1 = (input, _path, _exceptionable = true) => (() => {
|
|
5825
|
+
if (undefined !== input.__context)
|
|
5826
|
+
return _vo17(input, _path, true && _exceptionable);
|
|
5827
|
+
else
|
|
5828
|
+
return _vo15(input, _path, true && _exceptionable);
|
|
5829
|
+
})(); const _vu2 = (input, _path, _exceptionable = true) => (() => {
|
|
5830
|
+
if (undefined !== input.__context)
|
|
5831
|
+
return _vo19(input, _path, true && _exceptionable);
|
|
5832
|
+
else
|
|
5833
|
+
return _vo18(input, _path, true && _exceptionable);
|
|
5834
|
+
})(); const _vu3 = (input, _path, _exceptionable = true) => (() => {
|
|
5835
|
+
if (undefined !== input.__context)
|
|
5836
|
+
return _vo31(input, _path, true && _exceptionable);
|
|
5837
|
+
else
|
|
5838
|
+
return _vo13(input, _path, true && _exceptionable);
|
|
5839
|
+
})(); const _vu4 = (input, _path, _exceptionable = true) => (() => {
|
|
5840
|
+
if (undefined !== input.__context)
|
|
5841
|
+
return _vo32(input, _path, true && _exceptionable);
|
|
5842
|
+
else
|
|
5843
|
+
return _vo15(input, _path, true && _exceptionable);
|
|
5844
|
+
})(); const _vu5 = (input, _path, _exceptionable = true) => (() => {
|
|
5845
|
+
if (undefined !== input.__context)
|
|
5846
|
+
return _vo33(input, _path, true && _exceptionable);
|
|
5847
|
+
else
|
|
5848
|
+
return _vo18(input, _path, true && _exceptionable);
|
|
5849
|
+
})(); const _vu6 = (input, _path, _exceptionable = true) => (() => {
|
|
5850
|
+
if (undefined !== input.__context)
|
|
5851
|
+
return _vo37(input, _path, true && _exceptionable);
|
|
5852
|
+
else
|
|
5853
|
+
return _vo36(input, _path, true && _exceptionable);
|
|
5854
|
+
})(); const _vu7 = (input, _path, _exceptionable = true) => (() => {
|
|
5855
|
+
if (undefined !== input.__context)
|
|
5856
|
+
return _vo42(input, _path, true && _exceptionable);
|
|
5857
|
+
else
|
|
5858
|
+
return _vo13(input, _path, true && _exceptionable);
|
|
5859
|
+
})(); const _vu8 = (input, _path, _exceptionable = true) => (() => {
|
|
5860
|
+
if (undefined !== input.__context)
|
|
5861
|
+
return _vo43(input, _path, true && _exceptionable);
|
|
5862
|
+
else
|
|
5863
|
+
return _vo15(input, _path, true && _exceptionable);
|
|
5864
|
+
})(); const _vu9 = (input, _path, _exceptionable = true) => (() => {
|
|
5865
|
+
if (undefined !== input.__context)
|
|
5866
|
+
return _vo44(input, _path, true && _exceptionable);
|
|
5867
|
+
else
|
|
5868
|
+
return _vo18(input, _path, true && _exceptionable);
|
|
5869
|
+
})(); const _vu10 = (input, _path, _exceptionable = true) => (() => {
|
|
5870
|
+
if (undefined !== input.__context)
|
|
5871
|
+
return _vo53(input, _path, true && _exceptionable);
|
|
5872
|
+
else
|
|
5873
|
+
return _vo13(input, _path, true && _exceptionable);
|
|
5874
|
+
})(); const _vu11 = (input, _path, _exceptionable = true) => (() => {
|
|
5875
|
+
if (undefined !== input.__context)
|
|
5876
|
+
return _vo54(input, _path, true && _exceptionable);
|
|
5877
|
+
else
|
|
5878
|
+
return _vo15(input, _path, true && _exceptionable);
|
|
5879
|
+
})(); const _vu12 = (input, _path, _exceptionable = true) => (() => {
|
|
5880
|
+
if (undefined !== input.__context)
|
|
5881
|
+
return _vo55(input, _path, true && _exceptionable);
|
|
5882
|
+
else
|
|
5883
|
+
return _vo18(input, _path, true && _exceptionable);
|
|
5884
|
+
})(); const _vu13 = (input, _path, _exceptionable = true) => (() => {
|
|
5885
|
+
if (undefined !== input.__context)
|
|
5886
|
+
return _vo61(input, _path, true && _exceptionable);
|
|
5887
|
+
else
|
|
5888
|
+
return _vo13(input, _path, true && _exceptionable);
|
|
5889
|
+
})(); const _vu14 = (input, _path, _exceptionable = true) => (() => {
|
|
5890
|
+
if (undefined !== input.__context)
|
|
5891
|
+
return _vo62(input, _path, true && _exceptionable);
|
|
5892
|
+
else
|
|
5893
|
+
return _vo15(input, _path, true && _exceptionable);
|
|
5894
|
+
})(); const _vu15 = (input, _path, _exceptionable = true) => (() => {
|
|
5895
|
+
if (undefined !== input.__context)
|
|
5896
|
+
return _vo63(input, _path, true && _exceptionable);
|
|
5897
|
+
else
|
|
5898
|
+
return _vo18(input, _path, true && _exceptionable);
|
|
5899
|
+
})(); const _vu16 = (input, _path, _exceptionable = true) => (() => {
|
|
5900
|
+
if (undefined !== input.__context)
|
|
5901
|
+
return _vo69(input, _path, true && _exceptionable);
|
|
5902
|
+
else
|
|
5903
|
+
return _vo13(input, _path, true && _exceptionable);
|
|
5904
|
+
})(); const _vu17 = (input, _path, _exceptionable = true) => (() => {
|
|
5905
|
+
if (undefined !== input.__context)
|
|
5906
|
+
return _vo70(input, _path, true && _exceptionable);
|
|
5907
|
+
else
|
|
5908
|
+
return _vo15(input, _path, true && _exceptionable);
|
|
5909
|
+
})(); const _vu18 = (input, _path, _exceptionable = true) => (() => {
|
|
5910
|
+
if (undefined !== input.__context)
|
|
5911
|
+
return _vo71(input, _path, true && _exceptionable);
|
|
5912
|
+
else
|
|
5913
|
+
return _vo18(input, _path, true && _exceptionable);
|
|
5914
|
+
})(); const _vu19 = (input, _path, _exceptionable = true) => _vo0(input, _path, false && _exceptionable) || _vo2(input, _path, false && _exceptionable) || _vo73(input, _path, false && _exceptionable) || _vo74(input, _path, false && _exceptionable) || _vo75(input, _path, false && _exceptionable) || _vo76(input, _path, false && _exceptionable) || _vo77(input, _path, false && _exceptionable) || _vo78(input, _path, false && _exceptionable); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _iu19(input); let errors; let _report; return input => {
|
|
4071
5915
|
if (false === __is(input)) {
|
|
4072
5916
|
errors = [];
|
|
4073
5917
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
4074
|
-
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
5918
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
4075
5919
|
path: _path + "",
|
|
4076
|
-
expected: "(EmptyConnectionRecord | FacebookConnectionRecord | FileConnectionFtpRecord | FileConnectionS3Record | FileConnectionSftpRecord | FileConnectionSmbRecord | ReutersConnectionRecord)",
|
|
5920
|
+
expected: "(EmptyConnectionRecord | FacebookConnectionRecord | FileConnectionFtpRecord | FileConnectionHttpRecord | FileConnectionS3Record | FileConnectionSftpRecord | FileConnectionSmbRecord | ReutersConnectionRecord)",
|
|
4077
5921
|
value: input
|
|
4078
|
-
})) &&
|
|
5922
|
+
})) && _vu19(input, _path + "", true) || _report(true, {
|
|
4079
5923
|
path: _path + "",
|
|
4080
|
-
expected: "(EmptyConnectionRecord | FacebookConnectionRecord | FileConnectionFtpRecord | FileConnectionS3Record | FileConnectionSftpRecord | FileConnectionSmbRecord | ReutersConnectionRecord)",
|
|
5924
|
+
expected: "(EmptyConnectionRecord | FacebookConnectionRecord | FileConnectionFtpRecord | FileConnectionHttpRecord | FileConnectionS3Record | FileConnectionSftpRecord | FileConnectionSmbRecord | ReutersConnectionRecord)",
|
|
4081
5925
|
value: input
|
|
4082
5926
|
}))(input, "$input", true);
|
|
4083
5927
|
const success = 0 === errors.length;
|
|
@@ -8496,29 +10340,29 @@ function _validateDomainRecord(domain, input) {
|
|
|
8496
10340
|
}; })()(input);
|
|
8497
10341
|
}
|
|
8498
10342
|
case ":publish": {
|
|
8499
|
-
return (() => { const _io0 = input =>
|
|
10343
|
+
return (() => { const _io0 = input => (null === input.type || undefined === input.type) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && true && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io15(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io16(elem))); const _io1 = input => (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io2(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io10(input.profile)); const _io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (null === input.input || undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io3(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io4(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io7(input.video)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io9(input.transcribe)); const _io3 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file); const _io4 = input => Object.keys(input).every(key => {
|
|
8500
10344
|
const value = input[key];
|
|
8501
10345
|
if (undefined === value)
|
|
8502
10346
|
return true;
|
|
8503
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
8504
|
-
}); const
|
|
10347
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io5(value);
|
|
10348
|
+
}); const _io5 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io6(input.styleOverrides)); const _io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io7 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io8(input.crop); const _io8 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io9 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io10 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io11(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io12(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io13(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io14(input.subtitle))); const _io11 = input => "string" === typeof input.engine; const _io12 = input => "string" === typeof input.language; const _io13 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io14 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _io15 = input => "string" === typeof input.method; const _io16 = input => "number" === typeof input.level && "string" === typeof input.code && "string" === typeof input.msg; const _io17 = input => (undefined === input.type || "facebook" === input.type) && (undefined === input.pageId || "string" === typeof input.pageId) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && true && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io15(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io16(elem))); const _io18 = input => (undefined === input.type || "file" === input.type) && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io19(input.renders)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io23(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io24(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io27(input.published)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io15(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io16(elem))); const _io19 = input => Object.keys(input).every(key => {
|
|
8505
10349
|
const value = input[key];
|
|
8506
10350
|
if (undefined === value)
|
|
8507
10351
|
return true;
|
|
8508
10352
|
return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && _iu0(value));
|
|
8509
|
-
}); const _io20 = input => (undefined === input.name || "string" === typeof input.name) && "string" === typeof input.path && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene) && (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) &&
|
|
10353
|
+
}); const _io20 = input => (undefined === input.name || "string" === typeof input.name) && "string" === typeof input.path && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene) && (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io2(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io10(input.profile)); const _io21 = input => "object" === typeof input.__context && null !== input.__context && _io22(input.__context) && ("object" === typeof input.__returnValue && null !== input.__returnValue && _io20(input.__returnValue)); const _io22 = input => "object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) && _io18(input.publish) && "string" === typeof input.directory && "string" === typeof input.name; const _io23 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename); const _io24 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io25(input.renders)); const _io25 = input => Object.keys(input).every(key => {
|
|
8510
10354
|
const value = input[key];
|
|
8511
10355
|
if (undefined === value)
|
|
8512
10356
|
return true;
|
|
8513
10357
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io26(value);
|
|
8514
|
-
}); const _io26 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem &&
|
|
10358
|
+
}); const _io26 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io16(elem))) && true && (undefined === input.size || "number" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash) && (undefined === input.source || "string" === typeof input.source); const _io27 = input => (undefined === input.directory || "string" === typeof input.directory) && "string" === typeof input.filename; const _io28 = input => (undefined === input.type || "file" === input.type) && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io23(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && _io29(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io27(input.published)) && (null !== input.renders && undefined === input.renders) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io15(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io16(elem))); const _io29 = input => (undefined === input.id || "string" === typeof input.id) && "string" === typeof input.path && "string" === typeof input.filename && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && _io30(input.subtitle)) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && _io31(input.metafile)) && Object.keys(input).every(key => {
|
|
8515
10359
|
if (["id", "path", "filename", "directory", "subtitle", "metafile"].some(prop => key === prop))
|
|
8516
10360
|
return true;
|
|
8517
10361
|
const value = input[key];
|
|
8518
10362
|
if (undefined === value)
|
|
8519
10363
|
return true;
|
|
8520
10364
|
return true;
|
|
8521
|
-
}); const _io30 = input => "string" === typeof input.path; const _io31 = input => "string" === typeof input.path; const _io32 = input => "youtube" === input.type && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io33(input.draft)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render &&
|
|
10365
|
+
}); const _io30 = input => "string" === typeof input.path; const _io31 = input => "string" === typeof input.path; const _io32 = input => (undefined === input.type || "youtube" === input.type) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io33(input.draft)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io15(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io16(elem))); const _io33 = input => undefined === input.snippet || "object" === typeof input.snippet && null !== input.snippet && false === Array.isArray(input.snippet) && _io34(input.snippet); const _io34 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.description || "string" === typeof input.description); const _iu0 = input => (() => {
|
|
8522
10366
|
if (undefined !== input.path)
|
|
8523
10367
|
return _io20(input);
|
|
8524
10368
|
else if (undefined !== input.__context)
|
|
@@ -8526,40 +10370,21 @@ function _validateDomainRecord(domain, input) {
|
|
|
8526
10370
|
else
|
|
8527
10371
|
return false;
|
|
8528
10372
|
})(); const _iu1 = input => (() => {
|
|
8529
|
-
if (
|
|
10373
|
+
if (_io0(input))
|
|
8530
10374
|
return _io0(input);
|
|
8531
|
-
|
|
8532
|
-
return
|
|
8533
|
-
|
|
10375
|
+
if (_io17(input))
|
|
10376
|
+
return _io17(input);
|
|
10377
|
+
if (_io28(input))
|
|
10378
|
+
return _io28(input);
|
|
10379
|
+
if (_io18(input))
|
|
10380
|
+
return _io18(input);
|
|
10381
|
+
if (_io32(input))
|
|
8534
10382
|
return _io32(input);
|
|
8535
|
-
|
|
8536
|
-
|
|
8537
|
-
if (_io28(input))
|
|
8538
|
-
return _io28(input);
|
|
8539
|
-
if (_io18(input))
|
|
8540
|
-
return _io18(input);
|
|
8541
|
-
return false;
|
|
8542
|
-
})();
|
|
8543
|
-
})(); const _vo0 = (input, _path, _exceptionable = true) => [(undefined !== input.type || _report(_exceptionable, {
|
|
8544
|
-
path: _path + ".type",
|
|
8545
|
-
expected: "null",
|
|
8546
|
-
value: input.type
|
|
8547
|
-
})) && (null === input.type || _report(_exceptionable, {
|
|
8548
|
-
path: _path + ".type",
|
|
8549
|
-
expected: "null",
|
|
8550
|
-
value: input.type
|
|
8551
|
-
})), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
|
|
8552
|
-
path: _path + ".asset",
|
|
8553
|
-
expected: "(null | string | undefined)",
|
|
8554
|
-
value: input.asset
|
|
8555
|
-
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["facebook" === input.type || _report(_exceptionable, {
|
|
10383
|
+
return false;
|
|
10384
|
+
})(); const _vo0 = (input, _path, _exceptionable = true) => [null === input.type || undefined === input.type || _report(_exceptionable, {
|
|
8556
10385
|
path: _path + ".type",
|
|
8557
|
-
expected: "
|
|
10386
|
+
expected: "(null | undefined)",
|
|
8558
10387
|
value: input.type
|
|
8559
|
-
}), undefined === input.pageId || "string" === typeof input.pageId || _report(_exceptionable, {
|
|
8560
|
-
path: _path + ".pageId",
|
|
8561
|
-
expected: "(string | undefined)",
|
|
8562
|
-
value: input.pageId
|
|
8563
10388
|
}), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
|
|
8564
10389
|
path: _path + ".asset",
|
|
8565
10390
|
expected: "(null | string | undefined)",
|
|
@@ -8572,7 +10397,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
8572
10397
|
path: _path + ".render",
|
|
8573
10398
|
expected: "(PublishRenderBase | undefined)",
|
|
8574
10399
|
value: input.render
|
|
8575
|
-
})) &&
|
|
10400
|
+
})) && _vo1(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
8576
10401
|
path: _path + ".render",
|
|
8577
10402
|
expected: "(PublishRenderBase | undefined)",
|
|
8578
10403
|
value: input.render
|
|
@@ -8580,7 +10405,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
8580
10405
|
path: _path + ".error",
|
|
8581
10406
|
expected: "(__type.o9 | null | undefined)",
|
|
8582
10407
|
value: input.error
|
|
8583
|
-
})) &&
|
|
10408
|
+
})) && _vo15(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
8584
10409
|
path: _path + ".error",
|
|
8585
10410
|
expected: "(__type.o9 | null | undefined)",
|
|
8586
10411
|
value: input.error
|
|
@@ -8588,19 +10413,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
8588
10413
|
path: _path + ".messages",
|
|
8589
10414
|
expected: "(Array<Message> | undefined)",
|
|
8590
10415
|
value: input.messages
|
|
8591
|
-
})) && input.messages.map((elem,
|
|
8592
|
-
path: _path + ".messages[" +
|
|
10416
|
+
})) && input.messages.map((elem, _index10) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
10417
|
+
path: _path + ".messages[" + _index10 + "]",
|
|
8593
10418
|
expected: "Message",
|
|
8594
10419
|
value: elem
|
|
8595
|
-
})) &&
|
|
8596
|
-
path: _path + ".messages[" +
|
|
10420
|
+
})) && _vo16(elem, _path + ".messages[" + _index10 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
10421
|
+
path: _path + ".messages[" + _index10 + "]",
|
|
8597
10422
|
expected: "Message",
|
|
8598
10423
|
value: elem
|
|
8599
10424
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
8600
10425
|
path: _path + ".messages",
|
|
8601
10426
|
expected: "(Array<Message> | undefined)",
|
|
8602
10427
|
value: input.messages
|
|
8603
|
-
})].every(flag => flag); const
|
|
10428
|
+
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
8604
10429
|
path: _path + ".preset",
|
|
8605
10430
|
expected: "(string | undefined)",
|
|
8606
10431
|
value: input.preset
|
|
@@ -8612,7 +10437,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
8612
10437
|
path: _path + ".scene",
|
|
8613
10438
|
expected: "(RenderSceneObject | undefined)",
|
|
8614
10439
|
value: input.scene
|
|
8615
|
-
})) &&
|
|
10440
|
+
})) && _vo2(input.scene, _path + ".scene", true && _exceptionable) || _report(_exceptionable, {
|
|
8616
10441
|
path: _path + ".scene",
|
|
8617
10442
|
expected: "(RenderSceneObject | undefined)",
|
|
8618
10443
|
value: input.scene
|
|
@@ -8620,11 +10445,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
8620
10445
|
path: _path + ".profile",
|
|
8621
10446
|
expected: "(RenderProfileObject | undefined)",
|
|
8622
10447
|
value: input.profile
|
|
8623
|
-
})) &&
|
|
10448
|
+
})) && _vo10(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
8624
10449
|
path: _path + ".profile",
|
|
8625
10450
|
expected: "(RenderProfileObject | undefined)",
|
|
8626
10451
|
value: input.profile
|
|
8627
|
-
})].every(flag => flag); const
|
|
10452
|
+
})].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
8628
10453
|
path: _path + ".id",
|
|
8629
10454
|
expected: "(string | undefined)",
|
|
8630
10455
|
value: input.id
|
|
@@ -8636,7 +10461,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
8636
10461
|
path: _path + ".input",
|
|
8637
10462
|
expected: "(__type | null | undefined)",
|
|
8638
10463
|
value: input.input
|
|
8639
|
-
})) &&
|
|
10464
|
+
})) && _vo3(input.input, _path + ".input", true && _exceptionable) || _report(_exceptionable, {
|
|
8640
10465
|
path: _path + ".input",
|
|
8641
10466
|
expected: "(__type | null | undefined)",
|
|
8642
10467
|
value: input.input
|
|
@@ -8652,7 +10477,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
8652
10477
|
path: _path + ".subtitleTracks",
|
|
8653
10478
|
expected: "(__type.o1 | undefined)",
|
|
8654
10479
|
value: input.subtitleTracks
|
|
8655
|
-
})) &&
|
|
10480
|
+
})) && _vo4(input.subtitleTracks, _path + ".subtitleTracks", true && _exceptionable) || _report(_exceptionable, {
|
|
8656
10481
|
path: _path + ".subtitleTracks",
|
|
8657
10482
|
expected: "(__type.o1 | undefined)",
|
|
8658
10483
|
value: input.subtitleTracks
|
|
@@ -8660,7 +10485,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
8660
10485
|
path: _path + ".video",
|
|
8661
10486
|
expected: "(__type.o3 | undefined)",
|
|
8662
10487
|
value: input.video
|
|
8663
|
-
})) &&
|
|
10488
|
+
})) && _vo7(input.video, _path + ".video", true && _exceptionable) || _report(_exceptionable, {
|
|
8664
10489
|
path: _path + ".video",
|
|
8665
10490
|
expected: "(__type.o3 | undefined)",
|
|
8666
10491
|
value: input.video
|
|
@@ -8676,11 +10501,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
8676
10501
|
path: _path + ".transcribe",
|
|
8677
10502
|
expected: "(__type.o5 | undefined)",
|
|
8678
10503
|
value: input.transcribe
|
|
8679
|
-
})) &&
|
|
10504
|
+
})) && _vo9(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
8680
10505
|
path: _path + ".transcribe",
|
|
8681
10506
|
expected: "(__type.o5 | undefined)",
|
|
8682
10507
|
value: input.transcribe
|
|
8683
|
-
})].every(flag => flag); const
|
|
10508
|
+
})].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
8684
10509
|
path: _path + ".type",
|
|
8685
10510
|
expected: "(string | undefined)",
|
|
8686
10511
|
value: input.type
|
|
@@ -8688,7 +10513,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
8688
10513
|
path: _path + ".file",
|
|
8689
10514
|
expected: "(null | string | undefined)",
|
|
8690
10515
|
value: input.file
|
|
8691
|
-
})].every(flag => flag); const
|
|
10516
|
+
})].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
8692
10517
|
const value = input[key];
|
|
8693
10518
|
if (undefined === value)
|
|
8694
10519
|
return true;
|
|
@@ -8696,12 +10521,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
8696
10521
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
8697
10522
|
expected: "__type.o2",
|
|
8698
10523
|
value: value
|
|
8699
|
-
})) &&
|
|
10524
|
+
})) && _vo5(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
8700
10525
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
8701
10526
|
expected: "__type.o2",
|
|
8702
10527
|
value: value
|
|
8703
10528
|
});
|
|
8704
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
10529
|
+
}).every(flag => flag)].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => [null === input.style || undefined === input.style || "string" === typeof input.style || _report(_exceptionable, {
|
|
8705
10530
|
path: _path + ".style",
|
|
8706
10531
|
expected: "(null | string | undefined)",
|
|
8707
10532
|
value: input.style
|
|
@@ -8709,11 +10534,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
8709
10534
|
path: _path + ".styleOverrides",
|
|
8710
10535
|
expected: "(SubtitleStyle | undefined)",
|
|
8711
10536
|
value: input.styleOverrides
|
|
8712
|
-
})) &&
|
|
10537
|
+
})) && _vo6(input.styleOverrides, _path + ".styleOverrides", true && _exceptionable) || _report(_exceptionable, {
|
|
8713
10538
|
path: _path + ".styleOverrides",
|
|
8714
10539
|
expected: "(SubtitleStyle | undefined)",
|
|
8715
10540
|
value: input.styleOverrides
|
|
8716
|
-
})].every(flag => flag); const
|
|
10541
|
+
})].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
8717
10542
|
path: _path + ".name",
|
|
8718
10543
|
expected: "(string | undefined)",
|
|
8719
10544
|
value: input.name
|
|
@@ -8805,15 +10630,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
8805
10630
|
path: _path + ".encoding",
|
|
8806
10631
|
expected: "(string | undefined)",
|
|
8807
10632
|
value: input.encoding
|
|
8808
|
-
})].every(flag => flag); const
|
|
10633
|
+
})].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [undefined === input.crop || ("object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) || _report(_exceptionable, {
|
|
8809
10634
|
path: _path + ".crop",
|
|
8810
10635
|
expected: "(__type.o4 | undefined)",
|
|
8811
10636
|
value: input.crop
|
|
8812
|
-
})) &&
|
|
10637
|
+
})) && _vo8(input.crop, _path + ".crop", true && _exceptionable) || _report(_exceptionable, {
|
|
8813
10638
|
path: _path + ".crop",
|
|
8814
10639
|
expected: "(__type.o4 | undefined)",
|
|
8815
10640
|
value: input.crop
|
|
8816
|
-
})].every(flag => flag); const
|
|
10641
|
+
})].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [undefined === input.x || "number" === typeof input.x || _report(_exceptionable, {
|
|
8817
10642
|
path: _path + ".x",
|
|
8818
10643
|
expected: "(number | undefined)",
|
|
8819
10644
|
value: input.x
|
|
@@ -8829,7 +10654,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
8829
10654
|
path: _path + ".height",
|
|
8830
10655
|
expected: "(number | undefined)",
|
|
8831
10656
|
value: input.height
|
|
8832
|
-
})].every(flag => flag); const
|
|
10657
|
+
})].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [undefined === input.language || "string" === typeof input.language || _report(_exceptionable, {
|
|
8833
10658
|
path: _path + ".language",
|
|
8834
10659
|
expected: "(string | undefined)",
|
|
8835
10660
|
value: input.language
|
|
@@ -8837,15 +10662,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
8837
10662
|
path: _path + ".pan",
|
|
8838
10663
|
expected: "(Array<number> | undefined)",
|
|
8839
10664
|
value: input.pan
|
|
8840
|
-
})) && input.pan.map((elem,
|
|
8841
|
-
path: _path + ".pan[" +
|
|
10665
|
+
})) && input.pan.map((elem, _index11) => "number" === typeof elem || _report(_exceptionable, {
|
|
10666
|
+
path: _path + ".pan[" + _index11 + "]",
|
|
8842
10667
|
expected: "number",
|
|
8843
10668
|
value: elem
|
|
8844
10669
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
8845
10670
|
path: _path + ".pan",
|
|
8846
10671
|
expected: "(Array<number> | undefined)",
|
|
8847
10672
|
value: input.pan
|
|
8848
|
-
})].every(flag => flag); const
|
|
10673
|
+
})].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => ["string" === typeof input.format || _report(_exceptionable, {
|
|
8849
10674
|
path: _path + ".format",
|
|
8850
10675
|
expected: "string",
|
|
8851
10676
|
value: input.format
|
|
@@ -8853,7 +10678,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
8853
10678
|
path: _path + ".transcribe",
|
|
8854
10679
|
expected: "(__type.o6 | undefined)",
|
|
8855
10680
|
value: input.transcribe
|
|
8856
|
-
})) &&
|
|
10681
|
+
})) && _vo11(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
8857
10682
|
path: _path + ".transcribe",
|
|
8858
10683
|
expected: "(__type.o6 | undefined)",
|
|
8859
10684
|
value: input.transcribe
|
|
@@ -8861,7 +10686,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
8861
10686
|
path: _path + ".translate",
|
|
8862
10687
|
expected: "(__type.o7 | undefined)",
|
|
8863
10688
|
value: input.translate
|
|
8864
|
-
})) &&
|
|
10689
|
+
})) && _vo12(input.translate, _path + ".translate", true && _exceptionable) || _report(_exceptionable, {
|
|
8865
10690
|
path: _path + ".translate",
|
|
8866
10691
|
expected: "(__type.o7 | undefined)",
|
|
8867
10692
|
value: input.translate
|
|
@@ -8869,7 +10694,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
8869
10694
|
path: _path + ".audio",
|
|
8870
10695
|
expected: "(__type.o8 | undefined)",
|
|
8871
10696
|
value: input.audio
|
|
8872
|
-
})) &&
|
|
10697
|
+
})) && _vo13(input.audio, _path + ".audio", true && _exceptionable) || _report(_exceptionable, {
|
|
8873
10698
|
path: _path + ".audio",
|
|
8874
10699
|
expected: "(__type.o8 | undefined)",
|
|
8875
10700
|
value: input.audio
|
|
@@ -8877,8 +10702,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
8877
10702
|
path: _path + ".pick",
|
|
8878
10703
|
expected: "(Array<string> | undefined)",
|
|
8879
10704
|
value: input.pick
|
|
8880
|
-
})) && input.pick.map((elem,
|
|
8881
|
-
path: _path + ".pick[" +
|
|
10705
|
+
})) && input.pick.map((elem, _index12) => "string" === typeof elem || _report(_exceptionable, {
|
|
10706
|
+
path: _path + ".pick[" + _index12 + "]",
|
|
8882
10707
|
expected: "string",
|
|
8883
10708
|
value: elem
|
|
8884
10709
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -8893,19 +10718,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
8893
10718
|
path: _path + ".subtitle",
|
|
8894
10719
|
expected: "(SubtitleProfile | string | undefined)",
|
|
8895
10720
|
value: input.subtitle
|
|
8896
|
-
})) &&
|
|
10721
|
+
})) && _vo14(input.subtitle, _path + ".subtitle", true && _exceptionable) || _report(_exceptionable, {
|
|
8897
10722
|
path: _path + ".subtitle",
|
|
8898
10723
|
expected: "(SubtitleProfile | string | undefined)",
|
|
8899
10724
|
value: input.subtitle
|
|
8900
|
-
}))].every(flag => flag); const
|
|
10725
|
+
}))].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => ["string" === typeof input.engine || _report(_exceptionable, {
|
|
8901
10726
|
path: _path + ".engine",
|
|
8902
10727
|
expected: "string",
|
|
8903
10728
|
value: input.engine
|
|
8904
|
-
})].every(flag => flag); const
|
|
10729
|
+
})].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => ["string" === typeof input.language || _report(_exceptionable, {
|
|
8905
10730
|
path: _path + ".language",
|
|
8906
10731
|
expected: "string",
|
|
8907
10732
|
value: input.language
|
|
8908
|
-
})].every(flag => flag); const
|
|
10733
|
+
})].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => [undefined === input.codec || "string" === typeof input.codec || _report(_exceptionable, {
|
|
8909
10734
|
path: _path + ".codec",
|
|
8910
10735
|
expected: "(string | undefined)",
|
|
8911
10736
|
value: input.codec
|
|
@@ -8921,7 +10746,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
8921
10746
|
path: _path + ".split",
|
|
8922
10747
|
expected: "(boolean | undefined)",
|
|
8923
10748
|
value: input.split
|
|
8924
|
-
})].every(flag => flag); const
|
|
10749
|
+
})].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [undefined === input.lang || "string" === typeof input.lang || _report(_exceptionable, {
|
|
8925
10750
|
path: _path + ".lang",
|
|
8926
10751
|
expected: "(string | undefined)",
|
|
8927
10752
|
value: input.lang
|
|
@@ -8929,11 +10754,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
8929
10754
|
path: _path + ".style",
|
|
8930
10755
|
expected: "(string | undefined)",
|
|
8931
10756
|
value: input.style
|
|
8932
|
-
})].every(flag => flag); const
|
|
10757
|
+
})].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => ["string" === typeof input.method || _report(_exceptionable, {
|
|
8933
10758
|
path: _path + ".method",
|
|
8934
10759
|
expected: "string",
|
|
8935
10760
|
value: input.method
|
|
8936
|
-
})].every(flag => flag); const
|
|
10761
|
+
})].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => ["number" === typeof input.level || _report(_exceptionable, {
|
|
8937
10762
|
path: _path + ".level",
|
|
8938
10763
|
expected: "number",
|
|
8939
10764
|
value: input.level
|
|
@@ -8945,9 +10770,57 @@ function _validateDomainRecord(domain, input) {
|
|
|
8945
10770
|
path: _path + ".msg",
|
|
8946
10771
|
expected: "string",
|
|
8947
10772
|
value: input.msg
|
|
8948
|
-
})].every(flag => flag); const
|
|
10773
|
+
})].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => [undefined === input.type || "facebook" === input.type || _report(_exceptionable, {
|
|
10774
|
+
path: _path + ".type",
|
|
10775
|
+
expected: "(\"facebook\" | undefined)",
|
|
10776
|
+
value: input.type
|
|
10777
|
+
}), undefined === input.pageId || "string" === typeof input.pageId || _report(_exceptionable, {
|
|
10778
|
+
path: _path + ".pageId",
|
|
10779
|
+
expected: "(string | undefined)",
|
|
10780
|
+
value: input.pageId
|
|
10781
|
+
}), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
|
|
10782
|
+
path: _path + ".asset",
|
|
10783
|
+
expected: "(null | string | undefined)",
|
|
10784
|
+
value: input.asset
|
|
10785
|
+
}), undefined === input.connection || "string" === typeof input.connection || _report(_exceptionable, {
|
|
10786
|
+
path: _path + ".connection",
|
|
10787
|
+
expected: "(string | undefined)",
|
|
10788
|
+
value: input.connection
|
|
10789
|
+
}), undefined === input.render || ("object" === typeof input.render && null !== input.render || _report(_exceptionable, {
|
|
10790
|
+
path: _path + ".render",
|
|
10791
|
+
expected: "(PublishRenderBase | undefined)",
|
|
10792
|
+
value: input.render
|
|
10793
|
+
})) && _vo1(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
10794
|
+
path: _path + ".render",
|
|
10795
|
+
expected: "(PublishRenderBase | undefined)",
|
|
10796
|
+
value: input.render
|
|
10797
|
+
}), true, true, true, null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
10798
|
+
path: _path + ".error",
|
|
10799
|
+
expected: "(__type.o9 | null | undefined)",
|
|
10800
|
+
value: input.error
|
|
10801
|
+
})) && _vo15(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
10802
|
+
path: _path + ".error",
|
|
10803
|
+
expected: "(__type.o9 | null | undefined)",
|
|
10804
|
+
value: input.error
|
|
10805
|
+
}), undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
10806
|
+
path: _path + ".messages",
|
|
10807
|
+
expected: "(Array<Message> | undefined)",
|
|
10808
|
+
value: input.messages
|
|
10809
|
+
})) && input.messages.map((elem, _index13) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
10810
|
+
path: _path + ".messages[" + _index13 + "]",
|
|
10811
|
+
expected: "Message",
|
|
10812
|
+
value: elem
|
|
10813
|
+
})) && _vo16(elem, _path + ".messages[" + _index13 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
10814
|
+
path: _path + ".messages[" + _index13 + "]",
|
|
10815
|
+
expected: "Message",
|
|
10816
|
+
value: elem
|
|
10817
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
10818
|
+
path: _path + ".messages",
|
|
10819
|
+
expected: "(Array<Message> | undefined)",
|
|
10820
|
+
value: input.messages
|
|
10821
|
+
})].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => [undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
8949
10822
|
path: _path + ".type",
|
|
8950
|
-
expected: "\"file\"",
|
|
10823
|
+
expected: "(\"file\" | undefined)",
|
|
8951
10824
|
value: input.type
|
|
8952
10825
|
}), undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
8953
10826
|
path: _path + ".directory",
|
|
@@ -9001,7 +10874,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9001
10874
|
path: _path + ".render",
|
|
9002
10875
|
expected: "(PublishRenderBase | undefined)",
|
|
9003
10876
|
value: input.render
|
|
9004
|
-
})) &&
|
|
10877
|
+
})) && _vo1(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
9005
10878
|
path: _path + ".render",
|
|
9006
10879
|
expected: "(PublishRenderBase | undefined)",
|
|
9007
10880
|
value: input.render
|
|
@@ -9009,7 +10882,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9009
10882
|
path: _path + ".error",
|
|
9010
10883
|
expected: "(__type.o9 | null | undefined)",
|
|
9011
10884
|
value: input.error
|
|
9012
|
-
})) &&
|
|
10885
|
+
})) && _vo15(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
9013
10886
|
path: _path + ".error",
|
|
9014
10887
|
expected: "(__type.o9 | null | undefined)",
|
|
9015
10888
|
value: input.error
|
|
@@ -9017,12 +10890,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
9017
10890
|
path: _path + ".messages",
|
|
9018
10891
|
expected: "(Array<Message> | undefined)",
|
|
9019
10892
|
value: input.messages
|
|
9020
|
-
})) && input.messages.map((elem,
|
|
9021
|
-
path: _path + ".messages[" +
|
|
10893
|
+
})) && input.messages.map((elem, _index14) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
10894
|
+
path: _path + ".messages[" + _index14 + "]",
|
|
9022
10895
|
expected: "Message",
|
|
9023
10896
|
value: elem
|
|
9024
|
-
})) &&
|
|
9025
|
-
path: _path + ".messages[" +
|
|
10897
|
+
})) && _vo16(elem, _path + ".messages[" + _index14 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
10898
|
+
path: _path + ".messages[" + _index14 + "]",
|
|
9026
10899
|
expected: "Message",
|
|
9027
10900
|
value: elem
|
|
9028
10901
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -9078,7 +10951,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9078
10951
|
path: _path + ".scene",
|
|
9079
10952
|
expected: "(RenderSceneObject | undefined)",
|
|
9080
10953
|
value: input.scene
|
|
9081
|
-
})) &&
|
|
10954
|
+
})) && _vo2(input.scene, _path + ".scene", true && _exceptionable) || _report(_exceptionable, {
|
|
9082
10955
|
path: _path + ".scene",
|
|
9083
10956
|
expected: "(RenderSceneObject | undefined)",
|
|
9084
10957
|
value: input.scene
|
|
@@ -9086,7 +10959,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9086
10959
|
path: _path + ".profile",
|
|
9087
10960
|
expected: "(RenderProfileObject | undefined)",
|
|
9088
10961
|
value: input.profile
|
|
9089
|
-
})) &&
|
|
10962
|
+
})) && _vo10(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
9090
10963
|
path: _path + ".profile",
|
|
9091
10964
|
expected: "(RenderProfileObject | undefined)",
|
|
9092
10965
|
value: input.profile
|
|
@@ -9106,7 +10979,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9106
10979
|
path: _path + ".__returnValue",
|
|
9107
10980
|
expected: "ResolvedFilePublishRender",
|
|
9108
10981
|
value: input.__returnValue
|
|
9109
|
-
})].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => [("object" === typeof input.publish && null !== input.publish || _report(_exceptionable, {
|
|
10982
|
+
})].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => [("object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) || _report(_exceptionable, {
|
|
9110
10983
|
path: _path + ".publish",
|
|
9111
10984
|
expected: "FilePublishRecord",
|
|
9112
10985
|
value: input.publish
|
|
@@ -9167,12 +11040,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
9167
11040
|
path: _path + ".messages",
|
|
9168
11041
|
expected: "(Array<Message> | undefined)",
|
|
9169
11042
|
value: input.messages
|
|
9170
|
-
})) && input.messages.map((elem,
|
|
9171
|
-
path: _path + ".messages[" +
|
|
11043
|
+
})) && input.messages.map((elem, _index15) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
11044
|
+
path: _path + ".messages[" + _index15 + "]",
|
|
9172
11045
|
expected: "Message",
|
|
9173
11046
|
value: elem
|
|
9174
|
-
})) &&
|
|
9175
|
-
path: _path + ".messages[" +
|
|
11047
|
+
})) && _vo16(elem, _path + ".messages[" + _index15 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
11048
|
+
path: _path + ".messages[" + _index15 + "]",
|
|
9176
11049
|
expected: "Message",
|
|
9177
11050
|
value: elem
|
|
9178
11051
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -9199,9 +11072,9 @@ function _validateDomainRecord(domain, input) {
|
|
|
9199
11072
|
path: _path + ".filename",
|
|
9200
11073
|
expected: "string",
|
|
9201
11074
|
value: input.filename
|
|
9202
|
-
})].every(flag => flag); const _vo28 = (input, _path, _exceptionable = true) => ["file" === input.type || _report(_exceptionable, {
|
|
11075
|
+
})].every(flag => flag); const _vo28 = (input, _path, _exceptionable = true) => [undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
9203
11076
|
path: _path + ".type",
|
|
9204
|
-
expected: "\"file\"",
|
|
11077
|
+
expected: "(\"file\" | undefined)",
|
|
9205
11078
|
value: input.type
|
|
9206
11079
|
}), undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
9207
11080
|
path: _path + ".directory",
|
|
@@ -9255,7 +11128,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9255
11128
|
path: _path + ".render",
|
|
9256
11129
|
expected: "(PublishRenderBase | undefined)",
|
|
9257
11130
|
value: input.render
|
|
9258
|
-
})) &&
|
|
11131
|
+
})) && _vo1(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
9259
11132
|
path: _path + ".render",
|
|
9260
11133
|
expected: "(PublishRenderBase | undefined)",
|
|
9261
11134
|
value: input.render
|
|
@@ -9263,7 +11136,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9263
11136
|
path: _path + ".error",
|
|
9264
11137
|
expected: "(__type.o9 | null | undefined)",
|
|
9265
11138
|
value: input.error
|
|
9266
|
-
})) &&
|
|
11139
|
+
})) && _vo15(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
9267
11140
|
path: _path + ".error",
|
|
9268
11141
|
expected: "(__type.o9 | null | undefined)",
|
|
9269
11142
|
value: input.error
|
|
@@ -9271,12 +11144,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
9271
11144
|
path: _path + ".messages",
|
|
9272
11145
|
expected: "(Array<Message> | undefined)",
|
|
9273
11146
|
value: input.messages
|
|
9274
|
-
})) && input.messages.map((elem,
|
|
9275
|
-
path: _path + ".messages[" +
|
|
11147
|
+
})) && input.messages.map((elem, _index16) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
11148
|
+
path: _path + ".messages[" + _index16 + "]",
|
|
9276
11149
|
expected: "Message",
|
|
9277
11150
|
value: elem
|
|
9278
|
-
})) &&
|
|
9279
|
-
path: _path + ".messages[" +
|
|
11151
|
+
})) && _vo16(elem, _path + ".messages[" + _index16 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
11152
|
+
path: _path + ".messages[" + _index16 + "]",
|
|
9280
11153
|
expected: "Message",
|
|
9281
11154
|
value: elem
|
|
9282
11155
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -9330,9 +11203,9 @@ function _validateDomainRecord(domain, input) {
|
|
|
9330
11203
|
path: _path + ".path",
|
|
9331
11204
|
expected: "string",
|
|
9332
11205
|
value: input.path
|
|
9333
|
-
})].every(flag => flag); const _vo32 = (input, _path, _exceptionable = true) => ["youtube" === input.type || _report(_exceptionable, {
|
|
11206
|
+
})].every(flag => flag); const _vo32 = (input, _path, _exceptionable = true) => [undefined === input.type || "youtube" === input.type || _report(_exceptionable, {
|
|
9334
11207
|
path: _path + ".type",
|
|
9335
|
-
expected: "\"youtube\"",
|
|
11208
|
+
expected: "(\"youtube\" | undefined)",
|
|
9336
11209
|
value: input.type
|
|
9337
11210
|
}), undefined === input.draft || ("object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) || _report(_exceptionable, {
|
|
9338
11211
|
path: _path + ".draft",
|
|
@@ -9354,7 +11227,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9354
11227
|
path: _path + ".render",
|
|
9355
11228
|
expected: "(PublishRenderBase | undefined)",
|
|
9356
11229
|
value: input.render
|
|
9357
|
-
})) &&
|
|
11230
|
+
})) && _vo1(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
9358
11231
|
path: _path + ".render",
|
|
9359
11232
|
expected: "(PublishRenderBase | undefined)",
|
|
9360
11233
|
value: input.render
|
|
@@ -9362,7 +11235,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9362
11235
|
path: _path + ".error",
|
|
9363
11236
|
expected: "(__type.o9 | null | undefined)",
|
|
9364
11237
|
value: input.error
|
|
9365
|
-
})) &&
|
|
11238
|
+
})) && _vo15(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
9366
11239
|
path: _path + ".error",
|
|
9367
11240
|
expected: "(__type.o9 | null | undefined)",
|
|
9368
11241
|
value: input.error
|
|
@@ -9370,12 +11243,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
9370
11243
|
path: _path + ".messages",
|
|
9371
11244
|
expected: "(Array<Message> | undefined)",
|
|
9372
11245
|
value: input.messages
|
|
9373
|
-
})) && input.messages.map((elem,
|
|
9374
|
-
path: _path + ".messages[" +
|
|
11246
|
+
})) && input.messages.map((elem, _index17) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
11247
|
+
path: _path + ".messages[" + _index17 + "]",
|
|
9375
11248
|
expected: "Message",
|
|
9376
11249
|
value: elem
|
|
9377
|
-
})) &&
|
|
9378
|
-
path: _path + ".messages[" +
|
|
11250
|
+
})) && _vo16(elem, _path + ".messages[" + _index17 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
11251
|
+
path: _path + ".messages[" + _index17 + "]",
|
|
9379
11252
|
expected: "Message",
|
|
9380
11253
|
value: elem
|
|
9381
11254
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -9398,8 +11271,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
9398
11271
|
path: _path + ".tags",
|
|
9399
11272
|
expected: "(Array<string> | undefined)",
|
|
9400
11273
|
value: input.tags
|
|
9401
|
-
})) && input.tags.map((elem,
|
|
9402
|
-
path: _path + ".tags[" +
|
|
11274
|
+
})) && input.tags.map((elem, _index18) => "string" === typeof elem || _report(_exceptionable, {
|
|
11275
|
+
path: _path + ".tags[" + _index18 + "]",
|
|
9403
11276
|
expected: "string",
|
|
9404
11277
|
value: elem
|
|
9405
11278
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -9421,20 +11294,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
9421
11294
|
expected: "(ResolvedFilePublishRender | __type.o10)",
|
|
9422
11295
|
value: input
|
|
9423
11296
|
});
|
|
9424
|
-
})(); const _vu1 = (input, _path, _exceptionable = true) => (() => {
|
|
9425
|
-
if (undefined !== input.type && null === input.type)
|
|
9426
|
-
return _vo0(input, _path, true && _exceptionable);
|
|
9427
|
-
else if ("facebook" === input.type)
|
|
9428
|
-
return _vo1(input, _path, true && _exceptionable);
|
|
9429
|
-
else if ("youtube" === input.type)
|
|
9430
|
-
return _vo32(input, _path, true && _exceptionable);
|
|
9431
|
-
else
|
|
9432
|
-
return _vo28(input, _path, false && _exceptionable) || _vo18(input, _path, false && _exceptionable);
|
|
9433
|
-
})(); const __is = input => "object" === typeof input && null !== input && _iu1(input); let errors; let _report; return input => {
|
|
11297
|
+
})(); const _vu1 = (input, _path, _exceptionable = true) => _vo0(input, _path, false && _exceptionable) || _vo17(input, _path, false && _exceptionable) || _vo28(input, _path, false && _exceptionable) || _vo18(input, _path, false && _exceptionable) || _vo32(input, _path, false && _exceptionable); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _iu1(input); let errors; let _report; return input => {
|
|
9434
11298
|
if (false === __is(input)) {
|
|
9435
11299
|
errors = [];
|
|
9436
11300
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
9437
|
-
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
11301
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
9438
11302
|
path: _path + "",
|
|
9439
11303
|
expected: "(EmptyPublishRecord | FacebookPublishRecord | FilePublishRecord | FilePublishRecordLegacy | YoutubePublishRecord)",
|
|
9440
11304
|
value: input
|
|
@@ -9475,7 +11339,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9475
11339
|
if (undefined === value)
|
|
9476
11340
|
return true;
|
|
9477
11341
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io13(value);
|
|
9478
|
-
}); const _io13 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io14(input.styleOverrides)); const _io14 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io15 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io16(input.crop); const _io16 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io17 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io18 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io19(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io20(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io21(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io22(input.subtitle))); const _io19 = input => "string" === typeof input.engine; const _io20 = input => "string" === typeof input.language; const _io21 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io22 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _io23 = input => "object" === typeof input.__context && null !== input.__context && _io24(input.__context) && ("object" === typeof input.__returnValue && null !== input.__returnValue && _io9(input.__returnValue)); const _io24 = input => "object" === typeof input.publish && null !== input.publish && _io25(input.publish) && "string" === typeof input.directory && "string" === typeof input.name; const _io25 = input => "file" === input.type && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io8(input.renders)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io26(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io27(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io30(input.published)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io31(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io32(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io26 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename); const _io27 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io28(input.renders)); const _io28 = input => Object.keys(input).every(key => {
|
|
11342
|
+
}); const _io13 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io14(input.styleOverrides)); const _io14 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io15 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io16(input.crop); const _io16 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io17 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io18 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io19(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io20(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io21(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io22(input.subtitle))); const _io19 = input => "string" === typeof input.engine; const _io20 = input => "string" === typeof input.language; const _io21 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io22 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _io23 = input => "object" === typeof input.__context && null !== input.__context && _io24(input.__context) && ("object" === typeof input.__returnValue && null !== input.__returnValue && _io9(input.__returnValue)); const _io24 = input => "object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) && _io25(input.publish) && "string" === typeof input.directory && "string" === typeof input.name; const _io25 = input => (undefined === input.type || "file" === input.type) && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io8(input.renders)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io26(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io27(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io30(input.published)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io31(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io32(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io26 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename); const _io27 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io28(input.renders)); const _io28 = input => Object.keys(input).every(key => {
|
|
9479
11343
|
const value = input[key];
|
|
9480
11344
|
if (undefined === value)
|
|
9481
11345
|
return true;
|
|
@@ -10034,7 +11898,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10034
11898
|
path: _path + ".__returnValue",
|
|
10035
11899
|
expected: "ResolvedFilePublishRender",
|
|
10036
11900
|
value: input.__returnValue
|
|
10037
|
-
})].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => [("object" === typeof input.publish && null !== input.publish || _report(_exceptionable, {
|
|
11901
|
+
})].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => [("object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) || _report(_exceptionable, {
|
|
10038
11902
|
path: _path + ".publish",
|
|
10039
11903
|
expected: "FilePublishRecord",
|
|
10040
11904
|
value: input.publish
|
|
@@ -10050,9 +11914,9 @@ function _validateDomainRecord(domain, input) {
|
|
|
10050
11914
|
path: _path + ".name",
|
|
10051
11915
|
expected: "string",
|
|
10052
11916
|
value: input.name
|
|
10053
|
-
})].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => ["file" === input.type || _report(_exceptionable, {
|
|
11917
|
+
})].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => [undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
10054
11918
|
path: _path + ".type",
|
|
10055
|
-
expected: "\"file\"",
|
|
11919
|
+
expected: "(\"file\" | undefined)",
|
|
10056
11920
|
value: input.type
|
|
10057
11921
|
}), undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
10058
11922
|
path: _path + ".directory",
|
|
@@ -12476,7 +14340,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12476
14340
|
}; })()(input);
|
|
12477
14341
|
}
|
|
12478
14342
|
case ":settings": {
|
|
12479
|
-
return (() => { const
|
|
14343
|
+
return (() => { const _iv21 = new Set(["name", "fontname", "fontsize", "primaryColour", "secondaryColour", "outlineColour", "backColour", "bold", "italic", "underline", "strikeOut", "scaleX", "scaleY", "spacing", "angle", "borderStyle", "outline", "shadow", "alignment", "marginL", "marginR", "marginV", "encoding"]); const _iv25 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]); const _vv51 = new Set(["name", "fontname", "fontsize", "primaryColour", "secondaryColour", "outlineColour", "backColour", "bold", "italic", "underline", "strikeOut", "scaleX", "scaleY", "spacing", "angle", "borderStyle", "outline", "shadow", "alignment", "marginL", "marginR", "marginV", "encoding"]); const _vv55 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]); const _io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime) && (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && _io1(input.permission)) && (undefined === input["module"] || "object" === typeof input["module"] && null !== input["module"] && false === Array.isArray(input["module"]) && _io2(input["module"])) && (undefined === input.upload || "object" === typeof input.upload && null !== input.upload && false === Array.isArray(input.upload) && _io6(input.upload)) && (undefined === input.download || "object" === typeof input.download && null !== input.download && false === Array.isArray(input.download) && _io7(input.download)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && _io8(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && _io12(input.toolbarTags)) && (undefined === input.exclusiveTagGroups || Array.isArray(input.exclusiveTagGroups) && input.exclusiveTagGroups.every(elem => Array.isArray(elem) && elem.every(elem => "string" === typeof elem))) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && _io13(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && _io14(input.assignees)) && (undefined === input.comments || "object" === typeof input.comments && null !== input.comments && false === Array.isArray(input.comments) && _io15(input.comments)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && _io16(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && _io17(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && _io18(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && _io19(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io24(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && _io27(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && _io28(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.keymap || "object" === typeof input.keymap && null !== input.keymap && false === Array.isArray(input.keymap) && _io29(input.keymap)) && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && _io42(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && _io55(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io57(elem))) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && _io58(input.storyboard)) && (undefined === input.print || "object" === typeof input.print && null !== input.print && false === Array.isArray(input.print) && _io67(input.print)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io68(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && _io69(input.plugins)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen) && (undefined === input.debug || "boolean" === typeof input.debug) && (undefined === input.featurePreview || "object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) && _io72(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && _io73(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && _io74(input.notifications)) && (undefined === input.suppressDeleteAlert || "boolean" === typeof input.suppressDeleteAlert); const _io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin); const _io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && _io3(input.tabs); const _io3 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && _io4(input.settingsPanelStore)) && Object.keys(input).every(key => {
|
|
12480
14344
|
if (["settingsPanelStore"].some(prop => key === prop))
|
|
12481
14345
|
return true;
|
|
12482
14346
|
const value = input[key];
|
|
@@ -12548,7 +14412,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12548
14412
|
if (undefined === value)
|
|
12549
14413
|
return true;
|
|
12550
14414
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io31(value);
|
|
12551
|
-
}); const _io42 = input => (undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && _io43(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && _io44(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && _io45(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io48(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && _io49(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io50(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && _io54(input.openCommand))); const _io43 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe); const _io44 = input => (undefined === input.preview || "disabled" === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "boolean" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress); const _io45 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine) && (undefined === input.suggestions || Array.isArray(input.suggestions) && input.suggestions.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io46(elem))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io47(elem))); const _io46 = input => (null === input.ifAspectRatio || undefined === input.ifAspectRatio || "string" === typeof input.ifAspectRatio) && (null === input.ifLang || undefined === input.ifLang || "string" === typeof input.ifLang) && (null === input.thenStyle || undefined === input.thenStyle || "string" === typeof input.thenStyle) && (null === input.thenMaxCharactersPerLine || undefined === input.thenMaxCharactersPerLine || "number" === typeof input.thenMaxCharactersPerLine); const _io47 = input => (null === input.label || undefined === input.label || "string" === typeof input.label) && (null === input.color || undefined === input.color || "string" === typeof input.color); const _io48 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.aspectRatio || "string" === typeof input.aspectRatio); const _io49 = input => (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.defaultEnterOption || "edit" === input.defaultEnterOption || "createNew" === input.defaultEnterOption || "none" === input.defaultEnterOption) && (undefined === input.defaultExitOption || "none" === input.defaultExitOption || "update" === input.defaultExitOption || "leave" === input.defaultExitOption); const _io50 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && _io51(input.subtitleDisclaimer); const _io51 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && _io52(input.defaultValue)); const _io52 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io53(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration); const _io53 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.value || "string" === typeof input.value); const _io54 = input => (undefined === input.url || "string" === typeof input.url) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.app || "string" === typeof input.app) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io55 = input => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && (undefined === input.voiceOver || "object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) && _io56(input.voiceOver)); const _io56 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.backgroundReductionDb || "number" === typeof input.backgroundReductionDb) && (undefined === input.recordMode || "instant" === input.recordMode || "punchAndRoll" === input.recordMode) && (undefined === input.preRollDuration || "number" === typeof input.preRollDuration); const _io57 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io58 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && _io59(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && _io60(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && _io64(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && _io66(input.item)); const _io59 = input => undefined === input.auto || "boolean" === typeof input.auto; const _io60 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && _io61(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && _io63(input.note)); const _io61 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && _io62(input.excerpt); const _io62 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode) && (undefined === input.comments || "boolean" === typeof input.comments); const _io63 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight; const _io64 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && _io65(input.search)) && (undefined === input.sortMode || true === _iv23.has(input.sortMode)); const _io65 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed; const _io66 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight; const _io67 = input => undefined === input.fontFamilies || Array.isArray(input.fontFamilies) && input.fontFamilies.every(elem => "string" === typeof elem); const _io68 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.folded || "boolean" === typeof input.folded); const _io69 = input => (undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && _io70(input.adobe)) && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && _io71(input.rive)); const _io70 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies; const _io71 = input => undefined === input.template || "string" === typeof input.template; const _io72 = input => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering); const _io73 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings) && (undefined === input.multiplexWebSockets || "boolean" === typeof input.multiplexWebSockets) && (undefined === input.systemHealth || "boolean" === typeof input.systemHealth); const _io74 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io75(input.events); const _io75 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && _io76(input.publishSucceeded)); const _io76 = input => Object.keys(input).every(key => {
|
|
14415
|
+
}); const _io42 = input => (undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && _io43(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && _io44(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && _io45(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io48(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && _io49(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io50(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && _io54(input.openCommand))); const _io43 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe); const _io44 = input => (undefined === input.preview || "disabled" === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "boolean" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress); const _io45 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine) && (undefined === input.suggestions || Array.isArray(input.suggestions) && input.suggestions.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io46(elem))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io47(elem))) && (undefined === input.overridableProperties || Array.isArray(input.overridableProperties) && input.overridableProperties.every(elem => null === elem || true === _iv21.has(elem))); const _io46 = input => (null === input.ifAspectRatio || undefined === input.ifAspectRatio || "string" === typeof input.ifAspectRatio) && (null === input.ifLang || undefined === input.ifLang || "string" === typeof input.ifLang) && (null === input.thenStyle || undefined === input.thenStyle || "string" === typeof input.thenStyle) && (null === input.thenMaxCharactersPerLine || undefined === input.thenMaxCharactersPerLine || "number" === typeof input.thenMaxCharactersPerLine); const _io47 = input => (null === input.label || undefined === input.label || "string" === typeof input.label) && (null === input.color || undefined === input.color || "string" === typeof input.color); const _io48 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.aspectRatio || "string" === typeof input.aspectRatio); const _io49 = input => (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.defaultEnterOption || "edit" === input.defaultEnterOption || "createNew" === input.defaultEnterOption || "none" === input.defaultEnterOption) && (undefined === input.defaultExitOption || "none" === input.defaultExitOption || "update" === input.defaultExitOption || "leave" === input.defaultExitOption); const _io50 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && _io51(input.subtitleDisclaimer); const _io51 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && _io52(input.defaultValue)); const _io52 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io53(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration); const _io53 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.value || "string" === typeof input.value); const _io54 = input => (undefined === input.url || "string" === typeof input.url) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.app || "string" === typeof input.app) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io55 = input => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && (undefined === input.voiceOver || "object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) && _io56(input.voiceOver)); const _io56 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.backgroundReductionDb || "number" === typeof input.backgroundReductionDb) && (undefined === input.recordMode || "instant" === input.recordMode || "punchAndRoll" === input.recordMode) && (undefined === input.preRollDuration || "number" === typeof input.preRollDuration); const _io57 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io58 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && _io59(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && _io60(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && _io64(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && _io66(input.item)); const _io59 = input => undefined === input.auto || "boolean" === typeof input.auto; const _io60 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && _io61(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && _io63(input.note)); const _io61 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && _io62(input.excerpt); const _io62 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode) && (undefined === input.comments || "boolean" === typeof input.comments); const _io63 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight; const _io64 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && _io65(input.search)) && (undefined === input.sortMode || true === _iv25.has(input.sortMode)); const _io65 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed; const _io66 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight; const _io67 = input => undefined === input.fontFamilies || Array.isArray(input.fontFamilies) && input.fontFamilies.every(elem => "string" === typeof elem); const _io68 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.folded || "boolean" === typeof input.folded); const _io69 = input => (undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && _io70(input.adobe)) && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && _io71(input.rive)); const _io70 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies; const _io71 = input => undefined === input.template || "string" === typeof input.template; const _io72 = input => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering); const _io73 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings) && (undefined === input.multiplexWebSockets || "boolean" === typeof input.multiplexWebSockets) && (undefined === input.systemHealth || "boolean" === typeof input.systemHealth); const _io74 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io75(input.events); const _io75 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && _io76(input.publishSucceeded)); const _io76 = input => Object.keys(input).every(key => {
|
|
12552
14416
|
const value = input[key];
|
|
12553
14417
|
if (undefined === value)
|
|
12554
14418
|
return true;
|
|
@@ -12609,16 +14473,16 @@ function _validateDomainRecord(domain, input) {
|
|
|
12609
14473
|
path: _path + ".exclusiveTagGroups",
|
|
12610
14474
|
expected: "(Array<Array<string>> | undefined)",
|
|
12611
14475
|
value: input.exclusiveTagGroups
|
|
12612
|
-
})) && input.exclusiveTagGroups.map((elem,
|
|
12613
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
14476
|
+
})) && input.exclusiveTagGroups.map((elem, _index31) => (Array.isArray(elem) || _report(_exceptionable, {
|
|
14477
|
+
path: _path + ".exclusiveTagGroups[" + _index31 + "]",
|
|
12614
14478
|
expected: "Array<string>",
|
|
12615
14479
|
value: elem
|
|
12616
|
-
})) && elem.map((elem,
|
|
12617
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
14480
|
+
})) && elem.map((elem, _index32) => "string" === typeof elem || _report(_exceptionable, {
|
|
14481
|
+
path: _path + ".exclusiveTagGroups[" + _index31 + "][" + _index32 + "]",
|
|
12618
14482
|
expected: "string",
|
|
12619
14483
|
value: elem
|
|
12620
14484
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
12621
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
14485
|
+
path: _path + ".exclusiveTagGroups[" + _index31 + "]",
|
|
12622
14486
|
expected: "Array<string>",
|
|
12623
14487
|
value: elem
|
|
12624
14488
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -12737,12 +14601,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
12737
14601
|
path: _path + ".commands",
|
|
12738
14602
|
expected: "(Array<__type>.o4 | undefined)",
|
|
12739
14603
|
value: input.commands
|
|
12740
|
-
})) && input.commands.map((elem,
|
|
12741
|
-
path: _path + ".commands[" +
|
|
14604
|
+
})) && input.commands.map((elem, _index33) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
14605
|
+
path: _path + ".commands[" + _index33 + "]",
|
|
12742
14606
|
expected: "__type.o50",
|
|
12743
14607
|
value: elem
|
|
12744
|
-
})) && _vo57(elem, _path + ".commands[" +
|
|
12745
|
-
path: _path + ".commands[" +
|
|
14608
|
+
})) && _vo57(elem, _path + ".commands[" + _index33 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
14609
|
+
path: _path + ".commands[" + _index33 + "]",
|
|
12746
14610
|
expected: "__type.o50",
|
|
12747
14611
|
value: elem
|
|
12748
14612
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -12753,8 +14617,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
12753
14617
|
path: _path + ".predefinedTags",
|
|
12754
14618
|
expected: "(Array<string> | undefined)",
|
|
12755
14619
|
value: input.predefinedTags
|
|
12756
|
-
})) && input.predefinedTags.map((elem,
|
|
12757
|
-
path: _path + ".predefinedTags[" +
|
|
14620
|
+
})) && input.predefinedTags.map((elem, _index34) => "string" === typeof elem || _report(_exceptionable, {
|
|
14621
|
+
path: _path + ".predefinedTags[" + _index34 + "]",
|
|
12758
14622
|
expected: "string",
|
|
12759
14623
|
value: elem
|
|
12760
14624
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -12781,12 +14645,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
12781
14645
|
path: _path + ".hiddenPreviews",
|
|
12782
14646
|
expected: "(Array<__type>.o5 | undefined)",
|
|
12783
14647
|
value: input.hiddenPreviews
|
|
12784
|
-
})) && input.hiddenPreviews.map((elem,
|
|
12785
|
-
path: _path + ".hiddenPreviews[" +
|
|
14648
|
+
})) && input.hiddenPreviews.map((elem, _index35) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
14649
|
+
path: _path + ".hiddenPreviews[" + _index35 + "]",
|
|
12786
14650
|
expected: "__type.o61",
|
|
12787
14651
|
value: elem
|
|
12788
|
-
})) && _vo68(elem, _path + ".hiddenPreviews[" +
|
|
12789
|
-
path: _path + ".hiddenPreviews[" +
|
|
14652
|
+
})) && _vo68(elem, _path + ".hiddenPreviews[" + _index35 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
14653
|
+
path: _path + ".hiddenPreviews[" + _index35 + "]",
|
|
12790
14654
|
expected: "__type.o61",
|
|
12791
14655
|
value: elem
|
|
12792
14656
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -12952,8 +14816,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
12952
14816
|
path: _path + ".sortOrder",
|
|
12953
14817
|
expected: "(Array<string> | undefined)",
|
|
12954
14818
|
value: input.sortOrder
|
|
12955
|
-
})) && input.sortOrder.map((elem,
|
|
12956
|
-
path: _path + ".sortOrder[" +
|
|
14819
|
+
})) && input.sortOrder.map((elem, _index36) => "string" === typeof elem || _report(_exceptionable, {
|
|
14820
|
+
path: _path + ".sortOrder[" + _index36 + "]",
|
|
12957
14821
|
expected: "string",
|
|
12958
14822
|
value: elem
|
|
12959
14823
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -12964,8 +14828,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
12964
14828
|
path: _path + ".exclude",
|
|
12965
14829
|
expected: "(Array<string> | undefined)",
|
|
12966
14830
|
value: input.exclude
|
|
12967
|
-
})) && input.exclude.map((elem,
|
|
12968
|
-
path: _path + ".exclude[" +
|
|
14831
|
+
})) && input.exclude.map((elem, _index37) => "string" === typeof elem || _report(_exceptionable, {
|
|
14832
|
+
path: _path + ".exclude[" + _index37 + "]",
|
|
12969
14833
|
expected: "string",
|
|
12970
14834
|
value: elem
|
|
12971
14835
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -12976,8 +14840,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
12976
14840
|
path: _path + ".include",
|
|
12977
14841
|
expected: "(Array<string> | undefined)",
|
|
12978
14842
|
value: input.include
|
|
12979
|
-
})) && input.include.map((elem,
|
|
12980
|
-
path: _path + ".include[" +
|
|
14843
|
+
})) && input.include.map((elem, _index38) => "string" === typeof elem || _report(_exceptionable, {
|
|
14844
|
+
path: _path + ".include[" + _index38 + "]",
|
|
12981
14845
|
expected: "string",
|
|
12982
14846
|
value: elem
|
|
12983
14847
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -12988,8 +14852,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
12988
14852
|
path: _path + ".exclude",
|
|
12989
14853
|
expected: "(Array<string> | undefined)",
|
|
12990
14854
|
value: input.exclude
|
|
12991
|
-
})) && input.exclude.map((elem,
|
|
12992
|
-
path: _path + ".exclude[" +
|
|
14855
|
+
})) && input.exclude.map((elem, _index39) => "string" === typeof elem || _report(_exceptionable, {
|
|
14856
|
+
path: _path + ".exclude[" + _index39 + "]",
|
|
12993
14857
|
expected: "string",
|
|
12994
14858
|
value: elem
|
|
12995
14859
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -13000,8 +14864,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
13000
14864
|
path: _path + ".include",
|
|
13001
14865
|
expected: "(Array<string> | undefined)",
|
|
13002
14866
|
value: input.include
|
|
13003
|
-
})) && input.include.map((elem,
|
|
13004
|
-
path: _path + ".include[" +
|
|
14867
|
+
})) && input.include.map((elem, _index40) => "string" === typeof elem || _report(_exceptionable, {
|
|
14868
|
+
path: _path + ".include[" + _index40 + "]",
|
|
13005
14869
|
expected: "string",
|
|
13006
14870
|
value: elem
|
|
13007
14871
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -13012,8 +14876,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
13012
14876
|
path: _path + ".exclude",
|
|
13013
14877
|
expected: "(Array<string> | undefined)",
|
|
13014
14878
|
value: input.exclude
|
|
13015
|
-
})) && input.exclude.map((elem,
|
|
13016
|
-
path: _path + ".exclude[" +
|
|
14879
|
+
})) && input.exclude.map((elem, _index41) => "string" === typeof elem || _report(_exceptionable, {
|
|
14880
|
+
path: _path + ".exclude[" + _index41 + "]",
|
|
13017
14881
|
expected: "string",
|
|
13018
14882
|
value: elem
|
|
13019
14883
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -13024,8 +14888,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
13024
14888
|
path: _path + ".include",
|
|
13025
14889
|
expected: "(Array<string> | undefined)",
|
|
13026
14890
|
value: input.include
|
|
13027
|
-
})) && input.include.map((elem,
|
|
13028
|
-
path: _path + ".include[" +
|
|
14891
|
+
})) && input.include.map((elem, _index42) => "string" === typeof elem || _report(_exceptionable, {
|
|
14892
|
+
path: _path + ".include[" + _index42 + "]",
|
|
13029
14893
|
expected: "string",
|
|
13030
14894
|
value: elem
|
|
13031
14895
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -13036,8 +14900,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
13036
14900
|
path: _path + ".exclude",
|
|
13037
14901
|
expected: "(Array<string> | undefined)",
|
|
13038
14902
|
value: input.exclude
|
|
13039
|
-
})) && input.exclude.map((elem,
|
|
13040
|
-
path: _path + ".exclude[" +
|
|
14903
|
+
})) && input.exclude.map((elem, _index43) => "string" === typeof elem || _report(_exceptionable, {
|
|
14904
|
+
path: _path + ".exclude[" + _index43 + "]",
|
|
13041
14905
|
expected: "string",
|
|
13042
14906
|
value: elem
|
|
13043
14907
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -13100,12 +14964,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
13100
14964
|
path: _path + ".colorTags",
|
|
13101
14965
|
expected: "(Array<PromotedTag> | undefined)",
|
|
13102
14966
|
value: input.colorTags
|
|
13103
|
-
})) && input.colorTags.map((elem,
|
|
13104
|
-
path: _path + ".colorTags[" +
|
|
14967
|
+
})) && input.colorTags.map((elem, _index44) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
14968
|
+
path: _path + ".colorTags[" + _index44 + "]",
|
|
13105
14969
|
expected: "PromotedTag",
|
|
13106
14970
|
value: elem
|
|
13107
|
-
})) && _vo21(elem, _path + ".colorTags[" +
|
|
13108
|
-
path: _path + ".colorTags[" +
|
|
14971
|
+
})) && _vo21(elem, _path + ".colorTags[" + _index44 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
14972
|
+
path: _path + ".colorTags[" + _index44 + "]",
|
|
13109
14973
|
expected: "PromotedTag",
|
|
13110
14974
|
value: elem
|
|
13111
14975
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -13181,8 +15045,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
13181
15045
|
path: _path + ".favorites",
|
|
13182
15046
|
expected: "(Array<string> | undefined)",
|
|
13183
15047
|
value: input.favorites
|
|
13184
|
-
})) && input.favorites.map((elem,
|
|
13185
|
-
path: _path + ".favorites[" +
|
|
15048
|
+
})) && input.favorites.map((elem, _index45) => "string" === typeof elem || _report(_exceptionable, {
|
|
15049
|
+
path: _path + ".favorites[" + _index45 + "]",
|
|
13186
15050
|
expected: "string",
|
|
13187
15051
|
value: elem
|
|
13188
15052
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -13529,8 +15393,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
13529
15393
|
path: _path + ".playbackRates",
|
|
13530
15394
|
expected: "(Array<number> | undefined)",
|
|
13531
15395
|
value: input.playbackRates
|
|
13532
|
-
})) && input.playbackRates.map((elem,
|
|
13533
|
-
path: _path + ".playbackRates[" +
|
|
15396
|
+
})) && input.playbackRates.map((elem, _index46) => "number" === typeof elem || _report(_exceptionable, {
|
|
15397
|
+
path: _path + ".playbackRates[" + _index46 + "]",
|
|
13534
15398
|
expected: "number",
|
|
13535
15399
|
value: elem
|
|
13536
15400
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -13557,12 +15421,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
13557
15421
|
path: _path + ".guides",
|
|
13558
15422
|
expected: "(Array<__type>.o2 | undefined)",
|
|
13559
15423
|
value: input.guides
|
|
13560
|
-
})) && input.guides.map((elem,
|
|
13561
|
-
path: _path + ".guides[" +
|
|
15424
|
+
})) && input.guides.map((elem, _index47) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
15425
|
+
path: _path + ".guides[" + _index47 + "]",
|
|
13562
15426
|
expected: "__type.o41",
|
|
13563
15427
|
value: elem
|
|
13564
|
-
})) && _vo48(elem, _path + ".guides[" +
|
|
13565
|
-
path: _path + ".guides[" +
|
|
15428
|
+
})) && _vo48(elem, _path + ".guides[" + _index47 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
15429
|
+
path: _path + ".guides[" + _index47 + "]",
|
|
13566
15430
|
expected: "__type.o41",
|
|
13567
15431
|
value: elem
|
|
13568
15432
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -13633,12 +15497,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
13633
15497
|
path: _path + ".suggestions",
|
|
13634
15498
|
expected: "(Array<__type> | undefined)",
|
|
13635
15499
|
value: input.suggestions
|
|
13636
|
-
})) && input.suggestions.map((elem,
|
|
13637
|
-
path: _path + ".suggestions[" +
|
|
15500
|
+
})) && input.suggestions.map((elem, _index48) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
15501
|
+
path: _path + ".suggestions[" + _index48 + "]",
|
|
13638
15502
|
expected: "__type.o39",
|
|
13639
15503
|
value: elem
|
|
13640
|
-
})) && _vo46(elem, _path + ".suggestions[" +
|
|
13641
|
-
path: _path + ".suggestions[" +
|
|
15504
|
+
})) && _vo46(elem, _path + ".suggestions[" + _index48 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
15505
|
+
path: _path + ".suggestions[" + _index48 + "]",
|
|
13642
15506
|
expected: "__type.o39",
|
|
13643
15507
|
value: elem
|
|
13644
15508
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -13649,18 +15513,30 @@ function _validateDomainRecord(domain, input) {
|
|
|
13649
15513
|
path: _path + ".colors",
|
|
13650
15514
|
expected: "(Array<__type>.o1 | undefined)",
|
|
13651
15515
|
value: input.colors
|
|
13652
|
-
})) && input.colors.map((elem,
|
|
13653
|
-
path: _path + ".colors[" +
|
|
15516
|
+
})) && input.colors.map((elem, _index49) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
15517
|
+
path: _path + ".colors[" + _index49 + "]",
|
|
13654
15518
|
expected: "__type.o40",
|
|
13655
15519
|
value: elem
|
|
13656
|
-
})) && _vo47(elem, _path + ".colors[" +
|
|
13657
|
-
path: _path + ".colors[" +
|
|
15520
|
+
})) && _vo47(elem, _path + ".colors[" + _index49 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
15521
|
+
path: _path + ".colors[" + _index49 + "]",
|
|
13658
15522
|
expected: "__type.o40",
|
|
13659
15523
|
value: elem
|
|
13660
15524
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
13661
15525
|
path: _path + ".colors",
|
|
13662
15526
|
expected: "(Array<__type>.o1 | undefined)",
|
|
13663
15527
|
value: input.colors
|
|
15528
|
+
}), undefined === input.overridableProperties || (Array.isArray(input.overridableProperties) || _report(_exceptionable, {
|
|
15529
|
+
path: _path + ".overridableProperties",
|
|
15530
|
+
expected: "(Array<keyof SubtitleStyle | null> | undefined)",
|
|
15531
|
+
value: input.overridableProperties
|
|
15532
|
+
})) && input.overridableProperties.map((elem, _index50) => null === elem || true === _vv51.has(elem) || _report(_exceptionable, {
|
|
15533
|
+
path: _path + ".overridableProperties[" + _index50 + "]",
|
|
15534
|
+
expected: "(\"alignment\" | \"angle\" | \"backColour\" | \"bold\" | \"borderStyle\" | \"encoding\" | \"fontname\" | \"fontsize\" | \"italic\" | \"marginL\" | \"marginR\" | \"marginV\" | \"name\" | \"outline\" | \"outlineColour\" | \"primaryColour\" | \"scaleX\" | \"scaleY\" | \"secondaryColour\" | \"shadow\" | \"spacing\" | \"strikeOut\" | \"underline\" | null)",
|
|
15535
|
+
value: elem
|
|
15536
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
15537
|
+
path: _path + ".overridableProperties",
|
|
15538
|
+
expected: "(Array<keyof SubtitleStyle | null> | undefined)",
|
|
15539
|
+
value: input.overridableProperties
|
|
13664
15540
|
})].every(flag => flag); const _vo46 = (input, _path, _exceptionable = true) => [null === input.ifAspectRatio || undefined === input.ifAspectRatio || "string" === typeof input.ifAspectRatio || _report(_exceptionable, {
|
|
13665
15541
|
path: _path + ".ifAspectRatio",
|
|
13666
15542
|
expected: "(null | string | undefined)",
|
|
@@ -13733,12 +15609,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
13733
15609
|
path: _path + ".text",
|
|
13734
15610
|
expected: "(Array<__type>.o3 | undefined)",
|
|
13735
15611
|
value: input.text
|
|
13736
|
-
})) && input.text.map((elem,
|
|
13737
|
-
path: _path + ".text[" +
|
|
15612
|
+
})) && input.text.map((elem, _index52) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
15613
|
+
path: _path + ".text[" + _index52 + "]",
|
|
13738
15614
|
expected: "__type.o46",
|
|
13739
15615
|
value: elem
|
|
13740
|
-
})) && _vo53(elem, _path + ".text[" +
|
|
13741
|
-
path: _path + ".text[" +
|
|
15616
|
+
})) && _vo53(elem, _path + ".text[" + _index52 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
15617
|
+
path: _path + ".text[" + _index52 + "]",
|
|
13742
15618
|
expected: "__type.o46",
|
|
13743
15619
|
value: elem
|
|
13744
15620
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -13777,8 +15653,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
13777
15653
|
path: _path + ".args",
|
|
13778
15654
|
expected: "(Array<string> | undefined)",
|
|
13779
15655
|
value: input.args
|
|
13780
|
-
})) && input.args.map((elem,
|
|
13781
|
-
path: _path + ".args[" +
|
|
15656
|
+
})) && input.args.map((elem, _index53) => "string" === typeof elem || _report(_exceptionable, {
|
|
15657
|
+
path: _path + ".args[" + _index53 + "]",
|
|
13782
15658
|
expected: "string",
|
|
13783
15659
|
value: elem
|
|
13784
15660
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -13829,8 +15705,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
13829
15705
|
path: _path + ".args",
|
|
13830
15706
|
expected: "(Array<string> | undefined)",
|
|
13831
15707
|
value: input.args
|
|
13832
|
-
})) && input.args.map((elem,
|
|
13833
|
-
path: _path + ".args[" +
|
|
15708
|
+
})) && input.args.map((elem, _index54) => "string" === typeof elem || _report(_exceptionable, {
|
|
15709
|
+
path: _path + ".args[" + _index54 + "]",
|
|
13834
15710
|
expected: "string",
|
|
13835
15711
|
value: elem
|
|
13836
15712
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -13921,7 +15797,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13921
15797
|
path: _path + ".search",
|
|
13922
15798
|
expected: "(__type.o58 | undefined)",
|
|
13923
15799
|
value: input.search
|
|
13924
|
-
}), undefined === input.sortMode || true ===
|
|
15800
|
+
}), undefined === input.sortMode || true === _vv55.has(input.sortMode) || _report(_exceptionable, {
|
|
13925
15801
|
path: _path + ".sortMode",
|
|
13926
15802
|
expected: "(\"az\" | \"default\" | \"earliestdeadline\" | \"latestdeadline\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
|
|
13927
15803
|
value: input.sortMode
|
|
@@ -13937,8 +15813,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
13937
15813
|
path: _path + ".fontFamilies",
|
|
13938
15814
|
expected: "(Array<string> | undefined)",
|
|
13939
15815
|
value: input.fontFamilies
|
|
13940
|
-
})) && input.fontFamilies.map((elem,
|
|
13941
|
-
path: _path + ".fontFamilies[" +
|
|
15816
|
+
})) && input.fontFamilies.map((elem, _index56) => "string" === typeof elem || _report(_exceptionable, {
|
|
15817
|
+
path: _path + ".fontFamilies[" + _index56 + "]",
|
|
13942
15818
|
expected: "string",
|
|
13943
15819
|
value: elem
|
|
13944
15820
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14069,8 +15945,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
14069
15945
|
path: _path + ".comment",
|
|
14070
15946
|
expected: "(Array<NotificationReason> | undefined)",
|
|
14071
15947
|
value: input.comment
|
|
14072
|
-
})) && input.comment.map((elem,
|
|
14073
|
-
path: _path + ".comment[" +
|
|
15948
|
+
})) && input.comment.map((elem, _index57) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
15949
|
+
path: _path + ".comment[" + _index57 + "]",
|
|
14074
15950
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
14075
15951
|
value: elem
|
|
14076
15952
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14081,8 +15957,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
14081
15957
|
path: _path + ".assigned",
|
|
14082
15958
|
expected: "(Array<NotificationReason> | undefined)",
|
|
14083
15959
|
value: input.assigned
|
|
14084
|
-
})) && input.assigned.map((elem,
|
|
14085
|
-
path: _path + ".assigned[" +
|
|
15960
|
+
})) && input.assigned.map((elem, _index58) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
15961
|
+
path: _path + ".assigned[" + _index58 + "]",
|
|
14086
15962
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
14087
15963
|
value: elem
|
|
14088
15964
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14093,8 +15969,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
14093
15969
|
path: _path + ".unassigned",
|
|
14094
15970
|
expected: "(Array<NotificationReason> | undefined)",
|
|
14095
15971
|
value: input.unassigned
|
|
14096
|
-
})) && input.unassigned.map((elem,
|
|
14097
|
-
path: _path + ".unassigned[" +
|
|
15972
|
+
})) && input.unassigned.map((elem, _index59) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
15973
|
+
path: _path + ".unassigned[" + _index59 + "]",
|
|
14098
15974
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
14099
15975
|
value: elem
|
|
14100
15976
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14117,8 +15993,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
14117
15993
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
14118
15994
|
expected: "Array<NotificationReason>",
|
|
14119
15995
|
value: value
|
|
14120
|
-
})) && value.map((elem,
|
|
14121
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" +
|
|
15996
|
+
})) && value.map((elem, _index60) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
15997
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index60 + "]",
|
|
14122
15998
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
14123
15999
|
value: elem
|
|
14124
16000
|
})).every(flag => flag) || _report(_exceptionable, {
|