@nxtedition/types 23.0.50 → 23.0.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common/file.d.ts +1 -0
- package/dist/common/file.js +7 -2
- package/dist/common/settings.d.ts +1 -0
- package/dist/nxtpression.d.ts +157 -63
- package/dist/records/domains/connection/empty.d.ts +7 -0
- package/dist/records/domains/connection/facebook.d.ts +8 -0
- package/dist/records/domains/connection/file/ftp.d.ts +9 -0
- package/dist/records/domains/connection/file/ftp.js +1 -0
- package/dist/records/domains/connection/file/index.d.ts +29 -0
- package/dist/records/domains/connection/file/index.js +4 -0
- package/dist/records/domains/connection/file/s3.d.ts +6 -0
- package/dist/records/domains/connection/file/s3.js +1 -0
- package/dist/records/domains/connection/file/sftp.d.ts +12 -0
- package/dist/records/domains/connection/file/sftp.js +1 -0
- package/dist/records/domains/connection/file/smb.d.ts +9 -0
- package/dist/records/domains/connection/file/smb.js +1 -0
- package/dist/records/domains/connection/index.d.ts +38 -0
- package/dist/records/domains/connection/index.js +4 -0
- package/dist/records/domains/connection/reuters.d.ts +10 -0
- package/dist/records/domains/connection/reuters.js +1 -0
- package/dist/records/domains/general.d.ts +16 -0
- package/dist/records/domains/index.d.ts +4 -4
- package/dist/records/domains/index.js +2 -2
- package/dist/records/domains/publish/empty.d.ts +8 -0
- package/dist/records/domains/publish/empty.js +1 -0
- package/dist/records/domains/publish/facebook.d.ts +11 -0
- package/dist/records/domains/publish/facebook.js +1 -0
- package/dist/records/domains/publish/file-legacy.d.ts +26 -0
- package/dist/records/domains/publish/file-legacy.js +1 -0
- package/dist/records/domains/publish/file.d.ts +66 -0
- package/dist/records/domains/publish/file.js +1 -0
- package/dist/records/domains/publish/index.d.ts +66 -0
- package/dist/records/domains/publish/index.js +5 -0
- package/dist/records/domains/publish/youtube.d.ts +16 -0
- package/dist/records/domains/publish/youtube.js +1 -0
- package/dist/records/exact/storage.d.ts +1 -1
- package/dist/records/validate/assert-guard.js +570 -687
- package/dist/records/validate/assert.js +579 -694
- package/dist/records/validate/is.js +51 -109
- package/dist/records/validate/schemas.js +421 -380
- package/dist/records/validate/stringify.js +74 -155
- package/dist/records/validate/utils.d.ts +2 -0
- package/dist/records/validate/utils.js +3 -0
- package/dist/records/validate/validate-equals.js +961 -819
- package/dist/records/validate/validate.js +550 -638
- package/package.json +1 -1
- package/dist/records/domains/connection.d.ts +0 -77
- package/dist/records/domains/publish.d.ts +0 -149
- /package/dist/records/domains/{connection.js → connection/empty.js} +0 -0
- /package/dist/records/domains/{publish.js → connection/facebook.js} +0 -0
|
@@ -918,7 +918,7 @@ function _assertGuardExactRecord(name, input) {
|
|
|
918
918
|
if (undefined === value)
|
|
919
919
|
return true;
|
|
920
920
|
return "object" === typeof value && null !== value && _io1(value);
|
|
921
|
-
}); const _io1 = input => "string" === typeof input.id && "string" === typeof input.location && "string" === typeof input.timestamp && "string" === typeof input.type && "string" === typeof input.zone && (null === input.free || "number" === typeof input.free) && (null === input.size || "number" === typeof input.size) && (null === input.available || "number" === typeof input.available) && (null === input.cache || "boolean" === typeof input.cache) && (null === input.capacity || "number" === typeof input.capacity) && "string" === typeof input.origin && (Array.isArray(input.allows) && input.allows.every(elem => "get" === elem || "put" === elem || "del" === elem)) && ("object" === typeof input.net && null !== input.net && _io2(input.net)) && "number" === typeof input.latency; const _io2 = input => "number" === typeof input.rx && "number" === typeof input.tx; const _ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
921
|
+
}); const _io1 = input => "string" === typeof input.id && "string" === typeof input.location && "string" === typeof input.timestamp && "string" === typeof input.type && "string" === typeof input.zone && (null === input.free || "number" === typeof input.free) && (null === input.size || "number" === typeof input.size) && (null === input.available || "number" === typeof input.available) && (null === input.cache || "boolean" === typeof input.cache) && (null === input.capacity || "number" === typeof input.capacity) && "string" === typeof input.origin && (Array.isArray(input.allows) && input.allows.every(elem => "get" === elem || "put" === elem || "del" === elem)) && (undefined === input.net || "object" === typeof input.net && null !== input.net && _io2(input.net)) && "number" === typeof input.latency; const _io2 = input => "number" === typeof input.rx && "number" === typeof input.tx; const _ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
922
922
|
const value = input[key];
|
|
923
923
|
if (undefined === value)
|
|
924
924
|
return true;
|
|
@@ -1003,15 +1003,15 @@ function _assertGuardExactRecord(name, input) {
|
|
|
1003
1003
|
path: _path + ".allows",
|
|
1004
1004
|
expected: "Array<\"get\" | \"put\" | \"del\">",
|
|
1005
1005
|
value: input.allows
|
|
1006
|
-
}, _errorFactory)) && (("object" === typeof input.net && null !== input.net || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1006
|
+
}, _errorFactory)) && (undefined === input.net || ("object" === typeof input.net && null !== input.net || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1007
1007
|
method: "typia.assertGuard",
|
|
1008
1008
|
path: _path + ".net",
|
|
1009
|
-
expected: "__type",
|
|
1009
|
+
expected: "(__type | undefined)",
|
|
1010
1010
|
value: input.net
|
|
1011
1011
|
}, _errorFactory)) && _ao2(input.net, _path + ".net", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1012
1012
|
method: "typia.assertGuard",
|
|
1013
1013
|
path: _path + ".net",
|
|
1014
|
-
expected: "__type",
|
|
1014
|
+
expected: "(__type | undefined)",
|
|
1015
1015
|
value: input.net
|
|
1016
1016
|
}, _errorFactory)) && ("number" === typeof input.latency || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1017
1017
|
method: "typia.assertGuard",
|
|
@@ -3524,41 +3524,58 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
3524
3524
|
}; })()(input);
|
|
3525
3525
|
}
|
|
3526
3526
|
case ":connection": {
|
|
3527
|
-
return (() => { const _io0 = input => "
|
|
3528
|
-
if ("
|
|
3527
|
+
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 => (() => {
|
|
3528
|
+
if ("ftp" === input.protocol)
|
|
3529
3529
|
return _io0(input);
|
|
3530
|
-
else if ("
|
|
3530
|
+
else if ("s3" === input.protocol)
|
|
3531
3531
|
return _io2(input);
|
|
3532
3532
|
else if ("smb" === input.protocol)
|
|
3533
3533
|
return _io3(input);
|
|
3534
3534
|
else if ("sftp" === input.protocol)
|
|
3535
3535
|
return _io4(input);
|
|
3536
|
-
else if ("reuters" === input.type)
|
|
3537
|
-
return _io5(input);
|
|
3538
3536
|
else if ("facebook" === input.type)
|
|
3537
|
+
return _io5(input);
|
|
3538
|
+
else if ("reuters" === input.type)
|
|
3539
3539
|
return _io6(input);
|
|
3540
|
+
else if (undefined !== input.type && null === input.type)
|
|
3541
|
+
return _io7(input);
|
|
3540
3542
|
else
|
|
3541
3543
|
return false;
|
|
3542
|
-
})(); const _ao0 = (input, _path, _exceptionable = true) => ("
|
|
3544
|
+
})(); const _ao0 = (input, _path, _exceptionable = true) => ("ftp" === input.protocol || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3543
3545
|
method: "typia.assertGuard",
|
|
3544
3546
|
path: _path + ".protocol",
|
|
3545
|
-
expected: "\"
|
|
3547
|
+
expected: "\"ftp\"",
|
|
3546
3548
|
value: input.protocol
|
|
3547
|
-
}, _errorFactory)) &&
|
|
3549
|
+
}, _errorFactory)) && ("string" === typeof input.host || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3548
3550
|
method: "typia.assertGuard",
|
|
3549
|
-
path: _path + ".
|
|
3551
|
+
path: _path + ".host",
|
|
3552
|
+
expected: "string",
|
|
3553
|
+
value: input.host
|
|
3554
|
+
}, _errorFactory)) && (undefined === input.username || "string" === typeof input.username || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3555
|
+
method: "typia.assertGuard",
|
|
3556
|
+
path: _path + ".username",
|
|
3550
3557
|
expected: "(string | undefined)",
|
|
3551
|
-
value: input.
|
|
3558
|
+
value: input.username
|
|
3559
|
+
}, _errorFactory)) && (undefined === input.password || "string" === typeof input.password || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3560
|
+
method: "typia.assertGuard",
|
|
3561
|
+
path: _path + ".password",
|
|
3562
|
+
expected: "(string | undefined)",
|
|
3563
|
+
value: input.password
|
|
3564
|
+
}, _errorFactory)) && (undefined === input.utf8 || "boolean" === typeof input.utf8 || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3565
|
+
method: "typia.assertGuard",
|
|
3566
|
+
path: _path + ".utf8",
|
|
3567
|
+
expected: "(boolean | undefined)",
|
|
3568
|
+
value: input.utf8
|
|
3569
|
+
}, _errorFactory)) && (undefined === input.timezone || "string" === typeof input.timezone || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3570
|
+
method: "typia.assertGuard",
|
|
3571
|
+
path: _path + ".timezone",
|
|
3572
|
+
expected: "(string | undefined)",
|
|
3573
|
+
value: input.timezone
|
|
3552
3574
|
}, _errorFactory)) && ("file" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3553
3575
|
method: "typia.assertGuard",
|
|
3554
3576
|
path: _path + ".type",
|
|
3555
3577
|
expected: "\"file\"",
|
|
3556
3578
|
value: input.type
|
|
3557
|
-
}, _errorFactory)) && (undefined === input.host || "string" === typeof input.host || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3558
|
-
method: "typia.assertGuard",
|
|
3559
|
-
path: _path + ".host",
|
|
3560
|
-
expected: "(string | undefined)",
|
|
3561
|
-
value: input.host
|
|
3562
3579
|
}, _errorFactory)) && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3563
3580
|
method: "typia.assertGuard",
|
|
3564
3581
|
path: _path + ".port",
|
|
@@ -3609,41 +3626,26 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
3609
3626
|
path: _path + ".content",
|
|
3610
3627
|
expected: "string",
|
|
3611
3628
|
value: input.content
|
|
3612
|
-
}, _errorFactory); const _ao2 = (input, _path, _exceptionable = true) => ("
|
|
3629
|
+
}, _errorFactory); const _ao2 = (input, _path, _exceptionable = true) => ("s3" === input.protocol || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3613
3630
|
method: "typia.assertGuard",
|
|
3614
3631
|
path: _path + ".protocol",
|
|
3615
|
-
expected: "\"
|
|
3632
|
+
expected: "\"s3\"",
|
|
3616
3633
|
value: input.protocol
|
|
3617
|
-
}, _errorFactory)) && ("string" === typeof input.
|
|
3618
|
-
method: "typia.assertGuard",
|
|
3619
|
-
path: _path + ".host",
|
|
3620
|
-
expected: "string",
|
|
3621
|
-
value: input.host
|
|
3622
|
-
}, _errorFactory)) && (undefined === input.username || "string" === typeof input.username || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3623
|
-
method: "typia.assertGuard",
|
|
3624
|
-
path: _path + ".username",
|
|
3625
|
-
expected: "(string | undefined)",
|
|
3626
|
-
value: input.username
|
|
3627
|
-
}, _errorFactory)) && (undefined === input.password || "string" === typeof input.password || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3628
|
-
method: "typia.assertGuard",
|
|
3629
|
-
path: _path + ".password",
|
|
3630
|
-
expected: "(string | undefined)",
|
|
3631
|
-
value: input.password
|
|
3632
|
-
}, _errorFactory)) && (undefined === input.utf8 || "boolean" === typeof input.utf8 || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3633
|
-
method: "typia.assertGuard",
|
|
3634
|
-
path: _path + ".utf8",
|
|
3635
|
-
expected: "(boolean | undefined)",
|
|
3636
|
-
value: input.utf8
|
|
3637
|
-
}, _errorFactory)) && (undefined === input.timezone || "string" === typeof input.timezone || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3634
|
+
}, _errorFactory)) && true && (undefined === input.bucket || "string" === typeof input.bucket || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3638
3635
|
method: "typia.assertGuard",
|
|
3639
|
-
path: _path + ".
|
|
3636
|
+
path: _path + ".bucket",
|
|
3640
3637
|
expected: "(string | undefined)",
|
|
3641
|
-
value: input.
|
|
3638
|
+
value: input.bucket
|
|
3642
3639
|
}, _errorFactory)) && ("file" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3643
3640
|
method: "typia.assertGuard",
|
|
3644
3641
|
path: _path + ".type",
|
|
3645
3642
|
expected: "\"file\"",
|
|
3646
3643
|
value: input.type
|
|
3644
|
+
}, _errorFactory)) && (undefined === input.host || "string" === typeof input.host || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3645
|
+
method: "typia.assertGuard",
|
|
3646
|
+
path: _path + ".host",
|
|
3647
|
+
expected: "(string | undefined)",
|
|
3648
|
+
value: input.host
|
|
3647
3649
|
}, _errorFactory)) && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3648
3650
|
method: "typia.assertGuard",
|
|
3649
3651
|
path: _path + ".port",
|
|
@@ -3864,7 +3866,32 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
3864
3866
|
path: _path + ".userNotificationsEnabled",
|
|
3865
3867
|
expected: "(boolean | undefined)",
|
|
3866
3868
|
value: input.userNotificationsEnabled
|
|
3867
|
-
}, _errorFactory)); const _ao5 = (input, _path, _exceptionable = true) => ("
|
|
3869
|
+
}, _errorFactory)); const _ao5 = (input, _path, _exceptionable = true) => ("facebook" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3870
|
+
method: "typia.assertGuard",
|
|
3871
|
+
path: _path + ".type",
|
|
3872
|
+
expected: "\"facebook\"",
|
|
3873
|
+
value: input.type
|
|
3874
|
+
}, _errorFactory)) && (undefined === input.grantedScopes || (Array.isArray(input.grantedScopes) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3875
|
+
method: "typia.assertGuard",
|
|
3876
|
+
path: _path + ".grantedScopes",
|
|
3877
|
+
expected: "(Array<string> | undefined)",
|
|
3878
|
+
value: input.grantedScopes
|
|
3879
|
+
}, _errorFactory)) && input.grantedScopes.every((elem, _index2) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3880
|
+
method: "typia.assertGuard",
|
|
3881
|
+
path: _path + ".grantedScopes[" + _index2 + "]",
|
|
3882
|
+
expected: "string",
|
|
3883
|
+
value: elem
|
|
3884
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3885
|
+
method: "typia.assertGuard",
|
|
3886
|
+
path: _path + ".grantedScopes",
|
|
3887
|
+
expected: "(Array<string> | undefined)",
|
|
3888
|
+
value: input.grantedScopes
|
|
3889
|
+
}, _errorFactory)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3890
|
+
method: "typia.assertGuard",
|
|
3891
|
+
path: _path + ".userNotificationsEnabled",
|
|
3892
|
+
expected: "(boolean | undefined)",
|
|
3893
|
+
value: input.userNotificationsEnabled
|
|
3894
|
+
}, _errorFactory)); const _ao6 = (input, _path, _exceptionable = true) => ("reuters" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3868
3895
|
method: "typia.assertGuard",
|
|
3869
3896
|
path: _path + ".type",
|
|
3870
3897
|
expected: "\"reuters\"",
|
|
@@ -3889,49 +3916,41 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
3889
3916
|
path: _path + ".userNotificationsEnabled",
|
|
3890
3917
|
expected: "(boolean | undefined)",
|
|
3891
3918
|
value: input.userNotificationsEnabled
|
|
3892
|
-
}, _errorFactory)); const
|
|
3919
|
+
}, _errorFactory)); const _ao7 = (input, _path, _exceptionable = true) => (undefined !== input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3893
3920
|
method: "typia.assertGuard",
|
|
3894
3921
|
path: _path + ".type",
|
|
3895
|
-
expected: "
|
|
3922
|
+
expected: "null",
|
|
3896
3923
|
value: input.type
|
|
3897
|
-
}, _errorFactory)) && (
|
|
3898
|
-
method: "typia.assertGuard",
|
|
3899
|
-
path: _path + ".grantedScopes",
|
|
3900
|
-
expected: "(Array<string> | undefined)",
|
|
3901
|
-
value: input.grantedScopes
|
|
3902
|
-
}, _errorFactory)) && input.grantedScopes.every((elem, _index2) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3903
|
-
method: "typia.assertGuard",
|
|
3904
|
-
path: _path + ".grantedScopes[" + _index2 + "]",
|
|
3905
|
-
expected: "string",
|
|
3906
|
-
value: elem
|
|
3907
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3924
|
+
}, _errorFactory)) && (null === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3908
3925
|
method: "typia.assertGuard",
|
|
3909
|
-
path: _path + ".
|
|
3910
|
-
expected: "
|
|
3911
|
-
value: input.
|
|
3926
|
+
path: _path + ".type",
|
|
3927
|
+
expected: "null",
|
|
3928
|
+
value: input.type
|
|
3912
3929
|
}, _errorFactory)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3913
3930
|
method: "typia.assertGuard",
|
|
3914
3931
|
path: _path + ".userNotificationsEnabled",
|
|
3915
3932
|
expected: "(boolean | undefined)",
|
|
3916
3933
|
value: input.userNotificationsEnabled
|
|
3917
3934
|
}, _errorFactory)); const _au0 = (input, _path, _exceptionable = true) => (() => {
|
|
3918
|
-
if ("
|
|
3935
|
+
if ("ftp" === input.protocol)
|
|
3919
3936
|
return _ao0(input, _path, true && _exceptionable);
|
|
3920
|
-
else if ("
|
|
3937
|
+
else if ("s3" === input.protocol)
|
|
3921
3938
|
return _ao2(input, _path, true && _exceptionable);
|
|
3922
3939
|
else if ("smb" === input.protocol)
|
|
3923
3940
|
return _ao3(input, _path, true && _exceptionable);
|
|
3924
3941
|
else if ("sftp" === input.protocol)
|
|
3925
3942
|
return _ao4(input, _path, true && _exceptionable);
|
|
3926
|
-
else if ("reuters" === input.type)
|
|
3927
|
-
return _ao5(input, _path, true && _exceptionable);
|
|
3928
3943
|
else if ("facebook" === input.type)
|
|
3944
|
+
return _ao5(input, _path, true && _exceptionable);
|
|
3945
|
+
else if ("reuters" === input.type)
|
|
3929
3946
|
return _ao6(input, _path, true && _exceptionable);
|
|
3947
|
+
else if (undefined !== input.type && null === input.type)
|
|
3948
|
+
return _ao7(input, _path, true && _exceptionable);
|
|
3930
3949
|
else
|
|
3931
3950
|
return __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3932
3951
|
method: "typia.assertGuard",
|
|
3933
3952
|
path: _path,
|
|
3934
|
-
expected: "(
|
|
3953
|
+
expected: "(FileConnectionFtpRecord | FileConnectionS3Record | FileConnectionSmbRecord | FileConnectionSftpRecord | FacebookConnectionRecord | ReutersConnectionRecord | EmptyConnectionRecord)",
|
|
3935
3954
|
value: input
|
|
3936
3955
|
}, _errorFactory);
|
|
3937
3956
|
})(); const __is = input => "object" === typeof input && null !== input && _iu0(input); let _errorFactory; return (input, errorFactory) => {
|
|
@@ -3940,12 +3959,12 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
3940
3959
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || __typia_transform__assertGuard._assertGuard(true, {
|
|
3941
3960
|
method: "typia.assertGuard",
|
|
3942
3961
|
path: _path + "",
|
|
3943
|
-
expected: "(FacebookConnectionRecord | FileConnectionFtpRecord | FileConnectionS3Record | FileConnectionSftpRecord | FileConnectionSmbRecord | ReutersConnectionRecord)",
|
|
3962
|
+
expected: "(EmptyConnectionRecord | FacebookConnectionRecord | FileConnectionFtpRecord | FileConnectionS3Record | FileConnectionSftpRecord | FileConnectionSmbRecord | ReutersConnectionRecord)",
|
|
3944
3963
|
value: input
|
|
3945
3964
|
}, _errorFactory)) && _au0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
3946
3965
|
method: "typia.assertGuard",
|
|
3947
3966
|
path: _path + "",
|
|
3948
|
-
expected: "(FacebookConnectionRecord | FileConnectionFtpRecord | FileConnectionS3Record | FileConnectionSftpRecord | FileConnectionSmbRecord | ReutersConnectionRecord)",
|
|
3967
|
+
expected: "(EmptyConnectionRecord | FacebookConnectionRecord | FileConnectionFtpRecord | FileConnectionS3Record | FileConnectionSftpRecord | FileConnectionSmbRecord | ReutersConnectionRecord)",
|
|
3949
3968
|
value: input
|
|
3950
3969
|
}, _errorFactory))(input, "$input", true);
|
|
3951
3970
|
}
|
|
@@ -3978,12 +3997,12 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
3978
3997
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
3979
3998
|
method: "typia.assertGuard",
|
|
3980
3999
|
path: _path + "",
|
|
3981
|
-
expected: "
|
|
4000
|
+
expected: "ConnectionMethodsBase",
|
|
3982
4001
|
value: input
|
|
3983
4002
|
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
3984
4003
|
method: "typia.assertGuard",
|
|
3985
4004
|
path: _path + "",
|
|
3986
|
-
expected: "
|
|
4005
|
+
expected: "ConnectionMethodsBase",
|
|
3987
4006
|
value: input
|
|
3988
4007
|
}, _errorFactory))(input, "$input", true);
|
|
3989
4008
|
}
|
|
@@ -4026,12 +4045,12 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
4026
4045
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
4027
4046
|
method: "typia.assertGuard",
|
|
4028
4047
|
path: _path + "",
|
|
4029
|
-
expected: "
|
|
4048
|
+
expected: "ConnectionStatsBase",
|
|
4030
4049
|
value: input
|
|
4031
4050
|
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
4032
4051
|
method: "typia.assertGuard",
|
|
4033
4052
|
path: _path + "",
|
|
4034
|
-
expected: "
|
|
4053
|
+
expected: "ConnectionStatsBase",
|
|
4035
4054
|
value: input
|
|
4036
4055
|
}, _errorFactory))(input, "$input", true);
|
|
4037
4056
|
}
|
|
@@ -5010,7 +5029,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
5010
5029
|
}; })()(input);
|
|
5011
5030
|
}
|
|
5012
5031
|
case ":file.stats?": {
|
|
5013
|
-
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 => {
|
|
5032
|
+
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 => {
|
|
5014
5033
|
const value = input[key];
|
|
5015
5034
|
if (undefined === value)
|
|
5016
5035
|
return true;
|
|
@@ -5150,6 +5169,11 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
5150
5169
|
path: _path + ".speed",
|
|
5151
5170
|
expected: "((number & Minimum<0>) | undefined)",
|
|
5152
5171
|
value: input.speed
|
|
5172
|
+
}, _errorFactory)) && ("boolean" === typeof input.complete || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5173
|
+
method: "typia.assertGuard",
|
|
5174
|
+
path: _path + ".complete",
|
|
5175
|
+
expected: "boolean",
|
|
5176
|
+
value: input.complete
|
|
5153
5177
|
}, _errorFactory)) && ("string" === typeof input.id && (RegExp("^[0-9A-Za-z~][0-9A-Za-z~._: -]*$").test(input.id) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5154
5178
|
method: "typia.assertGuard",
|
|
5155
5179
|
path: _path + ".id",
|
|
@@ -5615,6 +5639,102 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
5615
5639
|
}
|
|
5616
5640
|
}; })()(input);
|
|
5617
5641
|
}
|
|
5642
|
+
case ":general._asset": {
|
|
5643
|
+
return (() => { const _io0 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.tags || "string" === typeof input.tags) && (undefined === input.media || "string" === typeof input.media) && (undefined === input.duration || "string" === typeof input.duration) && (undefined === input.deadlines || "string" === typeof input.deadlines) && (undefined === input.assignees || "string" === typeof input.assignees) && (undefined === input.locations || "string" === typeof input.locations) && (undefined === input.status || "string" === typeof input.status) && (undefined === input.storage || "string" === typeof input.storage); const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5644
|
+
method: "typia.assertGuard",
|
|
5645
|
+
path: _path + ".title",
|
|
5646
|
+
expected: "(string | undefined)",
|
|
5647
|
+
value: input.title
|
|
5648
|
+
}, _errorFactory)) && (undefined === input.tags || "string" === typeof input.tags || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5649
|
+
method: "typia.assertGuard",
|
|
5650
|
+
path: _path + ".tags",
|
|
5651
|
+
expected: "(string | undefined)",
|
|
5652
|
+
value: input.tags
|
|
5653
|
+
}, _errorFactory)) && (undefined === input.media || "string" === typeof input.media || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5654
|
+
method: "typia.assertGuard",
|
|
5655
|
+
path: _path + ".media",
|
|
5656
|
+
expected: "(string | undefined)",
|
|
5657
|
+
value: input.media
|
|
5658
|
+
}, _errorFactory)) && (undefined === input.duration || "string" === typeof input.duration || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5659
|
+
method: "typia.assertGuard",
|
|
5660
|
+
path: _path + ".duration",
|
|
5661
|
+
expected: "(string | undefined)",
|
|
5662
|
+
value: input.duration
|
|
5663
|
+
}, _errorFactory)) && (undefined === input.deadlines || "string" === typeof input.deadlines || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5664
|
+
method: "typia.assertGuard",
|
|
5665
|
+
path: _path + ".deadlines",
|
|
5666
|
+
expected: "(string | undefined)",
|
|
5667
|
+
value: input.deadlines
|
|
5668
|
+
}, _errorFactory)) && (undefined === input.assignees || "string" === typeof input.assignees || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5669
|
+
method: "typia.assertGuard",
|
|
5670
|
+
path: _path + ".assignees",
|
|
5671
|
+
expected: "(string | undefined)",
|
|
5672
|
+
value: input.assignees
|
|
5673
|
+
}, _errorFactory)) && (undefined === input.locations || "string" === typeof input.locations || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5674
|
+
method: "typia.assertGuard",
|
|
5675
|
+
path: _path + ".locations",
|
|
5676
|
+
expected: "(string | undefined)",
|
|
5677
|
+
value: input.locations
|
|
5678
|
+
}, _errorFactory)) && (undefined === input.status || "string" === typeof input.status || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5679
|
+
method: "typia.assertGuard",
|
|
5680
|
+
path: _path + ".status",
|
|
5681
|
+
expected: "(string | undefined)",
|
|
5682
|
+
value: input.status
|
|
5683
|
+
}, _errorFactory)) && (undefined === input.storage || "string" === typeof input.storage || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5684
|
+
method: "typia.assertGuard",
|
|
5685
|
+
path: _path + ".storage",
|
|
5686
|
+
expected: "(string | undefined)",
|
|
5687
|
+
value: input.storage
|
|
5688
|
+
}, _errorFactory)); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
5689
|
+
if (false === __is(input)) {
|
|
5690
|
+
_errorFactory = errorFactory;
|
|
5691
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
5692
|
+
method: "typia.assertGuard",
|
|
5693
|
+
path: _path + "",
|
|
5694
|
+
expected: "GeneralAssetRecord",
|
|
5695
|
+
value: input
|
|
5696
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
5697
|
+
method: "typia.assertGuard",
|
|
5698
|
+
path: _path + "",
|
|
5699
|
+
expected: "GeneralAssetRecord",
|
|
5700
|
+
value: input
|
|
5701
|
+
}, _errorFactory))(input, "$input", true);
|
|
5702
|
+
}
|
|
5703
|
+
}; })()(input);
|
|
5704
|
+
}
|
|
5705
|
+
case ":general._embedding": {
|
|
5706
|
+
return (() => { const _io0 = input => Object.keys(input).every(key => {
|
|
5707
|
+
const value = input[key];
|
|
5708
|
+
if (undefined === value)
|
|
5709
|
+
return true;
|
|
5710
|
+
return null === value || "string" === typeof value;
|
|
5711
|
+
}); const _ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
5712
|
+
const value = input[key];
|
|
5713
|
+
if (undefined === value)
|
|
5714
|
+
return true;
|
|
5715
|
+
return null === value || "string" === typeof value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5716
|
+
method: "typia.assertGuard",
|
|
5717
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
5718
|
+
expected: "(null | string)",
|
|
5719
|
+
value: value
|
|
5720
|
+
}, _errorFactory);
|
|
5721
|
+
}); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
5722
|
+
if (false === __is(input)) {
|
|
5723
|
+
_errorFactory = errorFactory;
|
|
5724
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
5725
|
+
method: "typia.assertGuard",
|
|
5726
|
+
path: _path + "",
|
|
5727
|
+
expected: "GeneralEmbeddingRecord",
|
|
5728
|
+
value: input
|
|
5729
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
5730
|
+
method: "typia.assertGuard",
|
|
5731
|
+
path: _path + "",
|
|
5732
|
+
expected: "GeneralEmbeddingRecord",
|
|
5733
|
+
value: input
|
|
5734
|
+
}, _errorFactory))(input, "$input", true);
|
|
5735
|
+
}
|
|
5736
|
+
}; })()(input);
|
|
5737
|
+
}
|
|
5618
5738
|
case ":media.source": {
|
|
5619
5739
|
return (() => { const _io0 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (null === input.input || undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io1(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io2(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io5(input.video)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io7(input.transcribe)); const _io1 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file); const _io2 = input => Object.keys(input).every(key => {
|
|
5620
5740
|
const value = input[key];
|
|
@@ -8384,91 +8504,75 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
8384
8504
|
}; })()(input);
|
|
8385
8505
|
}
|
|
8386
8506
|
case ":publish": {
|
|
8387
|
-
return (() => { const _io0 = input =>
|
|
8388
|
-
const value = input[key];
|
|
8389
|
-
if (undefined === value)
|
|
8390
|
-
return true;
|
|
8391
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io7(value);
|
|
8392
|
-
}); 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 => {
|
|
8507
|
+
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 => {
|
|
8393
8508
|
const value = input[key];
|
|
8394
8509
|
if (undefined === value)
|
|
8395
8510
|
return true;
|
|
8396
|
-
return
|
|
8397
|
-
}); const
|
|
8511
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io6(value);
|
|
8512
|
+
}); 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 => {
|
|
8398
8513
|
const value = input[key];
|
|
8399
8514
|
if (undefined === value)
|
|
8400
8515
|
return true;
|
|
8401
8516
|
return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && _iu0(value));
|
|
8402
|
-
}); const
|
|
8403
|
-
if (["directory", "filename"].some(prop => key === prop))
|
|
8404
|
-
return true;
|
|
8405
|
-
const value = input[key];
|
|
8406
|
-
if (undefined === value)
|
|
8407
|
-
return true;
|
|
8408
|
-
return true;
|
|
8409
|
-
}); 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)) && Object.keys(input).every(key => {
|
|
8410
|
-
if (["directory", "filename", "renders"].some(prop => key === prop))
|
|
8411
|
-
return true;
|
|
8412
|
-
const value = input[key];
|
|
8413
|
-
if (undefined === value)
|
|
8414
|
-
return true;
|
|
8415
|
-
return true;
|
|
8416
|
-
}); const _io28 = input => Object.keys(input).every(key => {
|
|
8417
|
-
const value = input[key];
|
|
8418
|
-
if (undefined === value)
|
|
8419
|
-
return true;
|
|
8420
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io29(value);
|
|
8421
|
-
}); 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 => {
|
|
8422
|
-
if (["directory", "filename"].some(prop => key === prop))
|
|
8423
|
-
return true;
|
|
8517
|
+
}); 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 => {
|
|
8424
8518
|
const value = input[key];
|
|
8425
8519
|
if (undefined === value)
|
|
8426
8520
|
return true;
|
|
8427
|
-
return
|
|
8428
|
-
}); const
|
|
8521
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io26(value);
|
|
8522
|
+
}); 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 => {
|
|
8429
8523
|
if (["id", "path", "filename", "directory", "subtitle", "metafile"].some(prop => key === prop))
|
|
8430
8524
|
return true;
|
|
8431
8525
|
const value = input[key];
|
|
8432
8526
|
if (undefined === value)
|
|
8433
8527
|
return true;
|
|
8434
8528
|
return true;
|
|
8435
|
-
}); const
|
|
8529
|
+
}); 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 => (() => {
|
|
8436
8530
|
if (undefined !== input.path)
|
|
8437
|
-
return
|
|
8531
|
+
return _io20(input);
|
|
8438
8532
|
else if (undefined !== input.__context)
|
|
8439
|
-
return
|
|
8533
|
+
return _io21(input);
|
|
8440
8534
|
else
|
|
8441
8535
|
return false;
|
|
8442
8536
|
})(); const _iu1 = input => (() => {
|
|
8443
|
-
if (
|
|
8537
|
+
if (undefined !== input.type && null === input.type)
|
|
8444
8538
|
return _io0(input);
|
|
8445
8539
|
else if ("facebook" === input.type)
|
|
8446
|
-
return
|
|
8447
|
-
else if (
|
|
8448
|
-
return
|
|
8540
|
+
return _io1(input);
|
|
8541
|
+
else if ("youtube" === input.type)
|
|
8542
|
+
return _io32(input);
|
|
8449
8543
|
else
|
|
8450
8544
|
return (() => {
|
|
8451
|
-
if (
|
|
8452
|
-
return
|
|
8453
|
-
if (
|
|
8454
|
-
return
|
|
8545
|
+
if (_io28(input))
|
|
8546
|
+
return _io28(input);
|
|
8547
|
+
if (_io18(input))
|
|
8548
|
+
return _io18(input);
|
|
8455
8549
|
return false;
|
|
8456
8550
|
})();
|
|
8457
|
-
})(); const _ao0 = (input, _path, _exceptionable = true) => (undefined
|
|
8551
|
+
})(); const _ao0 = (input, _path, _exceptionable = true) => (undefined !== input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8458
8552
|
method: "typia.assertGuard",
|
|
8459
|
-
path: _path + ".
|
|
8460
|
-
expected: "
|
|
8461
|
-
value: input.
|
|
8462
|
-
}, _errorFactory)) &&
|
|
8553
|
+
path: _path + ".type",
|
|
8554
|
+
expected: "null",
|
|
8555
|
+
value: input.type
|
|
8556
|
+
}, _errorFactory)) && (null === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8463
8557
|
method: "typia.assertGuard",
|
|
8464
|
-
path: _path + ".
|
|
8465
|
-
expected: "
|
|
8466
|
-
value: input.
|
|
8467
|
-
}, _errorFactory)) && ("
|
|
8558
|
+
path: _path + ".type",
|
|
8559
|
+
expected: "null",
|
|
8560
|
+
value: input.type
|
|
8561
|
+
}, _errorFactory)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8562
|
+
method: "typia.assertGuard",
|
|
8563
|
+
path: _path + ".asset",
|
|
8564
|
+
expected: "(null | string | undefined)",
|
|
8565
|
+
value: input.asset
|
|
8566
|
+
}, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => ("facebook" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8468
8567
|
method: "typia.assertGuard",
|
|
8469
8568
|
path: _path + ".type",
|
|
8470
|
-
expected: "\"
|
|
8569
|
+
expected: "\"facebook\"",
|
|
8471
8570
|
value: input.type
|
|
8571
|
+
}, _errorFactory)) && (undefined === input.pageId || "string" === typeof input.pageId || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8572
|
+
method: "typia.assertGuard",
|
|
8573
|
+
path: _path + ".pageId",
|
|
8574
|
+
expected: "(string | undefined)",
|
|
8575
|
+
value: input.pageId
|
|
8472
8576
|
}, _errorFactory)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8473
8577
|
method: "typia.assertGuard",
|
|
8474
8578
|
path: _path + ".asset",
|
|
@@ -8482,42 +8586,22 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
8482
8586
|
}, _errorFactory)) && (undefined === input.render || ("object" === typeof input.render && null !== input.render || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8483
8587
|
method: "typia.assertGuard",
|
|
8484
8588
|
path: _path + ".render",
|
|
8485
|
-
expected: "(
|
|
8589
|
+
expected: "(PublishRenderBase | undefined)",
|
|
8486
8590
|
value: input.render
|
|
8487
|
-
}, _errorFactory)) &&
|
|
8591
|
+
}, _errorFactory)) && _ao2(input.render, _path + ".render", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8488
8592
|
method: "typia.assertGuard",
|
|
8489
8593
|
path: _path + ".render",
|
|
8490
|
-
expected: "(
|
|
8594
|
+
expected: "(PublishRenderBase | undefined)",
|
|
8491
8595
|
value: input.render
|
|
8492
|
-
}, _errorFactory)) && (undefined === input.
|
|
8493
|
-
method: "typia.assertGuard",
|
|
8494
|
-
path: _path + ".published",
|
|
8495
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
8496
|
-
value: input.published
|
|
8497
|
-
}, _errorFactory)) && _ao17(input.published, _path + ".published", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8498
|
-
method: "typia.assertGuard",
|
|
8499
|
-
path: _path + ".published",
|
|
8500
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
8501
|
-
value: input.published
|
|
8502
|
-
}, _errorFactory)) && (undefined === input.remote || ("object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8503
|
-
method: "typia.assertGuard",
|
|
8504
|
-
path: _path + ".remote",
|
|
8505
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
8506
|
-
value: input.remote
|
|
8507
|
-
}, _errorFactory)) && _ao17(input.remote, _path + ".remote", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8508
|
-
method: "typia.assertGuard",
|
|
8509
|
-
path: _path + ".remote",
|
|
8510
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
8511
|
-
value: input.remote
|
|
8512
|
-
}, _errorFactory)) && (null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8596
|
+
}, _errorFactory)) && true && true && true && (null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8513
8597
|
method: "typia.assertGuard",
|
|
8514
8598
|
path: _path + ".error",
|
|
8515
|
-
expected: "(__type.
|
|
8599
|
+
expected: "(__type.o9 | null | undefined)",
|
|
8516
8600
|
value: input.error
|
|
8517
|
-
}, _errorFactory)) &&
|
|
8601
|
+
}, _errorFactory)) && _ao16(input.error, _path + ".error", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8518
8602
|
method: "typia.assertGuard",
|
|
8519
8603
|
path: _path + ".error",
|
|
8520
|
-
expected: "(__type.
|
|
8604
|
+
expected: "(__type.o9 | null | undefined)",
|
|
8521
8605
|
value: input.error
|
|
8522
8606
|
}, _errorFactory)) && (undefined === input.messages || (Array.isArray(input.messages) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8523
8607
|
method: "typia.assertGuard",
|
|
@@ -8529,7 +8613,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
8529
8613
|
path: _path + ".messages[" + _index9 + "]",
|
|
8530
8614
|
expected: "Message",
|
|
8531
8615
|
value: elem
|
|
8532
|
-
}, _errorFactory)) &&
|
|
8616
|
+
}, _errorFactory)) && _ao17(elem, _path + ".messages[" + _index9 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8533
8617
|
method: "typia.assertGuard",
|
|
8534
8618
|
path: _path + ".messages[" + _index9 + "]",
|
|
8535
8619
|
expected: "Message",
|
|
@@ -8539,42 +8623,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
8539
8623
|
path: _path + ".messages",
|
|
8540
8624
|
expected: "(Array<Message> | undefined)",
|
|
8541
8625
|
value: input.messages
|
|
8542
|
-
}, _errorFactory)); const
|
|
8543
|
-
method: "typia.assertGuard",
|
|
8544
|
-
path: _path + ".snippet",
|
|
8545
|
-
expected: "(__type.o1 | undefined)",
|
|
8546
|
-
value: input.snippet
|
|
8547
|
-
}, _errorFactory)) && _ao2(input.snippet, _path + ".snippet", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8548
|
-
method: "typia.assertGuard",
|
|
8549
|
-
path: _path + ".snippet",
|
|
8550
|
-
expected: "(__type.o1 | undefined)",
|
|
8551
|
-
value: input.snippet
|
|
8552
|
-
}, _errorFactory); const _ao2 = (input, _path, _exceptionable = true) => (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8553
|
-
method: "typia.assertGuard",
|
|
8554
|
-
path: _path + ".title",
|
|
8555
|
-
expected: "(string | undefined)",
|
|
8556
|
-
value: input.title
|
|
8557
|
-
}, _errorFactory)) && (undefined === input.tags || (Array.isArray(input.tags) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8558
|
-
method: "typia.assertGuard",
|
|
8559
|
-
path: _path + ".tags",
|
|
8560
|
-
expected: "(Array<string> | undefined)",
|
|
8561
|
-
value: input.tags
|
|
8562
|
-
}, _errorFactory)) && input.tags.every((elem, _index10) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8563
|
-
method: "typia.assertGuard",
|
|
8564
|
-
path: _path + ".tags[" + _index10 + "]",
|
|
8565
|
-
expected: "string",
|
|
8566
|
-
value: elem
|
|
8567
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8568
|
-
method: "typia.assertGuard",
|
|
8569
|
-
path: _path + ".tags",
|
|
8570
|
-
expected: "(Array<string> | undefined)",
|
|
8571
|
-
value: input.tags
|
|
8572
|
-
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8573
|
-
method: "typia.assertGuard",
|
|
8574
|
-
path: _path + ".description",
|
|
8575
|
-
expected: "(string | undefined)",
|
|
8576
|
-
value: input.description
|
|
8577
|
-
}, _errorFactory)); const _ao3 = (input, _path, _exceptionable = true) => (undefined === input.preset || "string" === typeof input.preset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8626
|
+
}, _errorFactory)); const _ao2 = (input, _path, _exceptionable = true) => (undefined === input.preset || "string" === typeof input.preset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8578
8627
|
method: "typia.assertGuard",
|
|
8579
8628
|
path: _path + ".preset",
|
|
8580
8629
|
expected: "(string | undefined)",
|
|
@@ -8589,7 +8638,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
8589
8638
|
path: _path + ".scene",
|
|
8590
8639
|
expected: "(RenderSceneObject | undefined)",
|
|
8591
8640
|
value: input.scene
|
|
8592
|
-
}, _errorFactory)) &&
|
|
8641
|
+
}, _errorFactory)) && _ao3(input.scene, _path + ".scene", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8593
8642
|
method: "typia.assertGuard",
|
|
8594
8643
|
path: _path + ".scene",
|
|
8595
8644
|
expected: "(RenderSceneObject | undefined)",
|
|
@@ -8599,12 +8648,12 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
8599
8648
|
path: _path + ".profile",
|
|
8600
8649
|
expected: "(RenderProfileObject | undefined)",
|
|
8601
8650
|
value: input.profile
|
|
8602
|
-
}, _errorFactory)) &&
|
|
8651
|
+
}, _errorFactory)) && _ao11(input.profile, _path + ".profile", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8603
8652
|
method: "typia.assertGuard",
|
|
8604
8653
|
path: _path + ".profile",
|
|
8605
8654
|
expected: "(RenderProfileObject | undefined)",
|
|
8606
8655
|
value: input.profile
|
|
8607
|
-
}, _errorFactory)); const
|
|
8656
|
+
}, _errorFactory)); const _ao3 = (input, _path, _exceptionable = true) => (undefined === input.id || "string" === typeof input.id || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8608
8657
|
method: "typia.assertGuard",
|
|
8609
8658
|
path: _path + ".id",
|
|
8610
8659
|
expected: "(string | undefined)",
|
|
@@ -8617,12 +8666,12 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
8617
8666
|
}, _errorFactory)) && (null === input.input || undefined === input.input || ("object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8618
8667
|
method: "typia.assertGuard",
|
|
8619
8668
|
path: _path + ".input",
|
|
8620
|
-
expected: "(__type
|
|
8669
|
+
expected: "(__type | null | undefined)",
|
|
8621
8670
|
value: input.input
|
|
8622
|
-
}, _errorFactory)) &&
|
|
8671
|
+
}, _errorFactory)) && _ao4(input.input, _path + ".input", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8623
8672
|
method: "typia.assertGuard",
|
|
8624
8673
|
path: _path + ".input",
|
|
8625
|
-
expected: "(__type
|
|
8674
|
+
expected: "(__type | null | undefined)",
|
|
8626
8675
|
value: input.input
|
|
8627
8676
|
}, _errorFactory)) && (undefined === input.lang || "string" === typeof input.lang || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8628
8677
|
method: "typia.assertGuard",
|
|
@@ -8637,22 +8686,22 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
8637
8686
|
}, _errorFactory)) && (undefined === input.subtitleTracks || ("object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8638
8687
|
method: "typia.assertGuard",
|
|
8639
8688
|
path: _path + ".subtitleTracks",
|
|
8640
|
-
expected: "(__type.
|
|
8689
|
+
expected: "(__type.o1 | undefined)",
|
|
8641
8690
|
value: input.subtitleTracks
|
|
8642
|
-
}, _errorFactory)) &&
|
|
8691
|
+
}, _errorFactory)) && _ao5(input.subtitleTracks, _path + ".subtitleTracks", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8643
8692
|
method: "typia.assertGuard",
|
|
8644
8693
|
path: _path + ".subtitleTracks",
|
|
8645
|
-
expected: "(__type.
|
|
8694
|
+
expected: "(__type.o1 | undefined)",
|
|
8646
8695
|
value: input.subtitleTracks
|
|
8647
8696
|
}, _errorFactory)) && (undefined === input.video || ("object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8648
8697
|
method: "typia.assertGuard",
|
|
8649
8698
|
path: _path + ".video",
|
|
8650
|
-
expected: "(__type.
|
|
8699
|
+
expected: "(__type.o3 | undefined)",
|
|
8651
8700
|
value: input.video
|
|
8652
|
-
}, _errorFactory)) &&
|
|
8701
|
+
}, _errorFactory)) && _ao8(input.video, _path + ".video", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8653
8702
|
method: "typia.assertGuard",
|
|
8654
8703
|
path: _path + ".video",
|
|
8655
|
-
expected: "(__type.
|
|
8704
|
+
expected: "(__type.o3 | undefined)",
|
|
8656
8705
|
value: input.video
|
|
8657
8706
|
}, _errorFactory)) && (undefined === input.start || "number" === typeof input.start || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8658
8707
|
method: "typia.assertGuard",
|
|
@@ -8667,14 +8716,14 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
8667
8716
|
}, _errorFactory)) && (undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8668
8717
|
method: "typia.assertGuard",
|
|
8669
8718
|
path: _path + ".transcribe",
|
|
8670
|
-
expected: "(__type.
|
|
8719
|
+
expected: "(__type.o5 | undefined)",
|
|
8671
8720
|
value: input.transcribe
|
|
8672
|
-
}, _errorFactory)) &&
|
|
8721
|
+
}, _errorFactory)) && _ao10(input.transcribe, _path + ".transcribe", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8673
8722
|
method: "typia.assertGuard",
|
|
8674
8723
|
path: _path + ".transcribe",
|
|
8675
|
-
expected: "(__type.
|
|
8724
|
+
expected: "(__type.o5 | undefined)",
|
|
8676
8725
|
value: input.transcribe
|
|
8677
|
-
}, _errorFactory)); const
|
|
8726
|
+
}, _errorFactory)); const _ao4 = (input, _path, _exceptionable = true) => (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8678
8727
|
method: "typia.assertGuard",
|
|
8679
8728
|
path: _path + ".type",
|
|
8680
8729
|
expected: "(string | undefined)",
|
|
@@ -8684,22 +8733,22 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
8684
8733
|
path: _path + ".file",
|
|
8685
8734
|
expected: "(null | string | undefined)",
|
|
8686
8735
|
value: input.file
|
|
8687
|
-
}, _errorFactory)); const
|
|
8736
|
+
}, _errorFactory)); const _ao5 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
8688
8737
|
const value = input[key];
|
|
8689
8738
|
if (undefined === value)
|
|
8690
8739
|
return true;
|
|
8691
8740
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8692
8741
|
method: "typia.assertGuard",
|
|
8693
8742
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
8694
|
-
expected: "__type.
|
|
8743
|
+
expected: "__type.o2",
|
|
8695
8744
|
value: value
|
|
8696
|
-
}, _errorFactory)) &&
|
|
8745
|
+
}, _errorFactory)) && _ao6(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8697
8746
|
method: "typia.assertGuard",
|
|
8698
8747
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
8699
|
-
expected: "__type.
|
|
8748
|
+
expected: "__type.o2",
|
|
8700
8749
|
value: value
|
|
8701
8750
|
}, _errorFactory);
|
|
8702
|
-
}); const
|
|
8751
|
+
}); const _ao6 = (input, _path, _exceptionable = true) => (null === input.style || undefined === input.style || "string" === typeof input.style || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8703
8752
|
method: "typia.assertGuard",
|
|
8704
8753
|
path: _path + ".style",
|
|
8705
8754
|
expected: "(null | string | undefined)",
|
|
@@ -8709,12 +8758,12 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
8709
8758
|
path: _path + ".styleOverrides",
|
|
8710
8759
|
expected: "(SubtitleStyle | undefined)",
|
|
8711
8760
|
value: input.styleOverrides
|
|
8712
|
-
}, _errorFactory)) &&
|
|
8761
|
+
}, _errorFactory)) && _ao7(input.styleOverrides, _path + ".styleOverrides", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8713
8762
|
method: "typia.assertGuard",
|
|
8714
8763
|
path: _path + ".styleOverrides",
|
|
8715
8764
|
expected: "(SubtitleStyle | undefined)",
|
|
8716
8765
|
value: input.styleOverrides
|
|
8717
|
-
}, _errorFactory)); const
|
|
8766
|
+
}, _errorFactory)); const _ao7 = (input, _path, _exceptionable = true) => (undefined === input.name || "string" === typeof input.name || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8718
8767
|
method: "typia.assertGuard",
|
|
8719
8768
|
path: _path + ".name",
|
|
8720
8769
|
expected: "(string | undefined)",
|
|
@@ -8829,17 +8878,17 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
8829
8878
|
path: _path + ".encoding",
|
|
8830
8879
|
expected: "(string | undefined)",
|
|
8831
8880
|
value: input.encoding
|
|
8832
|
-
}, _errorFactory)); const
|
|
8881
|
+
}, _errorFactory)); const _ao8 = (input, _path, _exceptionable = true) => undefined === input.crop || ("object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8833
8882
|
method: "typia.assertGuard",
|
|
8834
8883
|
path: _path + ".crop",
|
|
8835
|
-
expected: "(__type.
|
|
8884
|
+
expected: "(__type.o4 | undefined)",
|
|
8836
8885
|
value: input.crop
|
|
8837
|
-
}, _errorFactory)) &&
|
|
8886
|
+
}, _errorFactory)) && _ao9(input.crop, _path + ".crop", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8838
8887
|
method: "typia.assertGuard",
|
|
8839
8888
|
path: _path + ".crop",
|
|
8840
|
-
expected: "(__type.
|
|
8889
|
+
expected: "(__type.o4 | undefined)",
|
|
8841
8890
|
value: input.crop
|
|
8842
|
-
}, _errorFactory); const
|
|
8891
|
+
}, _errorFactory); const _ao9 = (input, _path, _exceptionable = true) => (undefined === input.x || "number" === typeof input.x || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8843
8892
|
method: "typia.assertGuard",
|
|
8844
8893
|
path: _path + ".x",
|
|
8845
8894
|
expected: "(number | undefined)",
|
|
@@ -8859,7 +8908,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
8859
8908
|
path: _path + ".height",
|
|
8860
8909
|
expected: "(number | undefined)",
|
|
8861
8910
|
value: input.height
|
|
8862
|
-
}, _errorFactory)); const
|
|
8911
|
+
}, _errorFactory)); const _ao10 = (input, _path, _exceptionable = true) => (undefined === input.language || "string" === typeof input.language || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8863
8912
|
method: "typia.assertGuard",
|
|
8864
8913
|
path: _path + ".language",
|
|
8865
8914
|
expected: "(string | undefined)",
|
|
@@ -8869,9 +8918,9 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
8869
8918
|
path: _path + ".pan",
|
|
8870
8919
|
expected: "(Array<number> | undefined)",
|
|
8871
8920
|
value: input.pan
|
|
8872
|
-
}, _errorFactory)) && input.pan.every((elem,
|
|
8921
|
+
}, _errorFactory)) && input.pan.every((elem, _index10) => "number" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8873
8922
|
method: "typia.assertGuard",
|
|
8874
|
-
path: _path + ".pan[" +
|
|
8923
|
+
path: _path + ".pan[" + _index10 + "]",
|
|
8875
8924
|
expected: "number",
|
|
8876
8925
|
value: elem
|
|
8877
8926
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -8879,7 +8928,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
8879
8928
|
path: _path + ".pan",
|
|
8880
8929
|
expected: "(Array<number> | undefined)",
|
|
8881
8930
|
value: input.pan
|
|
8882
|
-
}, _errorFactory)); const
|
|
8931
|
+
}, _errorFactory)); const _ao11 = (input, _path, _exceptionable = true) => ("string" === typeof input.format || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8883
8932
|
method: "typia.assertGuard",
|
|
8884
8933
|
path: _path + ".format",
|
|
8885
8934
|
expected: "string",
|
|
@@ -8887,41 +8936,41 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
8887
8936
|
}, _errorFactory)) && (undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8888
8937
|
method: "typia.assertGuard",
|
|
8889
8938
|
path: _path + ".transcribe",
|
|
8890
|
-
expected: "(__type.
|
|
8939
|
+
expected: "(__type.o6 | undefined)",
|
|
8891
8940
|
value: input.transcribe
|
|
8892
|
-
}, _errorFactory)) &&
|
|
8941
|
+
}, _errorFactory)) && _ao12(input.transcribe, _path + ".transcribe", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8893
8942
|
method: "typia.assertGuard",
|
|
8894
8943
|
path: _path + ".transcribe",
|
|
8895
|
-
expected: "(__type.
|
|
8944
|
+
expected: "(__type.o6 | undefined)",
|
|
8896
8945
|
value: input.transcribe
|
|
8897
8946
|
}, _errorFactory)) && (undefined === input.translate || ("object" === typeof input.translate && null !== input.translate || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8898
8947
|
method: "typia.assertGuard",
|
|
8899
8948
|
path: _path + ".translate",
|
|
8900
|
-
expected: "(__type.
|
|
8949
|
+
expected: "(__type.o7 | undefined)",
|
|
8901
8950
|
value: input.translate
|
|
8902
|
-
}, _errorFactory)) &&
|
|
8951
|
+
}, _errorFactory)) && _ao13(input.translate, _path + ".translate", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8903
8952
|
method: "typia.assertGuard",
|
|
8904
8953
|
path: _path + ".translate",
|
|
8905
|
-
expected: "(__type.
|
|
8954
|
+
expected: "(__type.o7 | undefined)",
|
|
8906
8955
|
value: input.translate
|
|
8907
8956
|
}, _errorFactory)) && (undefined === input.audio || ("object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8908
8957
|
method: "typia.assertGuard",
|
|
8909
8958
|
path: _path + ".audio",
|
|
8910
|
-
expected: "(__type.
|
|
8959
|
+
expected: "(__type.o8 | undefined)",
|
|
8911
8960
|
value: input.audio
|
|
8912
|
-
}, _errorFactory)) &&
|
|
8961
|
+
}, _errorFactory)) && _ao14(input.audio, _path + ".audio", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8913
8962
|
method: "typia.assertGuard",
|
|
8914
8963
|
path: _path + ".audio",
|
|
8915
|
-
expected: "(__type.
|
|
8964
|
+
expected: "(__type.o8 | undefined)",
|
|
8916
8965
|
value: input.audio
|
|
8917
8966
|
}, _errorFactory)) && true && (undefined === input.pick || (Array.isArray(input.pick) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8918
8967
|
method: "typia.assertGuard",
|
|
8919
8968
|
path: _path + ".pick",
|
|
8920
8969
|
expected: "(Array<string> | undefined)",
|
|
8921
8970
|
value: input.pick
|
|
8922
|
-
}, _errorFactory)) && input.pick.every((elem,
|
|
8971
|
+
}, _errorFactory)) && input.pick.every((elem, _index11) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8923
8972
|
method: "typia.assertGuard",
|
|
8924
|
-
path: _path + ".pick[" +
|
|
8973
|
+
path: _path + ".pick[" + _index11 + "]",
|
|
8925
8974
|
expected: "string",
|
|
8926
8975
|
value: elem
|
|
8927
8976
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -8939,22 +8988,22 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
8939
8988
|
path: _path + ".subtitle",
|
|
8940
8989
|
expected: "(SubtitleProfile | string | undefined)",
|
|
8941
8990
|
value: input.subtitle
|
|
8942
|
-
}, _errorFactory)) &&
|
|
8991
|
+
}, _errorFactory)) && _ao15(input.subtitle, _path + ".subtitle", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8943
8992
|
method: "typia.assertGuard",
|
|
8944
8993
|
path: _path + ".subtitle",
|
|
8945
8994
|
expected: "(SubtitleProfile | string | undefined)",
|
|
8946
8995
|
value: input.subtitle
|
|
8947
|
-
}, _errorFactory))); const
|
|
8996
|
+
}, _errorFactory))); const _ao12 = (input, _path, _exceptionable = true) => "string" === typeof input.engine || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8948
8997
|
method: "typia.assertGuard",
|
|
8949
8998
|
path: _path + ".engine",
|
|
8950
8999
|
expected: "string",
|
|
8951
9000
|
value: input.engine
|
|
8952
|
-
}, _errorFactory); const
|
|
9001
|
+
}, _errorFactory); const _ao13 = (input, _path, _exceptionable = true) => "string" === typeof input.language || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8953
9002
|
method: "typia.assertGuard",
|
|
8954
9003
|
path: _path + ".language",
|
|
8955
9004
|
expected: "string",
|
|
8956
9005
|
value: input.language
|
|
8957
|
-
}, _errorFactory); const
|
|
9006
|
+
}, _errorFactory); const _ao14 = (input, _path, _exceptionable = true) => (undefined === input.codec || "string" === typeof input.codec || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8958
9007
|
method: "typia.assertGuard",
|
|
8959
9008
|
path: _path + ".codec",
|
|
8960
9009
|
expected: "(string | undefined)",
|
|
@@ -8974,7 +9023,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
8974
9023
|
path: _path + ".split",
|
|
8975
9024
|
expected: "(boolean | undefined)",
|
|
8976
9025
|
value: input.split
|
|
8977
|
-
}, _errorFactory)); const
|
|
9026
|
+
}, _errorFactory)); const _ao15 = (input, _path, _exceptionable = true) => (undefined === input.lang || "string" === typeof input.lang || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8978
9027
|
method: "typia.assertGuard",
|
|
8979
9028
|
path: _path + ".lang",
|
|
8980
9029
|
expected: "(string | undefined)",
|
|
@@ -8984,17 +9033,12 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
8984
9033
|
path: _path + ".style",
|
|
8985
9034
|
expected: "(string | undefined)",
|
|
8986
9035
|
value: input.style
|
|
8987
|
-
}, _errorFactory)); const
|
|
8988
|
-
const value = input[key];
|
|
8989
|
-
if (undefined === value)
|
|
8990
|
-
return true;
|
|
8991
|
-
return true;
|
|
8992
|
-
}); const _ao18 = (input, _path, _exceptionable = true) => "string" === typeof input.method || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9036
|
+
}, _errorFactory)); const _ao16 = (input, _path, _exceptionable = true) => "string" === typeof input.method || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8993
9037
|
method: "typia.assertGuard",
|
|
8994
9038
|
path: _path + ".method",
|
|
8995
9039
|
expected: "string",
|
|
8996
9040
|
value: input.method
|
|
8997
|
-
}, _errorFactory); const
|
|
9041
|
+
}, _errorFactory); const _ao17 = (input, _path, _exceptionable = true) => ("number" === typeof input.level || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8998
9042
|
method: "typia.assertGuard",
|
|
8999
9043
|
path: _path + ".level",
|
|
9000
9044
|
expected: "number",
|
|
@@ -9009,97 +9053,12 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
9009
9053
|
path: _path + ".msg",
|
|
9010
9054
|
expected: "string",
|
|
9011
9055
|
value: input.msg
|
|
9012
|
-
}, _errorFactory)); const
|
|
9013
|
-
method: "typia.assertGuard",
|
|
9014
|
-
path: _path + ".pageId",
|
|
9015
|
-
expected: "(string | undefined)",
|
|
9016
|
-
value: input.pageId
|
|
9017
|
-
}, _errorFactory)) && ("facebook" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9056
|
+
}, _errorFactory)); const _ao18 = (input, _path, _exceptionable = true) => ("file" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9018
9057
|
method: "typia.assertGuard",
|
|
9019
9058
|
path: _path + ".type",
|
|
9020
|
-
expected: "\"
|
|
9059
|
+
expected: "\"file\"",
|
|
9021
9060
|
value: input.type
|
|
9022
|
-
}, _errorFactory)) && (
|
|
9023
|
-
method: "typia.assertGuard",
|
|
9024
|
-
path: _path + ".asset",
|
|
9025
|
-
expected: "(null | string | undefined)",
|
|
9026
|
-
value: input.asset
|
|
9027
|
-
}, _errorFactory)) && (undefined === input.connection || "string" === typeof input.connection || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9028
|
-
method: "typia.assertGuard",
|
|
9029
|
-
path: _path + ".connection",
|
|
9030
|
-
expected: "(string | undefined)",
|
|
9031
|
-
value: input.connection
|
|
9032
|
-
}, _errorFactory)) && (undefined === input.render || ("object" === typeof input.render && null !== input.render || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9033
|
-
method: "typia.assertGuard",
|
|
9034
|
-
path: _path + ".render",
|
|
9035
|
-
expected: "(PublishRender | undefined)",
|
|
9036
|
-
value: input.render
|
|
9037
|
-
}, _errorFactory)) && _ao3(input.render, _path + ".render", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9038
|
-
method: "typia.assertGuard",
|
|
9039
|
-
path: _path + ".render",
|
|
9040
|
-
expected: "(PublishRender | undefined)",
|
|
9041
|
-
value: input.render
|
|
9042
|
-
}, _errorFactory)) && (undefined === input.draft || ("object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9043
|
-
method: "typia.assertGuard",
|
|
9044
|
-
path: _path + ".draft",
|
|
9045
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
9046
|
-
value: input.draft
|
|
9047
|
-
}, _errorFactory)) && _ao17(input.draft, _path + ".draft", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9048
|
-
method: "typia.assertGuard",
|
|
9049
|
-
path: _path + ".draft",
|
|
9050
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
9051
|
-
value: input.draft
|
|
9052
|
-
}, _errorFactory)) && (undefined === input.published || ("object" === typeof input.published && null !== input.published && false === Array.isArray(input.published) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9053
|
-
method: "typia.assertGuard",
|
|
9054
|
-
path: _path + ".published",
|
|
9055
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
9056
|
-
value: input.published
|
|
9057
|
-
}, _errorFactory)) && _ao17(input.published, _path + ".published", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9058
|
-
method: "typia.assertGuard",
|
|
9059
|
-
path: _path + ".published",
|
|
9060
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
9061
|
-
value: input.published
|
|
9062
|
-
}, _errorFactory)) && (undefined === input.remote || ("object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9063
|
-
method: "typia.assertGuard",
|
|
9064
|
-
path: _path + ".remote",
|
|
9065
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
9066
|
-
value: input.remote
|
|
9067
|
-
}, _errorFactory)) && _ao17(input.remote, _path + ".remote", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9068
|
-
method: "typia.assertGuard",
|
|
9069
|
-
path: _path + ".remote",
|
|
9070
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
9071
|
-
value: input.remote
|
|
9072
|
-
}, _errorFactory)) && (null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9073
|
-
method: "typia.assertGuard",
|
|
9074
|
-
path: _path + ".error",
|
|
9075
|
-
expected: "(__type.o11 | null | undefined)",
|
|
9076
|
-
value: input.error
|
|
9077
|
-
}, _errorFactory)) && _ao18(input.error, _path + ".error", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9078
|
-
method: "typia.assertGuard",
|
|
9079
|
-
path: _path + ".error",
|
|
9080
|
-
expected: "(__type.o11 | null | undefined)",
|
|
9081
|
-
value: input.error
|
|
9082
|
-
}, _errorFactory)) && (undefined === input.messages || (Array.isArray(input.messages) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9083
|
-
method: "typia.assertGuard",
|
|
9084
|
-
path: _path + ".messages",
|
|
9085
|
-
expected: "(Array<Message> | undefined)",
|
|
9086
|
-
value: input.messages
|
|
9087
|
-
}, _errorFactory)) && input.messages.every((elem, _index13) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9088
|
-
method: "typia.assertGuard",
|
|
9089
|
-
path: _path + ".messages[" + _index13 + "]",
|
|
9090
|
-
expected: "Message",
|
|
9091
|
-
value: elem
|
|
9092
|
-
}, _errorFactory)) && _ao19(elem, _path + ".messages[" + _index13 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9093
|
-
method: "typia.assertGuard",
|
|
9094
|
-
path: _path + ".messages[" + _index13 + "]",
|
|
9095
|
-
expected: "Message",
|
|
9096
|
-
value: elem
|
|
9097
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9098
|
-
method: "typia.assertGuard",
|
|
9099
|
-
path: _path + ".messages",
|
|
9100
|
-
expected: "(Array<Message> | undefined)",
|
|
9101
|
-
value: input.messages
|
|
9102
|
-
}, _errorFactory)); const _ao21 = (input, _path, _exceptionable = true) => (undefined === input.directory || "string" === typeof input.directory || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9061
|
+
}, _errorFactory)) && (undefined === input.directory || "string" === typeof input.directory || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9103
9062
|
method: "typia.assertGuard",
|
|
9104
9063
|
path: _path + ".directory",
|
|
9105
9064
|
expected: "(string | undefined)",
|
|
@@ -9114,7 +9073,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
9114
9073
|
path: _path + ".renders",
|
|
9115
9074
|
expected: "(Record<string, FilePublishRender> | undefined)",
|
|
9116
9075
|
value: input.renders
|
|
9117
|
-
}, _errorFactory)) &&
|
|
9076
|
+
}, _errorFactory)) && _ao19(input.renders, _path + ".renders", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9118
9077
|
method: "typia.assertGuard",
|
|
9119
9078
|
path: _path + ".renders",
|
|
9120
9079
|
expected: "(Record<string, FilePublishRender> | undefined)",
|
|
@@ -9124,7 +9083,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
9124
9083
|
path: _path + ".draft",
|
|
9125
9084
|
expected: "(FilePublishDraft | undefined)",
|
|
9126
9085
|
value: input.draft
|
|
9127
|
-
}, _errorFactory)) &&
|
|
9086
|
+
}, _errorFactory)) && _ao23(input.draft, _path + ".draft", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9128
9087
|
method: "typia.assertGuard",
|
|
9129
9088
|
path: _path + ".draft",
|
|
9130
9089
|
expected: "(FilePublishDraft | undefined)",
|
|
@@ -9134,7 +9093,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
9134
9093
|
path: _path + ".remote",
|
|
9135
9094
|
expected: "(FilePublishRemote | undefined)",
|
|
9136
9095
|
value: input.remote
|
|
9137
|
-
}, _errorFactory)) &&
|
|
9096
|
+
}, _errorFactory)) && _ao24(input.remote, _path + ".remote", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9138
9097
|
method: "typia.assertGuard",
|
|
9139
9098
|
path: _path + ".remote",
|
|
9140
9099
|
expected: "(FilePublishRemote | undefined)",
|
|
@@ -9144,16 +9103,11 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
9144
9103
|
path: _path + ".published",
|
|
9145
9104
|
expected: "(FilePublishPublished | undefined)",
|
|
9146
9105
|
value: input.published
|
|
9147
|
-
}, _errorFactory)) &&
|
|
9106
|
+
}, _errorFactory)) && _ao27(input.published, _path + ".published", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9148
9107
|
method: "typia.assertGuard",
|
|
9149
9108
|
path: _path + ".published",
|
|
9150
9109
|
expected: "(FilePublishPublished | undefined)",
|
|
9151
9110
|
value: input.published
|
|
9152
|
-
}, _errorFactory)) && ("file" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9153
|
-
method: "typia.assertGuard",
|
|
9154
|
-
path: _path + ".type",
|
|
9155
|
-
expected: "\"file\"",
|
|
9156
|
-
value: input.type
|
|
9157
9111
|
}, _errorFactory)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9158
9112
|
method: "typia.assertGuard",
|
|
9159
9113
|
path: _path + ".asset",
|
|
@@ -9167,36 +9121,36 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
9167
9121
|
}, _errorFactory)) && (undefined === input.render || ("object" === typeof input.render && null !== input.render || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9168
9122
|
method: "typia.assertGuard",
|
|
9169
9123
|
path: _path + ".render",
|
|
9170
|
-
expected: "(
|
|
9124
|
+
expected: "(PublishRenderBase | undefined)",
|
|
9171
9125
|
value: input.render
|
|
9172
|
-
}, _errorFactory)) &&
|
|
9126
|
+
}, _errorFactory)) && _ao2(input.render, _path + ".render", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9173
9127
|
method: "typia.assertGuard",
|
|
9174
9128
|
path: _path + ".render",
|
|
9175
|
-
expected: "(
|
|
9129
|
+
expected: "(PublishRenderBase | undefined)",
|
|
9176
9130
|
value: input.render
|
|
9177
9131
|
}, _errorFactory)) && (null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9178
9132
|
method: "typia.assertGuard",
|
|
9179
9133
|
path: _path + ".error",
|
|
9180
|
-
expected: "(__type.
|
|
9134
|
+
expected: "(__type.o9 | null | undefined)",
|
|
9181
9135
|
value: input.error
|
|
9182
|
-
}, _errorFactory)) &&
|
|
9136
|
+
}, _errorFactory)) && _ao16(input.error, _path + ".error", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9183
9137
|
method: "typia.assertGuard",
|
|
9184
9138
|
path: _path + ".error",
|
|
9185
|
-
expected: "(__type.
|
|
9139
|
+
expected: "(__type.o9 | null | undefined)",
|
|
9186
9140
|
value: input.error
|
|
9187
9141
|
}, _errorFactory)) && (undefined === input.messages || (Array.isArray(input.messages) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9188
9142
|
method: "typia.assertGuard",
|
|
9189
9143
|
path: _path + ".messages",
|
|
9190
9144
|
expected: "(Array<Message> | undefined)",
|
|
9191
9145
|
value: input.messages
|
|
9192
|
-
}, _errorFactory)) && input.messages.every((elem,
|
|
9146
|
+
}, _errorFactory)) && input.messages.every((elem, _index12) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9193
9147
|
method: "typia.assertGuard",
|
|
9194
|
-
path: _path + ".messages[" +
|
|
9148
|
+
path: _path + ".messages[" + _index12 + "]",
|
|
9195
9149
|
expected: "Message",
|
|
9196
9150
|
value: elem
|
|
9197
|
-
}, _errorFactory)) &&
|
|
9151
|
+
}, _errorFactory)) && _ao17(elem, _path + ".messages[" + _index12 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9198
9152
|
method: "typia.assertGuard",
|
|
9199
|
-
path: _path + ".messages[" +
|
|
9153
|
+
path: _path + ".messages[" + _index12 + "]",
|
|
9200
9154
|
expected: "Message",
|
|
9201
9155
|
value: elem
|
|
9202
9156
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -9204,37 +9158,32 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
9204
9158
|
path: _path + ".messages",
|
|
9205
9159
|
expected: "(Array<Message> | undefined)",
|
|
9206
9160
|
value: input.messages
|
|
9207
|
-
}, _errorFactory)); const
|
|
9161
|
+
}, _errorFactory)); const _ao19 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
9208
9162
|
const value = input[key];
|
|
9209
9163
|
if (undefined === value)
|
|
9210
9164
|
return true;
|
|
9211
9165
|
return (null !== value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9212
9166
|
method: "typia.assertGuard",
|
|
9213
9167
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9214
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
9168
|
+
expected: "(ResolvedFilePublishRender | __type.o10 | string)",
|
|
9215
9169
|
value: value
|
|
9216
9170
|
}, _errorFactory)) && (undefined !== value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9217
9171
|
method: "typia.assertGuard",
|
|
9218
9172
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9219
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
9173
|
+
expected: "(ResolvedFilePublishRender | __type.o10 | string)",
|
|
9220
9174
|
value: value
|
|
9221
9175
|
}, _errorFactory)) && ("string" === typeof value || ("object" === typeof value && null !== value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9222
9176
|
method: "typia.assertGuard",
|
|
9223
9177
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9224
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
9178
|
+
expected: "(ResolvedFilePublishRender | __type.o10 | string)",
|
|
9225
9179
|
value: value
|
|
9226
9180
|
}, _errorFactory)) && _au0(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9227
9181
|
method: "typia.assertGuard",
|
|
9228
9182
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9229
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
9183
|
+
expected: "(ResolvedFilePublishRender | __type.o10 | string)",
|
|
9230
9184
|
value: value
|
|
9231
9185
|
}, _errorFactory));
|
|
9232
|
-
}); const
|
|
9233
|
-
method: "typia.assertGuard",
|
|
9234
|
-
path: _path + ".preset",
|
|
9235
|
-
expected: "(string | undefined)",
|
|
9236
|
-
value: input.preset
|
|
9237
|
-
}, _errorFactory)) && (undefined === input.name || "string" === typeof input.name || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9186
|
+
}); const _ao20 = (input, _path, _exceptionable = true) => (undefined === input.name || "string" === typeof input.name || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9238
9187
|
method: "typia.assertGuard",
|
|
9239
9188
|
path: _path + ".name",
|
|
9240
9189
|
expected: "(string | undefined)",
|
|
@@ -9254,6 +9203,11 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
9254
9203
|
path: _path + ".ignoreEmptyScene",
|
|
9255
9204
|
expected: "(boolean | undefined)",
|
|
9256
9205
|
value: input.ignoreEmptyScene
|
|
9206
|
+
}, _errorFactory)) && (undefined === input.preset || "string" === typeof input.preset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9207
|
+
method: "typia.assertGuard",
|
|
9208
|
+
path: _path + ".preset",
|
|
9209
|
+
expected: "(string | undefined)",
|
|
9210
|
+
value: input.preset
|
|
9257
9211
|
}, _errorFactory)) && ("string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9258
9212
|
method: "typia.assertGuard",
|
|
9259
9213
|
path: _path + ".type",
|
|
@@ -9264,7 +9218,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
9264
9218
|
path: _path + ".scene",
|
|
9265
9219
|
expected: "(RenderSceneObject | undefined)",
|
|
9266
9220
|
value: input.scene
|
|
9267
|
-
}, _errorFactory)) &&
|
|
9221
|
+
}, _errorFactory)) && _ao3(input.scene, _path + ".scene", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9268
9222
|
method: "typia.assertGuard",
|
|
9269
9223
|
path: _path + ".scene",
|
|
9270
9224
|
expected: "(RenderSceneObject | undefined)",
|
|
@@ -9274,37 +9228,37 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
9274
9228
|
path: _path + ".profile",
|
|
9275
9229
|
expected: "(RenderProfileObject | undefined)",
|
|
9276
9230
|
value: input.profile
|
|
9277
|
-
}, _errorFactory)) &&
|
|
9231
|
+
}, _errorFactory)) && _ao11(input.profile, _path + ".profile", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9278
9232
|
method: "typia.assertGuard",
|
|
9279
9233
|
path: _path + ".profile",
|
|
9280
9234
|
expected: "(RenderProfileObject | undefined)",
|
|
9281
9235
|
value: input.profile
|
|
9282
|
-
}, _errorFactory)); const
|
|
9236
|
+
}, _errorFactory)); const _ao21 = (input, _path, _exceptionable = true) => (("object" === typeof input.__context && null !== input.__context || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9283
9237
|
method: "typia.assertGuard",
|
|
9284
9238
|
path: _path + ".__context",
|
|
9285
|
-
expected: "__type.
|
|
9239
|
+
expected: "__type.o11",
|
|
9286
9240
|
value: input.__context
|
|
9287
|
-
}, _errorFactory)) &&
|
|
9241
|
+
}, _errorFactory)) && _ao22(input.__context, _path + ".__context", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9288
9242
|
method: "typia.assertGuard",
|
|
9289
9243
|
path: _path + ".__context",
|
|
9290
|
-
expected: "__type.
|
|
9244
|
+
expected: "__type.o11",
|
|
9291
9245
|
value: input.__context
|
|
9292
9246
|
}, _errorFactory)) && (("object" === typeof input.__returnValue && null !== input.__returnValue || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9293
9247
|
method: "typia.assertGuard",
|
|
9294
9248
|
path: _path + ".__returnValue",
|
|
9295
9249
|
expected: "ResolvedFilePublishRender",
|
|
9296
9250
|
value: input.__returnValue
|
|
9297
|
-
}, _errorFactory)) &&
|
|
9251
|
+
}, _errorFactory)) && _ao20(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9298
9252
|
method: "typia.assertGuard",
|
|
9299
9253
|
path: _path + ".__returnValue",
|
|
9300
9254
|
expected: "ResolvedFilePublishRender",
|
|
9301
9255
|
value: input.__returnValue
|
|
9302
|
-
}, _errorFactory)); const
|
|
9256
|
+
}, _errorFactory)); const _ao22 = (input, _path, _exceptionable = true) => (("object" === typeof input.publish && null !== input.publish || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9303
9257
|
method: "typia.assertGuard",
|
|
9304
9258
|
path: _path + ".publish",
|
|
9305
9259
|
expected: "FilePublishRecord",
|
|
9306
9260
|
value: input.publish
|
|
9307
|
-
}, _errorFactory)) &&
|
|
9261
|
+
}, _errorFactory)) && _ao18(input.publish, _path + ".publish", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9308
9262
|
method: "typia.assertGuard",
|
|
9309
9263
|
path: _path + ".publish",
|
|
9310
9264
|
expected: "FilePublishRecord",
|
|
@@ -9319,7 +9273,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
9319
9273
|
path: _path + ".name",
|
|
9320
9274
|
expected: "string",
|
|
9321
9275
|
value: input.name
|
|
9322
|
-
}, _errorFactory)); const
|
|
9276
|
+
}, _errorFactory)); const _ao23 = (input, _path, _exceptionable = true) => (undefined === input.directory || "string" === typeof input.directory || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9323
9277
|
method: "typia.assertGuard",
|
|
9324
9278
|
path: _path + ".directory",
|
|
9325
9279
|
expected: "(string | undefined)",
|
|
@@ -9329,14 +9283,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
9329
9283
|
path: _path + ".filename",
|
|
9330
9284
|
expected: "(string | undefined)",
|
|
9331
9285
|
value: input.filename
|
|
9332
|
-
}, _errorFactory))
|
|
9333
|
-
if (["directory", "filename"].some(prop => key === prop))
|
|
9334
|
-
return true;
|
|
9335
|
-
const value = input[key];
|
|
9336
|
-
if (undefined === value)
|
|
9337
|
-
return true;
|
|
9338
|
-
return true;
|
|
9339
|
-
})); const _ao27 = (input, _path, _exceptionable = true) => (undefined === input.directory || "string" === typeof input.directory || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9286
|
+
}, _errorFactory)); const _ao24 = (input, _path, _exceptionable = true) => (undefined === input.directory || "string" === typeof input.directory || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9340
9287
|
method: "typia.assertGuard",
|
|
9341
9288
|
path: _path + ".directory",
|
|
9342
9289
|
expected: "(string | undefined)",
|
|
@@ -9351,19 +9298,12 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
9351
9298
|
path: _path + ".renders",
|
|
9352
9299
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
9353
9300
|
value: input.renders
|
|
9354
|
-
}, _errorFactory)) &&
|
|
9301
|
+
}, _errorFactory)) && _ao25(input.renders, _path + ".renders", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9355
9302
|
method: "typia.assertGuard",
|
|
9356
9303
|
path: _path + ".renders",
|
|
9357
9304
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
9358
9305
|
value: input.renders
|
|
9359
|
-
}, _errorFactory))
|
|
9360
|
-
if (["directory", "filename", "renders"].some(prop => key === prop))
|
|
9361
|
-
return true;
|
|
9362
|
-
const value = input[key];
|
|
9363
|
-
if (undefined === value)
|
|
9364
|
-
return true;
|
|
9365
|
-
return true;
|
|
9366
|
-
})); const _ao28 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
9306
|
+
}, _errorFactory)); const _ao25 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
9367
9307
|
const value = input[key];
|
|
9368
9308
|
if (undefined === value)
|
|
9369
9309
|
return true;
|
|
@@ -9372,13 +9312,13 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
9372
9312
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9373
9313
|
expected: "FilePublishRemoteRender",
|
|
9374
9314
|
value: value
|
|
9375
|
-
}, _errorFactory)) &&
|
|
9315
|
+
}, _errorFactory)) && _ao26(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9376
9316
|
method: "typia.assertGuard",
|
|
9377
9317
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9378
9318
|
expected: "FilePublishRemoteRender",
|
|
9379
9319
|
value: value
|
|
9380
9320
|
}, _errorFactory);
|
|
9381
|
-
}); const
|
|
9321
|
+
}); const _ao26 = (input, _path, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9382
9322
|
method: "typia.assertGuard",
|
|
9383
9323
|
path: _path + ".path",
|
|
9384
9324
|
expected: "(string | undefined)",
|
|
@@ -9388,14 +9328,14 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
9388
9328
|
path: _path + ".messages",
|
|
9389
9329
|
expected: "(Array<Message> | undefined)",
|
|
9390
9330
|
value: input.messages
|
|
9391
|
-
}, _errorFactory)) && input.messages.every((elem,
|
|
9331
|
+
}, _errorFactory)) && input.messages.every((elem, _index13) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9392
9332
|
method: "typia.assertGuard",
|
|
9393
|
-
path: _path + ".messages[" +
|
|
9333
|
+
path: _path + ".messages[" + _index13 + "]",
|
|
9394
9334
|
expected: "Message",
|
|
9395
9335
|
value: elem
|
|
9396
|
-
}, _errorFactory)) &&
|
|
9336
|
+
}, _errorFactory)) && _ao17(elem, _path + ".messages[" + _index13 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9397
9337
|
method: "typia.assertGuard",
|
|
9398
|
-
path: _path + ".messages[" +
|
|
9338
|
+
path: _path + ".messages[" + _index13 + "]",
|
|
9399
9339
|
expected: "Message",
|
|
9400
9340
|
value: elem
|
|
9401
9341
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -9418,7 +9358,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
9418
9358
|
path: _path + ".source",
|
|
9419
9359
|
expected: "(string | undefined)",
|
|
9420
9360
|
value: input.source
|
|
9421
|
-
}, _errorFactory)); const
|
|
9361
|
+
}, _errorFactory)); const _ao27 = (input, _path, _exceptionable = true) => (undefined === input.directory || "string" === typeof input.directory || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9422
9362
|
method: "typia.assertGuard",
|
|
9423
9363
|
path: _path + ".directory",
|
|
9424
9364
|
expected: "(string | undefined)",
|
|
@@ -9428,14 +9368,12 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
9428
9368
|
path: _path + ".filename",
|
|
9429
9369
|
expected: "string",
|
|
9430
9370
|
value: input.filename
|
|
9431
|
-
}, _errorFactory))
|
|
9432
|
-
|
|
9433
|
-
|
|
9434
|
-
|
|
9435
|
-
|
|
9436
|
-
|
|
9437
|
-
return true;
|
|
9438
|
-
})); const _ao31 = (input, _path, _exceptionable = true) => (undefined === input.directory || "string" === typeof input.directory || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9371
|
+
}, _errorFactory)); const _ao28 = (input, _path, _exceptionable = true) => ("file" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9372
|
+
method: "typia.assertGuard",
|
|
9373
|
+
path: _path + ".type",
|
|
9374
|
+
expected: "\"file\"",
|
|
9375
|
+
value: input.type
|
|
9376
|
+
}, _errorFactory)) && (undefined === input.directory || "string" === typeof input.directory || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9439
9377
|
method: "typia.assertGuard",
|
|
9440
9378
|
path: _path + ".directory",
|
|
9441
9379
|
expected: "(string | undefined)",
|
|
@@ -9450,7 +9388,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
9450
9388
|
path: _path + ".draft",
|
|
9451
9389
|
expected: "(FilePublishDraft | undefined)",
|
|
9452
9390
|
value: input.draft
|
|
9453
|
-
}, _errorFactory)) &&
|
|
9391
|
+
}, _errorFactory)) && _ao23(input.draft, _path + ".draft", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9454
9392
|
method: "typia.assertGuard",
|
|
9455
9393
|
path: _path + ".draft",
|
|
9456
9394
|
expected: "(FilePublishDraft | undefined)",
|
|
@@ -9460,7 +9398,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
9460
9398
|
path: _path + ".remote",
|
|
9461
9399
|
expected: "(FilePublishRemoteLegacy | undefined)",
|
|
9462
9400
|
value: input.remote
|
|
9463
|
-
}, _errorFactory)) &&
|
|
9401
|
+
}, _errorFactory)) && _ao29(input.remote, _path + ".remote", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9464
9402
|
method: "typia.assertGuard",
|
|
9465
9403
|
path: _path + ".remote",
|
|
9466
9404
|
expected: "(FilePublishRemoteLegacy | undefined)",
|
|
@@ -9470,7 +9408,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
9470
9408
|
path: _path + ".published",
|
|
9471
9409
|
expected: "(FilePublishPublished | undefined)",
|
|
9472
9410
|
value: input.published
|
|
9473
|
-
}, _errorFactory)) &&
|
|
9411
|
+
}, _errorFactory)) && _ao27(input.published, _path + ".published", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9474
9412
|
method: "typia.assertGuard",
|
|
9475
9413
|
path: _path + ".published",
|
|
9476
9414
|
expected: "(FilePublishPublished | undefined)",
|
|
@@ -9485,12 +9423,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
9485
9423
|
path: _path + ".renders",
|
|
9486
9424
|
expected: "undefined",
|
|
9487
9425
|
value: input.renders
|
|
9488
|
-
}, _errorFactory))) && ("
|
|
9489
|
-
method: "typia.assertGuard",
|
|
9490
|
-
path: _path + ".type",
|
|
9491
|
-
expected: "\"file\"",
|
|
9492
|
-
value: input.type
|
|
9493
|
-
}, _errorFactory)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9426
|
+
}, _errorFactory))) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9494
9427
|
method: "typia.assertGuard",
|
|
9495
9428
|
path: _path + ".asset",
|
|
9496
9429
|
expected: "(null | string | undefined)",
|
|
@@ -9503,36 +9436,36 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
9503
9436
|
}, _errorFactory)) && (undefined === input.render || ("object" === typeof input.render && null !== input.render || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9504
9437
|
method: "typia.assertGuard",
|
|
9505
9438
|
path: _path + ".render",
|
|
9506
|
-
expected: "(
|
|
9439
|
+
expected: "(PublishRenderBase | undefined)",
|
|
9507
9440
|
value: input.render
|
|
9508
|
-
}, _errorFactory)) &&
|
|
9441
|
+
}, _errorFactory)) && _ao2(input.render, _path + ".render", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9509
9442
|
method: "typia.assertGuard",
|
|
9510
9443
|
path: _path + ".render",
|
|
9511
|
-
expected: "(
|
|
9444
|
+
expected: "(PublishRenderBase | undefined)",
|
|
9512
9445
|
value: input.render
|
|
9513
9446
|
}, _errorFactory)) && (null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9514
9447
|
method: "typia.assertGuard",
|
|
9515
9448
|
path: _path + ".error",
|
|
9516
|
-
expected: "(__type.
|
|
9449
|
+
expected: "(__type.o9 | null | undefined)",
|
|
9517
9450
|
value: input.error
|
|
9518
|
-
}, _errorFactory)) &&
|
|
9451
|
+
}, _errorFactory)) && _ao16(input.error, _path + ".error", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9519
9452
|
method: "typia.assertGuard",
|
|
9520
9453
|
path: _path + ".error",
|
|
9521
|
-
expected: "(__type.
|
|
9454
|
+
expected: "(__type.o9 | null | undefined)",
|
|
9522
9455
|
value: input.error
|
|
9523
9456
|
}, _errorFactory)) && (undefined === input.messages || (Array.isArray(input.messages) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9524
9457
|
method: "typia.assertGuard",
|
|
9525
9458
|
path: _path + ".messages",
|
|
9526
9459
|
expected: "(Array<Message> | undefined)",
|
|
9527
9460
|
value: input.messages
|
|
9528
|
-
}, _errorFactory)) && input.messages.every((elem,
|
|
9461
|
+
}, _errorFactory)) && input.messages.every((elem, _index14) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9529
9462
|
method: "typia.assertGuard",
|
|
9530
|
-
path: _path + ".messages[" +
|
|
9463
|
+
path: _path + ".messages[" + _index14 + "]",
|
|
9531
9464
|
expected: "Message",
|
|
9532
9465
|
value: elem
|
|
9533
|
-
}, _errorFactory)) &&
|
|
9466
|
+
}, _errorFactory)) && _ao17(elem, _path + ".messages[" + _index14 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9534
9467
|
method: "typia.assertGuard",
|
|
9535
|
-
path: _path + ".messages[" +
|
|
9468
|
+
path: _path + ".messages[" + _index14 + "]",
|
|
9536
9469
|
expected: "Message",
|
|
9537
9470
|
value: elem
|
|
9538
9471
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -9540,7 +9473,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
9540
9473
|
path: _path + ".messages",
|
|
9541
9474
|
expected: "(Array<Message> | undefined)",
|
|
9542
9475
|
value: input.messages
|
|
9543
|
-
}, _errorFactory)); const
|
|
9476
|
+
}, _errorFactory)); const _ao29 = (input, _path, _exceptionable = true) => (undefined === input.id || "string" === typeof input.id || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9544
9477
|
method: "typia.assertGuard",
|
|
9545
9478
|
path: _path + ".id",
|
|
9546
9479
|
expected: "(string | undefined)",
|
|
@@ -9563,22 +9496,22 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
9563
9496
|
}, _errorFactory)) && (undefined === input.subtitle || ("object" === typeof input.subtitle && null !== input.subtitle || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9564
9497
|
method: "typia.assertGuard",
|
|
9565
9498
|
path: _path + ".subtitle",
|
|
9566
|
-
expected: "(__type.
|
|
9499
|
+
expected: "(__type.o12 | undefined)",
|
|
9567
9500
|
value: input.subtitle
|
|
9568
|
-
}, _errorFactory)) &&
|
|
9501
|
+
}, _errorFactory)) && _ao30(input.subtitle, _path + ".subtitle", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9569
9502
|
method: "typia.assertGuard",
|
|
9570
9503
|
path: _path + ".subtitle",
|
|
9571
|
-
expected: "(__type.
|
|
9504
|
+
expected: "(__type.o12 | undefined)",
|
|
9572
9505
|
value: input.subtitle
|
|
9573
9506
|
}, _errorFactory)) && (undefined === input.metafile || ("object" === typeof input.metafile && null !== input.metafile || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9574
9507
|
method: "typia.assertGuard",
|
|
9575
9508
|
path: _path + ".metafile",
|
|
9576
|
-
expected: "(__type.
|
|
9509
|
+
expected: "(__type.o13 | undefined)",
|
|
9577
9510
|
value: input.metafile
|
|
9578
|
-
}, _errorFactory)) &&
|
|
9511
|
+
}, _errorFactory)) && _ao31(input.metafile, _path + ".metafile", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9579
9512
|
method: "typia.assertGuard",
|
|
9580
9513
|
path: _path + ".metafile",
|
|
9581
|
-
expected: "(__type.
|
|
9514
|
+
expected: "(__type.o13 | undefined)",
|
|
9582
9515
|
value: input.metafile
|
|
9583
9516
|
}, _errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
|
|
9584
9517
|
if (["id", "path", "filename", "directory", "subtitle", "metafile"].some(prop => key === prop))
|
|
@@ -9587,52 +9520,137 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
9587
9520
|
if (undefined === value)
|
|
9588
9521
|
return true;
|
|
9589
9522
|
return true;
|
|
9590
|
-
})); const
|
|
9523
|
+
})); const _ao30 = (input, _path, _exceptionable = true) => "string" === typeof input.path || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9591
9524
|
method: "typia.assertGuard",
|
|
9592
9525
|
path: _path + ".path",
|
|
9593
9526
|
expected: "string",
|
|
9594
9527
|
value: input.path
|
|
9595
|
-
}, _errorFactory); const
|
|
9528
|
+
}, _errorFactory); const _ao31 = (input, _path, _exceptionable = true) => "string" === typeof input.path || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9596
9529
|
method: "typia.assertGuard",
|
|
9597
9530
|
path: _path + ".path",
|
|
9598
9531
|
expected: "string",
|
|
9599
9532
|
value: input.path
|
|
9600
|
-
}, _errorFactory); const
|
|
9533
|
+
}, _errorFactory); const _ao32 = (input, _path, _exceptionable = true) => ("youtube" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9601
9534
|
method: "typia.assertGuard",
|
|
9602
9535
|
path: _path + ".type",
|
|
9603
|
-
expected: "
|
|
9536
|
+
expected: "\"youtube\"",
|
|
9604
9537
|
value: input.type
|
|
9605
|
-
}, _errorFactory)) && (null === input.
|
|
9538
|
+
}, _errorFactory)) && (undefined === input.draft || ("object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9606
9539
|
method: "typia.assertGuard",
|
|
9607
|
-
path: _path + ".
|
|
9608
|
-
expected: "
|
|
9609
|
-
value: input.
|
|
9540
|
+
path: _path + ".draft",
|
|
9541
|
+
expected: "(__type.o14 | undefined)",
|
|
9542
|
+
value: input.draft
|
|
9543
|
+
}, _errorFactory)) && _ao33(input.draft, _path + ".draft", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9544
|
+
method: "typia.assertGuard",
|
|
9545
|
+
path: _path + ".draft",
|
|
9546
|
+
expected: "(__type.o14 | undefined)",
|
|
9547
|
+
value: input.draft
|
|
9610
9548
|
}, _errorFactory)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9611
9549
|
method: "typia.assertGuard",
|
|
9612
9550
|
path: _path + ".asset",
|
|
9613
9551
|
expected: "(null | string | undefined)",
|
|
9614
9552
|
value: input.asset
|
|
9553
|
+
}, _errorFactory)) && (undefined === input.connection || "string" === typeof input.connection || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9554
|
+
method: "typia.assertGuard",
|
|
9555
|
+
path: _path + ".connection",
|
|
9556
|
+
expected: "(string | undefined)",
|
|
9557
|
+
value: input.connection
|
|
9558
|
+
}, _errorFactory)) && (undefined === input.render || ("object" === typeof input.render && null !== input.render || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9559
|
+
method: "typia.assertGuard",
|
|
9560
|
+
path: _path + ".render",
|
|
9561
|
+
expected: "(PublishRenderBase | undefined)",
|
|
9562
|
+
value: input.render
|
|
9563
|
+
}, _errorFactory)) && _ao2(input.render, _path + ".render", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9564
|
+
method: "typia.assertGuard",
|
|
9565
|
+
path: _path + ".render",
|
|
9566
|
+
expected: "(PublishRenderBase | undefined)",
|
|
9567
|
+
value: input.render
|
|
9568
|
+
}, _errorFactory)) && true && true && (null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9569
|
+
method: "typia.assertGuard",
|
|
9570
|
+
path: _path + ".error",
|
|
9571
|
+
expected: "(__type.o9 | null | undefined)",
|
|
9572
|
+
value: input.error
|
|
9573
|
+
}, _errorFactory)) && _ao16(input.error, _path + ".error", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9574
|
+
method: "typia.assertGuard",
|
|
9575
|
+
path: _path + ".error",
|
|
9576
|
+
expected: "(__type.o9 | null | undefined)",
|
|
9577
|
+
value: input.error
|
|
9578
|
+
}, _errorFactory)) && (undefined === input.messages || (Array.isArray(input.messages) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9579
|
+
method: "typia.assertGuard",
|
|
9580
|
+
path: _path + ".messages",
|
|
9581
|
+
expected: "(Array<Message> | undefined)",
|
|
9582
|
+
value: input.messages
|
|
9583
|
+
}, _errorFactory)) && input.messages.every((elem, _index15) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9584
|
+
method: "typia.assertGuard",
|
|
9585
|
+
path: _path + ".messages[" + _index15 + "]",
|
|
9586
|
+
expected: "Message",
|
|
9587
|
+
value: elem
|
|
9588
|
+
}, _errorFactory)) && _ao17(elem, _path + ".messages[" + _index15 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9589
|
+
method: "typia.assertGuard",
|
|
9590
|
+
path: _path + ".messages[" + _index15 + "]",
|
|
9591
|
+
expected: "Message",
|
|
9592
|
+
value: elem
|
|
9593
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9594
|
+
method: "typia.assertGuard",
|
|
9595
|
+
path: _path + ".messages",
|
|
9596
|
+
expected: "(Array<Message> | undefined)",
|
|
9597
|
+
value: input.messages
|
|
9598
|
+
}, _errorFactory)); const _ao33 = (input, _path, _exceptionable = true) => undefined === input.snippet || ("object" === typeof input.snippet && null !== input.snippet && false === Array.isArray(input.snippet) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9599
|
+
method: "typia.assertGuard",
|
|
9600
|
+
path: _path + ".snippet",
|
|
9601
|
+
expected: "(__type.o15 | undefined)",
|
|
9602
|
+
value: input.snippet
|
|
9603
|
+
}, _errorFactory)) && _ao34(input.snippet, _path + ".snippet", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9604
|
+
method: "typia.assertGuard",
|
|
9605
|
+
path: _path + ".snippet",
|
|
9606
|
+
expected: "(__type.o15 | undefined)",
|
|
9607
|
+
value: input.snippet
|
|
9608
|
+
}, _errorFactory); const _ao34 = (input, _path, _exceptionable = true) => (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9609
|
+
method: "typia.assertGuard",
|
|
9610
|
+
path: _path + ".title",
|
|
9611
|
+
expected: "(string | undefined)",
|
|
9612
|
+
value: input.title
|
|
9613
|
+
}, _errorFactory)) && (undefined === input.tags || (Array.isArray(input.tags) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9614
|
+
method: "typia.assertGuard",
|
|
9615
|
+
path: _path + ".tags",
|
|
9616
|
+
expected: "(Array<string> | undefined)",
|
|
9617
|
+
value: input.tags
|
|
9618
|
+
}, _errorFactory)) && input.tags.every((elem, _index16) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9619
|
+
method: "typia.assertGuard",
|
|
9620
|
+
path: _path + ".tags[" + _index16 + "]",
|
|
9621
|
+
expected: "string",
|
|
9622
|
+
value: elem
|
|
9623
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9624
|
+
method: "typia.assertGuard",
|
|
9625
|
+
path: _path + ".tags",
|
|
9626
|
+
expected: "(Array<string> | undefined)",
|
|
9627
|
+
value: input.tags
|
|
9628
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9629
|
+
method: "typia.assertGuard",
|
|
9630
|
+
path: _path + ".description",
|
|
9631
|
+
expected: "(string | undefined)",
|
|
9632
|
+
value: input.description
|
|
9615
9633
|
}, _errorFactory)); const _au0 = (input, _path, _exceptionable = true) => (() => {
|
|
9616
9634
|
if (undefined !== input.path)
|
|
9617
|
-
return
|
|
9635
|
+
return _ao20(input, _path, true && _exceptionable);
|
|
9618
9636
|
else if (undefined !== input.__context)
|
|
9619
|
-
return
|
|
9637
|
+
return _ao21(input, _path, true && _exceptionable);
|
|
9620
9638
|
else
|
|
9621
9639
|
return __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9622
9640
|
method: "typia.assertGuard",
|
|
9623
9641
|
path: _path,
|
|
9624
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
9642
|
+
expected: "(ResolvedFilePublishRender | __type.o10)",
|
|
9625
9643
|
value: input
|
|
9626
9644
|
}, _errorFactory);
|
|
9627
9645
|
})(); const _au1 = (input, _path, _exceptionable = true) => (() => {
|
|
9628
|
-
if (
|
|
9646
|
+
if (undefined !== input.type && null === input.type)
|
|
9629
9647
|
return _ao0(input, _path, true && _exceptionable);
|
|
9630
9648
|
else if ("facebook" === input.type)
|
|
9631
|
-
return
|
|
9632
|
-
else if (
|
|
9633
|
-
return
|
|
9649
|
+
return _ao1(input, _path, true && _exceptionable);
|
|
9650
|
+
else if ("youtube" === input.type)
|
|
9651
|
+
return _ao32(input, _path, true && _exceptionable);
|
|
9634
9652
|
else
|
|
9635
|
-
return
|
|
9653
|
+
return _ao28(input, _path, false && _exceptionable) || _ao18(input, _path, false && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9636
9654
|
method: "typia.assertGuard",
|
|
9637
9655
|
path: _path,
|
|
9638
9656
|
expected: "(FilePublishRecordLegacy | FilePublishRecord)",
|
|
@@ -9656,78 +9674,38 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
9656
9674
|
}; })()(input);
|
|
9657
9675
|
}
|
|
9658
9676
|
case ":publish.stats?": {
|
|
9659
|
-
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) &&
|
|
9677
|
+
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 => {
|
|
9660
9678
|
const value = input[key];
|
|
9661
9679
|
if (undefined === value)
|
|
9662
9680
|
return true;
|
|
9663
|
-
return
|
|
9664
|
-
}); const
|
|
9665
|
-
if (["filename", "directory", "renders"].some(prop => key === prop))
|
|
9666
|
-
return true;
|
|
9667
|
-
const value = input[key];
|
|
9668
|
-
if (undefined === value)
|
|
9669
|
-
return true;
|
|
9670
|
-
return true;
|
|
9671
|
-
}); const _io6 = input => Object.keys(input).every(key => {
|
|
9672
|
-
const value = input[key];
|
|
9673
|
-
if (undefined === value)
|
|
9674
|
-
return true;
|
|
9675
|
-
return "object" === typeof value && null !== value && _io7(value);
|
|
9676
|
-
}); 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 => {
|
|
9677
|
-
if (["directory", "filename", "renders"].some(prop => key === prop))
|
|
9678
|
-
return true;
|
|
9679
|
-
const value = input[key];
|
|
9680
|
-
if (undefined === value)
|
|
9681
|
-
return true;
|
|
9682
|
-
return true;
|
|
9683
|
-
}); const _io9 = input => Object.keys(input).every(key => {
|
|
9681
|
+
return "object" === typeof value && null !== value && _io6(value);
|
|
9682
|
+
}); 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 => {
|
|
9684
9683
|
const value = input[key];
|
|
9685
9684
|
if (undefined === value)
|
|
9686
9685
|
return true;
|
|
9687
9686
|
return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && _iu0(value));
|
|
9688
|
-
}); const
|
|
9689
|
-
const value = input[key];
|
|
9690
|
-
if (undefined === value)
|
|
9691
|
-
return true;
|
|
9692
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io14(value);
|
|
9693
|
-
}); const _io14 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io15(input.styleOverrides)); const _io15 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io16 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io17(input.crop); const _io17 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io18 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io19 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io20(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io21(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io22(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io23(input.subtitle))); const _io20 = input => "string" === typeof input.engine; const _io21 = input => "string" === typeof input.language; const _io22 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io23 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _io24 = input => "object" === typeof input.__context && null !== input.__context && _io25(input.__context) && ("object" === typeof input.__returnValue && null !== input.__returnValue && _io10(input.__returnValue)); const _io25 = input => "object" === typeof input.publish && null !== input.publish && _io26(input.publish) && "string" === typeof input.directory && "string" === typeof input.name; const _io26 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io9(input.renders)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io27(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io28(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io31(input.published)) && "file" === input.type && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io32(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io33(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io27 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && Object.keys(input).every(key => {
|
|
9694
|
-
if (["directory", "filename"].some(prop => key === prop))
|
|
9695
|
-
return true;
|
|
9696
|
-
const value = input[key];
|
|
9697
|
-
if (undefined === value)
|
|
9698
|
-
return true;
|
|
9699
|
-
return true;
|
|
9700
|
-
}); const _io28 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io29(input.renders)) && Object.keys(input).every(key => {
|
|
9701
|
-
if (["directory", "filename", "renders"].some(prop => key === prop))
|
|
9702
|
-
return true;
|
|
9687
|
+
}); 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 => {
|
|
9703
9688
|
const value = input[key];
|
|
9704
9689
|
if (undefined === value)
|
|
9705
9690
|
return true;
|
|
9706
|
-
return
|
|
9707
|
-
}); const
|
|
9691
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io13(value);
|
|
9692
|
+
}); 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 => {
|
|
9708
9693
|
const value = input[key];
|
|
9709
9694
|
if (undefined === value)
|
|
9710
9695
|
return true;
|
|
9711
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
9712
|
-
}); const
|
|
9713
|
-
if (["directory", "filename"].some(prop => key === prop))
|
|
9714
|
-
return true;
|
|
9715
|
-
const value = input[key];
|
|
9716
|
-
if (undefined === value)
|
|
9717
|
-
return true;
|
|
9718
|
-
return true;
|
|
9719
|
-
}); 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 => (() => {
|
|
9696
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io29(value);
|
|
9697
|
+
}); 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 => (() => {
|
|
9720
9698
|
if (undefined !== input.path)
|
|
9721
|
-
return
|
|
9699
|
+
return _io9(input);
|
|
9722
9700
|
else if (undefined !== input.__context)
|
|
9723
|
-
return
|
|
9701
|
+
return _io23(input);
|
|
9724
9702
|
else
|
|
9725
9703
|
return false;
|
|
9726
9704
|
})(); const _iu1 = input => (() => {
|
|
9727
|
-
if (_io4(input))
|
|
9728
|
-
return _io4(input);
|
|
9729
9705
|
if (_io3(input))
|
|
9730
9706
|
return _io3(input);
|
|
9707
|
+
if (_io2(input))
|
|
9708
|
+
return _io2(input);
|
|
9731
9709
|
if (_io0(input))
|
|
9732
9710
|
return _io0(input);
|
|
9733
9711
|
return false;
|
|
@@ -9761,27 +9739,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
9761
9739
|
path: _path + ".messages",
|
|
9762
9740
|
expected: "(Array<Message> | undefined)",
|
|
9763
9741
|
value: input.messages
|
|
9764
|
-
}, _errorFactory)) &&
|
|
9765
|
-
method: "typia.assertGuard",
|
|
9766
|
-
path: _path + ".retrieved",
|
|
9767
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
9768
|
-
value: input.retrieved
|
|
9769
|
-
}, _errorFactory)) && _ao2(input.retrieved, _path + ".retrieved", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9770
|
-
method: "typia.assertGuard",
|
|
9771
|
-
path: _path + ".retrieved",
|
|
9772
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
9773
|
-
value: input.retrieved
|
|
9774
|
-
}, _errorFactory)) && (undefined === input.defaults || ("object" === typeof input.defaults && null !== input.defaults && false === Array.isArray(input.defaults) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9775
|
-
method: "typia.assertGuard",
|
|
9776
|
-
path: _path + ".defaults",
|
|
9777
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
9778
|
-
value: input.defaults
|
|
9779
|
-
}, _errorFactory)) && _ao2(input.defaults, _path + ".defaults", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9780
|
-
method: "typia.assertGuard",
|
|
9781
|
-
path: _path + ".defaults",
|
|
9782
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
9783
|
-
value: input.defaults
|
|
9784
|
-
}, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => ("number" === typeof input.level || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9742
|
+
}, _errorFactory)) && true && true; const _ao1 = (input, _path, _exceptionable = true) => ("number" === typeof input.level || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9785
9743
|
method: "typia.assertGuard",
|
|
9786
9744
|
path: _path + ".level",
|
|
9787
9745
|
expected: "number",
|
|
@@ -9796,12 +9754,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
9796
9754
|
path: _path + ".msg",
|
|
9797
9755
|
expected: "string",
|
|
9798
9756
|
value: input.msg
|
|
9799
|
-
}, _errorFactory)); const _ao2 = (input, _path, _exceptionable = true) =>
|
|
9800
|
-
const value = input[key];
|
|
9801
|
-
if (undefined === value)
|
|
9802
|
-
return true;
|
|
9803
|
-
return true;
|
|
9804
|
-
}); const _ao3 = (input, _path, _exceptionable = true) => (undefined === input.status || "string" === typeof input.status || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9757
|
+
}, _errorFactory)); const _ao2 = (input, _path, _exceptionable = true) => (undefined === input.status || "string" === typeof input.status || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9805
9758
|
method: "typia.assertGuard",
|
|
9806
9759
|
path: _path + ".status",
|
|
9807
9760
|
expected: "(string | undefined)",
|
|
@@ -9831,32 +9784,12 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
9831
9784
|
path: _path + ".messages",
|
|
9832
9785
|
expected: "(Array<Message> | undefined)",
|
|
9833
9786
|
value: input.messages
|
|
9834
|
-
}, _errorFactory)) && (undefined === input.retrieved || ("object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9835
|
-
method: "typia.assertGuard",
|
|
9836
|
-
path: _path + ".retrieved",
|
|
9837
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
9838
|
-
value: input.retrieved
|
|
9839
|
-
}, _errorFactory)) && _ao2(input.retrieved, _path + ".retrieved", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9840
|
-
method: "typia.assertGuard",
|
|
9841
|
-
path: _path + ".retrieved",
|
|
9842
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
9843
|
-
value: input.retrieved
|
|
9844
|
-
}, _errorFactory)) && (undefined === input.defaults || ("object" === typeof input.defaults && null !== input.defaults && false === Array.isArray(input.defaults) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9845
|
-
method: "typia.assertGuard",
|
|
9846
|
-
path: _path + ".defaults",
|
|
9847
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
9848
|
-
value: input.defaults
|
|
9849
|
-
}, _errorFactory)) && _ao2(input.defaults, _path + ".defaults", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9850
|
-
method: "typia.assertGuard",
|
|
9851
|
-
path: _path + ".defaults",
|
|
9852
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
9853
|
-
value: input.defaults
|
|
9854
|
-
}, _errorFactory)); const _ao4 = (input, _path, _exceptionable = true) => (undefined === input.retrieved || ("object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9787
|
+
}, _errorFactory)) && true && true; const _ao3 = (input, _path, _exceptionable = true) => (undefined === input.retrieved || ("object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9855
9788
|
method: "typia.assertGuard",
|
|
9856
9789
|
path: _path + ".retrieved",
|
|
9857
9790
|
expected: "(FilePublishRetrieved | undefined)",
|
|
9858
9791
|
value: input.retrieved
|
|
9859
|
-
}, _errorFactory)) &&
|
|
9792
|
+
}, _errorFactory)) && _ao4(input.retrieved, _path + ".retrieved", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9860
9793
|
method: "typia.assertGuard",
|
|
9861
9794
|
path: _path + ".retrieved",
|
|
9862
9795
|
expected: "(FilePublishRetrieved | undefined)",
|
|
@@ -9866,7 +9799,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
9866
9799
|
path: _path + ".defaults",
|
|
9867
9800
|
expected: "(FilePublishDefaults | undefined)",
|
|
9868
9801
|
value: input.defaults
|
|
9869
|
-
}, _errorFactory)) &&
|
|
9802
|
+
}, _errorFactory)) && _ao7(input.defaults, _path + ".defaults", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9870
9803
|
method: "typia.assertGuard",
|
|
9871
9804
|
path: _path + ".defaults",
|
|
9872
9805
|
expected: "(FilePublishDefaults | undefined)",
|
|
@@ -9901,7 +9834,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
9901
9834
|
path: _path + ".messages",
|
|
9902
9835
|
expected: "(Array<Message> | undefined)",
|
|
9903
9836
|
value: input.messages
|
|
9904
|
-
}, _errorFactory)); const
|
|
9837
|
+
}, _errorFactory)); const _ao4 = (input, _path, _exceptionable = true) => (undefined === input.filename || "string" === typeof input.filename || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9905
9838
|
method: "typia.assertGuard",
|
|
9906
9839
|
path: _path + ".filename",
|
|
9907
9840
|
expected: "(string | undefined)",
|
|
@@ -9916,19 +9849,12 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
9916
9849
|
path: _path + ".renders",
|
|
9917
9850
|
expected: "(Record<string, FilePublishRetrievedRender> | undefined)",
|
|
9918
9851
|
value: input.renders
|
|
9919
|
-
}, _errorFactory)) &&
|
|
9852
|
+
}, _errorFactory)) && _ao5(input.renders, _path + ".renders", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9920
9853
|
method: "typia.assertGuard",
|
|
9921
9854
|
path: _path + ".renders",
|
|
9922
9855
|
expected: "(Record<string, FilePublishRetrievedRender> | undefined)",
|
|
9923
9856
|
value: input.renders
|
|
9924
|
-
}, _errorFactory))
|
|
9925
|
-
if (["filename", "directory", "renders"].some(prop => key === prop))
|
|
9926
|
-
return true;
|
|
9927
|
-
const value = input[key];
|
|
9928
|
-
if (undefined === value)
|
|
9929
|
-
return true;
|
|
9930
|
-
return true;
|
|
9931
|
-
})); const _ao6 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
9857
|
+
}, _errorFactory)); const _ao5 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
9932
9858
|
const value = input[key];
|
|
9933
9859
|
if (undefined === value)
|
|
9934
9860
|
return true;
|
|
@@ -9937,13 +9863,13 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
9937
9863
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9938
9864
|
expected: "FilePublishRetrievedRender",
|
|
9939
9865
|
value: value
|
|
9940
|
-
}, _errorFactory)) &&
|
|
9866
|
+
}, _errorFactory)) && _ao6(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9941
9867
|
method: "typia.assertGuard",
|
|
9942
9868
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9943
9869
|
expected: "FilePublishRetrievedRender",
|
|
9944
9870
|
value: value
|
|
9945
9871
|
}, _errorFactory);
|
|
9946
|
-
}); const
|
|
9872
|
+
}); const _ao6 = (input, _path, _exceptionable = true) => ("string" === typeof input.path || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9947
9873
|
method: "typia.assertGuard",
|
|
9948
9874
|
path: _path + ".path",
|
|
9949
9875
|
expected: "string",
|
|
@@ -9958,7 +9884,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
9958
9884
|
path: _path + ".hash",
|
|
9959
9885
|
expected: "(string | undefined)",
|
|
9960
9886
|
value: input.hash
|
|
9961
|
-
}, _errorFactory)); const
|
|
9887
|
+
}, _errorFactory)); const _ao7 = (input, _path, _exceptionable = true) => ("string" === typeof input.directory || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9962
9888
|
method: "typia.assertGuard",
|
|
9963
9889
|
path: _path + ".directory",
|
|
9964
9890
|
expected: "string",
|
|
@@ -9973,19 +9899,12 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
9973
9899
|
path: _path + ".renders",
|
|
9974
9900
|
expected: "Record<string, FilePublishRender>",
|
|
9975
9901
|
value: input.renders
|
|
9976
|
-
}, _errorFactory)) &&
|
|
9902
|
+
}, _errorFactory)) && _ao8(input.renders, _path + ".renders", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9977
9903
|
method: "typia.assertGuard",
|
|
9978
9904
|
path: _path + ".renders",
|
|
9979
9905
|
expected: "Record<string, FilePublishRender>",
|
|
9980
9906
|
value: input.renders
|
|
9981
|
-
}, _errorFactory))
|
|
9982
|
-
if (["directory", "filename", "renders"].some(prop => key === prop))
|
|
9983
|
-
return true;
|
|
9984
|
-
const value = input[key];
|
|
9985
|
-
if (undefined === value)
|
|
9986
|
-
return true;
|
|
9987
|
-
return true;
|
|
9988
|
-
})); const _ao9 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
9907
|
+
}, _errorFactory)); const _ao8 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
9989
9908
|
const value = input[key];
|
|
9990
9909
|
if (undefined === value)
|
|
9991
9910
|
return true;
|
|
@@ -10010,12 +9929,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10010
9929
|
expected: "(ResolvedFilePublishRender | __type.o9 | string)",
|
|
10011
9930
|
value: value
|
|
10012
9931
|
}, _errorFactory));
|
|
10013
|
-
}); const
|
|
10014
|
-
method: "typia.assertGuard",
|
|
10015
|
-
path: _path + ".preset",
|
|
10016
|
-
expected: "(string | undefined)",
|
|
10017
|
-
value: input.preset
|
|
10018
|
-
}, _errorFactory)) && (undefined === input.name || "string" === typeof input.name || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9932
|
+
}); const _ao9 = (input, _path, _exceptionable = true) => (undefined === input.name || "string" === typeof input.name || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10019
9933
|
method: "typia.assertGuard",
|
|
10020
9934
|
path: _path + ".name",
|
|
10021
9935
|
expected: "(string | undefined)",
|
|
@@ -10035,6 +9949,11 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10035
9949
|
path: _path + ".ignoreEmptyScene",
|
|
10036
9950
|
expected: "(boolean | undefined)",
|
|
10037
9951
|
value: input.ignoreEmptyScene
|
|
9952
|
+
}, _errorFactory)) && (undefined === input.preset || "string" === typeof input.preset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9953
|
+
method: "typia.assertGuard",
|
|
9954
|
+
path: _path + ".preset",
|
|
9955
|
+
expected: "(string | undefined)",
|
|
9956
|
+
value: input.preset
|
|
10038
9957
|
}, _errorFactory)) && ("string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10039
9958
|
method: "typia.assertGuard",
|
|
10040
9959
|
path: _path + ".type",
|
|
@@ -10045,7 +9964,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10045
9964
|
path: _path + ".scene",
|
|
10046
9965
|
expected: "(RenderSceneObject | undefined)",
|
|
10047
9966
|
value: input.scene
|
|
10048
|
-
}, _errorFactory)) &&
|
|
9967
|
+
}, _errorFactory)) && _ao10(input.scene, _path + ".scene", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10049
9968
|
method: "typia.assertGuard",
|
|
10050
9969
|
path: _path + ".scene",
|
|
10051
9970
|
expected: "(RenderSceneObject | undefined)",
|
|
@@ -10055,12 +9974,12 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10055
9974
|
path: _path + ".profile",
|
|
10056
9975
|
expected: "(RenderProfileObject | undefined)",
|
|
10057
9976
|
value: input.profile
|
|
10058
|
-
}, _errorFactory)) &&
|
|
9977
|
+
}, _errorFactory)) && _ao18(input.profile, _path + ".profile", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10059
9978
|
method: "typia.assertGuard",
|
|
10060
9979
|
path: _path + ".profile",
|
|
10061
9980
|
expected: "(RenderProfileObject | undefined)",
|
|
10062
9981
|
value: input.profile
|
|
10063
|
-
}, _errorFactory)); const
|
|
9982
|
+
}, _errorFactory)); const _ao10 = (input, _path, _exceptionable = true) => (undefined === input.id || "string" === typeof input.id || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10064
9983
|
method: "typia.assertGuard",
|
|
10065
9984
|
path: _path + ".id",
|
|
10066
9985
|
expected: "(string | undefined)",
|
|
@@ -10075,7 +9994,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10075
9994
|
path: _path + ".input",
|
|
10076
9995
|
expected: "(__type | null | undefined)",
|
|
10077
9996
|
value: input.input
|
|
10078
|
-
}, _errorFactory)) &&
|
|
9997
|
+
}, _errorFactory)) && _ao11(input.input, _path + ".input", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10079
9998
|
method: "typia.assertGuard",
|
|
10080
9999
|
path: _path + ".input",
|
|
10081
10000
|
expected: "(__type | null | undefined)",
|
|
@@ -10095,7 +10014,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10095
10014
|
path: _path + ".subtitleTracks",
|
|
10096
10015
|
expected: "(__type.o1 | undefined)",
|
|
10097
10016
|
value: input.subtitleTracks
|
|
10098
|
-
}, _errorFactory)) &&
|
|
10017
|
+
}, _errorFactory)) && _ao12(input.subtitleTracks, _path + ".subtitleTracks", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10099
10018
|
method: "typia.assertGuard",
|
|
10100
10019
|
path: _path + ".subtitleTracks",
|
|
10101
10020
|
expected: "(__type.o1 | undefined)",
|
|
@@ -10105,7 +10024,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10105
10024
|
path: _path + ".video",
|
|
10106
10025
|
expected: "(__type.o3 | undefined)",
|
|
10107
10026
|
value: input.video
|
|
10108
|
-
}, _errorFactory)) &&
|
|
10027
|
+
}, _errorFactory)) && _ao15(input.video, _path + ".video", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10109
10028
|
method: "typia.assertGuard",
|
|
10110
10029
|
path: _path + ".video",
|
|
10111
10030
|
expected: "(__type.o3 | undefined)",
|
|
@@ -10125,12 +10044,12 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10125
10044
|
path: _path + ".transcribe",
|
|
10126
10045
|
expected: "(__type.o5 | undefined)",
|
|
10127
10046
|
value: input.transcribe
|
|
10128
|
-
}, _errorFactory)) &&
|
|
10047
|
+
}, _errorFactory)) && _ao17(input.transcribe, _path + ".transcribe", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10129
10048
|
method: "typia.assertGuard",
|
|
10130
10049
|
path: _path + ".transcribe",
|
|
10131
10050
|
expected: "(__type.o5 | undefined)",
|
|
10132
10051
|
value: input.transcribe
|
|
10133
|
-
}, _errorFactory)); const
|
|
10052
|
+
}, _errorFactory)); const _ao11 = (input, _path, _exceptionable = true) => (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10134
10053
|
method: "typia.assertGuard",
|
|
10135
10054
|
path: _path + ".type",
|
|
10136
10055
|
expected: "(string | undefined)",
|
|
@@ -10140,7 +10059,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10140
10059
|
path: _path + ".file",
|
|
10141
10060
|
expected: "(null | string | undefined)",
|
|
10142
10061
|
value: input.file
|
|
10143
|
-
}, _errorFactory)); const
|
|
10062
|
+
}, _errorFactory)); const _ao12 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
10144
10063
|
const value = input[key];
|
|
10145
10064
|
if (undefined === value)
|
|
10146
10065
|
return true;
|
|
@@ -10149,13 +10068,13 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10149
10068
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
10150
10069
|
expected: "__type.o2",
|
|
10151
10070
|
value: value
|
|
10152
|
-
}, _errorFactory)) &&
|
|
10071
|
+
}, _errorFactory)) && _ao13(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10153
10072
|
method: "typia.assertGuard",
|
|
10154
10073
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
10155
10074
|
expected: "__type.o2",
|
|
10156
10075
|
value: value
|
|
10157
10076
|
}, _errorFactory);
|
|
10158
|
-
}); const
|
|
10077
|
+
}); const _ao13 = (input, _path, _exceptionable = true) => (null === input.style || undefined === input.style || "string" === typeof input.style || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10159
10078
|
method: "typia.assertGuard",
|
|
10160
10079
|
path: _path + ".style",
|
|
10161
10080
|
expected: "(null | string | undefined)",
|
|
@@ -10165,12 +10084,12 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10165
10084
|
path: _path + ".styleOverrides",
|
|
10166
10085
|
expected: "(SubtitleStyle | undefined)",
|
|
10167
10086
|
value: input.styleOverrides
|
|
10168
|
-
}, _errorFactory)) &&
|
|
10087
|
+
}, _errorFactory)) && _ao14(input.styleOverrides, _path + ".styleOverrides", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10169
10088
|
method: "typia.assertGuard",
|
|
10170
10089
|
path: _path + ".styleOverrides",
|
|
10171
10090
|
expected: "(SubtitleStyle | undefined)",
|
|
10172
10091
|
value: input.styleOverrides
|
|
10173
|
-
}, _errorFactory)); const
|
|
10092
|
+
}, _errorFactory)); const _ao14 = (input, _path, _exceptionable = true) => (undefined === input.name || "string" === typeof input.name || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10174
10093
|
method: "typia.assertGuard",
|
|
10175
10094
|
path: _path + ".name",
|
|
10176
10095
|
expected: "(string | undefined)",
|
|
@@ -10285,17 +10204,17 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10285
10204
|
path: _path + ".encoding",
|
|
10286
10205
|
expected: "(string | undefined)",
|
|
10287
10206
|
value: input.encoding
|
|
10288
|
-
}, _errorFactory)); const
|
|
10207
|
+
}, _errorFactory)); const _ao15 = (input, _path, _exceptionable = true) => undefined === input.crop || ("object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10289
10208
|
method: "typia.assertGuard",
|
|
10290
10209
|
path: _path + ".crop",
|
|
10291
10210
|
expected: "(__type.o4 | undefined)",
|
|
10292
10211
|
value: input.crop
|
|
10293
|
-
}, _errorFactory)) &&
|
|
10212
|
+
}, _errorFactory)) && _ao16(input.crop, _path + ".crop", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10294
10213
|
method: "typia.assertGuard",
|
|
10295
10214
|
path: _path + ".crop",
|
|
10296
10215
|
expected: "(__type.o4 | undefined)",
|
|
10297
10216
|
value: input.crop
|
|
10298
|
-
}, _errorFactory); const
|
|
10217
|
+
}, _errorFactory); const _ao16 = (input, _path, _exceptionable = true) => (undefined === input.x || "number" === typeof input.x || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10299
10218
|
method: "typia.assertGuard",
|
|
10300
10219
|
path: _path + ".x",
|
|
10301
10220
|
expected: "(number | undefined)",
|
|
@@ -10315,7 +10234,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10315
10234
|
path: _path + ".height",
|
|
10316
10235
|
expected: "(number | undefined)",
|
|
10317
10236
|
value: input.height
|
|
10318
|
-
}, _errorFactory)); const
|
|
10237
|
+
}, _errorFactory)); const _ao17 = (input, _path, _exceptionable = true) => (undefined === input.language || "string" === typeof input.language || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10319
10238
|
method: "typia.assertGuard",
|
|
10320
10239
|
path: _path + ".language",
|
|
10321
10240
|
expected: "(string | undefined)",
|
|
@@ -10335,7 +10254,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10335
10254
|
path: _path + ".pan",
|
|
10336
10255
|
expected: "(Array<number> | undefined)",
|
|
10337
10256
|
value: input.pan
|
|
10338
|
-
}, _errorFactory)); const
|
|
10257
|
+
}, _errorFactory)); const _ao18 = (input, _path, _exceptionable = true) => ("string" === typeof input.format || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10339
10258
|
method: "typia.assertGuard",
|
|
10340
10259
|
path: _path + ".format",
|
|
10341
10260
|
expected: "string",
|
|
@@ -10345,7 +10264,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10345
10264
|
path: _path + ".transcribe",
|
|
10346
10265
|
expected: "(__type.o6 | undefined)",
|
|
10347
10266
|
value: input.transcribe
|
|
10348
|
-
}, _errorFactory)) &&
|
|
10267
|
+
}, _errorFactory)) && _ao19(input.transcribe, _path + ".transcribe", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10349
10268
|
method: "typia.assertGuard",
|
|
10350
10269
|
path: _path + ".transcribe",
|
|
10351
10270
|
expected: "(__type.o6 | undefined)",
|
|
@@ -10355,7 +10274,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10355
10274
|
path: _path + ".translate",
|
|
10356
10275
|
expected: "(__type.o7 | undefined)",
|
|
10357
10276
|
value: input.translate
|
|
10358
|
-
}, _errorFactory)) &&
|
|
10277
|
+
}, _errorFactory)) && _ao20(input.translate, _path + ".translate", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10359
10278
|
method: "typia.assertGuard",
|
|
10360
10279
|
path: _path + ".translate",
|
|
10361
10280
|
expected: "(__type.o7 | undefined)",
|
|
@@ -10365,7 +10284,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10365
10284
|
path: _path + ".audio",
|
|
10366
10285
|
expected: "(__type.o8 | undefined)",
|
|
10367
10286
|
value: input.audio
|
|
10368
|
-
}, _errorFactory)) &&
|
|
10287
|
+
}, _errorFactory)) && _ao21(input.audio, _path + ".audio", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10369
10288
|
method: "typia.assertGuard",
|
|
10370
10289
|
path: _path + ".audio",
|
|
10371
10290
|
expected: "(__type.o8 | undefined)",
|
|
@@ -10395,22 +10314,22 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10395
10314
|
path: _path + ".subtitle",
|
|
10396
10315
|
expected: "(SubtitleProfile | string | undefined)",
|
|
10397
10316
|
value: input.subtitle
|
|
10398
|
-
}, _errorFactory)) &&
|
|
10317
|
+
}, _errorFactory)) && _ao22(input.subtitle, _path + ".subtitle", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10399
10318
|
method: "typia.assertGuard",
|
|
10400
10319
|
path: _path + ".subtitle",
|
|
10401
10320
|
expected: "(SubtitleProfile | string | undefined)",
|
|
10402
10321
|
value: input.subtitle
|
|
10403
|
-
}, _errorFactory))); const
|
|
10322
|
+
}, _errorFactory))); const _ao19 = (input, _path, _exceptionable = true) => "string" === typeof input.engine || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10404
10323
|
method: "typia.assertGuard",
|
|
10405
10324
|
path: _path + ".engine",
|
|
10406
10325
|
expected: "string",
|
|
10407
10326
|
value: input.engine
|
|
10408
|
-
}, _errorFactory); const
|
|
10327
|
+
}, _errorFactory); const _ao20 = (input, _path, _exceptionable = true) => "string" === typeof input.language || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10409
10328
|
method: "typia.assertGuard",
|
|
10410
10329
|
path: _path + ".language",
|
|
10411
10330
|
expected: "string",
|
|
10412
10331
|
value: input.language
|
|
10413
|
-
}, _errorFactory); const
|
|
10332
|
+
}, _errorFactory); const _ao21 = (input, _path, _exceptionable = true) => (undefined === input.codec || "string" === typeof input.codec || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10414
10333
|
method: "typia.assertGuard",
|
|
10415
10334
|
path: _path + ".codec",
|
|
10416
10335
|
expected: "(string | undefined)",
|
|
@@ -10430,7 +10349,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10430
10349
|
path: _path + ".split",
|
|
10431
10350
|
expected: "(boolean | undefined)",
|
|
10432
10351
|
value: input.split
|
|
10433
|
-
}, _errorFactory)); const
|
|
10352
|
+
}, _errorFactory)); const _ao22 = (input, _path, _exceptionable = true) => (undefined === input.lang || "string" === typeof input.lang || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10434
10353
|
method: "typia.assertGuard",
|
|
10435
10354
|
path: _path + ".lang",
|
|
10436
10355
|
expected: "(string | undefined)",
|
|
@@ -10440,12 +10359,12 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10440
10359
|
path: _path + ".style",
|
|
10441
10360
|
expected: "(string | undefined)",
|
|
10442
10361
|
value: input.style
|
|
10443
|
-
}, _errorFactory)); const
|
|
10362
|
+
}, _errorFactory)); const _ao23 = (input, _path, _exceptionable = true) => (("object" === typeof input.__context && null !== input.__context || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10444
10363
|
method: "typia.assertGuard",
|
|
10445
10364
|
path: _path + ".__context",
|
|
10446
10365
|
expected: "__type.o10",
|
|
10447
10366
|
value: input.__context
|
|
10448
|
-
}, _errorFactory)) &&
|
|
10367
|
+
}, _errorFactory)) && _ao24(input.__context, _path + ".__context", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10449
10368
|
method: "typia.assertGuard",
|
|
10450
10369
|
path: _path + ".__context",
|
|
10451
10370
|
expected: "__type.o10",
|
|
@@ -10455,17 +10374,17 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10455
10374
|
path: _path + ".__returnValue",
|
|
10456
10375
|
expected: "ResolvedFilePublishRender",
|
|
10457
10376
|
value: input.__returnValue
|
|
10458
|
-
}, _errorFactory)) &&
|
|
10377
|
+
}, _errorFactory)) && _ao9(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10459
10378
|
method: "typia.assertGuard",
|
|
10460
10379
|
path: _path + ".__returnValue",
|
|
10461
10380
|
expected: "ResolvedFilePublishRender",
|
|
10462
10381
|
value: input.__returnValue
|
|
10463
|
-
}, _errorFactory)); const
|
|
10382
|
+
}, _errorFactory)); const _ao24 = (input, _path, _exceptionable = true) => (("object" === typeof input.publish && null !== input.publish || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10464
10383
|
method: "typia.assertGuard",
|
|
10465
10384
|
path: _path + ".publish",
|
|
10466
10385
|
expected: "FilePublishRecord",
|
|
10467
10386
|
value: input.publish
|
|
10468
|
-
}, _errorFactory)) &&
|
|
10387
|
+
}, _errorFactory)) && _ao25(input.publish, _path + ".publish", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10469
10388
|
method: "typia.assertGuard",
|
|
10470
10389
|
path: _path + ".publish",
|
|
10471
10390
|
expected: "FilePublishRecord",
|
|
@@ -10480,7 +10399,12 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10480
10399
|
path: _path + ".name",
|
|
10481
10400
|
expected: "string",
|
|
10482
10401
|
value: input.name
|
|
10483
|
-
}, _errorFactory)); const
|
|
10402
|
+
}, _errorFactory)); const _ao25 = (input, _path, _exceptionable = true) => ("file" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10403
|
+
method: "typia.assertGuard",
|
|
10404
|
+
path: _path + ".type",
|
|
10405
|
+
expected: "\"file\"",
|
|
10406
|
+
value: input.type
|
|
10407
|
+
}, _errorFactory)) && (undefined === input.directory || "string" === typeof input.directory || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10484
10408
|
method: "typia.assertGuard",
|
|
10485
10409
|
path: _path + ".directory",
|
|
10486
10410
|
expected: "(string | undefined)",
|
|
@@ -10495,7 +10419,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10495
10419
|
path: _path + ".renders",
|
|
10496
10420
|
expected: "(Record<string, FilePublishRender> | undefined)",
|
|
10497
10421
|
value: input.renders
|
|
10498
|
-
}, _errorFactory)) &&
|
|
10422
|
+
}, _errorFactory)) && _ao8(input.renders, _path + ".renders", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10499
10423
|
method: "typia.assertGuard",
|
|
10500
10424
|
path: _path + ".renders",
|
|
10501
10425
|
expected: "(Record<string, FilePublishRender> | undefined)",
|
|
@@ -10505,7 +10429,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10505
10429
|
path: _path + ".draft",
|
|
10506
10430
|
expected: "(FilePublishDraft | undefined)",
|
|
10507
10431
|
value: input.draft
|
|
10508
|
-
}, _errorFactory)) &&
|
|
10432
|
+
}, _errorFactory)) && _ao26(input.draft, _path + ".draft", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10509
10433
|
method: "typia.assertGuard",
|
|
10510
10434
|
path: _path + ".draft",
|
|
10511
10435
|
expected: "(FilePublishDraft | undefined)",
|
|
@@ -10515,7 +10439,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10515
10439
|
path: _path + ".remote",
|
|
10516
10440
|
expected: "(FilePublishRemote | undefined)",
|
|
10517
10441
|
value: input.remote
|
|
10518
|
-
}, _errorFactory)) &&
|
|
10442
|
+
}, _errorFactory)) && _ao27(input.remote, _path + ".remote", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10519
10443
|
method: "typia.assertGuard",
|
|
10520
10444
|
path: _path + ".remote",
|
|
10521
10445
|
expected: "(FilePublishRemote | undefined)",
|
|
@@ -10525,16 +10449,11 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10525
10449
|
path: _path + ".published",
|
|
10526
10450
|
expected: "(FilePublishPublished | undefined)",
|
|
10527
10451
|
value: input.published
|
|
10528
|
-
}, _errorFactory)) &&
|
|
10452
|
+
}, _errorFactory)) && _ao30(input.published, _path + ".published", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10529
10453
|
method: "typia.assertGuard",
|
|
10530
10454
|
path: _path + ".published",
|
|
10531
10455
|
expected: "(FilePublishPublished | undefined)",
|
|
10532
10456
|
value: input.published
|
|
10533
|
-
}, _errorFactory)) && ("file" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10534
|
-
method: "typia.assertGuard",
|
|
10535
|
-
path: _path + ".type",
|
|
10536
|
-
expected: "\"file\"",
|
|
10537
|
-
value: input.type
|
|
10538
10457
|
}, _errorFactory)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10539
10458
|
method: "typia.assertGuard",
|
|
10540
10459
|
path: _path + ".asset",
|
|
@@ -10548,19 +10467,19 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10548
10467
|
}, _errorFactory)) && (undefined === input.render || ("object" === typeof input.render && null !== input.render || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10549
10468
|
method: "typia.assertGuard",
|
|
10550
10469
|
path: _path + ".render",
|
|
10551
|
-
expected: "(
|
|
10470
|
+
expected: "(PublishRenderBase | undefined)",
|
|
10552
10471
|
value: input.render
|
|
10553
|
-
}, _errorFactory)) &&
|
|
10472
|
+
}, _errorFactory)) && _ao31(input.render, _path + ".render", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10554
10473
|
method: "typia.assertGuard",
|
|
10555
10474
|
path: _path + ".render",
|
|
10556
|
-
expected: "(
|
|
10475
|
+
expected: "(PublishRenderBase | undefined)",
|
|
10557
10476
|
value: input.render
|
|
10558
10477
|
}, _errorFactory)) && (null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10559
10478
|
method: "typia.assertGuard",
|
|
10560
10479
|
path: _path + ".error",
|
|
10561
10480
|
expected: "(__type.o11 | null | undefined)",
|
|
10562
10481
|
value: input.error
|
|
10563
|
-
}, _errorFactory)) &&
|
|
10482
|
+
}, _errorFactory)) && _ao32(input.error, _path + ".error", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10564
10483
|
method: "typia.assertGuard",
|
|
10565
10484
|
path: _path + ".error",
|
|
10566
10485
|
expected: "(__type.o11 | null | undefined)",
|
|
@@ -10585,7 +10504,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10585
10504
|
path: _path + ".messages",
|
|
10586
10505
|
expected: "(Array<Message> | undefined)",
|
|
10587
10506
|
value: input.messages
|
|
10588
|
-
}, _errorFactory)); const
|
|
10507
|
+
}, _errorFactory)); const _ao26 = (input, _path, _exceptionable = true) => (undefined === input.directory || "string" === typeof input.directory || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10589
10508
|
method: "typia.assertGuard",
|
|
10590
10509
|
path: _path + ".directory",
|
|
10591
10510
|
expected: "(string | undefined)",
|
|
@@ -10595,14 +10514,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10595
10514
|
path: _path + ".filename",
|
|
10596
10515
|
expected: "(string | undefined)",
|
|
10597
10516
|
value: input.filename
|
|
10598
|
-
}, _errorFactory))
|
|
10599
|
-
if (["directory", "filename"].some(prop => key === prop))
|
|
10600
|
-
return true;
|
|
10601
|
-
const value = input[key];
|
|
10602
|
-
if (undefined === value)
|
|
10603
|
-
return true;
|
|
10604
|
-
return true;
|
|
10605
|
-
})); const _ao28 = (input, _path, _exceptionable = true) => (undefined === input.directory || "string" === typeof input.directory || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10517
|
+
}, _errorFactory)); const _ao27 = (input, _path, _exceptionable = true) => (undefined === input.directory || "string" === typeof input.directory || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10606
10518
|
method: "typia.assertGuard",
|
|
10607
10519
|
path: _path + ".directory",
|
|
10608
10520
|
expected: "(string | undefined)",
|
|
@@ -10617,19 +10529,12 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10617
10529
|
path: _path + ".renders",
|
|
10618
10530
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
10619
10531
|
value: input.renders
|
|
10620
|
-
}, _errorFactory)) &&
|
|
10532
|
+
}, _errorFactory)) && _ao28(input.renders, _path + ".renders", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10621
10533
|
method: "typia.assertGuard",
|
|
10622
10534
|
path: _path + ".renders",
|
|
10623
10535
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
10624
10536
|
value: input.renders
|
|
10625
|
-
}, _errorFactory))
|
|
10626
|
-
if (["directory", "filename", "renders"].some(prop => key === prop))
|
|
10627
|
-
return true;
|
|
10628
|
-
const value = input[key];
|
|
10629
|
-
if (undefined === value)
|
|
10630
|
-
return true;
|
|
10631
|
-
return true;
|
|
10632
|
-
})); const _ao29 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
10537
|
+
}, _errorFactory)); const _ao28 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
10633
10538
|
const value = input[key];
|
|
10634
10539
|
if (undefined === value)
|
|
10635
10540
|
return true;
|
|
@@ -10638,13 +10543,13 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10638
10543
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
10639
10544
|
expected: "FilePublishRemoteRender",
|
|
10640
10545
|
value: value
|
|
10641
|
-
}, _errorFactory)) &&
|
|
10546
|
+
}, _errorFactory)) && _ao29(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10642
10547
|
method: "typia.assertGuard",
|
|
10643
10548
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
10644
10549
|
expected: "FilePublishRemoteRender",
|
|
10645
10550
|
value: value
|
|
10646
10551
|
}, _errorFactory);
|
|
10647
|
-
}); const
|
|
10552
|
+
}); const _ao29 = (input, _path, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10648
10553
|
method: "typia.assertGuard",
|
|
10649
10554
|
path: _path + ".path",
|
|
10650
10555
|
expected: "(string | undefined)",
|
|
@@ -10684,7 +10589,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10684
10589
|
path: _path + ".source",
|
|
10685
10590
|
expected: "(string | undefined)",
|
|
10686
10591
|
value: input.source
|
|
10687
|
-
}, _errorFactory)); const
|
|
10592
|
+
}, _errorFactory)); const _ao30 = (input, _path, _exceptionable = true) => (undefined === input.directory || "string" === typeof input.directory || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10688
10593
|
method: "typia.assertGuard",
|
|
10689
10594
|
path: _path + ".directory",
|
|
10690
10595
|
expected: "(string | undefined)",
|
|
@@ -10694,14 +10599,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10694
10599
|
path: _path + ".filename",
|
|
10695
10600
|
expected: "string",
|
|
10696
10601
|
value: input.filename
|
|
10697
|
-
}, _errorFactory))
|
|
10698
|
-
if (["directory", "filename"].some(prop => key === prop))
|
|
10699
|
-
return true;
|
|
10700
|
-
const value = input[key];
|
|
10701
|
-
if (undefined === value)
|
|
10702
|
-
return true;
|
|
10703
|
-
return true;
|
|
10704
|
-
})); const _ao32 = (input, _path, _exceptionable = true) => (undefined === input.preset || "string" === typeof input.preset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10602
|
+
}, _errorFactory)); const _ao31 = (input, _path, _exceptionable = true) => (undefined === input.preset || "string" === typeof input.preset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10705
10603
|
method: "typia.assertGuard",
|
|
10706
10604
|
path: _path + ".preset",
|
|
10707
10605
|
expected: "(string | undefined)",
|
|
@@ -10716,7 +10614,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10716
10614
|
path: _path + ".scene",
|
|
10717
10615
|
expected: "(RenderSceneObject | undefined)",
|
|
10718
10616
|
value: input.scene
|
|
10719
|
-
}, _errorFactory)) &&
|
|
10617
|
+
}, _errorFactory)) && _ao10(input.scene, _path + ".scene", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10720
10618
|
method: "typia.assertGuard",
|
|
10721
10619
|
path: _path + ".scene",
|
|
10722
10620
|
expected: "(RenderSceneObject | undefined)",
|
|
@@ -10726,21 +10624,21 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10726
10624
|
path: _path + ".profile",
|
|
10727
10625
|
expected: "(RenderProfileObject | undefined)",
|
|
10728
10626
|
value: input.profile
|
|
10729
|
-
}, _errorFactory)) &&
|
|
10627
|
+
}, _errorFactory)) && _ao18(input.profile, _path + ".profile", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10730
10628
|
method: "typia.assertGuard",
|
|
10731
10629
|
path: _path + ".profile",
|
|
10732
10630
|
expected: "(RenderProfileObject | undefined)",
|
|
10733
10631
|
value: input.profile
|
|
10734
|
-
}, _errorFactory)); const
|
|
10632
|
+
}, _errorFactory)); const _ao32 = (input, _path, _exceptionable = true) => "string" === typeof input.method || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10735
10633
|
method: "typia.assertGuard",
|
|
10736
10634
|
path: _path + ".method",
|
|
10737
10635
|
expected: "string",
|
|
10738
10636
|
value: input.method
|
|
10739
10637
|
}, _errorFactory); const _au0 = (input, _path, _exceptionable = true) => (() => {
|
|
10740
10638
|
if (undefined !== input.path)
|
|
10741
|
-
return
|
|
10639
|
+
return _ao9(input, _path, true && _exceptionable);
|
|
10742
10640
|
else if (undefined !== input.__context)
|
|
10743
|
-
return
|
|
10641
|
+
return _ao23(input, _path, true && _exceptionable);
|
|
10744
10642
|
else
|
|
10745
10643
|
return __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10746
10644
|
method: "typia.assertGuard",
|
|
@@ -10748,10 +10646,10 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10748
10646
|
expected: "(ResolvedFilePublishRender | __type.o9)",
|
|
10749
10647
|
value: input
|
|
10750
10648
|
}, _errorFactory);
|
|
10751
|
-
})(); const _au1 = (input, _path, _exceptionable = true) =>
|
|
10649
|
+
})(); const _au1 = (input, _path, _exceptionable = true) => _ao3(input, _path, false && _exceptionable) || _ao2(input, _path, false && _exceptionable) || _ao0(input, _path, false && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10752
10650
|
method: "typia.assertGuard",
|
|
10753
10651
|
path: _path,
|
|
10754
|
-
expected: "(FilePublishStatsRecord | FacebookPublishStatsRecord |
|
|
10652
|
+
expected: "(FilePublishStatsRecord | FacebookPublishStatsRecord | PublishStatsRecordBase)",
|
|
10755
10653
|
value: input
|
|
10756
10654
|
}, _errorFactory); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _iu1(input); let _errorFactory; return (input, errorFactory) => {
|
|
10757
10655
|
if (false === __is(input)) {
|
|
@@ -10759,12 +10657,12 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10759
10657
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
10760
10658
|
method: "typia.assertGuard",
|
|
10761
10659
|
path: _path + "",
|
|
10762
|
-
expected: "(FacebookPublishStatsRecord | FilePublishStatsRecord |
|
|
10660
|
+
expected: "(FacebookPublishStatsRecord | FilePublishStatsRecord | PublishStatsRecordBase)",
|
|
10763
10661
|
value: input
|
|
10764
10662
|
}, _errorFactory)) && _au1(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
10765
10663
|
method: "typia.assertGuard",
|
|
10766
10664
|
path: _path + "",
|
|
10767
|
-
expected: "(FacebookPublishStatsRecord | FilePublishStatsRecord |
|
|
10665
|
+
expected: "(FacebookPublishStatsRecord | FilePublishStatsRecord | PublishStatsRecordBase)",
|
|
10768
10666
|
value: input
|
|
10769
10667
|
}, _errorFactory))(input, "$input", true);
|
|
10770
10668
|
}
|
|
@@ -10776,12 +10674,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10776
10674
|
if (undefined === value)
|
|
10777
10675
|
return true;
|
|
10778
10676
|
return "object" === typeof value && null !== value && _io1(value);
|
|
10779
|
-
}); const _io1 = input => "string" === typeof input.rpcId &&
|
|
10780
|
-
const value = input[key];
|
|
10781
|
-
if (undefined === value)
|
|
10782
|
-
return true;
|
|
10783
|
-
return true;
|
|
10784
|
-
}); const _ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
10677
|
+
}); const _io1 = input => "string" === typeof input.rpcId && true; const _ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
10785
10678
|
const value = input[key];
|
|
10786
10679
|
if (undefined === value)
|
|
10787
10680
|
return true;
|
|
@@ -10801,33 +10694,18 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10801
10694
|
path: _path + ".rpcId",
|
|
10802
10695
|
expected: "string",
|
|
10803
10696
|
value: input.rpcId
|
|
10804
|
-
}, _errorFactory)) &&
|
|
10805
|
-
method: "typia.assertGuard",
|
|
10806
|
-
path: _path + ".rpcData",
|
|
10807
|
-
expected: "Record<string, unknown>",
|
|
10808
|
-
value: input.rpcData
|
|
10809
|
-
}, _errorFactory)) && _ao2(input.rpcData, _path + ".rpcData", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10810
|
-
method: "typia.assertGuard",
|
|
10811
|
-
path: _path + ".rpcData",
|
|
10812
|
-
expected: "Record<string, unknown>",
|
|
10813
|
-
value: input.rpcData
|
|
10814
|
-
}, _errorFactory)); const _ao2 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
10815
|
-
const value = input[key];
|
|
10816
|
-
if (undefined === value)
|
|
10817
|
-
return true;
|
|
10818
|
-
return true;
|
|
10819
|
-
}); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
10697
|
+
}, _errorFactory)) && true; const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
10820
10698
|
if (false === __is(input)) {
|
|
10821
10699
|
_errorFactory = errorFactory;
|
|
10822
10700
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
10823
10701
|
method: "typia.assertGuard",
|
|
10824
10702
|
path: _path + "",
|
|
10825
|
-
expected: "
|
|
10703
|
+
expected: "PublishDomainMethodsRecordBase",
|
|
10826
10704
|
value: input
|
|
10827
10705
|
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
10828
10706
|
method: "typia.assertGuard",
|
|
10829
10707
|
path: _path + "",
|
|
10830
|
-
expected: "
|
|
10708
|
+
expected: "PublishDomainMethodsRecordBase",
|
|
10831
10709
|
value: input
|
|
10832
10710
|
}, _errorFactory))(input, "$input", true);
|
|
10833
10711
|
}
|
|
@@ -10840,12 +10718,12 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10840
10718
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
10841
10719
|
method: "typia.assertGuard",
|
|
10842
10720
|
path: _path + "",
|
|
10843
|
-
expected: "
|
|
10721
|
+
expected: "PublishDomainAcceptsProvidedRecordBase",
|
|
10844
10722
|
value: input
|
|
10845
10723
|
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
10846
10724
|
method: "typia.assertGuard",
|
|
10847
10725
|
path: _path + "",
|
|
10848
|
-
expected: "
|
|
10726
|
+
expected: "PublishDomainAcceptsProvidedRecordBase",
|
|
10849
10727
|
value: input
|
|
10850
10728
|
}, _errorFactory))(input, "$input", true);
|
|
10851
10729
|
}
|
|
@@ -13179,7 +13057,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
13179
13057
|
if (undefined === value)
|
|
13180
13058
|
return true;
|
|
13181
13059
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io31(value);
|
|
13182
|
-
}); 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 => {
|
|
13060
|
+
}); 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 => {
|
|
13183
13061
|
const value = input[key];
|
|
13184
13062
|
if (undefined === value)
|
|
13185
13063
|
return true;
|
|
@@ -15041,6 +14919,11 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
15041
14919
|
path: _path + ".multiplexWebSockets",
|
|
15042
14920
|
expected: "(boolean | undefined)",
|
|
15043
14921
|
value: input.multiplexWebSockets
|
|
14922
|
+
}, _errorFactory)) && (undefined === input.systemHealth || "boolean" === typeof input.systemHealth || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14923
|
+
method: "typia.assertGuard",
|
|
14924
|
+
path: _path + ".systemHealth",
|
|
14925
|
+
expected: "(boolean | undefined)",
|
|
14926
|
+
value: input.systemHealth
|
|
15044
14927
|
}, _errorFactory)); const _ao74 = (input, _path, _exceptionable = true) => undefined === input.events || ("object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15045
14928
|
method: "typia.assertGuard",
|
|
15046
14929
|
path: _path + ".events",
|