@nxtedition/types 23.0.49 → 23.0.51
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 +141 -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/index.d.ts +6 -5
- 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/index.d.ts +1 -1
- package/dist/records/utils.d.ts +4 -2
- package/dist/records/utils.tds.js +1 -1
- package/dist/records/validate/assert-guard.d.ts +3 -4
- package/dist/records/validate/assert-guard.js +474 -687
- package/dist/records/validate/assert.d.ts +3 -4
- package/dist/records/validate/assert.js +474 -687
- package/dist/records/validate/is.d.ts +3 -4
- package/dist/records/validate/is.js +39 -108
- package/dist/records/validate/schemas.d.ts +4 -5
- package/dist/records/validate/schemas.js +403 -437
- package/dist/records/validate/stringify.d.ts +3 -4
- package/dist/records/validate/stringify.js +66 -154
- package/dist/records/validate/utils.d.ts +4 -3
- package/dist/records/validate/utils.js +3 -0
- package/dist/records/validate/validate-equals.d.ts +3 -4
- package/dist/records/validate/validate-equals.js +723 -714
- package/dist/records/validate/validate.d.ts +3 -4
- package/dist/records/validate/validate.js +437 -635
- 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
|
@@ -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)
|
|
@@ -12976,245 +13019,240 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
12976
13019
|
}; })()(input);
|
|
12977
13020
|
}
|
|
12978
13021
|
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))
|
|
13022
|
+
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 => {
|
|
13023
|
+
if (["type", "asset"].some(prop => key === prop))
|
|
12988
13024
|
return true;
|
|
12989
13025
|
const value = input[key];
|
|
12990
13026
|
if (undefined === value)
|
|
12991
13027
|
return true;
|
|
12992
13028
|
return false;
|
|
12993
|
-
})); const
|
|
12994
|
-
if (["
|
|
13029
|
+
})); 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 => {
|
|
13030
|
+
if (["type", "pageId", "asset", "connection", "render", "draft", "published", "remote", "error", "messages"].some(prop => key === prop))
|
|
12995
13031
|
return true;
|
|
12996
13032
|
const value = input[key];
|
|
12997
13033
|
if (undefined === value)
|
|
12998
13034
|
return true;
|
|
12999
13035
|
return false;
|
|
13000
|
-
})); const
|
|
13036
|
+
})); 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
13037
|
if (["preset", "type", "scene", "profile"].some(prop => key === prop))
|
|
13002
13038
|
return true;
|
|
13003
13039
|
const value = input[key];
|
|
13004
13040
|
if (undefined === value)
|
|
13005
13041
|
return true;
|
|
13006
13042
|
return false;
|
|
13007
|
-
})); const
|
|
13043
|
+
})); 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
13044
|
if (["id", "preset", "input", "lang", "subtitle", "subtitleTracks", "video", "start", "end", "transcribe"].some(prop => key === prop))
|
|
13009
13045
|
return true;
|
|
13010
13046
|
const value = input[key];
|
|
13011
13047
|
if (undefined === value)
|
|
13012
13048
|
return true;
|
|
13013
13049
|
return false;
|
|
13014
|
-
})); const
|
|
13050
|
+
})); 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
13051
|
if (["type", "file"].some(prop => key === prop))
|
|
13016
13052
|
return true;
|
|
13017
13053
|
const value = input[key];
|
|
13018
13054
|
if (undefined === value)
|
|
13019
13055
|
return true;
|
|
13020
13056
|
return false;
|
|
13021
|
-
})); const
|
|
13057
|
+
})); const _io5 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
13022
13058
|
const value = input[key];
|
|
13023
13059
|
if (undefined === value)
|
|
13024
13060
|
return true;
|
|
13025
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
13026
|
-
}); const
|
|
13061
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io6(value, true && _exceptionable);
|
|
13062
|
+
}); 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
13063
|
if (["style", "styleOverrides"].some(prop => key === prop))
|
|
13028
13064
|
return true;
|
|
13029
13065
|
const value = input[key];
|
|
13030
13066
|
if (undefined === value)
|
|
13031
13067
|
return true;
|
|
13032
13068
|
return false;
|
|
13033
|
-
})); const
|
|
13069
|
+
})); 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
13070
|
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
13071
|
return true;
|
|
13036
13072
|
const value = input[key];
|
|
13037
13073
|
if (undefined === value)
|
|
13038
13074
|
return true;
|
|
13039
13075
|
return false;
|
|
13040
|
-
})); const
|
|
13076
|
+
})); 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
13077
|
if (["crop"].some(prop => key === prop))
|
|
13042
13078
|
return true;
|
|
13043
13079
|
const value = input[key];
|
|
13044
13080
|
if (undefined === value)
|
|
13045
13081
|
return true;
|
|
13046
13082
|
return false;
|
|
13047
|
-
})); const
|
|
13083
|
+
})); 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
13084
|
if (["x", "y", "width", "height"].some(prop => key === prop))
|
|
13049
13085
|
return true;
|
|
13050
13086
|
const value = input[key];
|
|
13051
13087
|
if (undefined === value)
|
|
13052
13088
|
return true;
|
|
13053
13089
|
return false;
|
|
13054
|
-
})); const
|
|
13090
|
+
})); 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
13091
|
if (["language", "pan"].some(prop => key === prop))
|
|
13056
13092
|
return true;
|
|
13057
13093
|
const value = input[key];
|
|
13058
13094
|
if (undefined === value)
|
|
13059
13095
|
return true;
|
|
13060
13096
|
return false;
|
|
13061
|
-
})); const
|
|
13097
|
+
})); 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
13098
|
if (["format", "transcribe", "translate", "audio", "video", "pick", "subtitle"].some(prop => key === prop))
|
|
13063
13099
|
return true;
|
|
13064
13100
|
const value = input[key];
|
|
13065
13101
|
if (undefined === value)
|
|
13066
13102
|
return true;
|
|
13067
13103
|
return false;
|
|
13068
|
-
})); const
|
|
13104
|
+
})); const _io12 = (input, _exceptionable = true) => "string" === typeof input.engine && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
13069
13105
|
if (["engine"].some(prop => key === prop))
|
|
13070
13106
|
return true;
|
|
13071
13107
|
const value = input[key];
|
|
13072
13108
|
if (undefined === value)
|
|
13073
13109
|
return true;
|
|
13074
13110
|
return false;
|
|
13075
|
-
})); const
|
|
13111
|
+
})); const _io13 = (input, _exceptionable = true) => "string" === typeof input.language && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
13076
13112
|
if (["language"].some(prop => key === prop))
|
|
13077
13113
|
return true;
|
|
13078
13114
|
const value = input[key];
|
|
13079
13115
|
if (undefined === value)
|
|
13080
13116
|
return true;
|
|
13081
13117
|
return false;
|
|
13082
|
-
})); const
|
|
13118
|
+
})); 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
13119
|
if (["codec", "pan", "samplerate", "split"].some(prop => key === prop))
|
|
13084
13120
|
return true;
|
|
13085
13121
|
const value = input[key];
|
|
13086
13122
|
if (undefined === value)
|
|
13087
13123
|
return true;
|
|
13088
13124
|
return false;
|
|
13089
|
-
})); const
|
|
13125
|
+
})); 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
13126
|
if (["lang", "style"].some(prop => key === prop))
|
|
13091
13127
|
return true;
|
|
13092
13128
|
const value = input[key];
|
|
13093
13129
|
if (undefined === value)
|
|
13094
13130
|
return true;
|
|
13095
13131
|
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 => {
|
|
13132
|
+
})); const _io16 = (input, _exceptionable = true) => "string" === typeof input.method && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
13102
13133
|
if (["method"].some(prop => key === prop))
|
|
13103
13134
|
return true;
|
|
13104
13135
|
const value = input[key];
|
|
13105
13136
|
if (undefined === value)
|
|
13106
13137
|
return true;
|
|
13107
13138
|
return false;
|
|
13108
|
-
})); const
|
|
13139
|
+
})); 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
13140
|
if (["level", "code", "msg"].some(prop => key === prop))
|
|
13110
13141
|
return true;
|
|
13111
13142
|
const value = input[key];
|
|
13112
13143
|
if (undefined === value)
|
|
13113
13144
|
return true;
|
|
13114
13145
|
return false;
|
|
13115
|
-
})); const
|
|
13116
|
-
if (["
|
|
13117
|
-
return true;
|
|
13118
|
-
const value = input[key];
|
|
13119
|
-
if (undefined === value)
|
|
13120
|
-
return true;
|
|
13121
|
-
return false;
|
|
13122
|
-
})); const _io21 = (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) && _io22(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)) && "file" === input.type && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io3(input.render, true && _exceptionable)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io18(input.error, true && _exceptionable)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every((elem, _index6) => "object" === typeof elem && null !== elem && _io19(elem, true && _exceptionable))) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
13123
|
-
if (["directory", "filename", "renders", "draft", "remote", "published", "type", "asset", "connection", "render", "error", "messages"].some(prop => key === prop))
|
|
13146
|
+
})); 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 => {
|
|
13147
|
+
if (["type", "directory", "filename", "renders", "draft", "remote", "published", "asset", "connection", "render", "error", "messages"].some(prop => key === prop))
|
|
13124
13148
|
return true;
|
|
13125
13149
|
const value = input[key];
|
|
13126
13150
|
if (undefined === value)
|
|
13127
13151
|
return true;
|
|
13128
13152
|
return false;
|
|
13129
|
-
})); const
|
|
13153
|
+
})); const _io19 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
13130
13154
|
const value = input[key];
|
|
13131
13155
|
if (undefined === value)
|
|
13132
13156
|
return true;
|
|
13133
13157
|
return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && _iu0(value, true && _exceptionable));
|
|
13134
|
-
}); const
|
|
13135
|
-
if (["
|
|
13158
|
+
}); 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 => {
|
|
13159
|
+
if (["name", "path", "collisionStrategy", "ignoreEmptyScene", "preset", "type", "scene", "profile"].some(prop => key === prop))
|
|
13136
13160
|
return true;
|
|
13137
13161
|
const value = input[key];
|
|
13138
13162
|
if (undefined === value)
|
|
13139
13163
|
return true;
|
|
13140
13164
|
return false;
|
|
13141
|
-
})); const
|
|
13165
|
+
})); 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
13166
|
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
13143
13167
|
return true;
|
|
13144
13168
|
const value = input[key];
|
|
13145
13169
|
if (undefined === value)
|
|
13146
13170
|
return true;
|
|
13147
13171
|
return false;
|
|
13148
|
-
})); const
|
|
13172
|
+
})); 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
13173
|
if (["publish", "directory", "name"].some(prop => key === prop))
|
|
13150
13174
|
return true;
|
|
13151
13175
|
const value = input[key];
|
|
13152
13176
|
if (undefined === value)
|
|
13153
13177
|
return true;
|
|
13154
13178
|
return false;
|
|
13155
|
-
})); const
|
|
13179
|
+
})); 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
13180
|
if (["directory", "filename"].some(prop => key === prop))
|
|
13157
13181
|
return true;
|
|
13158
13182
|
const value = input[key];
|
|
13159
13183
|
if (undefined === value)
|
|
13160
13184
|
return true;
|
|
13161
|
-
return
|
|
13162
|
-
}); const
|
|
13185
|
+
return false;
|
|
13186
|
+
})); 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
13187
|
if (["directory", "filename", "renders"].some(prop => key === prop))
|
|
13164
13188
|
return true;
|
|
13165
13189
|
const value = input[key];
|
|
13166
13190
|
if (undefined === value)
|
|
13167
13191
|
return true;
|
|
13168
|
-
return
|
|
13169
|
-
}); const
|
|
13192
|
+
return false;
|
|
13193
|
+
})); const _io25 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
13170
13194
|
const value = input[key];
|
|
13171
13195
|
if (undefined === value)
|
|
13172
13196
|
return true;
|
|
13173
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
13174
|
-
}); const
|
|
13197
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io26(value, true && _exceptionable);
|
|
13198
|
+
}); 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
13199
|
if (["path", "messages", "query", "size", "hash", "source"].some(prop => key === prop))
|
|
13176
13200
|
return true;
|
|
13177
13201
|
const value = input[key];
|
|
13178
13202
|
if (undefined === value)
|
|
13179
13203
|
return true;
|
|
13180
13204
|
return false;
|
|
13181
|
-
})); const
|
|
13205
|
+
})); 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
13206
|
if (["directory", "filename"].some(prop => key === prop))
|
|
13183
13207
|
return true;
|
|
13184
13208
|
const value = input[key];
|
|
13185
13209
|
if (undefined === value)
|
|
13186
13210
|
return true;
|
|
13187
|
-
return
|
|
13188
|
-
}); const
|
|
13189
|
-
if (["directory", "filename", "draft", "remote", "published", "renders", "
|
|
13211
|
+
return false;
|
|
13212
|
+
})); 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 => {
|
|
13213
|
+
if (["type", "directory", "filename", "draft", "remote", "published", "renders", "asset", "connection", "render", "error", "messages"].some(prop => key === prop))
|
|
13190
13214
|
return true;
|
|
13191
13215
|
const value = input[key];
|
|
13192
13216
|
if (undefined === value)
|
|
13193
13217
|
return true;
|
|
13194
13218
|
return false;
|
|
13195
|
-
})); const
|
|
13219
|
+
})); 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
13220
|
if (["id", "path", "filename", "directory", "subtitle", "metafile"].some(prop => key === prop))
|
|
13197
13221
|
return true;
|
|
13198
13222
|
const value = input[key];
|
|
13199
13223
|
if (undefined === value)
|
|
13200
13224
|
return true;
|
|
13201
13225
|
return true;
|
|
13202
|
-
}); const
|
|
13226
|
+
}); const _io30 = (input, _exceptionable = true) => "string" === typeof input.path && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
13203
13227
|
if (["path"].some(prop => key === prop))
|
|
13204
13228
|
return true;
|
|
13205
13229
|
const value = input[key];
|
|
13206
13230
|
if (undefined === value)
|
|
13207
13231
|
return true;
|
|
13208
13232
|
return false;
|
|
13209
|
-
})); const
|
|
13233
|
+
})); const _io31 = (input, _exceptionable = true) => "string" === typeof input.path && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
13210
13234
|
if (["path"].some(prop => key === prop))
|
|
13211
13235
|
return true;
|
|
13212
13236
|
const value = input[key];
|
|
13213
13237
|
if (undefined === value)
|
|
13214
13238
|
return true;
|
|
13215
13239
|
return false;
|
|
13216
|
-
})); const
|
|
13217
|
-
if (["type", "asset"].some(prop => key === prop))
|
|
13240
|
+
})); 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 => {
|
|
13241
|
+
if (["type", "draft", "asset", "connection", "render", "published", "remote", "error", "messages"].some(prop => key === prop))
|
|
13242
|
+
return true;
|
|
13243
|
+
const value = input[key];
|
|
13244
|
+
if (undefined === value)
|
|
13245
|
+
return true;
|
|
13246
|
+
return false;
|
|
13247
|
+
})); 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 => {
|
|
13248
|
+
if (["snippet"].some(prop => key === prop))
|
|
13249
|
+
return true;
|
|
13250
|
+
const value = input[key];
|
|
13251
|
+
if (undefined === value)
|
|
13252
|
+
return true;
|
|
13253
|
+
return false;
|
|
13254
|
+
})); 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 => {
|
|
13255
|
+
if (["title", "tags", "description"].some(prop => key === prop))
|
|
13218
13256
|
return true;
|
|
13219
13257
|
const value = input[key];
|
|
13220
13258
|
if (undefined === value)
|
|
@@ -13222,38 +13260,62 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13222
13260
|
return false;
|
|
13223
13261
|
})); const _iu0 = (input, _exceptionable = true) => (() => {
|
|
13224
13262
|
if (undefined !== input.path)
|
|
13225
|
-
return
|
|
13263
|
+
return _io20(input, true && _exceptionable);
|
|
13226
13264
|
else if (undefined !== input.__context)
|
|
13227
|
-
return
|
|
13265
|
+
return _io21(input, true && _exceptionable);
|
|
13228
13266
|
else
|
|
13229
13267
|
return false;
|
|
13230
13268
|
})(); const _iu1 = (input, _exceptionable = true) => (() => {
|
|
13231
|
-
if (
|
|
13269
|
+
if (undefined !== input.type && null === input.type)
|
|
13232
13270
|
return _io0(input, true && _exceptionable);
|
|
13233
13271
|
else if ("facebook" === input.type)
|
|
13234
|
-
return
|
|
13235
|
-
else if (
|
|
13236
|
-
return
|
|
13272
|
+
return _io1(input, true && _exceptionable);
|
|
13273
|
+
else if ("youtube" === input.type)
|
|
13274
|
+
return _io32(input, true && _exceptionable);
|
|
13237
13275
|
else
|
|
13238
13276
|
return (() => {
|
|
13239
|
-
if (
|
|
13240
|
-
return
|
|
13241
|
-
if (
|
|
13242
|
-
return
|
|
13277
|
+
if (_io28(input, false && _exceptionable))
|
|
13278
|
+
return _io28(input, true && _exceptionable);
|
|
13279
|
+
if (_io18(input, false && _exceptionable))
|
|
13280
|
+
return _io18(input, true && _exceptionable);
|
|
13243
13281
|
return false;
|
|
13244
13282
|
})();
|
|
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, {
|
|
13283
|
+
})(); const _vo0 = (input, _path, _exceptionable = true) => [(undefined !== input.type || _report(_exceptionable, {
|
|
13254
13284
|
path: _path + ".type",
|
|
13255
|
-
expected: "
|
|
13285
|
+
expected: "null",
|
|
13286
|
+
value: input.type
|
|
13287
|
+
})) && (null === input.type || _report(_exceptionable, {
|
|
13288
|
+
path: _path + ".type",
|
|
13289
|
+
expected: "null",
|
|
13290
|
+
value: input.type
|
|
13291
|
+
})), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
|
|
13292
|
+
path: _path + ".asset",
|
|
13293
|
+
expected: "(null | string | undefined)",
|
|
13294
|
+
value: input.asset
|
|
13295
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
13296
|
+
if (["type", "asset"].some(prop => key === prop))
|
|
13297
|
+
return true;
|
|
13298
|
+
const value = input[key];
|
|
13299
|
+
if (undefined === value)
|
|
13300
|
+
return true;
|
|
13301
|
+
return _report(_exceptionable, {
|
|
13302
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13303
|
+
expected: "undefined",
|
|
13304
|
+
value: value,
|
|
13305
|
+
description: [
|
|
13306
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
13307
|
+
"",
|
|
13308
|
+
"Please remove the property next time."
|
|
13309
|
+
].join("\n")
|
|
13310
|
+
});
|
|
13311
|
+
}).every(flag => flag))].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["facebook" === input.type || _report(_exceptionable, {
|
|
13312
|
+
path: _path + ".type",
|
|
13313
|
+
expected: "\"facebook\"",
|
|
13256
13314
|
value: input.type
|
|
13315
|
+
}), undefined === input.pageId || "string" === typeof input.pageId || _report(_exceptionable, {
|
|
13316
|
+
path: _path + ".pageId",
|
|
13317
|
+
expected: "(string | undefined)",
|
|
13318
|
+
value: input.pageId
|
|
13257
13319
|
}), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
|
|
13258
13320
|
path: _path + ".asset",
|
|
13259
13321
|
expected: "(null | string | undefined)",
|
|
@@ -13264,35 +13326,19 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13264
13326
|
value: input.connection
|
|
13265
13327
|
}), undefined === input.render || ("object" === typeof input.render && null !== input.render || _report(_exceptionable, {
|
|
13266
13328
|
path: _path + ".render",
|
|
13267
|
-
expected: "(
|
|
13329
|
+
expected: "(PublishRenderBase | undefined)",
|
|
13268
13330
|
value: input.render
|
|
13269
|
-
})) &&
|
|
13331
|
+
})) && _vo2(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
13270
13332
|
path: _path + ".render",
|
|
13271
|
-
expected: "(
|
|
13333
|
+
expected: "(PublishRenderBase | undefined)",
|
|
13272
13334
|
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, {
|
|
13335
|
+
}), true, true, true, null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
13290
13336
|
path: _path + ".error",
|
|
13291
|
-
expected: "(__type.
|
|
13337
|
+
expected: "(__type.o9 | null | undefined)",
|
|
13292
13338
|
value: input.error
|
|
13293
|
-
})) &&
|
|
13339
|
+
})) && _vo16(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
13294
13340
|
path: _path + ".error",
|
|
13295
|
-
expected: "(__type.
|
|
13341
|
+
expected: "(__type.o9 | null | undefined)",
|
|
13296
13342
|
value: input.error
|
|
13297
13343
|
}), undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
13298
13344
|
path: _path + ".messages",
|
|
@@ -13302,7 +13348,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13302
13348
|
path: _path + ".messages[" + _index9 + "]",
|
|
13303
13349
|
expected: "Message",
|
|
13304
13350
|
value: elem
|
|
13305
|
-
})) &&
|
|
13351
|
+
})) && _vo17(elem, _path + ".messages[" + _index9 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
13306
13352
|
path: _path + ".messages[" + _index9 + "]",
|
|
13307
13353
|
expected: "Message",
|
|
13308
13354
|
value: elem
|
|
@@ -13311,7 +13357,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13311
13357
|
expected: "(Array<Message> | undefined)",
|
|
13312
13358
|
value: input.messages
|
|
13313
13359
|
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
13314
|
-
if (["
|
|
13360
|
+
if (["type", "pageId", "asset", "connection", "render", "draft", "published", "remote", "error", "messages"].some(prop => key === prop))
|
|
13315
13361
|
return true;
|
|
13316
13362
|
const value = input[key];
|
|
13317
13363
|
if (undefined === value)
|
|
@@ -13326,67 +13372,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13326
13372
|
"Please remove the property next time."
|
|
13327
13373
|
].join("\n")
|
|
13328
13374
|
});
|
|
13329
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
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))
|
|
13375
|
-
return true;
|
|
13376
|
-
const value = input[key];
|
|
13377
|
-
if (undefined === value)
|
|
13378
|
-
return true;
|
|
13379
|
-
return _report(_exceptionable, {
|
|
13380
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13381
|
-
expected: "undefined",
|
|
13382
|
-
value: value,
|
|
13383
|
-
description: [
|
|
13384
|
-
`The property \`${key}\` is not defined in the object type.`,
|
|
13385
|
-
"",
|
|
13386
|
-
"Please remove the property next time."
|
|
13387
|
-
].join("\n")
|
|
13388
|
-
});
|
|
13389
|
-
}).every(flag => flag))].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
13375
|
+
}).every(flag => flag))].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
13390
13376
|
path: _path + ".preset",
|
|
13391
13377
|
expected: "(string | undefined)",
|
|
13392
13378
|
value: input.preset
|
|
@@ -13398,7 +13384,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13398
13384
|
path: _path + ".scene",
|
|
13399
13385
|
expected: "(RenderSceneObject | undefined)",
|
|
13400
13386
|
value: input.scene
|
|
13401
|
-
})) &&
|
|
13387
|
+
})) && _vo3(input.scene, _path + ".scene", true && _exceptionable) || _report(_exceptionable, {
|
|
13402
13388
|
path: _path + ".scene",
|
|
13403
13389
|
expected: "(RenderSceneObject | undefined)",
|
|
13404
13390
|
value: input.scene
|
|
@@ -13406,7 +13392,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13406
13392
|
path: _path + ".profile",
|
|
13407
13393
|
expected: "(RenderProfileObject | undefined)",
|
|
13408
13394
|
value: input.profile
|
|
13409
|
-
})) &&
|
|
13395
|
+
})) && _vo11(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
13410
13396
|
path: _path + ".profile",
|
|
13411
13397
|
expected: "(RenderProfileObject | undefined)",
|
|
13412
13398
|
value: input.profile
|
|
@@ -13426,7 +13412,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13426
13412
|
"Please remove the property next time."
|
|
13427
13413
|
].join("\n")
|
|
13428
13414
|
});
|
|
13429
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
13415
|
+
}).every(flag => flag))].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
13430
13416
|
path: _path + ".id",
|
|
13431
13417
|
expected: "(string | undefined)",
|
|
13432
13418
|
value: input.id
|
|
@@ -13436,11 +13422,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13436
13422
|
value: input.preset
|
|
13437
13423
|
}), null === input.input || undefined === input.input || ("object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) || _report(_exceptionable, {
|
|
13438
13424
|
path: _path + ".input",
|
|
13439
|
-
expected: "(__type
|
|
13425
|
+
expected: "(__type | null | undefined)",
|
|
13440
13426
|
value: input.input
|
|
13441
|
-
})) &&
|
|
13427
|
+
})) && _vo4(input.input, _path + ".input", true && _exceptionable) || _report(_exceptionable, {
|
|
13442
13428
|
path: _path + ".input",
|
|
13443
|
-
expected: "(__type
|
|
13429
|
+
expected: "(__type | null | undefined)",
|
|
13444
13430
|
value: input.input
|
|
13445
13431
|
}), undefined === input.lang || "string" === typeof input.lang || _report(_exceptionable, {
|
|
13446
13432
|
path: _path + ".lang",
|
|
@@ -13452,19 +13438,19 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13452
13438
|
value: input.subtitle
|
|
13453
13439
|
}), undefined === input.subtitleTracks || ("object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) || _report(_exceptionable, {
|
|
13454
13440
|
path: _path + ".subtitleTracks",
|
|
13455
|
-
expected: "(__type.
|
|
13441
|
+
expected: "(__type.o1 | undefined)",
|
|
13456
13442
|
value: input.subtitleTracks
|
|
13457
|
-
})) &&
|
|
13443
|
+
})) && _vo5(input.subtitleTracks, _path + ".subtitleTracks", true && _exceptionable) || _report(_exceptionable, {
|
|
13458
13444
|
path: _path + ".subtitleTracks",
|
|
13459
|
-
expected: "(__type.
|
|
13445
|
+
expected: "(__type.o1 | undefined)",
|
|
13460
13446
|
value: input.subtitleTracks
|
|
13461
13447
|
}), undefined === input.video || ("object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) || _report(_exceptionable, {
|
|
13462
13448
|
path: _path + ".video",
|
|
13463
|
-
expected: "(__type.
|
|
13449
|
+
expected: "(__type.o3 | undefined)",
|
|
13464
13450
|
value: input.video
|
|
13465
|
-
})) &&
|
|
13451
|
+
})) && _vo8(input.video, _path + ".video", true && _exceptionable) || _report(_exceptionable, {
|
|
13466
13452
|
path: _path + ".video",
|
|
13467
|
-
expected: "(__type.
|
|
13453
|
+
expected: "(__type.o3 | undefined)",
|
|
13468
13454
|
value: input.video
|
|
13469
13455
|
}), undefined === input.start || "number" === typeof input.start || _report(_exceptionable, {
|
|
13470
13456
|
path: _path + ".start",
|
|
@@ -13476,11 +13462,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13476
13462
|
value: input.end
|
|
13477
13463
|
}), undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) || _report(_exceptionable, {
|
|
13478
13464
|
path: _path + ".transcribe",
|
|
13479
|
-
expected: "(__type.
|
|
13465
|
+
expected: "(__type.o5 | undefined)",
|
|
13480
13466
|
value: input.transcribe
|
|
13481
|
-
})) &&
|
|
13467
|
+
})) && _vo10(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
13482
13468
|
path: _path + ".transcribe",
|
|
13483
|
-
expected: "(__type.
|
|
13469
|
+
expected: "(__type.o5 | undefined)",
|
|
13484
13470
|
value: input.transcribe
|
|
13485
13471
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
13486
13472
|
if (["id", "preset", "input", "lang", "subtitle", "subtitleTracks", "video", "start", "end", "transcribe"].some(prop => key === prop))
|
|
@@ -13498,7 +13484,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13498
13484
|
"Please remove the property next time."
|
|
13499
13485
|
].join("\n")
|
|
13500
13486
|
});
|
|
13501
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
13487
|
+
}).every(flag => flag))].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
13502
13488
|
path: _path + ".type",
|
|
13503
13489
|
expected: "(string | undefined)",
|
|
13504
13490
|
value: input.type
|
|
@@ -13522,20 +13508,20 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13522
13508
|
"Please remove the property next time."
|
|
13523
13509
|
].join("\n")
|
|
13524
13510
|
});
|
|
13525
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
13511
|
+
}).every(flag => flag))].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
13526
13512
|
const value = input[key];
|
|
13527
13513
|
if (undefined === value)
|
|
13528
13514
|
return true;
|
|
13529
13515
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
|
13530
13516
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13531
|
-
expected: "__type.
|
|
13517
|
+
expected: "__type.o2",
|
|
13532
13518
|
value: value
|
|
13533
|
-
})) &&
|
|
13519
|
+
})) && _vo6(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
13534
13520
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13535
|
-
expected: "__type.
|
|
13521
|
+
expected: "__type.o2",
|
|
13536
13522
|
value: value
|
|
13537
13523
|
});
|
|
13538
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
13524
|
+
}).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
13525
|
path: _path + ".style",
|
|
13540
13526
|
expected: "(null | string | undefined)",
|
|
13541
13527
|
value: input.style
|
|
@@ -13543,7 +13529,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13543
13529
|
path: _path + ".styleOverrides",
|
|
13544
13530
|
expected: "(SubtitleStyle | undefined)",
|
|
13545
13531
|
value: input.styleOverrides
|
|
13546
|
-
})) &&
|
|
13532
|
+
})) && _vo7(input.styleOverrides, _path + ".styleOverrides", true && _exceptionable) || _report(_exceptionable, {
|
|
13547
13533
|
path: _path + ".styleOverrides",
|
|
13548
13534
|
expected: "(SubtitleStyle | undefined)",
|
|
13549
13535
|
value: input.styleOverrides
|
|
@@ -13563,7 +13549,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13563
13549
|
"Please remove the property next time."
|
|
13564
13550
|
].join("\n")
|
|
13565
13551
|
});
|
|
13566
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
13552
|
+
}).every(flag => flag))].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
13567
13553
|
path: _path + ".name",
|
|
13568
13554
|
expected: "(string | undefined)",
|
|
13569
13555
|
value: input.name
|
|
@@ -13671,13 +13657,13 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13671
13657
|
"Please remove the property next time."
|
|
13672
13658
|
].join("\n")
|
|
13673
13659
|
});
|
|
13674
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
13660
|
+
}).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
13661
|
path: _path + ".crop",
|
|
13676
|
-
expected: "(__type.
|
|
13662
|
+
expected: "(__type.o4 | undefined)",
|
|
13677
13663
|
value: input.crop
|
|
13678
|
-
})) &&
|
|
13664
|
+
})) && _vo9(input.crop, _path + ".crop", true && _exceptionable) || _report(_exceptionable, {
|
|
13679
13665
|
path: _path + ".crop",
|
|
13680
|
-
expected: "(__type.
|
|
13666
|
+
expected: "(__type.o4 | undefined)",
|
|
13681
13667
|
value: input.crop
|
|
13682
13668
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
13683
13669
|
if (["crop"].some(prop => key === prop))
|
|
@@ -13695,7 +13681,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13695
13681
|
"Please remove the property next time."
|
|
13696
13682
|
].join("\n")
|
|
13697
13683
|
});
|
|
13698
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
13684
|
+
}).every(flag => flag))].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [undefined === input.x || "number" === typeof input.x || _report(_exceptionable, {
|
|
13699
13685
|
path: _path + ".x",
|
|
13700
13686
|
expected: "(number | undefined)",
|
|
13701
13687
|
value: input.x
|
|
@@ -13727,7 +13713,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13727
13713
|
"Please remove the property next time."
|
|
13728
13714
|
].join("\n")
|
|
13729
13715
|
});
|
|
13730
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
13716
|
+
}).every(flag => flag))].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => [undefined === input.language || "string" === typeof input.language || _report(_exceptionable, {
|
|
13731
13717
|
path: _path + ".language",
|
|
13732
13718
|
expected: "(string | undefined)",
|
|
13733
13719
|
value: input.language
|
|
@@ -13735,8 +13721,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13735
13721
|
path: _path + ".pan",
|
|
13736
13722
|
expected: "(Array<number> | undefined)",
|
|
13737
13723
|
value: input.pan
|
|
13738
|
-
})) && input.pan.map((elem,
|
|
13739
|
-
path: _path + ".pan[" +
|
|
13724
|
+
})) && input.pan.map((elem, _index10) => "number" === typeof elem || _report(_exceptionable, {
|
|
13725
|
+
path: _path + ".pan[" + _index10 + "]",
|
|
13740
13726
|
expected: "number",
|
|
13741
13727
|
value: elem
|
|
13742
13728
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -13759,40 +13745,40 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13759
13745
|
"Please remove the property next time."
|
|
13760
13746
|
].join("\n")
|
|
13761
13747
|
});
|
|
13762
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
13748
|
+
}).every(flag => flag))].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => ["string" === typeof input.format || _report(_exceptionable, {
|
|
13763
13749
|
path: _path + ".format",
|
|
13764
13750
|
expected: "string",
|
|
13765
13751
|
value: input.format
|
|
13766
13752
|
}), undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe || _report(_exceptionable, {
|
|
13767
13753
|
path: _path + ".transcribe",
|
|
13768
|
-
expected: "(__type.
|
|
13754
|
+
expected: "(__type.o6 | undefined)",
|
|
13769
13755
|
value: input.transcribe
|
|
13770
|
-
})) &&
|
|
13756
|
+
})) && _vo12(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
13771
13757
|
path: _path + ".transcribe",
|
|
13772
|
-
expected: "(__type.
|
|
13758
|
+
expected: "(__type.o6 | undefined)",
|
|
13773
13759
|
value: input.transcribe
|
|
13774
13760
|
}), undefined === input.translate || ("object" === typeof input.translate && null !== input.translate || _report(_exceptionable, {
|
|
13775
13761
|
path: _path + ".translate",
|
|
13776
|
-
expected: "(__type.
|
|
13762
|
+
expected: "(__type.o7 | undefined)",
|
|
13777
13763
|
value: input.translate
|
|
13778
|
-
})) &&
|
|
13764
|
+
})) && _vo13(input.translate, _path + ".translate", true && _exceptionable) || _report(_exceptionable, {
|
|
13779
13765
|
path: _path + ".translate",
|
|
13780
|
-
expected: "(__type.
|
|
13766
|
+
expected: "(__type.o7 | undefined)",
|
|
13781
13767
|
value: input.translate
|
|
13782
13768
|
}), undefined === input.audio || ("object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) || _report(_exceptionable, {
|
|
13783
13769
|
path: _path + ".audio",
|
|
13784
|
-
expected: "(__type.
|
|
13770
|
+
expected: "(__type.o8 | undefined)",
|
|
13785
13771
|
value: input.audio
|
|
13786
|
-
})) &&
|
|
13772
|
+
})) && _vo14(input.audio, _path + ".audio", true && _exceptionable) || _report(_exceptionable, {
|
|
13787
13773
|
path: _path + ".audio",
|
|
13788
|
-
expected: "(__type.
|
|
13774
|
+
expected: "(__type.o8 | undefined)",
|
|
13789
13775
|
value: input.audio
|
|
13790
13776
|
}), true, undefined === input.pick || (Array.isArray(input.pick) || _report(_exceptionable, {
|
|
13791
13777
|
path: _path + ".pick",
|
|
13792
13778
|
expected: "(Array<string> | undefined)",
|
|
13793
13779
|
value: input.pick
|
|
13794
|
-
})) && input.pick.map((elem,
|
|
13795
|
-
path: _path + ".pick[" +
|
|
13780
|
+
})) && input.pick.map((elem, _index11) => "string" === typeof elem || _report(_exceptionable, {
|
|
13781
|
+
path: _path + ".pick[" + _index11 + "]",
|
|
13796
13782
|
expected: "string",
|
|
13797
13783
|
value: elem
|
|
13798
13784
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -13807,7 +13793,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13807
13793
|
path: _path + ".subtitle",
|
|
13808
13794
|
expected: "(SubtitleProfile | string | undefined)",
|
|
13809
13795
|
value: input.subtitle
|
|
13810
|
-
})) &&
|
|
13796
|
+
})) && _vo15(input.subtitle, _path + ".subtitle", true && _exceptionable) || _report(_exceptionable, {
|
|
13811
13797
|
path: _path + ".subtitle",
|
|
13812
13798
|
expected: "(SubtitleProfile | string | undefined)",
|
|
13813
13799
|
value: input.subtitle
|
|
@@ -13827,7 +13813,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13827
13813
|
"Please remove the property next time."
|
|
13828
13814
|
].join("\n")
|
|
13829
13815
|
});
|
|
13830
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
13816
|
+
}).every(flag => flag))].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => ["string" === typeof input.engine || _report(_exceptionable, {
|
|
13831
13817
|
path: _path + ".engine",
|
|
13832
13818
|
expected: "string",
|
|
13833
13819
|
value: input.engine
|
|
@@ -13847,7 +13833,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13847
13833
|
"Please remove the property next time."
|
|
13848
13834
|
].join("\n")
|
|
13849
13835
|
});
|
|
13850
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
13836
|
+
}).every(flag => flag))].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => ["string" === typeof input.language || _report(_exceptionable, {
|
|
13851
13837
|
path: _path + ".language",
|
|
13852
13838
|
expected: "string",
|
|
13853
13839
|
value: input.language
|
|
@@ -13867,7 +13853,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13867
13853
|
"Please remove the property next time."
|
|
13868
13854
|
].join("\n")
|
|
13869
13855
|
});
|
|
13870
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
13856
|
+
}).every(flag => flag))].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [undefined === input.codec || "string" === typeof input.codec || _report(_exceptionable, {
|
|
13871
13857
|
path: _path + ".codec",
|
|
13872
13858
|
expected: "(string | undefined)",
|
|
13873
13859
|
value: input.codec
|
|
@@ -13899,7 +13885,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13899
13885
|
"Please remove the property next time."
|
|
13900
13886
|
].join("\n")
|
|
13901
13887
|
});
|
|
13902
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
13888
|
+
}).every(flag => flag))].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [undefined === input.lang || "string" === typeof input.lang || _report(_exceptionable, {
|
|
13903
13889
|
path: _path + ".lang",
|
|
13904
13890
|
expected: "(string | undefined)",
|
|
13905
13891
|
value: input.lang
|
|
@@ -13923,12 +13909,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13923
13909
|
"Please remove the property next time."
|
|
13924
13910
|
].join("\n")
|
|
13925
13911
|
});
|
|
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, {
|
|
13912
|
+
}).every(flag => flag))].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => ["string" === typeof input.method || _report(_exceptionable, {
|
|
13932
13913
|
path: _path + ".method",
|
|
13933
13914
|
expected: "string",
|
|
13934
13915
|
value: input.method
|
|
@@ -13948,7 +13929,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13948
13929
|
"Please remove the property next time."
|
|
13949
13930
|
].join("\n")
|
|
13950
13931
|
});
|
|
13951
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
13932
|
+
}).every(flag => flag))].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => ["number" === typeof input.level || _report(_exceptionable, {
|
|
13952
13933
|
path: _path + ".level",
|
|
13953
13934
|
expected: "number",
|
|
13954
13935
|
value: input.level
|
|
@@ -13976,95 +13957,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13976
13957
|
"Please remove the property next time."
|
|
13977
13958
|
].join("\n")
|
|
13978
13959
|
});
|
|
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, {
|
|
13960
|
+
}).every(flag => flag))].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => ["file" === input.type || _report(_exceptionable, {
|
|
13984
13961
|
path: _path + ".type",
|
|
13985
|
-
expected: "\"
|
|
13962
|
+
expected: "\"file\"",
|
|
13986
13963
|
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, {
|
|
13964
|
+
}), undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
14068
13965
|
path: _path + ".directory",
|
|
14069
13966
|
expected: "(string | undefined)",
|
|
14070
13967
|
value: input.directory
|
|
@@ -14076,7 +13973,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14076
13973
|
path: _path + ".renders",
|
|
14077
13974
|
expected: "(Record<string, FilePublishRender> | undefined)",
|
|
14078
13975
|
value: input.renders
|
|
14079
|
-
})) &&
|
|
13976
|
+
})) && _vo19(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
14080
13977
|
path: _path + ".renders",
|
|
14081
13978
|
expected: "(Record<string, FilePublishRender> | undefined)",
|
|
14082
13979
|
value: input.renders
|
|
@@ -14084,7 +13981,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14084
13981
|
path: _path + ".draft",
|
|
14085
13982
|
expected: "(FilePublishDraft | undefined)",
|
|
14086
13983
|
value: input.draft
|
|
14087
|
-
})) &&
|
|
13984
|
+
})) && _vo23(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
14088
13985
|
path: _path + ".draft",
|
|
14089
13986
|
expected: "(FilePublishDraft | undefined)",
|
|
14090
13987
|
value: input.draft
|
|
@@ -14092,7 +13989,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14092
13989
|
path: _path + ".remote",
|
|
14093
13990
|
expected: "(FilePublishRemote | undefined)",
|
|
14094
13991
|
value: input.remote
|
|
14095
|
-
})) &&
|
|
13992
|
+
})) && _vo24(input.remote, _path + ".remote", true && _exceptionable) || _report(_exceptionable, {
|
|
14096
13993
|
path: _path + ".remote",
|
|
14097
13994
|
expected: "(FilePublishRemote | undefined)",
|
|
14098
13995
|
value: input.remote
|
|
@@ -14100,14 +13997,10 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14100
13997
|
path: _path + ".published",
|
|
14101
13998
|
expected: "(FilePublishPublished | undefined)",
|
|
14102
13999
|
value: input.published
|
|
14103
|
-
})) &&
|
|
14000
|
+
})) && _vo27(input.published, _path + ".published", true && _exceptionable) || _report(_exceptionable, {
|
|
14104
14001
|
path: _path + ".published",
|
|
14105
14002
|
expected: "(FilePublishPublished | undefined)",
|
|
14106
14003
|
value: input.published
|
|
14107
|
-
}), "file" === input.type || _report(_exceptionable, {
|
|
14108
|
-
path: _path + ".type",
|
|
14109
|
-
expected: "\"file\"",
|
|
14110
|
-
value: input.type
|
|
14111
14004
|
}), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
|
|
14112
14005
|
path: _path + ".asset",
|
|
14113
14006
|
expected: "(null | string | undefined)",
|
|
@@ -14118,30 +14011,30 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14118
14011
|
value: input.connection
|
|
14119
14012
|
}), undefined === input.render || ("object" === typeof input.render && null !== input.render || _report(_exceptionable, {
|
|
14120
14013
|
path: _path + ".render",
|
|
14121
|
-
expected: "(
|
|
14014
|
+
expected: "(PublishRenderBase | undefined)",
|
|
14122
14015
|
value: input.render
|
|
14123
|
-
})) &&
|
|
14016
|
+
})) && _vo2(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
14124
14017
|
path: _path + ".render",
|
|
14125
|
-
expected: "(
|
|
14018
|
+
expected: "(PublishRenderBase | undefined)",
|
|
14126
14019
|
value: input.render
|
|
14127
14020
|
}), null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
14128
14021
|
path: _path + ".error",
|
|
14129
|
-
expected: "(__type.
|
|
14022
|
+
expected: "(__type.o9 | null | undefined)",
|
|
14130
14023
|
value: input.error
|
|
14131
|
-
})) &&
|
|
14024
|
+
})) && _vo16(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
14132
14025
|
path: _path + ".error",
|
|
14133
|
-
expected: "(__type.
|
|
14026
|
+
expected: "(__type.o9 | null | undefined)",
|
|
14134
14027
|
value: input.error
|
|
14135
14028
|
}), undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
14136
14029
|
path: _path + ".messages",
|
|
14137
14030
|
expected: "(Array<Message> | undefined)",
|
|
14138
14031
|
value: input.messages
|
|
14139
|
-
})) && input.messages.map((elem,
|
|
14140
|
-
path: _path + ".messages[" +
|
|
14032
|
+
})) && input.messages.map((elem, _index12) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
14033
|
+
path: _path + ".messages[" + _index12 + "]",
|
|
14141
14034
|
expected: "Message",
|
|
14142
14035
|
value: elem
|
|
14143
|
-
})) &&
|
|
14144
|
-
path: _path + ".messages[" +
|
|
14036
|
+
})) && _vo17(elem, _path + ".messages[" + _index12 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
14037
|
+
path: _path + ".messages[" + _index12 + "]",
|
|
14145
14038
|
expected: "Message",
|
|
14146
14039
|
value: elem
|
|
14147
14040
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14149,7 +14042,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14149
14042
|
expected: "(Array<Message> | undefined)",
|
|
14150
14043
|
value: input.messages
|
|
14151
14044
|
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
14152
|
-
if (["directory", "filename", "renders", "draft", "remote", "published", "
|
|
14045
|
+
if (["type", "directory", "filename", "renders", "draft", "remote", "published", "asset", "connection", "render", "error", "messages"].some(prop => key === prop))
|
|
14153
14046
|
return true;
|
|
14154
14047
|
const value = input[key];
|
|
14155
14048
|
if (undefined === value)
|
|
@@ -14164,32 +14057,28 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14164
14057
|
"Please remove the property next time."
|
|
14165
14058
|
].join("\n")
|
|
14166
14059
|
});
|
|
14167
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
14060
|
+
}).every(flag => flag))].every(flag => flag); const _vo19 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
14168
14061
|
const value = input[key];
|
|
14169
14062
|
if (undefined === value)
|
|
14170
14063
|
return true;
|
|
14171
14064
|
return (null !== value || _report(_exceptionable, {
|
|
14172
14065
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
14173
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
14066
|
+
expected: "(ResolvedFilePublishRender | __type.o10 | string)",
|
|
14174
14067
|
value: value
|
|
14175
14068
|
})) && (undefined !== value || _report(_exceptionable, {
|
|
14176
14069
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
14177
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
14070
|
+
expected: "(ResolvedFilePublishRender | __type.o10 | string)",
|
|
14178
14071
|
value: value
|
|
14179
14072
|
})) && ("string" === typeof value || ("object" === typeof value && null !== value || _report(_exceptionable, {
|
|
14180
14073
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
14181
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
14074
|
+
expected: "(ResolvedFilePublishRender | __type.o10 | string)",
|
|
14182
14075
|
value: value
|
|
14183
14076
|
})) && _vu0(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
14184
14077
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
14185
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
14078
|
+
expected: "(ResolvedFilePublishRender | __type.o10 | string)",
|
|
14186
14079
|
value: value
|
|
14187
14080
|
}));
|
|
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, {
|
|
14081
|
+
}).every(flag => flag)].every(flag => flag); const _vo20 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
14193
14082
|
path: _path + ".name",
|
|
14194
14083
|
expected: "(string | undefined)",
|
|
14195
14084
|
value: input.name
|
|
@@ -14205,6 +14094,10 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14205
14094
|
path: _path + ".ignoreEmptyScene",
|
|
14206
14095
|
expected: "(boolean | undefined)",
|
|
14207
14096
|
value: input.ignoreEmptyScene
|
|
14097
|
+
}), undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
14098
|
+
path: _path + ".preset",
|
|
14099
|
+
expected: "(string | undefined)",
|
|
14100
|
+
value: input.preset
|
|
14208
14101
|
}), "string" === typeof input.type || _report(_exceptionable, {
|
|
14209
14102
|
path: _path + ".type",
|
|
14210
14103
|
expected: "string",
|
|
@@ -14213,7 +14106,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14213
14106
|
path: _path + ".scene",
|
|
14214
14107
|
expected: "(RenderSceneObject | undefined)",
|
|
14215
14108
|
value: input.scene
|
|
14216
|
-
})) &&
|
|
14109
|
+
})) && _vo3(input.scene, _path + ".scene", true && _exceptionable) || _report(_exceptionable, {
|
|
14217
14110
|
path: _path + ".scene",
|
|
14218
14111
|
expected: "(RenderSceneObject | undefined)",
|
|
14219
14112
|
value: input.scene
|
|
@@ -14221,12 +14114,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14221
14114
|
path: _path + ".profile",
|
|
14222
14115
|
expected: "(RenderProfileObject | undefined)",
|
|
14223
14116
|
value: input.profile
|
|
14224
|
-
})) &&
|
|
14117
|
+
})) && _vo11(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
14225
14118
|
path: _path + ".profile",
|
|
14226
14119
|
expected: "(RenderProfileObject | undefined)",
|
|
14227
14120
|
value: input.profile
|
|
14228
14121
|
}), 2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
14229
|
-
if (["
|
|
14122
|
+
if (["name", "path", "collisionStrategy", "ignoreEmptyScene", "preset", "type", "scene", "profile"].some(prop => key === prop))
|
|
14230
14123
|
return true;
|
|
14231
14124
|
const value = input[key];
|
|
14232
14125
|
if (undefined === value)
|
|
@@ -14241,19 +14134,19 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14241
14134
|
"Please remove the property next time."
|
|
14242
14135
|
].join("\n")
|
|
14243
14136
|
});
|
|
14244
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
14137
|
+
}).every(flag => flag))].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
14245
14138
|
path: _path + ".__context",
|
|
14246
|
-
expected: "__type.
|
|
14139
|
+
expected: "__type.o11",
|
|
14247
14140
|
value: input.__context
|
|
14248
|
-
})) &&
|
|
14141
|
+
})) && _vo22(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
14249
14142
|
path: _path + ".__context",
|
|
14250
|
-
expected: "__type.
|
|
14143
|
+
expected: "__type.o11",
|
|
14251
14144
|
value: input.__context
|
|
14252
14145
|
}), ("object" === typeof input.__returnValue && null !== input.__returnValue || _report(_exceptionable, {
|
|
14253
14146
|
path: _path + ".__returnValue",
|
|
14254
14147
|
expected: "ResolvedFilePublishRender",
|
|
14255
14148
|
value: input.__returnValue
|
|
14256
|
-
})) &&
|
|
14149
|
+
})) && _vo20(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
14257
14150
|
path: _path + ".__returnValue",
|
|
14258
14151
|
expected: "ResolvedFilePublishRender",
|
|
14259
14152
|
value: input.__returnValue
|
|
@@ -14273,11 +14166,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14273
14166
|
"Please remove the property next time."
|
|
14274
14167
|
].join("\n")
|
|
14275
14168
|
});
|
|
14276
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
14169
|
+
}).every(flag => flag))].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => [("object" === typeof input.publish && null !== input.publish || _report(_exceptionable, {
|
|
14277
14170
|
path: _path + ".publish",
|
|
14278
14171
|
expected: "FilePublishRecord",
|
|
14279
14172
|
value: input.publish
|
|
14280
|
-
})) &&
|
|
14173
|
+
})) && _vo18(input.publish, _path + ".publish", true && _exceptionable) || _report(_exceptionable, {
|
|
14281
14174
|
path: _path + ".publish",
|
|
14282
14175
|
expected: "FilePublishRecord",
|
|
14283
14176
|
value: input.publish
|
|
@@ -14305,7 +14198,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14305
14198
|
"Please remove the property next time."
|
|
14306
14199
|
].join("\n")
|
|
14307
14200
|
});
|
|
14308
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
14201
|
+
}).every(flag => flag))].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
14309
14202
|
path: _path + ".directory",
|
|
14310
14203
|
expected: "(string | undefined)",
|
|
14311
14204
|
value: input.directory
|
|
@@ -14313,14 +14206,23 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14313
14206
|
path: _path + ".filename",
|
|
14314
14207
|
expected: "(string | undefined)",
|
|
14315
14208
|
value: input.filename
|
|
14316
|
-
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
14209
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
14317
14210
|
if (["directory", "filename"].some(prop => key === prop))
|
|
14318
14211
|
return true;
|
|
14319
14212
|
const value = input[key];
|
|
14320
14213
|
if (undefined === value)
|
|
14321
14214
|
return true;
|
|
14322
|
-
return
|
|
14323
|
-
|
|
14215
|
+
return _report(_exceptionable, {
|
|
14216
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
14217
|
+
expected: "undefined",
|
|
14218
|
+
value: value,
|
|
14219
|
+
description: [
|
|
14220
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
14221
|
+
"",
|
|
14222
|
+
"Please remove the property next time."
|
|
14223
|
+
].join("\n")
|
|
14224
|
+
});
|
|
14225
|
+
}).every(flag => flag))].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
14324
14226
|
path: _path + ".directory",
|
|
14325
14227
|
expected: "(string | undefined)",
|
|
14326
14228
|
value: input.directory
|
|
@@ -14332,18 +14234,27 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14332
14234
|
path: _path + ".renders",
|
|
14333
14235
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
14334
14236
|
value: input.renders
|
|
14335
|
-
})) &&
|
|
14237
|
+
})) && _vo25(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
14336
14238
|
path: _path + ".renders",
|
|
14337
14239
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
14338
14240
|
value: input.renders
|
|
14339
|
-
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
14241
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
14340
14242
|
if (["directory", "filename", "renders"].some(prop => key === prop))
|
|
14341
14243
|
return true;
|
|
14342
14244
|
const value = input[key];
|
|
14343
14245
|
if (undefined === value)
|
|
14344
14246
|
return true;
|
|
14345
|
-
return
|
|
14346
|
-
|
|
14247
|
+
return _report(_exceptionable, {
|
|
14248
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
14249
|
+
expected: "undefined",
|
|
14250
|
+
value: value,
|
|
14251
|
+
description: [
|
|
14252
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
14253
|
+
"",
|
|
14254
|
+
"Please remove the property next time."
|
|
14255
|
+
].join("\n")
|
|
14256
|
+
});
|
|
14257
|
+
}).every(flag => flag))].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
14347
14258
|
const value = input[key];
|
|
14348
14259
|
if (undefined === value)
|
|
14349
14260
|
return true;
|
|
@@ -14351,12 +14262,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14351
14262
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
14352
14263
|
expected: "FilePublishRemoteRender",
|
|
14353
14264
|
value: value
|
|
14354
|
-
})) &&
|
|
14265
|
+
})) && _vo26(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
14355
14266
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
14356
14267
|
expected: "FilePublishRemoteRender",
|
|
14357
14268
|
value: value
|
|
14358
14269
|
});
|
|
14359
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
14270
|
+
}).every(flag => flag)].every(flag => flag); const _vo26 = (input, _path, _exceptionable = true) => [undefined === input.path || "string" === typeof input.path || _report(_exceptionable, {
|
|
14360
14271
|
path: _path + ".path",
|
|
14361
14272
|
expected: "(string | undefined)",
|
|
14362
14273
|
value: input.path
|
|
@@ -14364,12 +14275,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14364
14275
|
path: _path + ".messages",
|
|
14365
14276
|
expected: "(Array<Message> | undefined)",
|
|
14366
14277
|
value: input.messages
|
|
14367
|
-
})) && input.messages.map((elem,
|
|
14368
|
-
path: _path + ".messages[" +
|
|
14278
|
+
})) && input.messages.map((elem, _index13) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
14279
|
+
path: _path + ".messages[" + _index13 + "]",
|
|
14369
14280
|
expected: "Message",
|
|
14370
14281
|
value: elem
|
|
14371
|
-
})) &&
|
|
14372
|
-
path: _path + ".messages[" +
|
|
14282
|
+
})) && _vo17(elem, _path + ".messages[" + _index13 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
14283
|
+
path: _path + ".messages[" + _index13 + "]",
|
|
14373
14284
|
expected: "Message",
|
|
14374
14285
|
value: elem
|
|
14375
14286
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14404,7 +14315,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14404
14315
|
"Please remove the property next time."
|
|
14405
14316
|
].join("\n")
|
|
14406
14317
|
});
|
|
14407
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
14318
|
+
}).every(flag => flag))].every(flag => flag); const _vo27 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
14408
14319
|
path: _path + ".directory",
|
|
14409
14320
|
expected: "(string | undefined)",
|
|
14410
14321
|
value: input.directory
|
|
@@ -14412,14 +14323,27 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14412
14323
|
path: _path + ".filename",
|
|
14413
14324
|
expected: "string",
|
|
14414
14325
|
value: input.filename
|
|
14415
|
-
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
14326
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
14416
14327
|
if (["directory", "filename"].some(prop => key === prop))
|
|
14417
14328
|
return true;
|
|
14418
14329
|
const value = input[key];
|
|
14419
14330
|
if (undefined === value)
|
|
14420
14331
|
return true;
|
|
14421
|
-
return
|
|
14422
|
-
|
|
14332
|
+
return _report(_exceptionable, {
|
|
14333
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
14334
|
+
expected: "undefined",
|
|
14335
|
+
value: value,
|
|
14336
|
+
description: [
|
|
14337
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
14338
|
+
"",
|
|
14339
|
+
"Please remove the property next time."
|
|
14340
|
+
].join("\n")
|
|
14341
|
+
});
|
|
14342
|
+
}).every(flag => flag))].every(flag => flag); const _vo28 = (input, _path, _exceptionable = true) => ["file" === input.type || _report(_exceptionable, {
|
|
14343
|
+
path: _path + ".type",
|
|
14344
|
+
expected: "\"file\"",
|
|
14345
|
+
value: input.type
|
|
14346
|
+
}), undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
14423
14347
|
path: _path + ".directory",
|
|
14424
14348
|
expected: "(string | undefined)",
|
|
14425
14349
|
value: input.directory
|
|
@@ -14431,7 +14355,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14431
14355
|
path: _path + ".draft",
|
|
14432
14356
|
expected: "(FilePublishDraft | undefined)",
|
|
14433
14357
|
value: input.draft
|
|
14434
|
-
})) &&
|
|
14358
|
+
})) && _vo23(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
14435
14359
|
path: _path + ".draft",
|
|
14436
14360
|
expected: "(FilePublishDraft | undefined)",
|
|
14437
14361
|
value: input.draft
|
|
@@ -14439,7 +14363,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14439
14363
|
path: _path + ".remote",
|
|
14440
14364
|
expected: "(FilePublishRemoteLegacy | undefined)",
|
|
14441
14365
|
value: input.remote
|
|
14442
|
-
})) &&
|
|
14366
|
+
})) && _vo29(input.remote, _path + ".remote", true && _exceptionable) || _report(_exceptionable, {
|
|
14443
14367
|
path: _path + ".remote",
|
|
14444
14368
|
expected: "(FilePublishRemoteLegacy | undefined)",
|
|
14445
14369
|
value: input.remote
|
|
@@ -14447,7 +14371,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14447
14371
|
path: _path + ".published",
|
|
14448
14372
|
expected: "(FilePublishPublished | undefined)",
|
|
14449
14373
|
value: input.published
|
|
14450
|
-
})) &&
|
|
14374
|
+
})) && _vo27(input.published, _path + ".published", true && _exceptionable) || _report(_exceptionable, {
|
|
14451
14375
|
path: _path + ".published",
|
|
14452
14376
|
expected: "(FilePublishPublished | undefined)",
|
|
14453
14377
|
value: input.published
|
|
@@ -14459,11 +14383,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14459
14383
|
path: _path + ".renders",
|
|
14460
14384
|
expected: "undefined",
|
|
14461
14385
|
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, {
|
|
14386
|
+
})), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
|
|
14467
14387
|
path: _path + ".asset",
|
|
14468
14388
|
expected: "(null | string | undefined)",
|
|
14469
14389
|
value: input.asset
|
|
@@ -14473,30 +14393,30 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14473
14393
|
value: input.connection
|
|
14474
14394
|
}), undefined === input.render || ("object" === typeof input.render && null !== input.render || _report(_exceptionable, {
|
|
14475
14395
|
path: _path + ".render",
|
|
14476
|
-
expected: "(
|
|
14396
|
+
expected: "(PublishRenderBase | undefined)",
|
|
14477
14397
|
value: input.render
|
|
14478
|
-
})) &&
|
|
14398
|
+
})) && _vo2(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
14479
14399
|
path: _path + ".render",
|
|
14480
|
-
expected: "(
|
|
14400
|
+
expected: "(PublishRenderBase | undefined)",
|
|
14481
14401
|
value: input.render
|
|
14482
14402
|
}), null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
14483
14403
|
path: _path + ".error",
|
|
14484
|
-
expected: "(__type.
|
|
14404
|
+
expected: "(__type.o9 | null | undefined)",
|
|
14485
14405
|
value: input.error
|
|
14486
|
-
})) &&
|
|
14406
|
+
})) && _vo16(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
14487
14407
|
path: _path + ".error",
|
|
14488
|
-
expected: "(__type.
|
|
14408
|
+
expected: "(__type.o9 | null | undefined)",
|
|
14489
14409
|
value: input.error
|
|
14490
14410
|
}), undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
14491
14411
|
path: _path + ".messages",
|
|
14492
14412
|
expected: "(Array<Message> | undefined)",
|
|
14493
14413
|
value: input.messages
|
|
14494
|
-
})) && input.messages.map((elem,
|
|
14495
|
-
path: _path + ".messages[" +
|
|
14414
|
+
})) && input.messages.map((elem, _index14) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
14415
|
+
path: _path + ".messages[" + _index14 + "]",
|
|
14496
14416
|
expected: "Message",
|
|
14497
14417
|
value: elem
|
|
14498
|
-
})) &&
|
|
14499
|
-
path: _path + ".messages[" +
|
|
14418
|
+
})) && _vo17(elem, _path + ".messages[" + _index14 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
14419
|
+
path: _path + ".messages[" + _index14 + "]",
|
|
14500
14420
|
expected: "Message",
|
|
14501
14421
|
value: elem
|
|
14502
14422
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14504,7 +14424,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14504
14424
|
expected: "(Array<Message> | undefined)",
|
|
14505
14425
|
value: input.messages
|
|
14506
14426
|
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
14507
|
-
if (["directory", "filename", "draft", "remote", "published", "renders", "
|
|
14427
|
+
if (["type", "directory", "filename", "draft", "remote", "published", "renders", "asset", "connection", "render", "error", "messages"].some(prop => key === prop))
|
|
14508
14428
|
return true;
|
|
14509
14429
|
const value = input[key];
|
|
14510
14430
|
if (undefined === value)
|
|
@@ -14519,7 +14439,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14519
14439
|
"Please remove the property next time."
|
|
14520
14440
|
].join("\n")
|
|
14521
14441
|
});
|
|
14522
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
14442
|
+
}).every(flag => flag))].every(flag => flag); const _vo29 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
14523
14443
|
path: _path + ".id",
|
|
14524
14444
|
expected: "(string | undefined)",
|
|
14525
14445
|
value: input.id
|
|
@@ -14537,19 +14457,19 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14537
14457
|
value: input.directory
|
|
14538
14458
|
}), undefined === input.subtitle || ("object" === typeof input.subtitle && null !== input.subtitle || _report(_exceptionable, {
|
|
14539
14459
|
path: _path + ".subtitle",
|
|
14540
|
-
expected: "(__type.
|
|
14460
|
+
expected: "(__type.o12 | undefined)",
|
|
14541
14461
|
value: input.subtitle
|
|
14542
|
-
})) &&
|
|
14462
|
+
})) && _vo30(input.subtitle, _path + ".subtitle", true && _exceptionable) || _report(_exceptionable, {
|
|
14543
14463
|
path: _path + ".subtitle",
|
|
14544
|
-
expected: "(__type.
|
|
14464
|
+
expected: "(__type.o12 | undefined)",
|
|
14545
14465
|
value: input.subtitle
|
|
14546
14466
|
}), undefined === input.metafile || ("object" === typeof input.metafile && null !== input.metafile || _report(_exceptionable, {
|
|
14547
14467
|
path: _path + ".metafile",
|
|
14548
|
-
expected: "(__type.
|
|
14468
|
+
expected: "(__type.o13 | undefined)",
|
|
14549
14469
|
value: input.metafile
|
|
14550
|
-
})) &&
|
|
14470
|
+
})) && _vo31(input.metafile, _path + ".metafile", true && _exceptionable) || _report(_exceptionable, {
|
|
14551
14471
|
path: _path + ".metafile",
|
|
14552
|
-
expected: "(__type.
|
|
14472
|
+
expected: "(__type.o13 | undefined)",
|
|
14553
14473
|
value: input.metafile
|
|
14554
14474
|
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
14555
14475
|
if (["id", "path", "filename", "directory", "subtitle", "metafile"].some(prop => key === prop))
|
|
@@ -14558,12 +14478,100 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14558
14478
|
if (undefined === value)
|
|
14559
14479
|
return true;
|
|
14560
14480
|
return true;
|
|
14561
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
14481
|
+
}).every(flag => flag)].every(flag => flag); const _vo30 = (input, _path, _exceptionable = true) => ["string" === typeof input.path || _report(_exceptionable, {
|
|
14482
|
+
path: _path + ".path",
|
|
14483
|
+
expected: "string",
|
|
14484
|
+
value: input.path
|
|
14485
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
14486
|
+
if (["path"].some(prop => key === prop))
|
|
14487
|
+
return true;
|
|
14488
|
+
const value = input[key];
|
|
14489
|
+
if (undefined === value)
|
|
14490
|
+
return true;
|
|
14491
|
+
return _report(_exceptionable, {
|
|
14492
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
14493
|
+
expected: "undefined",
|
|
14494
|
+
value: value,
|
|
14495
|
+
description: [
|
|
14496
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
14497
|
+
"",
|
|
14498
|
+
"Please remove the property next time."
|
|
14499
|
+
].join("\n")
|
|
14500
|
+
});
|
|
14501
|
+
}).every(flag => flag))].every(flag => flag); const _vo31 = (input, _path, _exceptionable = true) => ["string" === typeof input.path || _report(_exceptionable, {
|
|
14562
14502
|
path: _path + ".path",
|
|
14563
14503
|
expected: "string",
|
|
14564
14504
|
value: input.path
|
|
14565
14505
|
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
14566
|
-
if (["path"].some(prop => key === prop))
|
|
14506
|
+
if (["path"].some(prop => key === prop))
|
|
14507
|
+
return true;
|
|
14508
|
+
const value = input[key];
|
|
14509
|
+
if (undefined === value)
|
|
14510
|
+
return true;
|
|
14511
|
+
return _report(_exceptionable, {
|
|
14512
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
14513
|
+
expected: "undefined",
|
|
14514
|
+
value: value,
|
|
14515
|
+
description: [
|
|
14516
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
14517
|
+
"",
|
|
14518
|
+
"Please remove the property next time."
|
|
14519
|
+
].join("\n")
|
|
14520
|
+
});
|
|
14521
|
+
}).every(flag => flag))].every(flag => flag); const _vo32 = (input, _path, _exceptionable = true) => ["youtube" === input.type || _report(_exceptionable, {
|
|
14522
|
+
path: _path + ".type",
|
|
14523
|
+
expected: "\"youtube\"",
|
|
14524
|
+
value: input.type
|
|
14525
|
+
}), undefined === input.draft || ("object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) || _report(_exceptionable, {
|
|
14526
|
+
path: _path + ".draft",
|
|
14527
|
+
expected: "(__type.o14 | undefined)",
|
|
14528
|
+
value: input.draft
|
|
14529
|
+
})) && _vo33(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
14530
|
+
path: _path + ".draft",
|
|
14531
|
+
expected: "(__type.o14 | undefined)",
|
|
14532
|
+
value: input.draft
|
|
14533
|
+
}), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
|
|
14534
|
+
path: _path + ".asset",
|
|
14535
|
+
expected: "(null | string | undefined)",
|
|
14536
|
+
value: input.asset
|
|
14537
|
+
}), undefined === input.connection || "string" === typeof input.connection || _report(_exceptionable, {
|
|
14538
|
+
path: _path + ".connection",
|
|
14539
|
+
expected: "(string | undefined)",
|
|
14540
|
+
value: input.connection
|
|
14541
|
+
}), undefined === input.render || ("object" === typeof input.render && null !== input.render || _report(_exceptionable, {
|
|
14542
|
+
path: _path + ".render",
|
|
14543
|
+
expected: "(PublishRenderBase | undefined)",
|
|
14544
|
+
value: input.render
|
|
14545
|
+
})) && _vo2(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
14546
|
+
path: _path + ".render",
|
|
14547
|
+
expected: "(PublishRenderBase | undefined)",
|
|
14548
|
+
value: input.render
|
|
14549
|
+
}), true, true, null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
14550
|
+
path: _path + ".error",
|
|
14551
|
+
expected: "(__type.o9 | null | undefined)",
|
|
14552
|
+
value: input.error
|
|
14553
|
+
})) && _vo16(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
14554
|
+
path: _path + ".error",
|
|
14555
|
+
expected: "(__type.o9 | null | undefined)",
|
|
14556
|
+
value: input.error
|
|
14557
|
+
}), undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
14558
|
+
path: _path + ".messages",
|
|
14559
|
+
expected: "(Array<Message> | undefined)",
|
|
14560
|
+
value: input.messages
|
|
14561
|
+
})) && input.messages.map((elem, _index15) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
14562
|
+
path: _path + ".messages[" + _index15 + "]",
|
|
14563
|
+
expected: "Message",
|
|
14564
|
+
value: elem
|
|
14565
|
+
})) && _vo17(elem, _path + ".messages[" + _index15 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
14566
|
+
path: _path + ".messages[" + _index15 + "]",
|
|
14567
|
+
expected: "Message",
|
|
14568
|
+
value: elem
|
|
14569
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
14570
|
+
path: _path + ".messages",
|
|
14571
|
+
expected: "(Array<Message> | undefined)",
|
|
14572
|
+
value: input.messages
|
|
14573
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
14574
|
+
if (["type", "draft", "asset", "connection", "render", "published", "remote", "error", "messages"].some(prop => key === prop))
|
|
14567
14575
|
return true;
|
|
14568
14576
|
const value = input[key];
|
|
14569
14577
|
if (undefined === value)
|
|
@@ -14578,12 +14586,16 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14578
14586
|
"Please remove the property next time."
|
|
14579
14587
|
].join("\n")
|
|
14580
14588
|
});
|
|
14581
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
14582
|
-
path: _path + ".
|
|
14583
|
-
expected: "
|
|
14584
|
-
value: input.
|
|
14585
|
-
})
|
|
14586
|
-
|
|
14589
|
+
}).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, {
|
|
14590
|
+
path: _path + ".snippet",
|
|
14591
|
+
expected: "(__type.o15 | undefined)",
|
|
14592
|
+
value: input.snippet
|
|
14593
|
+
})) && _vo34(input.snippet, _path + ".snippet", true && _exceptionable) || _report(_exceptionable, {
|
|
14594
|
+
path: _path + ".snippet",
|
|
14595
|
+
expected: "(__type.o15 | undefined)",
|
|
14596
|
+
value: input.snippet
|
|
14597
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
14598
|
+
if (["snippet"].some(prop => key === prop))
|
|
14587
14599
|
return true;
|
|
14588
14600
|
const value = input[key];
|
|
14589
14601
|
if (undefined === value)
|
|
@@ -14598,20 +14610,28 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14598
14610
|
"Please remove the property next time."
|
|
14599
14611
|
].join("\n")
|
|
14600
14612
|
});
|
|
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
|
-
|
|
14613
|
+
}).every(flag => flag))].every(flag => flag); const _vo34 = (input, _path, _exceptionable = true) => [undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
14614
|
+
path: _path + ".title",
|
|
14615
|
+
expected: "(string | undefined)",
|
|
14616
|
+
value: input.title
|
|
14617
|
+
}), undefined === input.tags || (Array.isArray(input.tags) || _report(_exceptionable, {
|
|
14618
|
+
path: _path + ".tags",
|
|
14619
|
+
expected: "(Array<string> | undefined)",
|
|
14620
|
+
value: input.tags
|
|
14621
|
+
})) && input.tags.map((elem, _index16) => "string" === typeof elem || _report(_exceptionable, {
|
|
14622
|
+
path: _path + ".tags[" + _index16 + "]",
|
|
14623
|
+
expected: "string",
|
|
14624
|
+
value: elem
|
|
14625
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
14626
|
+
path: _path + ".tags",
|
|
14627
|
+
expected: "(Array<string> | undefined)",
|
|
14628
|
+
value: input.tags
|
|
14629
|
+
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
14630
|
+
path: _path + ".description",
|
|
14631
|
+
expected: "(string | undefined)",
|
|
14632
|
+
value: input.description
|
|
14633
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
14634
|
+
if (["title", "tags", "description"].some(prop => key === prop))
|
|
14615
14635
|
return true;
|
|
14616
14636
|
const value = input[key];
|
|
14617
14637
|
if (undefined === value)
|
|
@@ -14628,28 +14648,28 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14628
14648
|
});
|
|
14629
14649
|
}).every(flag => flag))].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
14630
14650
|
if (undefined !== input.path)
|
|
14631
|
-
return
|
|
14651
|
+
return _vo20(input, _path, true && _exceptionable);
|
|
14632
14652
|
else if (undefined !== input.__context)
|
|
14633
|
-
return
|
|
14653
|
+
return _vo21(input, _path, true && _exceptionable);
|
|
14634
14654
|
else
|
|
14635
14655
|
return _report(_exceptionable, {
|
|
14636
14656
|
path: _path,
|
|
14637
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
14657
|
+
expected: "(ResolvedFilePublishRender | __type.o10)",
|
|
14638
14658
|
value: input
|
|
14639
14659
|
});
|
|
14640
14660
|
})(); const _vu1 = (input, _path, _exceptionable = true) => (() => {
|
|
14641
|
-
if (
|
|
14661
|
+
if (undefined !== input.type && null === input.type)
|
|
14642
14662
|
return _vo0(input, _path, true && _exceptionable);
|
|
14643
14663
|
else if ("facebook" === input.type)
|
|
14644
|
-
return
|
|
14645
|
-
else if (
|
|
14646
|
-
return
|
|
14664
|
+
return _vo1(input, _path, true && _exceptionable);
|
|
14665
|
+
else if ("youtube" === input.type)
|
|
14666
|
+
return _vo32(input, _path, true && _exceptionable);
|
|
14647
14667
|
else
|
|
14648
14668
|
return (() => {
|
|
14649
|
-
if (
|
|
14650
|
-
return
|
|
14651
|
-
if (
|
|
14652
|
-
return
|
|
14669
|
+
if (_vo28(input, _path, false && _exceptionable))
|
|
14670
|
+
return _vo28(input, _path, true && _exceptionable);
|
|
14671
|
+
if (_vo18(input, _path, false && _exceptionable))
|
|
14672
|
+
return _vo18(input, _path, true && _exceptionable);
|
|
14653
14673
|
return _report(_exceptionable, {
|
|
14654
14674
|
path: _path,
|
|
14655
14675
|
expected: "(FilePublishRecordLegacy | FilePublishRecord)",
|
|
@@ -14686,7 +14706,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14686
14706
|
}; })()(input);
|
|
14687
14707
|
}
|
|
14688
14708
|
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))) &&
|
|
14709
|
+
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
14710
|
if (["status", "substatus", "messages", "retrieved", "defaults"].some(prop => key === prop))
|
|
14691
14711
|
return true;
|
|
14692
14712
|
const value = input[key];
|
|
@@ -14700,214 +14720,209 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14700
14720
|
if (undefined === value)
|
|
14701
14721
|
return true;
|
|
14702
14722
|
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 => {
|
|
14723
|
+
})); 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
14724
|
if (["status", "substatus", "messages", "retrieved", "defaults"].some(prop => key === prop))
|
|
14710
14725
|
return true;
|
|
14711
14726
|
const value = input[key];
|
|
14712
14727
|
if (undefined === value)
|
|
14713
14728
|
return true;
|
|
14714
14729
|
return false;
|
|
14715
|
-
})); const
|
|
14730
|
+
})); 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
14731
|
if (["retrieved", "defaults", "status", "substatus", "messages"].some(prop => key === prop))
|
|
14717
14732
|
return true;
|
|
14718
14733
|
const value = input[key];
|
|
14719
14734
|
if (undefined === value)
|
|
14720
14735
|
return true;
|
|
14721
14736
|
return false;
|
|
14722
|
-
})); const
|
|
14737
|
+
})); 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
14738
|
if (["filename", "directory", "renders"].some(prop => key === prop))
|
|
14724
14739
|
return true;
|
|
14725
14740
|
const value = input[key];
|
|
14726
14741
|
if (undefined === value)
|
|
14727
14742
|
return true;
|
|
14728
|
-
return
|
|
14729
|
-
}); const
|
|
14743
|
+
return false;
|
|
14744
|
+
})); const _io5 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
14730
14745
|
const value = input[key];
|
|
14731
14746
|
if (undefined === value)
|
|
14732
14747
|
return true;
|
|
14733
|
-
return "object" === typeof value && null !== value &&
|
|
14734
|
-
}); const
|
|
14748
|
+
return "object" === typeof value && null !== value && _io6(value, true && _exceptionable);
|
|
14749
|
+
}); 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
14750
|
if (["path", "size", "hash"].some(prop => key === prop))
|
|
14736
14751
|
return true;
|
|
14737
14752
|
const value = input[key];
|
|
14738
14753
|
if (undefined === value)
|
|
14739
14754
|
return true;
|
|
14740
14755
|
return false;
|
|
14741
|
-
})); const
|
|
14756
|
+
})); 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
14757
|
if (["directory", "filename", "renders"].some(prop => key === prop))
|
|
14743
14758
|
return true;
|
|
14744
14759
|
const value = input[key];
|
|
14745
14760
|
if (undefined === value)
|
|
14746
14761
|
return true;
|
|
14747
|
-
return
|
|
14748
|
-
}); const
|
|
14762
|
+
return false;
|
|
14763
|
+
})); const _io8 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
14749
14764
|
const value = input[key];
|
|
14750
14765
|
if (undefined === value)
|
|
14751
14766
|
return true;
|
|
14752
14767
|
return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && _iu0(value, true && _exceptionable));
|
|
14753
|
-
}); const
|
|
14754
|
-
if (["
|
|
14768
|
+
}); 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 => {
|
|
14769
|
+
if (["name", "path", "collisionStrategy", "ignoreEmptyScene", "preset", "type", "scene", "profile"].some(prop => key === prop))
|
|
14755
14770
|
return true;
|
|
14756
14771
|
const value = input[key];
|
|
14757
14772
|
if (undefined === value)
|
|
14758
14773
|
return true;
|
|
14759
14774
|
return false;
|
|
14760
|
-
})); const
|
|
14775
|
+
})); 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
14776
|
if (["id", "preset", "input", "lang", "subtitle", "subtitleTracks", "video", "start", "end", "transcribe"].some(prop => key === prop))
|
|
14762
14777
|
return true;
|
|
14763
14778
|
const value = input[key];
|
|
14764
14779
|
if (undefined === value)
|
|
14765
14780
|
return true;
|
|
14766
14781
|
return false;
|
|
14767
|
-
})); const
|
|
14782
|
+
})); 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
14783
|
if (["type", "file"].some(prop => key === prop))
|
|
14769
14784
|
return true;
|
|
14770
14785
|
const value = input[key];
|
|
14771
14786
|
if (undefined === value)
|
|
14772
14787
|
return true;
|
|
14773
14788
|
return false;
|
|
14774
|
-
})); const
|
|
14789
|
+
})); const _io12 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
14775
14790
|
const value = input[key];
|
|
14776
14791
|
if (undefined === value)
|
|
14777
14792
|
return true;
|
|
14778
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
14779
|
-
}); const
|
|
14793
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io13(value, true && _exceptionable);
|
|
14794
|
+
}); 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
14795
|
if (["style", "styleOverrides"].some(prop => key === prop))
|
|
14781
14796
|
return true;
|
|
14782
14797
|
const value = input[key];
|
|
14783
14798
|
if (undefined === value)
|
|
14784
14799
|
return true;
|
|
14785
14800
|
return false;
|
|
14786
|
-
})); const
|
|
14801
|
+
})); 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
14802
|
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
14803
|
return true;
|
|
14789
14804
|
const value = input[key];
|
|
14790
14805
|
if (undefined === value)
|
|
14791
14806
|
return true;
|
|
14792
14807
|
return false;
|
|
14793
|
-
})); const
|
|
14808
|
+
})); 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
14809
|
if (["crop"].some(prop => key === prop))
|
|
14795
14810
|
return true;
|
|
14796
14811
|
const value = input[key];
|
|
14797
14812
|
if (undefined === value)
|
|
14798
14813
|
return true;
|
|
14799
14814
|
return false;
|
|
14800
|
-
})); const
|
|
14815
|
+
})); 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
14816
|
if (["x", "y", "width", "height"].some(prop => key === prop))
|
|
14802
14817
|
return true;
|
|
14803
14818
|
const value = input[key];
|
|
14804
14819
|
if (undefined === value)
|
|
14805
14820
|
return true;
|
|
14806
14821
|
return false;
|
|
14807
|
-
})); const
|
|
14822
|
+
})); 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
14823
|
if (["language", "pan"].some(prop => key === prop))
|
|
14809
14824
|
return true;
|
|
14810
14825
|
const value = input[key];
|
|
14811
14826
|
if (undefined === value)
|
|
14812
14827
|
return true;
|
|
14813
14828
|
return false;
|
|
14814
|
-
})); const
|
|
14829
|
+
})); 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
14830
|
if (["format", "transcribe", "translate", "audio", "video", "pick", "subtitle"].some(prop => key === prop))
|
|
14816
14831
|
return true;
|
|
14817
14832
|
const value = input[key];
|
|
14818
14833
|
if (undefined === value)
|
|
14819
14834
|
return true;
|
|
14820
14835
|
return false;
|
|
14821
|
-
})); const
|
|
14836
|
+
})); const _io19 = (input, _exceptionable = true) => "string" === typeof input.engine && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
14822
14837
|
if (["engine"].some(prop => key === prop))
|
|
14823
14838
|
return true;
|
|
14824
14839
|
const value = input[key];
|
|
14825
14840
|
if (undefined === value)
|
|
14826
14841
|
return true;
|
|
14827
14842
|
return false;
|
|
14828
|
-
})); const
|
|
14843
|
+
})); const _io20 = (input, _exceptionable = true) => "string" === typeof input.language && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
14829
14844
|
if (["language"].some(prop => key === prop))
|
|
14830
14845
|
return true;
|
|
14831
14846
|
const value = input[key];
|
|
14832
14847
|
if (undefined === value)
|
|
14833
14848
|
return true;
|
|
14834
14849
|
return false;
|
|
14835
|
-
})); const
|
|
14850
|
+
})); 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
14851
|
if (["codec", "pan", "samplerate", "split"].some(prop => key === prop))
|
|
14837
14852
|
return true;
|
|
14838
14853
|
const value = input[key];
|
|
14839
14854
|
if (undefined === value)
|
|
14840
14855
|
return true;
|
|
14841
14856
|
return false;
|
|
14842
|
-
})); const
|
|
14857
|
+
})); 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
14858
|
if (["lang", "style"].some(prop => key === prop))
|
|
14844
14859
|
return true;
|
|
14845
14860
|
const value = input[key];
|
|
14846
14861
|
if (undefined === value)
|
|
14847
14862
|
return true;
|
|
14848
14863
|
return false;
|
|
14849
|
-
})); const
|
|
14864
|
+
})); 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
14865
|
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
14851
14866
|
return true;
|
|
14852
14867
|
const value = input[key];
|
|
14853
14868
|
if (undefined === value)
|
|
14854
14869
|
return true;
|
|
14855
14870
|
return false;
|
|
14856
|
-
})); const
|
|
14871
|
+
})); 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
14872
|
if (["publish", "directory", "name"].some(prop => key === prop))
|
|
14858
14873
|
return true;
|
|
14859
14874
|
const value = input[key];
|
|
14860
14875
|
if (undefined === value)
|
|
14861
14876
|
return true;
|
|
14862
14877
|
return false;
|
|
14863
|
-
})); const
|
|
14864
|
-
if (["directory", "filename", "renders", "draft", "remote", "published", "
|
|
14878
|
+
})); 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 => {
|
|
14879
|
+
if (["type", "directory", "filename", "renders", "draft", "remote", "published", "asset", "connection", "render", "error", "messages"].some(prop => key === prop))
|
|
14865
14880
|
return true;
|
|
14866
14881
|
const value = input[key];
|
|
14867
14882
|
if (undefined === value)
|
|
14868
14883
|
return true;
|
|
14869
14884
|
return false;
|
|
14870
|
-
})); const
|
|
14885
|
+
})); 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
14886
|
if (["directory", "filename"].some(prop => key === prop))
|
|
14872
14887
|
return true;
|
|
14873
14888
|
const value = input[key];
|
|
14874
14889
|
if (undefined === value)
|
|
14875
14890
|
return true;
|
|
14876
|
-
return
|
|
14877
|
-
}); const
|
|
14891
|
+
return false;
|
|
14892
|
+
})); 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
14893
|
if (["directory", "filename", "renders"].some(prop => key === prop))
|
|
14879
14894
|
return true;
|
|
14880
14895
|
const value = input[key];
|
|
14881
14896
|
if (undefined === value)
|
|
14882
14897
|
return true;
|
|
14883
|
-
return
|
|
14884
|
-
}); const
|
|
14898
|
+
return false;
|
|
14899
|
+
})); const _io28 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
14885
14900
|
const value = input[key];
|
|
14886
14901
|
if (undefined === value)
|
|
14887
14902
|
return true;
|
|
14888
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
14889
|
-
}); const
|
|
14903
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io29(value, true && _exceptionable);
|
|
14904
|
+
}); 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
14905
|
if (["path", "messages", "query", "size", "hash", "source"].some(prop => key === prop))
|
|
14891
14906
|
return true;
|
|
14892
14907
|
const value = input[key];
|
|
14893
14908
|
if (undefined === value)
|
|
14894
14909
|
return true;
|
|
14895
14910
|
return false;
|
|
14896
|
-
})); const
|
|
14911
|
+
})); 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
14912
|
if (["directory", "filename"].some(prop => key === prop))
|
|
14898
14913
|
return true;
|
|
14899
14914
|
const value = input[key];
|
|
14900
14915
|
if (undefined === value)
|
|
14901
14916
|
return true;
|
|
14902
|
-
return
|
|
14903
|
-
}); const
|
|
14917
|
+
return false;
|
|
14918
|
+
})); 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
14919
|
if (["preset", "type", "scene", "profile"].some(prop => key === prop))
|
|
14905
14920
|
return true;
|
|
14906
14921
|
const value = input[key];
|
|
14907
14922
|
if (undefined === value)
|
|
14908
14923
|
return true;
|
|
14909
14924
|
return false;
|
|
14910
|
-
})); const
|
|
14925
|
+
})); const _io32 = (input, _exceptionable = true) => "string" === typeof input.method && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
14911
14926
|
if (["method"].some(prop => key === prop))
|
|
14912
14927
|
return true;
|
|
14913
14928
|
const value = input[key];
|
|
@@ -14916,16 +14931,16 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14916
14931
|
return false;
|
|
14917
14932
|
})); const _iu0 = (input, _exceptionable = true) => (() => {
|
|
14918
14933
|
if (undefined !== input.path)
|
|
14919
|
-
return
|
|
14934
|
+
return _io9(input, true && _exceptionable);
|
|
14920
14935
|
else if (undefined !== input.__context)
|
|
14921
|
-
return
|
|
14936
|
+
return _io23(input, true && _exceptionable);
|
|
14922
14937
|
else
|
|
14923
14938
|
return false;
|
|
14924
14939
|
})(); const _iu1 = (input, _exceptionable = true) => (() => {
|
|
14925
|
-
if (_io4(input, false && _exceptionable))
|
|
14926
|
-
return _io4(input, true && _exceptionable);
|
|
14927
14940
|
if (_io3(input, false && _exceptionable))
|
|
14928
14941
|
return _io3(input, true && _exceptionable);
|
|
14942
|
+
if (_io2(input, false && _exceptionable))
|
|
14943
|
+
return _io2(input, true && _exceptionable);
|
|
14929
14944
|
if (_io0(input, false && _exceptionable))
|
|
14930
14945
|
return _io0(input, true && _exceptionable);
|
|
14931
14946
|
return false;
|
|
@@ -14953,23 +14968,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14953
14968
|
path: _path + ".messages",
|
|
14954
14969
|
expected: "(Array<Message> | undefined)",
|
|
14955
14970
|
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 => {
|
|
14971
|
+
}), true, true, 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
14973
14972
|
if (["status", "substatus", "messages", "retrieved", "defaults"].some(prop => key === prop))
|
|
14974
14973
|
return true;
|
|
14975
14974
|
const value = input[key];
|
|
@@ -15013,12 +15012,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15013
15012
|
"Please remove the property next time."
|
|
15014
15013
|
].join("\n")
|
|
15015
15014
|
});
|
|
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, {
|
|
15015
|
+
}).every(flag => flag))].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.status || "string" === typeof input.status || _report(_exceptionable, {
|
|
15022
15016
|
path: _path + ".status",
|
|
15023
15017
|
expected: "(string | undefined)",
|
|
15024
15018
|
value: input.status
|
|
@@ -15042,23 +15036,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15042
15036
|
path: _path + ".messages",
|
|
15043
15037
|
expected: "(Array<Message> | undefined)",
|
|
15044
15038
|
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 => {
|
|
15039
|
+
}), true, true, 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
15062
15040
|
if (["status", "substatus", "messages", "retrieved", "defaults"].some(prop => key === prop))
|
|
15063
15041
|
return true;
|
|
15064
15042
|
const value = input[key];
|
|
@@ -15074,11 +15052,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15074
15052
|
"Please remove the property next time."
|
|
15075
15053
|
].join("\n")
|
|
15076
15054
|
});
|
|
15077
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
15055
|
+
}).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
15056
|
path: _path + ".retrieved",
|
|
15079
15057
|
expected: "(FilePublishRetrieved | undefined)",
|
|
15080
15058
|
value: input.retrieved
|
|
15081
|
-
})) &&
|
|
15059
|
+
})) && _vo4(input.retrieved, _path + ".retrieved", true && _exceptionable) || _report(_exceptionable, {
|
|
15082
15060
|
path: _path + ".retrieved",
|
|
15083
15061
|
expected: "(FilePublishRetrieved | undefined)",
|
|
15084
15062
|
value: input.retrieved
|
|
@@ -15086,7 +15064,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15086
15064
|
path: _path + ".defaults",
|
|
15087
15065
|
expected: "(FilePublishDefaults | undefined)",
|
|
15088
15066
|
value: input.defaults
|
|
15089
|
-
})) &&
|
|
15067
|
+
})) && _vo7(input.defaults, _path + ".defaults", true && _exceptionable) || _report(_exceptionable, {
|
|
15090
15068
|
path: _path + ".defaults",
|
|
15091
15069
|
expected: "(FilePublishDefaults | undefined)",
|
|
15092
15070
|
value: input.defaults
|
|
@@ -15130,7 +15108,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15130
15108
|
"Please remove the property next time."
|
|
15131
15109
|
].join("\n")
|
|
15132
15110
|
});
|
|
15133
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
15111
|
+
}).every(flag => flag))].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [undefined === input.filename || "string" === typeof input.filename || _report(_exceptionable, {
|
|
15134
15112
|
path: _path + ".filename",
|
|
15135
15113
|
expected: "(string | undefined)",
|
|
15136
15114
|
value: input.filename
|
|
@@ -15142,18 +15120,27 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15142
15120
|
path: _path + ".renders",
|
|
15143
15121
|
expected: "(Record<string, FilePublishRetrievedRender> | undefined)",
|
|
15144
15122
|
value: input.renders
|
|
15145
|
-
})) &&
|
|
15123
|
+
})) && _vo5(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
15146
15124
|
path: _path + ".renders",
|
|
15147
15125
|
expected: "(Record<string, FilePublishRetrievedRender> | undefined)",
|
|
15148
15126
|
value: input.renders
|
|
15149
|
-
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
15127
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
15150
15128
|
if (["filename", "directory", "renders"].some(prop => key === prop))
|
|
15151
15129
|
return true;
|
|
15152
15130
|
const value = input[key];
|
|
15153
15131
|
if (undefined === value)
|
|
15154
15132
|
return true;
|
|
15155
|
-
return
|
|
15156
|
-
|
|
15133
|
+
return _report(_exceptionable, {
|
|
15134
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
15135
|
+
expected: "undefined",
|
|
15136
|
+
value: value,
|
|
15137
|
+
description: [
|
|
15138
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
15139
|
+
"",
|
|
15140
|
+
"Please remove the property next time."
|
|
15141
|
+
].join("\n")
|
|
15142
|
+
});
|
|
15143
|
+
}).every(flag => flag))].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
15157
15144
|
const value = input[key];
|
|
15158
15145
|
if (undefined === value)
|
|
15159
15146
|
return true;
|
|
@@ -15161,12 +15148,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15161
15148
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
15162
15149
|
expected: "FilePublishRetrievedRender",
|
|
15163
15150
|
value: value
|
|
15164
|
-
})) &&
|
|
15151
|
+
})) && _vo6(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
15165
15152
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
15166
15153
|
expected: "FilePublishRetrievedRender",
|
|
15167
15154
|
value: value
|
|
15168
15155
|
});
|
|
15169
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
15156
|
+
}).every(flag => flag)].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.path || _report(_exceptionable, {
|
|
15170
15157
|
path: _path + ".path",
|
|
15171
15158
|
expected: "string",
|
|
15172
15159
|
value: input.path
|
|
@@ -15194,7 +15181,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15194
15181
|
"Please remove the property next time."
|
|
15195
15182
|
].join("\n")
|
|
15196
15183
|
});
|
|
15197
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
15184
|
+
}).every(flag => flag))].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => ["string" === typeof input.directory || _report(_exceptionable, {
|
|
15198
15185
|
path: _path + ".directory",
|
|
15199
15186
|
expected: "string",
|
|
15200
15187
|
value: input.directory
|
|
@@ -15206,18 +15193,27 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15206
15193
|
path: _path + ".renders",
|
|
15207
15194
|
expected: "Record<string, FilePublishRender>",
|
|
15208
15195
|
value: input.renders
|
|
15209
|
-
})) &&
|
|
15196
|
+
})) && _vo8(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
15210
15197
|
path: _path + ".renders",
|
|
15211
15198
|
expected: "Record<string, FilePublishRender>",
|
|
15212
15199
|
value: input.renders
|
|
15213
|
-
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
15200
|
+
}), 3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
15214
15201
|
if (["directory", "filename", "renders"].some(prop => key === prop))
|
|
15215
15202
|
return true;
|
|
15216
15203
|
const value = input[key];
|
|
15217
15204
|
if (undefined === value)
|
|
15218
15205
|
return true;
|
|
15219
|
-
return
|
|
15220
|
-
|
|
15206
|
+
return _report(_exceptionable, {
|
|
15207
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
15208
|
+
expected: "undefined",
|
|
15209
|
+
value: value,
|
|
15210
|
+
description: [
|
|
15211
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
15212
|
+
"",
|
|
15213
|
+
"Please remove the property next time."
|
|
15214
|
+
].join("\n")
|
|
15215
|
+
});
|
|
15216
|
+
}).every(flag => flag))].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
15221
15217
|
const value = input[key];
|
|
15222
15218
|
if (undefined === value)
|
|
15223
15219
|
return true;
|
|
@@ -15238,11 +15234,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15238
15234
|
expected: "(ResolvedFilePublishRender | __type.o9 | string)",
|
|
15239
15235
|
value: value
|
|
15240
15236
|
}));
|
|
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, {
|
|
15237
|
+
}).every(flag => flag)].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
15246
15238
|
path: _path + ".name",
|
|
15247
15239
|
expected: "(string | undefined)",
|
|
15248
15240
|
value: input.name
|
|
@@ -15258,6 +15250,10 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15258
15250
|
path: _path + ".ignoreEmptyScene",
|
|
15259
15251
|
expected: "(boolean | undefined)",
|
|
15260
15252
|
value: input.ignoreEmptyScene
|
|
15253
|
+
}), undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
15254
|
+
path: _path + ".preset",
|
|
15255
|
+
expected: "(string | undefined)",
|
|
15256
|
+
value: input.preset
|
|
15261
15257
|
}), "string" === typeof input.type || _report(_exceptionable, {
|
|
15262
15258
|
path: _path + ".type",
|
|
15263
15259
|
expected: "string",
|
|
@@ -15266,7 +15262,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15266
15262
|
path: _path + ".scene",
|
|
15267
15263
|
expected: "(RenderSceneObject | undefined)",
|
|
15268
15264
|
value: input.scene
|
|
15269
|
-
})) &&
|
|
15265
|
+
})) && _vo10(input.scene, _path + ".scene", true && _exceptionable) || _report(_exceptionable, {
|
|
15270
15266
|
path: _path + ".scene",
|
|
15271
15267
|
expected: "(RenderSceneObject | undefined)",
|
|
15272
15268
|
value: input.scene
|
|
@@ -15274,12 +15270,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15274
15270
|
path: _path + ".profile",
|
|
15275
15271
|
expected: "(RenderProfileObject | undefined)",
|
|
15276
15272
|
value: input.profile
|
|
15277
|
-
})) &&
|
|
15273
|
+
})) && _vo18(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
15278
15274
|
path: _path + ".profile",
|
|
15279
15275
|
expected: "(RenderProfileObject | undefined)",
|
|
15280
15276
|
value: input.profile
|
|
15281
15277
|
}), 2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
15282
|
-
if (["
|
|
15278
|
+
if (["name", "path", "collisionStrategy", "ignoreEmptyScene", "preset", "type", "scene", "profile"].some(prop => key === prop))
|
|
15283
15279
|
return true;
|
|
15284
15280
|
const value = input[key];
|
|
15285
15281
|
if (undefined === value)
|
|
@@ -15294,7 +15290,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15294
15290
|
"Please remove the property next time."
|
|
15295
15291
|
].join("\n")
|
|
15296
15292
|
});
|
|
15297
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
15293
|
+
}).every(flag => flag))].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
15298
15294
|
path: _path + ".id",
|
|
15299
15295
|
expected: "(string | undefined)",
|
|
15300
15296
|
value: input.id
|
|
@@ -15306,7 +15302,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15306
15302
|
path: _path + ".input",
|
|
15307
15303
|
expected: "(__type | null | undefined)",
|
|
15308
15304
|
value: input.input
|
|
15309
|
-
})) &&
|
|
15305
|
+
})) && _vo11(input.input, _path + ".input", true && _exceptionable) || _report(_exceptionable, {
|
|
15310
15306
|
path: _path + ".input",
|
|
15311
15307
|
expected: "(__type | null | undefined)",
|
|
15312
15308
|
value: input.input
|
|
@@ -15322,7 +15318,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15322
15318
|
path: _path + ".subtitleTracks",
|
|
15323
15319
|
expected: "(__type.o1 | undefined)",
|
|
15324
15320
|
value: input.subtitleTracks
|
|
15325
|
-
})) &&
|
|
15321
|
+
})) && _vo12(input.subtitleTracks, _path + ".subtitleTracks", true && _exceptionable) || _report(_exceptionable, {
|
|
15326
15322
|
path: _path + ".subtitleTracks",
|
|
15327
15323
|
expected: "(__type.o1 | undefined)",
|
|
15328
15324
|
value: input.subtitleTracks
|
|
@@ -15330,7 +15326,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15330
15326
|
path: _path + ".video",
|
|
15331
15327
|
expected: "(__type.o3 | undefined)",
|
|
15332
15328
|
value: input.video
|
|
15333
|
-
})) &&
|
|
15329
|
+
})) && _vo15(input.video, _path + ".video", true && _exceptionable) || _report(_exceptionable, {
|
|
15334
15330
|
path: _path + ".video",
|
|
15335
15331
|
expected: "(__type.o3 | undefined)",
|
|
15336
15332
|
value: input.video
|
|
@@ -15346,7 +15342,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15346
15342
|
path: _path + ".transcribe",
|
|
15347
15343
|
expected: "(__type.o5 | undefined)",
|
|
15348
15344
|
value: input.transcribe
|
|
15349
|
-
})) &&
|
|
15345
|
+
})) && _vo17(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
15350
15346
|
path: _path + ".transcribe",
|
|
15351
15347
|
expected: "(__type.o5 | undefined)",
|
|
15352
15348
|
value: input.transcribe
|
|
@@ -15366,7 +15362,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15366
15362
|
"Please remove the property next time."
|
|
15367
15363
|
].join("\n")
|
|
15368
15364
|
});
|
|
15369
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
15365
|
+
}).every(flag => flag))].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
15370
15366
|
path: _path + ".type",
|
|
15371
15367
|
expected: "(string | undefined)",
|
|
15372
15368
|
value: input.type
|
|
@@ -15390,7 +15386,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15390
15386
|
"Please remove the property next time."
|
|
15391
15387
|
].join("\n")
|
|
15392
15388
|
});
|
|
15393
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
15389
|
+
}).every(flag => flag))].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
15394
15390
|
const value = input[key];
|
|
15395
15391
|
if (undefined === value)
|
|
15396
15392
|
return true;
|
|
@@ -15398,12 +15394,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15398
15394
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
15399
15395
|
expected: "__type.o2",
|
|
15400
15396
|
value: value
|
|
15401
|
-
})) &&
|
|
15397
|
+
})) && _vo13(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
15402
15398
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
15403
15399
|
expected: "__type.o2",
|
|
15404
15400
|
value: value
|
|
15405
15401
|
});
|
|
15406
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
15402
|
+
}).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
15403
|
path: _path + ".style",
|
|
15408
15404
|
expected: "(null | string | undefined)",
|
|
15409
15405
|
value: input.style
|
|
@@ -15411,7 +15407,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15411
15407
|
path: _path + ".styleOverrides",
|
|
15412
15408
|
expected: "(SubtitleStyle | undefined)",
|
|
15413
15409
|
value: input.styleOverrides
|
|
15414
|
-
})) &&
|
|
15410
|
+
})) && _vo14(input.styleOverrides, _path + ".styleOverrides", true && _exceptionable) || _report(_exceptionable, {
|
|
15415
15411
|
path: _path + ".styleOverrides",
|
|
15416
15412
|
expected: "(SubtitleStyle | undefined)",
|
|
15417
15413
|
value: input.styleOverrides
|
|
@@ -15431,7 +15427,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15431
15427
|
"Please remove the property next time."
|
|
15432
15428
|
].join("\n")
|
|
15433
15429
|
});
|
|
15434
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
15430
|
+
}).every(flag => flag))].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
15435
15431
|
path: _path + ".name",
|
|
15436
15432
|
expected: "(string | undefined)",
|
|
15437
15433
|
value: input.name
|
|
@@ -15539,11 +15535,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15539
15535
|
"Please remove the property next time."
|
|
15540
15536
|
].join("\n")
|
|
15541
15537
|
});
|
|
15542
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
15538
|
+
}).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
15539
|
path: _path + ".crop",
|
|
15544
15540
|
expected: "(__type.o4 | undefined)",
|
|
15545
15541
|
value: input.crop
|
|
15546
|
-
})) &&
|
|
15542
|
+
})) && _vo16(input.crop, _path + ".crop", true && _exceptionable) || _report(_exceptionable, {
|
|
15547
15543
|
path: _path + ".crop",
|
|
15548
15544
|
expected: "(__type.o4 | undefined)",
|
|
15549
15545
|
value: input.crop
|
|
@@ -15563,7 +15559,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15563
15559
|
"Please remove the property next time."
|
|
15564
15560
|
].join("\n")
|
|
15565
15561
|
});
|
|
15566
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
15562
|
+
}).every(flag => flag))].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [undefined === input.x || "number" === typeof input.x || _report(_exceptionable, {
|
|
15567
15563
|
path: _path + ".x",
|
|
15568
15564
|
expected: "(number | undefined)",
|
|
15569
15565
|
value: input.x
|
|
@@ -15595,7 +15591,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15595
15591
|
"Please remove the property next time."
|
|
15596
15592
|
].join("\n")
|
|
15597
15593
|
});
|
|
15598
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
15594
|
+
}).every(flag => flag))].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => [undefined === input.language || "string" === typeof input.language || _report(_exceptionable, {
|
|
15599
15595
|
path: _path + ".language",
|
|
15600
15596
|
expected: "(string | undefined)",
|
|
15601
15597
|
value: input.language
|
|
@@ -15627,7 +15623,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15627
15623
|
"Please remove the property next time."
|
|
15628
15624
|
].join("\n")
|
|
15629
15625
|
});
|
|
15630
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
15626
|
+
}).every(flag => flag))].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => ["string" === typeof input.format || _report(_exceptionable, {
|
|
15631
15627
|
path: _path + ".format",
|
|
15632
15628
|
expected: "string",
|
|
15633
15629
|
value: input.format
|
|
@@ -15635,7 +15631,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15635
15631
|
path: _path + ".transcribe",
|
|
15636
15632
|
expected: "(__type.o6 | undefined)",
|
|
15637
15633
|
value: input.transcribe
|
|
15638
|
-
})) &&
|
|
15634
|
+
})) && _vo19(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
15639
15635
|
path: _path + ".transcribe",
|
|
15640
15636
|
expected: "(__type.o6 | undefined)",
|
|
15641
15637
|
value: input.transcribe
|
|
@@ -15643,7 +15639,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15643
15639
|
path: _path + ".translate",
|
|
15644
15640
|
expected: "(__type.o7 | undefined)",
|
|
15645
15641
|
value: input.translate
|
|
15646
|
-
})) &&
|
|
15642
|
+
})) && _vo20(input.translate, _path + ".translate", true && _exceptionable) || _report(_exceptionable, {
|
|
15647
15643
|
path: _path + ".translate",
|
|
15648
15644
|
expected: "(__type.o7 | undefined)",
|
|
15649
15645
|
value: input.translate
|
|
@@ -15651,7 +15647,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15651
15647
|
path: _path + ".audio",
|
|
15652
15648
|
expected: "(__type.o8 | undefined)",
|
|
15653
15649
|
value: input.audio
|
|
15654
|
-
})) &&
|
|
15650
|
+
})) && _vo21(input.audio, _path + ".audio", true && _exceptionable) || _report(_exceptionable, {
|
|
15655
15651
|
path: _path + ".audio",
|
|
15656
15652
|
expected: "(__type.o8 | undefined)",
|
|
15657
15653
|
value: input.audio
|
|
@@ -15675,7 +15671,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15675
15671
|
path: _path + ".subtitle",
|
|
15676
15672
|
expected: "(SubtitleProfile | string | undefined)",
|
|
15677
15673
|
value: input.subtitle
|
|
15678
|
-
})) &&
|
|
15674
|
+
})) && _vo22(input.subtitle, _path + ".subtitle", true && _exceptionable) || _report(_exceptionable, {
|
|
15679
15675
|
path: _path + ".subtitle",
|
|
15680
15676
|
expected: "(SubtitleProfile | string | undefined)",
|
|
15681
15677
|
value: input.subtitle
|
|
@@ -15695,7 +15691,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15695
15691
|
"Please remove the property next time."
|
|
15696
15692
|
].join("\n")
|
|
15697
15693
|
});
|
|
15698
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
15694
|
+
}).every(flag => flag))].every(flag => flag); const _vo19 = (input, _path, _exceptionable = true) => ["string" === typeof input.engine || _report(_exceptionable, {
|
|
15699
15695
|
path: _path + ".engine",
|
|
15700
15696
|
expected: "string",
|
|
15701
15697
|
value: input.engine
|
|
@@ -15715,7 +15711,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15715
15711
|
"Please remove the property next time."
|
|
15716
15712
|
].join("\n")
|
|
15717
15713
|
});
|
|
15718
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
15714
|
+
}).every(flag => flag))].every(flag => flag); const _vo20 = (input, _path, _exceptionable = true) => ["string" === typeof input.language || _report(_exceptionable, {
|
|
15719
15715
|
path: _path + ".language",
|
|
15720
15716
|
expected: "string",
|
|
15721
15717
|
value: input.language
|
|
@@ -15735,7 +15731,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15735
15731
|
"Please remove the property next time."
|
|
15736
15732
|
].join("\n")
|
|
15737
15733
|
});
|
|
15738
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
15734
|
+
}).every(flag => flag))].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [undefined === input.codec || "string" === typeof input.codec || _report(_exceptionable, {
|
|
15739
15735
|
path: _path + ".codec",
|
|
15740
15736
|
expected: "(string | undefined)",
|
|
15741
15737
|
value: input.codec
|
|
@@ -15767,7 +15763,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15767
15763
|
"Please remove the property next time."
|
|
15768
15764
|
].join("\n")
|
|
15769
15765
|
});
|
|
15770
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
15766
|
+
}).every(flag => flag))].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => [undefined === input.lang || "string" === typeof input.lang || _report(_exceptionable, {
|
|
15771
15767
|
path: _path + ".lang",
|
|
15772
15768
|
expected: "(string | undefined)",
|
|
15773
15769
|
value: input.lang
|
|
@@ -15791,11 +15787,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15791
15787
|
"Please remove the property next time."
|
|
15792
15788
|
].join("\n")
|
|
15793
15789
|
});
|
|
15794
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
15790
|
+
}).every(flag => flag))].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
15795
15791
|
path: _path + ".__context",
|
|
15796
15792
|
expected: "__type.o10",
|
|
15797
15793
|
value: input.__context
|
|
15798
|
-
})) &&
|
|
15794
|
+
})) && _vo24(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
15799
15795
|
path: _path + ".__context",
|
|
15800
15796
|
expected: "__type.o10",
|
|
15801
15797
|
value: input.__context
|
|
@@ -15803,7 +15799,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15803
15799
|
path: _path + ".__returnValue",
|
|
15804
15800
|
expected: "ResolvedFilePublishRender",
|
|
15805
15801
|
value: input.__returnValue
|
|
15806
|
-
})) &&
|
|
15802
|
+
})) && _vo9(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
15807
15803
|
path: _path + ".__returnValue",
|
|
15808
15804
|
expected: "ResolvedFilePublishRender",
|
|
15809
15805
|
value: input.__returnValue
|
|
@@ -15823,11 +15819,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15823
15819
|
"Please remove the property next time."
|
|
15824
15820
|
].join("\n")
|
|
15825
15821
|
});
|
|
15826
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
15822
|
+
}).every(flag => flag))].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => [("object" === typeof input.publish && null !== input.publish || _report(_exceptionable, {
|
|
15827
15823
|
path: _path + ".publish",
|
|
15828
15824
|
expected: "FilePublishRecord",
|
|
15829
15825
|
value: input.publish
|
|
15830
|
-
})) &&
|
|
15826
|
+
})) && _vo25(input.publish, _path + ".publish", true && _exceptionable) || _report(_exceptionable, {
|
|
15831
15827
|
path: _path + ".publish",
|
|
15832
15828
|
expected: "FilePublishRecord",
|
|
15833
15829
|
value: input.publish
|
|
@@ -15855,7 +15851,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15855
15851
|
"Please remove the property next time."
|
|
15856
15852
|
].join("\n")
|
|
15857
15853
|
});
|
|
15858
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
15854
|
+
}).every(flag => flag))].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => ["file" === input.type || _report(_exceptionable, {
|
|
15855
|
+
path: _path + ".type",
|
|
15856
|
+
expected: "\"file\"",
|
|
15857
|
+
value: input.type
|
|
15858
|
+
}), undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
15859
15859
|
path: _path + ".directory",
|
|
15860
15860
|
expected: "(string | undefined)",
|
|
15861
15861
|
value: input.directory
|
|
@@ -15867,7 +15867,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15867
15867
|
path: _path + ".renders",
|
|
15868
15868
|
expected: "(Record<string, FilePublishRender> | undefined)",
|
|
15869
15869
|
value: input.renders
|
|
15870
|
-
})) &&
|
|
15870
|
+
})) && _vo8(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
15871
15871
|
path: _path + ".renders",
|
|
15872
15872
|
expected: "(Record<string, FilePublishRender> | undefined)",
|
|
15873
15873
|
value: input.renders
|
|
@@ -15875,7 +15875,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15875
15875
|
path: _path + ".draft",
|
|
15876
15876
|
expected: "(FilePublishDraft | undefined)",
|
|
15877
15877
|
value: input.draft
|
|
15878
|
-
})) &&
|
|
15878
|
+
})) && _vo26(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
15879
15879
|
path: _path + ".draft",
|
|
15880
15880
|
expected: "(FilePublishDraft | undefined)",
|
|
15881
15881
|
value: input.draft
|
|
@@ -15883,7 +15883,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15883
15883
|
path: _path + ".remote",
|
|
15884
15884
|
expected: "(FilePublishRemote | undefined)",
|
|
15885
15885
|
value: input.remote
|
|
15886
|
-
})) &&
|
|
15886
|
+
})) && _vo27(input.remote, _path + ".remote", true && _exceptionable) || _report(_exceptionable, {
|
|
15887
15887
|
path: _path + ".remote",
|
|
15888
15888
|
expected: "(FilePublishRemote | undefined)",
|
|
15889
15889
|
value: input.remote
|
|
@@ -15891,14 +15891,10 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15891
15891
|
path: _path + ".published",
|
|
15892
15892
|
expected: "(FilePublishPublished | undefined)",
|
|
15893
15893
|
value: input.published
|
|
15894
|
-
})) &&
|
|
15894
|
+
})) && _vo30(input.published, _path + ".published", true && _exceptionable) || _report(_exceptionable, {
|
|
15895
15895
|
path: _path + ".published",
|
|
15896
15896
|
expected: "(FilePublishPublished | undefined)",
|
|
15897
15897
|
value: input.published
|
|
15898
|
-
}), "file" === input.type || _report(_exceptionable, {
|
|
15899
|
-
path: _path + ".type",
|
|
15900
|
-
expected: "\"file\"",
|
|
15901
|
-
value: input.type
|
|
15902
15898
|
}), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
|
|
15903
15899
|
path: _path + ".asset",
|
|
15904
15900
|
expected: "(null | string | undefined)",
|
|
@@ -15909,17 +15905,17 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15909
15905
|
value: input.connection
|
|
15910
15906
|
}), undefined === input.render || ("object" === typeof input.render && null !== input.render || _report(_exceptionable, {
|
|
15911
15907
|
path: _path + ".render",
|
|
15912
|
-
expected: "(
|
|
15908
|
+
expected: "(PublishRenderBase | undefined)",
|
|
15913
15909
|
value: input.render
|
|
15914
|
-
})) &&
|
|
15910
|
+
})) && _vo31(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
15915
15911
|
path: _path + ".render",
|
|
15916
|
-
expected: "(
|
|
15912
|
+
expected: "(PublishRenderBase | undefined)",
|
|
15917
15913
|
value: input.render
|
|
15918
15914
|
}), null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
15919
15915
|
path: _path + ".error",
|
|
15920
15916
|
expected: "(__type.o11 | null | undefined)",
|
|
15921
15917
|
value: input.error
|
|
15922
|
-
})) &&
|
|
15918
|
+
})) && _vo32(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
15923
15919
|
path: _path + ".error",
|
|
15924
15920
|
expected: "(__type.o11 | null | undefined)",
|
|
15925
15921
|
value: input.error
|
|
@@ -15940,7 +15936,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15940
15936
|
expected: "(Array<Message> | undefined)",
|
|
15941
15937
|
value: input.messages
|
|
15942
15938
|
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
15943
|
-
if (["directory", "filename", "renders", "draft", "remote", "published", "
|
|
15939
|
+
if (["type", "directory", "filename", "renders", "draft", "remote", "published", "asset", "connection", "render", "error", "messages"].some(prop => key === prop))
|
|
15944
15940
|
return true;
|
|
15945
15941
|
const value = input[key];
|
|
15946
15942
|
if (undefined === value)
|
|
@@ -15955,7 +15951,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15955
15951
|
"Please remove the property next time."
|
|
15956
15952
|
].join("\n")
|
|
15957
15953
|
});
|
|
15958
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
15954
|
+
}).every(flag => flag))].every(flag => flag); const _vo26 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
15959
15955
|
path: _path + ".directory",
|
|
15960
15956
|
expected: "(string | undefined)",
|
|
15961
15957
|
value: input.directory
|
|
@@ -15963,14 +15959,23 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15963
15959
|
path: _path + ".filename",
|
|
15964
15960
|
expected: "(string | undefined)",
|
|
15965
15961
|
value: input.filename
|
|
15966
|
-
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
15962
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
15967
15963
|
if (["directory", "filename"].some(prop => key === prop))
|
|
15968
15964
|
return true;
|
|
15969
15965
|
const value = input[key];
|
|
15970
15966
|
if (undefined === value)
|
|
15971
15967
|
return true;
|
|
15972
|
-
return
|
|
15973
|
-
|
|
15968
|
+
return _report(_exceptionable, {
|
|
15969
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
15970
|
+
expected: "undefined",
|
|
15971
|
+
value: value,
|
|
15972
|
+
description: [
|
|
15973
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
15974
|
+
"",
|
|
15975
|
+
"Please remove the property next time."
|
|
15976
|
+
].join("\n")
|
|
15977
|
+
});
|
|
15978
|
+
}).every(flag => flag))].every(flag => flag); const _vo27 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
15974
15979
|
path: _path + ".directory",
|
|
15975
15980
|
expected: "(string | undefined)",
|
|
15976
15981
|
value: input.directory
|
|
@@ -15982,18 +15987,27 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15982
15987
|
path: _path + ".renders",
|
|
15983
15988
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
15984
15989
|
value: input.renders
|
|
15985
|
-
})) &&
|
|
15990
|
+
})) && _vo28(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
15986
15991
|
path: _path + ".renders",
|
|
15987
15992
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
15988
15993
|
value: input.renders
|
|
15989
|
-
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
15994
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
15990
15995
|
if (["directory", "filename", "renders"].some(prop => key === prop))
|
|
15991
15996
|
return true;
|
|
15992
15997
|
const value = input[key];
|
|
15993
15998
|
if (undefined === value)
|
|
15994
15999
|
return true;
|
|
15995
|
-
return
|
|
15996
|
-
|
|
16000
|
+
return _report(_exceptionable, {
|
|
16001
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
16002
|
+
expected: "undefined",
|
|
16003
|
+
value: value,
|
|
16004
|
+
description: [
|
|
16005
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
16006
|
+
"",
|
|
16007
|
+
"Please remove the property next time."
|
|
16008
|
+
].join("\n")
|
|
16009
|
+
});
|
|
16010
|
+
}).every(flag => flag))].every(flag => flag); const _vo28 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
15997
16011
|
const value = input[key];
|
|
15998
16012
|
if (undefined === value)
|
|
15999
16013
|
return true;
|
|
@@ -16001,12 +16015,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16001
16015
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
16002
16016
|
expected: "FilePublishRemoteRender",
|
|
16003
16017
|
value: value
|
|
16004
|
-
})) &&
|
|
16018
|
+
})) && _vo29(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
16005
16019
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
16006
16020
|
expected: "FilePublishRemoteRender",
|
|
16007
16021
|
value: value
|
|
16008
16022
|
});
|
|
16009
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
16023
|
+
}).every(flag => flag)].every(flag => flag); const _vo29 = (input, _path, _exceptionable = true) => [undefined === input.path || "string" === typeof input.path || _report(_exceptionable, {
|
|
16010
16024
|
path: _path + ".path",
|
|
16011
16025
|
expected: "(string | undefined)",
|
|
16012
16026
|
value: input.path
|
|
@@ -16054,7 +16068,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16054
16068
|
"Please remove the property next time."
|
|
16055
16069
|
].join("\n")
|
|
16056
16070
|
});
|
|
16057
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
16071
|
+
}).every(flag => flag))].every(flag => flag); const _vo30 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
16058
16072
|
path: _path + ".directory",
|
|
16059
16073
|
expected: "(string | undefined)",
|
|
16060
16074
|
value: input.directory
|
|
@@ -16062,14 +16076,23 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16062
16076
|
path: _path + ".filename",
|
|
16063
16077
|
expected: "string",
|
|
16064
16078
|
value: input.filename
|
|
16065
|
-
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
16079
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
16066
16080
|
if (["directory", "filename"].some(prop => key === prop))
|
|
16067
16081
|
return true;
|
|
16068
16082
|
const value = input[key];
|
|
16069
16083
|
if (undefined === value)
|
|
16070
16084
|
return true;
|
|
16071
|
-
return
|
|
16072
|
-
|
|
16085
|
+
return _report(_exceptionable, {
|
|
16086
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
16087
|
+
expected: "undefined",
|
|
16088
|
+
value: value,
|
|
16089
|
+
description: [
|
|
16090
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
16091
|
+
"",
|
|
16092
|
+
"Please remove the property next time."
|
|
16093
|
+
].join("\n")
|
|
16094
|
+
});
|
|
16095
|
+
}).every(flag => flag))].every(flag => flag); const _vo31 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
16073
16096
|
path: _path + ".preset",
|
|
16074
16097
|
expected: "(string | undefined)",
|
|
16075
16098
|
value: input.preset
|
|
@@ -16081,7 +16104,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16081
16104
|
path: _path + ".scene",
|
|
16082
16105
|
expected: "(RenderSceneObject | undefined)",
|
|
16083
16106
|
value: input.scene
|
|
16084
|
-
})) &&
|
|
16107
|
+
})) && _vo10(input.scene, _path + ".scene", true && _exceptionable) || _report(_exceptionable, {
|
|
16085
16108
|
path: _path + ".scene",
|
|
16086
16109
|
expected: "(RenderSceneObject | undefined)",
|
|
16087
16110
|
value: input.scene
|
|
@@ -16089,7 +16112,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16089
16112
|
path: _path + ".profile",
|
|
16090
16113
|
expected: "(RenderProfileObject | undefined)",
|
|
16091
16114
|
value: input.profile
|
|
16092
|
-
})) &&
|
|
16115
|
+
})) && _vo18(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
16093
16116
|
path: _path + ".profile",
|
|
16094
16117
|
expected: "(RenderProfileObject | undefined)",
|
|
16095
16118
|
value: input.profile
|
|
@@ -16109,7 +16132,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16109
16132
|
"Please remove the property next time."
|
|
16110
16133
|
].join("\n")
|
|
16111
16134
|
});
|
|
16112
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
16135
|
+
}).every(flag => flag))].every(flag => flag); const _vo32 = (input, _path, _exceptionable = true) => ["string" === typeof input.method || _report(_exceptionable, {
|
|
16113
16136
|
path: _path + ".method",
|
|
16114
16137
|
expected: "string",
|
|
16115
16138
|
value: input.method
|
|
@@ -16131,9 +16154,9 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16131
16154
|
});
|
|
16132
16155
|
}).every(flag => flag))].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
16133
16156
|
if (undefined !== input.path)
|
|
16134
|
-
return
|
|
16157
|
+
return _vo9(input, _path, true && _exceptionable);
|
|
16135
16158
|
else if (undefined !== input.__context)
|
|
16136
|
-
return
|
|
16159
|
+
return _vo23(input, _path, true && _exceptionable);
|
|
16137
16160
|
else
|
|
16138
16161
|
return _report(_exceptionable, {
|
|
16139
16162
|
path: _path,
|
|
@@ -16141,15 +16164,15 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16141
16164
|
value: input
|
|
16142
16165
|
});
|
|
16143
16166
|
})(); const _vu1 = (input, _path, _exceptionable = true) => (() => {
|
|
16144
|
-
if (_vo4(input, _path, false && _exceptionable))
|
|
16145
|
-
return _vo4(input, _path, true && _exceptionable);
|
|
16146
16167
|
if (_vo3(input, _path, false && _exceptionable))
|
|
16147
16168
|
return _vo3(input, _path, true && _exceptionable);
|
|
16169
|
+
if (_vo2(input, _path, false && _exceptionable))
|
|
16170
|
+
return _vo2(input, _path, true && _exceptionable);
|
|
16148
16171
|
if (_vo0(input, _path, false && _exceptionable))
|
|
16149
16172
|
return _vo0(input, _path, true && _exceptionable);
|
|
16150
16173
|
return _report(_exceptionable, {
|
|
16151
16174
|
path: _path,
|
|
16152
|
-
expected: "(FilePublishStatsRecord | FacebookPublishStatsRecord |
|
|
16175
|
+
expected: "(FilePublishStatsRecord | FacebookPublishStatsRecord | PublishStatsRecordBase)",
|
|
16153
16176
|
value: input
|
|
16154
16177
|
});
|
|
16155
16178
|
})(); 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 +16181,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16158
16181
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
16159
16182
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
16160
16183
|
path: _path + "",
|
|
16161
|
-
expected: "(FacebookPublishStatsRecord | FilePublishStatsRecord |
|
|
16184
|
+
expected: "(FacebookPublishStatsRecord | FilePublishStatsRecord | PublishStatsRecordBase)",
|
|
16162
16185
|
value: input
|
|
16163
16186
|
})) && _vu1(input, _path + "", true) || _report(true, {
|
|
16164
16187
|
path: _path + "",
|
|
16165
|
-
expected: "(FacebookPublishStatsRecord | FilePublishStatsRecord |
|
|
16188
|
+
expected: "(FacebookPublishStatsRecord | FilePublishStatsRecord | PublishStatsRecordBase)",
|
|
16166
16189
|
value: input
|
|
16167
16190
|
}))(input, "$input", true);
|
|
16168
16191
|
const success = 0 === errors.length;
|
|
@@ -16187,19 +16210,14 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16187
16210
|
if (undefined === value)
|
|
16188
16211
|
return true;
|
|
16189
16212
|
return "object" === typeof value && null !== value && _io1(value, true && _exceptionable);
|
|
16190
|
-
}); const _io1 = (input, _exceptionable = true) => "string" === typeof input.rpcId &&
|
|
16213
|
+
}); const _io1 = (input, _exceptionable = true) => "string" === typeof input.rpcId && true && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16191
16214
|
if (["rpcId", "rpcData"].some(prop => key === prop))
|
|
16192
16215
|
return true;
|
|
16193
16216
|
const value = input[key];
|
|
16194
16217
|
if (undefined === value)
|
|
16195
16218
|
return true;
|
|
16196
16219
|
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 => {
|
|
16220
|
+
})); const _vo0 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
16203
16221
|
const value = input[key];
|
|
16204
16222
|
if (undefined === value)
|
|
16205
16223
|
return true;
|
|
@@ -16216,15 +16234,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16216
16234
|
path: _path + ".rpcId",
|
|
16217
16235
|
expected: "string",
|
|
16218
16236
|
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 => {
|
|
16237
|
+
}), true, 2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
16228
16238
|
if (["rpcId", "rpcData"].some(prop => key === prop))
|
|
16229
16239
|
return true;
|
|
16230
16240
|
const value = input[key];
|
|
@@ -16240,22 +16250,17 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16240
16250
|
"Please remove the property next time."
|
|
16241
16251
|
].join("\n")
|
|
16242
16252
|
});
|
|
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 => {
|
|
16253
|
+
}).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
16254
|
if (false === __is(input)) {
|
|
16250
16255
|
errors = [];
|
|
16251
16256
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
16252
16257
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
16253
16258
|
path: _path + "",
|
|
16254
|
-
expected: "
|
|
16259
|
+
expected: "PublishDomainMethodsRecordBase",
|
|
16255
16260
|
value: input
|
|
16256
16261
|
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
16257
16262
|
path: _path + "",
|
|
16258
|
-
expected: "
|
|
16263
|
+
expected: "PublishDomainMethodsRecordBase",
|
|
16259
16264
|
value: input
|
|
16260
16265
|
}))(input, "$input", true);
|
|
16261
16266
|
const success = 0 === errors.length;
|
|
@@ -16304,11 +16309,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16304
16309
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
16305
16310
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
16306
16311
|
path: _path + "",
|
|
16307
|
-
expected: "
|
|
16312
|
+
expected: "PublishDomainAcceptsProvidedRecordBase",
|
|
16308
16313
|
value: input
|
|
16309
16314
|
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
16310
16315
|
path: _path + "",
|
|
16311
|
-
expected: "
|
|
16316
|
+
expected: "PublishDomainAcceptsProvidedRecordBase",
|
|
16312
16317
|
value: input
|
|
16313
16318
|
}))(input, "$input", true);
|
|
16314
16319
|
const success = 0 === errors.length;
|
|
@@ -20215,8 +20220,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
20215
20220
|
if (undefined === value)
|
|
20216
20221
|
return true;
|
|
20217
20222
|
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))
|
|
20223
|
+
})); 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 => {
|
|
20224
|
+
if (["utils", "history", "refs", "access", "files", "export", "json", "hlsjs", "resetRenders", "resetReplicas", "assetStatus", "consolidateMedia", "hideInAssetMenu", "assetRoute", "devWarnings", "multiplexWebSockets", "systemHealth"].some(prop => key === prop))
|
|
20220
20225
|
return true;
|
|
20221
20226
|
const value = input[key];
|
|
20222
20227
|
if (undefined === value)
|
|
@@ -22685,8 +22690,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22685
22690
|
path: _path + ".multiplexWebSockets",
|
|
22686
22691
|
expected: "(boolean | undefined)",
|
|
22687
22692
|
value: input.multiplexWebSockets
|
|
22693
|
+
}), undefined === input.systemHealth || "boolean" === typeof input.systemHealth || _report(_exceptionable, {
|
|
22694
|
+
path: _path + ".systemHealth",
|
|
22695
|
+
expected: "(boolean | undefined)",
|
|
22696
|
+
value: input.systemHealth
|
|
22688
22697
|
}), 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))
|
|
22698
|
+
if (["utils", "history", "refs", "access", "files", "export", "json", "hlsjs", "resetRenders", "resetReplicas", "assetStatus", "consolidateMedia", "hideInAssetMenu", "assetRoute", "devWarnings", "multiplexWebSockets", "systemHealth"].some(prop => key === prop))
|
|
22690
22699
|
return true;
|
|
22691
22700
|
const value = input[key];
|
|
22692
22701
|
if (undefined === value)
|