@nxtedition/types 23.0.50 → 23.0.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common/file.d.ts +1 -0
- package/dist/common/file.js +7 -2
- package/dist/common/settings.d.ts +1 -0
- package/dist/nxtpression.d.ts +157 -63
- package/dist/records/domains/connection/empty.d.ts +7 -0
- package/dist/records/domains/connection/facebook.d.ts +8 -0
- package/dist/records/domains/connection/file/ftp.d.ts +9 -0
- package/dist/records/domains/connection/file/ftp.js +1 -0
- package/dist/records/domains/connection/file/index.d.ts +29 -0
- package/dist/records/domains/connection/file/index.js +4 -0
- package/dist/records/domains/connection/file/s3.d.ts +6 -0
- package/dist/records/domains/connection/file/s3.js +1 -0
- package/dist/records/domains/connection/file/sftp.d.ts +12 -0
- package/dist/records/domains/connection/file/sftp.js +1 -0
- package/dist/records/domains/connection/file/smb.d.ts +9 -0
- package/dist/records/domains/connection/file/smb.js +1 -0
- package/dist/records/domains/connection/index.d.ts +38 -0
- package/dist/records/domains/connection/index.js +4 -0
- package/dist/records/domains/connection/reuters.d.ts +10 -0
- package/dist/records/domains/connection/reuters.js +1 -0
- package/dist/records/domains/general.d.ts +16 -0
- package/dist/records/domains/index.d.ts +4 -4
- package/dist/records/domains/index.js +2 -2
- package/dist/records/domains/publish/empty.d.ts +8 -0
- package/dist/records/domains/publish/empty.js +1 -0
- package/dist/records/domains/publish/facebook.d.ts +11 -0
- package/dist/records/domains/publish/facebook.js +1 -0
- package/dist/records/domains/publish/file-legacy.d.ts +26 -0
- package/dist/records/domains/publish/file-legacy.js +1 -0
- package/dist/records/domains/publish/file.d.ts +66 -0
- package/dist/records/domains/publish/file.js +1 -0
- package/dist/records/domains/publish/index.d.ts +66 -0
- package/dist/records/domains/publish/index.js +5 -0
- package/dist/records/domains/publish/youtube.d.ts +16 -0
- package/dist/records/domains/publish/youtube.js +1 -0
- package/dist/records/exact/storage.d.ts +1 -1
- package/dist/records/validate/assert-guard.js +570 -687
- package/dist/records/validate/assert.js +579 -694
- package/dist/records/validate/is.js +51 -109
- package/dist/records/validate/schemas.js +421 -380
- package/dist/records/validate/stringify.js +74 -155
- package/dist/records/validate/utils.d.ts +2 -0
- package/dist/records/validate/utils.js +3 -0
- package/dist/records/validate/validate-equals.js +961 -819
- package/dist/records/validate/validate.js +550 -638
- package/package.json +1 -1
- package/dist/records/domains/connection.d.ts +0 -77
- package/dist/records/domains/publish.d.ts +0 -149
- /package/dist/records/domains/{connection.js → connection/empty.js} +0 -0
- /package/dist/records/domains/{publish.js → connection/facebook.js} +0 -0
|
@@ -936,7 +936,7 @@ function _validateExactRecord(name, input) {
|
|
|
936
936
|
if (undefined === value)
|
|
937
937
|
return true;
|
|
938
938
|
return "object" === typeof value && null !== value && _io1(value);
|
|
939
|
-
}); const _io1 = input => "string" === typeof input.id && "string" === typeof input.location && "string" === typeof input.timestamp && "string" === typeof input.type && "string" === typeof input.zone && (null === input.free || "number" === typeof input.free) && (null === input.size || "number" === typeof input.size) && (null === input.available || "number" === typeof input.available) && (null === input.cache || "boolean" === typeof input.cache) && (null === input.capacity || "number" === typeof input.capacity) && "string" === typeof input.origin && (Array.isArray(input.allows) && input.allows.every(elem => "get" === elem || "put" === elem || "del" === elem)) && ("object" === typeof input.net && null !== input.net && _io2(input.net)) && "number" === typeof input.latency; const _io2 = input => "number" === typeof input.rx && "number" === typeof input.tx; const _vo0 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
939
|
+
}); const _io1 = input => "string" === typeof input.id && "string" === typeof input.location && "string" === typeof input.timestamp && "string" === typeof input.type && "string" === typeof input.zone && (null === input.free || "number" === typeof input.free) && (null === input.size || "number" === typeof input.size) && (null === input.available || "number" === typeof input.available) && (null === input.cache || "boolean" === typeof input.cache) && (null === input.capacity || "number" === typeof input.capacity) && "string" === typeof input.origin && (Array.isArray(input.allows) && input.allows.every(elem => "get" === elem || "put" === elem || "del" === elem)) && (undefined === input.net || "object" === typeof input.net && null !== input.net && _io2(input.net)) && "number" === typeof input.latency; const _io2 = input => "number" === typeof input.rx && "number" === typeof input.tx; const _vo0 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
940
940
|
const value = input[key];
|
|
941
941
|
if (undefined === value)
|
|
942
942
|
return true;
|
|
@@ -1005,13 +1005,13 @@ function _validateExactRecord(name, input) {
|
|
|
1005
1005
|
path: _path + ".allows",
|
|
1006
1006
|
expected: "Array<\"get\" | \"put\" | \"del\">",
|
|
1007
1007
|
value: input.allows
|
|
1008
|
-
}), ("object" === typeof input.net && null !== input.net || _report(_exceptionable, {
|
|
1008
|
+
}), undefined === input.net || ("object" === typeof input.net && null !== input.net || _report(_exceptionable, {
|
|
1009
1009
|
path: _path + ".net",
|
|
1010
|
-
expected: "__type",
|
|
1010
|
+
expected: "(__type | undefined)",
|
|
1011
1011
|
value: input.net
|
|
1012
1012
|
})) && _vo2(input.net, _path + ".net", true && _exceptionable) || _report(_exceptionable, {
|
|
1013
1013
|
path: _path + ".net",
|
|
1014
|
-
expected: "__type",
|
|
1014
|
+
expected: "(__type | undefined)",
|
|
1015
1015
|
value: input.net
|
|
1016
1016
|
}), "number" === typeof input.latency || _report(_exceptionable, {
|
|
1017
1017
|
path: _path + ".latency",
|
|
@@ -3683,37 +3683,51 @@ function _validateDomainRecord(domain, input) {
|
|
|
3683
3683
|
}; })()(input);
|
|
3684
3684
|
}
|
|
3685
3685
|
case ":connection": {
|
|
3686
|
-
return (() => { const _io0 = input => "
|
|
3687
|
-
if ("
|
|
3686
|
+
return (() => { const _io0 = input => "ftp" === input.protocol && "string" === typeof input.host && (undefined === input.username || "string" === typeof input.username) && (undefined === input.password || "string" === typeof input.password) && (undefined === input.utf8 || "boolean" === typeof input.utf8) && (undefined === input.timezone || "string" === typeof input.timezone) && "file" === input.type && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && _io1(input.metafile)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io1 = input => "string" === typeof input.content; const _io2 = input => "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)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io3 = input => "smb" === input.protocol && "string" === typeof input.host && "string" === typeof input.share && (undefined === input.workgroup || "string" === typeof input.workgroup) && (undefined === input.username || "string" === typeof input.username) && (undefined === input.password || "string" === typeof input.password) && "file" === input.type && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && _io1(input.metafile)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io4 = input => "sftp" === input.protocol && "string" === typeof input.host && (undefined === input.username || "string" === typeof input.username) && (undefined === input.password || "string" === typeof input.password) && (undefined === input.privateKey || "string" === typeof input.privateKey) && (undefined === input.timezone || "string" === typeof input.timezone) && (undefined === input.debug || "boolean" === typeof input.debug) && (undefined === input.root || "string" === typeof input.root) && (undefined === input.mode || "libcurl" === input.mode || "lftp" === input.mode || "openssh" === input.mode || "ssh2" === input.mode) && "file" === input.type && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && _io1(input.metafile)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io5 = input => "facebook" === input.type && (undefined === input.grantedScopes || Array.isArray(input.grantedScopes) && input.grantedScopes.every(elem => "string" === typeof elem)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io6 = input => "reuters" === input.type && (undefined === input.clientId || "string" === typeof input.clientId) && (undefined === input.clientSecret || "string" === typeof input.clientSecret) && (undefined === input.audience || "string" === typeof input.audience) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io7 = input => undefined !== input.type && null === input.type && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _iu0 = input => (() => {
|
|
3687
|
+
if ("ftp" === input.protocol)
|
|
3688
3688
|
return _io0(input);
|
|
3689
|
-
else if ("
|
|
3689
|
+
else if ("s3" === input.protocol)
|
|
3690
3690
|
return _io2(input);
|
|
3691
3691
|
else if ("smb" === input.protocol)
|
|
3692
3692
|
return _io3(input);
|
|
3693
3693
|
else if ("sftp" === input.protocol)
|
|
3694
3694
|
return _io4(input);
|
|
3695
|
-
else if ("reuters" === input.type)
|
|
3696
|
-
return _io5(input);
|
|
3697
3695
|
else if ("facebook" === input.type)
|
|
3696
|
+
return _io5(input);
|
|
3697
|
+
else if ("reuters" === input.type)
|
|
3698
3698
|
return _io6(input);
|
|
3699
|
+
else if (undefined !== input.type && null === input.type)
|
|
3700
|
+
return _io7(input);
|
|
3699
3701
|
else
|
|
3700
3702
|
return false;
|
|
3701
|
-
})(); const _vo0 = (input, _path, _exceptionable = true) => ["
|
|
3703
|
+
})(); const _vo0 = (input, _path, _exceptionable = true) => ["ftp" === input.protocol || _report(_exceptionable, {
|
|
3702
3704
|
path: _path + ".protocol",
|
|
3703
|
-
expected: "\"
|
|
3705
|
+
expected: "\"ftp\"",
|
|
3704
3706
|
value: input.protocol
|
|
3705
|
-
}),
|
|
3706
|
-
path: _path + ".
|
|
3707
|
+
}), "string" === typeof input.host || _report(_exceptionable, {
|
|
3708
|
+
path: _path + ".host",
|
|
3709
|
+
expected: "string",
|
|
3710
|
+
value: input.host
|
|
3711
|
+
}), undefined === input.username || "string" === typeof input.username || _report(_exceptionable, {
|
|
3712
|
+
path: _path + ".username",
|
|
3707
3713
|
expected: "(string | undefined)",
|
|
3708
|
-
value: input.
|
|
3714
|
+
value: input.username
|
|
3715
|
+
}), undefined === input.password || "string" === typeof input.password || _report(_exceptionable, {
|
|
3716
|
+
path: _path + ".password",
|
|
3717
|
+
expected: "(string | undefined)",
|
|
3718
|
+
value: input.password
|
|
3719
|
+
}), undefined === input.utf8 || "boolean" === typeof input.utf8 || _report(_exceptionable, {
|
|
3720
|
+
path: _path + ".utf8",
|
|
3721
|
+
expected: "(boolean | undefined)",
|
|
3722
|
+
value: input.utf8
|
|
3723
|
+
}), undefined === input.timezone || "string" === typeof input.timezone || _report(_exceptionable, {
|
|
3724
|
+
path: _path + ".timezone",
|
|
3725
|
+
expected: "(string | undefined)",
|
|
3726
|
+
value: input.timezone
|
|
3709
3727
|
}), "file" === input.type || _report(_exceptionable, {
|
|
3710
3728
|
path: _path + ".type",
|
|
3711
3729
|
expected: "\"file\"",
|
|
3712
3730
|
value: input.type
|
|
3713
|
-
}), undefined === input.host || "string" === typeof input.host || _report(_exceptionable, {
|
|
3714
|
-
path: _path + ".host",
|
|
3715
|
-
expected: "(string | undefined)",
|
|
3716
|
-
value: input.host
|
|
3717
3731
|
}), undefined === input.port || "string" === typeof input.port || "number" === typeof input.port || _report(_exceptionable, {
|
|
3718
3732
|
path: _path + ".port",
|
|
3719
3733
|
expected: "(number | string | undefined)",
|
|
@@ -3754,34 +3768,22 @@ function _validateDomainRecord(domain, input) {
|
|
|
3754
3768
|
path: _path + ".content",
|
|
3755
3769
|
expected: "string",
|
|
3756
3770
|
value: input.content
|
|
3757
|
-
})].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => ["
|
|
3771
|
+
})].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => ["s3" === input.protocol || _report(_exceptionable, {
|
|
3758
3772
|
path: _path + ".protocol",
|
|
3759
|
-
expected: "\"
|
|
3773
|
+
expected: "\"s3\"",
|
|
3760
3774
|
value: input.protocol
|
|
3761
|
-
}), "string" === typeof input.
|
|
3762
|
-
path: _path + ".
|
|
3763
|
-
expected: "string",
|
|
3764
|
-
value: input.host
|
|
3765
|
-
}), undefined === input.username || "string" === typeof input.username || _report(_exceptionable, {
|
|
3766
|
-
path: _path + ".username",
|
|
3767
|
-
expected: "(string | undefined)",
|
|
3768
|
-
value: input.username
|
|
3769
|
-
}), undefined === input.password || "string" === typeof input.password || _report(_exceptionable, {
|
|
3770
|
-
path: _path + ".password",
|
|
3771
|
-
expected: "(string | undefined)",
|
|
3772
|
-
value: input.password
|
|
3773
|
-
}), undefined === input.utf8 || "boolean" === typeof input.utf8 || _report(_exceptionable, {
|
|
3774
|
-
path: _path + ".utf8",
|
|
3775
|
-
expected: "(boolean | undefined)",
|
|
3776
|
-
value: input.utf8
|
|
3777
|
-
}), undefined === input.timezone || "string" === typeof input.timezone || _report(_exceptionable, {
|
|
3778
|
-
path: _path + ".timezone",
|
|
3775
|
+
}), true, undefined === input.bucket || "string" === typeof input.bucket || _report(_exceptionable, {
|
|
3776
|
+
path: _path + ".bucket",
|
|
3779
3777
|
expected: "(string | undefined)",
|
|
3780
|
-
value: input.
|
|
3778
|
+
value: input.bucket
|
|
3781
3779
|
}), "file" === input.type || _report(_exceptionable, {
|
|
3782
3780
|
path: _path + ".type",
|
|
3783
3781
|
expected: "\"file\"",
|
|
3784
3782
|
value: input.type
|
|
3783
|
+
}), undefined === input.host || "string" === typeof input.host || _report(_exceptionable, {
|
|
3784
|
+
path: _path + ".host",
|
|
3785
|
+
expected: "(string | undefined)",
|
|
3786
|
+
value: input.host
|
|
3785
3787
|
}), undefined === input.port || "string" === typeof input.port || "number" === typeof input.port || _report(_exceptionable, {
|
|
3786
3788
|
path: _path + ".port",
|
|
3787
3789
|
expected: "(number | string | undefined)",
|
|
@@ -3958,7 +3960,27 @@ function _validateDomainRecord(domain, input) {
|
|
|
3958
3960
|
path: _path + ".userNotificationsEnabled",
|
|
3959
3961
|
expected: "(boolean | undefined)",
|
|
3960
3962
|
value: input.userNotificationsEnabled
|
|
3961
|
-
})].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => ["
|
|
3963
|
+
})].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => ["facebook" === input.type || _report(_exceptionable, {
|
|
3964
|
+
path: _path + ".type",
|
|
3965
|
+
expected: "\"facebook\"",
|
|
3966
|
+
value: input.type
|
|
3967
|
+
}), undefined === input.grantedScopes || (Array.isArray(input.grantedScopes) || _report(_exceptionable, {
|
|
3968
|
+
path: _path + ".grantedScopes",
|
|
3969
|
+
expected: "(Array<string> | undefined)",
|
|
3970
|
+
value: input.grantedScopes
|
|
3971
|
+
})) && input.grantedScopes.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
|
|
3972
|
+
path: _path + ".grantedScopes[" + _index2 + "]",
|
|
3973
|
+
expected: "string",
|
|
3974
|
+
value: elem
|
|
3975
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
3976
|
+
path: _path + ".grantedScopes",
|
|
3977
|
+
expected: "(Array<string> | undefined)",
|
|
3978
|
+
value: input.grantedScopes
|
|
3979
|
+
}), undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled || _report(_exceptionable, {
|
|
3980
|
+
path: _path + ".userNotificationsEnabled",
|
|
3981
|
+
expected: "(boolean | undefined)",
|
|
3982
|
+
value: input.userNotificationsEnabled
|
|
3983
|
+
})].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["reuters" === input.type || _report(_exceptionable, {
|
|
3962
3984
|
path: _path + ".type",
|
|
3963
3985
|
expected: "\"reuters\"",
|
|
3964
3986
|
value: input.type
|
|
@@ -3978,43 +4000,37 @@ function _validateDomainRecord(domain, input) {
|
|
|
3978
4000
|
path: _path + ".userNotificationsEnabled",
|
|
3979
4001
|
expected: "(boolean | undefined)",
|
|
3980
4002
|
value: input.userNotificationsEnabled
|
|
3981
|
-
})].every(flag => flag); const
|
|
4003
|
+
})].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [(undefined !== input.type || _report(_exceptionable, {
|
|
3982
4004
|
path: _path + ".type",
|
|
3983
|
-
expected: "
|
|
4005
|
+
expected: "null",
|
|
3984
4006
|
value: input.type
|
|
3985
|
-
})
|
|
3986
|
-
path: _path + ".
|
|
3987
|
-
expected: "
|
|
3988
|
-
value: input.
|
|
3989
|
-
}))
|
|
3990
|
-
path: _path + ".grantedScopes[" + _index2 + "]",
|
|
3991
|
-
expected: "string",
|
|
3992
|
-
value: elem
|
|
3993
|
-
})).every(flag => flag) || _report(_exceptionable, {
|
|
3994
|
-
path: _path + ".grantedScopes",
|
|
3995
|
-
expected: "(Array<string> | undefined)",
|
|
3996
|
-
value: input.grantedScopes
|
|
3997
|
-
}), undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled || _report(_exceptionable, {
|
|
4007
|
+
})) && (null === input.type || _report(_exceptionable, {
|
|
4008
|
+
path: _path + ".type",
|
|
4009
|
+
expected: "null",
|
|
4010
|
+
value: input.type
|
|
4011
|
+
})), undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled || _report(_exceptionable, {
|
|
3998
4012
|
path: _path + ".userNotificationsEnabled",
|
|
3999
4013
|
expected: "(boolean | undefined)",
|
|
4000
4014
|
value: input.userNotificationsEnabled
|
|
4001
4015
|
})].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
4002
|
-
if ("
|
|
4016
|
+
if ("ftp" === input.protocol)
|
|
4003
4017
|
return _vo0(input, _path, true && _exceptionable);
|
|
4004
|
-
else if ("
|
|
4018
|
+
else if ("s3" === input.protocol)
|
|
4005
4019
|
return _vo2(input, _path, true && _exceptionable);
|
|
4006
4020
|
else if ("smb" === input.protocol)
|
|
4007
4021
|
return _vo3(input, _path, true && _exceptionable);
|
|
4008
4022
|
else if ("sftp" === input.protocol)
|
|
4009
4023
|
return _vo4(input, _path, true && _exceptionable);
|
|
4010
|
-
else if ("reuters" === input.type)
|
|
4011
|
-
return _vo5(input, _path, true && _exceptionable);
|
|
4012
4024
|
else if ("facebook" === input.type)
|
|
4025
|
+
return _vo5(input, _path, true && _exceptionable);
|
|
4026
|
+
else if ("reuters" === input.type)
|
|
4013
4027
|
return _vo6(input, _path, true && _exceptionable);
|
|
4028
|
+
else if (undefined !== input.type && null === input.type)
|
|
4029
|
+
return _vo7(input, _path, true && _exceptionable);
|
|
4014
4030
|
else
|
|
4015
4031
|
return _report(_exceptionable, {
|
|
4016
4032
|
path: _path,
|
|
4017
|
-
expected: "(
|
|
4033
|
+
expected: "(FileConnectionFtpRecord | FileConnectionS3Record | FileConnectionSmbRecord | FileConnectionSftpRecord | FacebookConnectionRecord | ReutersConnectionRecord | EmptyConnectionRecord)",
|
|
4018
4034
|
value: input
|
|
4019
4035
|
});
|
|
4020
4036
|
})(); const __is = input => "object" === typeof input && null !== input && _iu0(input); let errors; let _report; return input => {
|
|
@@ -4023,11 +4039,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
4023
4039
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
4024
4040
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
4025
4041
|
path: _path + "",
|
|
4026
|
-
expected: "(FacebookConnectionRecord | FileConnectionFtpRecord | FileConnectionS3Record | FileConnectionSftpRecord | FileConnectionSmbRecord | ReutersConnectionRecord)",
|
|
4042
|
+
expected: "(EmptyConnectionRecord | FacebookConnectionRecord | FileConnectionFtpRecord | FileConnectionS3Record | FileConnectionSftpRecord | FileConnectionSmbRecord | ReutersConnectionRecord)",
|
|
4027
4043
|
value: input
|
|
4028
4044
|
})) && _vu0(input, _path + "", true) || _report(true, {
|
|
4029
4045
|
path: _path + "",
|
|
4030
|
-
expected: "(FacebookConnectionRecord | FileConnectionFtpRecord | FileConnectionS3Record | FileConnectionSftpRecord | FileConnectionSmbRecord | ReutersConnectionRecord)",
|
|
4046
|
+
expected: "(EmptyConnectionRecord | FacebookConnectionRecord | FileConnectionFtpRecord | FileConnectionS3Record | FileConnectionSftpRecord | FileConnectionSmbRecord | ReutersConnectionRecord)",
|
|
4031
4047
|
value: input
|
|
4032
4048
|
}))(input, "$input", true);
|
|
4033
4049
|
const success = 0 === errors.length;
|
|
@@ -4071,11 +4087,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
4071
4087
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
4072
4088
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
4073
4089
|
path: _path + "",
|
|
4074
|
-
expected: "
|
|
4090
|
+
expected: "ConnectionMethodsBase",
|
|
4075
4091
|
value: input
|
|
4076
4092
|
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
4077
4093
|
path: _path + "",
|
|
4078
|
-
expected: "
|
|
4094
|
+
expected: "ConnectionMethodsBase",
|
|
4079
4095
|
value: input
|
|
4080
4096
|
}))(input, "$input", true);
|
|
4081
4097
|
const success = 0 === errors.length;
|
|
@@ -4125,11 +4141,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
4125
4141
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
4126
4142
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
4127
4143
|
path: _path + "",
|
|
4128
|
-
expected: "
|
|
4144
|
+
expected: "ConnectionStatsBase",
|
|
4129
4145
|
value: input
|
|
4130
4146
|
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
4131
4147
|
path: _path + "",
|
|
4132
|
-
expected: "
|
|
4148
|
+
expected: "ConnectionStatsBase",
|
|
4133
4149
|
value: input
|
|
4134
4150
|
}))(input, "$input", true);
|
|
4135
4151
|
const success = 0 === errors.length;
|
|
@@ -5145,7 +5161,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
5145
5161
|
}; })()(input);
|
|
5146
5162
|
}
|
|
5147
5163
|
case ":file.stats?": {
|
|
5148
|
-
return (() => { const _io0 = input => (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 => "string" === typeof elem)) && (Array.isArray(input.replicas) && input.replicas.every(elem => "string" === typeof elem)) && (Array.isArray(input.locations) && input.locations.every(elem => "string" === typeof elem)) && (Array.isArray(input.ranges) && input.ranges.every(elem => 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 => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem))) && (Array.isArray(input.tags) && input.tags.every(elem => "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 => "object" === typeof elem && null !== elem && _io2(elem)) || "object" === typeof input.error && null !== input.error && _io2(input.error)))); const _io1 = input => (undefined === input.file || "string" === typeof input.file) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end); const _io2 = input => "string" === typeof input.message && (undefined === input.type || "string" === typeof input.type) && (undefined === input.code || "string" === typeof input.code) && (undefined === input.exitCode || "number" === typeof input.exitCode) && (undefined === input.signalCode || "number" === typeof input.signalCode) && (undefined === input.statusCode || "number" === typeof input.statusCode) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _io3(input.headers)) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && _io4(input.data)) && (null === input.cause || undefined === input.cause || "object" === typeof input.cause && null !== input.cause && _io2(input.cause)) && (null === input.errors || undefined === input.errors || Array.isArray(input.errors) && input.errors.every(elem => "object" === typeof elem && null !== elem && _io2(elem))); const _io3 = input => Object.keys(input).every(key => {
|
|
5164
|
+
return (() => { const _io0 = input => (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 => "string" === typeof elem)) && (Array.isArray(input.replicas) && input.replicas.every(elem => "string" === typeof elem)) && (Array.isArray(input.locations) && input.locations.every(elem => "string" === typeof elem)) && (Array.isArray(input.ranges) && input.ranges.every(elem => 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 => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem))) && (Array.isArray(input.tags) && input.tags.every(elem => "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 => "object" === typeof elem && null !== elem && _io2(elem)) || "object" === typeof input.error && null !== input.error && _io2(input.error)))); const _io1 = input => (undefined === input.file || "string" === typeof input.file) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end); const _io2 = input => "string" === typeof input.message && (undefined === input.type || "string" === typeof input.type) && (undefined === input.code || "string" === typeof input.code) && (undefined === input.exitCode || "number" === typeof input.exitCode) && (undefined === input.signalCode || "number" === typeof input.signalCode) && (undefined === input.statusCode || "number" === typeof input.statusCode) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _io3(input.headers)) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && _io4(input.data)) && (null === input.cause || undefined === input.cause || "object" === typeof input.cause && null !== input.cause && _io2(input.cause)) && (null === input.errors || undefined === input.errors || Array.isArray(input.errors) && input.errors.every(elem => "object" === typeof elem && null !== elem && _io2(elem))); const _io3 = input => Object.keys(input).every(key => {
|
|
5149
5165
|
const value = input[key];
|
|
5150
5166
|
if (undefined === value)
|
|
5151
5167
|
return true;
|
|
@@ -5261,6 +5277,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
5261
5277
|
path: _path + ".speed",
|
|
5262
5278
|
expected: "((number & Minimum<0>) | undefined)",
|
|
5263
5279
|
value: input.speed
|
|
5280
|
+
}), "boolean" === typeof input.complete || _report(_exceptionable, {
|
|
5281
|
+
path: _path + ".complete",
|
|
5282
|
+
expected: "boolean",
|
|
5283
|
+
value: input.complete
|
|
5264
5284
|
}), "string" === typeof input.id && (RegExp("^[0-9A-Za-z~][0-9A-Za-z~._: -]*$").test(input.id) || _report(_exceptionable, {
|
|
5265
5285
|
path: _path + ".id",
|
|
5266
5286
|
expected: "string & Pattern<\"^[0-9A-Za-z~][0-9A-Za-z~._: -]*$\">",
|
|
@@ -5745,6 +5765,116 @@ function _validateDomainRecord(domain, input) {
|
|
|
5745
5765
|
};
|
|
5746
5766
|
}; })()(input);
|
|
5747
5767
|
}
|
|
5768
|
+
case ":general._asset": {
|
|
5769
|
+
return (() => { const _io0 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.tags || "string" === typeof input.tags) && (undefined === input.media || "string" === typeof input.media) && (undefined === input.duration || "string" === typeof input.duration) && (undefined === input.deadlines || "string" === typeof input.deadlines) && (undefined === input.assignees || "string" === typeof input.assignees) && (undefined === input.locations || "string" === typeof input.locations) && (undefined === input.status || "string" === typeof input.status) && (undefined === input.storage || "string" === typeof input.storage); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
5770
|
+
path: _path + ".title",
|
|
5771
|
+
expected: "(string | undefined)",
|
|
5772
|
+
value: input.title
|
|
5773
|
+
}), undefined === input.tags || "string" === typeof input.tags || _report(_exceptionable, {
|
|
5774
|
+
path: _path + ".tags",
|
|
5775
|
+
expected: "(string | undefined)",
|
|
5776
|
+
value: input.tags
|
|
5777
|
+
}), undefined === input.media || "string" === typeof input.media || _report(_exceptionable, {
|
|
5778
|
+
path: _path + ".media",
|
|
5779
|
+
expected: "(string | undefined)",
|
|
5780
|
+
value: input.media
|
|
5781
|
+
}), undefined === input.duration || "string" === typeof input.duration || _report(_exceptionable, {
|
|
5782
|
+
path: _path + ".duration",
|
|
5783
|
+
expected: "(string | undefined)",
|
|
5784
|
+
value: input.duration
|
|
5785
|
+
}), undefined === input.deadlines || "string" === typeof input.deadlines || _report(_exceptionable, {
|
|
5786
|
+
path: _path + ".deadlines",
|
|
5787
|
+
expected: "(string | undefined)",
|
|
5788
|
+
value: input.deadlines
|
|
5789
|
+
}), undefined === input.assignees || "string" === typeof input.assignees || _report(_exceptionable, {
|
|
5790
|
+
path: _path + ".assignees",
|
|
5791
|
+
expected: "(string | undefined)",
|
|
5792
|
+
value: input.assignees
|
|
5793
|
+
}), undefined === input.locations || "string" === typeof input.locations || _report(_exceptionable, {
|
|
5794
|
+
path: _path + ".locations",
|
|
5795
|
+
expected: "(string | undefined)",
|
|
5796
|
+
value: input.locations
|
|
5797
|
+
}), undefined === input.status || "string" === typeof input.status || _report(_exceptionable, {
|
|
5798
|
+
path: _path + ".status",
|
|
5799
|
+
expected: "(string | undefined)",
|
|
5800
|
+
value: input.status
|
|
5801
|
+
}), undefined === input.storage || "string" === typeof input.storage || _report(_exceptionable, {
|
|
5802
|
+
path: _path + ".storage",
|
|
5803
|
+
expected: "(string | undefined)",
|
|
5804
|
+
value: input.storage
|
|
5805
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
5806
|
+
if (false === __is(input)) {
|
|
5807
|
+
errors = [];
|
|
5808
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
5809
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
5810
|
+
path: _path + "",
|
|
5811
|
+
expected: "GeneralAssetRecord",
|
|
5812
|
+
value: input
|
|
5813
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
5814
|
+
path: _path + "",
|
|
5815
|
+
expected: "GeneralAssetRecord",
|
|
5816
|
+
value: input
|
|
5817
|
+
}))(input, "$input", true);
|
|
5818
|
+
const success = 0 === errors.length;
|
|
5819
|
+
return success ? {
|
|
5820
|
+
success,
|
|
5821
|
+
data: input
|
|
5822
|
+
} : {
|
|
5823
|
+
success,
|
|
5824
|
+
errors,
|
|
5825
|
+
data: input
|
|
5826
|
+
};
|
|
5827
|
+
}
|
|
5828
|
+
return {
|
|
5829
|
+
success: true,
|
|
5830
|
+
data: input
|
|
5831
|
+
};
|
|
5832
|
+
}; })()(input);
|
|
5833
|
+
}
|
|
5834
|
+
case ":general._embedding": {
|
|
5835
|
+
return (() => { const _io0 = input => Object.keys(input).every(key => {
|
|
5836
|
+
const value = input[key];
|
|
5837
|
+
if (undefined === value)
|
|
5838
|
+
return true;
|
|
5839
|
+
return null === value || "string" === typeof value;
|
|
5840
|
+
}); const _vo0 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
5841
|
+
const value = input[key];
|
|
5842
|
+
if (undefined === value)
|
|
5843
|
+
return true;
|
|
5844
|
+
return null === value || "string" === typeof value || _report(_exceptionable, {
|
|
5845
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
5846
|
+
expected: "(null | string)",
|
|
5847
|
+
value: value
|
|
5848
|
+
});
|
|
5849
|
+
}).every(flag => flag)].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
5850
|
+
if (false === __is(input)) {
|
|
5851
|
+
errors = [];
|
|
5852
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
5853
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
5854
|
+
path: _path + "",
|
|
5855
|
+
expected: "GeneralEmbeddingRecord",
|
|
5856
|
+
value: input
|
|
5857
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
5858
|
+
path: _path + "",
|
|
5859
|
+
expected: "GeneralEmbeddingRecord",
|
|
5860
|
+
value: input
|
|
5861
|
+
}))(input, "$input", true);
|
|
5862
|
+
const success = 0 === errors.length;
|
|
5863
|
+
return success ? {
|
|
5864
|
+
success,
|
|
5865
|
+
data: input
|
|
5866
|
+
} : {
|
|
5867
|
+
success,
|
|
5868
|
+
errors,
|
|
5869
|
+
data: input
|
|
5870
|
+
};
|
|
5871
|
+
}
|
|
5872
|
+
return {
|
|
5873
|
+
success: true,
|
|
5874
|
+
data: input
|
|
5875
|
+
};
|
|
5876
|
+
}; })()(input);
|
|
5877
|
+
}
|
|
5748
5878
|
case ":media.source": {
|
|
5749
5879
|
return (() => { const _io0 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (null === input.input || undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io1(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io2(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io5(input.video)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io7(input.transcribe)); const _io1 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file); const _io2 = input => Object.keys(input).every(key => {
|
|
5750
5880
|
const value = input[key];
|
|
@@ -8316,88 +8446,70 @@ function _validateDomainRecord(domain, input) {
|
|
|
8316
8446
|
}; })()(input);
|
|
8317
8447
|
}
|
|
8318
8448
|
case ":publish": {
|
|
8319
|
-
return (() => { const _io0 = input =>
|
|
8320
|
-
const value = input[key];
|
|
8321
|
-
if (undefined === value)
|
|
8322
|
-
return true;
|
|
8323
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io7(value);
|
|
8324
|
-
}); const _io7 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io8(input.styleOverrides)); const _io8 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io9 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io10(input.crop); const _io10 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io11 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io12 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io13(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io14(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io15(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io16(input.subtitle))); const _io13 = input => "string" === typeof input.engine; const _io14 = input => "string" === typeof input.language; const _io15 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io16 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _io17 = input => Object.keys(input).every(key => {
|
|
8449
|
+
return (() => { const _io0 = input => undefined !== input.type && null === input.type && (null === input.asset || undefined === input.asset || "string" === typeof input.asset); const _io1 = input => "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 && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io16(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io17(elem))); const _io2 = input => (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io3(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io11(input.profile)); const _io3 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (null === input.input || undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io4(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io5(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io8(input.video)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io10(input.transcribe)); const _io4 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file); const _io5 = input => Object.keys(input).every(key => {
|
|
8325
8450
|
const value = input[key];
|
|
8326
8451
|
if (undefined === value)
|
|
8327
8452
|
return true;
|
|
8328
|
-
return
|
|
8329
|
-
}); const
|
|
8453
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io6(value);
|
|
8454
|
+
}); const _io6 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io7(input.styleOverrides)); const _io7 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io8 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io9(input.crop); const _io9 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io10 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io11 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io12(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io13(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io14(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io15(input.subtitle))); const _io12 = input => "string" === typeof input.engine; const _io13 = input => "string" === typeof input.language; const _io14 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io15 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _io16 = input => "string" === typeof input.method; const _io17 = input => "number" === typeof input.level && "string" === typeof input.code && "string" === typeof input.msg; const _io18 = input => "file" === input.type && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io19(input.renders)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io23(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io24(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io27(input.published)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io2(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io16(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io17(elem))); const _io19 = input => Object.keys(input).every(key => {
|
|
8330
8455
|
const value = input[key];
|
|
8331
8456
|
if (undefined === value)
|
|
8332
8457
|
return true;
|
|
8333
8458
|
return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && _iu0(value));
|
|
8334
|
-
}); const
|
|
8335
|
-
if (["directory", "filename"].some(prop => key === prop))
|
|
8336
|
-
return true;
|
|
8459
|
+
}); const _io20 = input => (undefined === input.name || "string" === typeof input.name) && "string" === typeof input.path && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene) && (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io3(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io11(input.profile)); const _io21 = input => "object" === typeof input.__context && null !== input.__context && _io22(input.__context) && ("object" === typeof input.__returnValue && null !== input.__returnValue && _io20(input.__returnValue)); const _io22 = input => "object" === typeof input.publish && null !== input.publish && _io18(input.publish) && "string" === typeof input.directory && "string" === typeof input.name; const _io23 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename); const _io24 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io25(input.renders)); const _io25 = input => Object.keys(input).every(key => {
|
|
8337
8460
|
const value = input[key];
|
|
8338
8461
|
if (undefined === value)
|
|
8339
8462
|
return true;
|
|
8340
|
-
return
|
|
8341
|
-
}); const _io27 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.
|
|
8342
|
-
if (["directory", "filename", "renders"].some(prop => key === prop))
|
|
8343
|
-
return true;
|
|
8344
|
-
const value = input[key];
|
|
8345
|
-
if (undefined === value)
|
|
8346
|
-
return true;
|
|
8347
|
-
return true;
|
|
8348
|
-
}); const _io28 = input => Object.keys(input).every(key => {
|
|
8349
|
-
const value = input[key];
|
|
8350
|
-
if (undefined === value)
|
|
8351
|
-
return true;
|
|
8352
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io29(value);
|
|
8353
|
-
}); const _io29 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io19(elem))) && true && (undefined === input.size || "number" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash) && (undefined === input.source || "string" === typeof input.source); const _io30 = input => (undefined === input.directory || "string" === typeof input.directory) && "string" === typeof input.filename && Object.keys(input).every(key => {
|
|
8354
|
-
if (["directory", "filename"].some(prop => key === prop))
|
|
8355
|
-
return true;
|
|
8356
|
-
const value = input[key];
|
|
8357
|
-
if (undefined === value)
|
|
8358
|
-
return true;
|
|
8359
|
-
return true;
|
|
8360
|
-
}); const _io31 = input => (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) && _io26(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && _io32(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io30(input.published)) && (null !== input.renders && undefined === input.renders) && "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)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io18(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io19(elem))); const _io32 = input => (undefined === input.id || "string" === typeof input.id) && "string" === typeof input.path && "string" === typeof input.filename && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && _io33(input.subtitle)) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && _io34(input.metafile)) && Object.keys(input).every(key => {
|
|
8463
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io26(value);
|
|
8464
|
+
}); const _io26 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io17(elem))) && true && (undefined === input.size || "number" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash) && (undefined === input.source || "string" === typeof input.source); const _io27 = input => (undefined === input.directory || "string" === typeof input.directory) && "string" === typeof input.filename; const _io28 = input => "file" === input.type && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io23(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && _io29(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io27(input.published)) && (null !== input.renders && undefined === input.renders) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io2(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io16(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io17(elem))); const _io29 = input => (undefined === input.id || "string" === typeof input.id) && "string" === typeof input.path && "string" === typeof input.filename && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && _io30(input.subtitle)) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && _io31(input.metafile)) && Object.keys(input).every(key => {
|
|
8361
8465
|
if (["id", "path", "filename", "directory", "subtitle", "metafile"].some(prop => key === prop))
|
|
8362
8466
|
return true;
|
|
8363
8467
|
const value = input[key];
|
|
8364
8468
|
if (undefined === value)
|
|
8365
8469
|
return true;
|
|
8366
8470
|
return true;
|
|
8367
|
-
}); const
|
|
8471
|
+
}); const _io30 = input => "string" === typeof input.path; const _io31 = input => "string" === typeof input.path; const _io32 = input => "youtube" === input.type && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io33(input.draft)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io2(input.render)) && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io16(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io17(elem))); const _io33 = input => undefined === input.snippet || "object" === typeof input.snippet && null !== input.snippet && false === Array.isArray(input.snippet) && _io34(input.snippet); const _io34 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.description || "string" === typeof input.description); const _iu0 = input => (() => {
|
|
8368
8472
|
if (undefined !== input.path)
|
|
8369
|
-
return
|
|
8473
|
+
return _io20(input);
|
|
8370
8474
|
else if (undefined !== input.__context)
|
|
8371
|
-
return
|
|
8475
|
+
return _io21(input);
|
|
8372
8476
|
else
|
|
8373
8477
|
return false;
|
|
8374
8478
|
})(); const _iu1 = input => (() => {
|
|
8375
|
-
if (
|
|
8479
|
+
if (undefined !== input.type && null === input.type)
|
|
8376
8480
|
return _io0(input);
|
|
8377
8481
|
else if ("facebook" === input.type)
|
|
8378
|
-
return
|
|
8379
|
-
else if (
|
|
8380
|
-
return
|
|
8482
|
+
return _io1(input);
|
|
8483
|
+
else if ("youtube" === input.type)
|
|
8484
|
+
return _io32(input);
|
|
8381
8485
|
else
|
|
8382
8486
|
return (() => {
|
|
8383
|
-
if (
|
|
8384
|
-
return
|
|
8385
|
-
if (
|
|
8386
|
-
return
|
|
8487
|
+
if (_io28(input))
|
|
8488
|
+
return _io28(input);
|
|
8489
|
+
if (_io18(input))
|
|
8490
|
+
return _io18(input);
|
|
8387
8491
|
return false;
|
|
8388
8492
|
})();
|
|
8389
|
-
})(); const _vo0 = (input, _path, _exceptionable = true) => [undefined
|
|
8390
|
-
path: _path + ".draft",
|
|
8391
|
-
expected: "(__type | undefined)",
|
|
8392
|
-
value: input.draft
|
|
8393
|
-
})) && _vo1(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
8394
|
-
path: _path + ".draft",
|
|
8395
|
-
expected: "(__type | undefined)",
|
|
8396
|
-
value: input.draft
|
|
8397
|
-
}), "youtube" === input.type || _report(_exceptionable, {
|
|
8493
|
+
})(); const _vo0 = (input, _path, _exceptionable = true) => [(undefined !== input.type || _report(_exceptionable, {
|
|
8398
8494
|
path: _path + ".type",
|
|
8399
|
-
expected: "
|
|
8495
|
+
expected: "null",
|
|
8496
|
+
value: input.type
|
|
8497
|
+
})) && (null === input.type || _report(_exceptionable, {
|
|
8498
|
+
path: _path + ".type",
|
|
8499
|
+
expected: "null",
|
|
8500
|
+
value: input.type
|
|
8501
|
+
})), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
|
|
8502
|
+
path: _path + ".asset",
|
|
8503
|
+
expected: "(null | string | undefined)",
|
|
8504
|
+
value: input.asset
|
|
8505
|
+
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["facebook" === input.type || _report(_exceptionable, {
|
|
8506
|
+
path: _path + ".type",
|
|
8507
|
+
expected: "\"facebook\"",
|
|
8400
8508
|
value: input.type
|
|
8509
|
+
}), undefined === input.pageId || "string" === typeof input.pageId || _report(_exceptionable, {
|
|
8510
|
+
path: _path + ".pageId",
|
|
8511
|
+
expected: "(string | undefined)",
|
|
8512
|
+
value: input.pageId
|
|
8401
8513
|
}), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
|
|
8402
8514
|
path: _path + ".asset",
|
|
8403
8515
|
expected: "(null | string | undefined)",
|
|
@@ -8408,35 +8520,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
8408
8520
|
value: input.connection
|
|
8409
8521
|
}), undefined === input.render || ("object" === typeof input.render && null !== input.render || _report(_exceptionable, {
|
|
8410
8522
|
path: _path + ".render",
|
|
8411
|
-
expected: "(
|
|
8523
|
+
expected: "(PublishRenderBase | undefined)",
|
|
8412
8524
|
value: input.render
|
|
8413
|
-
})) &&
|
|
8525
|
+
})) && _vo2(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
8414
8526
|
path: _path + ".render",
|
|
8415
|
-
expected: "(
|
|
8527
|
+
expected: "(PublishRenderBase | undefined)",
|
|
8416
8528
|
value: input.render
|
|
8417
|
-
}), undefined === input.
|
|
8418
|
-
path: _path + ".published",
|
|
8419
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
8420
|
-
value: input.published
|
|
8421
|
-
})) && _vo17(input.published, _path + ".published", true && _exceptionable) || _report(_exceptionable, {
|
|
8422
|
-
path: _path + ".published",
|
|
8423
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
8424
|
-
value: input.published
|
|
8425
|
-
}), undefined === input.remote || ("object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) || _report(_exceptionable, {
|
|
8426
|
-
path: _path + ".remote",
|
|
8427
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
8428
|
-
value: input.remote
|
|
8429
|
-
})) && _vo17(input.remote, _path + ".remote", true && _exceptionable) || _report(_exceptionable, {
|
|
8430
|
-
path: _path + ".remote",
|
|
8431
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
8432
|
-
value: input.remote
|
|
8433
|
-
}), null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
8529
|
+
}), true, true, true, null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
8434
8530
|
path: _path + ".error",
|
|
8435
|
-
expected: "(__type.
|
|
8531
|
+
expected: "(__type.o9 | null | undefined)",
|
|
8436
8532
|
value: input.error
|
|
8437
|
-
})) &&
|
|
8533
|
+
})) && _vo16(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
8438
8534
|
path: _path + ".error",
|
|
8439
|
-
expected: "(__type.
|
|
8535
|
+
expected: "(__type.o9 | null | undefined)",
|
|
8440
8536
|
value: input.error
|
|
8441
8537
|
}), undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
8442
8538
|
path: _path + ".messages",
|
|
@@ -8446,7 +8542,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
8446
8542
|
path: _path + ".messages[" + _index9 + "]",
|
|
8447
8543
|
expected: "Message",
|
|
8448
8544
|
value: elem
|
|
8449
|
-
})) &&
|
|
8545
|
+
})) && _vo17(elem, _path + ".messages[" + _index9 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
8450
8546
|
path: _path + ".messages[" + _index9 + "]",
|
|
8451
8547
|
expected: "Message",
|
|
8452
8548
|
value: elem
|
|
@@ -8454,35 +8550,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
8454
8550
|
path: _path + ".messages",
|
|
8455
8551
|
expected: "(Array<Message> | undefined)",
|
|
8456
8552
|
value: input.messages
|
|
8457
|
-
})].every(flag => flag); const
|
|
8458
|
-
path: _path + ".snippet",
|
|
8459
|
-
expected: "(__type.o1 | undefined)",
|
|
8460
|
-
value: input.snippet
|
|
8461
|
-
})) && _vo2(input.snippet, _path + ".snippet", true && _exceptionable) || _report(_exceptionable, {
|
|
8462
|
-
path: _path + ".snippet",
|
|
8463
|
-
expected: "(__type.o1 | undefined)",
|
|
8464
|
-
value: input.snippet
|
|
8465
|
-
})].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
8466
|
-
path: _path + ".title",
|
|
8467
|
-
expected: "(string | undefined)",
|
|
8468
|
-
value: input.title
|
|
8469
|
-
}), undefined === input.tags || (Array.isArray(input.tags) || _report(_exceptionable, {
|
|
8470
|
-
path: _path + ".tags",
|
|
8471
|
-
expected: "(Array<string> | undefined)",
|
|
8472
|
-
value: input.tags
|
|
8473
|
-
})) && input.tags.map((elem, _index10) => "string" === typeof elem || _report(_exceptionable, {
|
|
8474
|
-
path: _path + ".tags[" + _index10 + "]",
|
|
8475
|
-
expected: "string",
|
|
8476
|
-
value: elem
|
|
8477
|
-
})).every(flag => flag) || _report(_exceptionable, {
|
|
8478
|
-
path: _path + ".tags",
|
|
8479
|
-
expected: "(Array<string> | undefined)",
|
|
8480
|
-
value: input.tags
|
|
8481
|
-
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
8482
|
-
path: _path + ".description",
|
|
8483
|
-
expected: "(string | undefined)",
|
|
8484
|
-
value: input.description
|
|
8485
|
-
})].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
8553
|
+
})].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
8486
8554
|
path: _path + ".preset",
|
|
8487
8555
|
expected: "(string | undefined)",
|
|
8488
8556
|
value: input.preset
|
|
@@ -8494,7 +8562,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
8494
8562
|
path: _path + ".scene",
|
|
8495
8563
|
expected: "(RenderSceneObject | undefined)",
|
|
8496
8564
|
value: input.scene
|
|
8497
|
-
})) &&
|
|
8565
|
+
})) && _vo3(input.scene, _path + ".scene", true && _exceptionable) || _report(_exceptionable, {
|
|
8498
8566
|
path: _path + ".scene",
|
|
8499
8567
|
expected: "(RenderSceneObject | undefined)",
|
|
8500
8568
|
value: input.scene
|
|
@@ -8502,11 +8570,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
8502
8570
|
path: _path + ".profile",
|
|
8503
8571
|
expected: "(RenderProfileObject | undefined)",
|
|
8504
8572
|
value: input.profile
|
|
8505
|
-
})) &&
|
|
8573
|
+
})) && _vo11(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
8506
8574
|
path: _path + ".profile",
|
|
8507
8575
|
expected: "(RenderProfileObject | undefined)",
|
|
8508
8576
|
value: input.profile
|
|
8509
|
-
})].every(flag => flag); const
|
|
8577
|
+
})].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
8510
8578
|
path: _path + ".id",
|
|
8511
8579
|
expected: "(string | undefined)",
|
|
8512
8580
|
value: input.id
|
|
@@ -8516,11 +8584,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
8516
8584
|
value: input.preset
|
|
8517
8585
|
}), null === input.input || undefined === input.input || ("object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) || _report(_exceptionable, {
|
|
8518
8586
|
path: _path + ".input",
|
|
8519
|
-
expected: "(__type
|
|
8587
|
+
expected: "(__type | null | undefined)",
|
|
8520
8588
|
value: input.input
|
|
8521
|
-
})) &&
|
|
8589
|
+
})) && _vo4(input.input, _path + ".input", true && _exceptionable) || _report(_exceptionable, {
|
|
8522
8590
|
path: _path + ".input",
|
|
8523
|
-
expected: "(__type
|
|
8591
|
+
expected: "(__type | null | undefined)",
|
|
8524
8592
|
value: input.input
|
|
8525
8593
|
}), undefined === input.lang || "string" === typeof input.lang || _report(_exceptionable, {
|
|
8526
8594
|
path: _path + ".lang",
|
|
@@ -8532,19 +8600,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
8532
8600
|
value: input.subtitle
|
|
8533
8601
|
}), undefined === input.subtitleTracks || ("object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) || _report(_exceptionable, {
|
|
8534
8602
|
path: _path + ".subtitleTracks",
|
|
8535
|
-
expected: "(__type.
|
|
8603
|
+
expected: "(__type.o1 | undefined)",
|
|
8536
8604
|
value: input.subtitleTracks
|
|
8537
|
-
})) &&
|
|
8605
|
+
})) && _vo5(input.subtitleTracks, _path + ".subtitleTracks", true && _exceptionable) || _report(_exceptionable, {
|
|
8538
8606
|
path: _path + ".subtitleTracks",
|
|
8539
|
-
expected: "(__type.
|
|
8607
|
+
expected: "(__type.o1 | undefined)",
|
|
8540
8608
|
value: input.subtitleTracks
|
|
8541
8609
|
}), undefined === input.video || ("object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) || _report(_exceptionable, {
|
|
8542
8610
|
path: _path + ".video",
|
|
8543
|
-
expected: "(__type.
|
|
8611
|
+
expected: "(__type.o3 | undefined)",
|
|
8544
8612
|
value: input.video
|
|
8545
|
-
})) &&
|
|
8613
|
+
})) && _vo8(input.video, _path + ".video", true && _exceptionable) || _report(_exceptionable, {
|
|
8546
8614
|
path: _path + ".video",
|
|
8547
|
-
expected: "(__type.
|
|
8615
|
+
expected: "(__type.o3 | undefined)",
|
|
8548
8616
|
value: input.video
|
|
8549
8617
|
}), undefined === input.start || "number" === typeof input.start || _report(_exceptionable, {
|
|
8550
8618
|
path: _path + ".start",
|
|
@@ -8556,13 +8624,13 @@ function _validateDomainRecord(domain, input) {
|
|
|
8556
8624
|
value: input.end
|
|
8557
8625
|
}), undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) || _report(_exceptionable, {
|
|
8558
8626
|
path: _path + ".transcribe",
|
|
8559
|
-
expected: "(__type.
|
|
8627
|
+
expected: "(__type.o5 | undefined)",
|
|
8560
8628
|
value: input.transcribe
|
|
8561
|
-
})) &&
|
|
8629
|
+
})) && _vo10(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
8562
8630
|
path: _path + ".transcribe",
|
|
8563
|
-
expected: "(__type.
|
|
8631
|
+
expected: "(__type.o5 | undefined)",
|
|
8564
8632
|
value: input.transcribe
|
|
8565
|
-
})].every(flag => flag); const
|
|
8633
|
+
})].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
8566
8634
|
path: _path + ".type",
|
|
8567
8635
|
expected: "(string | undefined)",
|
|
8568
8636
|
value: input.type
|
|
@@ -8570,20 +8638,20 @@ function _validateDomainRecord(domain, input) {
|
|
|
8570
8638
|
path: _path + ".file",
|
|
8571
8639
|
expected: "(null | string | undefined)",
|
|
8572
8640
|
value: input.file
|
|
8573
|
-
})].every(flag => flag); const
|
|
8641
|
+
})].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
8574
8642
|
const value = input[key];
|
|
8575
8643
|
if (undefined === value)
|
|
8576
8644
|
return true;
|
|
8577
8645
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
|
8578
8646
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
8579
|
-
expected: "__type.
|
|
8647
|
+
expected: "__type.o2",
|
|
8580
8648
|
value: value
|
|
8581
|
-
})) &&
|
|
8649
|
+
})) && _vo6(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
8582
8650
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
8583
|
-
expected: "__type.
|
|
8651
|
+
expected: "__type.o2",
|
|
8584
8652
|
value: value
|
|
8585
8653
|
});
|
|
8586
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
8654
|
+
}).every(flag => flag)].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => [null === input.style || undefined === input.style || "string" === typeof input.style || _report(_exceptionable, {
|
|
8587
8655
|
path: _path + ".style",
|
|
8588
8656
|
expected: "(null | string | undefined)",
|
|
8589
8657
|
value: input.style
|
|
@@ -8591,11 +8659,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
8591
8659
|
path: _path + ".styleOverrides",
|
|
8592
8660
|
expected: "(SubtitleStyle | undefined)",
|
|
8593
8661
|
value: input.styleOverrides
|
|
8594
|
-
})) &&
|
|
8662
|
+
})) && _vo7(input.styleOverrides, _path + ".styleOverrides", true && _exceptionable) || _report(_exceptionable, {
|
|
8595
8663
|
path: _path + ".styleOverrides",
|
|
8596
8664
|
expected: "(SubtitleStyle | undefined)",
|
|
8597
8665
|
value: input.styleOverrides
|
|
8598
|
-
})].every(flag => flag); const
|
|
8666
|
+
})].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
8599
8667
|
path: _path + ".name",
|
|
8600
8668
|
expected: "(string | undefined)",
|
|
8601
8669
|
value: input.name
|
|
@@ -8687,15 +8755,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
8687
8755
|
path: _path + ".encoding",
|
|
8688
8756
|
expected: "(string | undefined)",
|
|
8689
8757
|
value: input.encoding
|
|
8690
|
-
})].every(flag => flag); const
|
|
8758
|
+
})].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, {
|
|
8691
8759
|
path: _path + ".crop",
|
|
8692
|
-
expected: "(__type.
|
|
8760
|
+
expected: "(__type.o4 | undefined)",
|
|
8693
8761
|
value: input.crop
|
|
8694
|
-
})) &&
|
|
8762
|
+
})) && _vo9(input.crop, _path + ".crop", true && _exceptionable) || _report(_exceptionable, {
|
|
8695
8763
|
path: _path + ".crop",
|
|
8696
|
-
expected: "(__type.
|
|
8764
|
+
expected: "(__type.o4 | undefined)",
|
|
8697
8765
|
value: input.crop
|
|
8698
|
-
})].every(flag => flag); const
|
|
8766
|
+
})].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [undefined === input.x || "number" === typeof input.x || _report(_exceptionable, {
|
|
8699
8767
|
path: _path + ".x",
|
|
8700
8768
|
expected: "(number | undefined)",
|
|
8701
8769
|
value: input.x
|
|
@@ -8711,7 +8779,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
8711
8779
|
path: _path + ".height",
|
|
8712
8780
|
expected: "(number | undefined)",
|
|
8713
8781
|
value: input.height
|
|
8714
|
-
})].every(flag => flag); const
|
|
8782
|
+
})].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => [undefined === input.language || "string" === typeof input.language || _report(_exceptionable, {
|
|
8715
8783
|
path: _path + ".language",
|
|
8716
8784
|
expected: "(string | undefined)",
|
|
8717
8785
|
value: input.language
|
|
@@ -8719,48 +8787,48 @@ function _validateDomainRecord(domain, input) {
|
|
|
8719
8787
|
path: _path + ".pan",
|
|
8720
8788
|
expected: "(Array<number> | undefined)",
|
|
8721
8789
|
value: input.pan
|
|
8722
|
-
})) && input.pan.map((elem,
|
|
8723
|
-
path: _path + ".pan[" +
|
|
8790
|
+
})) && input.pan.map((elem, _index10) => "number" === typeof elem || _report(_exceptionable, {
|
|
8791
|
+
path: _path + ".pan[" + _index10 + "]",
|
|
8724
8792
|
expected: "number",
|
|
8725
8793
|
value: elem
|
|
8726
8794
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
8727
8795
|
path: _path + ".pan",
|
|
8728
8796
|
expected: "(Array<number> | undefined)",
|
|
8729
8797
|
value: input.pan
|
|
8730
|
-
})].every(flag => flag); const
|
|
8798
|
+
})].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => ["string" === typeof input.format || _report(_exceptionable, {
|
|
8731
8799
|
path: _path + ".format",
|
|
8732
8800
|
expected: "string",
|
|
8733
8801
|
value: input.format
|
|
8734
8802
|
}), undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe || _report(_exceptionable, {
|
|
8735
8803
|
path: _path + ".transcribe",
|
|
8736
|
-
expected: "(__type.
|
|
8804
|
+
expected: "(__type.o6 | undefined)",
|
|
8737
8805
|
value: input.transcribe
|
|
8738
|
-
})) &&
|
|
8806
|
+
})) && _vo12(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
8739
8807
|
path: _path + ".transcribe",
|
|
8740
|
-
expected: "(__type.
|
|
8808
|
+
expected: "(__type.o6 | undefined)",
|
|
8741
8809
|
value: input.transcribe
|
|
8742
8810
|
}), undefined === input.translate || ("object" === typeof input.translate && null !== input.translate || _report(_exceptionable, {
|
|
8743
8811
|
path: _path + ".translate",
|
|
8744
|
-
expected: "(__type.
|
|
8812
|
+
expected: "(__type.o7 | undefined)",
|
|
8745
8813
|
value: input.translate
|
|
8746
|
-
})) &&
|
|
8814
|
+
})) && _vo13(input.translate, _path + ".translate", true && _exceptionable) || _report(_exceptionable, {
|
|
8747
8815
|
path: _path + ".translate",
|
|
8748
|
-
expected: "(__type.
|
|
8816
|
+
expected: "(__type.o7 | undefined)",
|
|
8749
8817
|
value: input.translate
|
|
8750
8818
|
}), undefined === input.audio || ("object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) || _report(_exceptionable, {
|
|
8751
8819
|
path: _path + ".audio",
|
|
8752
|
-
expected: "(__type.
|
|
8820
|
+
expected: "(__type.o8 | undefined)",
|
|
8753
8821
|
value: input.audio
|
|
8754
|
-
})) &&
|
|
8822
|
+
})) && _vo14(input.audio, _path + ".audio", true && _exceptionable) || _report(_exceptionable, {
|
|
8755
8823
|
path: _path + ".audio",
|
|
8756
|
-
expected: "(__type.
|
|
8824
|
+
expected: "(__type.o8 | undefined)",
|
|
8757
8825
|
value: input.audio
|
|
8758
8826
|
}), true, undefined === input.pick || (Array.isArray(input.pick) || _report(_exceptionable, {
|
|
8759
8827
|
path: _path + ".pick",
|
|
8760
8828
|
expected: "(Array<string> | undefined)",
|
|
8761
8829
|
value: input.pick
|
|
8762
|
-
})) && input.pick.map((elem,
|
|
8763
|
-
path: _path + ".pick[" +
|
|
8830
|
+
})) && input.pick.map((elem, _index11) => "string" === typeof elem || _report(_exceptionable, {
|
|
8831
|
+
path: _path + ".pick[" + _index11 + "]",
|
|
8764
8832
|
expected: "string",
|
|
8765
8833
|
value: elem
|
|
8766
8834
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -8775,19 +8843,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
8775
8843
|
path: _path + ".subtitle",
|
|
8776
8844
|
expected: "(SubtitleProfile | string | undefined)",
|
|
8777
8845
|
value: input.subtitle
|
|
8778
|
-
})) &&
|
|
8846
|
+
})) && _vo15(input.subtitle, _path + ".subtitle", true && _exceptionable) || _report(_exceptionable, {
|
|
8779
8847
|
path: _path + ".subtitle",
|
|
8780
8848
|
expected: "(SubtitleProfile | string | undefined)",
|
|
8781
8849
|
value: input.subtitle
|
|
8782
|
-
}))].every(flag => flag); const
|
|
8850
|
+
}))].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => ["string" === typeof input.engine || _report(_exceptionable, {
|
|
8783
8851
|
path: _path + ".engine",
|
|
8784
8852
|
expected: "string",
|
|
8785
8853
|
value: input.engine
|
|
8786
|
-
})].every(flag => flag); const
|
|
8854
|
+
})].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => ["string" === typeof input.language || _report(_exceptionable, {
|
|
8787
8855
|
path: _path + ".language",
|
|
8788
8856
|
expected: "string",
|
|
8789
8857
|
value: input.language
|
|
8790
|
-
})].every(flag => flag); const
|
|
8858
|
+
})].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [undefined === input.codec || "string" === typeof input.codec || _report(_exceptionable, {
|
|
8791
8859
|
path: _path + ".codec",
|
|
8792
8860
|
expected: "(string | undefined)",
|
|
8793
8861
|
value: input.codec
|
|
@@ -8803,7 +8871,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
8803
8871
|
path: _path + ".split",
|
|
8804
8872
|
expected: "(boolean | undefined)",
|
|
8805
8873
|
value: input.split
|
|
8806
|
-
})].every(flag => flag); const
|
|
8874
|
+
})].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [undefined === input.lang || "string" === typeof input.lang || _report(_exceptionable, {
|
|
8807
8875
|
path: _path + ".lang",
|
|
8808
8876
|
expected: "(string | undefined)",
|
|
8809
8877
|
value: input.lang
|
|
@@ -8811,16 +8879,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
8811
8879
|
path: _path + ".style",
|
|
8812
8880
|
expected: "(string | undefined)",
|
|
8813
8881
|
value: input.style
|
|
8814
|
-
})].every(flag => flag); const
|
|
8815
|
-
const value = input[key];
|
|
8816
|
-
if (undefined === value)
|
|
8817
|
-
return true;
|
|
8818
|
-
return true;
|
|
8819
|
-
}).every(flag => flag)].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => ["string" === typeof input.method || _report(_exceptionable, {
|
|
8882
|
+
})].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => ["string" === typeof input.method || _report(_exceptionable, {
|
|
8820
8883
|
path: _path + ".method",
|
|
8821
8884
|
expected: "string",
|
|
8822
8885
|
value: input.method
|
|
8823
|
-
})].every(flag => flag); const
|
|
8886
|
+
})].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => ["number" === typeof input.level || _report(_exceptionable, {
|
|
8824
8887
|
path: _path + ".level",
|
|
8825
8888
|
expected: "number",
|
|
8826
8889
|
value: input.level
|
|
@@ -8832,79 +8895,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
8832
8895
|
path: _path + ".msg",
|
|
8833
8896
|
expected: "string",
|
|
8834
8897
|
value: input.msg
|
|
8835
|
-
})].every(flag => flag); const
|
|
8836
|
-
path: _path + ".pageId",
|
|
8837
|
-
expected: "(string | undefined)",
|
|
8838
|
-
value: input.pageId
|
|
8839
|
-
}), "facebook" === input.type || _report(_exceptionable, {
|
|
8898
|
+
})].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => ["file" === input.type || _report(_exceptionable, {
|
|
8840
8899
|
path: _path + ".type",
|
|
8841
|
-
expected: "\"
|
|
8900
|
+
expected: "\"file\"",
|
|
8842
8901
|
value: input.type
|
|
8843
|
-
}),
|
|
8844
|
-
path: _path + ".asset",
|
|
8845
|
-
expected: "(null | string | undefined)",
|
|
8846
|
-
value: input.asset
|
|
8847
|
-
}), undefined === input.connection || "string" === typeof input.connection || _report(_exceptionable, {
|
|
8848
|
-
path: _path + ".connection",
|
|
8849
|
-
expected: "(string | undefined)",
|
|
8850
|
-
value: input.connection
|
|
8851
|
-
}), undefined === input.render || ("object" === typeof input.render && null !== input.render || _report(_exceptionable, {
|
|
8852
|
-
path: _path + ".render",
|
|
8853
|
-
expected: "(PublishRender | undefined)",
|
|
8854
|
-
value: input.render
|
|
8855
|
-
})) && _vo3(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
8856
|
-
path: _path + ".render",
|
|
8857
|
-
expected: "(PublishRender | undefined)",
|
|
8858
|
-
value: input.render
|
|
8859
|
-
}), undefined === input.draft || ("object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) || _report(_exceptionable, {
|
|
8860
|
-
path: _path + ".draft",
|
|
8861
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
8862
|
-
value: input.draft
|
|
8863
|
-
})) && _vo17(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
8864
|
-
path: _path + ".draft",
|
|
8865
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
8866
|
-
value: input.draft
|
|
8867
|
-
}), undefined === input.published || ("object" === typeof input.published && null !== input.published && false === Array.isArray(input.published) || _report(_exceptionable, {
|
|
8868
|
-
path: _path + ".published",
|
|
8869
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
8870
|
-
value: input.published
|
|
8871
|
-
})) && _vo17(input.published, _path + ".published", true && _exceptionable) || _report(_exceptionable, {
|
|
8872
|
-
path: _path + ".published",
|
|
8873
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
8874
|
-
value: input.published
|
|
8875
|
-
}), undefined === input.remote || ("object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) || _report(_exceptionable, {
|
|
8876
|
-
path: _path + ".remote",
|
|
8877
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
8878
|
-
value: input.remote
|
|
8879
|
-
})) && _vo17(input.remote, _path + ".remote", true && _exceptionable) || _report(_exceptionable, {
|
|
8880
|
-
path: _path + ".remote",
|
|
8881
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
8882
|
-
value: input.remote
|
|
8883
|
-
}), null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
8884
|
-
path: _path + ".error",
|
|
8885
|
-
expected: "(__type.o11 | null | undefined)",
|
|
8886
|
-
value: input.error
|
|
8887
|
-
})) && _vo18(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
8888
|
-
path: _path + ".error",
|
|
8889
|
-
expected: "(__type.o11 | null | undefined)",
|
|
8890
|
-
value: input.error
|
|
8891
|
-
}), undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
8892
|
-
path: _path + ".messages",
|
|
8893
|
-
expected: "(Array<Message> | undefined)",
|
|
8894
|
-
value: input.messages
|
|
8895
|
-
})) && input.messages.map((elem, _index13) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
8896
|
-
path: _path + ".messages[" + _index13 + "]",
|
|
8897
|
-
expected: "Message",
|
|
8898
|
-
value: elem
|
|
8899
|
-
})) && _vo19(elem, _path + ".messages[" + _index13 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
8900
|
-
path: _path + ".messages[" + _index13 + "]",
|
|
8901
|
-
expected: "Message",
|
|
8902
|
-
value: elem
|
|
8903
|
-
})).every(flag => flag) || _report(_exceptionable, {
|
|
8904
|
-
path: _path + ".messages",
|
|
8905
|
-
expected: "(Array<Message> | undefined)",
|
|
8906
|
-
value: input.messages
|
|
8907
|
-
})].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
8902
|
+
}), undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
8908
8903
|
path: _path + ".directory",
|
|
8909
8904
|
expected: "(string | undefined)",
|
|
8910
8905
|
value: input.directory
|
|
@@ -8916,7 +8911,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
8916
8911
|
path: _path + ".renders",
|
|
8917
8912
|
expected: "(Record<string, FilePublishRender> | undefined)",
|
|
8918
8913
|
value: input.renders
|
|
8919
|
-
})) &&
|
|
8914
|
+
})) && _vo19(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
8920
8915
|
path: _path + ".renders",
|
|
8921
8916
|
expected: "(Record<string, FilePublishRender> | undefined)",
|
|
8922
8917
|
value: input.renders
|
|
@@ -8924,7 +8919,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
8924
8919
|
path: _path + ".draft",
|
|
8925
8920
|
expected: "(FilePublishDraft | undefined)",
|
|
8926
8921
|
value: input.draft
|
|
8927
|
-
})) &&
|
|
8922
|
+
})) && _vo23(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
8928
8923
|
path: _path + ".draft",
|
|
8929
8924
|
expected: "(FilePublishDraft | undefined)",
|
|
8930
8925
|
value: input.draft
|
|
@@ -8932,7 +8927,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
8932
8927
|
path: _path + ".remote",
|
|
8933
8928
|
expected: "(FilePublishRemote | undefined)",
|
|
8934
8929
|
value: input.remote
|
|
8935
|
-
})) &&
|
|
8930
|
+
})) && _vo24(input.remote, _path + ".remote", true && _exceptionable) || _report(_exceptionable, {
|
|
8936
8931
|
path: _path + ".remote",
|
|
8937
8932
|
expected: "(FilePublishRemote | undefined)",
|
|
8938
8933
|
value: input.remote
|
|
@@ -8940,14 +8935,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
8940
8935
|
path: _path + ".published",
|
|
8941
8936
|
expected: "(FilePublishPublished | undefined)",
|
|
8942
8937
|
value: input.published
|
|
8943
|
-
})) &&
|
|
8938
|
+
})) && _vo27(input.published, _path + ".published", true && _exceptionable) || _report(_exceptionable, {
|
|
8944
8939
|
path: _path + ".published",
|
|
8945
8940
|
expected: "(FilePublishPublished | undefined)",
|
|
8946
8941
|
value: input.published
|
|
8947
|
-
}), "file" === input.type || _report(_exceptionable, {
|
|
8948
|
-
path: _path + ".type",
|
|
8949
|
-
expected: "\"file\"",
|
|
8950
|
-
value: input.type
|
|
8951
8942
|
}), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
|
|
8952
8943
|
path: _path + ".asset",
|
|
8953
8944
|
expected: "(null | string | undefined)",
|
|
@@ -8958,62 +8949,58 @@ function _validateDomainRecord(domain, input) {
|
|
|
8958
8949
|
value: input.connection
|
|
8959
8950
|
}), undefined === input.render || ("object" === typeof input.render && null !== input.render || _report(_exceptionable, {
|
|
8960
8951
|
path: _path + ".render",
|
|
8961
|
-
expected: "(
|
|
8952
|
+
expected: "(PublishRenderBase | undefined)",
|
|
8962
8953
|
value: input.render
|
|
8963
|
-
})) &&
|
|
8954
|
+
})) && _vo2(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
8964
8955
|
path: _path + ".render",
|
|
8965
|
-
expected: "(
|
|
8956
|
+
expected: "(PublishRenderBase | undefined)",
|
|
8966
8957
|
value: input.render
|
|
8967
8958
|
}), null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
8968
8959
|
path: _path + ".error",
|
|
8969
|
-
expected: "(__type.
|
|
8960
|
+
expected: "(__type.o9 | null | undefined)",
|
|
8970
8961
|
value: input.error
|
|
8971
|
-
})) &&
|
|
8962
|
+
})) && _vo16(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
8972
8963
|
path: _path + ".error",
|
|
8973
|
-
expected: "(__type.
|
|
8964
|
+
expected: "(__type.o9 | null | undefined)",
|
|
8974
8965
|
value: input.error
|
|
8975
8966
|
}), undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
8976
8967
|
path: _path + ".messages",
|
|
8977
8968
|
expected: "(Array<Message> | undefined)",
|
|
8978
8969
|
value: input.messages
|
|
8979
|
-
})) && input.messages.map((elem,
|
|
8980
|
-
path: _path + ".messages[" +
|
|
8970
|
+
})) && input.messages.map((elem, _index12) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
8971
|
+
path: _path + ".messages[" + _index12 + "]",
|
|
8981
8972
|
expected: "Message",
|
|
8982
8973
|
value: elem
|
|
8983
|
-
})) &&
|
|
8984
|
-
path: _path + ".messages[" +
|
|
8974
|
+
})) && _vo17(elem, _path + ".messages[" + _index12 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
8975
|
+
path: _path + ".messages[" + _index12 + "]",
|
|
8985
8976
|
expected: "Message",
|
|
8986
8977
|
value: elem
|
|
8987
8978
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
8988
8979
|
path: _path + ".messages",
|
|
8989
8980
|
expected: "(Array<Message> | undefined)",
|
|
8990
8981
|
value: input.messages
|
|
8991
|
-
})].every(flag => flag); const
|
|
8982
|
+
})].every(flag => flag); const _vo19 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
8992
8983
|
const value = input[key];
|
|
8993
8984
|
if (undefined === value)
|
|
8994
8985
|
return true;
|
|
8995
8986
|
return (null !== value || _report(_exceptionable, {
|
|
8996
8987
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
8997
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
8988
|
+
expected: "(ResolvedFilePublishRender | __type.o10 | string)",
|
|
8998
8989
|
value: value
|
|
8999
8990
|
})) && (undefined !== value || _report(_exceptionable, {
|
|
9000
8991
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9001
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
8992
|
+
expected: "(ResolvedFilePublishRender | __type.o10 | string)",
|
|
9002
8993
|
value: value
|
|
9003
8994
|
})) && ("string" === typeof value || ("object" === typeof value && null !== value || _report(_exceptionable, {
|
|
9004
8995
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9005
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
8996
|
+
expected: "(ResolvedFilePublishRender | __type.o10 | string)",
|
|
9006
8997
|
value: value
|
|
9007
8998
|
})) && _vu0(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
9008
8999
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9009
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
9000
|
+
expected: "(ResolvedFilePublishRender | __type.o10 | string)",
|
|
9010
9001
|
value: value
|
|
9011
9002
|
}));
|
|
9012
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
9013
|
-
path: _path + ".preset",
|
|
9014
|
-
expected: "(string | undefined)",
|
|
9015
|
-
value: input.preset
|
|
9016
|
-
}), undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
9003
|
+
}).every(flag => flag)].every(flag => flag); const _vo20 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
9017
9004
|
path: _path + ".name",
|
|
9018
9005
|
expected: "(string | undefined)",
|
|
9019
9006
|
value: input.name
|
|
@@ -9029,6 +9016,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
9029
9016
|
path: _path + ".ignoreEmptyScene",
|
|
9030
9017
|
expected: "(boolean | undefined)",
|
|
9031
9018
|
value: input.ignoreEmptyScene
|
|
9019
|
+
}), undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
9020
|
+
path: _path + ".preset",
|
|
9021
|
+
expected: "(string | undefined)",
|
|
9022
|
+
value: input.preset
|
|
9032
9023
|
}), "string" === typeof input.type || _report(_exceptionable, {
|
|
9033
9024
|
path: _path + ".type",
|
|
9034
9025
|
expected: "string",
|
|
@@ -9037,7 +9028,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9037
9028
|
path: _path + ".scene",
|
|
9038
9029
|
expected: "(RenderSceneObject | undefined)",
|
|
9039
9030
|
value: input.scene
|
|
9040
|
-
})) &&
|
|
9031
|
+
})) && _vo3(input.scene, _path + ".scene", true && _exceptionable) || _report(_exceptionable, {
|
|
9041
9032
|
path: _path + ".scene",
|
|
9042
9033
|
expected: "(RenderSceneObject | undefined)",
|
|
9043
9034
|
value: input.scene
|
|
@@ -9045,31 +9036,31 @@ function _validateDomainRecord(domain, input) {
|
|
|
9045
9036
|
path: _path + ".profile",
|
|
9046
9037
|
expected: "(RenderProfileObject | undefined)",
|
|
9047
9038
|
value: input.profile
|
|
9048
|
-
})) &&
|
|
9039
|
+
})) && _vo11(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
9049
9040
|
path: _path + ".profile",
|
|
9050
9041
|
expected: "(RenderProfileObject | undefined)",
|
|
9051
9042
|
value: input.profile
|
|
9052
|
-
})].every(flag => flag); const
|
|
9043
|
+
})].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
9053
9044
|
path: _path + ".__context",
|
|
9054
|
-
expected: "__type.
|
|
9045
|
+
expected: "__type.o11",
|
|
9055
9046
|
value: input.__context
|
|
9056
|
-
})) &&
|
|
9047
|
+
})) && _vo22(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
9057
9048
|
path: _path + ".__context",
|
|
9058
|
-
expected: "__type.
|
|
9049
|
+
expected: "__type.o11",
|
|
9059
9050
|
value: input.__context
|
|
9060
9051
|
}), ("object" === typeof input.__returnValue && null !== input.__returnValue || _report(_exceptionable, {
|
|
9061
9052
|
path: _path + ".__returnValue",
|
|
9062
9053
|
expected: "ResolvedFilePublishRender",
|
|
9063
9054
|
value: input.__returnValue
|
|
9064
|
-
})) &&
|
|
9055
|
+
})) && _vo20(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
9065
9056
|
path: _path + ".__returnValue",
|
|
9066
9057
|
expected: "ResolvedFilePublishRender",
|
|
9067
9058
|
value: input.__returnValue
|
|
9068
|
-
})].every(flag => flag); const
|
|
9059
|
+
})].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => [("object" === typeof input.publish && null !== input.publish || _report(_exceptionable, {
|
|
9069
9060
|
path: _path + ".publish",
|
|
9070
9061
|
expected: "FilePublishRecord",
|
|
9071
9062
|
value: input.publish
|
|
9072
|
-
})) &&
|
|
9063
|
+
})) && _vo18(input.publish, _path + ".publish", true && _exceptionable) || _report(_exceptionable, {
|
|
9073
9064
|
path: _path + ".publish",
|
|
9074
9065
|
expected: "FilePublishRecord",
|
|
9075
9066
|
value: input.publish
|
|
@@ -9081,7 +9072,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9081
9072
|
path: _path + ".name",
|
|
9082
9073
|
expected: "string",
|
|
9083
9074
|
value: input.name
|
|
9084
|
-
})].every(flag => flag); const
|
|
9075
|
+
})].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
9085
9076
|
path: _path + ".directory",
|
|
9086
9077
|
expected: "(string | undefined)",
|
|
9087
9078
|
value: input.directory
|
|
@@ -9089,14 +9080,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9089
9080
|
path: _path + ".filename",
|
|
9090
9081
|
expected: "(string | undefined)",
|
|
9091
9082
|
value: input.filename
|
|
9092
|
-
}),
|
|
9093
|
-
if (["directory", "filename"].some(prop => key === prop))
|
|
9094
|
-
return true;
|
|
9095
|
-
const value = input[key];
|
|
9096
|
-
if (undefined === value)
|
|
9097
|
-
return true;
|
|
9098
|
-
return true;
|
|
9099
|
-
}).every(flag => flag)].every(flag => flag); const _vo27 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
9083
|
+
})].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
9100
9084
|
path: _path + ".directory",
|
|
9101
9085
|
expected: "(string | undefined)",
|
|
9102
9086
|
value: input.directory
|
|
@@ -9108,18 +9092,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
9108
9092
|
path: _path + ".renders",
|
|
9109
9093
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
9110
9094
|
value: input.renders
|
|
9111
|
-
})) &&
|
|
9095
|
+
})) && _vo25(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
9112
9096
|
path: _path + ".renders",
|
|
9113
9097
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
9114
9098
|
value: input.renders
|
|
9115
|
-
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
9116
|
-
if (["directory", "filename", "renders"].some(prop => key === prop))
|
|
9117
|
-
return true;
|
|
9118
|
-
const value = input[key];
|
|
9119
|
-
if (undefined === value)
|
|
9120
|
-
return true;
|
|
9121
|
-
return true;
|
|
9122
|
-
}).every(flag => flag)].every(flag => flag); const _vo28 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
9099
|
+
})].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
9123
9100
|
const value = input[key];
|
|
9124
9101
|
if (undefined === value)
|
|
9125
9102
|
return true;
|
|
@@ -9127,12 +9104,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
9127
9104
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9128
9105
|
expected: "FilePublishRemoteRender",
|
|
9129
9106
|
value: value
|
|
9130
|
-
})) &&
|
|
9107
|
+
})) && _vo26(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
9131
9108
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9132
9109
|
expected: "FilePublishRemoteRender",
|
|
9133
9110
|
value: value
|
|
9134
9111
|
});
|
|
9135
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
9112
|
+
}).every(flag => flag)].every(flag => flag); const _vo26 = (input, _path, _exceptionable = true) => [undefined === input.path || "string" === typeof input.path || _report(_exceptionable, {
|
|
9136
9113
|
path: _path + ".path",
|
|
9137
9114
|
expected: "(string | undefined)",
|
|
9138
9115
|
value: input.path
|
|
@@ -9140,12 +9117,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
9140
9117
|
path: _path + ".messages",
|
|
9141
9118
|
expected: "(Array<Message> | undefined)",
|
|
9142
9119
|
value: input.messages
|
|
9143
|
-
})) && input.messages.map((elem,
|
|
9144
|
-
path: _path + ".messages[" +
|
|
9120
|
+
})) && input.messages.map((elem, _index13) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
9121
|
+
path: _path + ".messages[" + _index13 + "]",
|
|
9145
9122
|
expected: "Message",
|
|
9146
9123
|
value: elem
|
|
9147
|
-
})) &&
|
|
9148
|
-
path: _path + ".messages[" +
|
|
9124
|
+
})) && _vo17(elem, _path + ".messages[" + _index13 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
9125
|
+
path: _path + ".messages[" + _index13 + "]",
|
|
9149
9126
|
expected: "Message",
|
|
9150
9127
|
value: elem
|
|
9151
9128
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -9164,7 +9141,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9164
9141
|
path: _path + ".source",
|
|
9165
9142
|
expected: "(string | undefined)",
|
|
9166
9143
|
value: input.source
|
|
9167
|
-
})].every(flag => flag); const
|
|
9144
|
+
})].every(flag => flag); const _vo27 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
9168
9145
|
path: _path + ".directory",
|
|
9169
9146
|
expected: "(string | undefined)",
|
|
9170
9147
|
value: input.directory
|
|
@@ -9172,14 +9149,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
9172
9149
|
path: _path + ".filename",
|
|
9173
9150
|
expected: "string",
|
|
9174
9151
|
value: input.filename
|
|
9175
|
-
})
|
|
9176
|
-
|
|
9177
|
-
|
|
9178
|
-
|
|
9179
|
-
|
|
9180
|
-
return true;
|
|
9181
|
-
return true;
|
|
9182
|
-
}).every(flag => flag)].every(flag => flag); const _vo31 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
9152
|
+
})].every(flag => flag); const _vo28 = (input, _path, _exceptionable = true) => ["file" === input.type || _report(_exceptionable, {
|
|
9153
|
+
path: _path + ".type",
|
|
9154
|
+
expected: "\"file\"",
|
|
9155
|
+
value: input.type
|
|
9156
|
+
}), undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
9183
9157
|
path: _path + ".directory",
|
|
9184
9158
|
expected: "(string | undefined)",
|
|
9185
9159
|
value: input.directory
|
|
@@ -9191,7 +9165,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9191
9165
|
path: _path + ".draft",
|
|
9192
9166
|
expected: "(FilePublishDraft | undefined)",
|
|
9193
9167
|
value: input.draft
|
|
9194
|
-
})) &&
|
|
9168
|
+
})) && _vo23(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
9195
9169
|
path: _path + ".draft",
|
|
9196
9170
|
expected: "(FilePublishDraft | undefined)",
|
|
9197
9171
|
value: input.draft
|
|
@@ -9199,7 +9173,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9199
9173
|
path: _path + ".remote",
|
|
9200
9174
|
expected: "(FilePublishRemoteLegacy | undefined)",
|
|
9201
9175
|
value: input.remote
|
|
9202
|
-
})) &&
|
|
9176
|
+
})) && _vo29(input.remote, _path + ".remote", true && _exceptionable) || _report(_exceptionable, {
|
|
9203
9177
|
path: _path + ".remote",
|
|
9204
9178
|
expected: "(FilePublishRemoteLegacy | undefined)",
|
|
9205
9179
|
value: input.remote
|
|
@@ -9207,7 +9181,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9207
9181
|
path: _path + ".published",
|
|
9208
9182
|
expected: "(FilePublishPublished | undefined)",
|
|
9209
9183
|
value: input.published
|
|
9210
|
-
})) &&
|
|
9184
|
+
})) && _vo27(input.published, _path + ".published", true && _exceptionable) || _report(_exceptionable, {
|
|
9211
9185
|
path: _path + ".published",
|
|
9212
9186
|
expected: "(FilePublishPublished | undefined)",
|
|
9213
9187
|
value: input.published
|
|
@@ -9219,11 +9193,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9219
9193
|
path: _path + ".renders",
|
|
9220
9194
|
expected: "undefined",
|
|
9221
9195
|
value: input.renders
|
|
9222
|
-
})), "
|
|
9223
|
-
path: _path + ".type",
|
|
9224
|
-
expected: "\"file\"",
|
|
9225
|
-
value: input.type
|
|
9226
|
-
}), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
|
|
9196
|
+
})), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
|
|
9227
9197
|
path: _path + ".asset",
|
|
9228
9198
|
expected: "(null | string | undefined)",
|
|
9229
9199
|
value: input.asset
|
|
@@ -9233,37 +9203,37 @@ function _validateDomainRecord(domain, input) {
|
|
|
9233
9203
|
value: input.connection
|
|
9234
9204
|
}), undefined === input.render || ("object" === typeof input.render && null !== input.render || _report(_exceptionable, {
|
|
9235
9205
|
path: _path + ".render",
|
|
9236
|
-
expected: "(
|
|
9206
|
+
expected: "(PublishRenderBase | undefined)",
|
|
9237
9207
|
value: input.render
|
|
9238
|
-
})) &&
|
|
9208
|
+
})) && _vo2(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
9239
9209
|
path: _path + ".render",
|
|
9240
|
-
expected: "(
|
|
9210
|
+
expected: "(PublishRenderBase | undefined)",
|
|
9241
9211
|
value: input.render
|
|
9242
9212
|
}), null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
9243
9213
|
path: _path + ".error",
|
|
9244
|
-
expected: "(__type.
|
|
9214
|
+
expected: "(__type.o9 | null | undefined)",
|
|
9245
9215
|
value: input.error
|
|
9246
|
-
})) &&
|
|
9216
|
+
})) && _vo16(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
9247
9217
|
path: _path + ".error",
|
|
9248
|
-
expected: "(__type.
|
|
9218
|
+
expected: "(__type.o9 | null | undefined)",
|
|
9249
9219
|
value: input.error
|
|
9250
9220
|
}), undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
9251
9221
|
path: _path + ".messages",
|
|
9252
9222
|
expected: "(Array<Message> | undefined)",
|
|
9253
9223
|
value: input.messages
|
|
9254
|
-
})) && input.messages.map((elem,
|
|
9255
|
-
path: _path + ".messages[" +
|
|
9224
|
+
})) && input.messages.map((elem, _index14) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
9225
|
+
path: _path + ".messages[" + _index14 + "]",
|
|
9256
9226
|
expected: "Message",
|
|
9257
9227
|
value: elem
|
|
9258
|
-
})) &&
|
|
9259
|
-
path: _path + ".messages[" +
|
|
9228
|
+
})) && _vo17(elem, _path + ".messages[" + _index14 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
9229
|
+
path: _path + ".messages[" + _index14 + "]",
|
|
9260
9230
|
expected: "Message",
|
|
9261
9231
|
value: elem
|
|
9262
9232
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
9263
9233
|
path: _path + ".messages",
|
|
9264
9234
|
expected: "(Array<Message> | undefined)",
|
|
9265
9235
|
value: input.messages
|
|
9266
|
-
})].every(flag => flag); const
|
|
9236
|
+
})].every(flag => flag); const _vo29 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
9267
9237
|
path: _path + ".id",
|
|
9268
9238
|
expected: "(string | undefined)",
|
|
9269
9239
|
value: input.id
|
|
@@ -9281,19 +9251,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
9281
9251
|
value: input.directory
|
|
9282
9252
|
}), undefined === input.subtitle || ("object" === typeof input.subtitle && null !== input.subtitle || _report(_exceptionable, {
|
|
9283
9253
|
path: _path + ".subtitle",
|
|
9284
|
-
expected: "(__type.
|
|
9254
|
+
expected: "(__type.o12 | undefined)",
|
|
9285
9255
|
value: input.subtitle
|
|
9286
|
-
})) &&
|
|
9256
|
+
})) && _vo30(input.subtitle, _path + ".subtitle", true && _exceptionable) || _report(_exceptionable, {
|
|
9287
9257
|
path: _path + ".subtitle",
|
|
9288
|
-
expected: "(__type.
|
|
9258
|
+
expected: "(__type.o12 | undefined)",
|
|
9289
9259
|
value: input.subtitle
|
|
9290
9260
|
}), undefined === input.metafile || ("object" === typeof input.metafile && null !== input.metafile || _report(_exceptionable, {
|
|
9291
9261
|
path: _path + ".metafile",
|
|
9292
|
-
expected: "(__type.
|
|
9262
|
+
expected: "(__type.o13 | undefined)",
|
|
9293
9263
|
value: input.metafile
|
|
9294
|
-
})) &&
|
|
9264
|
+
})) && _vo31(input.metafile, _path + ".metafile", true && _exceptionable) || _report(_exceptionable, {
|
|
9295
9265
|
path: _path + ".metafile",
|
|
9296
|
-
expected: "(__type.
|
|
9266
|
+
expected: "(__type.o13 | undefined)",
|
|
9297
9267
|
value: input.metafile
|
|
9298
9268
|
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
9299
9269
|
if (["id", "path", "filename", "directory", "subtitle", "metafile"].some(prop => key === prop))
|
|
@@ -9302,46 +9272,114 @@ function _validateDomainRecord(domain, input) {
|
|
|
9302
9272
|
if (undefined === value)
|
|
9303
9273
|
return true;
|
|
9304
9274
|
return true;
|
|
9305
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
9275
|
+
}).every(flag => flag)].every(flag => flag); const _vo30 = (input, _path, _exceptionable = true) => ["string" === typeof input.path || _report(_exceptionable, {
|
|
9306
9276
|
path: _path + ".path",
|
|
9307
9277
|
expected: "string",
|
|
9308
9278
|
value: input.path
|
|
9309
|
-
})].every(flag => flag); const
|
|
9279
|
+
})].every(flag => flag); const _vo31 = (input, _path, _exceptionable = true) => ["string" === typeof input.path || _report(_exceptionable, {
|
|
9310
9280
|
path: _path + ".path",
|
|
9311
9281
|
expected: "string",
|
|
9312
9282
|
value: input.path
|
|
9313
|
-
})].every(flag => flag); const
|
|
9314
|
-
path: _path + ".type",
|
|
9315
|
-
expected: "null",
|
|
9316
|
-
value: input.type
|
|
9317
|
-
})) && (null === input.type || _report(_exceptionable, {
|
|
9283
|
+
})].every(flag => flag); const _vo32 = (input, _path, _exceptionable = true) => ["youtube" === input.type || _report(_exceptionable, {
|
|
9318
9284
|
path: _path + ".type",
|
|
9319
|
-
expected: "
|
|
9285
|
+
expected: "\"youtube\"",
|
|
9320
9286
|
value: input.type
|
|
9321
|
-
})
|
|
9287
|
+
}), undefined === input.draft || ("object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) || _report(_exceptionable, {
|
|
9288
|
+
path: _path + ".draft",
|
|
9289
|
+
expected: "(__type.o14 | undefined)",
|
|
9290
|
+
value: input.draft
|
|
9291
|
+
})) && _vo33(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
9292
|
+
path: _path + ".draft",
|
|
9293
|
+
expected: "(__type.o14 | undefined)",
|
|
9294
|
+
value: input.draft
|
|
9295
|
+
}), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
|
|
9322
9296
|
path: _path + ".asset",
|
|
9323
9297
|
expected: "(null | string | undefined)",
|
|
9324
9298
|
value: input.asset
|
|
9299
|
+
}), undefined === input.connection || "string" === typeof input.connection || _report(_exceptionable, {
|
|
9300
|
+
path: _path + ".connection",
|
|
9301
|
+
expected: "(string | undefined)",
|
|
9302
|
+
value: input.connection
|
|
9303
|
+
}), undefined === input.render || ("object" === typeof input.render && null !== input.render || _report(_exceptionable, {
|
|
9304
|
+
path: _path + ".render",
|
|
9305
|
+
expected: "(PublishRenderBase | undefined)",
|
|
9306
|
+
value: input.render
|
|
9307
|
+
})) && _vo2(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
9308
|
+
path: _path + ".render",
|
|
9309
|
+
expected: "(PublishRenderBase | undefined)",
|
|
9310
|
+
value: input.render
|
|
9311
|
+
}), true, true, null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
9312
|
+
path: _path + ".error",
|
|
9313
|
+
expected: "(__type.o9 | null | undefined)",
|
|
9314
|
+
value: input.error
|
|
9315
|
+
})) && _vo16(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
9316
|
+
path: _path + ".error",
|
|
9317
|
+
expected: "(__type.o9 | null | undefined)",
|
|
9318
|
+
value: input.error
|
|
9319
|
+
}), undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
9320
|
+
path: _path + ".messages",
|
|
9321
|
+
expected: "(Array<Message> | undefined)",
|
|
9322
|
+
value: input.messages
|
|
9323
|
+
})) && input.messages.map((elem, _index15) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
9324
|
+
path: _path + ".messages[" + _index15 + "]",
|
|
9325
|
+
expected: "Message",
|
|
9326
|
+
value: elem
|
|
9327
|
+
})) && _vo17(elem, _path + ".messages[" + _index15 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
9328
|
+
path: _path + ".messages[" + _index15 + "]",
|
|
9329
|
+
expected: "Message",
|
|
9330
|
+
value: elem
|
|
9331
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
9332
|
+
path: _path + ".messages",
|
|
9333
|
+
expected: "(Array<Message> | undefined)",
|
|
9334
|
+
value: input.messages
|
|
9335
|
+
})].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, {
|
|
9336
|
+
path: _path + ".snippet",
|
|
9337
|
+
expected: "(__type.o15 | undefined)",
|
|
9338
|
+
value: input.snippet
|
|
9339
|
+
})) && _vo34(input.snippet, _path + ".snippet", true && _exceptionable) || _report(_exceptionable, {
|
|
9340
|
+
path: _path + ".snippet",
|
|
9341
|
+
expected: "(__type.o15 | undefined)",
|
|
9342
|
+
value: input.snippet
|
|
9343
|
+
})].every(flag => flag); const _vo34 = (input, _path, _exceptionable = true) => [undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
9344
|
+
path: _path + ".title",
|
|
9345
|
+
expected: "(string | undefined)",
|
|
9346
|
+
value: input.title
|
|
9347
|
+
}), undefined === input.tags || (Array.isArray(input.tags) || _report(_exceptionable, {
|
|
9348
|
+
path: _path + ".tags",
|
|
9349
|
+
expected: "(Array<string> | undefined)",
|
|
9350
|
+
value: input.tags
|
|
9351
|
+
})) && input.tags.map((elem, _index16) => "string" === typeof elem || _report(_exceptionable, {
|
|
9352
|
+
path: _path + ".tags[" + _index16 + "]",
|
|
9353
|
+
expected: "string",
|
|
9354
|
+
value: elem
|
|
9355
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
9356
|
+
path: _path + ".tags",
|
|
9357
|
+
expected: "(Array<string> | undefined)",
|
|
9358
|
+
value: input.tags
|
|
9359
|
+
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
9360
|
+
path: _path + ".description",
|
|
9361
|
+
expected: "(string | undefined)",
|
|
9362
|
+
value: input.description
|
|
9325
9363
|
})].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
9326
9364
|
if (undefined !== input.path)
|
|
9327
|
-
return
|
|
9365
|
+
return _vo20(input, _path, true && _exceptionable);
|
|
9328
9366
|
else if (undefined !== input.__context)
|
|
9329
|
-
return
|
|
9367
|
+
return _vo21(input, _path, true && _exceptionable);
|
|
9330
9368
|
else
|
|
9331
9369
|
return _report(_exceptionable, {
|
|
9332
9370
|
path: _path,
|
|
9333
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
9371
|
+
expected: "(ResolvedFilePublishRender | __type.o10)",
|
|
9334
9372
|
value: input
|
|
9335
9373
|
});
|
|
9336
9374
|
})(); const _vu1 = (input, _path, _exceptionable = true) => (() => {
|
|
9337
|
-
if (
|
|
9375
|
+
if (undefined !== input.type && null === input.type)
|
|
9338
9376
|
return _vo0(input, _path, true && _exceptionable);
|
|
9339
9377
|
else if ("facebook" === input.type)
|
|
9340
|
-
return
|
|
9341
|
-
else if (
|
|
9342
|
-
return
|
|
9378
|
+
return _vo1(input, _path, true && _exceptionable);
|
|
9379
|
+
else if ("youtube" === input.type)
|
|
9380
|
+
return _vo32(input, _path, true && _exceptionable);
|
|
9343
9381
|
else
|
|
9344
|
-
return
|
|
9382
|
+
return _vo28(input, _path, false && _exceptionable) || _vo18(input, _path, false && _exceptionable);
|
|
9345
9383
|
})(); const __is = input => "object" === typeof input && null !== input && _iu1(input); let errors; let _report; return input => {
|
|
9346
9384
|
if (false === __is(input)) {
|
|
9347
9385
|
errors = [];
|
|
@@ -9372,78 +9410,38 @@ function _validateDomainRecord(domain, input) {
|
|
|
9372
9410
|
}; })()(input);
|
|
9373
9411
|
}
|
|
9374
9412
|
case ":publish.stats?": {
|
|
9375
|
-
return (() => { const _io0 = input => (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 => "object" === typeof elem && null !== elem && _io1(elem))) && (undefined === input.retrieved || "object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) &&
|
|
9413
|
+
return (() => { const _io0 = input => (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 => "object" === typeof elem && null !== elem && _io1(elem))) && true && true; const _io1 = input => "number" === typeof input.level && "string" === typeof input.code && "string" === typeof input.msg; const _io2 = input => (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 => "object" === typeof elem && null !== elem && _io1(elem))) && true && true; const _io3 = input => (undefined === input.retrieved || "object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) && _io4(input.retrieved)) && (undefined === input.defaults || "object" === typeof input.defaults && null !== input.defaults && _io7(input.defaults)) && (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 => "object" === typeof elem && null !== elem && _io1(elem))); const _io4 = input => (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)); const _io5 = input => Object.keys(input).every(key => {
|
|
9376
9414
|
const value = input[key];
|
|
9377
9415
|
if (undefined === value)
|
|
9378
9416
|
return true;
|
|
9379
|
-
return
|
|
9380
|
-
}); const
|
|
9381
|
-
if (["filename", "directory", "renders"].some(prop => key === prop))
|
|
9382
|
-
return true;
|
|
9383
|
-
const value = input[key];
|
|
9384
|
-
if (undefined === value)
|
|
9385
|
-
return true;
|
|
9386
|
-
return true;
|
|
9387
|
-
}); const _io6 = input => Object.keys(input).every(key => {
|
|
9388
|
-
const value = input[key];
|
|
9389
|
-
if (undefined === value)
|
|
9390
|
-
return true;
|
|
9391
|
-
return "object" === typeof value && null !== value && _io7(value);
|
|
9392
|
-
}); const _io7 = input => "string" === typeof input.path && (undefined === input.size || "number" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash); const _io8 = input => "string" === typeof input.directory && "string" === typeof input.filename && ("object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io9(input.renders)) && Object.keys(input).every(key => {
|
|
9393
|
-
if (["directory", "filename", "renders"].some(prop => key === prop))
|
|
9394
|
-
return true;
|
|
9395
|
-
const value = input[key];
|
|
9396
|
-
if (undefined === value)
|
|
9397
|
-
return true;
|
|
9398
|
-
return true;
|
|
9399
|
-
}); const _io9 = input => Object.keys(input).every(key => {
|
|
9417
|
+
return "object" === typeof value && null !== value && _io6(value);
|
|
9418
|
+
}); const _io6 = input => "string" === typeof input.path && (undefined === input.size || "number" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash); const _io7 = input => "string" === typeof input.directory && "string" === typeof input.filename && ("object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io8(input.renders)); const _io8 = input => Object.keys(input).every(key => {
|
|
9400
9419
|
const value = input[key];
|
|
9401
9420
|
if (undefined === value)
|
|
9402
9421
|
return true;
|
|
9403
9422
|
return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && _iu0(value));
|
|
9404
|
-
}); const
|
|
9405
|
-
const value = input[key];
|
|
9406
|
-
if (undefined === value)
|
|
9407
|
-
return true;
|
|
9408
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io14(value);
|
|
9409
|
-
}); const _io14 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io15(input.styleOverrides)); const _io15 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io16 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io17(input.crop); const _io17 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io18 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io19 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io20(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io21(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io22(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io23(input.subtitle))); const _io20 = input => "string" === typeof input.engine; const _io21 = input => "string" === typeof input.language; const _io22 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io23 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _io24 = input => "object" === typeof input.__context && null !== input.__context && _io25(input.__context) && ("object" === typeof input.__returnValue && null !== input.__returnValue && _io10(input.__returnValue)); const _io25 = input => "object" === typeof input.publish && null !== input.publish && _io26(input.publish) && "string" === typeof input.directory && "string" === typeof input.name; const _io26 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io9(input.renders)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io27(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io28(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io31(input.published)) && "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 && _io32(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io33(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io27 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && Object.keys(input).every(key => {
|
|
9410
|
-
if (["directory", "filename"].some(prop => key === prop))
|
|
9411
|
-
return true;
|
|
9412
|
-
const value = input[key];
|
|
9413
|
-
if (undefined === value)
|
|
9414
|
-
return true;
|
|
9415
|
-
return true;
|
|
9416
|
-
}); const _io28 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io29(input.renders)) && Object.keys(input).every(key => {
|
|
9417
|
-
if (["directory", "filename", "renders"].some(prop => key === prop))
|
|
9418
|
-
return true;
|
|
9423
|
+
}); const _io9 = input => (undefined === input.name || "string" === typeof input.name) && "string" === typeof input.path && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene) && (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io10(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io18(input.profile)); const _io10 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (null === input.input || undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io11(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io12(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io15(input.video)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io17(input.transcribe)); const _io11 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file); const _io12 = input => Object.keys(input).every(key => {
|
|
9419
9424
|
const value = input[key];
|
|
9420
9425
|
if (undefined === value)
|
|
9421
9426
|
return true;
|
|
9422
|
-
return
|
|
9423
|
-
}); const
|
|
9427
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io13(value);
|
|
9428
|
+
}); const _io13 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io14(input.styleOverrides)); const _io14 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io15 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io16(input.crop); const _io16 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io17 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io18 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io19(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io20(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io21(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io22(input.subtitle))); const _io19 = input => "string" === typeof input.engine; const _io20 = input => "string" === typeof input.language; const _io21 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io22 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _io23 = input => "object" === typeof input.__context && null !== input.__context && _io24(input.__context) && ("object" === typeof input.__returnValue && null !== input.__returnValue && _io9(input.__returnValue)); const _io24 = input => "object" === typeof input.publish && null !== input.publish && _io25(input.publish) && "string" === typeof input.directory && "string" === typeof input.name; const _io25 = input => "file" === input.type && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io8(input.renders)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io26(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io27(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io30(input.published)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io31(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io32(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io26 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename); const _io27 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io28(input.renders)); const _io28 = input => Object.keys(input).every(key => {
|
|
9424
9429
|
const value = input[key];
|
|
9425
9430
|
if (undefined === value)
|
|
9426
9431
|
return true;
|
|
9427
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
9428
|
-
}); const
|
|
9429
|
-
if (["directory", "filename"].some(prop => key === prop))
|
|
9430
|
-
return true;
|
|
9431
|
-
const value = input[key];
|
|
9432
|
-
if (undefined === value)
|
|
9433
|
-
return true;
|
|
9434
|
-
return true;
|
|
9435
|
-
}); const _io32 = input => (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io11(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io19(input.profile)); const _io33 = input => "string" === typeof input.method; const _iu0 = input => (() => {
|
|
9432
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io29(value);
|
|
9433
|
+
}); const _io29 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && true && (undefined === input.size || "number" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash) && (undefined === input.source || "string" === typeof input.source); const _io30 = input => (undefined === input.directory || "string" === typeof input.directory) && "string" === typeof input.filename; const _io31 = input => (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io10(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io18(input.profile)); const _io32 = input => "string" === typeof input.method; const _iu0 = input => (() => {
|
|
9436
9434
|
if (undefined !== input.path)
|
|
9437
|
-
return
|
|
9435
|
+
return _io9(input);
|
|
9438
9436
|
else if (undefined !== input.__context)
|
|
9439
|
-
return
|
|
9437
|
+
return _io23(input);
|
|
9440
9438
|
else
|
|
9441
9439
|
return false;
|
|
9442
9440
|
})(); const _iu1 = input => (() => {
|
|
9443
|
-
if (_io4(input))
|
|
9444
|
-
return _io4(input);
|
|
9445
9441
|
if (_io3(input))
|
|
9446
9442
|
return _io3(input);
|
|
9443
|
+
if (_io2(input))
|
|
9444
|
+
return _io2(input);
|
|
9447
9445
|
if (_io0(input))
|
|
9448
9446
|
return _io0(input);
|
|
9449
9447
|
return false;
|
|
@@ -9471,23 +9469,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9471
9469
|
path: _path + ".messages",
|
|
9472
9470
|
expected: "(Array<Message> | undefined)",
|
|
9473
9471
|
value: input.messages
|
|
9474
|
-
}),
|
|
9475
|
-
path: _path + ".retrieved",
|
|
9476
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
9477
|
-
value: input.retrieved
|
|
9478
|
-
})) && _vo2(input.retrieved, _path + ".retrieved", true && _exceptionable) || _report(_exceptionable, {
|
|
9479
|
-
path: _path + ".retrieved",
|
|
9480
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
9481
|
-
value: input.retrieved
|
|
9482
|
-
}), undefined === input.defaults || ("object" === typeof input.defaults && null !== input.defaults && false === Array.isArray(input.defaults) || _report(_exceptionable, {
|
|
9483
|
-
path: _path + ".defaults",
|
|
9484
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
9485
|
-
value: input.defaults
|
|
9486
|
-
})) && _vo2(input.defaults, _path + ".defaults", true && _exceptionable) || _report(_exceptionable, {
|
|
9487
|
-
path: _path + ".defaults",
|
|
9488
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
9489
|
-
value: input.defaults
|
|
9490
|
-
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["number" === typeof input.level || _report(_exceptionable, {
|
|
9472
|
+
}), true, true].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["number" === typeof input.level || _report(_exceptionable, {
|
|
9491
9473
|
path: _path + ".level",
|
|
9492
9474
|
expected: "number",
|
|
9493
9475
|
value: input.level
|
|
@@ -9499,12 +9481,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9499
9481
|
path: _path + ".msg",
|
|
9500
9482
|
expected: "string",
|
|
9501
9483
|
value: input.msg
|
|
9502
|
-
})].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [
|
|
9503
|
-
const value = input[key];
|
|
9504
|
-
if (undefined === value)
|
|
9505
|
-
return true;
|
|
9506
|
-
return true;
|
|
9507
|
-
}).every(flag => flag)].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [undefined === input.status || "string" === typeof input.status || _report(_exceptionable, {
|
|
9484
|
+
})].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.status || "string" === typeof input.status || _report(_exceptionable, {
|
|
9508
9485
|
path: _path + ".status",
|
|
9509
9486
|
expected: "(string | undefined)",
|
|
9510
9487
|
value: input.status
|
|
@@ -9528,27 +9505,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
9528
9505
|
path: _path + ".messages",
|
|
9529
9506
|
expected: "(Array<Message> | undefined)",
|
|
9530
9507
|
value: input.messages
|
|
9531
|
-
}), undefined === input.retrieved || ("object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) || _report(_exceptionable, {
|
|
9532
|
-
path: _path + ".retrieved",
|
|
9533
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
9534
|
-
value: input.retrieved
|
|
9535
|
-
})) && _vo2(input.retrieved, _path + ".retrieved", true && _exceptionable) || _report(_exceptionable, {
|
|
9536
|
-
path: _path + ".retrieved",
|
|
9537
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
9538
|
-
value: input.retrieved
|
|
9539
|
-
}), undefined === input.defaults || ("object" === typeof input.defaults && null !== input.defaults && false === Array.isArray(input.defaults) || _report(_exceptionable, {
|
|
9540
|
-
path: _path + ".defaults",
|
|
9541
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
9542
|
-
value: input.defaults
|
|
9543
|
-
})) && _vo2(input.defaults, _path + ".defaults", true && _exceptionable) || _report(_exceptionable, {
|
|
9544
|
-
path: _path + ".defaults",
|
|
9545
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
9546
|
-
value: input.defaults
|
|
9547
|
-
})].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [undefined === input.retrieved || ("object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) || _report(_exceptionable, {
|
|
9508
|
+
}), true, true].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, {
|
|
9548
9509
|
path: _path + ".retrieved",
|
|
9549
9510
|
expected: "(FilePublishRetrieved | undefined)",
|
|
9550
9511
|
value: input.retrieved
|
|
9551
|
-
})) &&
|
|
9512
|
+
})) && _vo4(input.retrieved, _path + ".retrieved", true && _exceptionable) || _report(_exceptionable, {
|
|
9552
9513
|
path: _path + ".retrieved",
|
|
9553
9514
|
expected: "(FilePublishRetrieved | undefined)",
|
|
9554
9515
|
value: input.retrieved
|
|
@@ -9556,7 +9517,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9556
9517
|
path: _path + ".defaults",
|
|
9557
9518
|
expected: "(FilePublishDefaults | undefined)",
|
|
9558
9519
|
value: input.defaults
|
|
9559
|
-
})) &&
|
|
9520
|
+
})) && _vo7(input.defaults, _path + ".defaults", true && _exceptionable) || _report(_exceptionable, {
|
|
9560
9521
|
path: _path + ".defaults",
|
|
9561
9522
|
expected: "(FilePublishDefaults | undefined)",
|
|
9562
9523
|
value: input.defaults
|
|
@@ -9584,7 +9545,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9584
9545
|
path: _path + ".messages",
|
|
9585
9546
|
expected: "(Array<Message> | undefined)",
|
|
9586
9547
|
value: input.messages
|
|
9587
|
-
})].every(flag => flag); const
|
|
9548
|
+
})].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [undefined === input.filename || "string" === typeof input.filename || _report(_exceptionable, {
|
|
9588
9549
|
path: _path + ".filename",
|
|
9589
9550
|
expected: "(string | undefined)",
|
|
9590
9551
|
value: input.filename
|
|
@@ -9596,18 +9557,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
9596
9557
|
path: _path + ".renders",
|
|
9597
9558
|
expected: "(Record<string, FilePublishRetrievedRender> | undefined)",
|
|
9598
9559
|
value: input.renders
|
|
9599
|
-
})) &&
|
|
9560
|
+
})) && _vo5(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
9600
9561
|
path: _path + ".renders",
|
|
9601
9562
|
expected: "(Record<string, FilePublishRetrievedRender> | undefined)",
|
|
9602
9563
|
value: input.renders
|
|
9603
|
-
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
9604
|
-
if (["filename", "directory", "renders"].some(prop => key === prop))
|
|
9605
|
-
return true;
|
|
9606
|
-
const value = input[key];
|
|
9607
|
-
if (undefined === value)
|
|
9608
|
-
return true;
|
|
9609
|
-
return true;
|
|
9610
|
-
}).every(flag => flag)].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
9564
|
+
})].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
9611
9565
|
const value = input[key];
|
|
9612
9566
|
if (undefined === value)
|
|
9613
9567
|
return true;
|
|
@@ -9615,12 +9569,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
9615
9569
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9616
9570
|
expected: "FilePublishRetrievedRender",
|
|
9617
9571
|
value: value
|
|
9618
|
-
})) &&
|
|
9572
|
+
})) && _vo6(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
9619
9573
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9620
9574
|
expected: "FilePublishRetrievedRender",
|
|
9621
9575
|
value: value
|
|
9622
9576
|
});
|
|
9623
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
9577
|
+
}).every(flag => flag)].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.path || _report(_exceptionable, {
|
|
9624
9578
|
path: _path + ".path",
|
|
9625
9579
|
expected: "string",
|
|
9626
9580
|
value: input.path
|
|
@@ -9632,7 +9586,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9632
9586
|
path: _path + ".hash",
|
|
9633
9587
|
expected: "(string | undefined)",
|
|
9634
9588
|
value: input.hash
|
|
9635
|
-
})].every(flag => flag); const
|
|
9589
|
+
})].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => ["string" === typeof input.directory || _report(_exceptionable, {
|
|
9636
9590
|
path: _path + ".directory",
|
|
9637
9591
|
expected: "string",
|
|
9638
9592
|
value: input.directory
|
|
@@ -9644,18 +9598,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
9644
9598
|
path: _path + ".renders",
|
|
9645
9599
|
expected: "Record<string, FilePublishRender>",
|
|
9646
9600
|
value: input.renders
|
|
9647
|
-
})) &&
|
|
9601
|
+
})) && _vo8(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
9648
9602
|
path: _path + ".renders",
|
|
9649
9603
|
expected: "Record<string, FilePublishRender>",
|
|
9650
9604
|
value: input.renders
|
|
9651
|
-
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
9652
|
-
if (["directory", "filename", "renders"].some(prop => key === prop))
|
|
9653
|
-
return true;
|
|
9654
|
-
const value = input[key];
|
|
9655
|
-
if (undefined === value)
|
|
9656
|
-
return true;
|
|
9657
|
-
return true;
|
|
9658
|
-
}).every(flag => flag)].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
9605
|
+
})].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
9659
9606
|
const value = input[key];
|
|
9660
9607
|
if (undefined === value)
|
|
9661
9608
|
return true;
|
|
@@ -9676,11 +9623,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9676
9623
|
expected: "(ResolvedFilePublishRender | __type.o9 | string)",
|
|
9677
9624
|
value: value
|
|
9678
9625
|
}));
|
|
9679
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
9680
|
-
path: _path + ".preset",
|
|
9681
|
-
expected: "(string | undefined)",
|
|
9682
|
-
value: input.preset
|
|
9683
|
-
}), undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
9626
|
+
}).every(flag => flag)].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
9684
9627
|
path: _path + ".name",
|
|
9685
9628
|
expected: "(string | undefined)",
|
|
9686
9629
|
value: input.name
|
|
@@ -9696,6 +9639,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
9696
9639
|
path: _path + ".ignoreEmptyScene",
|
|
9697
9640
|
expected: "(boolean | undefined)",
|
|
9698
9641
|
value: input.ignoreEmptyScene
|
|
9642
|
+
}), undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
9643
|
+
path: _path + ".preset",
|
|
9644
|
+
expected: "(string | undefined)",
|
|
9645
|
+
value: input.preset
|
|
9699
9646
|
}), "string" === typeof input.type || _report(_exceptionable, {
|
|
9700
9647
|
path: _path + ".type",
|
|
9701
9648
|
expected: "string",
|
|
@@ -9704,7 +9651,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9704
9651
|
path: _path + ".scene",
|
|
9705
9652
|
expected: "(RenderSceneObject | undefined)",
|
|
9706
9653
|
value: input.scene
|
|
9707
|
-
})) &&
|
|
9654
|
+
})) && _vo10(input.scene, _path + ".scene", true && _exceptionable) || _report(_exceptionable, {
|
|
9708
9655
|
path: _path + ".scene",
|
|
9709
9656
|
expected: "(RenderSceneObject | undefined)",
|
|
9710
9657
|
value: input.scene
|
|
@@ -9712,11 +9659,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
9712
9659
|
path: _path + ".profile",
|
|
9713
9660
|
expected: "(RenderProfileObject | undefined)",
|
|
9714
9661
|
value: input.profile
|
|
9715
|
-
})) &&
|
|
9662
|
+
})) && _vo18(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
9716
9663
|
path: _path + ".profile",
|
|
9717
9664
|
expected: "(RenderProfileObject | undefined)",
|
|
9718
9665
|
value: input.profile
|
|
9719
|
-
})].every(flag => flag); const
|
|
9666
|
+
})].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
9720
9667
|
path: _path + ".id",
|
|
9721
9668
|
expected: "(string | undefined)",
|
|
9722
9669
|
value: input.id
|
|
@@ -9728,7 +9675,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9728
9675
|
path: _path + ".input",
|
|
9729
9676
|
expected: "(__type | null | undefined)",
|
|
9730
9677
|
value: input.input
|
|
9731
|
-
})) &&
|
|
9678
|
+
})) && _vo11(input.input, _path + ".input", true && _exceptionable) || _report(_exceptionable, {
|
|
9732
9679
|
path: _path + ".input",
|
|
9733
9680
|
expected: "(__type | null | undefined)",
|
|
9734
9681
|
value: input.input
|
|
@@ -9744,7 +9691,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9744
9691
|
path: _path + ".subtitleTracks",
|
|
9745
9692
|
expected: "(__type.o1 | undefined)",
|
|
9746
9693
|
value: input.subtitleTracks
|
|
9747
|
-
})) &&
|
|
9694
|
+
})) && _vo12(input.subtitleTracks, _path + ".subtitleTracks", true && _exceptionable) || _report(_exceptionable, {
|
|
9748
9695
|
path: _path + ".subtitleTracks",
|
|
9749
9696
|
expected: "(__type.o1 | undefined)",
|
|
9750
9697
|
value: input.subtitleTracks
|
|
@@ -9752,7 +9699,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9752
9699
|
path: _path + ".video",
|
|
9753
9700
|
expected: "(__type.o3 | undefined)",
|
|
9754
9701
|
value: input.video
|
|
9755
|
-
})) &&
|
|
9702
|
+
})) && _vo15(input.video, _path + ".video", true && _exceptionable) || _report(_exceptionable, {
|
|
9756
9703
|
path: _path + ".video",
|
|
9757
9704
|
expected: "(__type.o3 | undefined)",
|
|
9758
9705
|
value: input.video
|
|
@@ -9768,11 +9715,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
9768
9715
|
path: _path + ".transcribe",
|
|
9769
9716
|
expected: "(__type.o5 | undefined)",
|
|
9770
9717
|
value: input.transcribe
|
|
9771
|
-
})) &&
|
|
9718
|
+
})) && _vo17(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
9772
9719
|
path: _path + ".transcribe",
|
|
9773
9720
|
expected: "(__type.o5 | undefined)",
|
|
9774
9721
|
value: input.transcribe
|
|
9775
|
-
})].every(flag => flag); const
|
|
9722
|
+
})].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
9776
9723
|
path: _path + ".type",
|
|
9777
9724
|
expected: "(string | undefined)",
|
|
9778
9725
|
value: input.type
|
|
@@ -9780,7 +9727,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9780
9727
|
path: _path + ".file",
|
|
9781
9728
|
expected: "(null | string | undefined)",
|
|
9782
9729
|
value: input.file
|
|
9783
|
-
})].every(flag => flag); const
|
|
9730
|
+
})].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
9784
9731
|
const value = input[key];
|
|
9785
9732
|
if (undefined === value)
|
|
9786
9733
|
return true;
|
|
@@ -9788,12 +9735,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
9788
9735
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9789
9736
|
expected: "__type.o2",
|
|
9790
9737
|
value: value
|
|
9791
|
-
})) &&
|
|
9738
|
+
})) && _vo13(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
9792
9739
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9793
9740
|
expected: "__type.o2",
|
|
9794
9741
|
value: value
|
|
9795
9742
|
});
|
|
9796
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
9743
|
+
}).every(flag => flag)].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => [null === input.style || undefined === input.style || "string" === typeof input.style || _report(_exceptionable, {
|
|
9797
9744
|
path: _path + ".style",
|
|
9798
9745
|
expected: "(null | string | undefined)",
|
|
9799
9746
|
value: input.style
|
|
@@ -9801,11 +9748,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
9801
9748
|
path: _path + ".styleOverrides",
|
|
9802
9749
|
expected: "(SubtitleStyle | undefined)",
|
|
9803
9750
|
value: input.styleOverrides
|
|
9804
|
-
})) &&
|
|
9751
|
+
})) && _vo14(input.styleOverrides, _path + ".styleOverrides", true && _exceptionable) || _report(_exceptionable, {
|
|
9805
9752
|
path: _path + ".styleOverrides",
|
|
9806
9753
|
expected: "(SubtitleStyle | undefined)",
|
|
9807
9754
|
value: input.styleOverrides
|
|
9808
|
-
})].every(flag => flag); const
|
|
9755
|
+
})].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
9809
9756
|
path: _path + ".name",
|
|
9810
9757
|
expected: "(string | undefined)",
|
|
9811
9758
|
value: input.name
|
|
@@ -9897,15 +9844,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
9897
9844
|
path: _path + ".encoding",
|
|
9898
9845
|
expected: "(string | undefined)",
|
|
9899
9846
|
value: input.encoding
|
|
9900
|
-
})].every(flag => flag); const
|
|
9847
|
+
})].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, {
|
|
9901
9848
|
path: _path + ".crop",
|
|
9902
9849
|
expected: "(__type.o4 | undefined)",
|
|
9903
9850
|
value: input.crop
|
|
9904
|
-
})) &&
|
|
9851
|
+
})) && _vo16(input.crop, _path + ".crop", true && _exceptionable) || _report(_exceptionable, {
|
|
9905
9852
|
path: _path + ".crop",
|
|
9906
9853
|
expected: "(__type.o4 | undefined)",
|
|
9907
9854
|
value: input.crop
|
|
9908
|
-
})].every(flag => flag); const
|
|
9855
|
+
})].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [undefined === input.x || "number" === typeof input.x || _report(_exceptionable, {
|
|
9909
9856
|
path: _path + ".x",
|
|
9910
9857
|
expected: "(number | undefined)",
|
|
9911
9858
|
value: input.x
|
|
@@ -9921,7 +9868,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9921
9868
|
path: _path + ".height",
|
|
9922
9869
|
expected: "(number | undefined)",
|
|
9923
9870
|
value: input.height
|
|
9924
|
-
})].every(flag => flag); const
|
|
9871
|
+
})].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => [undefined === input.language || "string" === typeof input.language || _report(_exceptionable, {
|
|
9925
9872
|
path: _path + ".language",
|
|
9926
9873
|
expected: "(string | undefined)",
|
|
9927
9874
|
value: input.language
|
|
@@ -9937,7 +9884,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9937
9884
|
path: _path + ".pan",
|
|
9938
9885
|
expected: "(Array<number> | undefined)",
|
|
9939
9886
|
value: input.pan
|
|
9940
|
-
})].every(flag => flag); const
|
|
9887
|
+
})].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => ["string" === typeof input.format || _report(_exceptionable, {
|
|
9941
9888
|
path: _path + ".format",
|
|
9942
9889
|
expected: "string",
|
|
9943
9890
|
value: input.format
|
|
@@ -9945,7 +9892,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9945
9892
|
path: _path + ".transcribe",
|
|
9946
9893
|
expected: "(__type.o6 | undefined)",
|
|
9947
9894
|
value: input.transcribe
|
|
9948
|
-
})) &&
|
|
9895
|
+
})) && _vo19(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
9949
9896
|
path: _path + ".transcribe",
|
|
9950
9897
|
expected: "(__type.o6 | undefined)",
|
|
9951
9898
|
value: input.transcribe
|
|
@@ -9953,7 +9900,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9953
9900
|
path: _path + ".translate",
|
|
9954
9901
|
expected: "(__type.o7 | undefined)",
|
|
9955
9902
|
value: input.translate
|
|
9956
|
-
})) &&
|
|
9903
|
+
})) && _vo20(input.translate, _path + ".translate", true && _exceptionable) || _report(_exceptionable, {
|
|
9957
9904
|
path: _path + ".translate",
|
|
9958
9905
|
expected: "(__type.o7 | undefined)",
|
|
9959
9906
|
value: input.translate
|
|
@@ -9961,7 +9908,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9961
9908
|
path: _path + ".audio",
|
|
9962
9909
|
expected: "(__type.o8 | undefined)",
|
|
9963
9910
|
value: input.audio
|
|
9964
|
-
})) &&
|
|
9911
|
+
})) && _vo21(input.audio, _path + ".audio", true && _exceptionable) || _report(_exceptionable, {
|
|
9965
9912
|
path: _path + ".audio",
|
|
9966
9913
|
expected: "(__type.o8 | undefined)",
|
|
9967
9914
|
value: input.audio
|
|
@@ -9985,19 +9932,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
9985
9932
|
path: _path + ".subtitle",
|
|
9986
9933
|
expected: "(SubtitleProfile | string | undefined)",
|
|
9987
9934
|
value: input.subtitle
|
|
9988
|
-
})) &&
|
|
9935
|
+
})) && _vo22(input.subtitle, _path + ".subtitle", true && _exceptionable) || _report(_exceptionable, {
|
|
9989
9936
|
path: _path + ".subtitle",
|
|
9990
9937
|
expected: "(SubtitleProfile | string | undefined)",
|
|
9991
9938
|
value: input.subtitle
|
|
9992
|
-
}))].every(flag => flag); const
|
|
9939
|
+
}))].every(flag => flag); const _vo19 = (input, _path, _exceptionable = true) => ["string" === typeof input.engine || _report(_exceptionable, {
|
|
9993
9940
|
path: _path + ".engine",
|
|
9994
9941
|
expected: "string",
|
|
9995
9942
|
value: input.engine
|
|
9996
|
-
})].every(flag => flag); const
|
|
9943
|
+
})].every(flag => flag); const _vo20 = (input, _path, _exceptionable = true) => ["string" === typeof input.language || _report(_exceptionable, {
|
|
9997
9944
|
path: _path + ".language",
|
|
9998
9945
|
expected: "string",
|
|
9999
9946
|
value: input.language
|
|
10000
|
-
})].every(flag => flag); const
|
|
9947
|
+
})].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [undefined === input.codec || "string" === typeof input.codec || _report(_exceptionable, {
|
|
10001
9948
|
path: _path + ".codec",
|
|
10002
9949
|
expected: "(string | undefined)",
|
|
10003
9950
|
value: input.codec
|
|
@@ -10013,7 +9960,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10013
9960
|
path: _path + ".split",
|
|
10014
9961
|
expected: "(boolean | undefined)",
|
|
10015
9962
|
value: input.split
|
|
10016
|
-
})].every(flag => flag); const
|
|
9963
|
+
})].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => [undefined === input.lang || "string" === typeof input.lang || _report(_exceptionable, {
|
|
10017
9964
|
path: _path + ".lang",
|
|
10018
9965
|
expected: "(string | undefined)",
|
|
10019
9966
|
value: input.lang
|
|
@@ -10021,11 +9968,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
10021
9968
|
path: _path + ".style",
|
|
10022
9969
|
expected: "(string | undefined)",
|
|
10023
9970
|
value: input.style
|
|
10024
|
-
})].every(flag => flag); const
|
|
9971
|
+
})].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
10025
9972
|
path: _path + ".__context",
|
|
10026
9973
|
expected: "__type.o10",
|
|
10027
9974
|
value: input.__context
|
|
10028
|
-
})) &&
|
|
9975
|
+
})) && _vo24(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
10029
9976
|
path: _path + ".__context",
|
|
10030
9977
|
expected: "__type.o10",
|
|
10031
9978
|
value: input.__context
|
|
@@ -10033,15 +9980,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
10033
9980
|
path: _path + ".__returnValue",
|
|
10034
9981
|
expected: "ResolvedFilePublishRender",
|
|
10035
9982
|
value: input.__returnValue
|
|
10036
|
-
})) &&
|
|
9983
|
+
})) && _vo9(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
10037
9984
|
path: _path + ".__returnValue",
|
|
10038
9985
|
expected: "ResolvedFilePublishRender",
|
|
10039
9986
|
value: input.__returnValue
|
|
10040
|
-
})].every(flag => flag); const
|
|
9987
|
+
})].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => [("object" === typeof input.publish && null !== input.publish || _report(_exceptionable, {
|
|
10041
9988
|
path: _path + ".publish",
|
|
10042
9989
|
expected: "FilePublishRecord",
|
|
10043
9990
|
value: input.publish
|
|
10044
|
-
})) &&
|
|
9991
|
+
})) && _vo25(input.publish, _path + ".publish", true && _exceptionable) || _report(_exceptionable, {
|
|
10045
9992
|
path: _path + ".publish",
|
|
10046
9993
|
expected: "FilePublishRecord",
|
|
10047
9994
|
value: input.publish
|
|
@@ -10053,7 +10000,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
10053
10000
|
path: _path + ".name",
|
|
10054
10001
|
expected: "string",
|
|
10055
10002
|
value: input.name
|
|
10056
|
-
})].every(flag => flag); const
|
|
10003
|
+
})].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => ["file" === input.type || _report(_exceptionable, {
|
|
10004
|
+
path: _path + ".type",
|
|
10005
|
+
expected: "\"file\"",
|
|
10006
|
+
value: input.type
|
|
10007
|
+
}), undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
10057
10008
|
path: _path + ".directory",
|
|
10058
10009
|
expected: "(string | undefined)",
|
|
10059
10010
|
value: input.directory
|
|
@@ -10065,7 +10016,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10065
10016
|
path: _path + ".renders",
|
|
10066
10017
|
expected: "(Record<string, FilePublishRender> | undefined)",
|
|
10067
10018
|
value: input.renders
|
|
10068
|
-
})) &&
|
|
10019
|
+
})) && _vo8(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
10069
10020
|
path: _path + ".renders",
|
|
10070
10021
|
expected: "(Record<string, FilePublishRender> | undefined)",
|
|
10071
10022
|
value: input.renders
|
|
@@ -10073,7 +10024,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10073
10024
|
path: _path + ".draft",
|
|
10074
10025
|
expected: "(FilePublishDraft | undefined)",
|
|
10075
10026
|
value: input.draft
|
|
10076
|
-
})) &&
|
|
10027
|
+
})) && _vo26(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
10077
10028
|
path: _path + ".draft",
|
|
10078
10029
|
expected: "(FilePublishDraft | undefined)",
|
|
10079
10030
|
value: input.draft
|
|
@@ -10081,7 +10032,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10081
10032
|
path: _path + ".remote",
|
|
10082
10033
|
expected: "(FilePublishRemote | undefined)",
|
|
10083
10034
|
value: input.remote
|
|
10084
|
-
})) &&
|
|
10035
|
+
})) && _vo27(input.remote, _path + ".remote", true && _exceptionable) || _report(_exceptionable, {
|
|
10085
10036
|
path: _path + ".remote",
|
|
10086
10037
|
expected: "(FilePublishRemote | undefined)",
|
|
10087
10038
|
value: input.remote
|
|
@@ -10089,14 +10040,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
10089
10040
|
path: _path + ".published",
|
|
10090
10041
|
expected: "(FilePublishPublished | undefined)",
|
|
10091
10042
|
value: input.published
|
|
10092
|
-
})) &&
|
|
10043
|
+
})) && _vo30(input.published, _path + ".published", true && _exceptionable) || _report(_exceptionable, {
|
|
10093
10044
|
path: _path + ".published",
|
|
10094
10045
|
expected: "(FilePublishPublished | undefined)",
|
|
10095
10046
|
value: input.published
|
|
10096
|
-
}), "file" === input.type || _report(_exceptionable, {
|
|
10097
|
-
path: _path + ".type",
|
|
10098
|
-
expected: "\"file\"",
|
|
10099
|
-
value: input.type
|
|
10100
10047
|
}), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
|
|
10101
10048
|
path: _path + ".asset",
|
|
10102
10049
|
expected: "(null | string | undefined)",
|
|
@@ -10107,17 +10054,17 @@ function _validateDomainRecord(domain, input) {
|
|
|
10107
10054
|
value: input.connection
|
|
10108
10055
|
}), undefined === input.render || ("object" === typeof input.render && null !== input.render || _report(_exceptionable, {
|
|
10109
10056
|
path: _path + ".render",
|
|
10110
|
-
expected: "(
|
|
10057
|
+
expected: "(PublishRenderBase | undefined)",
|
|
10111
10058
|
value: input.render
|
|
10112
|
-
})) &&
|
|
10059
|
+
})) && _vo31(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
10113
10060
|
path: _path + ".render",
|
|
10114
|
-
expected: "(
|
|
10061
|
+
expected: "(PublishRenderBase | undefined)",
|
|
10115
10062
|
value: input.render
|
|
10116
10063
|
}), null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
10117
10064
|
path: _path + ".error",
|
|
10118
10065
|
expected: "(__type.o11 | null | undefined)",
|
|
10119
10066
|
value: input.error
|
|
10120
|
-
})) &&
|
|
10067
|
+
})) && _vo32(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
10121
10068
|
path: _path + ".error",
|
|
10122
10069
|
expected: "(__type.o11 | null | undefined)",
|
|
10123
10070
|
value: input.error
|
|
@@ -10137,7 +10084,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10137
10084
|
path: _path + ".messages",
|
|
10138
10085
|
expected: "(Array<Message> | undefined)",
|
|
10139
10086
|
value: input.messages
|
|
10140
|
-
})].every(flag => flag); const
|
|
10087
|
+
})].every(flag => flag); const _vo26 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
10141
10088
|
path: _path + ".directory",
|
|
10142
10089
|
expected: "(string | undefined)",
|
|
10143
10090
|
value: input.directory
|
|
@@ -10145,14 +10092,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10145
10092
|
path: _path + ".filename",
|
|
10146
10093
|
expected: "(string | undefined)",
|
|
10147
10094
|
value: input.filename
|
|
10148
|
-
}),
|
|
10149
|
-
if (["directory", "filename"].some(prop => key === prop))
|
|
10150
|
-
return true;
|
|
10151
|
-
const value = input[key];
|
|
10152
|
-
if (undefined === value)
|
|
10153
|
-
return true;
|
|
10154
|
-
return true;
|
|
10155
|
-
}).every(flag => flag)].every(flag => flag); const _vo28 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
10095
|
+
})].every(flag => flag); const _vo27 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
10156
10096
|
path: _path + ".directory",
|
|
10157
10097
|
expected: "(string | undefined)",
|
|
10158
10098
|
value: input.directory
|
|
@@ -10164,18 +10104,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
10164
10104
|
path: _path + ".renders",
|
|
10165
10105
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
10166
10106
|
value: input.renders
|
|
10167
|
-
})) &&
|
|
10107
|
+
})) && _vo28(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
10168
10108
|
path: _path + ".renders",
|
|
10169
10109
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
10170
10110
|
value: input.renders
|
|
10171
|
-
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
10172
|
-
if (["directory", "filename", "renders"].some(prop => key === prop))
|
|
10173
|
-
return true;
|
|
10174
|
-
const value = input[key];
|
|
10175
|
-
if (undefined === value)
|
|
10176
|
-
return true;
|
|
10177
|
-
return true;
|
|
10178
|
-
}).every(flag => flag)].every(flag => flag); const _vo29 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
10111
|
+
})].every(flag => flag); const _vo28 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
10179
10112
|
const value = input[key];
|
|
10180
10113
|
if (undefined === value)
|
|
10181
10114
|
return true;
|
|
@@ -10183,12 +10116,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
10183
10116
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
10184
10117
|
expected: "FilePublishRemoteRender",
|
|
10185
10118
|
value: value
|
|
10186
|
-
})) &&
|
|
10119
|
+
})) && _vo29(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
10187
10120
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
10188
10121
|
expected: "FilePublishRemoteRender",
|
|
10189
10122
|
value: value
|
|
10190
10123
|
});
|
|
10191
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
10124
|
+
}).every(flag => flag)].every(flag => flag); const _vo29 = (input, _path, _exceptionable = true) => [undefined === input.path || "string" === typeof input.path || _report(_exceptionable, {
|
|
10192
10125
|
path: _path + ".path",
|
|
10193
10126
|
expected: "(string | undefined)",
|
|
10194
10127
|
value: input.path
|
|
@@ -10220,7 +10153,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10220
10153
|
path: _path + ".source",
|
|
10221
10154
|
expected: "(string | undefined)",
|
|
10222
10155
|
value: input.source
|
|
10223
|
-
})].every(flag => flag); const
|
|
10156
|
+
})].every(flag => flag); const _vo30 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
10224
10157
|
path: _path + ".directory",
|
|
10225
10158
|
expected: "(string | undefined)",
|
|
10226
10159
|
value: input.directory
|
|
@@ -10228,14 +10161,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10228
10161
|
path: _path + ".filename",
|
|
10229
10162
|
expected: "string",
|
|
10230
10163
|
value: input.filename
|
|
10231
|
-
}),
|
|
10232
|
-
if (["directory", "filename"].some(prop => key === prop))
|
|
10233
|
-
return true;
|
|
10234
|
-
const value = input[key];
|
|
10235
|
-
if (undefined === value)
|
|
10236
|
-
return true;
|
|
10237
|
-
return true;
|
|
10238
|
-
}).every(flag => flag)].every(flag => flag); const _vo32 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
10164
|
+
})].every(flag => flag); const _vo31 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
10239
10165
|
path: _path + ".preset",
|
|
10240
10166
|
expected: "(string | undefined)",
|
|
10241
10167
|
value: input.preset
|
|
@@ -10247,7 +10173,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10247
10173
|
path: _path + ".scene",
|
|
10248
10174
|
expected: "(RenderSceneObject | undefined)",
|
|
10249
10175
|
value: input.scene
|
|
10250
|
-
})) &&
|
|
10176
|
+
})) && _vo10(input.scene, _path + ".scene", true && _exceptionable) || _report(_exceptionable, {
|
|
10251
10177
|
path: _path + ".scene",
|
|
10252
10178
|
expected: "(RenderSceneObject | undefined)",
|
|
10253
10179
|
value: input.scene
|
|
@@ -10255,36 +10181,36 @@ function _validateDomainRecord(domain, input) {
|
|
|
10255
10181
|
path: _path + ".profile",
|
|
10256
10182
|
expected: "(RenderProfileObject | undefined)",
|
|
10257
10183
|
value: input.profile
|
|
10258
|
-
})) &&
|
|
10184
|
+
})) && _vo18(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
10259
10185
|
path: _path + ".profile",
|
|
10260
10186
|
expected: "(RenderProfileObject | undefined)",
|
|
10261
10187
|
value: input.profile
|
|
10262
|
-
})].every(flag => flag); const
|
|
10188
|
+
})].every(flag => flag); const _vo32 = (input, _path, _exceptionable = true) => ["string" === typeof input.method || _report(_exceptionable, {
|
|
10263
10189
|
path: _path + ".method",
|
|
10264
10190
|
expected: "string",
|
|
10265
10191
|
value: input.method
|
|
10266
10192
|
})].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
10267
10193
|
if (undefined !== input.path)
|
|
10268
|
-
return
|
|
10194
|
+
return _vo9(input, _path, true && _exceptionable);
|
|
10269
10195
|
else if (undefined !== input.__context)
|
|
10270
|
-
return
|
|
10196
|
+
return _vo23(input, _path, true && _exceptionable);
|
|
10271
10197
|
else
|
|
10272
10198
|
return _report(_exceptionable, {
|
|
10273
10199
|
path: _path,
|
|
10274
10200
|
expected: "(ResolvedFilePublishRender | __type.o9)",
|
|
10275
10201
|
value: input
|
|
10276
10202
|
});
|
|
10277
|
-
})(); const _vu1 = (input, _path, _exceptionable = true) =>
|
|
10203
|
+
})(); const _vu1 = (input, _path, _exceptionable = true) => _vo3(input, _path, false && _exceptionable) || _vo2(input, _path, false && _exceptionable) || _vo0(input, _path, false && _exceptionable); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _iu1(input); let errors; let _report; return input => {
|
|
10278
10204
|
if (false === __is(input)) {
|
|
10279
10205
|
errors = [];
|
|
10280
10206
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
10281
10207
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
10282
10208
|
path: _path + "",
|
|
10283
|
-
expected: "(FacebookPublishStatsRecord | FilePublishStatsRecord |
|
|
10209
|
+
expected: "(FacebookPublishStatsRecord | FilePublishStatsRecord | PublishStatsRecordBase)",
|
|
10284
10210
|
value: input
|
|
10285
10211
|
})) && _vu1(input, _path + "", true) || _report(true, {
|
|
10286
10212
|
path: _path + "",
|
|
10287
|
-
expected: "(FacebookPublishStatsRecord | FilePublishStatsRecord |
|
|
10213
|
+
expected: "(FacebookPublishStatsRecord | FilePublishStatsRecord | PublishStatsRecordBase)",
|
|
10288
10214
|
value: input
|
|
10289
10215
|
}))(input, "$input", true);
|
|
10290
10216
|
const success = 0 === errors.length;
|
|
@@ -10309,12 +10235,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10309
10235
|
if (undefined === value)
|
|
10310
10236
|
return true;
|
|
10311
10237
|
return "object" === typeof value && null !== value && _io1(value);
|
|
10312
|
-
}); const _io1 = input => "string" === typeof input.rpcId &&
|
|
10313
|
-
const value = input[key];
|
|
10314
|
-
if (undefined === value)
|
|
10315
|
-
return true;
|
|
10316
|
-
return true;
|
|
10317
|
-
}); const _vo0 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
10238
|
+
}); const _io1 = input => "string" === typeof input.rpcId && true; const _vo0 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
10318
10239
|
const value = input[key];
|
|
10319
10240
|
if (undefined === value)
|
|
10320
10241
|
return true;
|
|
@@ -10331,30 +10252,17 @@ function _validateDomainRecord(domain, input) {
|
|
|
10331
10252
|
path: _path + ".rpcId",
|
|
10332
10253
|
expected: "string",
|
|
10333
10254
|
value: input.rpcId
|
|
10334
|
-
}), ("object" === typeof input
|
|
10335
|
-
path: _path + ".rpcData",
|
|
10336
|
-
expected: "Record<string, unknown>",
|
|
10337
|
-
value: input.rpcData
|
|
10338
|
-
})) && _vo2(input.rpcData, _path + ".rpcData", true && _exceptionable) || _report(_exceptionable, {
|
|
10339
|
-
path: _path + ".rpcData",
|
|
10340
|
-
expected: "Record<string, unknown>",
|
|
10341
|
-
value: input.rpcData
|
|
10342
|
-
})].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
10343
|
-
const value = input[key];
|
|
10344
|
-
if (undefined === value)
|
|
10345
|
-
return true;
|
|
10346
|
-
return true;
|
|
10347
|
-
}).every(flag => flag)].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
10255
|
+
}), true].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
10348
10256
|
if (false === __is(input)) {
|
|
10349
10257
|
errors = [];
|
|
10350
10258
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
10351
10259
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
10352
10260
|
path: _path + "",
|
|
10353
|
-
expected: "
|
|
10261
|
+
expected: "PublishDomainMethodsRecordBase",
|
|
10354
10262
|
value: input
|
|
10355
10263
|
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
10356
10264
|
path: _path + "",
|
|
10357
|
-
expected: "
|
|
10265
|
+
expected: "PublishDomainMethodsRecordBase",
|
|
10358
10266
|
value: input
|
|
10359
10267
|
}))(input, "$input", true);
|
|
10360
10268
|
const success = 0 === errors.length;
|
|
@@ -10380,11 +10288,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
10380
10288
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
10381
10289
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
10382
10290
|
path: _path + "",
|
|
10383
|
-
expected: "
|
|
10291
|
+
expected: "PublishDomainAcceptsProvidedRecordBase",
|
|
10384
10292
|
value: input
|
|
10385
10293
|
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
10386
10294
|
path: _path + "",
|
|
10387
|
-
expected: "
|
|
10295
|
+
expected: "PublishDomainAcceptsProvidedRecordBase",
|
|
10388
10296
|
value: input
|
|
10389
10297
|
}))(input, "$input", true);
|
|
10390
10298
|
const success = 0 === errors.length;
|
|
@@ -12590,7 +12498,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12590
12498
|
if (undefined === value)
|
|
12591
12499
|
return true;
|
|
12592
12500
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io31(value);
|
|
12593
|
-
}); const _io42 = input => (undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && _io43(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && _io44(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && _io45(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io48(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && _io49(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io50(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && _io54(input.openCommand))); const _io43 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe); const _io44 = input => (undefined === input.preview || "disabled" === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "boolean" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress); const _io45 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine) && (undefined === input.suggestions || Array.isArray(input.suggestions) && input.suggestions.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io46(elem))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io47(elem))); const _io46 = input => (null === input.ifAspectRatio || undefined === input.ifAspectRatio || "string" === typeof input.ifAspectRatio) && (null === input.ifLang || undefined === input.ifLang || "string" === typeof input.ifLang) && (null === input.thenStyle || undefined === input.thenStyle || "string" === typeof input.thenStyle) && (null === input.thenMaxCharactersPerLine || undefined === input.thenMaxCharactersPerLine || "number" === typeof input.thenMaxCharactersPerLine); const _io47 = input => (null === input.label || undefined === input.label || "string" === typeof input.label) && (null === input.color || undefined === input.color || "string" === typeof input.color); const _io48 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.aspectRatio || "string" === typeof input.aspectRatio); const _io49 = input => (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.defaultEnterOption || "edit" === input.defaultEnterOption || "createNew" === input.defaultEnterOption || "none" === input.defaultEnterOption) && (undefined === input.defaultExitOption || "none" === input.defaultExitOption || "update" === input.defaultExitOption || "leave" === input.defaultExitOption); const _io50 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && _io51(input.subtitleDisclaimer); const _io51 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && _io52(input.defaultValue)); const _io52 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io53(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration); const _io53 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.value || "string" === typeof input.value); const _io54 = input => (undefined === input.url || "string" === typeof input.url) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.app || "string" === typeof input.app) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io55 = input => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && (undefined === input.voiceOver || "object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) && _io56(input.voiceOver)); const _io56 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.backgroundReductionDb || "number" === typeof input.backgroundReductionDb) && (undefined === input.recordMode || "instant" === input.recordMode || "punchAndRoll" === input.recordMode) && (undefined === input.preRollDuration || "number" === typeof input.preRollDuration); const _io57 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io58 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && _io59(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && _io60(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && _io64(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && _io66(input.item)); const _io59 = input => undefined === input.auto || "boolean" === typeof input.auto; const _io60 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && _io61(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && _io63(input.note)); const _io61 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && _io62(input.excerpt); const _io62 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode) && (undefined === input.comments || "boolean" === typeof input.comments); const _io63 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight; const _io64 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && _io65(input.search)) && (undefined === input.sortMode || true === _iv23.has(input.sortMode)); const _io65 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed; const _io66 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight; const _io67 = input => undefined === input.fontFamilies || Array.isArray(input.fontFamilies) && input.fontFamilies.every(elem => "string" === typeof elem); const _io68 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.folded || "boolean" === typeof input.folded); const _io69 = input => (undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && _io70(input.adobe)) && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && _io71(input.rive)); const _io70 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies; const _io71 = input => undefined === input.template || "string" === typeof input.template; const _io72 = input => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering); const _io73 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings) && (undefined === input.multiplexWebSockets || "boolean" === typeof input.multiplexWebSockets); const _io74 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io75(input.events); const _io75 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && _io76(input.publishSucceeded)); const _io76 = input => Object.keys(input).every(key => {
|
|
12501
|
+
}); const _io42 = input => (undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && _io43(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && _io44(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && _io45(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io48(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && _io49(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io50(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && _io54(input.openCommand))); const _io43 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe); const _io44 = input => (undefined === input.preview || "disabled" === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "boolean" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress); const _io45 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine) && (undefined === input.suggestions || Array.isArray(input.suggestions) && input.suggestions.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io46(elem))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io47(elem))); const _io46 = input => (null === input.ifAspectRatio || undefined === input.ifAspectRatio || "string" === typeof input.ifAspectRatio) && (null === input.ifLang || undefined === input.ifLang || "string" === typeof input.ifLang) && (null === input.thenStyle || undefined === input.thenStyle || "string" === typeof input.thenStyle) && (null === input.thenMaxCharactersPerLine || undefined === input.thenMaxCharactersPerLine || "number" === typeof input.thenMaxCharactersPerLine); const _io47 = input => (null === input.label || undefined === input.label || "string" === typeof input.label) && (null === input.color || undefined === input.color || "string" === typeof input.color); const _io48 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.aspectRatio || "string" === typeof input.aspectRatio); const _io49 = input => (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.defaultEnterOption || "edit" === input.defaultEnterOption || "createNew" === input.defaultEnterOption || "none" === input.defaultEnterOption) && (undefined === input.defaultExitOption || "none" === input.defaultExitOption || "update" === input.defaultExitOption || "leave" === input.defaultExitOption); const _io50 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && _io51(input.subtitleDisclaimer); const _io51 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && _io52(input.defaultValue)); const _io52 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io53(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration); const _io53 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.value || "string" === typeof input.value); const _io54 = input => (undefined === input.url || "string" === typeof input.url) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.app || "string" === typeof input.app) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io55 = input => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && (undefined === input.voiceOver || "object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) && _io56(input.voiceOver)); const _io56 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.backgroundReductionDb || "number" === typeof input.backgroundReductionDb) && (undefined === input.recordMode || "instant" === input.recordMode || "punchAndRoll" === input.recordMode) && (undefined === input.preRollDuration || "number" === typeof input.preRollDuration); const _io57 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io58 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && _io59(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && _io60(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && _io64(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && _io66(input.item)); const _io59 = input => undefined === input.auto || "boolean" === typeof input.auto; const _io60 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && _io61(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && _io63(input.note)); const _io61 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && _io62(input.excerpt); const _io62 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode) && (undefined === input.comments || "boolean" === typeof input.comments); const _io63 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight; const _io64 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && _io65(input.search)) && (undefined === input.sortMode || true === _iv23.has(input.sortMode)); const _io65 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed; const _io66 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight; const _io67 = input => undefined === input.fontFamilies || Array.isArray(input.fontFamilies) && input.fontFamilies.every(elem => "string" === typeof elem); const _io68 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.folded || "boolean" === typeof input.folded); const _io69 = input => (undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && _io70(input.adobe)) && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && _io71(input.rive)); const _io70 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies; const _io71 = input => undefined === input.template || "string" === typeof input.template; const _io72 = input => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering); const _io73 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings) && (undefined === input.multiplexWebSockets || "boolean" === typeof input.multiplexWebSockets) && (undefined === input.systemHealth || "boolean" === typeof input.systemHealth); const _io74 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io75(input.events); const _io75 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && _io76(input.publishSucceeded)); const _io76 = input => Object.keys(input).every(key => {
|
|
12594
12502
|
const value = input[key];
|
|
12595
12503
|
if (undefined === value)
|
|
12596
12504
|
return true;
|
|
@@ -14095,6 +14003,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
14095
14003
|
path: _path + ".multiplexWebSockets",
|
|
14096
14004
|
expected: "(boolean | undefined)",
|
|
14097
14005
|
value: input.multiplexWebSockets
|
|
14006
|
+
}), undefined === input.systemHealth || "boolean" === typeof input.systemHealth || _report(_exceptionable, {
|
|
14007
|
+
path: _path + ".systemHealth",
|
|
14008
|
+
expected: "(boolean | undefined)",
|
|
14009
|
+
value: input.systemHealth
|
|
14098
14010
|
})].every(flag => flag); const _vo74 = (input, _path, _exceptionable = true) => [undefined === input.events || ("object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) || _report(_exceptionable, {
|
|
14099
14011
|
path: _path + ".events",
|
|
14100
14012
|
expected: "(__type.o68 | undefined)",
|