@nxtedition/types 23.0.49 → 23.0.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common/file.d.ts +1 -0
- package/dist/common/file.js +7 -2
- package/dist/common/settings.d.ts +1 -0
- package/dist/nxtpression.d.ts +141 -63
- package/dist/records/domains/connection/empty.d.ts +7 -0
- package/dist/records/domains/connection/facebook.d.ts +8 -0
- package/dist/records/domains/connection/file/ftp.d.ts +9 -0
- package/dist/records/domains/connection/file/ftp.js +1 -0
- package/dist/records/domains/connection/file/index.d.ts +29 -0
- package/dist/records/domains/connection/file/index.js +4 -0
- package/dist/records/domains/connection/file/s3.d.ts +6 -0
- package/dist/records/domains/connection/file/s3.js +1 -0
- package/dist/records/domains/connection/file/sftp.d.ts +12 -0
- package/dist/records/domains/connection/file/sftp.js +1 -0
- package/dist/records/domains/connection/file/smb.d.ts +9 -0
- package/dist/records/domains/connection/file/smb.js +1 -0
- package/dist/records/domains/connection/index.d.ts +38 -0
- package/dist/records/domains/connection/index.js +4 -0
- package/dist/records/domains/connection/reuters.d.ts +10 -0
- package/dist/records/domains/connection/reuters.js +1 -0
- package/dist/records/domains/index.d.ts +6 -5
- package/dist/records/domains/index.js +2 -2
- package/dist/records/domains/publish/empty.d.ts +8 -0
- package/dist/records/domains/publish/empty.js +1 -0
- package/dist/records/domains/publish/facebook.d.ts +11 -0
- package/dist/records/domains/publish/facebook.js +1 -0
- package/dist/records/domains/publish/file-legacy.d.ts +26 -0
- package/dist/records/domains/publish/file-legacy.js +1 -0
- package/dist/records/domains/publish/file.d.ts +66 -0
- package/dist/records/domains/publish/file.js +1 -0
- package/dist/records/domains/publish/index.d.ts +66 -0
- package/dist/records/domains/publish/index.js +5 -0
- package/dist/records/domains/publish/youtube.d.ts +16 -0
- package/dist/records/domains/publish/youtube.js +1 -0
- package/dist/records/index.d.ts +1 -1
- package/dist/records/utils.d.ts +4 -2
- package/dist/records/utils.tds.js +1 -1
- package/dist/records/validate/assert-guard.d.ts +3 -4
- package/dist/records/validate/assert-guard.js +474 -687
- package/dist/records/validate/assert.d.ts +3 -4
- package/dist/records/validate/assert.js +474 -687
- package/dist/records/validate/is.d.ts +3 -4
- package/dist/records/validate/is.js +39 -108
- package/dist/records/validate/schemas.d.ts +4 -5
- package/dist/records/validate/schemas.js +403 -437
- package/dist/records/validate/stringify.d.ts +3 -4
- package/dist/records/validate/stringify.js +66 -154
- package/dist/records/validate/utils.d.ts +4 -3
- package/dist/records/validate/utils.js +3 -0
- package/dist/records/validate/validate-equals.d.ts +3 -4
- package/dist/records/validate/validate-equals.js +723 -714
- package/dist/records/validate/validate.d.ts +3 -4
- package/dist/records/validate/validate.js +437 -635
- package/package.json +1 -1
- package/dist/records/domains/connection.d.ts +0 -77
- package/dist/records/domains/publish.d.ts +0 -149
- /package/dist/records/domains/{connection.js → connection/empty.js} +0 -0
- /package/dist/records/domains/{publish.js → connection/facebook.js} +0 -0
|
@@ -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~._: -]*$\">",
|
|
@@ -8316,88 +8336,70 @@ function _validateDomainRecord(domain, input) {
|
|
|
8316
8336
|
}; })()(input);
|
|
8317
8337
|
}
|
|
8318
8338
|
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 => {
|
|
8339
|
+
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
8340
|
const value = input[key];
|
|
8326
8341
|
if (undefined === value)
|
|
8327
8342
|
return true;
|
|
8328
|
-
return
|
|
8329
|
-
}); const
|
|
8343
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io6(value);
|
|
8344
|
+
}); 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
8345
|
const value = input[key];
|
|
8331
8346
|
if (undefined === value)
|
|
8332
8347
|
return true;
|
|
8333
8348
|
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;
|
|
8349
|
+
}); 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
8350
|
const value = input[key];
|
|
8338
8351
|
if (undefined === value)
|
|
8339
8352
|
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 => {
|
|
8353
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io26(value);
|
|
8354
|
+
}); 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
8355
|
if (["id", "path", "filename", "directory", "subtitle", "metafile"].some(prop => key === prop))
|
|
8362
8356
|
return true;
|
|
8363
8357
|
const value = input[key];
|
|
8364
8358
|
if (undefined === value)
|
|
8365
8359
|
return true;
|
|
8366
8360
|
return true;
|
|
8367
|
-
}); const
|
|
8361
|
+
}); 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
8362
|
if (undefined !== input.path)
|
|
8369
|
-
return
|
|
8363
|
+
return _io20(input);
|
|
8370
8364
|
else if (undefined !== input.__context)
|
|
8371
|
-
return
|
|
8365
|
+
return _io21(input);
|
|
8372
8366
|
else
|
|
8373
8367
|
return false;
|
|
8374
8368
|
})(); const _iu1 = input => (() => {
|
|
8375
|
-
if (
|
|
8369
|
+
if (undefined !== input.type && null === input.type)
|
|
8376
8370
|
return _io0(input);
|
|
8377
8371
|
else if ("facebook" === input.type)
|
|
8378
|
-
return
|
|
8379
|
-
else if (
|
|
8380
|
-
return
|
|
8372
|
+
return _io1(input);
|
|
8373
|
+
else if ("youtube" === input.type)
|
|
8374
|
+
return _io32(input);
|
|
8381
8375
|
else
|
|
8382
8376
|
return (() => {
|
|
8383
|
-
if (
|
|
8384
|
-
return
|
|
8385
|
-
if (
|
|
8386
|
-
return
|
|
8377
|
+
if (_io28(input))
|
|
8378
|
+
return _io28(input);
|
|
8379
|
+
if (_io18(input))
|
|
8380
|
+
return _io18(input);
|
|
8387
8381
|
return false;
|
|
8388
8382
|
})();
|
|
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, {
|
|
8383
|
+
})(); const _vo0 = (input, _path, _exceptionable = true) => [(undefined !== input.type || _report(_exceptionable, {
|
|
8398
8384
|
path: _path + ".type",
|
|
8399
|
-
expected: "
|
|
8385
|
+
expected: "null",
|
|
8386
|
+
value: input.type
|
|
8387
|
+
})) && (null === input.type || _report(_exceptionable, {
|
|
8388
|
+
path: _path + ".type",
|
|
8389
|
+
expected: "null",
|
|
8390
|
+
value: input.type
|
|
8391
|
+
})), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
|
|
8392
|
+
path: _path + ".asset",
|
|
8393
|
+
expected: "(null | string | undefined)",
|
|
8394
|
+
value: input.asset
|
|
8395
|
+
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["facebook" === input.type || _report(_exceptionable, {
|
|
8396
|
+
path: _path + ".type",
|
|
8397
|
+
expected: "\"facebook\"",
|
|
8400
8398
|
value: input.type
|
|
8399
|
+
}), undefined === input.pageId || "string" === typeof input.pageId || _report(_exceptionable, {
|
|
8400
|
+
path: _path + ".pageId",
|
|
8401
|
+
expected: "(string | undefined)",
|
|
8402
|
+
value: input.pageId
|
|
8401
8403
|
}), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
|
|
8402
8404
|
path: _path + ".asset",
|
|
8403
8405
|
expected: "(null | string | undefined)",
|
|
@@ -8408,35 +8410,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
8408
8410
|
value: input.connection
|
|
8409
8411
|
}), undefined === input.render || ("object" === typeof input.render && null !== input.render || _report(_exceptionable, {
|
|
8410
8412
|
path: _path + ".render",
|
|
8411
|
-
expected: "(
|
|
8413
|
+
expected: "(PublishRenderBase | undefined)",
|
|
8412
8414
|
value: input.render
|
|
8413
|
-
})) &&
|
|
8415
|
+
})) && _vo2(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
8414
8416
|
path: _path + ".render",
|
|
8415
|
-
expected: "(
|
|
8417
|
+
expected: "(PublishRenderBase | undefined)",
|
|
8416
8418
|
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, {
|
|
8419
|
+
}), true, true, true, null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
8434
8420
|
path: _path + ".error",
|
|
8435
|
-
expected: "(__type.
|
|
8421
|
+
expected: "(__type.o9 | null | undefined)",
|
|
8436
8422
|
value: input.error
|
|
8437
|
-
})) &&
|
|
8423
|
+
})) && _vo16(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
8438
8424
|
path: _path + ".error",
|
|
8439
|
-
expected: "(__type.
|
|
8425
|
+
expected: "(__type.o9 | null | undefined)",
|
|
8440
8426
|
value: input.error
|
|
8441
8427
|
}), undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
8442
8428
|
path: _path + ".messages",
|
|
@@ -8446,7 +8432,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
8446
8432
|
path: _path + ".messages[" + _index9 + "]",
|
|
8447
8433
|
expected: "Message",
|
|
8448
8434
|
value: elem
|
|
8449
|
-
})) &&
|
|
8435
|
+
})) && _vo17(elem, _path + ".messages[" + _index9 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
8450
8436
|
path: _path + ".messages[" + _index9 + "]",
|
|
8451
8437
|
expected: "Message",
|
|
8452
8438
|
value: elem
|
|
@@ -8454,35 +8440,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
8454
8440
|
path: _path + ".messages",
|
|
8455
8441
|
expected: "(Array<Message> | undefined)",
|
|
8456
8442
|
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, {
|
|
8443
|
+
})].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
8486
8444
|
path: _path + ".preset",
|
|
8487
8445
|
expected: "(string | undefined)",
|
|
8488
8446
|
value: input.preset
|
|
@@ -8494,7 +8452,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
8494
8452
|
path: _path + ".scene",
|
|
8495
8453
|
expected: "(RenderSceneObject | undefined)",
|
|
8496
8454
|
value: input.scene
|
|
8497
|
-
})) &&
|
|
8455
|
+
})) && _vo3(input.scene, _path + ".scene", true && _exceptionable) || _report(_exceptionable, {
|
|
8498
8456
|
path: _path + ".scene",
|
|
8499
8457
|
expected: "(RenderSceneObject | undefined)",
|
|
8500
8458
|
value: input.scene
|
|
@@ -8502,11 +8460,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
8502
8460
|
path: _path + ".profile",
|
|
8503
8461
|
expected: "(RenderProfileObject | undefined)",
|
|
8504
8462
|
value: input.profile
|
|
8505
|
-
})) &&
|
|
8463
|
+
})) && _vo11(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
8506
8464
|
path: _path + ".profile",
|
|
8507
8465
|
expected: "(RenderProfileObject | undefined)",
|
|
8508
8466
|
value: input.profile
|
|
8509
|
-
})].every(flag => flag); const
|
|
8467
|
+
})].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
8510
8468
|
path: _path + ".id",
|
|
8511
8469
|
expected: "(string | undefined)",
|
|
8512
8470
|
value: input.id
|
|
@@ -8516,11 +8474,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
8516
8474
|
value: input.preset
|
|
8517
8475
|
}), null === input.input || undefined === input.input || ("object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) || _report(_exceptionable, {
|
|
8518
8476
|
path: _path + ".input",
|
|
8519
|
-
expected: "(__type
|
|
8477
|
+
expected: "(__type | null | undefined)",
|
|
8520
8478
|
value: input.input
|
|
8521
|
-
})) &&
|
|
8479
|
+
})) && _vo4(input.input, _path + ".input", true && _exceptionable) || _report(_exceptionable, {
|
|
8522
8480
|
path: _path + ".input",
|
|
8523
|
-
expected: "(__type
|
|
8481
|
+
expected: "(__type | null | undefined)",
|
|
8524
8482
|
value: input.input
|
|
8525
8483
|
}), undefined === input.lang || "string" === typeof input.lang || _report(_exceptionable, {
|
|
8526
8484
|
path: _path + ".lang",
|
|
@@ -8532,19 +8490,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
8532
8490
|
value: input.subtitle
|
|
8533
8491
|
}), undefined === input.subtitleTracks || ("object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) || _report(_exceptionable, {
|
|
8534
8492
|
path: _path + ".subtitleTracks",
|
|
8535
|
-
expected: "(__type.
|
|
8493
|
+
expected: "(__type.o1 | undefined)",
|
|
8536
8494
|
value: input.subtitleTracks
|
|
8537
|
-
})) &&
|
|
8495
|
+
})) && _vo5(input.subtitleTracks, _path + ".subtitleTracks", true && _exceptionable) || _report(_exceptionable, {
|
|
8538
8496
|
path: _path + ".subtitleTracks",
|
|
8539
|
-
expected: "(__type.
|
|
8497
|
+
expected: "(__type.o1 | undefined)",
|
|
8540
8498
|
value: input.subtitleTracks
|
|
8541
8499
|
}), undefined === input.video || ("object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) || _report(_exceptionable, {
|
|
8542
8500
|
path: _path + ".video",
|
|
8543
|
-
expected: "(__type.
|
|
8501
|
+
expected: "(__type.o3 | undefined)",
|
|
8544
8502
|
value: input.video
|
|
8545
|
-
})) &&
|
|
8503
|
+
})) && _vo8(input.video, _path + ".video", true && _exceptionable) || _report(_exceptionable, {
|
|
8546
8504
|
path: _path + ".video",
|
|
8547
|
-
expected: "(__type.
|
|
8505
|
+
expected: "(__type.o3 | undefined)",
|
|
8548
8506
|
value: input.video
|
|
8549
8507
|
}), undefined === input.start || "number" === typeof input.start || _report(_exceptionable, {
|
|
8550
8508
|
path: _path + ".start",
|
|
@@ -8556,13 +8514,13 @@ function _validateDomainRecord(domain, input) {
|
|
|
8556
8514
|
value: input.end
|
|
8557
8515
|
}), undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) || _report(_exceptionable, {
|
|
8558
8516
|
path: _path + ".transcribe",
|
|
8559
|
-
expected: "(__type.
|
|
8517
|
+
expected: "(__type.o5 | undefined)",
|
|
8560
8518
|
value: input.transcribe
|
|
8561
|
-
})) &&
|
|
8519
|
+
})) && _vo10(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
8562
8520
|
path: _path + ".transcribe",
|
|
8563
|
-
expected: "(__type.
|
|
8521
|
+
expected: "(__type.o5 | undefined)",
|
|
8564
8522
|
value: input.transcribe
|
|
8565
|
-
})].every(flag => flag); const
|
|
8523
|
+
})].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
8566
8524
|
path: _path + ".type",
|
|
8567
8525
|
expected: "(string | undefined)",
|
|
8568
8526
|
value: input.type
|
|
@@ -8570,20 +8528,20 @@ function _validateDomainRecord(domain, input) {
|
|
|
8570
8528
|
path: _path + ".file",
|
|
8571
8529
|
expected: "(null | string | undefined)",
|
|
8572
8530
|
value: input.file
|
|
8573
|
-
})].every(flag => flag); const
|
|
8531
|
+
})].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
8574
8532
|
const value = input[key];
|
|
8575
8533
|
if (undefined === value)
|
|
8576
8534
|
return true;
|
|
8577
8535
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
|
8578
8536
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
8579
|
-
expected: "__type.
|
|
8537
|
+
expected: "__type.o2",
|
|
8580
8538
|
value: value
|
|
8581
|
-
})) &&
|
|
8539
|
+
})) && _vo6(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
8582
8540
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
8583
|
-
expected: "__type.
|
|
8541
|
+
expected: "__type.o2",
|
|
8584
8542
|
value: value
|
|
8585
8543
|
});
|
|
8586
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
8544
|
+
}).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
8545
|
path: _path + ".style",
|
|
8588
8546
|
expected: "(null | string | undefined)",
|
|
8589
8547
|
value: input.style
|
|
@@ -8591,11 +8549,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
8591
8549
|
path: _path + ".styleOverrides",
|
|
8592
8550
|
expected: "(SubtitleStyle | undefined)",
|
|
8593
8551
|
value: input.styleOverrides
|
|
8594
|
-
})) &&
|
|
8552
|
+
})) && _vo7(input.styleOverrides, _path + ".styleOverrides", true && _exceptionable) || _report(_exceptionable, {
|
|
8595
8553
|
path: _path + ".styleOverrides",
|
|
8596
8554
|
expected: "(SubtitleStyle | undefined)",
|
|
8597
8555
|
value: input.styleOverrides
|
|
8598
|
-
})].every(flag => flag); const
|
|
8556
|
+
})].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
8599
8557
|
path: _path + ".name",
|
|
8600
8558
|
expected: "(string | undefined)",
|
|
8601
8559
|
value: input.name
|
|
@@ -8687,15 +8645,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
8687
8645
|
path: _path + ".encoding",
|
|
8688
8646
|
expected: "(string | undefined)",
|
|
8689
8647
|
value: input.encoding
|
|
8690
|
-
})].every(flag => flag); const
|
|
8648
|
+
})].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
8649
|
path: _path + ".crop",
|
|
8692
|
-
expected: "(__type.
|
|
8650
|
+
expected: "(__type.o4 | undefined)",
|
|
8693
8651
|
value: input.crop
|
|
8694
|
-
})) &&
|
|
8652
|
+
})) && _vo9(input.crop, _path + ".crop", true && _exceptionable) || _report(_exceptionable, {
|
|
8695
8653
|
path: _path + ".crop",
|
|
8696
|
-
expected: "(__type.
|
|
8654
|
+
expected: "(__type.o4 | undefined)",
|
|
8697
8655
|
value: input.crop
|
|
8698
|
-
})].every(flag => flag); const
|
|
8656
|
+
})].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [undefined === input.x || "number" === typeof input.x || _report(_exceptionable, {
|
|
8699
8657
|
path: _path + ".x",
|
|
8700
8658
|
expected: "(number | undefined)",
|
|
8701
8659
|
value: input.x
|
|
@@ -8711,7 +8669,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
8711
8669
|
path: _path + ".height",
|
|
8712
8670
|
expected: "(number | undefined)",
|
|
8713
8671
|
value: input.height
|
|
8714
|
-
})].every(flag => flag); const
|
|
8672
|
+
})].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => [undefined === input.language || "string" === typeof input.language || _report(_exceptionable, {
|
|
8715
8673
|
path: _path + ".language",
|
|
8716
8674
|
expected: "(string | undefined)",
|
|
8717
8675
|
value: input.language
|
|
@@ -8719,48 +8677,48 @@ function _validateDomainRecord(domain, input) {
|
|
|
8719
8677
|
path: _path + ".pan",
|
|
8720
8678
|
expected: "(Array<number> | undefined)",
|
|
8721
8679
|
value: input.pan
|
|
8722
|
-
})) && input.pan.map((elem,
|
|
8723
|
-
path: _path + ".pan[" +
|
|
8680
|
+
})) && input.pan.map((elem, _index10) => "number" === typeof elem || _report(_exceptionable, {
|
|
8681
|
+
path: _path + ".pan[" + _index10 + "]",
|
|
8724
8682
|
expected: "number",
|
|
8725
8683
|
value: elem
|
|
8726
8684
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
8727
8685
|
path: _path + ".pan",
|
|
8728
8686
|
expected: "(Array<number> | undefined)",
|
|
8729
8687
|
value: input.pan
|
|
8730
|
-
})].every(flag => flag); const
|
|
8688
|
+
})].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => ["string" === typeof input.format || _report(_exceptionable, {
|
|
8731
8689
|
path: _path + ".format",
|
|
8732
8690
|
expected: "string",
|
|
8733
8691
|
value: input.format
|
|
8734
8692
|
}), undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe || _report(_exceptionable, {
|
|
8735
8693
|
path: _path + ".transcribe",
|
|
8736
|
-
expected: "(__type.
|
|
8694
|
+
expected: "(__type.o6 | undefined)",
|
|
8737
8695
|
value: input.transcribe
|
|
8738
|
-
})) &&
|
|
8696
|
+
})) && _vo12(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
8739
8697
|
path: _path + ".transcribe",
|
|
8740
|
-
expected: "(__type.
|
|
8698
|
+
expected: "(__type.o6 | undefined)",
|
|
8741
8699
|
value: input.transcribe
|
|
8742
8700
|
}), undefined === input.translate || ("object" === typeof input.translate && null !== input.translate || _report(_exceptionable, {
|
|
8743
8701
|
path: _path + ".translate",
|
|
8744
|
-
expected: "(__type.
|
|
8702
|
+
expected: "(__type.o7 | undefined)",
|
|
8745
8703
|
value: input.translate
|
|
8746
|
-
})) &&
|
|
8704
|
+
})) && _vo13(input.translate, _path + ".translate", true && _exceptionable) || _report(_exceptionable, {
|
|
8747
8705
|
path: _path + ".translate",
|
|
8748
|
-
expected: "(__type.
|
|
8706
|
+
expected: "(__type.o7 | undefined)",
|
|
8749
8707
|
value: input.translate
|
|
8750
8708
|
}), undefined === input.audio || ("object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) || _report(_exceptionable, {
|
|
8751
8709
|
path: _path + ".audio",
|
|
8752
|
-
expected: "(__type.
|
|
8710
|
+
expected: "(__type.o8 | undefined)",
|
|
8753
8711
|
value: input.audio
|
|
8754
|
-
})) &&
|
|
8712
|
+
})) && _vo14(input.audio, _path + ".audio", true && _exceptionable) || _report(_exceptionable, {
|
|
8755
8713
|
path: _path + ".audio",
|
|
8756
|
-
expected: "(__type.
|
|
8714
|
+
expected: "(__type.o8 | undefined)",
|
|
8757
8715
|
value: input.audio
|
|
8758
8716
|
}), true, undefined === input.pick || (Array.isArray(input.pick) || _report(_exceptionable, {
|
|
8759
8717
|
path: _path + ".pick",
|
|
8760
8718
|
expected: "(Array<string> | undefined)",
|
|
8761
8719
|
value: input.pick
|
|
8762
|
-
})) && input.pick.map((elem,
|
|
8763
|
-
path: _path + ".pick[" +
|
|
8720
|
+
})) && input.pick.map((elem, _index11) => "string" === typeof elem || _report(_exceptionable, {
|
|
8721
|
+
path: _path + ".pick[" + _index11 + "]",
|
|
8764
8722
|
expected: "string",
|
|
8765
8723
|
value: elem
|
|
8766
8724
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -8775,19 +8733,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
8775
8733
|
path: _path + ".subtitle",
|
|
8776
8734
|
expected: "(SubtitleProfile | string | undefined)",
|
|
8777
8735
|
value: input.subtitle
|
|
8778
|
-
})) &&
|
|
8736
|
+
})) && _vo15(input.subtitle, _path + ".subtitle", true && _exceptionable) || _report(_exceptionable, {
|
|
8779
8737
|
path: _path + ".subtitle",
|
|
8780
8738
|
expected: "(SubtitleProfile | string | undefined)",
|
|
8781
8739
|
value: input.subtitle
|
|
8782
|
-
}))].every(flag => flag); const
|
|
8740
|
+
}))].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => ["string" === typeof input.engine || _report(_exceptionable, {
|
|
8783
8741
|
path: _path + ".engine",
|
|
8784
8742
|
expected: "string",
|
|
8785
8743
|
value: input.engine
|
|
8786
|
-
})].every(flag => flag); const
|
|
8744
|
+
})].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => ["string" === typeof input.language || _report(_exceptionable, {
|
|
8787
8745
|
path: _path + ".language",
|
|
8788
8746
|
expected: "string",
|
|
8789
8747
|
value: input.language
|
|
8790
|
-
})].every(flag => flag); const
|
|
8748
|
+
})].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [undefined === input.codec || "string" === typeof input.codec || _report(_exceptionable, {
|
|
8791
8749
|
path: _path + ".codec",
|
|
8792
8750
|
expected: "(string | undefined)",
|
|
8793
8751
|
value: input.codec
|
|
@@ -8803,7 +8761,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
8803
8761
|
path: _path + ".split",
|
|
8804
8762
|
expected: "(boolean | undefined)",
|
|
8805
8763
|
value: input.split
|
|
8806
|
-
})].every(flag => flag); const
|
|
8764
|
+
})].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [undefined === input.lang || "string" === typeof input.lang || _report(_exceptionable, {
|
|
8807
8765
|
path: _path + ".lang",
|
|
8808
8766
|
expected: "(string | undefined)",
|
|
8809
8767
|
value: input.lang
|
|
@@ -8811,16 +8769,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
8811
8769
|
path: _path + ".style",
|
|
8812
8770
|
expected: "(string | undefined)",
|
|
8813
8771
|
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, {
|
|
8772
|
+
})].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => ["string" === typeof input.method || _report(_exceptionable, {
|
|
8820
8773
|
path: _path + ".method",
|
|
8821
8774
|
expected: "string",
|
|
8822
8775
|
value: input.method
|
|
8823
|
-
})].every(flag => flag); const
|
|
8776
|
+
})].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => ["number" === typeof input.level || _report(_exceptionable, {
|
|
8824
8777
|
path: _path + ".level",
|
|
8825
8778
|
expected: "number",
|
|
8826
8779
|
value: input.level
|
|
@@ -8832,80 +8785,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
8832
8785
|
path: _path + ".msg",
|
|
8833
8786
|
expected: "string",
|
|
8834
8787
|
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, {
|
|
8788
|
+
})].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => ["file" === input.type || _report(_exceptionable, {
|
|
8840
8789
|
path: _path + ".type",
|
|
8841
|
-
expected: "\"
|
|
8790
|
+
expected: "\"file\"",
|
|
8842
8791
|
value: input.type
|
|
8843
|
-
}),
|
|
8844
|
-
path: _path + ".
|
|
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, {
|
|
8908
|
-
path: _path + ".directory",
|
|
8792
|
+
}), undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
8793
|
+
path: _path + ".directory",
|
|
8909
8794
|
expected: "(string | undefined)",
|
|
8910
8795
|
value: input.directory
|
|
8911
8796
|
}), undefined === input.filename || "string" === typeof input.filename || _report(_exceptionable, {
|
|
@@ -8916,7 +8801,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
8916
8801
|
path: _path + ".renders",
|
|
8917
8802
|
expected: "(Record<string, FilePublishRender> | undefined)",
|
|
8918
8803
|
value: input.renders
|
|
8919
|
-
})) &&
|
|
8804
|
+
})) && _vo19(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
8920
8805
|
path: _path + ".renders",
|
|
8921
8806
|
expected: "(Record<string, FilePublishRender> | undefined)",
|
|
8922
8807
|
value: input.renders
|
|
@@ -8924,7 +8809,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
8924
8809
|
path: _path + ".draft",
|
|
8925
8810
|
expected: "(FilePublishDraft | undefined)",
|
|
8926
8811
|
value: input.draft
|
|
8927
|
-
})) &&
|
|
8812
|
+
})) && _vo23(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
8928
8813
|
path: _path + ".draft",
|
|
8929
8814
|
expected: "(FilePublishDraft | undefined)",
|
|
8930
8815
|
value: input.draft
|
|
@@ -8932,7 +8817,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
8932
8817
|
path: _path + ".remote",
|
|
8933
8818
|
expected: "(FilePublishRemote | undefined)",
|
|
8934
8819
|
value: input.remote
|
|
8935
|
-
})) &&
|
|
8820
|
+
})) && _vo24(input.remote, _path + ".remote", true && _exceptionable) || _report(_exceptionable, {
|
|
8936
8821
|
path: _path + ".remote",
|
|
8937
8822
|
expected: "(FilePublishRemote | undefined)",
|
|
8938
8823
|
value: input.remote
|
|
@@ -8940,14 +8825,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
8940
8825
|
path: _path + ".published",
|
|
8941
8826
|
expected: "(FilePublishPublished | undefined)",
|
|
8942
8827
|
value: input.published
|
|
8943
|
-
})) &&
|
|
8828
|
+
})) && _vo27(input.published, _path + ".published", true && _exceptionable) || _report(_exceptionable, {
|
|
8944
8829
|
path: _path + ".published",
|
|
8945
8830
|
expected: "(FilePublishPublished | undefined)",
|
|
8946
8831
|
value: input.published
|
|
8947
|
-
}), "file" === input.type || _report(_exceptionable, {
|
|
8948
|
-
path: _path + ".type",
|
|
8949
|
-
expected: "\"file\"",
|
|
8950
|
-
value: input.type
|
|
8951
8832
|
}), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
|
|
8952
8833
|
path: _path + ".asset",
|
|
8953
8834
|
expected: "(null | string | undefined)",
|
|
@@ -8958,62 +8839,58 @@ function _validateDomainRecord(domain, input) {
|
|
|
8958
8839
|
value: input.connection
|
|
8959
8840
|
}), undefined === input.render || ("object" === typeof input.render && null !== input.render || _report(_exceptionable, {
|
|
8960
8841
|
path: _path + ".render",
|
|
8961
|
-
expected: "(
|
|
8842
|
+
expected: "(PublishRenderBase | undefined)",
|
|
8962
8843
|
value: input.render
|
|
8963
|
-
})) &&
|
|
8844
|
+
})) && _vo2(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
8964
8845
|
path: _path + ".render",
|
|
8965
|
-
expected: "(
|
|
8846
|
+
expected: "(PublishRenderBase | undefined)",
|
|
8966
8847
|
value: input.render
|
|
8967
8848
|
}), null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
8968
8849
|
path: _path + ".error",
|
|
8969
|
-
expected: "(__type.
|
|
8850
|
+
expected: "(__type.o9 | null | undefined)",
|
|
8970
8851
|
value: input.error
|
|
8971
|
-
})) &&
|
|
8852
|
+
})) && _vo16(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
8972
8853
|
path: _path + ".error",
|
|
8973
|
-
expected: "(__type.
|
|
8854
|
+
expected: "(__type.o9 | null | undefined)",
|
|
8974
8855
|
value: input.error
|
|
8975
8856
|
}), undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
8976
8857
|
path: _path + ".messages",
|
|
8977
8858
|
expected: "(Array<Message> | undefined)",
|
|
8978
8859
|
value: input.messages
|
|
8979
|
-
})) && input.messages.map((elem,
|
|
8980
|
-
path: _path + ".messages[" +
|
|
8860
|
+
})) && input.messages.map((elem, _index12) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
8861
|
+
path: _path + ".messages[" + _index12 + "]",
|
|
8981
8862
|
expected: "Message",
|
|
8982
8863
|
value: elem
|
|
8983
|
-
})) &&
|
|
8984
|
-
path: _path + ".messages[" +
|
|
8864
|
+
})) && _vo17(elem, _path + ".messages[" + _index12 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
8865
|
+
path: _path + ".messages[" + _index12 + "]",
|
|
8985
8866
|
expected: "Message",
|
|
8986
8867
|
value: elem
|
|
8987
8868
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
8988
8869
|
path: _path + ".messages",
|
|
8989
8870
|
expected: "(Array<Message> | undefined)",
|
|
8990
8871
|
value: input.messages
|
|
8991
|
-
})].every(flag => flag); const
|
|
8872
|
+
})].every(flag => flag); const _vo19 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
8992
8873
|
const value = input[key];
|
|
8993
8874
|
if (undefined === value)
|
|
8994
8875
|
return true;
|
|
8995
8876
|
return (null !== value || _report(_exceptionable, {
|
|
8996
8877
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
8997
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
8878
|
+
expected: "(ResolvedFilePublishRender | __type.o10 | string)",
|
|
8998
8879
|
value: value
|
|
8999
8880
|
})) && (undefined !== value || _report(_exceptionable, {
|
|
9000
8881
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9001
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
8882
|
+
expected: "(ResolvedFilePublishRender | __type.o10 | string)",
|
|
9002
8883
|
value: value
|
|
9003
8884
|
})) && ("string" === typeof value || ("object" === typeof value && null !== value || _report(_exceptionable, {
|
|
9004
8885
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9005
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
8886
|
+
expected: "(ResolvedFilePublishRender | __type.o10 | string)",
|
|
9006
8887
|
value: value
|
|
9007
8888
|
})) && _vu0(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
9008
8889
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9009
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
8890
|
+
expected: "(ResolvedFilePublishRender | __type.o10 | string)",
|
|
9010
8891
|
value: value
|
|
9011
8892
|
}));
|
|
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, {
|
|
8893
|
+
}).every(flag => flag)].every(flag => flag); const _vo20 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
9017
8894
|
path: _path + ".name",
|
|
9018
8895
|
expected: "(string | undefined)",
|
|
9019
8896
|
value: input.name
|
|
@@ -9029,6 +8906,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
9029
8906
|
path: _path + ".ignoreEmptyScene",
|
|
9030
8907
|
expected: "(boolean | undefined)",
|
|
9031
8908
|
value: input.ignoreEmptyScene
|
|
8909
|
+
}), undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
8910
|
+
path: _path + ".preset",
|
|
8911
|
+
expected: "(string | undefined)",
|
|
8912
|
+
value: input.preset
|
|
9032
8913
|
}), "string" === typeof input.type || _report(_exceptionable, {
|
|
9033
8914
|
path: _path + ".type",
|
|
9034
8915
|
expected: "string",
|
|
@@ -9037,7 +8918,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9037
8918
|
path: _path + ".scene",
|
|
9038
8919
|
expected: "(RenderSceneObject | undefined)",
|
|
9039
8920
|
value: input.scene
|
|
9040
|
-
})) &&
|
|
8921
|
+
})) && _vo3(input.scene, _path + ".scene", true && _exceptionable) || _report(_exceptionable, {
|
|
9041
8922
|
path: _path + ".scene",
|
|
9042
8923
|
expected: "(RenderSceneObject | undefined)",
|
|
9043
8924
|
value: input.scene
|
|
@@ -9045,31 +8926,31 @@ function _validateDomainRecord(domain, input) {
|
|
|
9045
8926
|
path: _path + ".profile",
|
|
9046
8927
|
expected: "(RenderProfileObject | undefined)",
|
|
9047
8928
|
value: input.profile
|
|
9048
|
-
})) &&
|
|
8929
|
+
})) && _vo11(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
9049
8930
|
path: _path + ".profile",
|
|
9050
8931
|
expected: "(RenderProfileObject | undefined)",
|
|
9051
8932
|
value: input.profile
|
|
9052
|
-
})].every(flag => flag); const
|
|
8933
|
+
})].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
9053
8934
|
path: _path + ".__context",
|
|
9054
|
-
expected: "__type.
|
|
8935
|
+
expected: "__type.o11",
|
|
9055
8936
|
value: input.__context
|
|
9056
|
-
})) &&
|
|
8937
|
+
})) && _vo22(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
9057
8938
|
path: _path + ".__context",
|
|
9058
|
-
expected: "__type.
|
|
8939
|
+
expected: "__type.o11",
|
|
9059
8940
|
value: input.__context
|
|
9060
8941
|
}), ("object" === typeof input.__returnValue && null !== input.__returnValue || _report(_exceptionable, {
|
|
9061
8942
|
path: _path + ".__returnValue",
|
|
9062
8943
|
expected: "ResolvedFilePublishRender",
|
|
9063
8944
|
value: input.__returnValue
|
|
9064
|
-
})) &&
|
|
8945
|
+
})) && _vo20(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
9065
8946
|
path: _path + ".__returnValue",
|
|
9066
8947
|
expected: "ResolvedFilePublishRender",
|
|
9067
8948
|
value: input.__returnValue
|
|
9068
|
-
})].every(flag => flag); const
|
|
8949
|
+
})].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => [("object" === typeof input.publish && null !== input.publish || _report(_exceptionable, {
|
|
9069
8950
|
path: _path + ".publish",
|
|
9070
8951
|
expected: "FilePublishRecord",
|
|
9071
8952
|
value: input.publish
|
|
9072
|
-
})) &&
|
|
8953
|
+
})) && _vo18(input.publish, _path + ".publish", true && _exceptionable) || _report(_exceptionable, {
|
|
9073
8954
|
path: _path + ".publish",
|
|
9074
8955
|
expected: "FilePublishRecord",
|
|
9075
8956
|
value: input.publish
|
|
@@ -9081,7 +8962,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9081
8962
|
path: _path + ".name",
|
|
9082
8963
|
expected: "string",
|
|
9083
8964
|
value: input.name
|
|
9084
|
-
})].every(flag => flag); const
|
|
8965
|
+
})].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
9085
8966
|
path: _path + ".directory",
|
|
9086
8967
|
expected: "(string | undefined)",
|
|
9087
8968
|
value: input.directory
|
|
@@ -9089,14 +8970,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9089
8970
|
path: _path + ".filename",
|
|
9090
8971
|
expected: "(string | undefined)",
|
|
9091
8972
|
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, {
|
|
8973
|
+
})].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
9100
8974
|
path: _path + ".directory",
|
|
9101
8975
|
expected: "(string | undefined)",
|
|
9102
8976
|
value: input.directory
|
|
@@ -9108,18 +8982,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
9108
8982
|
path: _path + ".renders",
|
|
9109
8983
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
9110
8984
|
value: input.renders
|
|
9111
|
-
})) &&
|
|
8985
|
+
})) && _vo25(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
9112
8986
|
path: _path + ".renders",
|
|
9113
8987
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
9114
8988
|
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 => {
|
|
8989
|
+
})].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
9123
8990
|
const value = input[key];
|
|
9124
8991
|
if (undefined === value)
|
|
9125
8992
|
return true;
|
|
@@ -9127,12 +8994,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
9127
8994
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9128
8995
|
expected: "FilePublishRemoteRender",
|
|
9129
8996
|
value: value
|
|
9130
|
-
})) &&
|
|
8997
|
+
})) && _vo26(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
9131
8998
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9132
8999
|
expected: "FilePublishRemoteRender",
|
|
9133
9000
|
value: value
|
|
9134
9001
|
});
|
|
9135
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
9002
|
+
}).every(flag => flag)].every(flag => flag); const _vo26 = (input, _path, _exceptionable = true) => [undefined === input.path || "string" === typeof input.path || _report(_exceptionable, {
|
|
9136
9003
|
path: _path + ".path",
|
|
9137
9004
|
expected: "(string | undefined)",
|
|
9138
9005
|
value: input.path
|
|
@@ -9140,12 +9007,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
9140
9007
|
path: _path + ".messages",
|
|
9141
9008
|
expected: "(Array<Message> | undefined)",
|
|
9142
9009
|
value: input.messages
|
|
9143
|
-
})) && input.messages.map((elem,
|
|
9144
|
-
path: _path + ".messages[" +
|
|
9010
|
+
})) && input.messages.map((elem, _index13) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
9011
|
+
path: _path + ".messages[" + _index13 + "]",
|
|
9145
9012
|
expected: "Message",
|
|
9146
9013
|
value: elem
|
|
9147
|
-
})) &&
|
|
9148
|
-
path: _path + ".messages[" +
|
|
9014
|
+
})) && _vo17(elem, _path + ".messages[" + _index13 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
9015
|
+
path: _path + ".messages[" + _index13 + "]",
|
|
9149
9016
|
expected: "Message",
|
|
9150
9017
|
value: elem
|
|
9151
9018
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -9164,7 +9031,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9164
9031
|
path: _path + ".source",
|
|
9165
9032
|
expected: "(string | undefined)",
|
|
9166
9033
|
value: input.source
|
|
9167
|
-
})].every(flag => flag); const
|
|
9034
|
+
})].every(flag => flag); const _vo27 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
9168
9035
|
path: _path + ".directory",
|
|
9169
9036
|
expected: "(string | undefined)",
|
|
9170
9037
|
value: input.directory
|
|
@@ -9172,14 +9039,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
9172
9039
|
path: _path + ".filename",
|
|
9173
9040
|
expected: "string",
|
|
9174
9041
|
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, {
|
|
9042
|
+
})].every(flag => flag); const _vo28 = (input, _path, _exceptionable = true) => ["file" === input.type || _report(_exceptionable, {
|
|
9043
|
+
path: _path + ".type",
|
|
9044
|
+
expected: "\"file\"",
|
|
9045
|
+
value: input.type
|
|
9046
|
+
}), undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
9183
9047
|
path: _path + ".directory",
|
|
9184
9048
|
expected: "(string | undefined)",
|
|
9185
9049
|
value: input.directory
|
|
@@ -9191,7 +9055,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9191
9055
|
path: _path + ".draft",
|
|
9192
9056
|
expected: "(FilePublishDraft | undefined)",
|
|
9193
9057
|
value: input.draft
|
|
9194
|
-
})) &&
|
|
9058
|
+
})) && _vo23(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
9195
9059
|
path: _path + ".draft",
|
|
9196
9060
|
expected: "(FilePublishDraft | undefined)",
|
|
9197
9061
|
value: input.draft
|
|
@@ -9199,7 +9063,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9199
9063
|
path: _path + ".remote",
|
|
9200
9064
|
expected: "(FilePublishRemoteLegacy | undefined)",
|
|
9201
9065
|
value: input.remote
|
|
9202
|
-
})) &&
|
|
9066
|
+
})) && _vo29(input.remote, _path + ".remote", true && _exceptionable) || _report(_exceptionable, {
|
|
9203
9067
|
path: _path + ".remote",
|
|
9204
9068
|
expected: "(FilePublishRemoteLegacy | undefined)",
|
|
9205
9069
|
value: input.remote
|
|
@@ -9207,7 +9071,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9207
9071
|
path: _path + ".published",
|
|
9208
9072
|
expected: "(FilePublishPublished | undefined)",
|
|
9209
9073
|
value: input.published
|
|
9210
|
-
})) &&
|
|
9074
|
+
})) && _vo27(input.published, _path + ".published", true && _exceptionable) || _report(_exceptionable, {
|
|
9211
9075
|
path: _path + ".published",
|
|
9212
9076
|
expected: "(FilePublishPublished | undefined)",
|
|
9213
9077
|
value: input.published
|
|
@@ -9219,11 +9083,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9219
9083
|
path: _path + ".renders",
|
|
9220
9084
|
expected: "undefined",
|
|
9221
9085
|
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, {
|
|
9086
|
+
})), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
|
|
9227
9087
|
path: _path + ".asset",
|
|
9228
9088
|
expected: "(null | string | undefined)",
|
|
9229
9089
|
value: input.asset
|
|
@@ -9233,37 +9093,37 @@ function _validateDomainRecord(domain, input) {
|
|
|
9233
9093
|
value: input.connection
|
|
9234
9094
|
}), undefined === input.render || ("object" === typeof input.render && null !== input.render || _report(_exceptionable, {
|
|
9235
9095
|
path: _path + ".render",
|
|
9236
|
-
expected: "(
|
|
9096
|
+
expected: "(PublishRenderBase | undefined)",
|
|
9237
9097
|
value: input.render
|
|
9238
|
-
})) &&
|
|
9098
|
+
})) && _vo2(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
9239
9099
|
path: _path + ".render",
|
|
9240
|
-
expected: "(
|
|
9100
|
+
expected: "(PublishRenderBase | undefined)",
|
|
9241
9101
|
value: input.render
|
|
9242
9102
|
}), null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
9243
9103
|
path: _path + ".error",
|
|
9244
|
-
expected: "(__type.
|
|
9104
|
+
expected: "(__type.o9 | null | undefined)",
|
|
9245
9105
|
value: input.error
|
|
9246
|
-
})) &&
|
|
9106
|
+
})) && _vo16(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
9247
9107
|
path: _path + ".error",
|
|
9248
|
-
expected: "(__type.
|
|
9108
|
+
expected: "(__type.o9 | null | undefined)",
|
|
9249
9109
|
value: input.error
|
|
9250
9110
|
}), undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
9251
9111
|
path: _path + ".messages",
|
|
9252
9112
|
expected: "(Array<Message> | undefined)",
|
|
9253
9113
|
value: input.messages
|
|
9254
|
-
})) && input.messages.map((elem,
|
|
9255
|
-
path: _path + ".messages[" +
|
|
9114
|
+
})) && input.messages.map((elem, _index14) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
9115
|
+
path: _path + ".messages[" + _index14 + "]",
|
|
9256
9116
|
expected: "Message",
|
|
9257
9117
|
value: elem
|
|
9258
|
-
})) &&
|
|
9259
|
-
path: _path + ".messages[" +
|
|
9118
|
+
})) && _vo17(elem, _path + ".messages[" + _index14 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
9119
|
+
path: _path + ".messages[" + _index14 + "]",
|
|
9260
9120
|
expected: "Message",
|
|
9261
9121
|
value: elem
|
|
9262
9122
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
9263
9123
|
path: _path + ".messages",
|
|
9264
9124
|
expected: "(Array<Message> | undefined)",
|
|
9265
9125
|
value: input.messages
|
|
9266
|
-
})].every(flag => flag); const
|
|
9126
|
+
})].every(flag => flag); const _vo29 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
9267
9127
|
path: _path + ".id",
|
|
9268
9128
|
expected: "(string | undefined)",
|
|
9269
9129
|
value: input.id
|
|
@@ -9281,19 +9141,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
9281
9141
|
value: input.directory
|
|
9282
9142
|
}), undefined === input.subtitle || ("object" === typeof input.subtitle && null !== input.subtitle || _report(_exceptionable, {
|
|
9283
9143
|
path: _path + ".subtitle",
|
|
9284
|
-
expected: "(__type.
|
|
9144
|
+
expected: "(__type.o12 | undefined)",
|
|
9285
9145
|
value: input.subtitle
|
|
9286
|
-
})) &&
|
|
9146
|
+
})) && _vo30(input.subtitle, _path + ".subtitle", true && _exceptionable) || _report(_exceptionable, {
|
|
9287
9147
|
path: _path + ".subtitle",
|
|
9288
|
-
expected: "(__type.
|
|
9148
|
+
expected: "(__type.o12 | undefined)",
|
|
9289
9149
|
value: input.subtitle
|
|
9290
9150
|
}), undefined === input.metafile || ("object" === typeof input.metafile && null !== input.metafile || _report(_exceptionable, {
|
|
9291
9151
|
path: _path + ".metafile",
|
|
9292
|
-
expected: "(__type.
|
|
9152
|
+
expected: "(__type.o13 | undefined)",
|
|
9293
9153
|
value: input.metafile
|
|
9294
|
-
})) &&
|
|
9154
|
+
})) && _vo31(input.metafile, _path + ".metafile", true && _exceptionable) || _report(_exceptionable, {
|
|
9295
9155
|
path: _path + ".metafile",
|
|
9296
|
-
expected: "(__type.
|
|
9156
|
+
expected: "(__type.o13 | undefined)",
|
|
9297
9157
|
value: input.metafile
|
|
9298
9158
|
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
9299
9159
|
if (["id", "path", "filename", "directory", "subtitle", "metafile"].some(prop => key === prop))
|
|
@@ -9302,46 +9162,114 @@ function _validateDomainRecord(domain, input) {
|
|
|
9302
9162
|
if (undefined === value)
|
|
9303
9163
|
return true;
|
|
9304
9164
|
return true;
|
|
9305
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
9165
|
+
}).every(flag => flag)].every(flag => flag); const _vo30 = (input, _path, _exceptionable = true) => ["string" === typeof input.path || _report(_exceptionable, {
|
|
9306
9166
|
path: _path + ".path",
|
|
9307
9167
|
expected: "string",
|
|
9308
9168
|
value: input.path
|
|
9309
|
-
})].every(flag => flag); const
|
|
9169
|
+
})].every(flag => flag); const _vo31 = (input, _path, _exceptionable = true) => ["string" === typeof input.path || _report(_exceptionable, {
|
|
9310
9170
|
path: _path + ".path",
|
|
9311
9171
|
expected: "string",
|
|
9312
9172
|
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, {
|
|
9173
|
+
})].every(flag => flag); const _vo32 = (input, _path, _exceptionable = true) => ["youtube" === input.type || _report(_exceptionable, {
|
|
9318
9174
|
path: _path + ".type",
|
|
9319
|
-
expected: "
|
|
9175
|
+
expected: "\"youtube\"",
|
|
9320
9176
|
value: input.type
|
|
9321
|
-
})
|
|
9177
|
+
}), undefined === input.draft || ("object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) || _report(_exceptionable, {
|
|
9178
|
+
path: _path + ".draft",
|
|
9179
|
+
expected: "(__type.o14 | undefined)",
|
|
9180
|
+
value: input.draft
|
|
9181
|
+
})) && _vo33(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
9182
|
+
path: _path + ".draft",
|
|
9183
|
+
expected: "(__type.o14 | undefined)",
|
|
9184
|
+
value: input.draft
|
|
9185
|
+
}), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
|
|
9322
9186
|
path: _path + ".asset",
|
|
9323
9187
|
expected: "(null | string | undefined)",
|
|
9324
9188
|
value: input.asset
|
|
9189
|
+
}), undefined === input.connection || "string" === typeof input.connection || _report(_exceptionable, {
|
|
9190
|
+
path: _path + ".connection",
|
|
9191
|
+
expected: "(string | undefined)",
|
|
9192
|
+
value: input.connection
|
|
9193
|
+
}), undefined === input.render || ("object" === typeof input.render && null !== input.render || _report(_exceptionable, {
|
|
9194
|
+
path: _path + ".render",
|
|
9195
|
+
expected: "(PublishRenderBase | undefined)",
|
|
9196
|
+
value: input.render
|
|
9197
|
+
})) && _vo2(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
9198
|
+
path: _path + ".render",
|
|
9199
|
+
expected: "(PublishRenderBase | undefined)",
|
|
9200
|
+
value: input.render
|
|
9201
|
+
}), true, true, null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
9202
|
+
path: _path + ".error",
|
|
9203
|
+
expected: "(__type.o9 | null | undefined)",
|
|
9204
|
+
value: input.error
|
|
9205
|
+
})) && _vo16(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
9206
|
+
path: _path + ".error",
|
|
9207
|
+
expected: "(__type.o9 | null | undefined)",
|
|
9208
|
+
value: input.error
|
|
9209
|
+
}), undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
9210
|
+
path: _path + ".messages",
|
|
9211
|
+
expected: "(Array<Message> | undefined)",
|
|
9212
|
+
value: input.messages
|
|
9213
|
+
})) && input.messages.map((elem, _index15) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
9214
|
+
path: _path + ".messages[" + _index15 + "]",
|
|
9215
|
+
expected: "Message",
|
|
9216
|
+
value: elem
|
|
9217
|
+
})) && _vo17(elem, _path + ".messages[" + _index15 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
9218
|
+
path: _path + ".messages[" + _index15 + "]",
|
|
9219
|
+
expected: "Message",
|
|
9220
|
+
value: elem
|
|
9221
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
9222
|
+
path: _path + ".messages",
|
|
9223
|
+
expected: "(Array<Message> | undefined)",
|
|
9224
|
+
value: input.messages
|
|
9225
|
+
})].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, {
|
|
9226
|
+
path: _path + ".snippet",
|
|
9227
|
+
expected: "(__type.o15 | undefined)",
|
|
9228
|
+
value: input.snippet
|
|
9229
|
+
})) && _vo34(input.snippet, _path + ".snippet", true && _exceptionable) || _report(_exceptionable, {
|
|
9230
|
+
path: _path + ".snippet",
|
|
9231
|
+
expected: "(__type.o15 | undefined)",
|
|
9232
|
+
value: input.snippet
|
|
9233
|
+
})].every(flag => flag); const _vo34 = (input, _path, _exceptionable = true) => [undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
9234
|
+
path: _path + ".title",
|
|
9235
|
+
expected: "(string | undefined)",
|
|
9236
|
+
value: input.title
|
|
9237
|
+
}), undefined === input.tags || (Array.isArray(input.tags) || _report(_exceptionable, {
|
|
9238
|
+
path: _path + ".tags",
|
|
9239
|
+
expected: "(Array<string> | undefined)",
|
|
9240
|
+
value: input.tags
|
|
9241
|
+
})) && input.tags.map((elem, _index16) => "string" === typeof elem || _report(_exceptionable, {
|
|
9242
|
+
path: _path + ".tags[" + _index16 + "]",
|
|
9243
|
+
expected: "string",
|
|
9244
|
+
value: elem
|
|
9245
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
9246
|
+
path: _path + ".tags",
|
|
9247
|
+
expected: "(Array<string> | undefined)",
|
|
9248
|
+
value: input.tags
|
|
9249
|
+
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
9250
|
+
path: _path + ".description",
|
|
9251
|
+
expected: "(string | undefined)",
|
|
9252
|
+
value: input.description
|
|
9325
9253
|
})].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
9326
9254
|
if (undefined !== input.path)
|
|
9327
|
-
return
|
|
9255
|
+
return _vo20(input, _path, true && _exceptionable);
|
|
9328
9256
|
else if (undefined !== input.__context)
|
|
9329
|
-
return
|
|
9257
|
+
return _vo21(input, _path, true && _exceptionable);
|
|
9330
9258
|
else
|
|
9331
9259
|
return _report(_exceptionable, {
|
|
9332
9260
|
path: _path,
|
|
9333
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
9261
|
+
expected: "(ResolvedFilePublishRender | __type.o10)",
|
|
9334
9262
|
value: input
|
|
9335
9263
|
});
|
|
9336
9264
|
})(); const _vu1 = (input, _path, _exceptionable = true) => (() => {
|
|
9337
|
-
if (
|
|
9265
|
+
if (undefined !== input.type && null === input.type)
|
|
9338
9266
|
return _vo0(input, _path, true && _exceptionable);
|
|
9339
9267
|
else if ("facebook" === input.type)
|
|
9340
|
-
return
|
|
9341
|
-
else if (
|
|
9342
|
-
return
|
|
9268
|
+
return _vo1(input, _path, true && _exceptionable);
|
|
9269
|
+
else if ("youtube" === input.type)
|
|
9270
|
+
return _vo32(input, _path, true && _exceptionable);
|
|
9343
9271
|
else
|
|
9344
|
-
return
|
|
9272
|
+
return _vo28(input, _path, false && _exceptionable) || _vo18(input, _path, false && _exceptionable);
|
|
9345
9273
|
})(); const __is = input => "object" === typeof input && null !== input && _iu1(input); let errors; let _report; return input => {
|
|
9346
9274
|
if (false === __is(input)) {
|
|
9347
9275
|
errors = [];
|
|
@@ -9372,78 +9300,38 @@ function _validateDomainRecord(domain, input) {
|
|
|
9372
9300
|
}; })()(input);
|
|
9373
9301
|
}
|
|
9374
9302
|
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) &&
|
|
9303
|
+
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
9304
|
const value = input[key];
|
|
9377
9305
|
if (undefined === value)
|
|
9378
9306
|
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 => {
|
|
9307
|
+
return "object" === typeof value && null !== value && _io6(value);
|
|
9308
|
+
}); 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
9309
|
const value = input[key];
|
|
9401
9310
|
if (undefined === value)
|
|
9402
9311
|
return true;
|
|
9403
9312
|
return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && _iu0(value));
|
|
9404
|
-
}); const
|
|
9313
|
+
}); 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 => {
|
|
9405
9314
|
const value = input[key];
|
|
9406
9315
|
if (undefined === value)
|
|
9407
9316
|
return true;
|
|
9408
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
9409
|
-
}); const
|
|
9410
|
-
if (["directory", "filename"].some(prop => key === prop))
|
|
9411
|
-
return true;
|
|
9317
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io13(value);
|
|
9318
|
+
}); 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 => {
|
|
9412
9319
|
const value = input[key];
|
|
9413
9320
|
if (undefined === value)
|
|
9414
9321
|
return true;
|
|
9415
|
-
return
|
|
9416
|
-
}); const
|
|
9417
|
-
if (["directory", "filename", "renders"].some(prop => key === prop))
|
|
9418
|
-
return true;
|
|
9419
|
-
const value = input[key];
|
|
9420
|
-
if (undefined === value)
|
|
9421
|
-
return true;
|
|
9422
|
-
return true;
|
|
9423
|
-
}); const _io29 = input => Object.keys(input).every(key => {
|
|
9424
|
-
const value = input[key];
|
|
9425
|
-
if (undefined === value)
|
|
9426
|
-
return true;
|
|
9427
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io30(value);
|
|
9428
|
-
}); const _io30 = 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 _io31 = input => (undefined === input.directory || "string" === typeof input.directory) && "string" === typeof input.filename && Object.keys(input).every(key => {
|
|
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 => (() => {
|
|
9322
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io29(value);
|
|
9323
|
+
}); 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
9324
|
if (undefined !== input.path)
|
|
9437
|
-
return
|
|
9325
|
+
return _io9(input);
|
|
9438
9326
|
else if (undefined !== input.__context)
|
|
9439
|
-
return
|
|
9327
|
+
return _io23(input);
|
|
9440
9328
|
else
|
|
9441
9329
|
return false;
|
|
9442
9330
|
})(); const _iu1 = input => (() => {
|
|
9443
|
-
if (_io4(input))
|
|
9444
|
-
return _io4(input);
|
|
9445
9331
|
if (_io3(input))
|
|
9446
9332
|
return _io3(input);
|
|
9333
|
+
if (_io2(input))
|
|
9334
|
+
return _io2(input);
|
|
9447
9335
|
if (_io0(input))
|
|
9448
9336
|
return _io0(input);
|
|
9449
9337
|
return false;
|
|
@@ -9471,23 +9359,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9471
9359
|
path: _path + ".messages",
|
|
9472
9360
|
expected: "(Array<Message> | undefined)",
|
|
9473
9361
|
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, {
|
|
9362
|
+
}), true, true].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["number" === typeof input.level || _report(_exceptionable, {
|
|
9491
9363
|
path: _path + ".level",
|
|
9492
9364
|
expected: "number",
|
|
9493
9365
|
value: input.level
|
|
@@ -9499,12 +9371,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9499
9371
|
path: _path + ".msg",
|
|
9500
9372
|
expected: "string",
|
|
9501
9373
|
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, {
|
|
9374
|
+
})].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.status || "string" === typeof input.status || _report(_exceptionable, {
|
|
9508
9375
|
path: _path + ".status",
|
|
9509
9376
|
expected: "(string | undefined)",
|
|
9510
9377
|
value: input.status
|
|
@@ -9528,27 +9395,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
9528
9395
|
path: _path + ".messages",
|
|
9529
9396
|
expected: "(Array<Message> | undefined)",
|
|
9530
9397
|
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, {
|
|
9398
|
+
}), 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
9399
|
path: _path + ".retrieved",
|
|
9549
9400
|
expected: "(FilePublishRetrieved | undefined)",
|
|
9550
9401
|
value: input.retrieved
|
|
9551
|
-
})) &&
|
|
9402
|
+
})) && _vo4(input.retrieved, _path + ".retrieved", true && _exceptionable) || _report(_exceptionable, {
|
|
9552
9403
|
path: _path + ".retrieved",
|
|
9553
9404
|
expected: "(FilePublishRetrieved | undefined)",
|
|
9554
9405
|
value: input.retrieved
|
|
@@ -9556,7 +9407,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9556
9407
|
path: _path + ".defaults",
|
|
9557
9408
|
expected: "(FilePublishDefaults | undefined)",
|
|
9558
9409
|
value: input.defaults
|
|
9559
|
-
})) &&
|
|
9410
|
+
})) && _vo7(input.defaults, _path + ".defaults", true && _exceptionable) || _report(_exceptionable, {
|
|
9560
9411
|
path: _path + ".defaults",
|
|
9561
9412
|
expected: "(FilePublishDefaults | undefined)",
|
|
9562
9413
|
value: input.defaults
|
|
@@ -9584,7 +9435,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9584
9435
|
path: _path + ".messages",
|
|
9585
9436
|
expected: "(Array<Message> | undefined)",
|
|
9586
9437
|
value: input.messages
|
|
9587
|
-
})].every(flag => flag); const
|
|
9438
|
+
})].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [undefined === input.filename || "string" === typeof input.filename || _report(_exceptionable, {
|
|
9588
9439
|
path: _path + ".filename",
|
|
9589
9440
|
expected: "(string | undefined)",
|
|
9590
9441
|
value: input.filename
|
|
@@ -9596,18 +9447,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
9596
9447
|
path: _path + ".renders",
|
|
9597
9448
|
expected: "(Record<string, FilePublishRetrievedRender> | undefined)",
|
|
9598
9449
|
value: input.renders
|
|
9599
|
-
})) &&
|
|
9450
|
+
})) && _vo5(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
9600
9451
|
path: _path + ".renders",
|
|
9601
9452
|
expected: "(Record<string, FilePublishRetrievedRender> | undefined)",
|
|
9602
9453
|
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 => {
|
|
9454
|
+
})].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
9611
9455
|
const value = input[key];
|
|
9612
9456
|
if (undefined === value)
|
|
9613
9457
|
return true;
|
|
@@ -9615,12 +9459,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
9615
9459
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9616
9460
|
expected: "FilePublishRetrievedRender",
|
|
9617
9461
|
value: value
|
|
9618
|
-
})) &&
|
|
9462
|
+
})) && _vo6(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
9619
9463
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9620
9464
|
expected: "FilePublishRetrievedRender",
|
|
9621
9465
|
value: value
|
|
9622
9466
|
});
|
|
9623
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
9467
|
+
}).every(flag => flag)].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.path || _report(_exceptionable, {
|
|
9624
9468
|
path: _path + ".path",
|
|
9625
9469
|
expected: "string",
|
|
9626
9470
|
value: input.path
|
|
@@ -9632,7 +9476,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9632
9476
|
path: _path + ".hash",
|
|
9633
9477
|
expected: "(string | undefined)",
|
|
9634
9478
|
value: input.hash
|
|
9635
|
-
})].every(flag => flag); const
|
|
9479
|
+
})].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => ["string" === typeof input.directory || _report(_exceptionable, {
|
|
9636
9480
|
path: _path + ".directory",
|
|
9637
9481
|
expected: "string",
|
|
9638
9482
|
value: input.directory
|
|
@@ -9644,18 +9488,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
9644
9488
|
path: _path + ".renders",
|
|
9645
9489
|
expected: "Record<string, FilePublishRender>",
|
|
9646
9490
|
value: input.renders
|
|
9647
|
-
})) &&
|
|
9491
|
+
})) && _vo8(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
9648
9492
|
path: _path + ".renders",
|
|
9649
9493
|
expected: "Record<string, FilePublishRender>",
|
|
9650
9494
|
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 => {
|
|
9495
|
+
})].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
9659
9496
|
const value = input[key];
|
|
9660
9497
|
if (undefined === value)
|
|
9661
9498
|
return true;
|
|
@@ -9676,11 +9513,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9676
9513
|
expected: "(ResolvedFilePublishRender | __type.o9 | string)",
|
|
9677
9514
|
value: value
|
|
9678
9515
|
}));
|
|
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, {
|
|
9516
|
+
}).every(flag => flag)].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
9684
9517
|
path: _path + ".name",
|
|
9685
9518
|
expected: "(string | undefined)",
|
|
9686
9519
|
value: input.name
|
|
@@ -9696,6 +9529,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
9696
9529
|
path: _path + ".ignoreEmptyScene",
|
|
9697
9530
|
expected: "(boolean | undefined)",
|
|
9698
9531
|
value: input.ignoreEmptyScene
|
|
9532
|
+
}), undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
9533
|
+
path: _path + ".preset",
|
|
9534
|
+
expected: "(string | undefined)",
|
|
9535
|
+
value: input.preset
|
|
9699
9536
|
}), "string" === typeof input.type || _report(_exceptionable, {
|
|
9700
9537
|
path: _path + ".type",
|
|
9701
9538
|
expected: "string",
|
|
@@ -9704,7 +9541,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9704
9541
|
path: _path + ".scene",
|
|
9705
9542
|
expected: "(RenderSceneObject | undefined)",
|
|
9706
9543
|
value: input.scene
|
|
9707
|
-
})) &&
|
|
9544
|
+
})) && _vo10(input.scene, _path + ".scene", true && _exceptionable) || _report(_exceptionable, {
|
|
9708
9545
|
path: _path + ".scene",
|
|
9709
9546
|
expected: "(RenderSceneObject | undefined)",
|
|
9710
9547
|
value: input.scene
|
|
@@ -9712,11 +9549,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
9712
9549
|
path: _path + ".profile",
|
|
9713
9550
|
expected: "(RenderProfileObject | undefined)",
|
|
9714
9551
|
value: input.profile
|
|
9715
|
-
})) &&
|
|
9552
|
+
})) && _vo18(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
9716
9553
|
path: _path + ".profile",
|
|
9717
9554
|
expected: "(RenderProfileObject | undefined)",
|
|
9718
9555
|
value: input.profile
|
|
9719
|
-
})].every(flag => flag); const
|
|
9556
|
+
})].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
9720
9557
|
path: _path + ".id",
|
|
9721
9558
|
expected: "(string | undefined)",
|
|
9722
9559
|
value: input.id
|
|
@@ -9728,7 +9565,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9728
9565
|
path: _path + ".input",
|
|
9729
9566
|
expected: "(__type | null | undefined)",
|
|
9730
9567
|
value: input.input
|
|
9731
|
-
})) &&
|
|
9568
|
+
})) && _vo11(input.input, _path + ".input", true && _exceptionable) || _report(_exceptionable, {
|
|
9732
9569
|
path: _path + ".input",
|
|
9733
9570
|
expected: "(__type | null | undefined)",
|
|
9734
9571
|
value: input.input
|
|
@@ -9744,7 +9581,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9744
9581
|
path: _path + ".subtitleTracks",
|
|
9745
9582
|
expected: "(__type.o1 | undefined)",
|
|
9746
9583
|
value: input.subtitleTracks
|
|
9747
|
-
})) &&
|
|
9584
|
+
})) && _vo12(input.subtitleTracks, _path + ".subtitleTracks", true && _exceptionable) || _report(_exceptionable, {
|
|
9748
9585
|
path: _path + ".subtitleTracks",
|
|
9749
9586
|
expected: "(__type.o1 | undefined)",
|
|
9750
9587
|
value: input.subtitleTracks
|
|
@@ -9752,7 +9589,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9752
9589
|
path: _path + ".video",
|
|
9753
9590
|
expected: "(__type.o3 | undefined)",
|
|
9754
9591
|
value: input.video
|
|
9755
|
-
})) &&
|
|
9592
|
+
})) && _vo15(input.video, _path + ".video", true && _exceptionable) || _report(_exceptionable, {
|
|
9756
9593
|
path: _path + ".video",
|
|
9757
9594
|
expected: "(__type.o3 | undefined)",
|
|
9758
9595
|
value: input.video
|
|
@@ -9768,11 +9605,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
9768
9605
|
path: _path + ".transcribe",
|
|
9769
9606
|
expected: "(__type.o5 | undefined)",
|
|
9770
9607
|
value: input.transcribe
|
|
9771
|
-
})) &&
|
|
9608
|
+
})) && _vo17(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
9772
9609
|
path: _path + ".transcribe",
|
|
9773
9610
|
expected: "(__type.o5 | undefined)",
|
|
9774
9611
|
value: input.transcribe
|
|
9775
|
-
})].every(flag => flag); const
|
|
9612
|
+
})].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
9776
9613
|
path: _path + ".type",
|
|
9777
9614
|
expected: "(string | undefined)",
|
|
9778
9615
|
value: input.type
|
|
@@ -9780,7 +9617,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9780
9617
|
path: _path + ".file",
|
|
9781
9618
|
expected: "(null | string | undefined)",
|
|
9782
9619
|
value: input.file
|
|
9783
|
-
})].every(flag => flag); const
|
|
9620
|
+
})].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
9784
9621
|
const value = input[key];
|
|
9785
9622
|
if (undefined === value)
|
|
9786
9623
|
return true;
|
|
@@ -9788,12 +9625,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
9788
9625
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9789
9626
|
expected: "__type.o2",
|
|
9790
9627
|
value: value
|
|
9791
|
-
})) &&
|
|
9628
|
+
})) && _vo13(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
9792
9629
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9793
9630
|
expected: "__type.o2",
|
|
9794
9631
|
value: value
|
|
9795
9632
|
});
|
|
9796
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
9633
|
+
}).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
9634
|
path: _path + ".style",
|
|
9798
9635
|
expected: "(null | string | undefined)",
|
|
9799
9636
|
value: input.style
|
|
@@ -9801,11 +9638,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
9801
9638
|
path: _path + ".styleOverrides",
|
|
9802
9639
|
expected: "(SubtitleStyle | undefined)",
|
|
9803
9640
|
value: input.styleOverrides
|
|
9804
|
-
})) &&
|
|
9641
|
+
})) && _vo14(input.styleOverrides, _path + ".styleOverrides", true && _exceptionable) || _report(_exceptionable, {
|
|
9805
9642
|
path: _path + ".styleOverrides",
|
|
9806
9643
|
expected: "(SubtitleStyle | undefined)",
|
|
9807
9644
|
value: input.styleOverrides
|
|
9808
|
-
})].every(flag => flag); const
|
|
9645
|
+
})].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
9809
9646
|
path: _path + ".name",
|
|
9810
9647
|
expected: "(string | undefined)",
|
|
9811
9648
|
value: input.name
|
|
@@ -9897,15 +9734,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
9897
9734
|
path: _path + ".encoding",
|
|
9898
9735
|
expected: "(string | undefined)",
|
|
9899
9736
|
value: input.encoding
|
|
9900
|
-
})].every(flag => flag); const
|
|
9737
|
+
})].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
9738
|
path: _path + ".crop",
|
|
9902
9739
|
expected: "(__type.o4 | undefined)",
|
|
9903
9740
|
value: input.crop
|
|
9904
|
-
})) &&
|
|
9741
|
+
})) && _vo16(input.crop, _path + ".crop", true && _exceptionable) || _report(_exceptionable, {
|
|
9905
9742
|
path: _path + ".crop",
|
|
9906
9743
|
expected: "(__type.o4 | undefined)",
|
|
9907
9744
|
value: input.crop
|
|
9908
|
-
})].every(flag => flag); const
|
|
9745
|
+
})].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [undefined === input.x || "number" === typeof input.x || _report(_exceptionable, {
|
|
9909
9746
|
path: _path + ".x",
|
|
9910
9747
|
expected: "(number | undefined)",
|
|
9911
9748
|
value: input.x
|
|
@@ -9921,7 +9758,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9921
9758
|
path: _path + ".height",
|
|
9922
9759
|
expected: "(number | undefined)",
|
|
9923
9760
|
value: input.height
|
|
9924
|
-
})].every(flag => flag); const
|
|
9761
|
+
})].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => [undefined === input.language || "string" === typeof input.language || _report(_exceptionable, {
|
|
9925
9762
|
path: _path + ".language",
|
|
9926
9763
|
expected: "(string | undefined)",
|
|
9927
9764
|
value: input.language
|
|
@@ -9937,7 +9774,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9937
9774
|
path: _path + ".pan",
|
|
9938
9775
|
expected: "(Array<number> | undefined)",
|
|
9939
9776
|
value: input.pan
|
|
9940
|
-
})].every(flag => flag); const
|
|
9777
|
+
})].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => ["string" === typeof input.format || _report(_exceptionable, {
|
|
9941
9778
|
path: _path + ".format",
|
|
9942
9779
|
expected: "string",
|
|
9943
9780
|
value: input.format
|
|
@@ -9945,7 +9782,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9945
9782
|
path: _path + ".transcribe",
|
|
9946
9783
|
expected: "(__type.o6 | undefined)",
|
|
9947
9784
|
value: input.transcribe
|
|
9948
|
-
})) &&
|
|
9785
|
+
})) && _vo19(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
9949
9786
|
path: _path + ".transcribe",
|
|
9950
9787
|
expected: "(__type.o6 | undefined)",
|
|
9951
9788
|
value: input.transcribe
|
|
@@ -9953,7 +9790,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9953
9790
|
path: _path + ".translate",
|
|
9954
9791
|
expected: "(__type.o7 | undefined)",
|
|
9955
9792
|
value: input.translate
|
|
9956
|
-
})) &&
|
|
9793
|
+
})) && _vo20(input.translate, _path + ".translate", true && _exceptionable) || _report(_exceptionable, {
|
|
9957
9794
|
path: _path + ".translate",
|
|
9958
9795
|
expected: "(__type.o7 | undefined)",
|
|
9959
9796
|
value: input.translate
|
|
@@ -9961,7 +9798,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9961
9798
|
path: _path + ".audio",
|
|
9962
9799
|
expected: "(__type.o8 | undefined)",
|
|
9963
9800
|
value: input.audio
|
|
9964
|
-
})) &&
|
|
9801
|
+
})) && _vo21(input.audio, _path + ".audio", true && _exceptionable) || _report(_exceptionable, {
|
|
9965
9802
|
path: _path + ".audio",
|
|
9966
9803
|
expected: "(__type.o8 | undefined)",
|
|
9967
9804
|
value: input.audio
|
|
@@ -9985,19 +9822,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
9985
9822
|
path: _path + ".subtitle",
|
|
9986
9823
|
expected: "(SubtitleProfile | string | undefined)",
|
|
9987
9824
|
value: input.subtitle
|
|
9988
|
-
})) &&
|
|
9825
|
+
})) && _vo22(input.subtitle, _path + ".subtitle", true && _exceptionable) || _report(_exceptionable, {
|
|
9989
9826
|
path: _path + ".subtitle",
|
|
9990
9827
|
expected: "(SubtitleProfile | string | undefined)",
|
|
9991
9828
|
value: input.subtitle
|
|
9992
|
-
}))].every(flag => flag); const
|
|
9829
|
+
}))].every(flag => flag); const _vo19 = (input, _path, _exceptionable = true) => ["string" === typeof input.engine || _report(_exceptionable, {
|
|
9993
9830
|
path: _path + ".engine",
|
|
9994
9831
|
expected: "string",
|
|
9995
9832
|
value: input.engine
|
|
9996
|
-
})].every(flag => flag); const
|
|
9833
|
+
})].every(flag => flag); const _vo20 = (input, _path, _exceptionable = true) => ["string" === typeof input.language || _report(_exceptionable, {
|
|
9997
9834
|
path: _path + ".language",
|
|
9998
9835
|
expected: "string",
|
|
9999
9836
|
value: input.language
|
|
10000
|
-
})].every(flag => flag); const
|
|
9837
|
+
})].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [undefined === input.codec || "string" === typeof input.codec || _report(_exceptionable, {
|
|
10001
9838
|
path: _path + ".codec",
|
|
10002
9839
|
expected: "(string | undefined)",
|
|
10003
9840
|
value: input.codec
|
|
@@ -10013,7 +9850,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10013
9850
|
path: _path + ".split",
|
|
10014
9851
|
expected: "(boolean | undefined)",
|
|
10015
9852
|
value: input.split
|
|
10016
|
-
})].every(flag => flag); const
|
|
9853
|
+
})].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => [undefined === input.lang || "string" === typeof input.lang || _report(_exceptionable, {
|
|
10017
9854
|
path: _path + ".lang",
|
|
10018
9855
|
expected: "(string | undefined)",
|
|
10019
9856
|
value: input.lang
|
|
@@ -10021,11 +9858,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
10021
9858
|
path: _path + ".style",
|
|
10022
9859
|
expected: "(string | undefined)",
|
|
10023
9860
|
value: input.style
|
|
10024
|
-
})].every(flag => flag); const
|
|
9861
|
+
})].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
10025
9862
|
path: _path + ".__context",
|
|
10026
9863
|
expected: "__type.o10",
|
|
10027
9864
|
value: input.__context
|
|
10028
|
-
})) &&
|
|
9865
|
+
})) && _vo24(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
10029
9866
|
path: _path + ".__context",
|
|
10030
9867
|
expected: "__type.o10",
|
|
10031
9868
|
value: input.__context
|
|
@@ -10033,15 +9870,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
10033
9870
|
path: _path + ".__returnValue",
|
|
10034
9871
|
expected: "ResolvedFilePublishRender",
|
|
10035
9872
|
value: input.__returnValue
|
|
10036
|
-
})) &&
|
|
9873
|
+
})) && _vo9(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
10037
9874
|
path: _path + ".__returnValue",
|
|
10038
9875
|
expected: "ResolvedFilePublishRender",
|
|
10039
9876
|
value: input.__returnValue
|
|
10040
|
-
})].every(flag => flag); const
|
|
9877
|
+
})].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => [("object" === typeof input.publish && null !== input.publish || _report(_exceptionable, {
|
|
10041
9878
|
path: _path + ".publish",
|
|
10042
9879
|
expected: "FilePublishRecord",
|
|
10043
9880
|
value: input.publish
|
|
10044
|
-
})) &&
|
|
9881
|
+
})) && _vo25(input.publish, _path + ".publish", true && _exceptionable) || _report(_exceptionable, {
|
|
10045
9882
|
path: _path + ".publish",
|
|
10046
9883
|
expected: "FilePublishRecord",
|
|
10047
9884
|
value: input.publish
|
|
@@ -10053,7 +9890,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
10053
9890
|
path: _path + ".name",
|
|
10054
9891
|
expected: "string",
|
|
10055
9892
|
value: input.name
|
|
10056
|
-
})].every(flag => flag); const
|
|
9893
|
+
})].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => ["file" === input.type || _report(_exceptionable, {
|
|
9894
|
+
path: _path + ".type",
|
|
9895
|
+
expected: "\"file\"",
|
|
9896
|
+
value: input.type
|
|
9897
|
+
}), undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
10057
9898
|
path: _path + ".directory",
|
|
10058
9899
|
expected: "(string | undefined)",
|
|
10059
9900
|
value: input.directory
|
|
@@ -10065,7 +9906,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10065
9906
|
path: _path + ".renders",
|
|
10066
9907
|
expected: "(Record<string, FilePublishRender> | undefined)",
|
|
10067
9908
|
value: input.renders
|
|
10068
|
-
})) &&
|
|
9909
|
+
})) && _vo8(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
10069
9910
|
path: _path + ".renders",
|
|
10070
9911
|
expected: "(Record<string, FilePublishRender> | undefined)",
|
|
10071
9912
|
value: input.renders
|
|
@@ -10073,7 +9914,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10073
9914
|
path: _path + ".draft",
|
|
10074
9915
|
expected: "(FilePublishDraft | undefined)",
|
|
10075
9916
|
value: input.draft
|
|
10076
|
-
})) &&
|
|
9917
|
+
})) && _vo26(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
10077
9918
|
path: _path + ".draft",
|
|
10078
9919
|
expected: "(FilePublishDraft | undefined)",
|
|
10079
9920
|
value: input.draft
|
|
@@ -10081,7 +9922,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10081
9922
|
path: _path + ".remote",
|
|
10082
9923
|
expected: "(FilePublishRemote | undefined)",
|
|
10083
9924
|
value: input.remote
|
|
10084
|
-
})) &&
|
|
9925
|
+
})) && _vo27(input.remote, _path + ".remote", true && _exceptionable) || _report(_exceptionable, {
|
|
10085
9926
|
path: _path + ".remote",
|
|
10086
9927
|
expected: "(FilePublishRemote | undefined)",
|
|
10087
9928
|
value: input.remote
|
|
@@ -10089,14 +9930,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
10089
9930
|
path: _path + ".published",
|
|
10090
9931
|
expected: "(FilePublishPublished | undefined)",
|
|
10091
9932
|
value: input.published
|
|
10092
|
-
})) &&
|
|
9933
|
+
})) && _vo30(input.published, _path + ".published", true && _exceptionable) || _report(_exceptionable, {
|
|
10093
9934
|
path: _path + ".published",
|
|
10094
9935
|
expected: "(FilePublishPublished | undefined)",
|
|
10095
9936
|
value: input.published
|
|
10096
|
-
}), "file" === input.type || _report(_exceptionable, {
|
|
10097
|
-
path: _path + ".type",
|
|
10098
|
-
expected: "\"file\"",
|
|
10099
|
-
value: input.type
|
|
10100
9937
|
}), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
|
|
10101
9938
|
path: _path + ".asset",
|
|
10102
9939
|
expected: "(null | string | undefined)",
|
|
@@ -10107,17 +9944,17 @@ function _validateDomainRecord(domain, input) {
|
|
|
10107
9944
|
value: input.connection
|
|
10108
9945
|
}), undefined === input.render || ("object" === typeof input.render && null !== input.render || _report(_exceptionable, {
|
|
10109
9946
|
path: _path + ".render",
|
|
10110
|
-
expected: "(
|
|
9947
|
+
expected: "(PublishRenderBase | undefined)",
|
|
10111
9948
|
value: input.render
|
|
10112
|
-
})) &&
|
|
9949
|
+
})) && _vo31(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
10113
9950
|
path: _path + ".render",
|
|
10114
|
-
expected: "(
|
|
9951
|
+
expected: "(PublishRenderBase | undefined)",
|
|
10115
9952
|
value: input.render
|
|
10116
9953
|
}), null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
10117
9954
|
path: _path + ".error",
|
|
10118
9955
|
expected: "(__type.o11 | null | undefined)",
|
|
10119
9956
|
value: input.error
|
|
10120
|
-
})) &&
|
|
9957
|
+
})) && _vo32(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
10121
9958
|
path: _path + ".error",
|
|
10122
9959
|
expected: "(__type.o11 | null | undefined)",
|
|
10123
9960
|
value: input.error
|
|
@@ -10137,7 +9974,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10137
9974
|
path: _path + ".messages",
|
|
10138
9975
|
expected: "(Array<Message> | undefined)",
|
|
10139
9976
|
value: input.messages
|
|
10140
|
-
})].every(flag => flag); const
|
|
9977
|
+
})].every(flag => flag); const _vo26 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
10141
9978
|
path: _path + ".directory",
|
|
10142
9979
|
expected: "(string | undefined)",
|
|
10143
9980
|
value: input.directory
|
|
@@ -10145,14 +9982,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10145
9982
|
path: _path + ".filename",
|
|
10146
9983
|
expected: "(string | undefined)",
|
|
10147
9984
|
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, {
|
|
9985
|
+
})].every(flag => flag); const _vo27 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
10156
9986
|
path: _path + ".directory",
|
|
10157
9987
|
expected: "(string | undefined)",
|
|
10158
9988
|
value: input.directory
|
|
@@ -10164,18 +9994,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
10164
9994
|
path: _path + ".renders",
|
|
10165
9995
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
10166
9996
|
value: input.renders
|
|
10167
|
-
})) &&
|
|
9997
|
+
})) && _vo28(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
10168
9998
|
path: _path + ".renders",
|
|
10169
9999
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
10170
10000
|
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 => {
|
|
10001
|
+
})].every(flag => flag); const _vo28 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
10179
10002
|
const value = input[key];
|
|
10180
10003
|
if (undefined === value)
|
|
10181
10004
|
return true;
|
|
@@ -10183,12 +10006,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
10183
10006
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
10184
10007
|
expected: "FilePublishRemoteRender",
|
|
10185
10008
|
value: value
|
|
10186
|
-
})) &&
|
|
10009
|
+
})) && _vo29(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
10187
10010
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
10188
10011
|
expected: "FilePublishRemoteRender",
|
|
10189
10012
|
value: value
|
|
10190
10013
|
});
|
|
10191
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
10014
|
+
}).every(flag => flag)].every(flag => flag); const _vo29 = (input, _path, _exceptionable = true) => [undefined === input.path || "string" === typeof input.path || _report(_exceptionable, {
|
|
10192
10015
|
path: _path + ".path",
|
|
10193
10016
|
expected: "(string | undefined)",
|
|
10194
10017
|
value: input.path
|
|
@@ -10220,7 +10043,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10220
10043
|
path: _path + ".source",
|
|
10221
10044
|
expected: "(string | undefined)",
|
|
10222
10045
|
value: input.source
|
|
10223
|
-
})].every(flag => flag); const
|
|
10046
|
+
})].every(flag => flag); const _vo30 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
10224
10047
|
path: _path + ".directory",
|
|
10225
10048
|
expected: "(string | undefined)",
|
|
10226
10049
|
value: input.directory
|
|
@@ -10228,14 +10051,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10228
10051
|
path: _path + ".filename",
|
|
10229
10052
|
expected: "string",
|
|
10230
10053
|
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, {
|
|
10054
|
+
})].every(flag => flag); const _vo31 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
10239
10055
|
path: _path + ".preset",
|
|
10240
10056
|
expected: "(string | undefined)",
|
|
10241
10057
|
value: input.preset
|
|
@@ -10247,7 +10063,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10247
10063
|
path: _path + ".scene",
|
|
10248
10064
|
expected: "(RenderSceneObject | undefined)",
|
|
10249
10065
|
value: input.scene
|
|
10250
|
-
})) &&
|
|
10066
|
+
})) && _vo10(input.scene, _path + ".scene", true && _exceptionable) || _report(_exceptionable, {
|
|
10251
10067
|
path: _path + ".scene",
|
|
10252
10068
|
expected: "(RenderSceneObject | undefined)",
|
|
10253
10069
|
value: input.scene
|
|
@@ -10255,36 +10071,36 @@ function _validateDomainRecord(domain, input) {
|
|
|
10255
10071
|
path: _path + ".profile",
|
|
10256
10072
|
expected: "(RenderProfileObject | undefined)",
|
|
10257
10073
|
value: input.profile
|
|
10258
|
-
})) &&
|
|
10074
|
+
})) && _vo18(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
10259
10075
|
path: _path + ".profile",
|
|
10260
10076
|
expected: "(RenderProfileObject | undefined)",
|
|
10261
10077
|
value: input.profile
|
|
10262
|
-
})].every(flag => flag); const
|
|
10078
|
+
})].every(flag => flag); const _vo32 = (input, _path, _exceptionable = true) => ["string" === typeof input.method || _report(_exceptionable, {
|
|
10263
10079
|
path: _path + ".method",
|
|
10264
10080
|
expected: "string",
|
|
10265
10081
|
value: input.method
|
|
10266
10082
|
})].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
10267
10083
|
if (undefined !== input.path)
|
|
10268
|
-
return
|
|
10084
|
+
return _vo9(input, _path, true && _exceptionable);
|
|
10269
10085
|
else if (undefined !== input.__context)
|
|
10270
|
-
return
|
|
10086
|
+
return _vo23(input, _path, true && _exceptionable);
|
|
10271
10087
|
else
|
|
10272
10088
|
return _report(_exceptionable, {
|
|
10273
10089
|
path: _path,
|
|
10274
10090
|
expected: "(ResolvedFilePublishRender | __type.o9)",
|
|
10275
10091
|
value: input
|
|
10276
10092
|
});
|
|
10277
|
-
})(); const _vu1 = (input, _path, _exceptionable = true) =>
|
|
10093
|
+
})(); 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
10094
|
if (false === __is(input)) {
|
|
10279
10095
|
errors = [];
|
|
10280
10096
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
10281
10097
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
10282
10098
|
path: _path + "",
|
|
10283
|
-
expected: "(FacebookPublishStatsRecord | FilePublishStatsRecord |
|
|
10099
|
+
expected: "(FacebookPublishStatsRecord | FilePublishStatsRecord | PublishStatsRecordBase)",
|
|
10284
10100
|
value: input
|
|
10285
10101
|
})) && _vu1(input, _path + "", true) || _report(true, {
|
|
10286
10102
|
path: _path + "",
|
|
10287
|
-
expected: "(FacebookPublishStatsRecord | FilePublishStatsRecord |
|
|
10103
|
+
expected: "(FacebookPublishStatsRecord | FilePublishStatsRecord | PublishStatsRecordBase)",
|
|
10288
10104
|
value: input
|
|
10289
10105
|
}))(input, "$input", true);
|
|
10290
10106
|
const success = 0 === errors.length;
|
|
@@ -10309,12 +10125,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10309
10125
|
if (undefined === value)
|
|
10310
10126
|
return true;
|
|
10311
10127
|
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 => {
|
|
10128
|
+
}); const _io1 = input => "string" === typeof input.rpcId && true; const _vo0 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
10318
10129
|
const value = input[key];
|
|
10319
10130
|
if (undefined === value)
|
|
10320
10131
|
return true;
|
|
@@ -10331,30 +10142,17 @@ function _validateDomainRecord(domain, input) {
|
|
|
10331
10142
|
path: _path + ".rpcId",
|
|
10332
10143
|
expected: "string",
|
|
10333
10144
|
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 => {
|
|
10145
|
+
}), 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
10146
|
if (false === __is(input)) {
|
|
10349
10147
|
errors = [];
|
|
10350
10148
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
10351
10149
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
10352
10150
|
path: _path + "",
|
|
10353
|
-
expected: "
|
|
10151
|
+
expected: "PublishDomainMethodsRecordBase",
|
|
10354
10152
|
value: input
|
|
10355
10153
|
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
10356
10154
|
path: _path + "",
|
|
10357
|
-
expected: "
|
|
10155
|
+
expected: "PublishDomainMethodsRecordBase",
|
|
10358
10156
|
value: input
|
|
10359
10157
|
}))(input, "$input", true);
|
|
10360
10158
|
const success = 0 === errors.length;
|
|
@@ -10380,11 +10178,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
10380
10178
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
10381
10179
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
10382
10180
|
path: _path + "",
|
|
10383
|
-
expected: "
|
|
10181
|
+
expected: "PublishDomainAcceptsProvidedRecordBase",
|
|
10384
10182
|
value: input
|
|
10385
10183
|
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
10386
10184
|
path: _path + "",
|
|
10387
|
-
expected: "
|
|
10185
|
+
expected: "PublishDomainAcceptsProvidedRecordBase",
|
|
10388
10186
|
value: input
|
|
10389
10187
|
}))(input, "$input", true);
|
|
10390
10188
|
const success = 0 === errors.length;
|
|
@@ -12590,7 +12388,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12590
12388
|
if (undefined === value)
|
|
12591
12389
|
return true;
|
|
12592
12390
|
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 => {
|
|
12391
|
+
}); 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
12392
|
const value = input[key];
|
|
12595
12393
|
if (undefined === value)
|
|
12596
12394
|
return true;
|
|
@@ -14095,6 +13893,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
14095
13893
|
path: _path + ".multiplexWebSockets",
|
|
14096
13894
|
expected: "(boolean | undefined)",
|
|
14097
13895
|
value: input.multiplexWebSockets
|
|
13896
|
+
}), undefined === input.systemHealth || "boolean" === typeof input.systemHealth || _report(_exceptionable, {
|
|
13897
|
+
path: _path + ".systemHealth",
|
|
13898
|
+
expected: "(boolean | undefined)",
|
|
13899
|
+
value: input.systemHealth
|
|
14098
13900
|
})].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
13901
|
path: _path + ".events",
|
|
14100
13902
|
expected: "(__type.o68 | undefined)",
|