@nxtedition/types 23.0.50 → 23.0.52
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/file.d.ts +1 -0
- package/dist/common/file.js +7 -2
- package/dist/common/settings.d.ts +1 -0
- package/dist/nxtpression.d.ts +157 -63
- package/dist/records/domains/connection/empty.d.ts +7 -0
- package/dist/records/domains/connection/facebook.d.ts +8 -0
- package/dist/records/domains/connection/file/ftp.d.ts +9 -0
- package/dist/records/domains/connection/file/ftp.js +1 -0
- package/dist/records/domains/connection/file/index.d.ts +29 -0
- package/dist/records/domains/connection/file/index.js +4 -0
- package/dist/records/domains/connection/file/s3.d.ts +6 -0
- package/dist/records/domains/connection/file/s3.js +1 -0
- package/dist/records/domains/connection/file/sftp.d.ts +12 -0
- package/dist/records/domains/connection/file/sftp.js +1 -0
- package/dist/records/domains/connection/file/smb.d.ts +9 -0
- package/dist/records/domains/connection/file/smb.js +1 -0
- package/dist/records/domains/connection/index.d.ts +38 -0
- package/dist/records/domains/connection/index.js +4 -0
- package/dist/records/domains/connection/reuters.d.ts +10 -0
- package/dist/records/domains/connection/reuters.js +1 -0
- package/dist/records/domains/general.d.ts +16 -0
- package/dist/records/domains/index.d.ts +4 -4
- package/dist/records/domains/index.js +2 -2
- package/dist/records/domains/publish/empty.d.ts +8 -0
- package/dist/records/domains/publish/empty.js +1 -0
- package/dist/records/domains/publish/facebook.d.ts +11 -0
- package/dist/records/domains/publish/facebook.js +1 -0
- package/dist/records/domains/publish/file-legacy.d.ts +26 -0
- package/dist/records/domains/publish/file-legacy.js +1 -0
- package/dist/records/domains/publish/file.d.ts +66 -0
- package/dist/records/domains/publish/file.js +1 -0
- package/dist/records/domains/publish/index.d.ts +66 -0
- package/dist/records/domains/publish/index.js +5 -0
- package/dist/records/domains/publish/youtube.d.ts +16 -0
- package/dist/records/domains/publish/youtube.js +1 -0
- package/dist/records/exact/storage.d.ts +1 -1
- package/dist/records/validate/assert-guard.js +570 -687
- package/dist/records/validate/assert.js +579 -694
- package/dist/records/validate/is.js +51 -109
- package/dist/records/validate/schemas.js +421 -380
- package/dist/records/validate/stringify.js +74 -155
- package/dist/records/validate/utils.d.ts +2 -0
- package/dist/records/validate/utils.js +3 -0
- package/dist/records/validate/validate-equals.js +961 -819
- package/dist/records/validate/validate.js +550 -638
- package/package.json +1 -1
- package/dist/records/domains/connection.d.ts +0 -77
- package/dist/records/domains/publish.d.ts +0 -149
- /package/dist/records/domains/{connection.js → connection/empty.js} +0 -0
- /package/dist/records/domains/{publish.js → connection/facebook.js} +0 -0
|
@@ -1672,7 +1672,7 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
1672
1672
|
if (undefined === value)
|
|
1673
1673
|
return true;
|
|
1674
1674
|
return "object" === typeof value && null !== value && _io1(value, true && _exceptionable);
|
|
1675
|
-
}); const _io1 = (input, _exceptionable = true) => "string" === typeof input.id && "string" === typeof input.location && "string" === typeof input.timestamp && "string" === typeof input.type && "string" === typeof input.zone && (null === input.free || "number" === typeof input.free) && (null === input.size || "number" === typeof input.size) && (null === input.available || "number" === typeof input.available) && (null === input.cache || "boolean" === typeof input.cache) && (null === input.capacity || "number" === typeof input.capacity) && "string" === typeof input.origin && (Array.isArray(input.allows) && input.allows.every((elem, _index1) => "get" === elem || "put" === elem || "del" === elem)) && ("object" === typeof input.net && null !== input.net && _io2(input.net, true && _exceptionable)) && "number" === typeof input.latency && (
|
|
1675
|
+
}); const _io1 = (input, _exceptionable = true) => "string" === typeof input.id && "string" === typeof input.location && "string" === typeof input.timestamp && "string" === typeof input.type && "string" === typeof input.zone && (null === input.free || "number" === typeof input.free) && (null === input.size || "number" === typeof input.size) && (null === input.available || "number" === typeof input.available) && (null === input.cache || "boolean" === typeof input.cache) && (null === input.capacity || "number" === typeof input.capacity) && "string" === typeof input.origin && (Array.isArray(input.allows) && input.allows.every((elem, _index1) => "get" === elem || "put" === elem || "del" === elem)) && (undefined === input.net || "object" === typeof input.net && null !== input.net && _io2(input.net, true && _exceptionable)) && "number" === typeof input.latency && (13 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
1676
1676
|
if (["id", "location", "timestamp", "type", "zone", "free", "size", "available", "cache", "capacity", "origin", "allows", "net", "latency"].some(prop => key === prop))
|
|
1677
1677
|
return true;
|
|
1678
1678
|
const value = input[key];
|
|
@@ -1755,19 +1755,19 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
1755
1755
|
path: _path + ".allows",
|
|
1756
1756
|
expected: "Array<\"get\" | \"put\" | \"del\">",
|
|
1757
1757
|
value: input.allows
|
|
1758
|
-
}), ("object" === typeof input.net && null !== input.net || _report(_exceptionable, {
|
|
1758
|
+
}), undefined === input.net || ("object" === typeof input.net && null !== input.net || _report(_exceptionable, {
|
|
1759
1759
|
path: _path + ".net",
|
|
1760
|
-
expected: "__type",
|
|
1760
|
+
expected: "(__type | undefined)",
|
|
1761
1761
|
value: input.net
|
|
1762
1762
|
})) && _vo2(input.net, _path + ".net", true && _exceptionable) || _report(_exceptionable, {
|
|
1763
1763
|
path: _path + ".net",
|
|
1764
|
-
expected: "__type",
|
|
1764
|
+
expected: "(__type | undefined)",
|
|
1765
1765
|
value: input.net
|
|
1766
1766
|
}), "number" === typeof input.latency || _report(_exceptionable, {
|
|
1767
1767
|
path: _path + ".latency",
|
|
1768
1768
|
expected: "number",
|
|
1769
1769
|
value: input.latency
|
|
1770
|
-
}),
|
|
1770
|
+
}), 13 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
1771
1771
|
if (["id", "location", "timestamp", "type", "zone", "free", "size", "available", "cache", "capacity", "origin", "allows", "net", "latency"].some(prop => key === prop))
|
|
1772
1772
|
return true;
|
|
1773
1773
|
const value = input[key];
|
|
@@ -6029,8 +6029,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
6029
6029
|
}; })()(input);
|
|
6030
6030
|
}
|
|
6031
6031
|
case ":connection": {
|
|
6032
|
-
return (() => { const _io0 = (input, _exceptionable = true) => "
|
|
6033
|
-
if (["protocol", "
|
|
6032
|
+
return (() => { const _io0 = (input, _exceptionable = true) => "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, true && _exceptionable)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled) && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6033
|
+
if (["protocol", "host", "username", "password", "utf8", "timezone", "type", "port", "ignoreMissing", "concurrency", "stabilityThreshold", "pollInterval", "listConcurrency", "metafile", "userNotificationsEnabled"].some(prop => key === prop))
|
|
6034
6034
|
return true;
|
|
6035
6035
|
const value = input[key];
|
|
6036
6036
|
if (undefined === value)
|
|
@@ -6043,8 +6043,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
6043
6043
|
if (undefined === value)
|
|
6044
6044
|
return true;
|
|
6045
6045
|
return false;
|
|
6046
|
-
})); const _io2 = (input, _exceptionable = true) => "
|
|
6047
|
-
if (["protocol", "
|
|
6046
|
+
})); const _io2 = (input, _exceptionable = true) => "s3" === input.protocol && true && (undefined === input.bucket || "string" === typeof input.bucket) && "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 && _io1(input.metafile, true && _exceptionable)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled) && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6047
|
+
if (["protocol", "client", "bucket", "type", "host", "port", "ignoreMissing", "concurrency", "stabilityThreshold", "pollInterval", "listConcurrency", "metafile", "userNotificationsEnabled"].some(prop => key === prop))
|
|
6048
6048
|
return true;
|
|
6049
6049
|
const value = input[key];
|
|
6050
6050
|
if (undefined === value)
|
|
@@ -6064,51 +6064,72 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
6064
6064
|
if (undefined === value)
|
|
6065
6065
|
return true;
|
|
6066
6066
|
return false;
|
|
6067
|
-
})); const _io5 = (input, _exceptionable = true) => "
|
|
6067
|
+
})); const _io5 = (input, _exceptionable = true) => "facebook" === input.type && (undefined === input.grantedScopes || Array.isArray(input.grantedScopes) && input.grantedScopes.every((elem, _index1) => "string" === typeof elem)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6068
|
+
if (["type", "grantedScopes", "userNotificationsEnabled"].some(prop => key === prop))
|
|
6069
|
+
return true;
|
|
6070
|
+
const value = input[key];
|
|
6071
|
+
if (undefined === value)
|
|
6072
|
+
return true;
|
|
6073
|
+
return false;
|
|
6074
|
+
})); const _io6 = (input, _exceptionable = true) => "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) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6068
6075
|
if (["type", "clientId", "clientSecret", "audience", "userNotificationsEnabled"].some(prop => key === prop))
|
|
6069
6076
|
return true;
|
|
6070
6077
|
const value = input[key];
|
|
6071
6078
|
if (undefined === value)
|
|
6072
6079
|
return true;
|
|
6073
6080
|
return false;
|
|
6074
|
-
})); const
|
|
6075
|
-
if (["type", "
|
|
6081
|
+
})); const _io7 = (input, _exceptionable = true) => undefined !== input.type && null === input.type && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6082
|
+
if (["type", "userNotificationsEnabled"].some(prop => key === prop))
|
|
6076
6083
|
return true;
|
|
6077
6084
|
const value = input[key];
|
|
6078
6085
|
if (undefined === value)
|
|
6079
6086
|
return true;
|
|
6080
6087
|
return false;
|
|
6081
6088
|
})); const _iu0 = (input, _exceptionable = true) => (() => {
|
|
6082
|
-
if ("
|
|
6089
|
+
if ("ftp" === input.protocol)
|
|
6083
6090
|
return _io0(input, true && _exceptionable);
|
|
6084
|
-
else if ("
|
|
6091
|
+
else if ("s3" === input.protocol)
|
|
6085
6092
|
return _io2(input, true && _exceptionable);
|
|
6086
6093
|
else if ("smb" === input.protocol)
|
|
6087
6094
|
return _io3(input, true && _exceptionable);
|
|
6088
6095
|
else if ("sftp" === input.protocol)
|
|
6089
6096
|
return _io4(input, true && _exceptionable);
|
|
6090
|
-
else if ("reuters" === input.type)
|
|
6091
|
-
return _io5(input, true && _exceptionable);
|
|
6092
6097
|
else if ("facebook" === input.type)
|
|
6098
|
+
return _io5(input, true && _exceptionable);
|
|
6099
|
+
else if ("reuters" === input.type)
|
|
6093
6100
|
return _io6(input, true && _exceptionable);
|
|
6101
|
+
else if (undefined !== input.type && null === input.type)
|
|
6102
|
+
return _io7(input, true && _exceptionable);
|
|
6094
6103
|
else
|
|
6095
6104
|
return false;
|
|
6096
|
-
})(); const _vo0 = (input, _path, _exceptionable = true) => ["
|
|
6105
|
+
})(); const _vo0 = (input, _path, _exceptionable = true) => ["ftp" === input.protocol || _report(_exceptionable, {
|
|
6097
6106
|
path: _path + ".protocol",
|
|
6098
|
-
expected: "\"
|
|
6107
|
+
expected: "\"ftp\"",
|
|
6099
6108
|
value: input.protocol
|
|
6100
|
-
}),
|
|
6101
|
-
path: _path + ".
|
|
6109
|
+
}), "string" === typeof input.host || _report(_exceptionable, {
|
|
6110
|
+
path: _path + ".host",
|
|
6111
|
+
expected: "string",
|
|
6112
|
+
value: input.host
|
|
6113
|
+
}), undefined === input.username || "string" === typeof input.username || _report(_exceptionable, {
|
|
6114
|
+
path: _path + ".username",
|
|
6102
6115
|
expected: "(string | undefined)",
|
|
6103
|
-
value: input.
|
|
6116
|
+
value: input.username
|
|
6117
|
+
}), undefined === input.password || "string" === typeof input.password || _report(_exceptionable, {
|
|
6118
|
+
path: _path + ".password",
|
|
6119
|
+
expected: "(string | undefined)",
|
|
6120
|
+
value: input.password
|
|
6121
|
+
}), undefined === input.utf8 || "boolean" === typeof input.utf8 || _report(_exceptionable, {
|
|
6122
|
+
path: _path + ".utf8",
|
|
6123
|
+
expected: "(boolean | undefined)",
|
|
6124
|
+
value: input.utf8
|
|
6125
|
+
}), undefined === input.timezone || "string" === typeof input.timezone || _report(_exceptionable, {
|
|
6126
|
+
path: _path + ".timezone",
|
|
6127
|
+
expected: "(string | undefined)",
|
|
6128
|
+
value: input.timezone
|
|
6104
6129
|
}), "file" === input.type || _report(_exceptionable, {
|
|
6105
6130
|
path: _path + ".type",
|
|
6106
6131
|
expected: "\"file\"",
|
|
6107
6132
|
value: input.type
|
|
6108
|
-
}), undefined === input.host || "string" === typeof input.host || _report(_exceptionable, {
|
|
6109
|
-
path: _path + ".host",
|
|
6110
|
-
expected: "(string | undefined)",
|
|
6111
|
-
value: input.host
|
|
6112
6133
|
}), undefined === input.port || "string" === typeof input.port || "number" === typeof input.port || _report(_exceptionable, {
|
|
6113
6134
|
path: _path + ".port",
|
|
6114
6135
|
expected: "(number | string | undefined)",
|
|
@@ -6145,8 +6166,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
6145
6166
|
path: _path + ".userNotificationsEnabled",
|
|
6146
6167
|
expected: "(boolean | undefined)",
|
|
6147
6168
|
value: input.userNotificationsEnabled
|
|
6148
|
-
}),
|
|
6149
|
-
if (["protocol", "
|
|
6169
|
+
}), 3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
6170
|
+
if (["protocol", "host", "username", "password", "utf8", "timezone", "type", "port", "ignoreMissing", "concurrency", "stabilityThreshold", "pollInterval", "listConcurrency", "metafile", "userNotificationsEnabled"].some(prop => key === prop))
|
|
6150
6171
|
return true;
|
|
6151
6172
|
const value = input[key];
|
|
6152
6173
|
if (undefined === value)
|
|
@@ -6181,34 +6202,22 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
6181
6202
|
"Please remove the property next time."
|
|
6182
6203
|
].join("\n")
|
|
6183
6204
|
});
|
|
6184
|
-
}).every(flag => flag))].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => ["
|
|
6205
|
+
}).every(flag => flag))].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => ["s3" === input.protocol || _report(_exceptionable, {
|
|
6185
6206
|
path: _path + ".protocol",
|
|
6186
|
-
expected: "\"
|
|
6207
|
+
expected: "\"s3\"",
|
|
6187
6208
|
value: input.protocol
|
|
6188
|
-
}), "string" === typeof input.
|
|
6189
|
-
path: _path + ".
|
|
6190
|
-
expected: "string",
|
|
6191
|
-
value: input.host
|
|
6192
|
-
}), undefined === input.username || "string" === typeof input.username || _report(_exceptionable, {
|
|
6193
|
-
path: _path + ".username",
|
|
6194
|
-
expected: "(string | undefined)",
|
|
6195
|
-
value: input.username
|
|
6196
|
-
}), undefined === input.password || "string" === typeof input.password || _report(_exceptionable, {
|
|
6197
|
-
path: _path + ".password",
|
|
6198
|
-
expected: "(string | undefined)",
|
|
6199
|
-
value: input.password
|
|
6200
|
-
}), undefined === input.utf8 || "boolean" === typeof input.utf8 || _report(_exceptionable, {
|
|
6201
|
-
path: _path + ".utf8",
|
|
6202
|
-
expected: "(boolean | undefined)",
|
|
6203
|
-
value: input.utf8
|
|
6204
|
-
}), undefined === input.timezone || "string" === typeof input.timezone || _report(_exceptionable, {
|
|
6205
|
-
path: _path + ".timezone",
|
|
6209
|
+
}), true, undefined === input.bucket || "string" === typeof input.bucket || _report(_exceptionable, {
|
|
6210
|
+
path: _path + ".bucket",
|
|
6206
6211
|
expected: "(string | undefined)",
|
|
6207
|
-
value: input.
|
|
6212
|
+
value: input.bucket
|
|
6208
6213
|
}), "file" === input.type || _report(_exceptionable, {
|
|
6209
6214
|
path: _path + ".type",
|
|
6210
6215
|
expected: "\"file\"",
|
|
6211
6216
|
value: input.type
|
|
6217
|
+
}), undefined === input.host || "string" === typeof input.host || _report(_exceptionable, {
|
|
6218
|
+
path: _path + ".host",
|
|
6219
|
+
expected: "(string | undefined)",
|
|
6220
|
+
value: input.host
|
|
6212
6221
|
}), undefined === input.port || "string" === typeof input.port || "number" === typeof input.port || _report(_exceptionable, {
|
|
6213
6222
|
path: _path + ".port",
|
|
6214
6223
|
expected: "(number | string | undefined)",
|
|
@@ -6245,8 +6254,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
6245
6254
|
path: _path + ".userNotificationsEnabled",
|
|
6246
6255
|
expected: "(boolean | undefined)",
|
|
6247
6256
|
value: input.userNotificationsEnabled
|
|
6248
|
-
}),
|
|
6249
|
-
if (["protocol", "
|
|
6257
|
+
}), 2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
6258
|
+
if (["protocol", "client", "bucket", "type", "host", "port", "ignoreMissing", "concurrency", "stabilityThreshold", "pollInterval", "listConcurrency", "metafile", "userNotificationsEnabled"].some(prop => key === prop))
|
|
6250
6259
|
return true;
|
|
6251
6260
|
const value = input[key];
|
|
6252
6261
|
if (undefined === value)
|
|
@@ -6433,7 +6442,43 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
6433
6442
|
"Please remove the property next time."
|
|
6434
6443
|
].join("\n")
|
|
6435
6444
|
});
|
|
6436
|
-
}).every(flag => flag))].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => ["
|
|
6445
|
+
}).every(flag => flag))].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => ["facebook" === input.type || _report(_exceptionable, {
|
|
6446
|
+
path: _path + ".type",
|
|
6447
|
+
expected: "\"facebook\"",
|
|
6448
|
+
value: input.type
|
|
6449
|
+
}), undefined === input.grantedScopes || (Array.isArray(input.grantedScopes) || _report(_exceptionable, {
|
|
6450
|
+
path: _path + ".grantedScopes",
|
|
6451
|
+
expected: "(Array<string> | undefined)",
|
|
6452
|
+
value: input.grantedScopes
|
|
6453
|
+
})) && input.grantedScopes.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
|
|
6454
|
+
path: _path + ".grantedScopes[" + _index2 + "]",
|
|
6455
|
+
expected: "string",
|
|
6456
|
+
value: elem
|
|
6457
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
6458
|
+
path: _path + ".grantedScopes",
|
|
6459
|
+
expected: "(Array<string> | undefined)",
|
|
6460
|
+
value: input.grantedScopes
|
|
6461
|
+
}), undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled || _report(_exceptionable, {
|
|
6462
|
+
path: _path + ".userNotificationsEnabled",
|
|
6463
|
+
expected: "(boolean | undefined)",
|
|
6464
|
+
value: input.userNotificationsEnabled
|
|
6465
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
6466
|
+
if (["type", "grantedScopes", "userNotificationsEnabled"].some(prop => key === prop))
|
|
6467
|
+
return true;
|
|
6468
|
+
const value = input[key];
|
|
6469
|
+
if (undefined === value)
|
|
6470
|
+
return true;
|
|
6471
|
+
return _report(_exceptionable, {
|
|
6472
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
6473
|
+
expected: "undefined",
|
|
6474
|
+
value: value,
|
|
6475
|
+
description: [
|
|
6476
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
6477
|
+
"",
|
|
6478
|
+
"Please remove the property next time."
|
|
6479
|
+
].join("\n")
|
|
6480
|
+
});
|
|
6481
|
+
}).every(flag => flag))].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["reuters" === input.type || _report(_exceptionable, {
|
|
6437
6482
|
path: _path + ".type",
|
|
6438
6483
|
expected: "\"reuters\"",
|
|
6439
6484
|
value: input.type
|
|
@@ -6469,28 +6514,20 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
6469
6514
|
"Please remove the property next time."
|
|
6470
6515
|
].join("\n")
|
|
6471
6516
|
});
|
|
6472
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
6517
|
+
}).every(flag => flag))].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [(undefined !== input.type || _report(_exceptionable, {
|
|
6473
6518
|
path: _path + ".type",
|
|
6474
|
-
expected: "
|
|
6519
|
+
expected: "null",
|
|
6475
6520
|
value: input.type
|
|
6476
|
-
})
|
|
6477
|
-
path: _path + ".
|
|
6478
|
-
expected: "
|
|
6479
|
-
value: input.
|
|
6480
|
-
}))
|
|
6481
|
-
path: _path + ".grantedScopes[" + _index2 + "]",
|
|
6482
|
-
expected: "string",
|
|
6483
|
-
value: elem
|
|
6484
|
-
})).every(flag => flag) || _report(_exceptionable, {
|
|
6485
|
-
path: _path + ".grantedScopes",
|
|
6486
|
-
expected: "(Array<string> | undefined)",
|
|
6487
|
-
value: input.grantedScopes
|
|
6488
|
-
}), undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled || _report(_exceptionable, {
|
|
6521
|
+
})) && (null === input.type || _report(_exceptionable, {
|
|
6522
|
+
path: _path + ".type",
|
|
6523
|
+
expected: "null",
|
|
6524
|
+
value: input.type
|
|
6525
|
+
})), undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled || _report(_exceptionable, {
|
|
6489
6526
|
path: _path + ".userNotificationsEnabled",
|
|
6490
6527
|
expected: "(boolean | undefined)",
|
|
6491
6528
|
value: input.userNotificationsEnabled
|
|
6492
6529
|
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
6493
|
-
if (["type", "
|
|
6530
|
+
if (["type", "userNotificationsEnabled"].some(prop => key === prop))
|
|
6494
6531
|
return true;
|
|
6495
6532
|
const value = input[key];
|
|
6496
6533
|
if (undefined === value)
|
|
@@ -6506,22 +6543,24 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
6506
6543
|
].join("\n")
|
|
6507
6544
|
});
|
|
6508
6545
|
}).every(flag => flag))].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
6509
|
-
if ("
|
|
6546
|
+
if ("ftp" === input.protocol)
|
|
6510
6547
|
return _vo0(input, _path, true && _exceptionable);
|
|
6511
|
-
else if ("
|
|
6548
|
+
else if ("s3" === input.protocol)
|
|
6512
6549
|
return _vo2(input, _path, true && _exceptionable);
|
|
6513
6550
|
else if ("smb" === input.protocol)
|
|
6514
6551
|
return _vo3(input, _path, true && _exceptionable);
|
|
6515
6552
|
else if ("sftp" === input.protocol)
|
|
6516
6553
|
return _vo4(input, _path, true && _exceptionable);
|
|
6517
|
-
else if ("reuters" === input.type)
|
|
6518
|
-
return _vo5(input, _path, true && _exceptionable);
|
|
6519
6554
|
else if ("facebook" === input.type)
|
|
6555
|
+
return _vo5(input, _path, true && _exceptionable);
|
|
6556
|
+
else if ("reuters" === input.type)
|
|
6520
6557
|
return _vo6(input, _path, true && _exceptionable);
|
|
6558
|
+
else if (undefined !== input.type && null === input.type)
|
|
6559
|
+
return _vo7(input, _path, true && _exceptionable);
|
|
6521
6560
|
else
|
|
6522
6561
|
return _report(_exceptionable, {
|
|
6523
6562
|
path: _path,
|
|
6524
|
-
expected: "(
|
|
6563
|
+
expected: "(FileConnectionFtpRecord | FileConnectionS3Record | FileConnectionSmbRecord | FileConnectionSftpRecord | FacebookConnectionRecord | ReutersConnectionRecord | EmptyConnectionRecord)",
|
|
6525
6564
|
value: input
|
|
6526
6565
|
});
|
|
6527
6566
|
})(); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && _iu0(input, true); let errors; let _report; return input => {
|
|
@@ -6530,11 +6569,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
6530
6569
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
6531
6570
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
6532
6571
|
path: _path + "",
|
|
6533
|
-
expected: "(FacebookConnectionRecord | FileConnectionFtpRecord | FileConnectionS3Record | FileConnectionSftpRecord | FileConnectionSmbRecord | ReutersConnectionRecord)",
|
|
6572
|
+
expected: "(EmptyConnectionRecord | FacebookConnectionRecord | FileConnectionFtpRecord | FileConnectionS3Record | FileConnectionSftpRecord | FileConnectionSmbRecord | ReutersConnectionRecord)",
|
|
6534
6573
|
value: input
|
|
6535
6574
|
})) && _vu0(input, _path + "", true) || _report(true, {
|
|
6536
6575
|
path: _path + "",
|
|
6537
|
-
expected: "(FacebookConnectionRecord | FileConnectionFtpRecord | FileConnectionS3Record | FileConnectionSftpRecord | FileConnectionSmbRecord | ReutersConnectionRecord)",
|
|
6576
|
+
expected: "(EmptyConnectionRecord | FacebookConnectionRecord | FileConnectionFtpRecord | FileConnectionS3Record | FileConnectionSftpRecord | FileConnectionSmbRecord | ReutersConnectionRecord)",
|
|
6538
6577
|
value: input
|
|
6539
6578
|
}))(input, "$input", true);
|
|
6540
6579
|
const success = 0 === errors.length;
|
|
@@ -6597,11 +6636,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
6597
6636
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
6598
6637
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
6599
6638
|
path: _path + "",
|
|
6600
|
-
expected: "
|
|
6639
|
+
expected: "ConnectionMethodsBase",
|
|
6601
6640
|
value: input
|
|
6602
6641
|
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
6603
6642
|
path: _path + "",
|
|
6604
|
-
expected: "
|
|
6643
|
+
expected: "ConnectionMethodsBase",
|
|
6605
6644
|
value: input
|
|
6606
6645
|
}))(input, "$input", true);
|
|
6607
6646
|
const success = 0 === errors.length;
|
|
@@ -6697,11 +6736,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
6697
6736
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
6698
6737
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
6699
6738
|
path: _path + "",
|
|
6700
|
-
expected: "
|
|
6739
|
+
expected: "ConnectionStatsBase",
|
|
6701
6740
|
value: input
|
|
6702
6741
|
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
6703
6742
|
path: _path + "",
|
|
6704
|
-
expected: "
|
|
6743
|
+
expected: "ConnectionStatsBase",
|
|
6705
6744
|
value: input
|
|
6706
6745
|
}))(input, "$input", true);
|
|
6707
6746
|
const success = 0 === errors.length;
|
|
@@ -8184,8 +8223,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
8184
8223
|
}; })()(input);
|
|
8185
8224
|
}
|
|
8186
8225
|
case ":file.stats?": {
|
|
8187
|
-
return (() => { const _io0 = (input, _exceptionable = true) => (null === input.position || "number" === typeof input.position && (0 <= input.position && __typia_transform__isTypeUint64._isTypeUint64(input.position))) && (null === input.uploading || "boolean" === typeof input.uploading) && (Array.isArray(input.zones) && input.zones.every((elem, _index1) => "string" === typeof elem)) && (Array.isArray(input.replicas) && input.replicas.every((elem, _index2) => "string" === typeof elem)) && (Array.isArray(input.locations) && input.locations.every((elem, _index3) => "string" === typeof elem)) && (Array.isArray(input.ranges) && input.ranges.every((elem, _index4) => Array.isArray(elem) && (elem.length === 2 && ("number" === typeof elem[0] && 0 <= elem[0]) && ("number" === typeof elem[1] && 0 <= elem[1])))) && (undefined === input.progress || "number" === typeof input.progress && (0 <= input.progress && input.progress <= 1)) && (undefined === input.speed || "number" === typeof input.speed && 0 <= input.speed) && ("string" === typeof input.id && RegExp("^[0-9A-Za-z~][0-9A-Za-z~._: -]*$").test(input.id)) && (null === input.size || "number" === typeof input.size && (0 <= input.size && __typia_transform__isTypeUint64._isTypeUint64(input.size))) && "boolean" === typeof input.seekable && "boolean" === typeof input.deleted && (Array.isArray(input.refs) && input.refs.every((elem, _index5) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem, true && _exceptionable))) && (Array.isArray(input.tags) && input.tags.every((elem, _index6) => "string" === typeof elem)) && "string" === typeof input.resumable && "string" === typeof input.mimeType && "string" === typeof input.encoding && ("string" === typeof input.hash && RegExp("^([A-Fa-f0-9]{32})?$").test(input.hash)) && ("number" === typeof input.btime && (0 <= input.btime && __typia_transform__isTypeUint64._isTypeUint64(input.btime))) && "boolean" === typeof input.completed && (undefined !== input.error && (null === input.error || (Array.isArray(input.error) && input.error.every((elem, _index7) => "object" === typeof elem && null !== elem && _io2(elem, true && _exceptionable)) || "object" === typeof input.error && null !== input.error && _io2(input.error, true && _exceptionable)))) && (
|
|
8188
|
-
if (["position", "uploading", "zones", "replicas", "locations", "ranges", "progress", "speed", "id", "size", "seekable", "deleted", "refs", "tags", "resumable", "mimeType", "encoding", "hash", "btime", "completed", "error"].some(prop => key === prop))
|
|
8226
|
+
return (() => { const _io0 = (input, _exceptionable = true) => (null === input.position || "number" === typeof input.position && (0 <= input.position && __typia_transform__isTypeUint64._isTypeUint64(input.position))) && (null === input.uploading || "boolean" === typeof input.uploading) && (Array.isArray(input.zones) && input.zones.every((elem, _index1) => "string" === typeof elem)) && (Array.isArray(input.replicas) && input.replicas.every((elem, _index2) => "string" === typeof elem)) && (Array.isArray(input.locations) && input.locations.every((elem, _index3) => "string" === typeof elem)) && (Array.isArray(input.ranges) && input.ranges.every((elem, _index4) => Array.isArray(elem) && (elem.length === 2 && ("number" === typeof elem[0] && 0 <= elem[0]) && ("number" === typeof elem[1] && 0 <= elem[1])))) && (undefined === input.progress || "number" === typeof input.progress && (0 <= input.progress && input.progress <= 1)) && (undefined === input.speed || "number" === typeof input.speed && 0 <= input.speed) && "boolean" === typeof input.complete && ("string" === typeof input.id && RegExp("^[0-9A-Za-z~][0-9A-Za-z~._: -]*$").test(input.id)) && (null === input.size || "number" === typeof input.size && (0 <= input.size && __typia_transform__isTypeUint64._isTypeUint64(input.size))) && "boolean" === typeof input.seekable && "boolean" === typeof input.deleted && (Array.isArray(input.refs) && input.refs.every((elem, _index5) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem, true && _exceptionable))) && (Array.isArray(input.tags) && input.tags.every((elem, _index6) => "string" === typeof elem)) && "string" === typeof input.resumable && "string" === typeof input.mimeType && "string" === typeof input.encoding && ("string" === typeof input.hash && RegExp("^([A-Fa-f0-9]{32})?$").test(input.hash)) && ("number" === typeof input.btime && (0 <= input.btime && __typia_transform__isTypeUint64._isTypeUint64(input.btime))) && "boolean" === typeof input.completed && (undefined !== input.error && (null === input.error || (Array.isArray(input.error) && input.error.every((elem, _index7) => "object" === typeof elem && null !== elem && _io2(elem, true && _exceptionable)) || "object" === typeof input.error && null !== input.error && _io2(input.error, true && _exceptionable)))) && (20 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
8227
|
+
if (["position", "uploading", "zones", "replicas", "locations", "ranges", "progress", "speed", "complete", "id", "size", "seekable", "deleted", "refs", "tags", "resumable", "mimeType", "encoding", "hash", "btime", "completed", "error"].some(prop => key === prop))
|
|
8189
8228
|
return true;
|
|
8190
8229
|
const value = input[key];
|
|
8191
8230
|
if (undefined === value)
|
|
@@ -8326,6 +8365,10 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
8326
8365
|
path: _path + ".speed",
|
|
8327
8366
|
expected: "((number & Minimum<0>) | undefined)",
|
|
8328
8367
|
value: input.speed
|
|
8368
|
+
}), "boolean" === typeof input.complete || _report(_exceptionable, {
|
|
8369
|
+
path: _path + ".complete",
|
|
8370
|
+
expected: "boolean",
|
|
8371
|
+
value: input.complete
|
|
8329
8372
|
}), "string" === typeof input.id && (RegExp("^[0-9A-Za-z~][0-9A-Za-z~._: -]*$").test(input.id) || _report(_exceptionable, {
|
|
8330
8373
|
path: _path + ".id",
|
|
8331
8374
|
expected: "string & Pattern<\"^[0-9A-Za-z~][0-9A-Za-z~._: -]*$\">",
|
|
@@ -8438,8 +8481,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
8438
8481
|
path: _path + ".error",
|
|
8439
8482
|
expected: "(Array<NxtError> | NxtError | null)",
|
|
8440
8483
|
value: input.error
|
|
8441
|
-
})),
|
|
8442
|
-
if (["position", "uploading", "zones", "replicas", "locations", "ranges", "progress", "speed", "id", "size", "seekable", "deleted", "refs", "tags", "resumable", "mimeType", "encoding", "hash", "btime", "completed", "error"].some(prop => key === prop))
|
|
8484
|
+
})), 20 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
8485
|
+
if (["position", "uploading", "zones", "replicas", "locations", "ranges", "progress", "speed", "complete", "id", "size", "seekable", "deleted", "refs", "tags", "resumable", "mimeType", "encoding", "hash", "btime", "completed", "error"].some(prop => key === prop))
|
|
8443
8486
|
return true;
|
|
8444
8487
|
const value = input[key];
|
|
8445
8488
|
if (undefined === value)
|
|
@@ -9033,115 +9076,248 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
9033
9076
|
};
|
|
9034
9077
|
}; })()(input);
|
|
9035
9078
|
}
|
|
9036
|
-
case ":
|
|
9037
|
-
return (() => { const _io0 = (input, _exceptionable = true) => (undefined === input.
|
|
9038
|
-
if (["
|
|
9039
|
-
return true;
|
|
9040
|
-
const value = input[key];
|
|
9041
|
-
if (undefined === value)
|
|
9042
|
-
return true;
|
|
9043
|
-
return false;
|
|
9044
|
-
})); const _io1 = (input, _exceptionable = true) => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
9045
|
-
if (["type", "file"].some(prop => key === prop))
|
|
9046
|
-
return true;
|
|
9047
|
-
const value = input[key];
|
|
9048
|
-
if (undefined === value)
|
|
9049
|
-
return true;
|
|
9050
|
-
return false;
|
|
9051
|
-
})); const _io2 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
9052
|
-
const value = input[key];
|
|
9053
|
-
if (undefined === value)
|
|
9054
|
-
return true;
|
|
9055
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io3(value, true && _exceptionable);
|
|
9056
|
-
}); const _io3 = (input, _exceptionable = true) => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io4(input.styleOverrides, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
9057
|
-
if (["style", "styleOverrides"].some(prop => key === prop))
|
|
9058
|
-
return true;
|
|
9059
|
-
const value = input[key];
|
|
9060
|
-
if (undefined === value)
|
|
9061
|
-
return true;
|
|
9062
|
-
return false;
|
|
9063
|
-
})); const _io4 = (input, _exceptionable = true) => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
9064
|
-
if (["name", "fontname", "fontsize", "primaryColour", "secondaryColour", "outlineColour", "backColour", "bold", "italic", "underline", "strikeOut", "scaleX", "scaleY", "spacing", "angle", "borderStyle", "outline", "shadow", "alignment", "marginL", "marginR", "marginV", "encoding"].some(prop => key === prop))
|
|
9065
|
-
return true;
|
|
9066
|
-
const value = input[key];
|
|
9067
|
-
if (undefined === value)
|
|
9068
|
-
return true;
|
|
9069
|
-
return false;
|
|
9070
|
-
})); const _io5 = (input, _exceptionable = true) => (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io6(input.crop, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
9071
|
-
if (["crop"].some(prop => key === prop))
|
|
9072
|
-
return true;
|
|
9073
|
-
const value = input[key];
|
|
9074
|
-
if (undefined === value)
|
|
9075
|
-
return true;
|
|
9076
|
-
return false;
|
|
9077
|
-
})); const _io6 = (input, _exceptionable = true) => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
9078
|
-
if (["x", "y", "width", "height"].some(prop => key === prop))
|
|
9079
|
-
return true;
|
|
9080
|
-
const value = input[key];
|
|
9081
|
-
if (undefined === value)
|
|
9082
|
-
return true;
|
|
9083
|
-
return false;
|
|
9084
|
-
})); const _io7 = (input, _exceptionable = true) => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every((elem, _index1) => "number" === typeof elem)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
9085
|
-
if (["language", "pan"].some(prop => key === prop))
|
|
9079
|
+
case ":general._asset": {
|
|
9080
|
+
return (() => { const _io0 = (input, _exceptionable = true) => (undefined === input.title || "string" === typeof input.title) && (undefined === input.tags || "string" === typeof input.tags) && (undefined === input.media || "string" === typeof input.media) && (undefined === input.duration || "string" === typeof input.duration) && (undefined === input.deadlines || "string" === typeof input.deadlines) && (undefined === input.assignees || "string" === typeof input.assignees) && (undefined === input.locations || "string" === typeof input.locations) && (undefined === input.status || "string" === typeof input.status) && (undefined === input.storage || "string" === typeof input.storage) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
9081
|
+
if (["title", "tags", "media", "duration", "deadlines", "assignees", "locations", "status", "storage"].some(prop => key === prop))
|
|
9086
9082
|
return true;
|
|
9087
9083
|
const value = input[key];
|
|
9088
9084
|
if (undefined === value)
|
|
9089
9085
|
return true;
|
|
9090
9086
|
return false;
|
|
9091
|
-
})); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.
|
|
9092
|
-
path: _path + ".
|
|
9087
|
+
})); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
9088
|
+
path: _path + ".title",
|
|
9093
9089
|
expected: "(string | undefined)",
|
|
9094
|
-
value: input.
|
|
9095
|
-
}), undefined === input.
|
|
9096
|
-
path: _path + ".
|
|
9090
|
+
value: input.title
|
|
9091
|
+
}), undefined === input.tags || "string" === typeof input.tags || _report(_exceptionable, {
|
|
9092
|
+
path: _path + ".tags",
|
|
9097
9093
|
expected: "(string | undefined)",
|
|
9098
|
-
value: input.
|
|
9099
|
-
}),
|
|
9100
|
-
path: _path + ".
|
|
9101
|
-
expected: "(__type | null | undefined)",
|
|
9102
|
-
value: input.input
|
|
9103
|
-
})) && _vo1(input.input, _path + ".input", true && _exceptionable) || _report(_exceptionable, {
|
|
9104
|
-
path: _path + ".input",
|
|
9105
|
-
expected: "(__type | null | undefined)",
|
|
9106
|
-
value: input.input
|
|
9107
|
-
}), undefined === input.lang || "string" === typeof input.lang || _report(_exceptionable, {
|
|
9108
|
-
path: _path + ".lang",
|
|
9094
|
+
value: input.tags
|
|
9095
|
+
}), undefined === input.media || "string" === typeof input.media || _report(_exceptionable, {
|
|
9096
|
+
path: _path + ".media",
|
|
9109
9097
|
expected: "(string | undefined)",
|
|
9110
|
-
value: input.
|
|
9111
|
-
}), undefined === input.
|
|
9112
|
-
path: _path + ".
|
|
9098
|
+
value: input.media
|
|
9099
|
+
}), undefined === input.duration || "string" === typeof input.duration || _report(_exceptionable, {
|
|
9100
|
+
path: _path + ".duration",
|
|
9113
9101
|
expected: "(string | undefined)",
|
|
9114
|
-
value: input.
|
|
9115
|
-
}), undefined === input.
|
|
9116
|
-
path: _path + ".
|
|
9117
|
-
expected: "(
|
|
9118
|
-
value: input.
|
|
9119
|
-
})
|
|
9120
|
-
path: _path + ".
|
|
9121
|
-
expected: "(
|
|
9122
|
-
value: input.
|
|
9123
|
-
}), undefined === input.
|
|
9124
|
-
path: _path + ".
|
|
9125
|
-
expected: "(
|
|
9126
|
-
value: input.
|
|
9127
|
-
})
|
|
9128
|
-
path: _path + ".
|
|
9129
|
-
expected: "(
|
|
9130
|
-
value: input.
|
|
9131
|
-
}), undefined === input.
|
|
9132
|
-
path: _path + ".
|
|
9133
|
-
expected: "(
|
|
9134
|
-
value: input.
|
|
9135
|
-
}),
|
|
9136
|
-
|
|
9137
|
-
|
|
9138
|
-
value
|
|
9139
|
-
|
|
9140
|
-
|
|
9141
|
-
|
|
9142
|
-
|
|
9143
|
-
|
|
9144
|
-
|
|
9102
|
+
value: input.duration
|
|
9103
|
+
}), undefined === input.deadlines || "string" === typeof input.deadlines || _report(_exceptionable, {
|
|
9104
|
+
path: _path + ".deadlines",
|
|
9105
|
+
expected: "(string | undefined)",
|
|
9106
|
+
value: input.deadlines
|
|
9107
|
+
}), undefined === input.assignees || "string" === typeof input.assignees || _report(_exceptionable, {
|
|
9108
|
+
path: _path + ".assignees",
|
|
9109
|
+
expected: "(string | undefined)",
|
|
9110
|
+
value: input.assignees
|
|
9111
|
+
}), undefined === input.locations || "string" === typeof input.locations || _report(_exceptionable, {
|
|
9112
|
+
path: _path + ".locations",
|
|
9113
|
+
expected: "(string | undefined)",
|
|
9114
|
+
value: input.locations
|
|
9115
|
+
}), undefined === input.status || "string" === typeof input.status || _report(_exceptionable, {
|
|
9116
|
+
path: _path + ".status",
|
|
9117
|
+
expected: "(string | undefined)",
|
|
9118
|
+
value: input.status
|
|
9119
|
+
}), undefined === input.storage || "string" === typeof input.storage || _report(_exceptionable, {
|
|
9120
|
+
path: _path + ".storage",
|
|
9121
|
+
expected: "(string | undefined)",
|
|
9122
|
+
value: input.storage
|
|
9123
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
9124
|
+
if (["title", "tags", "media", "duration", "deadlines", "assignees", "locations", "status", "storage"].some(prop => key === prop))
|
|
9125
|
+
return true;
|
|
9126
|
+
const value = input[key];
|
|
9127
|
+
if (undefined === value)
|
|
9128
|
+
return true;
|
|
9129
|
+
return _report(_exceptionable, {
|
|
9130
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9131
|
+
expected: "undefined",
|
|
9132
|
+
value: value,
|
|
9133
|
+
description: [
|
|
9134
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
9135
|
+
"",
|
|
9136
|
+
"Please remove the property next time."
|
|
9137
|
+
].join("\n")
|
|
9138
|
+
});
|
|
9139
|
+
}).every(flag => flag))].every(flag => flag); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input, true); let errors; let _report; return input => {
|
|
9140
|
+
if (false === __is(input)) {
|
|
9141
|
+
errors = [];
|
|
9142
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
9143
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
9144
|
+
path: _path + "",
|
|
9145
|
+
expected: "GeneralAssetRecord",
|
|
9146
|
+
value: input
|
|
9147
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
9148
|
+
path: _path + "",
|
|
9149
|
+
expected: "GeneralAssetRecord",
|
|
9150
|
+
value: input
|
|
9151
|
+
}))(input, "$input", true);
|
|
9152
|
+
const success = 0 === errors.length;
|
|
9153
|
+
return success ? {
|
|
9154
|
+
success,
|
|
9155
|
+
data: input
|
|
9156
|
+
} : {
|
|
9157
|
+
success,
|
|
9158
|
+
errors,
|
|
9159
|
+
data: input
|
|
9160
|
+
};
|
|
9161
|
+
}
|
|
9162
|
+
return {
|
|
9163
|
+
success: true,
|
|
9164
|
+
data: input
|
|
9165
|
+
};
|
|
9166
|
+
}; })()(input);
|
|
9167
|
+
}
|
|
9168
|
+
case ":general._embedding": {
|
|
9169
|
+
return (() => { const _io0 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
9170
|
+
const value = input[key];
|
|
9171
|
+
if (undefined === value)
|
|
9172
|
+
return true;
|
|
9173
|
+
return null === value || "string" === typeof value;
|
|
9174
|
+
}); const _vo0 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
9175
|
+
const value = input[key];
|
|
9176
|
+
if (undefined === value)
|
|
9177
|
+
return true;
|
|
9178
|
+
return null === value || "string" === typeof value || _report(_exceptionable, {
|
|
9179
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9180
|
+
expected: "(null | string)",
|
|
9181
|
+
value: value
|
|
9182
|
+
});
|
|
9183
|
+
}).every(flag => flag)].every(flag => flag); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input, true); let errors; let _report; return input => {
|
|
9184
|
+
if (false === __is(input)) {
|
|
9185
|
+
errors = [];
|
|
9186
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
9187
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
9188
|
+
path: _path + "",
|
|
9189
|
+
expected: "GeneralEmbeddingRecord",
|
|
9190
|
+
value: input
|
|
9191
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
9192
|
+
path: _path + "",
|
|
9193
|
+
expected: "GeneralEmbeddingRecord",
|
|
9194
|
+
value: input
|
|
9195
|
+
}))(input, "$input", true);
|
|
9196
|
+
const success = 0 === errors.length;
|
|
9197
|
+
return success ? {
|
|
9198
|
+
success,
|
|
9199
|
+
data: input
|
|
9200
|
+
} : {
|
|
9201
|
+
success,
|
|
9202
|
+
errors,
|
|
9203
|
+
data: input
|
|
9204
|
+
};
|
|
9205
|
+
}
|
|
9206
|
+
return {
|
|
9207
|
+
success: true,
|
|
9208
|
+
data: input
|
|
9209
|
+
};
|
|
9210
|
+
}; })()(input);
|
|
9211
|
+
}
|
|
9212
|
+
case ":media.source": {
|
|
9213
|
+
return (() => { const _io0 = (input, _exceptionable = true) => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (null === input.input || undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io1(input.input, true && _exceptionable)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io2(input.subtitleTracks, true && _exceptionable)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io5(input.video, true && _exceptionable)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io7(input.transcribe, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
9214
|
+
if (["id", "preset", "input", "lang", "subtitle", "subtitleTracks", "video", "start", "end", "transcribe"].some(prop => key === prop))
|
|
9215
|
+
return true;
|
|
9216
|
+
const value = input[key];
|
|
9217
|
+
if (undefined === value)
|
|
9218
|
+
return true;
|
|
9219
|
+
return false;
|
|
9220
|
+
})); const _io1 = (input, _exceptionable = true) => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
9221
|
+
if (["type", "file"].some(prop => key === prop))
|
|
9222
|
+
return true;
|
|
9223
|
+
const value = input[key];
|
|
9224
|
+
if (undefined === value)
|
|
9225
|
+
return true;
|
|
9226
|
+
return false;
|
|
9227
|
+
})); const _io2 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
9228
|
+
const value = input[key];
|
|
9229
|
+
if (undefined === value)
|
|
9230
|
+
return true;
|
|
9231
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io3(value, true && _exceptionable);
|
|
9232
|
+
}); const _io3 = (input, _exceptionable = true) => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io4(input.styleOverrides, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
9233
|
+
if (["style", "styleOverrides"].some(prop => key === prop))
|
|
9234
|
+
return true;
|
|
9235
|
+
const value = input[key];
|
|
9236
|
+
if (undefined === value)
|
|
9237
|
+
return true;
|
|
9238
|
+
return false;
|
|
9239
|
+
})); const _io4 = (input, _exceptionable = true) => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
9240
|
+
if (["name", "fontname", "fontsize", "primaryColour", "secondaryColour", "outlineColour", "backColour", "bold", "italic", "underline", "strikeOut", "scaleX", "scaleY", "spacing", "angle", "borderStyle", "outline", "shadow", "alignment", "marginL", "marginR", "marginV", "encoding"].some(prop => key === prop))
|
|
9241
|
+
return true;
|
|
9242
|
+
const value = input[key];
|
|
9243
|
+
if (undefined === value)
|
|
9244
|
+
return true;
|
|
9245
|
+
return false;
|
|
9246
|
+
})); const _io5 = (input, _exceptionable = true) => (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io6(input.crop, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
9247
|
+
if (["crop"].some(prop => key === prop))
|
|
9248
|
+
return true;
|
|
9249
|
+
const value = input[key];
|
|
9250
|
+
if (undefined === value)
|
|
9251
|
+
return true;
|
|
9252
|
+
return false;
|
|
9253
|
+
})); const _io6 = (input, _exceptionable = true) => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
9254
|
+
if (["x", "y", "width", "height"].some(prop => key === prop))
|
|
9255
|
+
return true;
|
|
9256
|
+
const value = input[key];
|
|
9257
|
+
if (undefined === value)
|
|
9258
|
+
return true;
|
|
9259
|
+
return false;
|
|
9260
|
+
})); const _io7 = (input, _exceptionable = true) => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every((elem, _index1) => "number" === typeof elem)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
9261
|
+
if (["language", "pan"].some(prop => key === prop))
|
|
9262
|
+
return true;
|
|
9263
|
+
const value = input[key];
|
|
9264
|
+
if (undefined === value)
|
|
9265
|
+
return true;
|
|
9266
|
+
return false;
|
|
9267
|
+
})); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
9268
|
+
path: _path + ".id",
|
|
9269
|
+
expected: "(string | undefined)",
|
|
9270
|
+
value: input.id
|
|
9271
|
+
}), undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
9272
|
+
path: _path + ".preset",
|
|
9273
|
+
expected: "(string | undefined)",
|
|
9274
|
+
value: input.preset
|
|
9275
|
+
}), null === input.input || undefined === input.input || ("object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) || _report(_exceptionable, {
|
|
9276
|
+
path: _path + ".input",
|
|
9277
|
+
expected: "(__type | null | undefined)",
|
|
9278
|
+
value: input.input
|
|
9279
|
+
})) && _vo1(input.input, _path + ".input", true && _exceptionable) || _report(_exceptionable, {
|
|
9280
|
+
path: _path + ".input",
|
|
9281
|
+
expected: "(__type | null | undefined)",
|
|
9282
|
+
value: input.input
|
|
9283
|
+
}), undefined === input.lang || "string" === typeof input.lang || _report(_exceptionable, {
|
|
9284
|
+
path: _path + ".lang",
|
|
9285
|
+
expected: "(string | undefined)",
|
|
9286
|
+
value: input.lang
|
|
9287
|
+
}), undefined === input.subtitle || "string" === typeof input.subtitle || _report(_exceptionable, {
|
|
9288
|
+
path: _path + ".subtitle",
|
|
9289
|
+
expected: "(string | undefined)",
|
|
9290
|
+
value: input.subtitle
|
|
9291
|
+
}), undefined === input.subtitleTracks || ("object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) || _report(_exceptionable, {
|
|
9292
|
+
path: _path + ".subtitleTracks",
|
|
9293
|
+
expected: "(__type.o1 | undefined)",
|
|
9294
|
+
value: input.subtitleTracks
|
|
9295
|
+
})) && _vo2(input.subtitleTracks, _path + ".subtitleTracks", true && _exceptionable) || _report(_exceptionable, {
|
|
9296
|
+
path: _path + ".subtitleTracks",
|
|
9297
|
+
expected: "(__type.o1 | undefined)",
|
|
9298
|
+
value: input.subtitleTracks
|
|
9299
|
+
}), undefined === input.video || ("object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) || _report(_exceptionable, {
|
|
9300
|
+
path: _path + ".video",
|
|
9301
|
+
expected: "(__type.o3 | undefined)",
|
|
9302
|
+
value: input.video
|
|
9303
|
+
})) && _vo5(input.video, _path + ".video", true && _exceptionable) || _report(_exceptionable, {
|
|
9304
|
+
path: _path + ".video",
|
|
9305
|
+
expected: "(__type.o3 | undefined)",
|
|
9306
|
+
value: input.video
|
|
9307
|
+
}), undefined === input.start || "number" === typeof input.start || _report(_exceptionable, {
|
|
9308
|
+
path: _path + ".start",
|
|
9309
|
+
expected: "(number | undefined)",
|
|
9310
|
+
value: input.start
|
|
9311
|
+
}), undefined === input.end || "number" === typeof input.end || _report(_exceptionable, {
|
|
9312
|
+
path: _path + ".end",
|
|
9313
|
+
expected: "(number | undefined)",
|
|
9314
|
+
value: input.end
|
|
9315
|
+
}), undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) || _report(_exceptionable, {
|
|
9316
|
+
path: _path + ".transcribe",
|
|
9317
|
+
expected: "(__type.o5 | undefined)",
|
|
9318
|
+
value: input.transcribe
|
|
9319
|
+
})) && _vo7(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
9320
|
+
path: _path + ".transcribe",
|
|
9145
9321
|
expected: "(__type.o5 | undefined)",
|
|
9146
9322
|
value: input.transcribe
|
|
9147
9323
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
@@ -12976,245 +13152,240 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
12976
13152
|
}; })()(input);
|
|
12977
13153
|
}
|
|
12978
13154
|
case ":publish": {
|
|
12979
|
-
return (() => { const _io0 = (input, _exceptionable = true) =>
|
|
12980
|
-
if (["
|
|
12981
|
-
return true;
|
|
12982
|
-
const value = input[key];
|
|
12983
|
-
if (undefined === value)
|
|
12984
|
-
return true;
|
|
12985
|
-
return false;
|
|
12986
|
-
})); const _io1 = (input, _exceptionable = true) => (undefined === input.snippet || "object" === typeof input.snippet && null !== input.snippet && false === Array.isArray(input.snippet) && _io2(input.snippet, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
12987
|
-
if (["snippet"].some(prop => key === prop))
|
|
13155
|
+
return (() => { const _io0 = (input, _exceptionable = true) => undefined !== input.type && null === input.type && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
13156
|
+
if (["type", "asset"].some(prop => key === prop))
|
|
12988
13157
|
return true;
|
|
12989
13158
|
const value = input[key];
|
|
12990
13159
|
if (undefined === value)
|
|
12991
13160
|
return true;
|
|
12992
13161
|
return false;
|
|
12993
|
-
})); const
|
|
12994
|
-
if (["
|
|
13162
|
+
})); const _io1 = (input, _exceptionable = true) => "facebook" === input.type && (undefined === input.pageId || "string" === typeof input.pageId) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io2(input.render, true && _exceptionable)) && true && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io16(input.error, true && _exceptionable)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every((elem, _index1) => "object" === typeof elem && null !== elem && _io17(elem, true && _exceptionable))) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
13163
|
+
if (["type", "pageId", "asset", "connection", "render", "draft", "published", "remote", "error", "messages"].some(prop => key === prop))
|
|
12995
13164
|
return true;
|
|
12996
13165
|
const value = input[key];
|
|
12997
13166
|
if (undefined === value)
|
|
12998
13167
|
return true;
|
|
12999
13168
|
return false;
|
|
13000
|
-
})); const
|
|
13169
|
+
})); const _io2 = (input, _exceptionable = true) => (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io3(input.scene, true && _exceptionable)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io11(input.profile, true && _exceptionable)) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
13001
13170
|
if (["preset", "type", "scene", "profile"].some(prop => key === prop))
|
|
13002
13171
|
return true;
|
|
13003
13172
|
const value = input[key];
|
|
13004
13173
|
if (undefined === value)
|
|
13005
13174
|
return true;
|
|
13006
13175
|
return false;
|
|
13007
|
-
})); const
|
|
13176
|
+
})); const _io3 = (input, _exceptionable = true) => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (null === input.input || undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io4(input.input, true && _exceptionable)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io5(input.subtitleTracks, true && _exceptionable)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io8(input.video, true && _exceptionable)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io10(input.transcribe, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
13008
13177
|
if (["id", "preset", "input", "lang", "subtitle", "subtitleTracks", "video", "start", "end", "transcribe"].some(prop => key === prop))
|
|
13009
13178
|
return true;
|
|
13010
13179
|
const value = input[key];
|
|
13011
13180
|
if (undefined === value)
|
|
13012
13181
|
return true;
|
|
13013
13182
|
return false;
|
|
13014
|
-
})); const
|
|
13183
|
+
})); const _io4 = (input, _exceptionable = true) => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
13015
13184
|
if (["type", "file"].some(prop => key === prop))
|
|
13016
13185
|
return true;
|
|
13017
13186
|
const value = input[key];
|
|
13018
13187
|
if (undefined === value)
|
|
13019
13188
|
return true;
|
|
13020
13189
|
return false;
|
|
13021
|
-
})); const
|
|
13190
|
+
})); const _io5 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
13022
13191
|
const value = input[key];
|
|
13023
13192
|
if (undefined === value)
|
|
13024
13193
|
return true;
|
|
13025
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
13026
|
-
}); const
|
|
13194
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io6(value, true && _exceptionable);
|
|
13195
|
+
}); const _io6 = (input, _exceptionable = true) => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io7(input.styleOverrides, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
13027
13196
|
if (["style", "styleOverrides"].some(prop => key === prop))
|
|
13028
13197
|
return true;
|
|
13029
13198
|
const value = input[key];
|
|
13030
13199
|
if (undefined === value)
|
|
13031
13200
|
return true;
|
|
13032
13201
|
return false;
|
|
13033
|
-
})); const
|
|
13202
|
+
})); const _io7 = (input, _exceptionable = true) => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
13034
13203
|
if (["name", "fontname", "fontsize", "primaryColour", "secondaryColour", "outlineColour", "backColour", "bold", "italic", "underline", "strikeOut", "scaleX", "scaleY", "spacing", "angle", "borderStyle", "outline", "shadow", "alignment", "marginL", "marginR", "marginV", "encoding"].some(prop => key === prop))
|
|
13035
13204
|
return true;
|
|
13036
13205
|
const value = input[key];
|
|
13037
13206
|
if (undefined === value)
|
|
13038
13207
|
return true;
|
|
13039
13208
|
return false;
|
|
13040
|
-
})); const
|
|
13209
|
+
})); const _io8 = (input, _exceptionable = true) => (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io9(input.crop, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
13041
13210
|
if (["crop"].some(prop => key === prop))
|
|
13042
13211
|
return true;
|
|
13043
13212
|
const value = input[key];
|
|
13044
13213
|
if (undefined === value)
|
|
13045
13214
|
return true;
|
|
13046
13215
|
return false;
|
|
13047
|
-
})); const
|
|
13216
|
+
})); const _io9 = (input, _exceptionable = true) => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
13048
13217
|
if (["x", "y", "width", "height"].some(prop => key === prop))
|
|
13049
13218
|
return true;
|
|
13050
13219
|
const value = input[key];
|
|
13051
13220
|
if (undefined === value)
|
|
13052
13221
|
return true;
|
|
13053
13222
|
return false;
|
|
13054
|
-
})); const
|
|
13223
|
+
})); const _io10 = (input, _exceptionable = true) => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every((elem, _index2) => "number" === typeof elem)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
13055
13224
|
if (["language", "pan"].some(prop => key === prop))
|
|
13056
13225
|
return true;
|
|
13057
13226
|
const value = input[key];
|
|
13058
13227
|
if (undefined === value)
|
|
13059
13228
|
return true;
|
|
13060
13229
|
return false;
|
|
13061
|
-
})); const
|
|
13230
|
+
})); const _io11 = (input, _exceptionable = true) => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io12(input.transcribe, true && _exceptionable)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io13(input.translate, true && _exceptionable)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io14(input.audio, true && _exceptionable)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every((elem, _index3) => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io15(input.subtitle, true && _exceptionable))) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
13062
13231
|
if (["format", "transcribe", "translate", "audio", "video", "pick", "subtitle"].some(prop => key === prop))
|
|
13063
13232
|
return true;
|
|
13064
13233
|
const value = input[key];
|
|
13065
13234
|
if (undefined === value)
|
|
13066
13235
|
return true;
|
|
13067
13236
|
return false;
|
|
13068
|
-
})); const
|
|
13237
|
+
})); const _io12 = (input, _exceptionable = true) => "string" === typeof input.engine && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
13069
13238
|
if (["engine"].some(prop => key === prop))
|
|
13070
13239
|
return true;
|
|
13071
13240
|
const value = input[key];
|
|
13072
13241
|
if (undefined === value)
|
|
13073
13242
|
return true;
|
|
13074
13243
|
return false;
|
|
13075
|
-
})); const
|
|
13244
|
+
})); const _io13 = (input, _exceptionable = true) => "string" === typeof input.language && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
13076
13245
|
if (["language"].some(prop => key === prop))
|
|
13077
13246
|
return true;
|
|
13078
13247
|
const value = input[key];
|
|
13079
13248
|
if (undefined === value)
|
|
13080
13249
|
return true;
|
|
13081
13250
|
return false;
|
|
13082
|
-
})); const
|
|
13251
|
+
})); const _io14 = (input, _exceptionable = true) => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
13083
13252
|
if (["codec", "pan", "samplerate", "split"].some(prop => key === prop))
|
|
13084
13253
|
return true;
|
|
13085
13254
|
const value = input[key];
|
|
13086
13255
|
if (undefined === value)
|
|
13087
13256
|
return true;
|
|
13088
13257
|
return false;
|
|
13089
|
-
})); const
|
|
13258
|
+
})); const _io15 = (input, _exceptionable = true) => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
13090
13259
|
if (["lang", "style"].some(prop => key === prop))
|
|
13091
13260
|
return true;
|
|
13092
13261
|
const value = input[key];
|
|
13093
13262
|
if (undefined === value)
|
|
13094
13263
|
return true;
|
|
13095
13264
|
return false;
|
|
13096
|
-
})); const
|
|
13097
|
-
const value = input[key];
|
|
13098
|
-
if (undefined === value)
|
|
13099
|
-
return true;
|
|
13100
|
-
return true;
|
|
13101
|
-
}); const _io18 = (input, _exceptionable = true) => "string" === typeof input.method && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
13265
|
+
})); const _io16 = (input, _exceptionable = true) => "string" === typeof input.method && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
13102
13266
|
if (["method"].some(prop => key === prop))
|
|
13103
13267
|
return true;
|
|
13104
13268
|
const value = input[key];
|
|
13105
13269
|
if (undefined === value)
|
|
13106
13270
|
return true;
|
|
13107
13271
|
return false;
|
|
13108
|
-
})); const
|
|
13272
|
+
})); const _io17 = (input, _exceptionable = true) => "number" === typeof input.level && "string" === typeof input.code && "string" === typeof input.msg && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
13109
13273
|
if (["level", "code", "msg"].some(prop => key === prop))
|
|
13110
13274
|
return true;
|
|
13111
13275
|
const value = input[key];
|
|
13112
13276
|
if (undefined === value)
|
|
13113
13277
|
return true;
|
|
13114
13278
|
return false;
|
|
13115
|
-
})); const
|
|
13116
|
-
if (["
|
|
13279
|
+
})); const _io18 = (input, _exceptionable = true) => "file" === input.type && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io19(input.renders, true && _exceptionable)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io23(input.draft, true && _exceptionable)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io24(input.remote, true && _exceptionable)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io27(input.published, true && _exceptionable)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io2(input.render, true && _exceptionable)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io16(input.error, true && _exceptionable)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every((elem, _index4) => "object" === typeof elem && null !== elem && _io17(elem, true && _exceptionable))) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
13280
|
+
if (["type", "directory", "filename", "renders", "draft", "remote", "published", "asset", "connection", "render", "error", "messages"].some(prop => key === prop))
|
|
13117
13281
|
return true;
|
|
13118
13282
|
const value = input[key];
|
|
13119
13283
|
if (undefined === value)
|
|
13120
13284
|
return true;
|
|
13121
13285
|
return false;
|
|
13122
|
-
})); const
|
|
13123
|
-
if (["directory", "filename", "renders", "draft", "remote", "published", "type", "asset", "connection", "render", "error", "messages"].some(prop => key === prop))
|
|
13124
|
-
return true;
|
|
13125
|
-
const value = input[key];
|
|
13126
|
-
if (undefined === value)
|
|
13127
|
-
return true;
|
|
13128
|
-
return false;
|
|
13129
|
-
})); const _io22 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
13286
|
+
})); const _io19 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
13130
13287
|
const value = input[key];
|
|
13131
13288
|
if (undefined === value)
|
|
13132
13289
|
return true;
|
|
13133
13290
|
return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && _iu0(value, true && _exceptionable));
|
|
13134
|
-
}); const
|
|
13135
|
-
if (["
|
|
13291
|
+
}); const _io20 = (input, _exceptionable = true) => (undefined === input.name || "string" === typeof input.name) && "string" === typeof input.path && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene) && (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io3(input.scene, true && _exceptionable)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io11(input.profile, true && _exceptionable)) && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
13292
|
+
if (["name", "path", "collisionStrategy", "ignoreEmptyScene", "preset", "type", "scene", "profile"].some(prop => key === prop))
|
|
13136
13293
|
return true;
|
|
13137
13294
|
const value = input[key];
|
|
13138
13295
|
if (undefined === value)
|
|
13139
13296
|
return true;
|
|
13140
13297
|
return false;
|
|
13141
|
-
})); const
|
|
13298
|
+
})); const _io21 = (input, _exceptionable = true) => "object" === typeof input.__context && null !== input.__context && _io22(input.__context, true && _exceptionable) && ("object" === typeof input.__returnValue && null !== input.__returnValue && _io20(input.__returnValue, true && _exceptionable)) && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
13142
13299
|
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
13143
13300
|
return true;
|
|
13144
13301
|
const value = input[key];
|
|
13145
13302
|
if (undefined === value)
|
|
13146
13303
|
return true;
|
|
13147
13304
|
return false;
|
|
13148
|
-
})); const
|
|
13305
|
+
})); const _io22 = (input, _exceptionable = true) => "object" === typeof input.publish && null !== input.publish && _io18(input.publish, true && _exceptionable) && "string" === typeof input.directory && "string" === typeof input.name && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
13149
13306
|
if (["publish", "directory", "name"].some(prop => key === prop))
|
|
13150
13307
|
return true;
|
|
13151
13308
|
const value = input[key];
|
|
13152
13309
|
if (undefined === value)
|
|
13153
13310
|
return true;
|
|
13154
13311
|
return false;
|
|
13155
|
-
})); const
|
|
13312
|
+
})); const _io23 = (input, _exceptionable = true) => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
13156
13313
|
if (["directory", "filename"].some(prop => key === prop))
|
|
13157
13314
|
return true;
|
|
13158
13315
|
const value = input[key];
|
|
13159
13316
|
if (undefined === value)
|
|
13160
13317
|
return true;
|
|
13161
|
-
return
|
|
13162
|
-
}); const
|
|
13318
|
+
return false;
|
|
13319
|
+
})); const _io24 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
13163
13320
|
if (["directory", "filename", "renders"].some(prop => key === prop))
|
|
13164
13321
|
return true;
|
|
13165
13322
|
const value = input[key];
|
|
13166
13323
|
if (undefined === value)
|
|
13167
13324
|
return true;
|
|
13168
|
-
return
|
|
13169
|
-
}); const
|
|
13325
|
+
return false;
|
|
13326
|
+
})); const _io25 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
13170
13327
|
const value = input[key];
|
|
13171
13328
|
if (undefined === value)
|
|
13172
13329
|
return true;
|
|
13173
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
13174
|
-
}); const
|
|
13330
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io26(value, true && _exceptionable);
|
|
13331
|
+
}); const _io26 = (input, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every((elem, _index5) => "object" === typeof elem && null !== elem && _io17(elem, true && _exceptionable))) && true && (undefined === input.size || "number" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash) && (undefined === input.source || "string" === typeof input.source) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
13175
13332
|
if (["path", "messages", "query", "size", "hash", "source"].some(prop => key === prop))
|
|
13176
13333
|
return true;
|
|
13177
13334
|
const value = input[key];
|
|
13178
13335
|
if (undefined === value)
|
|
13179
13336
|
return true;
|
|
13180
13337
|
return false;
|
|
13181
|
-
})); const
|
|
13338
|
+
})); const _io27 = (input, _exceptionable = true) => (undefined === input.directory || "string" === typeof input.directory) && "string" === typeof input.filename && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
13182
13339
|
if (["directory", "filename"].some(prop => key === prop))
|
|
13183
13340
|
return true;
|
|
13184
13341
|
const value = input[key];
|
|
13185
13342
|
if (undefined === value)
|
|
13186
13343
|
return true;
|
|
13187
|
-
return
|
|
13188
|
-
}); const
|
|
13189
|
-
if (["directory", "filename", "draft", "remote", "published", "renders", "
|
|
13344
|
+
return false;
|
|
13345
|
+
})); const _io28 = (input, _exceptionable = true) => "file" === input.type && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io23(input.draft, true && _exceptionable)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && _io29(input.remote, true && _exceptionable)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io27(input.published, true && _exceptionable)) && (null !== input.renders && undefined === input.renders) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io2(input.render, true && _exceptionable)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io16(input.error, true && _exceptionable)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every((elem, _index6) => "object" === typeof elem && null !== elem && _io17(elem, true && _exceptionable))) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
13346
|
+
if (["type", "directory", "filename", "draft", "remote", "published", "renders", "asset", "connection", "render", "error", "messages"].some(prop => key === prop))
|
|
13190
13347
|
return true;
|
|
13191
13348
|
const value = input[key];
|
|
13192
13349
|
if (undefined === value)
|
|
13193
13350
|
return true;
|
|
13194
13351
|
return false;
|
|
13195
|
-
})); const
|
|
13352
|
+
})); const _io29 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && _io31(input.metafile, true && _exceptionable)) && Object.keys(input).every(key => {
|
|
13196
13353
|
if (["id", "path", "filename", "directory", "subtitle", "metafile"].some(prop => key === prop))
|
|
13197
13354
|
return true;
|
|
13198
13355
|
const value = input[key];
|
|
13199
13356
|
if (undefined === value)
|
|
13200
13357
|
return true;
|
|
13201
13358
|
return true;
|
|
13202
|
-
}); const
|
|
13359
|
+
}); const _io30 = (input, _exceptionable = true) => "string" === typeof input.path && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
13203
13360
|
if (["path"].some(prop => key === prop))
|
|
13204
13361
|
return true;
|
|
13205
13362
|
const value = input[key];
|
|
13206
13363
|
if (undefined === value)
|
|
13207
13364
|
return true;
|
|
13208
13365
|
return false;
|
|
13209
|
-
})); const
|
|
13366
|
+
})); const _io31 = (input, _exceptionable = true) => "string" === typeof input.path && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
13210
13367
|
if (["path"].some(prop => key === prop))
|
|
13211
13368
|
return true;
|
|
13212
13369
|
const value = input[key];
|
|
13213
13370
|
if (undefined === value)
|
|
13214
13371
|
return true;
|
|
13215
13372
|
return false;
|
|
13216
|
-
})); const
|
|
13217
|
-
if (["type", "asset"].some(prop => key === prop))
|
|
13373
|
+
})); const _io32 = (input, _exceptionable = true) => "youtube" === input.type && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io33(input.draft, true && _exceptionable)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io2(input.render, true && _exceptionable)) && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io16(input.error, true && _exceptionable)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every((elem, _index7) => "object" === typeof elem && null !== elem && _io17(elem, true && _exceptionable))) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
13374
|
+
if (["type", "draft", "asset", "connection", "render", "published", "remote", "error", "messages"].some(prop => key === prop))
|
|
13375
|
+
return true;
|
|
13376
|
+
const value = input[key];
|
|
13377
|
+
if (undefined === value)
|
|
13378
|
+
return true;
|
|
13379
|
+
return false;
|
|
13380
|
+
})); const _io33 = (input, _exceptionable = true) => (undefined === input.snippet || "object" === typeof input.snippet && null !== input.snippet && false === Array.isArray(input.snippet) && _io34(input.snippet, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
13381
|
+
if (["snippet"].some(prop => key === prop))
|
|
13382
|
+
return true;
|
|
13383
|
+
const value = input[key];
|
|
13384
|
+
if (undefined === value)
|
|
13385
|
+
return true;
|
|
13386
|
+
return false;
|
|
13387
|
+
})); const _io34 = (input, _exceptionable = true) => (undefined === input.title || "string" === typeof input.title) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every((elem, _index8) => "string" === typeof elem)) && (undefined === input.description || "string" === typeof input.description) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
13388
|
+
if (["title", "tags", "description"].some(prop => key === prop))
|
|
13218
13389
|
return true;
|
|
13219
13390
|
const value = input[key];
|
|
13220
13391
|
if (undefined === value)
|
|
@@ -13222,38 +13393,62 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13222
13393
|
return false;
|
|
13223
13394
|
})); const _iu0 = (input, _exceptionable = true) => (() => {
|
|
13224
13395
|
if (undefined !== input.path)
|
|
13225
|
-
return
|
|
13396
|
+
return _io20(input, true && _exceptionable);
|
|
13226
13397
|
else if (undefined !== input.__context)
|
|
13227
|
-
return
|
|
13398
|
+
return _io21(input, true && _exceptionable);
|
|
13228
13399
|
else
|
|
13229
13400
|
return false;
|
|
13230
13401
|
})(); const _iu1 = (input, _exceptionable = true) => (() => {
|
|
13231
|
-
if (
|
|
13402
|
+
if (undefined !== input.type && null === input.type)
|
|
13232
13403
|
return _io0(input, true && _exceptionable);
|
|
13233
13404
|
else if ("facebook" === input.type)
|
|
13234
|
-
return
|
|
13235
|
-
else if (
|
|
13236
|
-
return
|
|
13405
|
+
return _io1(input, true && _exceptionable);
|
|
13406
|
+
else if ("youtube" === input.type)
|
|
13407
|
+
return _io32(input, true && _exceptionable);
|
|
13237
13408
|
else
|
|
13238
13409
|
return (() => {
|
|
13239
|
-
if (
|
|
13240
|
-
return
|
|
13241
|
-
if (
|
|
13242
|
-
return
|
|
13410
|
+
if (_io28(input, false && _exceptionable))
|
|
13411
|
+
return _io28(input, true && _exceptionable);
|
|
13412
|
+
if (_io18(input, false && _exceptionable))
|
|
13413
|
+
return _io18(input, true && _exceptionable);
|
|
13243
13414
|
return false;
|
|
13244
13415
|
})();
|
|
13245
|
-
})(); const _vo0 = (input, _path, _exceptionable = true) => [undefined
|
|
13246
|
-
path: _path + ".draft",
|
|
13247
|
-
expected: "(__type | undefined)",
|
|
13248
|
-
value: input.draft
|
|
13249
|
-
})) && _vo1(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
13250
|
-
path: _path + ".draft",
|
|
13251
|
-
expected: "(__type | undefined)",
|
|
13252
|
-
value: input.draft
|
|
13253
|
-
}), "youtube" === input.type || _report(_exceptionable, {
|
|
13416
|
+
})(); const _vo0 = (input, _path, _exceptionable = true) => [(undefined !== input.type || _report(_exceptionable, {
|
|
13254
13417
|
path: _path + ".type",
|
|
13255
|
-
expected: "
|
|
13418
|
+
expected: "null",
|
|
13419
|
+
value: input.type
|
|
13420
|
+
})) && (null === input.type || _report(_exceptionable, {
|
|
13421
|
+
path: _path + ".type",
|
|
13422
|
+
expected: "null",
|
|
13256
13423
|
value: input.type
|
|
13424
|
+
})), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
|
|
13425
|
+
path: _path + ".asset",
|
|
13426
|
+
expected: "(null | string | undefined)",
|
|
13427
|
+
value: input.asset
|
|
13428
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
13429
|
+
if (["type", "asset"].some(prop => key === prop))
|
|
13430
|
+
return true;
|
|
13431
|
+
const value = input[key];
|
|
13432
|
+
if (undefined === value)
|
|
13433
|
+
return true;
|
|
13434
|
+
return _report(_exceptionable, {
|
|
13435
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13436
|
+
expected: "undefined",
|
|
13437
|
+
value: value,
|
|
13438
|
+
description: [
|
|
13439
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
13440
|
+
"",
|
|
13441
|
+
"Please remove the property next time."
|
|
13442
|
+
].join("\n")
|
|
13443
|
+
});
|
|
13444
|
+
}).every(flag => flag))].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["facebook" === input.type || _report(_exceptionable, {
|
|
13445
|
+
path: _path + ".type",
|
|
13446
|
+
expected: "\"facebook\"",
|
|
13447
|
+
value: input.type
|
|
13448
|
+
}), undefined === input.pageId || "string" === typeof input.pageId || _report(_exceptionable, {
|
|
13449
|
+
path: _path + ".pageId",
|
|
13450
|
+
expected: "(string | undefined)",
|
|
13451
|
+
value: input.pageId
|
|
13257
13452
|
}), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
|
|
13258
13453
|
path: _path + ".asset",
|
|
13259
13454
|
expected: "(null | string | undefined)",
|
|
@@ -13264,35 +13459,19 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13264
13459
|
value: input.connection
|
|
13265
13460
|
}), undefined === input.render || ("object" === typeof input.render && null !== input.render || _report(_exceptionable, {
|
|
13266
13461
|
path: _path + ".render",
|
|
13267
|
-
expected: "(
|
|
13462
|
+
expected: "(PublishRenderBase | undefined)",
|
|
13268
13463
|
value: input.render
|
|
13269
|
-
})) &&
|
|
13464
|
+
})) && _vo2(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
13270
13465
|
path: _path + ".render",
|
|
13271
|
-
expected: "(
|
|
13466
|
+
expected: "(PublishRenderBase | undefined)",
|
|
13272
13467
|
value: input.render
|
|
13273
|
-
}), undefined === input.
|
|
13274
|
-
path: _path + ".published",
|
|
13275
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
13276
|
-
value: input.published
|
|
13277
|
-
})) && _vo17(input.published, _path + ".published", true && _exceptionable) || _report(_exceptionable, {
|
|
13278
|
-
path: _path + ".published",
|
|
13279
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
13280
|
-
value: input.published
|
|
13281
|
-
}), undefined === input.remote || ("object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) || _report(_exceptionable, {
|
|
13282
|
-
path: _path + ".remote",
|
|
13283
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
13284
|
-
value: input.remote
|
|
13285
|
-
})) && _vo17(input.remote, _path + ".remote", true && _exceptionable) || _report(_exceptionable, {
|
|
13286
|
-
path: _path + ".remote",
|
|
13287
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
13288
|
-
value: input.remote
|
|
13289
|
-
}), null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
13468
|
+
}), true, true, true, null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
13290
13469
|
path: _path + ".error",
|
|
13291
|
-
expected: "(__type.
|
|
13470
|
+
expected: "(__type.o9 | null | undefined)",
|
|
13292
13471
|
value: input.error
|
|
13293
|
-
})) &&
|
|
13472
|
+
})) && _vo16(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
13294
13473
|
path: _path + ".error",
|
|
13295
|
-
expected: "(__type.
|
|
13474
|
+
expected: "(__type.o9 | null | undefined)",
|
|
13296
13475
|
value: input.error
|
|
13297
13476
|
}), undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
13298
13477
|
path: _path + ".messages",
|
|
@@ -13302,7 +13481,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13302
13481
|
path: _path + ".messages[" + _index9 + "]",
|
|
13303
13482
|
expected: "Message",
|
|
13304
13483
|
value: elem
|
|
13305
|
-
})) &&
|
|
13484
|
+
})) && _vo17(elem, _path + ".messages[" + _index9 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
13306
13485
|
path: _path + ".messages[" + _index9 + "]",
|
|
13307
13486
|
expected: "Message",
|
|
13308
13487
|
value: elem
|
|
@@ -13311,67 +13490,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13311
13490
|
expected: "(Array<Message> | undefined)",
|
|
13312
13491
|
value: input.messages
|
|
13313
13492
|
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
13314
|
-
if (["
|
|
13315
|
-
return true;
|
|
13316
|
-
const value = input[key];
|
|
13317
|
-
if (undefined === value)
|
|
13318
|
-
return true;
|
|
13319
|
-
return _report(_exceptionable, {
|
|
13320
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13321
|
-
expected: "undefined",
|
|
13322
|
-
value: value,
|
|
13323
|
-
description: [
|
|
13324
|
-
`The property \`${key}\` is not defined in the object type.`,
|
|
13325
|
-
"",
|
|
13326
|
-
"Please remove the property next time."
|
|
13327
|
-
].join("\n")
|
|
13328
|
-
});
|
|
13329
|
-
}).every(flag => flag))].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [undefined === input.snippet || ("object" === typeof input.snippet && null !== input.snippet && false === Array.isArray(input.snippet) || _report(_exceptionable, {
|
|
13330
|
-
path: _path + ".snippet",
|
|
13331
|
-
expected: "(__type.o1 | undefined)",
|
|
13332
|
-
value: input.snippet
|
|
13333
|
-
})) && _vo2(input.snippet, _path + ".snippet", true && _exceptionable) || _report(_exceptionable, {
|
|
13334
|
-
path: _path + ".snippet",
|
|
13335
|
-
expected: "(__type.o1 | undefined)",
|
|
13336
|
-
value: input.snippet
|
|
13337
|
-
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
13338
|
-
if (["snippet"].some(prop => key === prop))
|
|
13339
|
-
return true;
|
|
13340
|
-
const value = input[key];
|
|
13341
|
-
if (undefined === value)
|
|
13342
|
-
return true;
|
|
13343
|
-
return _report(_exceptionable, {
|
|
13344
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13345
|
-
expected: "undefined",
|
|
13346
|
-
value: value,
|
|
13347
|
-
description: [
|
|
13348
|
-
`The property \`${key}\` is not defined in the object type.`,
|
|
13349
|
-
"",
|
|
13350
|
-
"Please remove the property next time."
|
|
13351
|
-
].join("\n")
|
|
13352
|
-
});
|
|
13353
|
-
}).every(flag => flag))].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
13354
|
-
path: _path + ".title",
|
|
13355
|
-
expected: "(string | undefined)",
|
|
13356
|
-
value: input.title
|
|
13357
|
-
}), undefined === input.tags || (Array.isArray(input.tags) || _report(_exceptionable, {
|
|
13358
|
-
path: _path + ".tags",
|
|
13359
|
-
expected: "(Array<string> | undefined)",
|
|
13360
|
-
value: input.tags
|
|
13361
|
-
})) && input.tags.map((elem, _index10) => "string" === typeof elem || _report(_exceptionable, {
|
|
13362
|
-
path: _path + ".tags[" + _index10 + "]",
|
|
13363
|
-
expected: "string",
|
|
13364
|
-
value: elem
|
|
13365
|
-
})).every(flag => flag) || _report(_exceptionable, {
|
|
13366
|
-
path: _path + ".tags",
|
|
13367
|
-
expected: "(Array<string> | undefined)",
|
|
13368
|
-
value: input.tags
|
|
13369
|
-
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
13370
|
-
path: _path + ".description",
|
|
13371
|
-
expected: "(string | undefined)",
|
|
13372
|
-
value: input.description
|
|
13373
|
-
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
13374
|
-
if (["title", "tags", "description"].some(prop => key === prop))
|
|
13493
|
+
if (["type", "pageId", "asset", "connection", "render", "draft", "published", "remote", "error", "messages"].some(prop => key === prop))
|
|
13375
13494
|
return true;
|
|
13376
13495
|
const value = input[key];
|
|
13377
13496
|
if (undefined === value)
|
|
@@ -13386,7 +13505,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13386
13505
|
"Please remove the property next time."
|
|
13387
13506
|
].join("\n")
|
|
13388
13507
|
});
|
|
13389
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
13508
|
+
}).every(flag => flag))].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
13390
13509
|
path: _path + ".preset",
|
|
13391
13510
|
expected: "(string | undefined)",
|
|
13392
13511
|
value: input.preset
|
|
@@ -13398,7 +13517,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13398
13517
|
path: _path + ".scene",
|
|
13399
13518
|
expected: "(RenderSceneObject | undefined)",
|
|
13400
13519
|
value: input.scene
|
|
13401
|
-
})) &&
|
|
13520
|
+
})) && _vo3(input.scene, _path + ".scene", true && _exceptionable) || _report(_exceptionable, {
|
|
13402
13521
|
path: _path + ".scene",
|
|
13403
13522
|
expected: "(RenderSceneObject | undefined)",
|
|
13404
13523
|
value: input.scene
|
|
@@ -13406,7 +13525,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13406
13525
|
path: _path + ".profile",
|
|
13407
13526
|
expected: "(RenderProfileObject | undefined)",
|
|
13408
13527
|
value: input.profile
|
|
13409
|
-
})) &&
|
|
13528
|
+
})) && _vo11(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
13410
13529
|
path: _path + ".profile",
|
|
13411
13530
|
expected: "(RenderProfileObject | undefined)",
|
|
13412
13531
|
value: input.profile
|
|
@@ -13426,7 +13545,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13426
13545
|
"Please remove the property next time."
|
|
13427
13546
|
].join("\n")
|
|
13428
13547
|
});
|
|
13429
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
13548
|
+
}).every(flag => flag))].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
13430
13549
|
path: _path + ".id",
|
|
13431
13550
|
expected: "(string | undefined)",
|
|
13432
13551
|
value: input.id
|
|
@@ -13436,11 +13555,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13436
13555
|
value: input.preset
|
|
13437
13556
|
}), null === input.input || undefined === input.input || ("object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) || _report(_exceptionable, {
|
|
13438
13557
|
path: _path + ".input",
|
|
13439
|
-
expected: "(__type
|
|
13558
|
+
expected: "(__type | null | undefined)",
|
|
13440
13559
|
value: input.input
|
|
13441
|
-
})) &&
|
|
13560
|
+
})) && _vo4(input.input, _path + ".input", true && _exceptionable) || _report(_exceptionable, {
|
|
13442
13561
|
path: _path + ".input",
|
|
13443
|
-
expected: "(__type
|
|
13562
|
+
expected: "(__type | null | undefined)",
|
|
13444
13563
|
value: input.input
|
|
13445
13564
|
}), undefined === input.lang || "string" === typeof input.lang || _report(_exceptionable, {
|
|
13446
13565
|
path: _path + ".lang",
|
|
@@ -13452,19 +13571,19 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13452
13571
|
value: input.subtitle
|
|
13453
13572
|
}), undefined === input.subtitleTracks || ("object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) || _report(_exceptionable, {
|
|
13454
13573
|
path: _path + ".subtitleTracks",
|
|
13455
|
-
expected: "(__type.
|
|
13574
|
+
expected: "(__type.o1 | undefined)",
|
|
13456
13575
|
value: input.subtitleTracks
|
|
13457
|
-
})) &&
|
|
13576
|
+
})) && _vo5(input.subtitleTracks, _path + ".subtitleTracks", true && _exceptionable) || _report(_exceptionable, {
|
|
13458
13577
|
path: _path + ".subtitleTracks",
|
|
13459
|
-
expected: "(__type.
|
|
13578
|
+
expected: "(__type.o1 | undefined)",
|
|
13460
13579
|
value: input.subtitleTracks
|
|
13461
13580
|
}), undefined === input.video || ("object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) || _report(_exceptionable, {
|
|
13462
13581
|
path: _path + ".video",
|
|
13463
|
-
expected: "(__type.
|
|
13582
|
+
expected: "(__type.o3 | undefined)",
|
|
13464
13583
|
value: input.video
|
|
13465
|
-
})) &&
|
|
13584
|
+
})) && _vo8(input.video, _path + ".video", true && _exceptionable) || _report(_exceptionable, {
|
|
13466
13585
|
path: _path + ".video",
|
|
13467
|
-
expected: "(__type.
|
|
13586
|
+
expected: "(__type.o3 | undefined)",
|
|
13468
13587
|
value: input.video
|
|
13469
13588
|
}), undefined === input.start || "number" === typeof input.start || _report(_exceptionable, {
|
|
13470
13589
|
path: _path + ".start",
|
|
@@ -13476,11 +13595,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13476
13595
|
value: input.end
|
|
13477
13596
|
}), undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) || _report(_exceptionable, {
|
|
13478
13597
|
path: _path + ".transcribe",
|
|
13479
|
-
expected: "(__type.
|
|
13598
|
+
expected: "(__type.o5 | undefined)",
|
|
13480
13599
|
value: input.transcribe
|
|
13481
|
-
})) &&
|
|
13600
|
+
})) && _vo10(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
13482
13601
|
path: _path + ".transcribe",
|
|
13483
|
-
expected: "(__type.
|
|
13602
|
+
expected: "(__type.o5 | undefined)",
|
|
13484
13603
|
value: input.transcribe
|
|
13485
13604
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
13486
13605
|
if (["id", "preset", "input", "lang", "subtitle", "subtitleTracks", "video", "start", "end", "transcribe"].some(prop => key === prop))
|
|
@@ -13498,7 +13617,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13498
13617
|
"Please remove the property next time."
|
|
13499
13618
|
].join("\n")
|
|
13500
13619
|
});
|
|
13501
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
13620
|
+
}).every(flag => flag))].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
13502
13621
|
path: _path + ".type",
|
|
13503
13622
|
expected: "(string | undefined)",
|
|
13504
13623
|
value: input.type
|
|
@@ -13522,20 +13641,20 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13522
13641
|
"Please remove the property next time."
|
|
13523
13642
|
].join("\n")
|
|
13524
13643
|
});
|
|
13525
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
13644
|
+
}).every(flag => flag))].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
13526
13645
|
const value = input[key];
|
|
13527
13646
|
if (undefined === value)
|
|
13528
13647
|
return true;
|
|
13529
13648
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
|
13530
13649
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13531
|
-
expected: "__type.
|
|
13650
|
+
expected: "__type.o2",
|
|
13532
13651
|
value: value
|
|
13533
|
-
})) &&
|
|
13652
|
+
})) && _vo6(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
13534
13653
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13535
|
-
expected: "__type.
|
|
13654
|
+
expected: "__type.o2",
|
|
13536
13655
|
value: value
|
|
13537
13656
|
});
|
|
13538
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
13657
|
+
}).every(flag => flag)].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => [null === input.style || undefined === input.style || "string" === typeof input.style || _report(_exceptionable, {
|
|
13539
13658
|
path: _path + ".style",
|
|
13540
13659
|
expected: "(null | string | undefined)",
|
|
13541
13660
|
value: input.style
|
|
@@ -13543,7 +13662,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13543
13662
|
path: _path + ".styleOverrides",
|
|
13544
13663
|
expected: "(SubtitleStyle | undefined)",
|
|
13545
13664
|
value: input.styleOverrides
|
|
13546
|
-
})) &&
|
|
13665
|
+
})) && _vo7(input.styleOverrides, _path + ".styleOverrides", true && _exceptionable) || _report(_exceptionable, {
|
|
13547
13666
|
path: _path + ".styleOverrides",
|
|
13548
13667
|
expected: "(SubtitleStyle | undefined)",
|
|
13549
13668
|
value: input.styleOverrides
|
|
@@ -13563,7 +13682,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13563
13682
|
"Please remove the property next time."
|
|
13564
13683
|
].join("\n")
|
|
13565
13684
|
});
|
|
13566
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
13685
|
+
}).every(flag => flag))].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
13567
13686
|
path: _path + ".name",
|
|
13568
13687
|
expected: "(string | undefined)",
|
|
13569
13688
|
value: input.name
|
|
@@ -13671,13 +13790,13 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13671
13790
|
"Please remove the property next time."
|
|
13672
13791
|
].join("\n")
|
|
13673
13792
|
});
|
|
13674
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
13793
|
+
}).every(flag => flag))].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [undefined === input.crop || ("object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) || _report(_exceptionable, {
|
|
13675
13794
|
path: _path + ".crop",
|
|
13676
|
-
expected: "(__type.
|
|
13795
|
+
expected: "(__type.o4 | undefined)",
|
|
13677
13796
|
value: input.crop
|
|
13678
|
-
})) &&
|
|
13797
|
+
})) && _vo9(input.crop, _path + ".crop", true && _exceptionable) || _report(_exceptionable, {
|
|
13679
13798
|
path: _path + ".crop",
|
|
13680
|
-
expected: "(__type.
|
|
13799
|
+
expected: "(__type.o4 | undefined)",
|
|
13681
13800
|
value: input.crop
|
|
13682
13801
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
13683
13802
|
if (["crop"].some(prop => key === prop))
|
|
@@ -13695,7 +13814,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13695
13814
|
"Please remove the property next time."
|
|
13696
13815
|
].join("\n")
|
|
13697
13816
|
});
|
|
13698
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
13817
|
+
}).every(flag => flag))].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [undefined === input.x || "number" === typeof input.x || _report(_exceptionable, {
|
|
13699
13818
|
path: _path + ".x",
|
|
13700
13819
|
expected: "(number | undefined)",
|
|
13701
13820
|
value: input.x
|
|
@@ -13727,7 +13846,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13727
13846
|
"Please remove the property next time."
|
|
13728
13847
|
].join("\n")
|
|
13729
13848
|
});
|
|
13730
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
13849
|
+
}).every(flag => flag))].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => [undefined === input.language || "string" === typeof input.language || _report(_exceptionable, {
|
|
13731
13850
|
path: _path + ".language",
|
|
13732
13851
|
expected: "(string | undefined)",
|
|
13733
13852
|
value: input.language
|
|
@@ -13735,8 +13854,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13735
13854
|
path: _path + ".pan",
|
|
13736
13855
|
expected: "(Array<number> | undefined)",
|
|
13737
13856
|
value: input.pan
|
|
13738
|
-
})) && input.pan.map((elem,
|
|
13739
|
-
path: _path + ".pan[" +
|
|
13857
|
+
})) && input.pan.map((elem, _index10) => "number" === typeof elem || _report(_exceptionable, {
|
|
13858
|
+
path: _path + ".pan[" + _index10 + "]",
|
|
13740
13859
|
expected: "number",
|
|
13741
13860
|
value: elem
|
|
13742
13861
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -13759,40 +13878,40 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13759
13878
|
"Please remove the property next time."
|
|
13760
13879
|
].join("\n")
|
|
13761
13880
|
});
|
|
13762
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
13881
|
+
}).every(flag => flag))].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => ["string" === typeof input.format || _report(_exceptionable, {
|
|
13763
13882
|
path: _path + ".format",
|
|
13764
13883
|
expected: "string",
|
|
13765
13884
|
value: input.format
|
|
13766
13885
|
}), undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe || _report(_exceptionable, {
|
|
13767
13886
|
path: _path + ".transcribe",
|
|
13768
|
-
expected: "(__type.
|
|
13887
|
+
expected: "(__type.o6 | undefined)",
|
|
13769
13888
|
value: input.transcribe
|
|
13770
|
-
})) &&
|
|
13889
|
+
})) && _vo12(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
13771
13890
|
path: _path + ".transcribe",
|
|
13772
|
-
expected: "(__type.
|
|
13891
|
+
expected: "(__type.o6 | undefined)",
|
|
13773
13892
|
value: input.transcribe
|
|
13774
13893
|
}), undefined === input.translate || ("object" === typeof input.translate && null !== input.translate || _report(_exceptionable, {
|
|
13775
13894
|
path: _path + ".translate",
|
|
13776
|
-
expected: "(__type.
|
|
13895
|
+
expected: "(__type.o7 | undefined)",
|
|
13777
13896
|
value: input.translate
|
|
13778
|
-
})) &&
|
|
13897
|
+
})) && _vo13(input.translate, _path + ".translate", true && _exceptionable) || _report(_exceptionable, {
|
|
13779
13898
|
path: _path + ".translate",
|
|
13780
|
-
expected: "(__type.
|
|
13899
|
+
expected: "(__type.o7 | undefined)",
|
|
13781
13900
|
value: input.translate
|
|
13782
13901
|
}), undefined === input.audio || ("object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) || _report(_exceptionable, {
|
|
13783
13902
|
path: _path + ".audio",
|
|
13784
|
-
expected: "(__type.
|
|
13903
|
+
expected: "(__type.o8 | undefined)",
|
|
13785
13904
|
value: input.audio
|
|
13786
|
-
})) &&
|
|
13905
|
+
})) && _vo14(input.audio, _path + ".audio", true && _exceptionable) || _report(_exceptionable, {
|
|
13787
13906
|
path: _path + ".audio",
|
|
13788
|
-
expected: "(__type.
|
|
13907
|
+
expected: "(__type.o8 | undefined)",
|
|
13789
13908
|
value: input.audio
|
|
13790
13909
|
}), true, undefined === input.pick || (Array.isArray(input.pick) || _report(_exceptionable, {
|
|
13791
13910
|
path: _path + ".pick",
|
|
13792
13911
|
expected: "(Array<string> | undefined)",
|
|
13793
13912
|
value: input.pick
|
|
13794
|
-
})) && input.pick.map((elem,
|
|
13795
|
-
path: _path + ".pick[" +
|
|
13913
|
+
})) && input.pick.map((elem, _index11) => "string" === typeof elem || _report(_exceptionable, {
|
|
13914
|
+
path: _path + ".pick[" + _index11 + "]",
|
|
13796
13915
|
expected: "string",
|
|
13797
13916
|
value: elem
|
|
13798
13917
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -13807,7 +13926,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13807
13926
|
path: _path + ".subtitle",
|
|
13808
13927
|
expected: "(SubtitleProfile | string | undefined)",
|
|
13809
13928
|
value: input.subtitle
|
|
13810
|
-
})) &&
|
|
13929
|
+
})) && _vo15(input.subtitle, _path + ".subtitle", true && _exceptionable) || _report(_exceptionable, {
|
|
13811
13930
|
path: _path + ".subtitle",
|
|
13812
13931
|
expected: "(SubtitleProfile | string | undefined)",
|
|
13813
13932
|
value: input.subtitle
|
|
@@ -13827,7 +13946,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13827
13946
|
"Please remove the property next time."
|
|
13828
13947
|
].join("\n")
|
|
13829
13948
|
});
|
|
13830
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
13949
|
+
}).every(flag => flag))].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => ["string" === typeof input.engine || _report(_exceptionable, {
|
|
13831
13950
|
path: _path + ".engine",
|
|
13832
13951
|
expected: "string",
|
|
13833
13952
|
value: input.engine
|
|
@@ -13847,7 +13966,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13847
13966
|
"Please remove the property next time."
|
|
13848
13967
|
].join("\n")
|
|
13849
13968
|
});
|
|
13850
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
13969
|
+
}).every(flag => flag))].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => ["string" === typeof input.language || _report(_exceptionable, {
|
|
13851
13970
|
path: _path + ".language",
|
|
13852
13971
|
expected: "string",
|
|
13853
13972
|
value: input.language
|
|
@@ -13867,7 +13986,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13867
13986
|
"Please remove the property next time."
|
|
13868
13987
|
].join("\n")
|
|
13869
13988
|
});
|
|
13870
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
13989
|
+
}).every(flag => flag))].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [undefined === input.codec || "string" === typeof input.codec || _report(_exceptionable, {
|
|
13871
13990
|
path: _path + ".codec",
|
|
13872
13991
|
expected: "(string | undefined)",
|
|
13873
13992
|
value: input.codec
|
|
@@ -13899,7 +14018,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13899
14018
|
"Please remove the property next time."
|
|
13900
14019
|
].join("\n")
|
|
13901
14020
|
});
|
|
13902
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
14021
|
+
}).every(flag => flag))].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [undefined === input.lang || "string" === typeof input.lang || _report(_exceptionable, {
|
|
13903
14022
|
path: _path + ".lang",
|
|
13904
14023
|
expected: "(string | undefined)",
|
|
13905
14024
|
value: input.lang
|
|
@@ -13923,12 +14042,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13923
14042
|
"Please remove the property next time."
|
|
13924
14043
|
].join("\n")
|
|
13925
14044
|
});
|
|
13926
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
13927
|
-
const value = input[key];
|
|
13928
|
-
if (undefined === value)
|
|
13929
|
-
return true;
|
|
13930
|
-
return true;
|
|
13931
|
-
}).every(flag => flag)].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => ["string" === typeof input.method || _report(_exceptionable, {
|
|
14045
|
+
}).every(flag => flag))].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => ["string" === typeof input.method || _report(_exceptionable, {
|
|
13932
14046
|
path: _path + ".method",
|
|
13933
14047
|
expected: "string",
|
|
13934
14048
|
value: input.method
|
|
@@ -13948,7 +14062,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13948
14062
|
"Please remove the property next time."
|
|
13949
14063
|
].join("\n")
|
|
13950
14064
|
});
|
|
13951
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
14065
|
+
}).every(flag => flag))].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => ["number" === typeof input.level || _report(_exceptionable, {
|
|
13952
14066
|
path: _path + ".level",
|
|
13953
14067
|
expected: "number",
|
|
13954
14068
|
value: input.level
|
|
@@ -13976,95 +14090,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13976
14090
|
"Please remove the property next time."
|
|
13977
14091
|
].join("\n")
|
|
13978
14092
|
});
|
|
13979
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
13980
|
-
path: _path + ".pageId",
|
|
13981
|
-
expected: "(string | undefined)",
|
|
13982
|
-
value: input.pageId
|
|
13983
|
-
}), "facebook" === input.type || _report(_exceptionable, {
|
|
14093
|
+
}).every(flag => flag))].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => ["file" === input.type || _report(_exceptionable, {
|
|
13984
14094
|
path: _path + ".type",
|
|
13985
|
-
expected: "\"
|
|
14095
|
+
expected: "\"file\"",
|
|
13986
14096
|
value: input.type
|
|
13987
|
-
}),
|
|
13988
|
-
path: _path + ".asset",
|
|
13989
|
-
expected: "(null | string | undefined)",
|
|
13990
|
-
value: input.asset
|
|
13991
|
-
}), undefined === input.connection || "string" === typeof input.connection || _report(_exceptionable, {
|
|
13992
|
-
path: _path + ".connection",
|
|
13993
|
-
expected: "(string | undefined)",
|
|
13994
|
-
value: input.connection
|
|
13995
|
-
}), undefined === input.render || ("object" === typeof input.render && null !== input.render || _report(_exceptionable, {
|
|
13996
|
-
path: _path + ".render",
|
|
13997
|
-
expected: "(PublishRender | undefined)",
|
|
13998
|
-
value: input.render
|
|
13999
|
-
})) && _vo3(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
14000
|
-
path: _path + ".render",
|
|
14001
|
-
expected: "(PublishRender | undefined)",
|
|
14002
|
-
value: input.render
|
|
14003
|
-
}), undefined === input.draft || ("object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) || _report(_exceptionable, {
|
|
14004
|
-
path: _path + ".draft",
|
|
14005
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
14006
|
-
value: input.draft
|
|
14007
|
-
})) && _vo17(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
14008
|
-
path: _path + ".draft",
|
|
14009
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
14010
|
-
value: input.draft
|
|
14011
|
-
}), undefined === input.published || ("object" === typeof input.published && null !== input.published && false === Array.isArray(input.published) || _report(_exceptionable, {
|
|
14012
|
-
path: _path + ".published",
|
|
14013
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
14014
|
-
value: input.published
|
|
14015
|
-
})) && _vo17(input.published, _path + ".published", true && _exceptionable) || _report(_exceptionable, {
|
|
14016
|
-
path: _path + ".published",
|
|
14017
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
14018
|
-
value: input.published
|
|
14019
|
-
}), undefined === input.remote || ("object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) || _report(_exceptionable, {
|
|
14020
|
-
path: _path + ".remote",
|
|
14021
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
14022
|
-
value: input.remote
|
|
14023
|
-
})) && _vo17(input.remote, _path + ".remote", true && _exceptionable) || _report(_exceptionable, {
|
|
14024
|
-
path: _path + ".remote",
|
|
14025
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
14026
|
-
value: input.remote
|
|
14027
|
-
}), null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
14028
|
-
path: _path + ".error",
|
|
14029
|
-
expected: "(__type.o11 | null | undefined)",
|
|
14030
|
-
value: input.error
|
|
14031
|
-
})) && _vo18(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
14032
|
-
path: _path + ".error",
|
|
14033
|
-
expected: "(__type.o11 | null | undefined)",
|
|
14034
|
-
value: input.error
|
|
14035
|
-
}), undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
14036
|
-
path: _path + ".messages",
|
|
14037
|
-
expected: "(Array<Message> | undefined)",
|
|
14038
|
-
value: input.messages
|
|
14039
|
-
})) && input.messages.map((elem, _index13) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
14040
|
-
path: _path + ".messages[" + _index13 + "]",
|
|
14041
|
-
expected: "Message",
|
|
14042
|
-
value: elem
|
|
14043
|
-
})) && _vo19(elem, _path + ".messages[" + _index13 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
14044
|
-
path: _path + ".messages[" + _index13 + "]",
|
|
14045
|
-
expected: "Message",
|
|
14046
|
-
value: elem
|
|
14047
|
-
})).every(flag => flag) || _report(_exceptionable, {
|
|
14048
|
-
path: _path + ".messages",
|
|
14049
|
-
expected: "(Array<Message> | undefined)",
|
|
14050
|
-
value: input.messages
|
|
14051
|
-
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
14052
|
-
if (["pageId", "type", "asset", "connection", "render", "draft", "published", "remote", "error", "messages"].some(prop => key === prop))
|
|
14053
|
-
return true;
|
|
14054
|
-
const value = input[key];
|
|
14055
|
-
if (undefined === value)
|
|
14056
|
-
return true;
|
|
14057
|
-
return _report(_exceptionable, {
|
|
14058
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
14059
|
-
expected: "undefined",
|
|
14060
|
-
value: value,
|
|
14061
|
-
description: [
|
|
14062
|
-
`The property \`${key}\` is not defined in the object type.`,
|
|
14063
|
-
"",
|
|
14064
|
-
"Please remove the property next time."
|
|
14065
|
-
].join("\n")
|
|
14066
|
-
});
|
|
14067
|
-
}).every(flag => flag))].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
14097
|
+
}), undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
14068
14098
|
path: _path + ".directory",
|
|
14069
14099
|
expected: "(string | undefined)",
|
|
14070
14100
|
value: input.directory
|
|
@@ -14076,7 +14106,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14076
14106
|
path: _path + ".renders",
|
|
14077
14107
|
expected: "(Record<string, FilePublishRender> | undefined)",
|
|
14078
14108
|
value: input.renders
|
|
14079
|
-
})) &&
|
|
14109
|
+
})) && _vo19(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
14080
14110
|
path: _path + ".renders",
|
|
14081
14111
|
expected: "(Record<string, FilePublishRender> | undefined)",
|
|
14082
14112
|
value: input.renders
|
|
@@ -14084,7 +14114,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14084
14114
|
path: _path + ".draft",
|
|
14085
14115
|
expected: "(FilePublishDraft | undefined)",
|
|
14086
14116
|
value: input.draft
|
|
14087
|
-
})) &&
|
|
14117
|
+
})) && _vo23(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
14088
14118
|
path: _path + ".draft",
|
|
14089
14119
|
expected: "(FilePublishDraft | undefined)",
|
|
14090
14120
|
value: input.draft
|
|
@@ -14092,7 +14122,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14092
14122
|
path: _path + ".remote",
|
|
14093
14123
|
expected: "(FilePublishRemote | undefined)",
|
|
14094
14124
|
value: input.remote
|
|
14095
|
-
})) &&
|
|
14125
|
+
})) && _vo24(input.remote, _path + ".remote", true && _exceptionable) || _report(_exceptionable, {
|
|
14096
14126
|
path: _path + ".remote",
|
|
14097
14127
|
expected: "(FilePublishRemote | undefined)",
|
|
14098
14128
|
value: input.remote
|
|
@@ -14100,14 +14130,10 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14100
14130
|
path: _path + ".published",
|
|
14101
14131
|
expected: "(FilePublishPublished | undefined)",
|
|
14102
14132
|
value: input.published
|
|
14103
|
-
})) &&
|
|
14133
|
+
})) && _vo27(input.published, _path + ".published", true && _exceptionable) || _report(_exceptionable, {
|
|
14104
14134
|
path: _path + ".published",
|
|
14105
14135
|
expected: "(FilePublishPublished | undefined)",
|
|
14106
14136
|
value: input.published
|
|
14107
|
-
}), "file" === input.type || _report(_exceptionable, {
|
|
14108
|
-
path: _path + ".type",
|
|
14109
|
-
expected: "\"file\"",
|
|
14110
|
-
value: input.type
|
|
14111
14137
|
}), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
|
|
14112
14138
|
path: _path + ".asset",
|
|
14113
14139
|
expected: "(null | string | undefined)",
|
|
@@ -14118,30 +14144,30 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14118
14144
|
value: input.connection
|
|
14119
14145
|
}), undefined === input.render || ("object" === typeof input.render && null !== input.render || _report(_exceptionable, {
|
|
14120
14146
|
path: _path + ".render",
|
|
14121
|
-
expected: "(
|
|
14147
|
+
expected: "(PublishRenderBase | undefined)",
|
|
14122
14148
|
value: input.render
|
|
14123
|
-
})) &&
|
|
14149
|
+
})) && _vo2(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
14124
14150
|
path: _path + ".render",
|
|
14125
|
-
expected: "(
|
|
14151
|
+
expected: "(PublishRenderBase | undefined)",
|
|
14126
14152
|
value: input.render
|
|
14127
14153
|
}), null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
14128
14154
|
path: _path + ".error",
|
|
14129
|
-
expected: "(__type.
|
|
14155
|
+
expected: "(__type.o9 | null | undefined)",
|
|
14130
14156
|
value: input.error
|
|
14131
|
-
})) &&
|
|
14157
|
+
})) && _vo16(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
14132
14158
|
path: _path + ".error",
|
|
14133
|
-
expected: "(__type.
|
|
14159
|
+
expected: "(__type.o9 | null | undefined)",
|
|
14134
14160
|
value: input.error
|
|
14135
14161
|
}), undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
14136
14162
|
path: _path + ".messages",
|
|
14137
14163
|
expected: "(Array<Message> | undefined)",
|
|
14138
14164
|
value: input.messages
|
|
14139
|
-
})) && input.messages.map((elem,
|
|
14140
|
-
path: _path + ".messages[" +
|
|
14165
|
+
})) && input.messages.map((elem, _index12) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
14166
|
+
path: _path + ".messages[" + _index12 + "]",
|
|
14141
14167
|
expected: "Message",
|
|
14142
14168
|
value: elem
|
|
14143
|
-
})) &&
|
|
14144
|
-
path: _path + ".messages[" +
|
|
14169
|
+
})) && _vo17(elem, _path + ".messages[" + _index12 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
14170
|
+
path: _path + ".messages[" + _index12 + "]",
|
|
14145
14171
|
expected: "Message",
|
|
14146
14172
|
value: elem
|
|
14147
14173
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14149,7 +14175,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14149
14175
|
expected: "(Array<Message> | undefined)",
|
|
14150
14176
|
value: input.messages
|
|
14151
14177
|
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
14152
|
-
if (["directory", "filename", "renders", "draft", "remote", "published", "
|
|
14178
|
+
if (["type", "directory", "filename", "renders", "draft", "remote", "published", "asset", "connection", "render", "error", "messages"].some(prop => key === prop))
|
|
14153
14179
|
return true;
|
|
14154
14180
|
const value = input[key];
|
|
14155
14181
|
if (undefined === value)
|
|
@@ -14164,32 +14190,28 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14164
14190
|
"Please remove the property next time."
|
|
14165
14191
|
].join("\n")
|
|
14166
14192
|
});
|
|
14167
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
14193
|
+
}).every(flag => flag))].every(flag => flag); const _vo19 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
14168
14194
|
const value = input[key];
|
|
14169
14195
|
if (undefined === value)
|
|
14170
14196
|
return true;
|
|
14171
14197
|
return (null !== value || _report(_exceptionable, {
|
|
14172
14198
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
14173
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
14199
|
+
expected: "(ResolvedFilePublishRender | __type.o10 | string)",
|
|
14174
14200
|
value: value
|
|
14175
14201
|
})) && (undefined !== value || _report(_exceptionable, {
|
|
14176
14202
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
14177
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
14203
|
+
expected: "(ResolvedFilePublishRender | __type.o10 | string)",
|
|
14178
14204
|
value: value
|
|
14179
14205
|
})) && ("string" === typeof value || ("object" === typeof value && null !== value || _report(_exceptionable, {
|
|
14180
14206
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
14181
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
14207
|
+
expected: "(ResolvedFilePublishRender | __type.o10 | string)",
|
|
14182
14208
|
value: value
|
|
14183
14209
|
})) && _vu0(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
14184
14210
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
14185
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
14211
|
+
expected: "(ResolvedFilePublishRender | __type.o10 | string)",
|
|
14186
14212
|
value: value
|
|
14187
14213
|
}));
|
|
14188
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
14189
|
-
path: _path + ".preset",
|
|
14190
|
-
expected: "(string | undefined)",
|
|
14191
|
-
value: input.preset
|
|
14192
|
-
}), undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
14214
|
+
}).every(flag => flag)].every(flag => flag); const _vo20 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
14193
14215
|
path: _path + ".name",
|
|
14194
14216
|
expected: "(string | undefined)",
|
|
14195
14217
|
value: input.name
|
|
@@ -14205,6 +14227,10 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14205
14227
|
path: _path + ".ignoreEmptyScene",
|
|
14206
14228
|
expected: "(boolean | undefined)",
|
|
14207
14229
|
value: input.ignoreEmptyScene
|
|
14230
|
+
}), undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
14231
|
+
path: _path + ".preset",
|
|
14232
|
+
expected: "(string | undefined)",
|
|
14233
|
+
value: input.preset
|
|
14208
14234
|
}), "string" === typeof input.type || _report(_exceptionable, {
|
|
14209
14235
|
path: _path + ".type",
|
|
14210
14236
|
expected: "string",
|
|
@@ -14213,7 +14239,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14213
14239
|
path: _path + ".scene",
|
|
14214
14240
|
expected: "(RenderSceneObject | undefined)",
|
|
14215
14241
|
value: input.scene
|
|
14216
|
-
})) &&
|
|
14242
|
+
})) && _vo3(input.scene, _path + ".scene", true && _exceptionable) || _report(_exceptionable, {
|
|
14217
14243
|
path: _path + ".scene",
|
|
14218
14244
|
expected: "(RenderSceneObject | undefined)",
|
|
14219
14245
|
value: input.scene
|
|
@@ -14221,12 +14247,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14221
14247
|
path: _path + ".profile",
|
|
14222
14248
|
expected: "(RenderProfileObject | undefined)",
|
|
14223
14249
|
value: input.profile
|
|
14224
|
-
})) &&
|
|
14250
|
+
})) && _vo11(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
14225
14251
|
path: _path + ".profile",
|
|
14226
14252
|
expected: "(RenderProfileObject | undefined)",
|
|
14227
14253
|
value: input.profile
|
|
14228
14254
|
}), 2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
14229
|
-
if (["
|
|
14255
|
+
if (["name", "path", "collisionStrategy", "ignoreEmptyScene", "preset", "type", "scene", "profile"].some(prop => key === prop))
|
|
14230
14256
|
return true;
|
|
14231
14257
|
const value = input[key];
|
|
14232
14258
|
if (undefined === value)
|
|
@@ -14241,19 +14267,19 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14241
14267
|
"Please remove the property next time."
|
|
14242
14268
|
].join("\n")
|
|
14243
14269
|
});
|
|
14244
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
14270
|
+
}).every(flag => flag))].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
14245
14271
|
path: _path + ".__context",
|
|
14246
|
-
expected: "__type.
|
|
14272
|
+
expected: "__type.o11",
|
|
14247
14273
|
value: input.__context
|
|
14248
|
-
})) &&
|
|
14274
|
+
})) && _vo22(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
14249
14275
|
path: _path + ".__context",
|
|
14250
|
-
expected: "__type.
|
|
14276
|
+
expected: "__type.o11",
|
|
14251
14277
|
value: input.__context
|
|
14252
14278
|
}), ("object" === typeof input.__returnValue && null !== input.__returnValue || _report(_exceptionable, {
|
|
14253
14279
|
path: _path + ".__returnValue",
|
|
14254
14280
|
expected: "ResolvedFilePublishRender",
|
|
14255
14281
|
value: input.__returnValue
|
|
14256
|
-
})) &&
|
|
14282
|
+
})) && _vo20(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
14257
14283
|
path: _path + ".__returnValue",
|
|
14258
14284
|
expected: "ResolvedFilePublishRender",
|
|
14259
14285
|
value: input.__returnValue
|
|
@@ -14273,11 +14299,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14273
14299
|
"Please remove the property next time."
|
|
14274
14300
|
].join("\n")
|
|
14275
14301
|
});
|
|
14276
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
14302
|
+
}).every(flag => flag))].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => [("object" === typeof input.publish && null !== input.publish || _report(_exceptionable, {
|
|
14277
14303
|
path: _path + ".publish",
|
|
14278
14304
|
expected: "FilePublishRecord",
|
|
14279
14305
|
value: input.publish
|
|
14280
|
-
})) &&
|
|
14306
|
+
})) && _vo18(input.publish, _path + ".publish", true && _exceptionable) || _report(_exceptionable, {
|
|
14281
14307
|
path: _path + ".publish",
|
|
14282
14308
|
expected: "FilePublishRecord",
|
|
14283
14309
|
value: input.publish
|
|
@@ -14305,7 +14331,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14305
14331
|
"Please remove the property next time."
|
|
14306
14332
|
].join("\n")
|
|
14307
14333
|
});
|
|
14308
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
14334
|
+
}).every(flag => flag))].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
14309
14335
|
path: _path + ".directory",
|
|
14310
14336
|
expected: "(string | undefined)",
|
|
14311
14337
|
value: input.directory
|
|
@@ -14313,14 +14339,23 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14313
14339
|
path: _path + ".filename",
|
|
14314
14340
|
expected: "(string | undefined)",
|
|
14315
14341
|
value: input.filename
|
|
14316
|
-
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
14342
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
14317
14343
|
if (["directory", "filename"].some(prop => key === prop))
|
|
14318
14344
|
return true;
|
|
14319
14345
|
const value = input[key];
|
|
14320
14346
|
if (undefined === value)
|
|
14321
14347
|
return true;
|
|
14322
|
-
return
|
|
14323
|
-
|
|
14348
|
+
return _report(_exceptionable, {
|
|
14349
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
14350
|
+
expected: "undefined",
|
|
14351
|
+
value: value,
|
|
14352
|
+
description: [
|
|
14353
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
14354
|
+
"",
|
|
14355
|
+
"Please remove the property next time."
|
|
14356
|
+
].join("\n")
|
|
14357
|
+
});
|
|
14358
|
+
}).every(flag => flag))].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
14324
14359
|
path: _path + ".directory",
|
|
14325
14360
|
expected: "(string | undefined)",
|
|
14326
14361
|
value: input.directory
|
|
@@ -14332,18 +14367,27 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14332
14367
|
path: _path + ".renders",
|
|
14333
14368
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
14334
14369
|
value: input.renders
|
|
14335
|
-
})) &&
|
|
14370
|
+
})) && _vo25(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
14336
14371
|
path: _path + ".renders",
|
|
14337
14372
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
14338
14373
|
value: input.renders
|
|
14339
|
-
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
14374
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
14340
14375
|
if (["directory", "filename", "renders"].some(prop => key === prop))
|
|
14341
14376
|
return true;
|
|
14342
14377
|
const value = input[key];
|
|
14343
14378
|
if (undefined === value)
|
|
14344
14379
|
return true;
|
|
14345
|
-
return
|
|
14346
|
-
|
|
14380
|
+
return _report(_exceptionable, {
|
|
14381
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
14382
|
+
expected: "undefined",
|
|
14383
|
+
value: value,
|
|
14384
|
+
description: [
|
|
14385
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
14386
|
+
"",
|
|
14387
|
+
"Please remove the property next time."
|
|
14388
|
+
].join("\n")
|
|
14389
|
+
});
|
|
14390
|
+
}).every(flag => flag))].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
14347
14391
|
const value = input[key];
|
|
14348
14392
|
if (undefined === value)
|
|
14349
14393
|
return true;
|
|
@@ -14351,12 +14395,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14351
14395
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
14352
14396
|
expected: "FilePublishRemoteRender",
|
|
14353
14397
|
value: value
|
|
14354
|
-
})) &&
|
|
14398
|
+
})) && _vo26(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
14355
14399
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
14356
14400
|
expected: "FilePublishRemoteRender",
|
|
14357
14401
|
value: value
|
|
14358
14402
|
});
|
|
14359
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
14403
|
+
}).every(flag => flag)].every(flag => flag); const _vo26 = (input, _path, _exceptionable = true) => [undefined === input.path || "string" === typeof input.path || _report(_exceptionable, {
|
|
14360
14404
|
path: _path + ".path",
|
|
14361
14405
|
expected: "(string | undefined)",
|
|
14362
14406
|
value: input.path
|
|
@@ -14364,12 +14408,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14364
14408
|
path: _path + ".messages",
|
|
14365
14409
|
expected: "(Array<Message> | undefined)",
|
|
14366
14410
|
value: input.messages
|
|
14367
|
-
})) && input.messages.map((elem,
|
|
14368
|
-
path: _path + ".messages[" +
|
|
14411
|
+
})) && input.messages.map((elem, _index13) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
14412
|
+
path: _path + ".messages[" + _index13 + "]",
|
|
14369
14413
|
expected: "Message",
|
|
14370
14414
|
value: elem
|
|
14371
|
-
})) &&
|
|
14372
|
-
path: _path + ".messages[" +
|
|
14415
|
+
})) && _vo17(elem, _path + ".messages[" + _index13 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
14416
|
+
path: _path + ".messages[" + _index13 + "]",
|
|
14373
14417
|
expected: "Message",
|
|
14374
14418
|
value: elem
|
|
14375
14419
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14404,7 +14448,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14404
14448
|
"Please remove the property next time."
|
|
14405
14449
|
].join("\n")
|
|
14406
14450
|
});
|
|
14407
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
14451
|
+
}).every(flag => flag))].every(flag => flag); const _vo27 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
14408
14452
|
path: _path + ".directory",
|
|
14409
14453
|
expected: "(string | undefined)",
|
|
14410
14454
|
value: input.directory
|
|
@@ -14412,14 +14456,27 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14412
14456
|
path: _path + ".filename",
|
|
14413
14457
|
expected: "string",
|
|
14414
14458
|
value: input.filename
|
|
14415
|
-
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
14459
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
14416
14460
|
if (["directory", "filename"].some(prop => key === prop))
|
|
14417
14461
|
return true;
|
|
14418
14462
|
const value = input[key];
|
|
14419
14463
|
if (undefined === value)
|
|
14420
14464
|
return true;
|
|
14421
|
-
return
|
|
14422
|
-
|
|
14465
|
+
return _report(_exceptionable, {
|
|
14466
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
14467
|
+
expected: "undefined",
|
|
14468
|
+
value: value,
|
|
14469
|
+
description: [
|
|
14470
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
14471
|
+
"",
|
|
14472
|
+
"Please remove the property next time."
|
|
14473
|
+
].join("\n")
|
|
14474
|
+
});
|
|
14475
|
+
}).every(flag => flag))].every(flag => flag); const _vo28 = (input, _path, _exceptionable = true) => ["file" === input.type || _report(_exceptionable, {
|
|
14476
|
+
path: _path + ".type",
|
|
14477
|
+
expected: "\"file\"",
|
|
14478
|
+
value: input.type
|
|
14479
|
+
}), undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
14423
14480
|
path: _path + ".directory",
|
|
14424
14481
|
expected: "(string | undefined)",
|
|
14425
14482
|
value: input.directory
|
|
@@ -14431,7 +14488,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14431
14488
|
path: _path + ".draft",
|
|
14432
14489
|
expected: "(FilePublishDraft | undefined)",
|
|
14433
14490
|
value: input.draft
|
|
14434
|
-
})) &&
|
|
14491
|
+
})) && _vo23(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
14435
14492
|
path: _path + ".draft",
|
|
14436
14493
|
expected: "(FilePublishDraft | undefined)",
|
|
14437
14494
|
value: input.draft
|
|
@@ -14439,7 +14496,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14439
14496
|
path: _path + ".remote",
|
|
14440
14497
|
expected: "(FilePublishRemoteLegacy | undefined)",
|
|
14441
14498
|
value: input.remote
|
|
14442
|
-
})) &&
|
|
14499
|
+
})) && _vo29(input.remote, _path + ".remote", true && _exceptionable) || _report(_exceptionable, {
|
|
14443
14500
|
path: _path + ".remote",
|
|
14444
14501
|
expected: "(FilePublishRemoteLegacy | undefined)",
|
|
14445
14502
|
value: input.remote
|
|
@@ -14447,7 +14504,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14447
14504
|
path: _path + ".published",
|
|
14448
14505
|
expected: "(FilePublishPublished | undefined)",
|
|
14449
14506
|
value: input.published
|
|
14450
|
-
})) &&
|
|
14507
|
+
})) && _vo27(input.published, _path + ".published", true && _exceptionable) || _report(_exceptionable, {
|
|
14451
14508
|
path: _path + ".published",
|
|
14452
14509
|
expected: "(FilePublishPublished | undefined)",
|
|
14453
14510
|
value: input.published
|
|
@@ -14459,11 +14516,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14459
14516
|
path: _path + ".renders",
|
|
14460
14517
|
expected: "undefined",
|
|
14461
14518
|
value: input.renders
|
|
14462
|
-
})), "
|
|
14463
|
-
path: _path + ".type",
|
|
14464
|
-
expected: "\"file\"",
|
|
14465
|
-
value: input.type
|
|
14466
|
-
}), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
|
|
14519
|
+
})), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
|
|
14467
14520
|
path: _path + ".asset",
|
|
14468
14521
|
expected: "(null | string | undefined)",
|
|
14469
14522
|
value: input.asset
|
|
@@ -14473,30 +14526,30 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14473
14526
|
value: input.connection
|
|
14474
14527
|
}), undefined === input.render || ("object" === typeof input.render && null !== input.render || _report(_exceptionable, {
|
|
14475
14528
|
path: _path + ".render",
|
|
14476
|
-
expected: "(
|
|
14529
|
+
expected: "(PublishRenderBase | undefined)",
|
|
14477
14530
|
value: input.render
|
|
14478
|
-
})) &&
|
|
14531
|
+
})) && _vo2(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
14479
14532
|
path: _path + ".render",
|
|
14480
|
-
expected: "(
|
|
14533
|
+
expected: "(PublishRenderBase | undefined)",
|
|
14481
14534
|
value: input.render
|
|
14482
14535
|
}), null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
14483
14536
|
path: _path + ".error",
|
|
14484
|
-
expected: "(__type.
|
|
14537
|
+
expected: "(__type.o9 | null | undefined)",
|
|
14485
14538
|
value: input.error
|
|
14486
|
-
})) &&
|
|
14539
|
+
})) && _vo16(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
14487
14540
|
path: _path + ".error",
|
|
14488
|
-
expected: "(__type.
|
|
14541
|
+
expected: "(__type.o9 | null | undefined)",
|
|
14489
14542
|
value: input.error
|
|
14490
14543
|
}), undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
14491
14544
|
path: _path + ".messages",
|
|
14492
14545
|
expected: "(Array<Message> | undefined)",
|
|
14493
14546
|
value: input.messages
|
|
14494
|
-
})) && input.messages.map((elem,
|
|
14495
|
-
path: _path + ".messages[" +
|
|
14547
|
+
})) && input.messages.map((elem, _index14) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
14548
|
+
path: _path + ".messages[" + _index14 + "]",
|
|
14496
14549
|
expected: "Message",
|
|
14497
14550
|
value: elem
|
|
14498
|
-
})) &&
|
|
14499
|
-
path: _path + ".messages[" +
|
|
14551
|
+
})) && _vo17(elem, _path + ".messages[" + _index14 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
14552
|
+
path: _path + ".messages[" + _index14 + "]",
|
|
14500
14553
|
expected: "Message",
|
|
14501
14554
|
value: elem
|
|
14502
14555
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14504,7 +14557,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14504
14557
|
expected: "(Array<Message> | undefined)",
|
|
14505
14558
|
value: input.messages
|
|
14506
14559
|
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
14507
|
-
if (["directory", "filename", "draft", "remote", "published", "renders", "
|
|
14560
|
+
if (["type", "directory", "filename", "draft", "remote", "published", "renders", "asset", "connection", "render", "error", "messages"].some(prop => key === prop))
|
|
14508
14561
|
return true;
|
|
14509
14562
|
const value = input[key];
|
|
14510
14563
|
if (undefined === value)
|
|
@@ -14519,7 +14572,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14519
14572
|
"Please remove the property next time."
|
|
14520
14573
|
].join("\n")
|
|
14521
14574
|
});
|
|
14522
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
14575
|
+
}).every(flag => flag))].every(flag => flag); const _vo29 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
14523
14576
|
path: _path + ".id",
|
|
14524
14577
|
expected: "(string | undefined)",
|
|
14525
14578
|
value: input.id
|
|
@@ -14537,19 +14590,19 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14537
14590
|
value: input.directory
|
|
14538
14591
|
}), undefined === input.subtitle || ("object" === typeof input.subtitle && null !== input.subtitle || _report(_exceptionable, {
|
|
14539
14592
|
path: _path + ".subtitle",
|
|
14540
|
-
expected: "(__type.
|
|
14593
|
+
expected: "(__type.o12 | undefined)",
|
|
14541
14594
|
value: input.subtitle
|
|
14542
|
-
})) &&
|
|
14595
|
+
})) && _vo30(input.subtitle, _path + ".subtitle", true && _exceptionable) || _report(_exceptionable, {
|
|
14543
14596
|
path: _path + ".subtitle",
|
|
14544
|
-
expected: "(__type.
|
|
14597
|
+
expected: "(__type.o12 | undefined)",
|
|
14545
14598
|
value: input.subtitle
|
|
14546
14599
|
}), undefined === input.metafile || ("object" === typeof input.metafile && null !== input.metafile || _report(_exceptionable, {
|
|
14547
14600
|
path: _path + ".metafile",
|
|
14548
|
-
expected: "(__type.
|
|
14601
|
+
expected: "(__type.o13 | undefined)",
|
|
14549
14602
|
value: input.metafile
|
|
14550
|
-
})) &&
|
|
14603
|
+
})) && _vo31(input.metafile, _path + ".metafile", true && _exceptionable) || _report(_exceptionable, {
|
|
14551
14604
|
path: _path + ".metafile",
|
|
14552
|
-
expected: "(__type.
|
|
14605
|
+
expected: "(__type.o13 | undefined)",
|
|
14553
14606
|
value: input.metafile
|
|
14554
14607
|
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
14555
14608
|
if (["id", "path", "filename", "directory", "subtitle", "metafile"].some(prop => key === prop))
|
|
@@ -14558,12 +14611,100 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14558
14611
|
if (undefined === value)
|
|
14559
14612
|
return true;
|
|
14560
14613
|
return true;
|
|
14561
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
14614
|
+
}).every(flag => flag)].every(flag => flag); const _vo30 = (input, _path, _exceptionable = true) => ["string" === typeof input.path || _report(_exceptionable, {
|
|
14615
|
+
path: _path + ".path",
|
|
14616
|
+
expected: "string",
|
|
14617
|
+
value: input.path
|
|
14618
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
14619
|
+
if (["path"].some(prop => key === prop))
|
|
14620
|
+
return true;
|
|
14621
|
+
const value = input[key];
|
|
14622
|
+
if (undefined === value)
|
|
14623
|
+
return true;
|
|
14624
|
+
return _report(_exceptionable, {
|
|
14625
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
14626
|
+
expected: "undefined",
|
|
14627
|
+
value: value,
|
|
14628
|
+
description: [
|
|
14629
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
14630
|
+
"",
|
|
14631
|
+
"Please remove the property next time."
|
|
14632
|
+
].join("\n")
|
|
14633
|
+
});
|
|
14634
|
+
}).every(flag => flag))].every(flag => flag); const _vo31 = (input, _path, _exceptionable = true) => ["string" === typeof input.path || _report(_exceptionable, {
|
|
14562
14635
|
path: _path + ".path",
|
|
14563
14636
|
expected: "string",
|
|
14564
14637
|
value: input.path
|
|
14565
14638
|
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
14566
|
-
if (["path"].some(prop => key === prop))
|
|
14639
|
+
if (["path"].some(prop => key === prop))
|
|
14640
|
+
return true;
|
|
14641
|
+
const value = input[key];
|
|
14642
|
+
if (undefined === value)
|
|
14643
|
+
return true;
|
|
14644
|
+
return _report(_exceptionable, {
|
|
14645
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
14646
|
+
expected: "undefined",
|
|
14647
|
+
value: value,
|
|
14648
|
+
description: [
|
|
14649
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
14650
|
+
"",
|
|
14651
|
+
"Please remove the property next time."
|
|
14652
|
+
].join("\n")
|
|
14653
|
+
});
|
|
14654
|
+
}).every(flag => flag))].every(flag => flag); const _vo32 = (input, _path, _exceptionable = true) => ["youtube" === input.type || _report(_exceptionable, {
|
|
14655
|
+
path: _path + ".type",
|
|
14656
|
+
expected: "\"youtube\"",
|
|
14657
|
+
value: input.type
|
|
14658
|
+
}), undefined === input.draft || ("object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) || _report(_exceptionable, {
|
|
14659
|
+
path: _path + ".draft",
|
|
14660
|
+
expected: "(__type.o14 | undefined)",
|
|
14661
|
+
value: input.draft
|
|
14662
|
+
})) && _vo33(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
14663
|
+
path: _path + ".draft",
|
|
14664
|
+
expected: "(__type.o14 | undefined)",
|
|
14665
|
+
value: input.draft
|
|
14666
|
+
}), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
|
|
14667
|
+
path: _path + ".asset",
|
|
14668
|
+
expected: "(null | string | undefined)",
|
|
14669
|
+
value: input.asset
|
|
14670
|
+
}), undefined === input.connection || "string" === typeof input.connection || _report(_exceptionable, {
|
|
14671
|
+
path: _path + ".connection",
|
|
14672
|
+
expected: "(string | undefined)",
|
|
14673
|
+
value: input.connection
|
|
14674
|
+
}), undefined === input.render || ("object" === typeof input.render && null !== input.render || _report(_exceptionable, {
|
|
14675
|
+
path: _path + ".render",
|
|
14676
|
+
expected: "(PublishRenderBase | undefined)",
|
|
14677
|
+
value: input.render
|
|
14678
|
+
})) && _vo2(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
14679
|
+
path: _path + ".render",
|
|
14680
|
+
expected: "(PublishRenderBase | undefined)",
|
|
14681
|
+
value: input.render
|
|
14682
|
+
}), true, true, null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
14683
|
+
path: _path + ".error",
|
|
14684
|
+
expected: "(__type.o9 | null | undefined)",
|
|
14685
|
+
value: input.error
|
|
14686
|
+
})) && _vo16(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
14687
|
+
path: _path + ".error",
|
|
14688
|
+
expected: "(__type.o9 | null | undefined)",
|
|
14689
|
+
value: input.error
|
|
14690
|
+
}), undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
14691
|
+
path: _path + ".messages",
|
|
14692
|
+
expected: "(Array<Message> | undefined)",
|
|
14693
|
+
value: input.messages
|
|
14694
|
+
})) && input.messages.map((elem, _index15) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
14695
|
+
path: _path + ".messages[" + _index15 + "]",
|
|
14696
|
+
expected: "Message",
|
|
14697
|
+
value: elem
|
|
14698
|
+
})) && _vo17(elem, _path + ".messages[" + _index15 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
14699
|
+
path: _path + ".messages[" + _index15 + "]",
|
|
14700
|
+
expected: "Message",
|
|
14701
|
+
value: elem
|
|
14702
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
14703
|
+
path: _path + ".messages",
|
|
14704
|
+
expected: "(Array<Message> | undefined)",
|
|
14705
|
+
value: input.messages
|
|
14706
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
14707
|
+
if (["type", "draft", "asset", "connection", "render", "published", "remote", "error", "messages"].some(prop => key === prop))
|
|
14567
14708
|
return true;
|
|
14568
14709
|
const value = input[key];
|
|
14569
14710
|
if (undefined === value)
|
|
@@ -14578,12 +14719,16 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14578
14719
|
"Please remove the property next time."
|
|
14579
14720
|
].join("\n")
|
|
14580
14721
|
});
|
|
14581
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
14582
|
-
path: _path + ".
|
|
14583
|
-
expected: "
|
|
14584
|
-
value: input.
|
|
14585
|
-
})
|
|
14586
|
-
|
|
14722
|
+
}).every(flag => flag))].every(flag => flag); const _vo33 = (input, _path, _exceptionable = true) => [undefined === input.snippet || ("object" === typeof input.snippet && null !== input.snippet && false === Array.isArray(input.snippet) || _report(_exceptionable, {
|
|
14723
|
+
path: _path + ".snippet",
|
|
14724
|
+
expected: "(__type.o15 | undefined)",
|
|
14725
|
+
value: input.snippet
|
|
14726
|
+
})) && _vo34(input.snippet, _path + ".snippet", true && _exceptionable) || _report(_exceptionable, {
|
|
14727
|
+
path: _path + ".snippet",
|
|
14728
|
+
expected: "(__type.o15 | undefined)",
|
|
14729
|
+
value: input.snippet
|
|
14730
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
14731
|
+
if (["snippet"].some(prop => key === prop))
|
|
14587
14732
|
return true;
|
|
14588
14733
|
const value = input[key];
|
|
14589
14734
|
if (undefined === value)
|
|
@@ -14598,20 +14743,28 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14598
14743
|
"Please remove the property next time."
|
|
14599
14744
|
].join("\n")
|
|
14600
14745
|
});
|
|
14601
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
14602
|
-
path: _path + ".
|
|
14603
|
-
expected: "
|
|
14604
|
-
value: input.
|
|
14605
|
-
})
|
|
14606
|
-
path: _path + ".
|
|
14607
|
-
expected: "
|
|
14608
|
-
value: input.
|
|
14609
|
-
}))
|
|
14610
|
-
path: _path + ".
|
|
14611
|
-
expected: "
|
|
14612
|
-
value:
|
|
14613
|
-
})
|
|
14614
|
-
|
|
14746
|
+
}).every(flag => flag))].every(flag => flag); const _vo34 = (input, _path, _exceptionable = true) => [undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
14747
|
+
path: _path + ".title",
|
|
14748
|
+
expected: "(string | undefined)",
|
|
14749
|
+
value: input.title
|
|
14750
|
+
}), undefined === input.tags || (Array.isArray(input.tags) || _report(_exceptionable, {
|
|
14751
|
+
path: _path + ".tags",
|
|
14752
|
+
expected: "(Array<string> | undefined)",
|
|
14753
|
+
value: input.tags
|
|
14754
|
+
})) && input.tags.map((elem, _index16) => "string" === typeof elem || _report(_exceptionable, {
|
|
14755
|
+
path: _path + ".tags[" + _index16 + "]",
|
|
14756
|
+
expected: "string",
|
|
14757
|
+
value: elem
|
|
14758
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
14759
|
+
path: _path + ".tags",
|
|
14760
|
+
expected: "(Array<string> | undefined)",
|
|
14761
|
+
value: input.tags
|
|
14762
|
+
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
14763
|
+
path: _path + ".description",
|
|
14764
|
+
expected: "(string | undefined)",
|
|
14765
|
+
value: input.description
|
|
14766
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
14767
|
+
if (["title", "tags", "description"].some(prop => key === prop))
|
|
14615
14768
|
return true;
|
|
14616
14769
|
const value = input[key];
|
|
14617
14770
|
if (undefined === value)
|
|
@@ -14628,28 +14781,28 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14628
14781
|
});
|
|
14629
14782
|
}).every(flag => flag))].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
14630
14783
|
if (undefined !== input.path)
|
|
14631
|
-
return
|
|
14784
|
+
return _vo20(input, _path, true && _exceptionable);
|
|
14632
14785
|
else if (undefined !== input.__context)
|
|
14633
|
-
return
|
|
14786
|
+
return _vo21(input, _path, true && _exceptionable);
|
|
14634
14787
|
else
|
|
14635
14788
|
return _report(_exceptionable, {
|
|
14636
14789
|
path: _path,
|
|
14637
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
14790
|
+
expected: "(ResolvedFilePublishRender | __type.o10)",
|
|
14638
14791
|
value: input
|
|
14639
14792
|
});
|
|
14640
14793
|
})(); const _vu1 = (input, _path, _exceptionable = true) => (() => {
|
|
14641
|
-
if (
|
|
14794
|
+
if (undefined !== input.type && null === input.type)
|
|
14642
14795
|
return _vo0(input, _path, true && _exceptionable);
|
|
14643
14796
|
else if ("facebook" === input.type)
|
|
14644
|
-
return
|
|
14645
|
-
else if (
|
|
14646
|
-
return
|
|
14797
|
+
return _vo1(input, _path, true && _exceptionable);
|
|
14798
|
+
else if ("youtube" === input.type)
|
|
14799
|
+
return _vo32(input, _path, true && _exceptionable);
|
|
14647
14800
|
else
|
|
14648
14801
|
return (() => {
|
|
14649
|
-
if (
|
|
14650
|
-
return
|
|
14651
|
-
if (
|
|
14652
|
-
return
|
|
14802
|
+
if (_vo28(input, _path, false && _exceptionable))
|
|
14803
|
+
return _vo28(input, _path, true && _exceptionable);
|
|
14804
|
+
if (_vo18(input, _path, false && _exceptionable))
|
|
14805
|
+
return _vo18(input, _path, true && _exceptionable);
|
|
14653
14806
|
return _report(_exceptionable, {
|
|
14654
14807
|
path: _path,
|
|
14655
14808
|
expected: "(FilePublishRecordLegacy | FilePublishRecord)",
|
|
@@ -14686,7 +14839,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14686
14839
|
}; })()(input);
|
|
14687
14840
|
}
|
|
14688
14841
|
case ":publish.stats?": {
|
|
14689
|
-
return (() => { const _io0 = (input, _exceptionable = true) => (undefined === input.status || "string" === typeof input.status) && (undefined === input.substatus || "string" === typeof input.substatus) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every((elem, _index1) => "object" === typeof elem && null !== elem && _io1(elem, true && _exceptionable))) &&
|
|
14842
|
+
return (() => { const _io0 = (input, _exceptionable = true) => (undefined === input.status || "string" === typeof input.status) && (undefined === input.substatus || "string" === typeof input.substatus) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every((elem, _index1) => "object" === typeof elem && null !== elem && _io1(elem, true && _exceptionable))) && true && true && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
14690
14843
|
if (["status", "substatus", "messages", "retrieved", "defaults"].some(prop => key === prop))
|
|
14691
14844
|
return true;
|
|
14692
14845
|
const value = input[key];
|
|
@@ -14700,214 +14853,209 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14700
14853
|
if (undefined === value)
|
|
14701
14854
|
return true;
|
|
14702
14855
|
return false;
|
|
14703
|
-
})); const _io2 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
14704
|
-
const value = input[key];
|
|
14705
|
-
if (undefined === value)
|
|
14706
|
-
return true;
|
|
14707
|
-
return true;
|
|
14708
|
-
}); const _io3 = (input, _exceptionable = true) => (undefined === input.status || "string" === typeof input.status) && (undefined === input.substatus || "string" === typeof input.substatus) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every((elem, _index2) => "object" === typeof elem && null !== elem && _io1(elem, true && _exceptionable))) && (undefined === input.retrieved || "object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) && _io2(input.retrieved, true && _exceptionable)) && (undefined === input.defaults || "object" === typeof input.defaults && null !== input.defaults && false === Array.isArray(input.defaults) && _io2(input.defaults, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
14856
|
+
})); const _io2 = (input, _exceptionable = true) => (undefined === input.status || "string" === typeof input.status) && (undefined === input.substatus || "string" === typeof input.substatus) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every((elem, _index2) => "object" === typeof elem && null !== elem && _io1(elem, true && _exceptionable))) && true && true && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
14709
14857
|
if (["status", "substatus", "messages", "retrieved", "defaults"].some(prop => key === prop))
|
|
14710
14858
|
return true;
|
|
14711
14859
|
const value = input[key];
|
|
14712
14860
|
if (undefined === value)
|
|
14713
14861
|
return true;
|
|
14714
14862
|
return false;
|
|
14715
|
-
})); const
|
|
14863
|
+
})); const _io3 = (input, _exceptionable = true) => (undefined === input.retrieved || "object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) && _io4(input.retrieved, true && _exceptionable)) && (undefined === input.defaults || "object" === typeof input.defaults && null !== input.defaults && _io7(input.defaults, true && _exceptionable)) && (undefined === input.status || "string" === typeof input.status) && (undefined === input.substatus || "string" === typeof input.substatus) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every((elem, _index3) => "object" === typeof elem && null !== elem && _io1(elem, true && _exceptionable))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
14716
14864
|
if (["retrieved", "defaults", "status", "substatus", "messages"].some(prop => key === prop))
|
|
14717
14865
|
return true;
|
|
14718
14866
|
const value = input[key];
|
|
14719
14867
|
if (undefined === value)
|
|
14720
14868
|
return true;
|
|
14721
14869
|
return false;
|
|
14722
|
-
})); const
|
|
14870
|
+
})); const _io4 = (input, _exceptionable = true) => (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io5(input.renders, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
14723
14871
|
if (["filename", "directory", "renders"].some(prop => key === prop))
|
|
14724
14872
|
return true;
|
|
14725
14873
|
const value = input[key];
|
|
14726
14874
|
if (undefined === value)
|
|
14727
14875
|
return true;
|
|
14728
|
-
return
|
|
14729
|
-
}); const
|
|
14876
|
+
return false;
|
|
14877
|
+
})); const _io5 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
14730
14878
|
const value = input[key];
|
|
14731
14879
|
if (undefined === value)
|
|
14732
14880
|
return true;
|
|
14733
|
-
return "object" === typeof value && null !== value &&
|
|
14734
|
-
}); const
|
|
14881
|
+
return "object" === typeof value && null !== value && _io6(value, true && _exceptionable);
|
|
14882
|
+
}); const _io6 = (input, _exceptionable = true) => "string" === typeof input.path && (undefined === input.size || "number" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
14735
14883
|
if (["path", "size", "hash"].some(prop => key === prop))
|
|
14736
14884
|
return true;
|
|
14737
14885
|
const value = input[key];
|
|
14738
14886
|
if (undefined === value)
|
|
14739
14887
|
return true;
|
|
14740
14888
|
return false;
|
|
14741
|
-
})); const
|
|
14889
|
+
})); const _io7 = (input, _exceptionable = true) => "string" === typeof input.directory && "string" === typeof input.filename && ("object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io8(input.renders, true && _exceptionable)) && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
14742
14890
|
if (["directory", "filename", "renders"].some(prop => key === prop))
|
|
14743
14891
|
return true;
|
|
14744
14892
|
const value = input[key];
|
|
14745
14893
|
if (undefined === value)
|
|
14746
14894
|
return true;
|
|
14747
|
-
return
|
|
14748
|
-
}); const
|
|
14895
|
+
return false;
|
|
14896
|
+
})); const _io8 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
14749
14897
|
const value = input[key];
|
|
14750
14898
|
if (undefined === value)
|
|
14751
14899
|
return true;
|
|
14752
14900
|
return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && _iu0(value, true && _exceptionable));
|
|
14753
|
-
}); const
|
|
14754
|
-
if (["
|
|
14901
|
+
}); const _io9 = (input, _exceptionable = true) => (undefined === input.name || "string" === typeof input.name) && "string" === typeof input.path && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene) && (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io10(input.scene, true && _exceptionable)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io18(input.profile, true && _exceptionable)) && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
14902
|
+
if (["name", "path", "collisionStrategy", "ignoreEmptyScene", "preset", "type", "scene", "profile"].some(prop => key === prop))
|
|
14755
14903
|
return true;
|
|
14756
14904
|
const value = input[key];
|
|
14757
14905
|
if (undefined === value)
|
|
14758
14906
|
return true;
|
|
14759
14907
|
return false;
|
|
14760
|
-
})); const
|
|
14908
|
+
})); const _io10 = (input, _exceptionable = true) => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (null === input.input || undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io11(input.input, true && _exceptionable)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io12(input.subtitleTracks, true && _exceptionable)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io15(input.video, true && _exceptionable)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io17(input.transcribe, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
14761
14909
|
if (["id", "preset", "input", "lang", "subtitle", "subtitleTracks", "video", "start", "end", "transcribe"].some(prop => key === prop))
|
|
14762
14910
|
return true;
|
|
14763
14911
|
const value = input[key];
|
|
14764
14912
|
if (undefined === value)
|
|
14765
14913
|
return true;
|
|
14766
14914
|
return false;
|
|
14767
|
-
})); const
|
|
14915
|
+
})); const _io11 = (input, _exceptionable = true) => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
14768
14916
|
if (["type", "file"].some(prop => key === prop))
|
|
14769
14917
|
return true;
|
|
14770
14918
|
const value = input[key];
|
|
14771
14919
|
if (undefined === value)
|
|
14772
14920
|
return true;
|
|
14773
14921
|
return false;
|
|
14774
|
-
})); const
|
|
14922
|
+
})); const _io12 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
14775
14923
|
const value = input[key];
|
|
14776
14924
|
if (undefined === value)
|
|
14777
14925
|
return true;
|
|
14778
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
14779
|
-
}); const
|
|
14926
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io13(value, true && _exceptionable);
|
|
14927
|
+
}); const _io13 = (input, _exceptionable = true) => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io14(input.styleOverrides, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
14780
14928
|
if (["style", "styleOverrides"].some(prop => key === prop))
|
|
14781
14929
|
return true;
|
|
14782
14930
|
const value = input[key];
|
|
14783
14931
|
if (undefined === value)
|
|
14784
14932
|
return true;
|
|
14785
14933
|
return false;
|
|
14786
|
-
})); const
|
|
14934
|
+
})); const _io14 = (input, _exceptionable = true) => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
14787
14935
|
if (["name", "fontname", "fontsize", "primaryColour", "secondaryColour", "outlineColour", "backColour", "bold", "italic", "underline", "strikeOut", "scaleX", "scaleY", "spacing", "angle", "borderStyle", "outline", "shadow", "alignment", "marginL", "marginR", "marginV", "encoding"].some(prop => key === prop))
|
|
14788
14936
|
return true;
|
|
14789
14937
|
const value = input[key];
|
|
14790
14938
|
if (undefined === value)
|
|
14791
14939
|
return true;
|
|
14792
14940
|
return false;
|
|
14793
|
-
})); const
|
|
14941
|
+
})); const _io15 = (input, _exceptionable = true) => (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io16(input.crop, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
14794
14942
|
if (["crop"].some(prop => key === prop))
|
|
14795
14943
|
return true;
|
|
14796
14944
|
const value = input[key];
|
|
14797
14945
|
if (undefined === value)
|
|
14798
14946
|
return true;
|
|
14799
14947
|
return false;
|
|
14800
|
-
})); const
|
|
14948
|
+
})); const _io16 = (input, _exceptionable = true) => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
14801
14949
|
if (["x", "y", "width", "height"].some(prop => key === prop))
|
|
14802
14950
|
return true;
|
|
14803
14951
|
const value = input[key];
|
|
14804
14952
|
if (undefined === value)
|
|
14805
14953
|
return true;
|
|
14806
14954
|
return false;
|
|
14807
|
-
})); const
|
|
14955
|
+
})); const _io17 = (input, _exceptionable = true) => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every((elem, _index4) => "number" === typeof elem)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
14808
14956
|
if (["language", "pan"].some(prop => key === prop))
|
|
14809
14957
|
return true;
|
|
14810
14958
|
const value = input[key];
|
|
14811
14959
|
if (undefined === value)
|
|
14812
14960
|
return true;
|
|
14813
14961
|
return false;
|
|
14814
|
-
})); const
|
|
14962
|
+
})); const _io18 = (input, _exceptionable = true) => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io19(input.transcribe, true && _exceptionable)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io20(input.translate, true && _exceptionable)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io21(input.audio, true && _exceptionable)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every((elem, _index5) => "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, true && _exceptionable))) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
14815
14963
|
if (["format", "transcribe", "translate", "audio", "video", "pick", "subtitle"].some(prop => key === prop))
|
|
14816
14964
|
return true;
|
|
14817
14965
|
const value = input[key];
|
|
14818
14966
|
if (undefined === value)
|
|
14819
14967
|
return true;
|
|
14820
14968
|
return false;
|
|
14821
|
-
})); const
|
|
14969
|
+
})); const _io19 = (input, _exceptionable = true) => "string" === typeof input.engine && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
14822
14970
|
if (["engine"].some(prop => key === prop))
|
|
14823
14971
|
return true;
|
|
14824
14972
|
const value = input[key];
|
|
14825
14973
|
if (undefined === value)
|
|
14826
14974
|
return true;
|
|
14827
14975
|
return false;
|
|
14828
|
-
})); const
|
|
14976
|
+
})); const _io20 = (input, _exceptionable = true) => "string" === typeof input.language && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
14829
14977
|
if (["language"].some(prop => key === prop))
|
|
14830
14978
|
return true;
|
|
14831
14979
|
const value = input[key];
|
|
14832
14980
|
if (undefined === value)
|
|
14833
14981
|
return true;
|
|
14834
14982
|
return false;
|
|
14835
|
-
})); const
|
|
14983
|
+
})); const _io21 = (input, _exceptionable = true) => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
14836
14984
|
if (["codec", "pan", "samplerate", "split"].some(prop => key === prop))
|
|
14837
14985
|
return true;
|
|
14838
14986
|
const value = input[key];
|
|
14839
14987
|
if (undefined === value)
|
|
14840
14988
|
return true;
|
|
14841
14989
|
return false;
|
|
14842
|
-
})); const
|
|
14990
|
+
})); const _io22 = (input, _exceptionable = true) => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
14843
14991
|
if (["lang", "style"].some(prop => key === prop))
|
|
14844
14992
|
return true;
|
|
14845
14993
|
const value = input[key];
|
|
14846
14994
|
if (undefined === value)
|
|
14847
14995
|
return true;
|
|
14848
14996
|
return false;
|
|
14849
|
-
})); const
|
|
14997
|
+
})); const _io23 = (input, _exceptionable = true) => "object" === typeof input.__context && null !== input.__context && _io24(input.__context, true && _exceptionable) && ("object" === typeof input.__returnValue && null !== input.__returnValue && _io9(input.__returnValue, true && _exceptionable)) && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
14850
14998
|
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
14851
14999
|
return true;
|
|
14852
15000
|
const value = input[key];
|
|
14853
15001
|
if (undefined === value)
|
|
14854
15002
|
return true;
|
|
14855
15003
|
return false;
|
|
14856
|
-
})); const
|
|
15004
|
+
})); const _io24 = (input, _exceptionable = true) => "object" === typeof input.publish && null !== input.publish && _io25(input.publish, true && _exceptionable) && "string" === typeof input.directory && "string" === typeof input.name && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
14857
15005
|
if (["publish", "directory", "name"].some(prop => key === prop))
|
|
14858
15006
|
return true;
|
|
14859
15007
|
const value = input[key];
|
|
14860
15008
|
if (undefined === value)
|
|
14861
15009
|
return true;
|
|
14862
15010
|
return false;
|
|
14863
|
-
})); const
|
|
14864
|
-
if (["directory", "filename", "renders", "draft", "remote", "published", "
|
|
15011
|
+
})); const _io25 = (input, _exceptionable = true) => "file" === input.type && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io8(input.renders, true && _exceptionable)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io26(input.draft, true && _exceptionable)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io27(input.remote, true && _exceptionable)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io30(input.published, true && _exceptionable)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io31(input.render, true && _exceptionable)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io32(input.error, true && _exceptionable)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every((elem, _index6) => "object" === typeof elem && null !== elem && _io1(elem, true && _exceptionable))) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
15012
|
+
if (["type", "directory", "filename", "renders", "draft", "remote", "published", "asset", "connection", "render", "error", "messages"].some(prop => key === prop))
|
|
14865
15013
|
return true;
|
|
14866
15014
|
const value = input[key];
|
|
14867
15015
|
if (undefined === value)
|
|
14868
15016
|
return true;
|
|
14869
15017
|
return false;
|
|
14870
|
-
})); const
|
|
15018
|
+
})); const _io26 = (input, _exceptionable = true) => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
14871
15019
|
if (["directory", "filename"].some(prop => key === prop))
|
|
14872
15020
|
return true;
|
|
14873
15021
|
const value = input[key];
|
|
14874
15022
|
if (undefined === value)
|
|
14875
15023
|
return true;
|
|
14876
|
-
return
|
|
14877
|
-
}); const
|
|
15024
|
+
return false;
|
|
15025
|
+
})); const _io27 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
14878
15026
|
if (["directory", "filename", "renders"].some(prop => key === prop))
|
|
14879
15027
|
return true;
|
|
14880
15028
|
const value = input[key];
|
|
14881
15029
|
if (undefined === value)
|
|
14882
15030
|
return true;
|
|
14883
|
-
return
|
|
14884
|
-
}); const
|
|
15031
|
+
return false;
|
|
15032
|
+
})); const _io28 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
14885
15033
|
const value = input[key];
|
|
14886
15034
|
if (undefined === value)
|
|
14887
15035
|
return true;
|
|
14888
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
14889
|
-
}); const
|
|
15036
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io29(value, true && _exceptionable);
|
|
15037
|
+
}); const _io29 = (input, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every((elem, _index7) => "object" === typeof elem && null !== elem && _io1(elem, true && _exceptionable))) && true && (undefined === input.size || "number" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash) && (undefined === input.source || "string" === typeof input.source) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
14890
15038
|
if (["path", "messages", "query", "size", "hash", "source"].some(prop => key === prop))
|
|
14891
15039
|
return true;
|
|
14892
15040
|
const value = input[key];
|
|
14893
15041
|
if (undefined === value)
|
|
14894
15042
|
return true;
|
|
14895
15043
|
return false;
|
|
14896
|
-
})); const
|
|
15044
|
+
})); const _io30 = (input, _exceptionable = true) => (undefined === input.directory || "string" === typeof input.directory) && "string" === typeof input.filename && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
14897
15045
|
if (["directory", "filename"].some(prop => key === prop))
|
|
14898
15046
|
return true;
|
|
14899
15047
|
const value = input[key];
|
|
14900
15048
|
if (undefined === value)
|
|
14901
15049
|
return true;
|
|
14902
|
-
return
|
|
14903
|
-
}); const
|
|
15050
|
+
return false;
|
|
15051
|
+
})); const _io31 = (input, _exceptionable = true) => (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io10(input.scene, true && _exceptionable)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io18(input.profile, true && _exceptionable)) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
14904
15052
|
if (["preset", "type", "scene", "profile"].some(prop => key === prop))
|
|
14905
15053
|
return true;
|
|
14906
15054
|
const value = input[key];
|
|
14907
15055
|
if (undefined === value)
|
|
14908
15056
|
return true;
|
|
14909
15057
|
return false;
|
|
14910
|
-
})); const
|
|
15058
|
+
})); const _io32 = (input, _exceptionable = true) => "string" === typeof input.method && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
14911
15059
|
if (["method"].some(prop => key === prop))
|
|
14912
15060
|
return true;
|
|
14913
15061
|
const value = input[key];
|
|
@@ -14916,16 +15064,16 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14916
15064
|
return false;
|
|
14917
15065
|
})); const _iu0 = (input, _exceptionable = true) => (() => {
|
|
14918
15066
|
if (undefined !== input.path)
|
|
14919
|
-
return
|
|
15067
|
+
return _io9(input, true && _exceptionable);
|
|
14920
15068
|
else if (undefined !== input.__context)
|
|
14921
|
-
return
|
|
15069
|
+
return _io23(input, true && _exceptionable);
|
|
14922
15070
|
else
|
|
14923
15071
|
return false;
|
|
14924
15072
|
})(); const _iu1 = (input, _exceptionable = true) => (() => {
|
|
14925
|
-
if (_io4(input, false && _exceptionable))
|
|
14926
|
-
return _io4(input, true && _exceptionable);
|
|
14927
15073
|
if (_io3(input, false && _exceptionable))
|
|
14928
15074
|
return _io3(input, true && _exceptionable);
|
|
15075
|
+
if (_io2(input, false && _exceptionable))
|
|
15076
|
+
return _io2(input, true && _exceptionable);
|
|
14929
15077
|
if (_io0(input, false && _exceptionable))
|
|
14930
15078
|
return _io0(input, true && _exceptionable);
|
|
14931
15079
|
return false;
|
|
@@ -14953,23 +15101,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14953
15101
|
path: _path + ".messages",
|
|
14954
15102
|
expected: "(Array<Message> | undefined)",
|
|
14955
15103
|
value: input.messages
|
|
14956
|
-
}),
|
|
14957
|
-
path: _path + ".retrieved",
|
|
14958
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
14959
|
-
value: input.retrieved
|
|
14960
|
-
})) && _vo2(input.retrieved, _path + ".retrieved", true && _exceptionable) || _report(_exceptionable, {
|
|
14961
|
-
path: _path + ".retrieved",
|
|
14962
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
14963
|
-
value: input.retrieved
|
|
14964
|
-
}), undefined === input.defaults || ("object" === typeof input.defaults && null !== input.defaults && false === Array.isArray(input.defaults) || _report(_exceptionable, {
|
|
14965
|
-
path: _path + ".defaults",
|
|
14966
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
14967
|
-
value: input.defaults
|
|
14968
|
-
})) && _vo2(input.defaults, _path + ".defaults", true && _exceptionable) || _report(_exceptionable, {
|
|
14969
|
-
path: _path + ".defaults",
|
|
14970
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
14971
|
-
value: input.defaults
|
|
14972
|
-
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
15104
|
+
}), true, true, 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
14973
15105
|
if (["status", "substatus", "messages", "retrieved", "defaults"].some(prop => key === prop))
|
|
14974
15106
|
return true;
|
|
14975
15107
|
const value = input[key];
|
|
@@ -15013,12 +15145,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15013
15145
|
"Please remove the property next time."
|
|
15014
15146
|
].join("\n")
|
|
15015
15147
|
});
|
|
15016
|
-
}).every(flag => flag))].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [
|
|
15017
|
-
const value = input[key];
|
|
15018
|
-
if (undefined === value)
|
|
15019
|
-
return true;
|
|
15020
|
-
return true;
|
|
15021
|
-
}).every(flag => flag)].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [undefined === input.status || "string" === typeof input.status || _report(_exceptionable, {
|
|
15148
|
+
}).every(flag => flag))].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.status || "string" === typeof input.status || _report(_exceptionable, {
|
|
15022
15149
|
path: _path + ".status",
|
|
15023
15150
|
expected: "(string | undefined)",
|
|
15024
15151
|
value: input.status
|
|
@@ -15042,23 +15169,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15042
15169
|
path: _path + ".messages",
|
|
15043
15170
|
expected: "(Array<Message> | undefined)",
|
|
15044
15171
|
value: input.messages
|
|
15045
|
-
}),
|
|
15046
|
-
path: _path + ".retrieved",
|
|
15047
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
15048
|
-
value: input.retrieved
|
|
15049
|
-
})) && _vo2(input.retrieved, _path + ".retrieved", true && _exceptionable) || _report(_exceptionable, {
|
|
15050
|
-
path: _path + ".retrieved",
|
|
15051
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
15052
|
-
value: input.retrieved
|
|
15053
|
-
}), undefined === input.defaults || ("object" === typeof input.defaults && null !== input.defaults && false === Array.isArray(input.defaults) || _report(_exceptionable, {
|
|
15054
|
-
path: _path + ".defaults",
|
|
15055
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
15056
|
-
value: input.defaults
|
|
15057
|
-
})) && _vo2(input.defaults, _path + ".defaults", true && _exceptionable) || _report(_exceptionable, {
|
|
15058
|
-
path: _path + ".defaults",
|
|
15059
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
15060
|
-
value: input.defaults
|
|
15061
|
-
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
15172
|
+
}), true, true, 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
15062
15173
|
if (["status", "substatus", "messages", "retrieved", "defaults"].some(prop => key === prop))
|
|
15063
15174
|
return true;
|
|
15064
15175
|
const value = input[key];
|
|
@@ -15074,11 +15185,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15074
15185
|
"Please remove the property next time."
|
|
15075
15186
|
].join("\n")
|
|
15076
15187
|
});
|
|
15077
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
15188
|
+
}).every(flag => flag))].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [undefined === input.retrieved || ("object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) || _report(_exceptionable, {
|
|
15078
15189
|
path: _path + ".retrieved",
|
|
15079
15190
|
expected: "(FilePublishRetrieved | undefined)",
|
|
15080
15191
|
value: input.retrieved
|
|
15081
|
-
})) &&
|
|
15192
|
+
})) && _vo4(input.retrieved, _path + ".retrieved", true && _exceptionable) || _report(_exceptionable, {
|
|
15082
15193
|
path: _path + ".retrieved",
|
|
15083
15194
|
expected: "(FilePublishRetrieved | undefined)",
|
|
15084
15195
|
value: input.retrieved
|
|
@@ -15086,7 +15197,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15086
15197
|
path: _path + ".defaults",
|
|
15087
15198
|
expected: "(FilePublishDefaults | undefined)",
|
|
15088
15199
|
value: input.defaults
|
|
15089
|
-
})) &&
|
|
15200
|
+
})) && _vo7(input.defaults, _path + ".defaults", true && _exceptionable) || _report(_exceptionable, {
|
|
15090
15201
|
path: _path + ".defaults",
|
|
15091
15202
|
expected: "(FilePublishDefaults | undefined)",
|
|
15092
15203
|
value: input.defaults
|
|
@@ -15130,7 +15241,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15130
15241
|
"Please remove the property next time."
|
|
15131
15242
|
].join("\n")
|
|
15132
15243
|
});
|
|
15133
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
15244
|
+
}).every(flag => flag))].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [undefined === input.filename || "string" === typeof input.filename || _report(_exceptionable, {
|
|
15134
15245
|
path: _path + ".filename",
|
|
15135
15246
|
expected: "(string | undefined)",
|
|
15136
15247
|
value: input.filename
|
|
@@ -15142,18 +15253,27 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15142
15253
|
path: _path + ".renders",
|
|
15143
15254
|
expected: "(Record<string, FilePublishRetrievedRender> | undefined)",
|
|
15144
15255
|
value: input.renders
|
|
15145
|
-
})) &&
|
|
15256
|
+
})) && _vo5(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
15146
15257
|
path: _path + ".renders",
|
|
15147
15258
|
expected: "(Record<string, FilePublishRetrievedRender> | undefined)",
|
|
15148
15259
|
value: input.renders
|
|
15149
|
-
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
15260
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
15150
15261
|
if (["filename", "directory", "renders"].some(prop => key === prop))
|
|
15151
15262
|
return true;
|
|
15152
15263
|
const value = input[key];
|
|
15153
15264
|
if (undefined === value)
|
|
15154
15265
|
return true;
|
|
15155
|
-
return
|
|
15156
|
-
|
|
15266
|
+
return _report(_exceptionable, {
|
|
15267
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
15268
|
+
expected: "undefined",
|
|
15269
|
+
value: value,
|
|
15270
|
+
description: [
|
|
15271
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
15272
|
+
"",
|
|
15273
|
+
"Please remove the property next time."
|
|
15274
|
+
].join("\n")
|
|
15275
|
+
});
|
|
15276
|
+
}).every(flag => flag))].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
15157
15277
|
const value = input[key];
|
|
15158
15278
|
if (undefined === value)
|
|
15159
15279
|
return true;
|
|
@@ -15161,12 +15281,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15161
15281
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
15162
15282
|
expected: "FilePublishRetrievedRender",
|
|
15163
15283
|
value: value
|
|
15164
|
-
})) &&
|
|
15284
|
+
})) && _vo6(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
15165
15285
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
15166
15286
|
expected: "FilePublishRetrievedRender",
|
|
15167
15287
|
value: value
|
|
15168
15288
|
});
|
|
15169
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
15289
|
+
}).every(flag => flag)].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.path || _report(_exceptionable, {
|
|
15170
15290
|
path: _path + ".path",
|
|
15171
15291
|
expected: "string",
|
|
15172
15292
|
value: input.path
|
|
@@ -15194,7 +15314,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15194
15314
|
"Please remove the property next time."
|
|
15195
15315
|
].join("\n")
|
|
15196
15316
|
});
|
|
15197
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
15317
|
+
}).every(flag => flag))].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => ["string" === typeof input.directory || _report(_exceptionable, {
|
|
15198
15318
|
path: _path + ".directory",
|
|
15199
15319
|
expected: "string",
|
|
15200
15320
|
value: input.directory
|
|
@@ -15206,18 +15326,27 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15206
15326
|
path: _path + ".renders",
|
|
15207
15327
|
expected: "Record<string, FilePublishRender>",
|
|
15208
15328
|
value: input.renders
|
|
15209
|
-
})) &&
|
|
15329
|
+
})) && _vo8(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
15210
15330
|
path: _path + ".renders",
|
|
15211
15331
|
expected: "Record<string, FilePublishRender>",
|
|
15212
15332
|
value: input.renders
|
|
15213
|
-
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
15333
|
+
}), 3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
15214
15334
|
if (["directory", "filename", "renders"].some(prop => key === prop))
|
|
15215
15335
|
return true;
|
|
15216
15336
|
const value = input[key];
|
|
15217
15337
|
if (undefined === value)
|
|
15218
15338
|
return true;
|
|
15219
|
-
return
|
|
15220
|
-
|
|
15339
|
+
return _report(_exceptionable, {
|
|
15340
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
15341
|
+
expected: "undefined",
|
|
15342
|
+
value: value,
|
|
15343
|
+
description: [
|
|
15344
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
15345
|
+
"",
|
|
15346
|
+
"Please remove the property next time."
|
|
15347
|
+
].join("\n")
|
|
15348
|
+
});
|
|
15349
|
+
}).every(flag => flag))].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
15221
15350
|
const value = input[key];
|
|
15222
15351
|
if (undefined === value)
|
|
15223
15352
|
return true;
|
|
@@ -15238,11 +15367,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15238
15367
|
expected: "(ResolvedFilePublishRender | __type.o9 | string)",
|
|
15239
15368
|
value: value
|
|
15240
15369
|
}));
|
|
15241
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
15242
|
-
path: _path + ".preset",
|
|
15243
|
-
expected: "(string | undefined)",
|
|
15244
|
-
value: input.preset
|
|
15245
|
-
}), undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
15370
|
+
}).every(flag => flag)].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
15246
15371
|
path: _path + ".name",
|
|
15247
15372
|
expected: "(string | undefined)",
|
|
15248
15373
|
value: input.name
|
|
@@ -15258,6 +15383,10 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15258
15383
|
path: _path + ".ignoreEmptyScene",
|
|
15259
15384
|
expected: "(boolean | undefined)",
|
|
15260
15385
|
value: input.ignoreEmptyScene
|
|
15386
|
+
}), undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
15387
|
+
path: _path + ".preset",
|
|
15388
|
+
expected: "(string | undefined)",
|
|
15389
|
+
value: input.preset
|
|
15261
15390
|
}), "string" === typeof input.type || _report(_exceptionable, {
|
|
15262
15391
|
path: _path + ".type",
|
|
15263
15392
|
expected: "string",
|
|
@@ -15266,7 +15395,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15266
15395
|
path: _path + ".scene",
|
|
15267
15396
|
expected: "(RenderSceneObject | undefined)",
|
|
15268
15397
|
value: input.scene
|
|
15269
|
-
})) &&
|
|
15398
|
+
})) && _vo10(input.scene, _path + ".scene", true && _exceptionable) || _report(_exceptionable, {
|
|
15270
15399
|
path: _path + ".scene",
|
|
15271
15400
|
expected: "(RenderSceneObject | undefined)",
|
|
15272
15401
|
value: input.scene
|
|
@@ -15274,12 +15403,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15274
15403
|
path: _path + ".profile",
|
|
15275
15404
|
expected: "(RenderProfileObject | undefined)",
|
|
15276
15405
|
value: input.profile
|
|
15277
|
-
})) &&
|
|
15406
|
+
})) && _vo18(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
15278
15407
|
path: _path + ".profile",
|
|
15279
15408
|
expected: "(RenderProfileObject | undefined)",
|
|
15280
15409
|
value: input.profile
|
|
15281
15410
|
}), 2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
15282
|
-
if (["
|
|
15411
|
+
if (["name", "path", "collisionStrategy", "ignoreEmptyScene", "preset", "type", "scene", "profile"].some(prop => key === prop))
|
|
15283
15412
|
return true;
|
|
15284
15413
|
const value = input[key];
|
|
15285
15414
|
if (undefined === value)
|
|
@@ -15294,7 +15423,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15294
15423
|
"Please remove the property next time."
|
|
15295
15424
|
].join("\n")
|
|
15296
15425
|
});
|
|
15297
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
15426
|
+
}).every(flag => flag))].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
15298
15427
|
path: _path + ".id",
|
|
15299
15428
|
expected: "(string | undefined)",
|
|
15300
15429
|
value: input.id
|
|
@@ -15306,7 +15435,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15306
15435
|
path: _path + ".input",
|
|
15307
15436
|
expected: "(__type | null | undefined)",
|
|
15308
15437
|
value: input.input
|
|
15309
|
-
})) &&
|
|
15438
|
+
})) && _vo11(input.input, _path + ".input", true && _exceptionable) || _report(_exceptionable, {
|
|
15310
15439
|
path: _path + ".input",
|
|
15311
15440
|
expected: "(__type | null | undefined)",
|
|
15312
15441
|
value: input.input
|
|
@@ -15322,7 +15451,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15322
15451
|
path: _path + ".subtitleTracks",
|
|
15323
15452
|
expected: "(__type.o1 | undefined)",
|
|
15324
15453
|
value: input.subtitleTracks
|
|
15325
|
-
})) &&
|
|
15454
|
+
})) && _vo12(input.subtitleTracks, _path + ".subtitleTracks", true && _exceptionable) || _report(_exceptionable, {
|
|
15326
15455
|
path: _path + ".subtitleTracks",
|
|
15327
15456
|
expected: "(__type.o1 | undefined)",
|
|
15328
15457
|
value: input.subtitleTracks
|
|
@@ -15330,7 +15459,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15330
15459
|
path: _path + ".video",
|
|
15331
15460
|
expected: "(__type.o3 | undefined)",
|
|
15332
15461
|
value: input.video
|
|
15333
|
-
})) &&
|
|
15462
|
+
})) && _vo15(input.video, _path + ".video", true && _exceptionable) || _report(_exceptionable, {
|
|
15334
15463
|
path: _path + ".video",
|
|
15335
15464
|
expected: "(__type.o3 | undefined)",
|
|
15336
15465
|
value: input.video
|
|
@@ -15346,7 +15475,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15346
15475
|
path: _path + ".transcribe",
|
|
15347
15476
|
expected: "(__type.o5 | undefined)",
|
|
15348
15477
|
value: input.transcribe
|
|
15349
|
-
})) &&
|
|
15478
|
+
})) && _vo17(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
15350
15479
|
path: _path + ".transcribe",
|
|
15351
15480
|
expected: "(__type.o5 | undefined)",
|
|
15352
15481
|
value: input.transcribe
|
|
@@ -15366,7 +15495,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15366
15495
|
"Please remove the property next time."
|
|
15367
15496
|
].join("\n")
|
|
15368
15497
|
});
|
|
15369
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
15498
|
+
}).every(flag => flag))].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
15370
15499
|
path: _path + ".type",
|
|
15371
15500
|
expected: "(string | undefined)",
|
|
15372
15501
|
value: input.type
|
|
@@ -15390,7 +15519,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15390
15519
|
"Please remove the property next time."
|
|
15391
15520
|
].join("\n")
|
|
15392
15521
|
});
|
|
15393
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
15522
|
+
}).every(flag => flag))].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
15394
15523
|
const value = input[key];
|
|
15395
15524
|
if (undefined === value)
|
|
15396
15525
|
return true;
|
|
@@ -15398,12 +15527,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15398
15527
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
15399
15528
|
expected: "__type.o2",
|
|
15400
15529
|
value: value
|
|
15401
|
-
})) &&
|
|
15530
|
+
})) && _vo13(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
15402
15531
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
15403
15532
|
expected: "__type.o2",
|
|
15404
15533
|
value: value
|
|
15405
15534
|
});
|
|
15406
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
15535
|
+
}).every(flag => flag)].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => [null === input.style || undefined === input.style || "string" === typeof input.style || _report(_exceptionable, {
|
|
15407
15536
|
path: _path + ".style",
|
|
15408
15537
|
expected: "(null | string | undefined)",
|
|
15409
15538
|
value: input.style
|
|
@@ -15411,7 +15540,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15411
15540
|
path: _path + ".styleOverrides",
|
|
15412
15541
|
expected: "(SubtitleStyle | undefined)",
|
|
15413
15542
|
value: input.styleOverrides
|
|
15414
|
-
})) &&
|
|
15543
|
+
})) && _vo14(input.styleOverrides, _path + ".styleOverrides", true && _exceptionable) || _report(_exceptionable, {
|
|
15415
15544
|
path: _path + ".styleOverrides",
|
|
15416
15545
|
expected: "(SubtitleStyle | undefined)",
|
|
15417
15546
|
value: input.styleOverrides
|
|
@@ -15431,7 +15560,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15431
15560
|
"Please remove the property next time."
|
|
15432
15561
|
].join("\n")
|
|
15433
15562
|
});
|
|
15434
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
15563
|
+
}).every(flag => flag))].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
15435
15564
|
path: _path + ".name",
|
|
15436
15565
|
expected: "(string | undefined)",
|
|
15437
15566
|
value: input.name
|
|
@@ -15539,11 +15668,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15539
15668
|
"Please remove the property next time."
|
|
15540
15669
|
].join("\n")
|
|
15541
15670
|
});
|
|
15542
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
15671
|
+
}).every(flag => flag))].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [undefined === input.crop || ("object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) || _report(_exceptionable, {
|
|
15543
15672
|
path: _path + ".crop",
|
|
15544
15673
|
expected: "(__type.o4 | undefined)",
|
|
15545
15674
|
value: input.crop
|
|
15546
|
-
})) &&
|
|
15675
|
+
})) && _vo16(input.crop, _path + ".crop", true && _exceptionable) || _report(_exceptionable, {
|
|
15547
15676
|
path: _path + ".crop",
|
|
15548
15677
|
expected: "(__type.o4 | undefined)",
|
|
15549
15678
|
value: input.crop
|
|
@@ -15563,7 +15692,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15563
15692
|
"Please remove the property next time."
|
|
15564
15693
|
].join("\n")
|
|
15565
15694
|
});
|
|
15566
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
15695
|
+
}).every(flag => flag))].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [undefined === input.x || "number" === typeof input.x || _report(_exceptionable, {
|
|
15567
15696
|
path: _path + ".x",
|
|
15568
15697
|
expected: "(number | undefined)",
|
|
15569
15698
|
value: input.x
|
|
@@ -15595,7 +15724,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15595
15724
|
"Please remove the property next time."
|
|
15596
15725
|
].join("\n")
|
|
15597
15726
|
});
|
|
15598
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
15727
|
+
}).every(flag => flag))].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => [undefined === input.language || "string" === typeof input.language || _report(_exceptionable, {
|
|
15599
15728
|
path: _path + ".language",
|
|
15600
15729
|
expected: "(string | undefined)",
|
|
15601
15730
|
value: input.language
|
|
@@ -15627,7 +15756,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15627
15756
|
"Please remove the property next time."
|
|
15628
15757
|
].join("\n")
|
|
15629
15758
|
});
|
|
15630
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
15759
|
+
}).every(flag => flag))].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => ["string" === typeof input.format || _report(_exceptionable, {
|
|
15631
15760
|
path: _path + ".format",
|
|
15632
15761
|
expected: "string",
|
|
15633
15762
|
value: input.format
|
|
@@ -15635,7 +15764,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15635
15764
|
path: _path + ".transcribe",
|
|
15636
15765
|
expected: "(__type.o6 | undefined)",
|
|
15637
15766
|
value: input.transcribe
|
|
15638
|
-
})) &&
|
|
15767
|
+
})) && _vo19(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
15639
15768
|
path: _path + ".transcribe",
|
|
15640
15769
|
expected: "(__type.o6 | undefined)",
|
|
15641
15770
|
value: input.transcribe
|
|
@@ -15643,7 +15772,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15643
15772
|
path: _path + ".translate",
|
|
15644
15773
|
expected: "(__type.o7 | undefined)",
|
|
15645
15774
|
value: input.translate
|
|
15646
|
-
})) &&
|
|
15775
|
+
})) && _vo20(input.translate, _path + ".translate", true && _exceptionable) || _report(_exceptionable, {
|
|
15647
15776
|
path: _path + ".translate",
|
|
15648
15777
|
expected: "(__type.o7 | undefined)",
|
|
15649
15778
|
value: input.translate
|
|
@@ -15651,7 +15780,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15651
15780
|
path: _path + ".audio",
|
|
15652
15781
|
expected: "(__type.o8 | undefined)",
|
|
15653
15782
|
value: input.audio
|
|
15654
|
-
})) &&
|
|
15783
|
+
})) && _vo21(input.audio, _path + ".audio", true && _exceptionable) || _report(_exceptionable, {
|
|
15655
15784
|
path: _path + ".audio",
|
|
15656
15785
|
expected: "(__type.o8 | undefined)",
|
|
15657
15786
|
value: input.audio
|
|
@@ -15675,7 +15804,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15675
15804
|
path: _path + ".subtitle",
|
|
15676
15805
|
expected: "(SubtitleProfile | string | undefined)",
|
|
15677
15806
|
value: input.subtitle
|
|
15678
|
-
})) &&
|
|
15807
|
+
})) && _vo22(input.subtitle, _path + ".subtitle", true && _exceptionable) || _report(_exceptionable, {
|
|
15679
15808
|
path: _path + ".subtitle",
|
|
15680
15809
|
expected: "(SubtitleProfile | string | undefined)",
|
|
15681
15810
|
value: input.subtitle
|
|
@@ -15695,7 +15824,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15695
15824
|
"Please remove the property next time."
|
|
15696
15825
|
].join("\n")
|
|
15697
15826
|
});
|
|
15698
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
15827
|
+
}).every(flag => flag))].every(flag => flag); const _vo19 = (input, _path, _exceptionable = true) => ["string" === typeof input.engine || _report(_exceptionable, {
|
|
15699
15828
|
path: _path + ".engine",
|
|
15700
15829
|
expected: "string",
|
|
15701
15830
|
value: input.engine
|
|
@@ -15715,7 +15844,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15715
15844
|
"Please remove the property next time."
|
|
15716
15845
|
].join("\n")
|
|
15717
15846
|
});
|
|
15718
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
15847
|
+
}).every(flag => flag))].every(flag => flag); const _vo20 = (input, _path, _exceptionable = true) => ["string" === typeof input.language || _report(_exceptionable, {
|
|
15719
15848
|
path: _path + ".language",
|
|
15720
15849
|
expected: "string",
|
|
15721
15850
|
value: input.language
|
|
@@ -15735,7 +15864,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15735
15864
|
"Please remove the property next time."
|
|
15736
15865
|
].join("\n")
|
|
15737
15866
|
});
|
|
15738
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
15867
|
+
}).every(flag => flag))].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [undefined === input.codec || "string" === typeof input.codec || _report(_exceptionable, {
|
|
15739
15868
|
path: _path + ".codec",
|
|
15740
15869
|
expected: "(string | undefined)",
|
|
15741
15870
|
value: input.codec
|
|
@@ -15767,7 +15896,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15767
15896
|
"Please remove the property next time."
|
|
15768
15897
|
].join("\n")
|
|
15769
15898
|
});
|
|
15770
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
15899
|
+
}).every(flag => flag))].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => [undefined === input.lang || "string" === typeof input.lang || _report(_exceptionable, {
|
|
15771
15900
|
path: _path + ".lang",
|
|
15772
15901
|
expected: "(string | undefined)",
|
|
15773
15902
|
value: input.lang
|
|
@@ -15791,11 +15920,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15791
15920
|
"Please remove the property next time."
|
|
15792
15921
|
].join("\n")
|
|
15793
15922
|
});
|
|
15794
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
15923
|
+
}).every(flag => flag))].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
15795
15924
|
path: _path + ".__context",
|
|
15796
15925
|
expected: "__type.o10",
|
|
15797
15926
|
value: input.__context
|
|
15798
|
-
})) &&
|
|
15927
|
+
})) && _vo24(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
15799
15928
|
path: _path + ".__context",
|
|
15800
15929
|
expected: "__type.o10",
|
|
15801
15930
|
value: input.__context
|
|
@@ -15803,7 +15932,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15803
15932
|
path: _path + ".__returnValue",
|
|
15804
15933
|
expected: "ResolvedFilePublishRender",
|
|
15805
15934
|
value: input.__returnValue
|
|
15806
|
-
})) &&
|
|
15935
|
+
})) && _vo9(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
15807
15936
|
path: _path + ".__returnValue",
|
|
15808
15937
|
expected: "ResolvedFilePublishRender",
|
|
15809
15938
|
value: input.__returnValue
|
|
@@ -15823,11 +15952,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15823
15952
|
"Please remove the property next time."
|
|
15824
15953
|
].join("\n")
|
|
15825
15954
|
});
|
|
15826
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
15955
|
+
}).every(flag => flag))].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => [("object" === typeof input.publish && null !== input.publish || _report(_exceptionable, {
|
|
15827
15956
|
path: _path + ".publish",
|
|
15828
15957
|
expected: "FilePublishRecord",
|
|
15829
15958
|
value: input.publish
|
|
15830
|
-
})) &&
|
|
15959
|
+
})) && _vo25(input.publish, _path + ".publish", true && _exceptionable) || _report(_exceptionable, {
|
|
15831
15960
|
path: _path + ".publish",
|
|
15832
15961
|
expected: "FilePublishRecord",
|
|
15833
15962
|
value: input.publish
|
|
@@ -15855,7 +15984,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15855
15984
|
"Please remove the property next time."
|
|
15856
15985
|
].join("\n")
|
|
15857
15986
|
});
|
|
15858
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
15987
|
+
}).every(flag => flag))].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => ["file" === input.type || _report(_exceptionable, {
|
|
15988
|
+
path: _path + ".type",
|
|
15989
|
+
expected: "\"file\"",
|
|
15990
|
+
value: input.type
|
|
15991
|
+
}), undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
15859
15992
|
path: _path + ".directory",
|
|
15860
15993
|
expected: "(string | undefined)",
|
|
15861
15994
|
value: input.directory
|
|
@@ -15867,7 +16000,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15867
16000
|
path: _path + ".renders",
|
|
15868
16001
|
expected: "(Record<string, FilePublishRender> | undefined)",
|
|
15869
16002
|
value: input.renders
|
|
15870
|
-
})) &&
|
|
16003
|
+
})) && _vo8(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
15871
16004
|
path: _path + ".renders",
|
|
15872
16005
|
expected: "(Record<string, FilePublishRender> | undefined)",
|
|
15873
16006
|
value: input.renders
|
|
@@ -15875,7 +16008,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15875
16008
|
path: _path + ".draft",
|
|
15876
16009
|
expected: "(FilePublishDraft | undefined)",
|
|
15877
16010
|
value: input.draft
|
|
15878
|
-
})) &&
|
|
16011
|
+
})) && _vo26(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
15879
16012
|
path: _path + ".draft",
|
|
15880
16013
|
expected: "(FilePublishDraft | undefined)",
|
|
15881
16014
|
value: input.draft
|
|
@@ -15883,7 +16016,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15883
16016
|
path: _path + ".remote",
|
|
15884
16017
|
expected: "(FilePublishRemote | undefined)",
|
|
15885
16018
|
value: input.remote
|
|
15886
|
-
})) &&
|
|
16019
|
+
})) && _vo27(input.remote, _path + ".remote", true && _exceptionable) || _report(_exceptionable, {
|
|
15887
16020
|
path: _path + ".remote",
|
|
15888
16021
|
expected: "(FilePublishRemote | undefined)",
|
|
15889
16022
|
value: input.remote
|
|
@@ -15891,14 +16024,10 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15891
16024
|
path: _path + ".published",
|
|
15892
16025
|
expected: "(FilePublishPublished | undefined)",
|
|
15893
16026
|
value: input.published
|
|
15894
|
-
})) &&
|
|
16027
|
+
})) && _vo30(input.published, _path + ".published", true && _exceptionable) || _report(_exceptionable, {
|
|
15895
16028
|
path: _path + ".published",
|
|
15896
16029
|
expected: "(FilePublishPublished | undefined)",
|
|
15897
16030
|
value: input.published
|
|
15898
|
-
}), "file" === input.type || _report(_exceptionable, {
|
|
15899
|
-
path: _path + ".type",
|
|
15900
|
-
expected: "\"file\"",
|
|
15901
|
-
value: input.type
|
|
15902
16031
|
}), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
|
|
15903
16032
|
path: _path + ".asset",
|
|
15904
16033
|
expected: "(null | string | undefined)",
|
|
@@ -15909,17 +16038,17 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15909
16038
|
value: input.connection
|
|
15910
16039
|
}), undefined === input.render || ("object" === typeof input.render && null !== input.render || _report(_exceptionable, {
|
|
15911
16040
|
path: _path + ".render",
|
|
15912
|
-
expected: "(
|
|
16041
|
+
expected: "(PublishRenderBase | undefined)",
|
|
15913
16042
|
value: input.render
|
|
15914
|
-
})) &&
|
|
16043
|
+
})) && _vo31(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
15915
16044
|
path: _path + ".render",
|
|
15916
|
-
expected: "(
|
|
16045
|
+
expected: "(PublishRenderBase | undefined)",
|
|
15917
16046
|
value: input.render
|
|
15918
16047
|
}), null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
15919
16048
|
path: _path + ".error",
|
|
15920
16049
|
expected: "(__type.o11 | null | undefined)",
|
|
15921
16050
|
value: input.error
|
|
15922
|
-
})) &&
|
|
16051
|
+
})) && _vo32(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
15923
16052
|
path: _path + ".error",
|
|
15924
16053
|
expected: "(__type.o11 | null | undefined)",
|
|
15925
16054
|
value: input.error
|
|
@@ -15940,7 +16069,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15940
16069
|
expected: "(Array<Message> | undefined)",
|
|
15941
16070
|
value: input.messages
|
|
15942
16071
|
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
15943
|
-
if (["directory", "filename", "renders", "draft", "remote", "published", "
|
|
16072
|
+
if (["type", "directory", "filename", "renders", "draft", "remote", "published", "asset", "connection", "render", "error", "messages"].some(prop => key === prop))
|
|
15944
16073
|
return true;
|
|
15945
16074
|
const value = input[key];
|
|
15946
16075
|
if (undefined === value)
|
|
@@ -15955,7 +16084,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15955
16084
|
"Please remove the property next time."
|
|
15956
16085
|
].join("\n")
|
|
15957
16086
|
});
|
|
15958
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
16087
|
+
}).every(flag => flag))].every(flag => flag); const _vo26 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
15959
16088
|
path: _path + ".directory",
|
|
15960
16089
|
expected: "(string | undefined)",
|
|
15961
16090
|
value: input.directory
|
|
@@ -15963,14 +16092,23 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15963
16092
|
path: _path + ".filename",
|
|
15964
16093
|
expected: "(string | undefined)",
|
|
15965
16094
|
value: input.filename
|
|
15966
|
-
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
16095
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
15967
16096
|
if (["directory", "filename"].some(prop => key === prop))
|
|
15968
16097
|
return true;
|
|
15969
16098
|
const value = input[key];
|
|
15970
16099
|
if (undefined === value)
|
|
15971
16100
|
return true;
|
|
15972
|
-
return
|
|
15973
|
-
|
|
16101
|
+
return _report(_exceptionable, {
|
|
16102
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
16103
|
+
expected: "undefined",
|
|
16104
|
+
value: value,
|
|
16105
|
+
description: [
|
|
16106
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
16107
|
+
"",
|
|
16108
|
+
"Please remove the property next time."
|
|
16109
|
+
].join("\n")
|
|
16110
|
+
});
|
|
16111
|
+
}).every(flag => flag))].every(flag => flag); const _vo27 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
15974
16112
|
path: _path + ".directory",
|
|
15975
16113
|
expected: "(string | undefined)",
|
|
15976
16114
|
value: input.directory
|
|
@@ -15982,18 +16120,27 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15982
16120
|
path: _path + ".renders",
|
|
15983
16121
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
15984
16122
|
value: input.renders
|
|
15985
|
-
})) &&
|
|
16123
|
+
})) && _vo28(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
15986
16124
|
path: _path + ".renders",
|
|
15987
16125
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
15988
16126
|
value: input.renders
|
|
15989
|
-
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
16127
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
15990
16128
|
if (["directory", "filename", "renders"].some(prop => key === prop))
|
|
15991
16129
|
return true;
|
|
15992
16130
|
const value = input[key];
|
|
15993
16131
|
if (undefined === value)
|
|
15994
16132
|
return true;
|
|
15995
|
-
return
|
|
15996
|
-
|
|
16133
|
+
return _report(_exceptionable, {
|
|
16134
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
16135
|
+
expected: "undefined",
|
|
16136
|
+
value: value,
|
|
16137
|
+
description: [
|
|
16138
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
16139
|
+
"",
|
|
16140
|
+
"Please remove the property next time."
|
|
16141
|
+
].join("\n")
|
|
16142
|
+
});
|
|
16143
|
+
}).every(flag => flag))].every(flag => flag); const _vo28 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
15997
16144
|
const value = input[key];
|
|
15998
16145
|
if (undefined === value)
|
|
15999
16146
|
return true;
|
|
@@ -16001,12 +16148,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16001
16148
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
16002
16149
|
expected: "FilePublishRemoteRender",
|
|
16003
16150
|
value: value
|
|
16004
|
-
})) &&
|
|
16151
|
+
})) && _vo29(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
16005
16152
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
16006
16153
|
expected: "FilePublishRemoteRender",
|
|
16007
16154
|
value: value
|
|
16008
16155
|
});
|
|
16009
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
16156
|
+
}).every(flag => flag)].every(flag => flag); const _vo29 = (input, _path, _exceptionable = true) => [undefined === input.path || "string" === typeof input.path || _report(_exceptionable, {
|
|
16010
16157
|
path: _path + ".path",
|
|
16011
16158
|
expected: "(string | undefined)",
|
|
16012
16159
|
value: input.path
|
|
@@ -16054,7 +16201,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16054
16201
|
"Please remove the property next time."
|
|
16055
16202
|
].join("\n")
|
|
16056
16203
|
});
|
|
16057
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
16204
|
+
}).every(flag => flag))].every(flag => flag); const _vo30 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
16058
16205
|
path: _path + ".directory",
|
|
16059
16206
|
expected: "(string | undefined)",
|
|
16060
16207
|
value: input.directory
|
|
@@ -16062,14 +16209,23 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16062
16209
|
path: _path + ".filename",
|
|
16063
16210
|
expected: "string",
|
|
16064
16211
|
value: input.filename
|
|
16065
|
-
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
16212
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
16066
16213
|
if (["directory", "filename"].some(prop => key === prop))
|
|
16067
16214
|
return true;
|
|
16068
16215
|
const value = input[key];
|
|
16069
16216
|
if (undefined === value)
|
|
16070
16217
|
return true;
|
|
16071
|
-
return
|
|
16072
|
-
|
|
16218
|
+
return _report(_exceptionable, {
|
|
16219
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
16220
|
+
expected: "undefined",
|
|
16221
|
+
value: value,
|
|
16222
|
+
description: [
|
|
16223
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
16224
|
+
"",
|
|
16225
|
+
"Please remove the property next time."
|
|
16226
|
+
].join("\n")
|
|
16227
|
+
});
|
|
16228
|
+
}).every(flag => flag))].every(flag => flag); const _vo31 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
16073
16229
|
path: _path + ".preset",
|
|
16074
16230
|
expected: "(string | undefined)",
|
|
16075
16231
|
value: input.preset
|
|
@@ -16081,7 +16237,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16081
16237
|
path: _path + ".scene",
|
|
16082
16238
|
expected: "(RenderSceneObject | undefined)",
|
|
16083
16239
|
value: input.scene
|
|
16084
|
-
})) &&
|
|
16240
|
+
})) && _vo10(input.scene, _path + ".scene", true && _exceptionable) || _report(_exceptionable, {
|
|
16085
16241
|
path: _path + ".scene",
|
|
16086
16242
|
expected: "(RenderSceneObject | undefined)",
|
|
16087
16243
|
value: input.scene
|
|
@@ -16089,7 +16245,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16089
16245
|
path: _path + ".profile",
|
|
16090
16246
|
expected: "(RenderProfileObject | undefined)",
|
|
16091
16247
|
value: input.profile
|
|
16092
|
-
})) &&
|
|
16248
|
+
})) && _vo18(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
16093
16249
|
path: _path + ".profile",
|
|
16094
16250
|
expected: "(RenderProfileObject | undefined)",
|
|
16095
16251
|
value: input.profile
|
|
@@ -16109,7 +16265,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16109
16265
|
"Please remove the property next time."
|
|
16110
16266
|
].join("\n")
|
|
16111
16267
|
});
|
|
16112
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
16268
|
+
}).every(flag => flag))].every(flag => flag); const _vo32 = (input, _path, _exceptionable = true) => ["string" === typeof input.method || _report(_exceptionable, {
|
|
16113
16269
|
path: _path + ".method",
|
|
16114
16270
|
expected: "string",
|
|
16115
16271
|
value: input.method
|
|
@@ -16131,9 +16287,9 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16131
16287
|
});
|
|
16132
16288
|
}).every(flag => flag))].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
16133
16289
|
if (undefined !== input.path)
|
|
16134
|
-
return
|
|
16290
|
+
return _vo9(input, _path, true && _exceptionable);
|
|
16135
16291
|
else if (undefined !== input.__context)
|
|
16136
|
-
return
|
|
16292
|
+
return _vo23(input, _path, true && _exceptionable);
|
|
16137
16293
|
else
|
|
16138
16294
|
return _report(_exceptionable, {
|
|
16139
16295
|
path: _path,
|
|
@@ -16141,15 +16297,15 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16141
16297
|
value: input
|
|
16142
16298
|
});
|
|
16143
16299
|
})(); const _vu1 = (input, _path, _exceptionable = true) => (() => {
|
|
16144
|
-
if (_vo4(input, _path, false && _exceptionable))
|
|
16145
|
-
return _vo4(input, _path, true && _exceptionable);
|
|
16146
16300
|
if (_vo3(input, _path, false && _exceptionable))
|
|
16147
16301
|
return _vo3(input, _path, true && _exceptionable);
|
|
16302
|
+
if (_vo2(input, _path, false && _exceptionable))
|
|
16303
|
+
return _vo2(input, _path, true && _exceptionable);
|
|
16148
16304
|
if (_vo0(input, _path, false && _exceptionable))
|
|
16149
16305
|
return _vo0(input, _path, true && _exceptionable);
|
|
16150
16306
|
return _report(_exceptionable, {
|
|
16151
16307
|
path: _path,
|
|
16152
|
-
expected: "(FilePublishStatsRecord | FacebookPublishStatsRecord |
|
|
16308
|
+
expected: "(FilePublishStatsRecord | FacebookPublishStatsRecord | PublishStatsRecordBase)",
|
|
16153
16309
|
value: input
|
|
16154
16310
|
});
|
|
16155
16311
|
})(); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && false === Array.isArray(input) && _iu1(input, true); let errors; let _report; return input => {
|
|
@@ -16158,11 +16314,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16158
16314
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
16159
16315
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
16160
16316
|
path: _path + "",
|
|
16161
|
-
expected: "(FacebookPublishStatsRecord | FilePublishStatsRecord |
|
|
16317
|
+
expected: "(FacebookPublishStatsRecord | FilePublishStatsRecord | PublishStatsRecordBase)",
|
|
16162
16318
|
value: input
|
|
16163
16319
|
})) && _vu1(input, _path + "", true) || _report(true, {
|
|
16164
16320
|
path: _path + "",
|
|
16165
|
-
expected: "(FacebookPublishStatsRecord | FilePublishStatsRecord |
|
|
16321
|
+
expected: "(FacebookPublishStatsRecord | FilePublishStatsRecord | PublishStatsRecordBase)",
|
|
16166
16322
|
value: input
|
|
16167
16323
|
}))(input, "$input", true);
|
|
16168
16324
|
const success = 0 === errors.length;
|
|
@@ -16187,19 +16343,14 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16187
16343
|
if (undefined === value)
|
|
16188
16344
|
return true;
|
|
16189
16345
|
return "object" === typeof value && null !== value && _io1(value, true && _exceptionable);
|
|
16190
|
-
}); const _io1 = (input, _exceptionable = true) => "string" === typeof input.rpcId &&
|
|
16346
|
+
}); const _io1 = (input, _exceptionable = true) => "string" === typeof input.rpcId && true && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16191
16347
|
if (["rpcId", "rpcData"].some(prop => key === prop))
|
|
16192
16348
|
return true;
|
|
16193
16349
|
const value = input[key];
|
|
16194
16350
|
if (undefined === value)
|
|
16195
16351
|
return true;
|
|
16196
16352
|
return false;
|
|
16197
|
-
})); const
|
|
16198
|
-
const value = input[key];
|
|
16199
|
-
if (undefined === value)
|
|
16200
|
-
return true;
|
|
16201
|
-
return true;
|
|
16202
|
-
}); const _vo0 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
16353
|
+
})); const _vo0 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
16203
16354
|
const value = input[key];
|
|
16204
16355
|
if (undefined === value)
|
|
16205
16356
|
return true;
|
|
@@ -16216,15 +16367,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16216
16367
|
path: _path + ".rpcId",
|
|
16217
16368
|
expected: "string",
|
|
16218
16369
|
value: input.rpcId
|
|
16219
|
-
}),
|
|
16220
|
-
path: _path + ".rpcData",
|
|
16221
|
-
expected: "Record<string, unknown>",
|
|
16222
|
-
value: input.rpcData
|
|
16223
|
-
})) && _vo2(input.rpcData, _path + ".rpcData", true && _exceptionable) || _report(_exceptionable, {
|
|
16224
|
-
path: _path + ".rpcData",
|
|
16225
|
-
expected: "Record<string, unknown>",
|
|
16226
|
-
value: input.rpcData
|
|
16227
|
-
}), 2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
16370
|
+
}), true, 2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
16228
16371
|
if (["rpcId", "rpcData"].some(prop => key === prop))
|
|
16229
16372
|
return true;
|
|
16230
16373
|
const value = input[key];
|
|
@@ -16240,22 +16383,17 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16240
16383
|
"Please remove the property next time."
|
|
16241
16384
|
].join("\n")
|
|
16242
16385
|
});
|
|
16243
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
16244
|
-
const value = input[key];
|
|
16245
|
-
if (undefined === value)
|
|
16246
|
-
return true;
|
|
16247
|
-
return true;
|
|
16248
|
-
}).every(flag => flag)].every(flag => flag); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input, true); let errors; let _report; return input => {
|
|
16386
|
+
}).every(flag => flag))].every(flag => flag); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input, true); let errors; let _report; return input => {
|
|
16249
16387
|
if (false === __is(input)) {
|
|
16250
16388
|
errors = [];
|
|
16251
16389
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
16252
16390
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
16253
16391
|
path: _path + "",
|
|
16254
|
-
expected: "
|
|
16392
|
+
expected: "PublishDomainMethodsRecordBase",
|
|
16255
16393
|
value: input
|
|
16256
16394
|
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
16257
16395
|
path: _path + "",
|
|
16258
|
-
expected: "
|
|
16396
|
+
expected: "PublishDomainMethodsRecordBase",
|
|
16259
16397
|
value: input
|
|
16260
16398
|
}))(input, "$input", true);
|
|
16261
16399
|
const success = 0 === errors.length;
|
|
@@ -16304,11 +16442,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16304
16442
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
16305
16443
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
16306
16444
|
path: _path + "",
|
|
16307
|
-
expected: "
|
|
16445
|
+
expected: "PublishDomainAcceptsProvidedRecordBase",
|
|
16308
16446
|
value: input
|
|
16309
16447
|
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
16310
16448
|
path: _path + "",
|
|
16311
|
-
expected: "
|
|
16449
|
+
expected: "PublishDomainAcceptsProvidedRecordBase",
|
|
16312
16450
|
value: input
|
|
16313
16451
|
}))(input, "$input", true);
|
|
16314
16452
|
const success = 0 === errors.length;
|
|
@@ -20215,8 +20353,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
20215
20353
|
if (undefined === value)
|
|
20216
20354
|
return true;
|
|
20217
20355
|
return false;
|
|
20218
|
-
})); const _io73 = (input, _exceptionable = true) => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings) && (undefined === input.multiplexWebSockets || "boolean" === typeof input.multiplexWebSockets) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
20219
|
-
if (["utils", "history", "refs", "access", "files", "export", "json", "hlsjs", "resetRenders", "resetReplicas", "assetStatus", "consolidateMedia", "hideInAssetMenu", "assetRoute", "devWarnings", "multiplexWebSockets"].some(prop => key === prop))
|
|
20356
|
+
})); const _io73 = (input, _exceptionable = true) => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings) && (undefined === input.multiplexWebSockets || "boolean" === typeof input.multiplexWebSockets) && (undefined === input.systemHealth || "boolean" === typeof input.systemHealth) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
20357
|
+
if (["utils", "history", "refs", "access", "files", "export", "json", "hlsjs", "resetRenders", "resetReplicas", "assetStatus", "consolidateMedia", "hideInAssetMenu", "assetRoute", "devWarnings", "multiplexWebSockets", "systemHealth"].some(prop => key === prop))
|
|
20220
20358
|
return true;
|
|
20221
20359
|
const value = input[key];
|
|
20222
20360
|
if (undefined === value)
|
|
@@ -22685,8 +22823,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22685
22823
|
path: _path + ".multiplexWebSockets",
|
|
22686
22824
|
expected: "(boolean | undefined)",
|
|
22687
22825
|
value: input.multiplexWebSockets
|
|
22826
|
+
}), undefined === input.systemHealth || "boolean" === typeof input.systemHealth || _report(_exceptionable, {
|
|
22827
|
+
path: _path + ".systemHealth",
|
|
22828
|
+
expected: "(boolean | undefined)",
|
|
22829
|
+
value: input.systemHealth
|
|
22688
22830
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
22689
|
-
if (["utils", "history", "refs", "access", "files", "export", "json", "hlsjs", "resetRenders", "resetReplicas", "assetStatus", "consolidateMedia", "hideInAssetMenu", "assetRoute", "devWarnings", "multiplexWebSockets"].some(prop => key === prop))
|
|
22831
|
+
if (["utils", "history", "refs", "access", "files", "export", "json", "hlsjs", "resetRenders", "resetReplicas", "assetStatus", "consolidateMedia", "hideInAssetMenu", "assetRoute", "devWarnings", "multiplexWebSockets", "systemHealth"].some(prop => key === prop))
|
|
22690
22832
|
return true;
|
|
22691
22833
|
const value = input[key];
|
|
22692
22834
|
if (undefined === value)
|