@nxtedition/types 23.1.9 → 23.1.10
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/settings.d.ts +9 -0
- package/dist/nxtpression.d.ts +71 -1
- package/dist/records/domains/event.d.ts +22 -0
- package/dist/records/domains/index.d.ts +3 -1
- package/dist/records/domains/index.js +1 -0
- package/dist/records/domains/media.d.ts +4 -0
- package/dist/records/domains/monitor.d.ts +13 -0
- package/dist/records/domains/story.d.ts +14 -0
- package/dist/records/domains/story.js +1 -0
- package/dist/records/validate/assert-guard.js +405 -38
- package/dist/records/validate/assert.js +409 -38
- package/dist/records/validate/is.js +29 -7
- package/dist/records/validate/schemas.js +307 -11
- package/dist/records/validate/stringify.js +34 -10
- package/dist/records/validate/utils.js +1 -1
- package/dist/records/validate/validate-equals.js +634 -44
- package/dist/records/validate/validate.js +398 -38
- package/dist/rpc.d.ts +1 -1
- package/dist/rpc.js +3 -3
- package/package.json +2 -2
|
@@ -2158,7 +2158,7 @@ function _assertExactRecord(name, input) {
|
|
|
2158
2158
|
if (undefined === value)
|
|
2159
2159
|
return true;
|
|
2160
2160
|
return "string" === typeof value;
|
|
2161
|
-
}); const _io2 = input => "string" === typeof input.family && (undefined === input.asset || "string" === typeof input.asset) && (undefined === input.weight || "
|
|
2161
|
+
}); const _io2 = input => "string" === typeof input.family && (undefined === input.asset || "string" === typeof input.asset) && (undefined === input.weight || "normal" === input.weight || "bold" === input.weight) && (undefined === input.style || "normal" === input.style || "italic" === input.style); const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.defaultLanguage || "string" === typeof input.defaultLanguage || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2162
2162
|
method: "typia.assert",
|
|
2163
2163
|
path: _path + ".defaultLanguage",
|
|
2164
2164
|
expected: "(string | undefined)",
|
|
@@ -2213,12 +2213,12 @@ function _assertExactRecord(name, input) {
|
|
|
2213
2213
|
path: _path + ".asset",
|
|
2214
2214
|
expected: "(string | undefined)",
|
|
2215
2215
|
value: input.asset
|
|
2216
|
-
}, _errorFactory)) && (undefined === input.weight || "
|
|
2216
|
+
}, _errorFactory)) && (undefined === input.weight || "normal" === input.weight || "bold" === input.weight || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2217
2217
|
method: "typia.assert",
|
|
2218
2218
|
path: _path + ".weight",
|
|
2219
2219
|
expected: "(\"bold\" | \"normal\" | undefined)",
|
|
2220
2220
|
value: input.weight
|
|
2221
|
-
}, _errorFactory)) && (undefined === input.style || "
|
|
2221
|
+
}, _errorFactory)) && (undefined === input.style || "normal" === input.style || "italic" === input.style || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2222
2222
|
method: "typia.assert",
|
|
2223
2223
|
path: _path + ".style",
|
|
2224
2224
|
expected: "(\"italic\" | \"normal\" | undefined)",
|
|
@@ -2247,7 +2247,7 @@ function _assertExactRecord(name, input) {
|
|
|
2247
2247
|
if (undefined === value)
|
|
2248
2248
|
return true;
|
|
2249
2249
|
return "string" === typeof value;
|
|
2250
|
-
}); const _io2 = input => "string" === typeof input.family && (undefined === input.asset || "string" === typeof input.asset) && (undefined === input.weight || "
|
|
2250
|
+
}); const _io2 = input => "string" === typeof input.family && (undefined === input.asset || "string" === typeof input.asset) && (undefined === input.weight || "normal" === input.weight || "bold" === input.weight) && (undefined === input.style || "normal" === input.style || "italic" === input.style); const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.defaultLanguage || "string" === typeof input.defaultLanguage || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2251
2251
|
method: "typia.assert",
|
|
2252
2252
|
path: _path + ".defaultLanguage",
|
|
2253
2253
|
expected: "(string | undefined)",
|
|
@@ -2302,12 +2302,12 @@ function _assertExactRecord(name, input) {
|
|
|
2302
2302
|
path: _path + ".asset",
|
|
2303
2303
|
expected: "(string | undefined)",
|
|
2304
2304
|
value: input.asset
|
|
2305
|
-
}, _errorFactory)) && (undefined === input.weight || "
|
|
2305
|
+
}, _errorFactory)) && (undefined === input.weight || "normal" === input.weight || "bold" === input.weight || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2306
2306
|
method: "typia.assert",
|
|
2307
2307
|
path: _path + ".weight",
|
|
2308
2308
|
expected: "(\"bold\" | \"normal\" | undefined)",
|
|
2309
2309
|
value: input.weight
|
|
2310
|
-
}, _errorFactory)) && (undefined === input.style || "
|
|
2310
|
+
}, _errorFactory)) && (undefined === input.style || "normal" === input.style || "italic" === input.style || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2311
2311
|
method: "typia.assert",
|
|
2312
2312
|
path: _path + ".style",
|
|
2313
2313
|
expected: "(\"italic\" | \"normal\" | undefined)",
|
|
@@ -2957,7 +2957,7 @@ function _assertExactRecord(name, input) {
|
|
|
2957
2957
|
}; })()(input);
|
|
2958
2958
|
}
|
|
2959
2959
|
case "media.fonts?": {
|
|
2960
|
-
return (() => { const _io0 = input => (undefined === input.fontFaces || Array.isArray(input.fontFaces) && input.fontFaces.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && (undefined === input.fontFamilyNames || Array.isArray(input.fontFamilyNames) && input.fontFamilyNames.every(elem => "string" === typeof elem)); const _io1 = input => "string" === typeof input.name && "string" === typeof input.family && "string" === typeof input.asset && "string" === typeof input.url && "number" === typeof input.weight && ("
|
|
2960
|
+
return (() => { const _io0 = input => (undefined === input.fontFaces || Array.isArray(input.fontFaces) && input.fontFaces.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && (undefined === input.fontFamilyNames || Array.isArray(input.fontFamilyNames) && input.fontFamilyNames.every(elem => "string" === typeof elem)); const _io1 = input => "string" === typeof input.name && "string" === typeof input.family && "string" === typeof input.asset && "string" === typeof input.url && "number" === typeof input.weight && ("normal" === input.style || "italic" === input.style) && (Array.isArray(input.ranges) && input.ranges.every(elem => Array.isArray(elem) && (elem.length === 2 && "number" === typeof elem[0] && "number" === typeof elem[1]))); const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.fontFaces || (Array.isArray(input.fontFaces) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2961
2961
|
method: "typia.assert",
|
|
2962
2962
|
path: _path + ".fontFaces",
|
|
2963
2963
|
expected: "(Array<FontFace> | undefined)",
|
|
@@ -3017,7 +3017,7 @@ function _assertExactRecord(name, input) {
|
|
|
3017
3017
|
path: _path + ".weight",
|
|
3018
3018
|
expected: "number",
|
|
3019
3019
|
value: input.weight
|
|
3020
|
-
}, _errorFactory)) && ("
|
|
3020
|
+
}, _errorFactory)) && ("normal" === input.style || "italic" === input.style || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3021
3021
|
method: "typia.assert",
|
|
3022
3022
|
path: _path + ".style",
|
|
3023
3023
|
expected: "(\"italic\" | \"normal\")",
|
|
@@ -10702,6 +10702,134 @@ function _assertDomainRecord(domain, input) {
|
|
|
10702
10702
|
return input;
|
|
10703
10703
|
}; })()(input);
|
|
10704
10704
|
}
|
|
10705
|
+
case ":event.status?": {
|
|
10706
|
+
return (() => { const _io0 = input => undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem)); const _io1 = input => "string" === typeof input.id && "string" === typeof input.msg && "number" === typeof input.level && (undefined === input.code || "string" === typeof input.code) && (null === input.expose || undefined === input.expose || "boolean" === typeof input.expose) && (null === input.index || undefined === input.index || "number" === typeof input.index) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && _io2(input.data)); const _io2 = input => null === input.progress || undefined === input.progress || "number" === typeof input.progress; const _ao0 = (input, _path, _exceptionable = true) => undefined === input.messages || (Array.isArray(input.messages) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10707
|
+
method: "typia.assert",
|
|
10708
|
+
path: _path + ".messages",
|
|
10709
|
+
expected: "(Array<__type> | undefined)",
|
|
10710
|
+
value: input.messages
|
|
10711
|
+
}, _errorFactory)) && input.messages.every((elem, _index2) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10712
|
+
method: "typia.assert",
|
|
10713
|
+
path: _path + ".messages[" + _index2 + "]",
|
|
10714
|
+
expected: "__type",
|
|
10715
|
+
value: elem
|
|
10716
|
+
}, _errorFactory)) && _ao1(elem, _path + ".messages[" + _index2 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10717
|
+
method: "typia.assert",
|
|
10718
|
+
path: _path + ".messages[" + _index2 + "]",
|
|
10719
|
+
expected: "__type",
|
|
10720
|
+
value: elem
|
|
10721
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10722
|
+
method: "typia.assert",
|
|
10723
|
+
path: _path + ".messages",
|
|
10724
|
+
expected: "(Array<__type> | undefined)",
|
|
10725
|
+
value: input.messages
|
|
10726
|
+
}, _errorFactory); const _ao1 = (input, _path, _exceptionable = true) => ("string" === typeof input.id || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10727
|
+
method: "typia.assert",
|
|
10728
|
+
path: _path + ".id",
|
|
10729
|
+
expected: "string",
|
|
10730
|
+
value: input.id
|
|
10731
|
+
}, _errorFactory)) && ("string" === typeof input.msg || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10732
|
+
method: "typia.assert",
|
|
10733
|
+
path: _path + ".msg",
|
|
10734
|
+
expected: "string",
|
|
10735
|
+
value: input.msg
|
|
10736
|
+
}, _errorFactory)) && ("number" === typeof input.level || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10737
|
+
method: "typia.assert",
|
|
10738
|
+
path: _path + ".level",
|
|
10739
|
+
expected: "number",
|
|
10740
|
+
value: input.level
|
|
10741
|
+
}, _errorFactory)) && (undefined === input.code || "string" === typeof input.code || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10742
|
+
method: "typia.assert",
|
|
10743
|
+
path: _path + ".code",
|
|
10744
|
+
expected: "(string | undefined)",
|
|
10745
|
+
value: input.code
|
|
10746
|
+
}, _errorFactory)) && (null === input.expose || undefined === input.expose || "boolean" === typeof input.expose || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10747
|
+
method: "typia.assert",
|
|
10748
|
+
path: _path + ".expose",
|
|
10749
|
+
expected: "(boolean | null | undefined)",
|
|
10750
|
+
value: input.expose
|
|
10751
|
+
}, _errorFactory)) && (null === input.index || undefined === input.index || "number" === typeof input.index || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10752
|
+
method: "typia.assert",
|
|
10753
|
+
path: _path + ".index",
|
|
10754
|
+
expected: "(null | number | undefined)",
|
|
10755
|
+
value: input.index
|
|
10756
|
+
}, _errorFactory)) && (undefined === input.data || ("object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10757
|
+
method: "typia.assert",
|
|
10758
|
+
path: _path + ".data",
|
|
10759
|
+
expected: "(__type.o1 | undefined)",
|
|
10760
|
+
value: input.data
|
|
10761
|
+
}, _errorFactory)) && _ao2(input.data, _path + ".data", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10762
|
+
method: "typia.assert",
|
|
10763
|
+
path: _path + ".data",
|
|
10764
|
+
expected: "(__type.o1 | undefined)",
|
|
10765
|
+
value: input.data
|
|
10766
|
+
}, _errorFactory)); const _ao2 = (input, _path, _exceptionable = true) => null === input.progress || undefined === input.progress || "number" === typeof input.progress || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10767
|
+
method: "typia.assert",
|
|
10768
|
+
path: _path + ".progress",
|
|
10769
|
+
expected: "(null | number | undefined)",
|
|
10770
|
+
value: input.progress
|
|
10771
|
+
}, _errorFactory); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
10772
|
+
if (false === __is(input)) {
|
|
10773
|
+
_errorFactory = errorFactory;
|
|
10774
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
10775
|
+
method: "typia.assert",
|
|
10776
|
+
path: _path + "",
|
|
10777
|
+
expected: "EventStatusRecord",
|
|
10778
|
+
value: input
|
|
10779
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
10780
|
+
method: "typia.assert",
|
|
10781
|
+
path: _path + "",
|
|
10782
|
+
expected: "EventStatusRecord",
|
|
10783
|
+
value: input
|
|
10784
|
+
}, _errorFactory))(input, "$input", true);
|
|
10785
|
+
}
|
|
10786
|
+
return input;
|
|
10787
|
+
}; })()(input);
|
|
10788
|
+
}
|
|
10789
|
+
case ":event.schedule?": {
|
|
10790
|
+
return (() => { const _io0 = input => (undefined === input.startTime || "number" === typeof input.startTime) && (undefined === input.transition || "boolean" === typeof input.transition) && (undefined === input.transitionTime || "number" === typeof input.transitionTime) && (undefined === input.transitionDuration || "number" === typeof input.transitionDuration) && (undefined === input.endTime || "number" === typeof input.endTime); const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.startTime || "number" === typeof input.startTime || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10791
|
+
method: "typia.assert",
|
|
10792
|
+
path: _path + ".startTime",
|
|
10793
|
+
expected: "(number | undefined)",
|
|
10794
|
+
value: input.startTime
|
|
10795
|
+
}, _errorFactory)) && (undefined === input.transition || "boolean" === typeof input.transition || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10796
|
+
method: "typia.assert",
|
|
10797
|
+
path: _path + ".transition",
|
|
10798
|
+
expected: "(boolean | undefined)",
|
|
10799
|
+
value: input.transition
|
|
10800
|
+
}, _errorFactory)) && (undefined === input.transitionTime || "number" === typeof input.transitionTime || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10801
|
+
method: "typia.assert",
|
|
10802
|
+
path: _path + ".transitionTime",
|
|
10803
|
+
expected: "(number | undefined)",
|
|
10804
|
+
value: input.transitionTime
|
|
10805
|
+
}, _errorFactory)) && (undefined === input.transitionDuration || "number" === typeof input.transitionDuration || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10806
|
+
method: "typia.assert",
|
|
10807
|
+
path: _path + ".transitionDuration",
|
|
10808
|
+
expected: "(number | undefined)",
|
|
10809
|
+
value: input.transitionDuration
|
|
10810
|
+
}, _errorFactory)) && (undefined === input.endTime || "number" === typeof input.endTime || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10811
|
+
method: "typia.assert",
|
|
10812
|
+
path: _path + ".endTime",
|
|
10813
|
+
expected: "(number | undefined)",
|
|
10814
|
+
value: input.endTime
|
|
10815
|
+
}, _errorFactory)); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
10816
|
+
if (false === __is(input)) {
|
|
10817
|
+
_errorFactory = errorFactory;
|
|
10818
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
10819
|
+
method: "typia.assert",
|
|
10820
|
+
path: _path + "",
|
|
10821
|
+
expected: "EventScheduleRecord",
|
|
10822
|
+
value: input
|
|
10823
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
10824
|
+
method: "typia.assert",
|
|
10825
|
+
path: _path + "",
|
|
10826
|
+
expected: "EventScheduleRecord",
|
|
10827
|
+
value: input
|
|
10828
|
+
}, _errorFactory))(input, "$input", true);
|
|
10829
|
+
}
|
|
10830
|
+
return input;
|
|
10831
|
+
}; })()(input);
|
|
10832
|
+
}
|
|
10705
10833
|
case ":event.readDuration?": {
|
|
10706
10834
|
return (() => { const _io0 = input => (undefined === input.numChars || "number" === typeof input.numChars) && (undefined === input.numWords || "number" === typeof input.numWords) && (undefined === input.readRate || "number" === typeof input.readRate) && (undefined === input.readDuration || "number" === typeof input.readDuration) && (undefined === input.readType || "characters" === input.readType || "words" === input.readType || "wordsPerMinute" === input.readType); const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.numChars || "number" === typeof input.numChars || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10707
10835
|
method: "typia.assert",
|
|
@@ -12786,6 +12914,30 @@ function _assertDomainRecord(domain, input) {
|
|
|
12786
12914
|
return input;
|
|
12787
12915
|
}; })()(input);
|
|
12788
12916
|
}
|
|
12917
|
+
case ":media.placeholder": {
|
|
12918
|
+
return (() => { const _io0 = input => "string" === typeof input.asset; const _ao0 = (input, _path, _exceptionable = true) => "string" === typeof input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
12919
|
+
method: "typia.assert",
|
|
12920
|
+
path: _path + ".asset",
|
|
12921
|
+
expected: "string",
|
|
12922
|
+
value: input.asset
|
|
12923
|
+
}, _errorFactory); const __is = input => "object" === typeof input && null !== input && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
12924
|
+
if (false === __is(input)) {
|
|
12925
|
+
_errorFactory = errorFactory;
|
|
12926
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || __typia_transform__assertGuard._assertGuard(true, {
|
|
12927
|
+
method: "typia.assert",
|
|
12928
|
+
path: _path + "",
|
|
12929
|
+
expected: "MediaPlaceholderRecord",
|
|
12930
|
+
value: input
|
|
12931
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
12932
|
+
method: "typia.assert",
|
|
12933
|
+
path: _path + "",
|
|
12934
|
+
expected: "MediaPlaceholderRecord",
|
|
12935
|
+
value: input
|
|
12936
|
+
}, _errorFactory))(input, "$input", true);
|
|
12937
|
+
}
|
|
12938
|
+
return input;
|
|
12939
|
+
}; })()(input);
|
|
12940
|
+
}
|
|
12789
12941
|
case ":media.consolidate": {
|
|
12790
12942
|
return (() => { const _io0 = input => true && true && (null !== input.preset && (undefined === input.preset || "string" === typeof input.preset || "object" === typeof input.preset && null !== input.preset && false === Array.isArray(input.preset) && _io1(input.preset))) && true; const _io1 = input => (null === input.type || undefined === input.type || "string" === typeof input.type) && (null !== input.profile && (undefined === input.profile || "string" === typeof input.profile || (Array.isArray(input.profile) && input.profile.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && _io2(elem))) || "object" === typeof input.profile && null !== input.profile && _io2(input.profile)))); const _io2 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io3(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io4(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io5(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) && _io6(input.subtitle))); const _io3 = input => "string" === typeof input.engine; const _io4 = input => "string" === typeof input.language; const _io5 = 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 _io6 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (undefined === input.ccconverter || "object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) && _io7(input.ccconverter)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io8(input.ass)); const _io7 = input => undefined === input.preset || "string" === typeof input.preset; const _io8 = input => (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack); const _ao0 = (input, _path, _exceptionable = true) => true && true && ((null !== input.preset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
12791
12943
|
method: "typia.assert",
|
|
@@ -14247,7 +14399,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
14247
14399
|
}; })()(input);
|
|
14248
14400
|
}
|
|
14249
14401
|
case ":monitor.stats?": {
|
|
14250
|
-
return (() => { const _io0 = input => true && ("object" === typeof input.proc && null !== input.proc && _io1(input.proc)) && ("object" === typeof input.buddyinfo && null !== input.buddyinfo && _io3(input.buddyinfo)) && ("object" === typeof input.meminfo && null !== input.meminfo && false === Array.isArray(input.meminfo) && _io4(input.meminfo)) && ("object" === typeof input.net && null !== input.net && _io5(input.net)) && ("object" === typeof input["var"] && null !== input["var"] && _io12(input["var"])); const _io1 = input => (null === input.cpu || "object" === typeof input.cpu && null !== input.cpu && false === Array.isArray(input.cpu) && _io2(input.cpu)) && (undefined === input.cpus || Array.isArray(input.cpus) && input.cpus.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io2(elem))) && "number" === typeof input.threads && (null === input.load || Array.isArray(input.load) && input.load.every(elem => "number" === typeof elem)) && (null === input.interrupts || undefined === input.interrupts || Array.isArray(input.interrupts) && input.interrupts.every(elem => "number" === typeof elem)) && (null === input.contextSwitches || "number" === typeof input.contextSwitches) && (null === input.bootTime || "number" === typeof input.bootTime) && (null === input.processes || "number" === typeof input.processes) && (null === input.running || "number" === typeof input.running) && (null === input.blocked || "number" === typeof input.blocked) && true && true && "number" === typeof input.timestamp && (null === input.total || "number" === typeof input.total) && (null === input.idle || "number" === typeof input.idle) && (null === input.active || "number" === typeof input.active) && (null === input.utilization || "number" === typeof input.utilization); const _io2 = input => Object.keys(input).every(key => {
|
|
14402
|
+
return (() => { const _io0 = input => true && ("object" === typeof input.proc && null !== input.proc && _io1(input.proc)) && ("object" === typeof input.buddyinfo && null !== input.buddyinfo && _io3(input.buddyinfo)) && ("object" === typeof input.meminfo && null !== input.meminfo && false === Array.isArray(input.meminfo) && _io4(input.meminfo)) && ("object" === typeof input.net && null !== input.net && _io5(input.net)) && ("object" === typeof input["var"] && null !== input["var"] && _io12(input["var"])) && ("object" === typeof input.hostBridge && null !== input.hostBridge && _io13(input.hostBridge)); const _io1 = input => (null === input.cpu || "object" === typeof input.cpu && null !== input.cpu && false === Array.isArray(input.cpu) && _io2(input.cpu)) && (undefined === input.cpus || Array.isArray(input.cpus) && input.cpus.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io2(elem))) && "number" === typeof input.threads && (null === input.load || Array.isArray(input.load) && input.load.every(elem => "number" === typeof elem)) && (null === input.interrupts || undefined === input.interrupts || Array.isArray(input.interrupts) && input.interrupts.every(elem => "number" === typeof elem)) && (null === input.contextSwitches || "number" === typeof input.contextSwitches) && (null === input.bootTime || "number" === typeof input.bootTime) && (null === input.processes || "number" === typeof input.processes) && (null === input.running || "number" === typeof input.running) && (null === input.blocked || "number" === typeof input.blocked) && true && true && "number" === typeof input.timestamp && (null === input.total || "number" === typeof input.total) && (null === input.idle || "number" === typeof input.idle) && (null === input.active || "number" === typeof input.active) && (null === input.utilization || "number" === typeof input.utilization); const _io2 = input => Object.keys(input).every(key => {
|
|
14251
14403
|
const value = input[key];
|
|
14252
14404
|
if (undefined === value)
|
|
14253
14405
|
return true;
|
|
@@ -14276,7 +14428,12 @@ function _assertDomainRecord(domain, input) {
|
|
|
14276
14428
|
if (undefined === value)
|
|
14277
14429
|
return true;
|
|
14278
14430
|
return true;
|
|
14279
|
-
}); const _io12 = input => "number" === typeof input.used && "number" === typeof input.available && "number" === typeof input.timestamp; const
|
|
14431
|
+
}); const _io12 = input => "number" === typeof input.used && "number" === typeof input.available && "number" === typeof input.timestamp; const _io13 = input => "object" === typeof input.types && null !== input.types && false === Array.isArray(input.types) && _io14(input.types) && (Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io15(elem))) && "number" === typeof input.timestamp; const _io14 = input => Object.keys(input).every(key => {
|
|
14432
|
+
const value = input[key];
|
|
14433
|
+
if (undefined === value)
|
|
14434
|
+
return true;
|
|
14435
|
+
return "string" === typeof value;
|
|
14436
|
+
}); const _io15 = input => "string" === typeof input.type && "string" === typeof input.id && "number" === typeof input.level && "string" === typeof input.title && "string" === typeof input.msg; const _ao0 = (input, _path, _exceptionable = true) => true && (("object" === typeof input.proc && null !== input.proc || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14280
14437
|
method: "typia.assert",
|
|
14281
14438
|
path: _path + ".proc",
|
|
14282
14439
|
expected: "MonitorStatsProcInfo",
|
|
@@ -14326,6 +14483,16 @@ function _assertDomainRecord(domain, input) {
|
|
|
14326
14483
|
path: _path + "[\"var\"]",
|
|
14327
14484
|
expected: "__type.o5",
|
|
14328
14485
|
value: input["var"]
|
|
14486
|
+
}, _errorFactory)) && (("object" === typeof input.hostBridge && null !== input.hostBridge || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14487
|
+
method: "typia.assert",
|
|
14488
|
+
path: _path + ".hostBridge",
|
|
14489
|
+
expected: "MonitorStatsHostBridge",
|
|
14490
|
+
value: input.hostBridge
|
|
14491
|
+
}, _errorFactory)) && _ao13(input.hostBridge, _path + ".hostBridge", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14492
|
+
method: "typia.assert",
|
|
14493
|
+
path: _path + ".hostBridge",
|
|
14494
|
+
expected: "MonitorStatsHostBridge",
|
|
14495
|
+
value: input.hostBridge
|
|
14329
14496
|
}, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => (null === input.cpu || ("object" === typeof input.cpu && null !== input.cpu && false === Array.isArray(input.cpu) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14330
14497
|
method: "typia.assert",
|
|
14331
14498
|
path: _path + ".cpu",
|
|
@@ -14341,14 +14508,14 @@ function _assertDomainRecord(domain, input) {
|
|
|
14341
14508
|
path: _path + ".cpus",
|
|
14342
14509
|
expected: "(Array<MonitorStatsProcInfoCpu> | undefined)",
|
|
14343
14510
|
value: input.cpus
|
|
14344
|
-
}, _errorFactory)) && input.cpus.every((elem,
|
|
14511
|
+
}, _errorFactory)) && input.cpus.every((elem, _index11) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14345
14512
|
method: "typia.assert",
|
|
14346
|
-
path: _path + ".cpus[" +
|
|
14513
|
+
path: _path + ".cpus[" + _index11 + "]",
|
|
14347
14514
|
expected: "MonitorStatsProcInfoCpu",
|
|
14348
14515
|
value: elem
|
|
14349
|
-
}, _errorFactory)) && _ao2(elem, _path + ".cpus[" +
|
|
14516
|
+
}, _errorFactory)) && _ao2(elem, _path + ".cpus[" + _index11 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14350
14517
|
method: "typia.assert",
|
|
14351
|
-
path: _path + ".cpus[" +
|
|
14518
|
+
path: _path + ".cpus[" + _index11 + "]",
|
|
14352
14519
|
expected: "MonitorStatsProcInfoCpu",
|
|
14353
14520
|
value: elem
|
|
14354
14521
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -14366,9 +14533,9 @@ function _assertDomainRecord(domain, input) {
|
|
|
14366
14533
|
path: _path + ".load",
|
|
14367
14534
|
expected: "(Array<number> | null)",
|
|
14368
14535
|
value: input.load
|
|
14369
|
-
}, _errorFactory)) && input.load.every((elem,
|
|
14536
|
+
}, _errorFactory)) && input.load.every((elem, _index12) => "number" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14370
14537
|
method: "typia.assert",
|
|
14371
|
-
path: _path + ".load[" +
|
|
14538
|
+
path: _path + ".load[" + _index12 + "]",
|
|
14372
14539
|
expected: "number",
|
|
14373
14540
|
value: elem
|
|
14374
14541
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -14381,9 +14548,9 @@ function _assertDomainRecord(domain, input) {
|
|
|
14381
14548
|
path: _path + ".interrupts",
|
|
14382
14549
|
expected: "(Array<number> | null | undefined)",
|
|
14383
14550
|
value: input.interrupts
|
|
14384
|
-
}, _errorFactory)) && input.interrupts.every((elem,
|
|
14551
|
+
}, _errorFactory)) && input.interrupts.every((elem, _index13) => "number" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14385
14552
|
method: "typia.assert",
|
|
14386
|
-
path: _path + ".interrupts[" +
|
|
14553
|
+
path: _path + ".interrupts[" + _index13 + "]",
|
|
14387
14554
|
expected: "number",
|
|
14388
14555
|
value: elem
|
|
14389
14556
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -14456,9 +14623,9 @@ function _assertDomainRecord(domain, input) {
|
|
|
14456
14623
|
path: _path + ".normal",
|
|
14457
14624
|
expected: "(Array<number> | undefined)",
|
|
14458
14625
|
value: input.normal
|
|
14459
|
-
}, _errorFactory)) && input.normal.every((elem,
|
|
14626
|
+
}, _errorFactory)) && input.normal.every((elem, _index14) => "number" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14460
14627
|
method: "typia.assert",
|
|
14461
|
-
path: _path + ".normal[" +
|
|
14628
|
+
path: _path + ".normal[" + _index14 + "]",
|
|
14462
14629
|
expected: "number",
|
|
14463
14630
|
value: elem
|
|
14464
14631
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -14471,9 +14638,9 @@ function _assertDomainRecord(domain, input) {
|
|
|
14471
14638
|
path: _path + ".high",
|
|
14472
14639
|
expected: "(Array<number> | undefined)",
|
|
14473
14640
|
value: input.high
|
|
14474
|
-
}, _errorFactory)) && input.high.every((elem,
|
|
14641
|
+
}, _errorFactory)) && input.high.every((elem, _index15) => "number" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14475
14642
|
method: "typia.assert",
|
|
14476
|
-
path: _path + ".high[" +
|
|
14643
|
+
path: _path + ".high[" + _index15 + "]",
|
|
14477
14644
|
expected: "number",
|
|
14478
14645
|
value: elem
|
|
14479
14646
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -14521,14 +14688,14 @@ function _assertDomainRecord(domain, input) {
|
|
|
14521
14688
|
path: _path + ".bonding",
|
|
14522
14689
|
expected: "Array<NetworkInterfaceInfo & { [key: string]: unknown; slaves: string[]; name: string; }>",
|
|
14523
14690
|
value: input.bonding
|
|
14524
|
-
}, _errorFactory)) && input.bonding.every((elem,
|
|
14691
|
+
}, _errorFactory)) && input.bonding.every((elem, _index16) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14525
14692
|
method: "typia.assert",
|
|
14526
|
-
path: _path + ".bonding[" +
|
|
14693
|
+
path: _path + ".bonding[" + _index16 + "]",
|
|
14527
14694
|
expected: "NetworkInterfaceInfo & { [key: string]: unknown; slaves: string[]; name: string; }",
|
|
14528
14695
|
value: elem
|
|
14529
|
-
}, _errorFactory)) && _ao10(elem, _path + ".bonding[" +
|
|
14696
|
+
}, _errorFactory)) && _ao10(elem, _path + ".bonding[" + _index16 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14530
14697
|
method: "typia.assert",
|
|
14531
|
-
path: _path + ".bonding[" +
|
|
14698
|
+
path: _path + ".bonding[" + _index16 + "]",
|
|
14532
14699
|
expected: "NetworkInterfaceInfo & { [key: string]: unknown; slaves: string[]; name: string; }",
|
|
14533
14700
|
value: elem
|
|
14534
14701
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -14541,14 +14708,14 @@ function _assertDomainRecord(domain, input) {
|
|
|
14541
14708
|
path: _path + ".eth",
|
|
14542
14709
|
expected: "Array<NetworkInterfaceInfo & { [key: string]: unknown; speed?: number | undefined; rxUnicastBytes?: number | undefined; rxMulticastBytes?: number | undefined; rxBroadcastBytes?: number | undefined; }>",
|
|
14543
14710
|
value: input.eth
|
|
14544
|
-
}, _errorFactory)) && input.eth.every((elem,
|
|
14711
|
+
}, _errorFactory)) && input.eth.every((elem, _index17) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14545
14712
|
method: "typia.assert",
|
|
14546
|
-
path: _path + ".eth[" +
|
|
14713
|
+
path: _path + ".eth[" + _index17 + "]",
|
|
14547
14714
|
expected: "NetworkInterfaceInfo & { [key: string]: unknown; speed?: number | undefined; rxUnicastBytes?: number | undefined; rxMulticastBytes?: number | undefined; rxBroadcastBytes?: number | undefined; }",
|
|
14548
14715
|
value: elem
|
|
14549
|
-
}, _errorFactory)) && _ao11(elem, _path + ".eth[" +
|
|
14716
|
+
}, _errorFactory)) && _ao11(elem, _path + ".eth[" + _index17 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14550
14717
|
method: "typia.assert",
|
|
14551
|
-
path: _path + ".eth[" +
|
|
14718
|
+
path: _path + ".eth[" + _index17 + "]",
|
|
14552
14719
|
expected: "NetworkInterfaceInfo & { [key: string]: unknown; speed?: number | undefined; rxUnicastBytes?: number | undefined; rxMulticastBytes?: number | undefined; rxBroadcastBytes?: number | undefined; }",
|
|
14553
14720
|
value: elem
|
|
14554
14721
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -14601,14 +14768,14 @@ function _assertDomainRecord(domain, input) {
|
|
|
14601
14768
|
path: _path + ".cpus",
|
|
14602
14769
|
expected: "Array<__type>",
|
|
14603
14770
|
value: input.cpus
|
|
14604
|
-
}, _errorFactory)) && input.cpus.every((elem,
|
|
14771
|
+
}, _errorFactory)) && input.cpus.every((elem, _index18) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14605
14772
|
method: "typia.assert",
|
|
14606
|
-
path: _path + ".cpus[" +
|
|
14773
|
+
path: _path + ".cpus[" + _index18 + "]",
|
|
14607
14774
|
expected: "__type.o1",
|
|
14608
14775
|
value: elem
|
|
14609
|
-
}, _errorFactory)) && _ao7(elem, _path + ".cpus[" +
|
|
14776
|
+
}, _errorFactory)) && _ao7(elem, _path + ".cpus[" + _index18 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14610
14777
|
method: "typia.assert",
|
|
14611
|
-
path: _path + ".cpus[" +
|
|
14778
|
+
path: _path + ".cpus[" + _index18 + "]",
|
|
14612
14779
|
expected: "__type.o1",
|
|
14613
14780
|
value: elem
|
|
14614
14781
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -14861,9 +15028,9 @@ function _assertDomainRecord(domain, input) {
|
|
|
14861
15028
|
path: _path + ".slaves",
|
|
14862
15029
|
expected: "Array<string>",
|
|
14863
15030
|
value: input.slaves
|
|
14864
|
-
}, _errorFactory)) && input.slaves.every((elem,
|
|
15031
|
+
}, _errorFactory)) && input.slaves.every((elem, _index19) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14865
15032
|
method: "typia.assert",
|
|
14866
|
-
path: _path + ".slaves[" +
|
|
15033
|
+
path: _path + ".slaves[" + _index19 + "]",
|
|
14867
15034
|
expected: "string",
|
|
14868
15035
|
value: elem
|
|
14869
15036
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -15070,6 +15237,76 @@ function _assertDomainRecord(domain, input) {
|
|
|
15070
15237
|
path: _path + ".timestamp",
|
|
15071
15238
|
expected: "number",
|
|
15072
15239
|
value: input.timestamp
|
|
15240
|
+
}, _errorFactory)); const _ao13 = (input, _path, _exceptionable = true) => (("object" === typeof input.types && null !== input.types && false === Array.isArray(input.types) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15241
|
+
method: "typia.assert",
|
|
15242
|
+
path: _path + ".types",
|
|
15243
|
+
expected: "Record<string, string>",
|
|
15244
|
+
value: input.types
|
|
15245
|
+
}, _errorFactory)) && _ao14(input.types, _path + ".types", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15246
|
+
method: "typia.assert",
|
|
15247
|
+
path: _path + ".types",
|
|
15248
|
+
expected: "Record<string, string>",
|
|
15249
|
+
value: input.types
|
|
15250
|
+
}, _errorFactory)) && ((Array.isArray(input.messages) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15251
|
+
method: "typia.assert",
|
|
15252
|
+
path: _path + ".messages",
|
|
15253
|
+
expected: "Array<MonitorStatsHostBridgeMessage>",
|
|
15254
|
+
value: input.messages
|
|
15255
|
+
}, _errorFactory)) && input.messages.every((elem, _index20) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15256
|
+
method: "typia.assert",
|
|
15257
|
+
path: _path + ".messages[" + _index20 + "]",
|
|
15258
|
+
expected: "MonitorStatsHostBridgeMessage",
|
|
15259
|
+
value: elem
|
|
15260
|
+
}, _errorFactory)) && _ao15(elem, _path + ".messages[" + _index20 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15261
|
+
method: "typia.assert",
|
|
15262
|
+
path: _path + ".messages[" + _index20 + "]",
|
|
15263
|
+
expected: "MonitorStatsHostBridgeMessage",
|
|
15264
|
+
value: elem
|
|
15265
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15266
|
+
method: "typia.assert",
|
|
15267
|
+
path: _path + ".messages",
|
|
15268
|
+
expected: "Array<MonitorStatsHostBridgeMessage>",
|
|
15269
|
+
value: input.messages
|
|
15270
|
+
}, _errorFactory)) && ("number" === typeof input.timestamp || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15271
|
+
method: "typia.assert",
|
|
15272
|
+
path: _path + ".timestamp",
|
|
15273
|
+
expected: "number",
|
|
15274
|
+
value: input.timestamp
|
|
15275
|
+
}, _errorFactory)); const _ao14 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
15276
|
+
const value = input[key];
|
|
15277
|
+
if (undefined === value)
|
|
15278
|
+
return true;
|
|
15279
|
+
return "string" === typeof value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15280
|
+
method: "typia.assert",
|
|
15281
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
15282
|
+
expected: "string",
|
|
15283
|
+
value: value
|
|
15284
|
+
}, _errorFactory);
|
|
15285
|
+
}); const _ao15 = (input, _path, _exceptionable = true) => ("string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15286
|
+
method: "typia.assert",
|
|
15287
|
+
path: _path + ".type",
|
|
15288
|
+
expected: "string",
|
|
15289
|
+
value: input.type
|
|
15290
|
+
}, _errorFactory)) && ("string" === typeof input.id || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15291
|
+
method: "typia.assert",
|
|
15292
|
+
path: _path + ".id",
|
|
15293
|
+
expected: "string",
|
|
15294
|
+
value: input.id
|
|
15295
|
+
}, _errorFactory)) && ("number" === typeof input.level || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15296
|
+
method: "typia.assert",
|
|
15297
|
+
path: _path + ".level",
|
|
15298
|
+
expected: "number",
|
|
15299
|
+
value: input.level
|
|
15300
|
+
}, _errorFactory)) && ("string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15301
|
+
method: "typia.assert",
|
|
15302
|
+
path: _path + ".title",
|
|
15303
|
+
expected: "string",
|
|
15304
|
+
value: input.title
|
|
15305
|
+
}, _errorFactory)) && ("string" === typeof input.msg || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15306
|
+
method: "typia.assert",
|
|
15307
|
+
path: _path + ".msg",
|
|
15308
|
+
expected: "string",
|
|
15309
|
+
value: input.msg
|
|
15073
15310
|
}, _errorFactory)); const __is = input => "object" === typeof input && null !== input && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
15074
15311
|
if (false === __is(input)) {
|
|
15075
15312
|
_errorFactory = errorFactory;
|
|
@@ -24561,7 +24798,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
24561
24798
|
if (undefined === value)
|
|
24562
24799
|
return true;
|
|
24563
24800
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io30(value);
|
|
24564
|
-
}); const _io30 = input => (undefined === input.event || "string" === typeof input.event) && (undefined === input.property || "string" === typeof input.property); const _io31 = input => (undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails) && ("folded" === input.scriptEventFolding || "unfoldedUntilFolded" === input.scriptEventFolding); const _io32 = input => (undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur) && (undefined === input.float || "rundown" === input.float || "gallery" === input.float || "disabled" === input.float) && (undefined === input.countFloatedDuration || "boolean" === typeof input.countFloatedDuration); const _io33 = input => Object.keys(input).every(key => {
|
|
24801
|
+
}); const _io30 = input => (undefined === input.event || "string" === typeof input.event) && (undefined === input.property || "string" === typeof input.property); const _io31 = input => (undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails) && ("folded" === input.scriptEventFolding || "unfoldedUntilFolded" === input.scriptEventFolding) && (undefined === input.stickyHeaders || "boolean" === typeof input.stickyHeaders) && (undefined === input.triggersColumn || "title" === input.triggersColumn || "triggers" === input.triggersColumn) && (undefined === input.density || "normal" === input.density || "compact" === input.density || "spacious" === input.density) && (undefined === input.showEvents || "boolean" === typeof input.showEvents) && (undefined === input.showTriggers || "boolean" === typeof input.showTriggers) && (undefined === input.showReferenceDuration || "boolean" === typeof input.showReferenceDuration) && (undefined === input.showSettingsColumn || "boolean" === typeof input.showSettingsColumn) && (undefined === input.thumbnailColumnWidth || "number" === typeof input.thumbnailColumnWidth); const _io32 = input => (undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur) && (undefined === input.float || "rundown" === input.float || "gallery" === input.float || "disabled" === input.float) && (undefined === input.countFloatedDuration || "boolean" === typeof input.countFloatedDuration); const _io33 = input => Object.keys(input).every(key => {
|
|
24565
24802
|
const value = input[key];
|
|
24566
24803
|
if (undefined === value)
|
|
24567
24804
|
return true;
|
|
@@ -24576,7 +24813,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
24576
24813
|
if (undefined === value)
|
|
24577
24814
|
return true;
|
|
24578
24815
|
return true;
|
|
24579
|
-
}); const _io37 = input => (undefined === input.volume || "number" === typeof input.volume) && (undefined === input.muted || "boolean" === typeof input.muted) && (undefined === input.graphics || "boolean" === typeof input.graphics) && (null === input.subtitle || undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.waveform || "boolean" === typeof input.waveform) && (undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate) && (undefined === input.dropFrame || "boolean" === typeof input.dropFrame) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.warnSubclipDuration || "number" === typeof input.warnSubclipDuration) && (undefined === input.displayAspectRatioPresets || Array.isArray(input.displayAspectRatioPresets) && input.displayAspectRatioPresets.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io38(elem))) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && _io39(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) && _io40(input.tile)) && (undefined === input.showTimeCode || "boolean" === typeof input.showTimeCode) && (undefined === input.timecodeReference || "default" === input.timecodeReference || "subclip" === 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) && _io41(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) && _io44(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && _io45(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io46(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && _io50(input.openCommand))) && (undefined === input.recorder || "object" === typeof input.recorder && null !== input.recorder && false === Array.isArray(input.recorder) && _io51(input.recorder)); const _io38 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.value || "string" === typeof input.value); const _io39 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe); const _io40 = 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 _io41 = 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) && _io42(elem))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io43(elem))) && (undefined === input.overridableProperties || Array.isArray(input.overridableProperties) && input.overridableProperties.every(elem => null === elem || true === _iv29.has(elem))) && (undefined === input.previewResolutionScale || "number" === typeof input.previewResolutionScale); const _io42 = 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 _io43 = input => (null === input.label || undefined === input.label || "string" === typeof input.label) && (null === input.color || undefined === input.color || "string" === typeof input.color); const _io44 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.aspectRatio || "string" === typeof input.aspectRatio); const _io45 = 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 _io46 = input => (undefined === input.showSpeakers || "boolean" === typeof input.showSpeakers) && (undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && _io47(input.subtitleDisclaimer)); const _io47 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && _io48(input.defaultValue)); const _io48 = 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) && _io49(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration); const _io49 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.value || "string" === typeof input.value); const _io50 = 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 _io51 = input => (undefined === input.microphone || "object" === typeof input.microphone && null !== input.microphone && false === Array.isArray(input.microphone) && _io52(input.microphone)) && (undefined === input.webcam || "object" === typeof input.webcam && null !== input.webcam && false === Array.isArray(input.webcam) && _io53(input.webcam)) && (undefined === input.countdown || "number" === typeof input.countdown); const _io52 = input => (undefined === input.deviceId || "string" === typeof input.deviceId) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.monitorInput || "boolean" === typeof input.monitorInput); const _io53 = input => (undefined === input.deviceId || "string" === typeof input.deviceId) && (undefined === input.frameRate || "number" === typeof input.frameRate) && (undefined === input.aspectRatio || "number" === typeof input.aspectRatio); const _io54 = input => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && (undefined === input.audioMapping || "object" === typeof input.audioMapping && null !== input.audioMapping && false === Array.isArray(input.audioMapping) && _io55(input.audioMapping)) && (undefined === input.normalize || "object" === typeof input.normalize && null !== input.normalize && false === Array.isArray(input.normalize) && _io57(input.normalize)) && (undefined === input.voiceOver || "object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) && _io59(input.voiceOver)); const _io55 = input => undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _io56(elem)); const _io56 = input => "string" === typeof input.id && "string" === typeof input.title && (undefined === input.mapping || Array.isArray(input.mapping) && input.mapping.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem))) && (undefined === input.mute || Array.isArray(input.mute) && input.mute.every(elem => "boolean" === typeof elem)) && (undefined === input.minInChannels || "number" === typeof input.minInChannels) && (undefined === input.maxInChannels || "number" === typeof input.maxInChannels) && (undefined === input.minOutChannels || "number" === typeof input.minOutChannels) && (undefined === input.maxOutChannels || "number" === typeof input.maxOutChannels); const _io57 = input => (undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _io58(elem))) && (undefined === input.defaultPresetId || "string" === typeof input.defaultPresetId); const _io58 = input => "string" === typeof input.id && "string" === typeof input.title && "number" === typeof input.i && "number" === typeof input.tp; const _io59 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.monitorInput || "boolean" === typeof input.monitorInput) && (undefined === input.backgroundReductionDb || "number" === typeof input.backgroundReductionDb) && (undefined === input.recordMode || "instant" === input.recordMode || "punchAndRoll" === input.recordMode) && (undefined === input.preRollDuration || "number" === typeof input.preRollDuration); const _io60 = 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 _io61 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && _io62(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && _io63(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && _io67(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && _io69(input.item)); const _io62 = input => undefined === input.auto || "boolean" === typeof input.auto; const _io63 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && _io64(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && _io66(input.note)); const _io64 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && _io65(input.excerpt); const _io65 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode) && (undefined === input.comments || "boolean" === typeof input.comments); const _io66 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight; const _io67 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && _io68(input.search)) && (undefined === input.sortMode || true === _iv38.has(input.sortMode)); const _io68 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed; const _io69 = input => (undefined === input.maxHeight || "number" === typeof input.maxHeight) && (undefined === input.titleLines || "number" === typeof input.titleLines); const _io70 = input => (undefined === input.fontFamilies || Array.isArray(input.fontFamilies) && input.fontFamilies.every(elem => "string" === typeof elem)) && (undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _iu0(elem))); const _io71 = input => "script" === input.type && "string" === typeof input.title && "number" === typeof input.horizontalMargin && ("A5" === input.pageSize || "A4" === input.pageSize || "A3" === input.pageSize) && ("landscape" === input.orientation || "portrait" === input.orientation) && "number" === typeof input.fontSize && (undefined === input.fontFamily || "string" === typeof input.fontFamily) && (Array.isArray(input.hide) && input.hide.every(elem => "event" === elem || "event-data" === elem || "comment" === elem || "heading" === elem || "list" === elem || "quote" === elem || "paragraph" === elem || "horizontalrule" === elem)); const _io72 = input => "rundown" === input.type && (Array.isArray(input.columns) && input.columns.every(elem => "object" === typeof elem && null !== elem && _io73(elem))) && (undefined === input.rangeStart || "number" === typeof input.rangeStart) && (undefined === input.rangeEnd || "number" === typeof input.rangeEnd) && (Array.isArray(input.hide) && input.hide.every(elem => "event" === elem || "comment" === elem || "heading" === elem || "list" === elem || "quote" === elem || "paragraph" === elem || "horizontalrule" === elem)) && "string" === typeof input.title && "number" === typeof input.horizontalMargin && ("A5" === input.pageSize || "A4" === input.pageSize || "A3" === input.pageSize) && ("landscape" === input.orientation || "portrait" === input.orientation) && "number" === typeof input.fontSize && (undefined === input.fontFamily || "string" === typeof input.fontFamily); const _io73 = input => ("type" === input.key || "title" === input.key || "id" === input.key || "time" === input.key || "duration" === input.key || "position" === input.key || "accDuration" === input.key) && "string" === typeof input.label && "string" === typeof input.width && ("right" === input.textAlign || "left" === input.textAlign || "center" === input.textAlign); const _io74 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.folded || "boolean" === typeof input.folded); const _io75 = input => (undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && _io76(input.adobe)) && (undefined === input.ograf || "object" === typeof input.ograf && null !== input.ograf && false === Array.isArray(input.ograf) && _io78(input.ograf)) && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && _io79(input.rive)); const _io76 = input => (undefined === input.videoBin || "string" === typeof input.videoBin) && (undefined === input.imageBin || "string" === typeof input.imageBin) && (undefined === input.audioBin || "string" === typeof input.audioBin) && (undefined === input.timelineBin || "string" === typeof input.timelineBin) && (undefined === input.clipBin || "string" === typeof input.clipBin) && (undefined === input.downloadPath || "string" === typeof input.downloadPath) && (undefined === input.renderPath || "string" === typeof input.renderPath) && (undefined === input.renderPresetPath || "string" === typeof input.renderPresetPath) && (undefined === input.renderPresets || Array.isArray(input.renderPresets) && input.renderPresets.every(elem => "string" === typeof elem)) && (undefined === input.videoRenderPreset || "string" === typeof input.videoRenderPreset) && (undefined === input.imageRenderPreset || "string" === typeof input.imageRenderPreset) && (undefined === input.audioRenderPreset || "string" === typeof input.audioRenderPreset) && (undefined === input.forceRender || "boolean" === typeof input.forceRender) && (undefined === input.useProxies || "boolean" === typeof input.useProxies) && (undefined === input.deleteIntermediateFiles || "boolean" === typeof input.deleteIntermediateFiles) && (undefined === input.bodymovin || "object" === typeof input.bodymovin && null !== input.bodymovin && false === Array.isArray(input.bodymovin) && _io77(input.bodymovin)); const _io77 = input => undefined === input.template || "string" === typeof input.template; const _io78 = input => undefined === input.template || "string" === typeof input.template; const _io79 = input => undefined === input.template || "string" === typeof input.template; const _io80 = input => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.aiMetadata || "boolean" === typeof input.aiMetadata) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering); const _io81 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.utilsAssetEditor || "boolean" === typeof input.utilsAssetEditor) && (undefined === input.utilsAssetPanel || "boolean" === typeof input.utilsAssetPanel) && (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.downloadFiles || "boolean" === typeof input.downloadFiles) && (undefined === input.supportPortal || "boolean" === typeof input.supportPortal) && (undefined === input.multiplexWebSockets || "boolean" === typeof input.multiplexWebSockets) && (undefined === input.systemHealth || "boolean" === typeof input.systemHealth) && (undefined === input.systemHealthIgnore || "boolean" === typeof input.systemHealthIgnore); const _io82 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io83(input.events); const _io83 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && _io84(input.publishSucceeded)); const _io84 = input => Object.keys(input).every(key => {
|
|
24816
|
+
}); const _io37 = input => (undefined === input.volume || "number" === typeof input.volume) && (undefined === input.muted || "boolean" === typeof input.muted) && (undefined === input.graphics || "boolean" === typeof input.graphics) && (null === input.subtitle || undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.waveform || "boolean" === typeof input.waveform) && (undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate) && (undefined === input.dropFrame || "boolean" === typeof input.dropFrame) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.warnSubclipDuration || "number" === typeof input.warnSubclipDuration) && (undefined === input.displayAspectRatioPresets || Array.isArray(input.displayAspectRatioPresets) && input.displayAspectRatioPresets.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io38(elem))) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && _io39(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) && _io40(input.tile)) && (undefined === input.showTimeCode || "boolean" === typeof input.showTimeCode) && (undefined === input.timecodeReference || "default" === input.timecodeReference || "subclip" === 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) && _io41(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) && _io44(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && _io45(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io46(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && _io50(input.openCommand))) && (undefined === input.recorder || "object" === typeof input.recorder && null !== input.recorder && false === Array.isArray(input.recorder) && _io51(input.recorder)); const _io38 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.value || "string" === typeof input.value); const _io39 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe); const _io40 = 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 _io41 = 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) && _io42(elem))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io43(elem))) && (undefined === input.overridableProperties || Array.isArray(input.overridableProperties) && input.overridableProperties.every(elem => null === elem || true === _iv29.has(elem))) && (undefined === input.previewResolutionScale || "number" === typeof input.previewResolutionScale); const _io42 = 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 _io43 = input => (null === input.label || undefined === input.label || "string" === typeof input.label) && (null === input.color || undefined === input.color || "string" === typeof input.color); const _io44 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.aspectRatio || "string" === typeof input.aspectRatio); const _io45 = 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 _io46 = input => (undefined === input.showSpeakers || "boolean" === typeof input.showSpeakers) && (undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && _io47(input.subtitleDisclaimer)); const _io47 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && _io48(input.defaultValue)); const _io48 = 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) && _io49(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration); const _io49 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.value || "string" === typeof input.value); const _io50 = 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 _io51 = input => (undefined === input.microphone || "object" === typeof input.microphone && null !== input.microphone && false === Array.isArray(input.microphone) && _io52(input.microphone)) && (undefined === input.webcam || "object" === typeof input.webcam && null !== input.webcam && false === Array.isArray(input.webcam) && _io53(input.webcam)) && (undefined === input.countdown || "number" === typeof input.countdown); const _io52 = input => (undefined === input.deviceId || "string" === typeof input.deviceId) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.monitorInput || "boolean" === typeof input.monitorInput); const _io53 = input => (undefined === input.deviceId || "string" === typeof input.deviceId) && (undefined === input.frameRate || "number" === typeof input.frameRate) && (undefined === input.aspectRatio || "number" === typeof input.aspectRatio); const _io54 = input => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && (undefined === input.audioMapping || "object" === typeof input.audioMapping && null !== input.audioMapping && false === Array.isArray(input.audioMapping) && _io55(input.audioMapping)) && (undefined === input.normalize || "object" === typeof input.normalize && null !== input.normalize && false === Array.isArray(input.normalize) && _io57(input.normalize)) && (undefined === input.voiceOver || "object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) && _io59(input.voiceOver)); const _io55 = input => undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _io56(elem)); const _io56 = input => "string" === typeof input.id && "string" === typeof input.title && (undefined === input.mapping || Array.isArray(input.mapping) && input.mapping.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem))) && (undefined === input.mute || Array.isArray(input.mute) && input.mute.every(elem => "boolean" === typeof elem)) && (undefined === input.minInChannels || "number" === typeof input.minInChannels) && (undefined === input.maxInChannels || "number" === typeof input.maxInChannels) && (undefined === input.minOutChannels || "number" === typeof input.minOutChannels) && (undefined === input.maxOutChannels || "number" === typeof input.maxOutChannels); const _io57 = input => (undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _io58(elem))) && (undefined === input.defaultPresetId || "string" === typeof input.defaultPresetId); const _io58 = input => "string" === typeof input.id && "string" === typeof input.title && "number" === typeof input.i && "number" === typeof input.tp; const _io59 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.monitorInput || "boolean" === typeof input.monitorInput) && (undefined === input.backgroundReductionDb || "number" === typeof input.backgroundReductionDb) && (undefined === input.recordMode || "instant" === input.recordMode || "punchAndRoll" === input.recordMode) && (undefined === input.preRollDuration || "number" === typeof input.preRollDuration); const _io60 = 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 _io61 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && _io62(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && _io63(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && _io67(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && _io69(input.item)); const _io62 = input => undefined === input.auto || "boolean" === typeof input.auto; const _io63 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && _io64(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && _io66(input.note)); const _io64 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && _io65(input.excerpt); const _io65 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode) && (undefined === input.comments || "boolean" === typeof input.comments); const _io66 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight; const _io67 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && _io68(input.search)) && (undefined === input.sortMode || true === _iv38.has(input.sortMode)); const _io68 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed; const _io69 = input => (undefined === input.maxHeight || "number" === typeof input.maxHeight) && (undefined === input.titleLines || "number" === typeof input.titleLines); const _io70 = input => (undefined === input.fontFamilies || Array.isArray(input.fontFamilies) && input.fontFamilies.every(elem => "string" === typeof elem)) && (undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _iu0(elem))); const _io71 = input => "script" === input.type && "string" === typeof input.title && "number" === typeof input.horizontalMargin && ("A5" === input.pageSize || "A4" === input.pageSize || "A3" === input.pageSize) && ("landscape" === input.orientation || "portrait" === input.orientation) && "number" === typeof input.fontSize && (undefined === input.fontFamily || "string" === typeof input.fontFamily) && (Array.isArray(input.hide) && input.hide.every(elem => "event" === elem || "event-data" === elem || "comment" === elem || "heading" === elem || "list" === elem || "quote" === elem || "paragraph" === elem || "horizontalrule" === elem)); const _io72 = input => "rundown" === input.type && (Array.isArray(input.columns) && input.columns.every(elem => "object" === typeof elem && null !== elem && _io73(elem))) && (undefined === input.rangeStart || "number" === typeof input.rangeStart) && (undefined === input.rangeEnd || "number" === typeof input.rangeEnd) && (Array.isArray(input.hide) && input.hide.every(elem => "event" === elem || "comment" === elem || "heading" === elem || "list" === elem || "quote" === elem || "paragraph" === elem || "horizontalrule" === elem)) && "string" === typeof input.title && "number" === typeof input.horizontalMargin && ("A5" === input.pageSize || "A4" === input.pageSize || "A3" === input.pageSize) && ("landscape" === input.orientation || "portrait" === input.orientation) && "number" === typeof input.fontSize && (undefined === input.fontFamily || "string" === typeof input.fontFamily); const _io73 = input => ("type" === input.key || "title" === input.key || "id" === input.key || "time" === input.key || "duration" === input.key || "position" === input.key || "accDuration" === input.key) && "string" === typeof input.label && "string" === typeof input.width && ("right" === input.textAlign || "left" === input.textAlign || "center" === input.textAlign); const _io74 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.folded || "boolean" === typeof input.folded); const _io75 = input => (undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && _io76(input.adobe)) && (undefined === input.ograf || "object" === typeof input.ograf && null !== input.ograf && false === Array.isArray(input.ograf) && _io78(input.ograf)) && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && _io79(input.rive)); const _io76 = input => (undefined === input.videoBin || "string" === typeof input.videoBin) && (undefined === input.imageBin || "string" === typeof input.imageBin) && (undefined === input.audioBin || "string" === typeof input.audioBin) && (undefined === input.timelineBin || "string" === typeof input.timelineBin) && (undefined === input.clipBin || "string" === typeof input.clipBin) && (undefined === input.downloadPath || "string" === typeof input.downloadPath) && (undefined === input.renderPath || "string" === typeof input.renderPath) && (undefined === input.renderPresetPath || "string" === typeof input.renderPresetPath) && (undefined === input.renderPresets || Array.isArray(input.renderPresets) && input.renderPresets.every(elem => "string" === typeof elem)) && (undefined === input.videoRenderPreset || "string" === typeof input.videoRenderPreset) && (undefined === input.imageRenderPreset || "string" === typeof input.imageRenderPreset) && (undefined === input.audioRenderPreset || "string" === typeof input.audioRenderPreset) && (undefined === input.forceRender || "boolean" === typeof input.forceRender) && (undefined === input.useProxies || "boolean" === typeof input.useProxies) && (undefined === input.deleteIntermediateFiles || "boolean" === typeof input.deleteIntermediateFiles) && (undefined === input.bodymovin || "object" === typeof input.bodymovin && null !== input.bodymovin && false === Array.isArray(input.bodymovin) && _io77(input.bodymovin)); const _io77 = input => undefined === input.template || "string" === typeof input.template; const _io78 = input => undefined === input.template || "string" === typeof input.template; const _io79 = input => undefined === input.template || "string" === typeof input.template; const _io80 = input => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.aiMetadata || "boolean" === typeof input.aiMetadata) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering); const _io81 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.utilsAssetEditor || "boolean" === typeof input.utilsAssetEditor) && (undefined === input.utilsAssetPanel || "boolean" === typeof input.utilsAssetPanel) && (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.downloadFiles || "boolean" === typeof input.downloadFiles) && (undefined === input.supportPortal || "boolean" === typeof input.supportPortal) && (undefined === input.multiplexWebSockets || "boolean" === typeof input.multiplexWebSockets) && (undefined === input.systemHealth || "boolean" === typeof input.systemHealth) && (undefined === input.systemHealthIgnore || "boolean" === typeof input.systemHealthIgnore) && (undefined === input.systemHealthDebugLevel || "boolean" === typeof input.systemHealthDebugLevel); const _io82 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io83(input.events); const _io83 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && _io84(input.publishSucceeded)); const _io84 = input => Object.keys(input).every(key => {
|
|
24580
24817
|
const value = input[key];
|
|
24581
24818
|
if (undefined === value)
|
|
24582
24819
|
return true;
|
|
@@ -25695,6 +25932,46 @@ function _assertDomainRecord(domain, input) {
|
|
|
25695
25932
|
path: _path + ".scriptEventFolding",
|
|
25696
25933
|
expected: "(\"folded\" | \"unfoldedUntilFolded\")",
|
|
25697
25934
|
value: input.scriptEventFolding
|
|
25935
|
+
}, _errorFactory)) && (undefined === input.stickyHeaders || "boolean" === typeof input.stickyHeaders || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
25936
|
+
method: "typia.assert",
|
|
25937
|
+
path: _path + ".stickyHeaders",
|
|
25938
|
+
expected: "(boolean | undefined)",
|
|
25939
|
+
value: input.stickyHeaders
|
|
25940
|
+
}, _errorFactory)) && (undefined === input.triggersColumn || "title" === input.triggersColumn || "triggers" === input.triggersColumn || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
25941
|
+
method: "typia.assert",
|
|
25942
|
+
path: _path + ".triggersColumn",
|
|
25943
|
+
expected: "(\"title\" | \"triggers\" | undefined)",
|
|
25944
|
+
value: input.triggersColumn
|
|
25945
|
+
}, _errorFactory)) && (undefined === input.density || "normal" === input.density || "compact" === input.density || "spacious" === input.density || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
25946
|
+
method: "typia.assert",
|
|
25947
|
+
path: _path + ".density",
|
|
25948
|
+
expected: "(\"compact\" | \"normal\" | \"spacious\" | undefined)",
|
|
25949
|
+
value: input.density
|
|
25950
|
+
}, _errorFactory)) && (undefined === input.showEvents || "boolean" === typeof input.showEvents || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
25951
|
+
method: "typia.assert",
|
|
25952
|
+
path: _path + ".showEvents",
|
|
25953
|
+
expected: "(boolean | undefined)",
|
|
25954
|
+
value: input.showEvents
|
|
25955
|
+
}, _errorFactory)) && (undefined === input.showTriggers || "boolean" === typeof input.showTriggers || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
25956
|
+
method: "typia.assert",
|
|
25957
|
+
path: _path + ".showTriggers",
|
|
25958
|
+
expected: "(boolean | undefined)",
|
|
25959
|
+
value: input.showTriggers
|
|
25960
|
+
}, _errorFactory)) && (undefined === input.showReferenceDuration || "boolean" === typeof input.showReferenceDuration || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
25961
|
+
method: "typia.assert",
|
|
25962
|
+
path: _path + ".showReferenceDuration",
|
|
25963
|
+
expected: "(boolean | undefined)",
|
|
25964
|
+
value: input.showReferenceDuration
|
|
25965
|
+
}, _errorFactory)) && (undefined === input.showSettingsColumn || "boolean" === typeof input.showSettingsColumn || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
25966
|
+
method: "typia.assert",
|
|
25967
|
+
path: _path + ".showSettingsColumn",
|
|
25968
|
+
expected: "(boolean | undefined)",
|
|
25969
|
+
value: input.showSettingsColumn
|
|
25970
|
+
}, _errorFactory)) && (undefined === input.thumbnailColumnWidth || "number" === typeof input.thumbnailColumnWidth || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
25971
|
+
method: "typia.assert",
|
|
25972
|
+
path: _path + ".thumbnailColumnWidth",
|
|
25973
|
+
expected: "(number | undefined)",
|
|
25974
|
+
value: input.thumbnailColumnWidth
|
|
25698
25975
|
}, _errorFactory)); const _ao32 = (input, _path, _exceptionable = true) => (undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
25699
25976
|
method: "typia.assert",
|
|
25700
25977
|
path: _path + ".dimOnBlur",
|
|
@@ -27175,6 +27452,11 @@ function _assertDomainRecord(domain, input) {
|
|
|
27175
27452
|
path: _path + ".systemHealthIgnore",
|
|
27176
27453
|
expected: "(boolean | undefined)",
|
|
27177
27454
|
value: input.systemHealthIgnore
|
|
27455
|
+
}, _errorFactory)) && (undefined === input.systemHealthDebugLevel || "boolean" === typeof input.systemHealthDebugLevel || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27456
|
+
method: "typia.assert",
|
|
27457
|
+
path: _path + ".systemHealthDebugLevel",
|
|
27458
|
+
expected: "(boolean | undefined)",
|
|
27459
|
+
value: input.systemHealthDebugLevel
|
|
27178
27460
|
}, _errorFactory)); const _ao82 = (input, _path, _exceptionable = true) => undefined === input.events || ("object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27179
27461
|
method: "typia.assert",
|
|
27180
27462
|
path: _path + ".events",
|
|
@@ -28148,6 +28430,95 @@ function _assertDomainRecord(domain, input) {
|
|
|
28148
28430
|
return input;
|
|
28149
28431
|
}; })()(input);
|
|
28150
28432
|
}
|
|
28433
|
+
case ":story.editor": {
|
|
28434
|
+
return (() => { const _io0 = input => undefined === input.value || "object" === typeof input.value && null !== input.value && false === Array.isArray(input.value) && _io1(input.value); const _io1 = input => (undefined === input.object || "string" === typeof input.object) && (undefined === input.document || "object" === typeof input.document && null !== input.document && false === Array.isArray(input.document) && _io2(input.document)); const _io2 = input => (undefined === input.type || "string" === typeof input.type) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && _io3(input.data)) && (undefined === input.nodes || Array.isArray(input.nodes) && input.nodes.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io2(elem))); const _io3 = input => Object.keys(input).every(key => {
|
|
28435
|
+
const value = input[key];
|
|
28436
|
+
if (undefined === value)
|
|
28437
|
+
return true;
|
|
28438
|
+
return true;
|
|
28439
|
+
}); const _ao0 = (input, _path, _exceptionable = true) => undefined === input.value || ("object" === typeof input.value && null !== input.value && false === Array.isArray(input.value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28440
|
+
method: "typia.assert",
|
|
28441
|
+
path: _path + ".value",
|
|
28442
|
+
expected: "(__type | undefined)",
|
|
28443
|
+
value: input.value
|
|
28444
|
+
}, _errorFactory)) && _ao1(input.value, _path + ".value", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28445
|
+
method: "typia.assert",
|
|
28446
|
+
path: _path + ".value",
|
|
28447
|
+
expected: "(__type | undefined)",
|
|
28448
|
+
value: input.value
|
|
28449
|
+
}, _errorFactory); const _ao1 = (input, _path, _exceptionable = true) => (undefined === input.object || "string" === typeof input.object || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28450
|
+
method: "typia.assert",
|
|
28451
|
+
path: _path + ".object",
|
|
28452
|
+
expected: "(string | undefined)",
|
|
28453
|
+
value: input.object
|
|
28454
|
+
}, _errorFactory)) && (undefined === input.document || ("object" === typeof input.document && null !== input.document && false === Array.isArray(input.document) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28455
|
+
method: "typia.assert",
|
|
28456
|
+
path: _path + ".document",
|
|
28457
|
+
expected: "(StoryDomainEditorRecordNode | undefined)",
|
|
28458
|
+
value: input.document
|
|
28459
|
+
}, _errorFactory)) && _ao2(input.document, _path + ".document", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28460
|
+
method: "typia.assert",
|
|
28461
|
+
path: _path + ".document",
|
|
28462
|
+
expected: "(StoryDomainEditorRecordNode | undefined)",
|
|
28463
|
+
value: input.document
|
|
28464
|
+
}, _errorFactory)); const _ao2 = (input, _path, _exceptionable = true) => (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28465
|
+
method: "typia.assert",
|
|
28466
|
+
path: _path + ".type",
|
|
28467
|
+
expected: "(string | undefined)",
|
|
28468
|
+
value: input.type
|
|
28469
|
+
}, _errorFactory)) && (undefined === input.data || ("object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28470
|
+
method: "typia.assert",
|
|
28471
|
+
path: _path + ".data",
|
|
28472
|
+
expected: "(Record<string, unknown> | undefined)",
|
|
28473
|
+
value: input.data
|
|
28474
|
+
}, _errorFactory)) && _ao3(input.data, _path + ".data", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28475
|
+
method: "typia.assert",
|
|
28476
|
+
path: _path + ".data",
|
|
28477
|
+
expected: "(Record<string, unknown> | undefined)",
|
|
28478
|
+
value: input.data
|
|
28479
|
+
}, _errorFactory)) && (undefined === input.nodes || (Array.isArray(input.nodes) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28480
|
+
method: "typia.assert",
|
|
28481
|
+
path: _path + ".nodes",
|
|
28482
|
+
expected: "(Array<StoryDomainEditorRecordNode> | undefined)",
|
|
28483
|
+
value: input.nodes
|
|
28484
|
+
}, _errorFactory)) && input.nodes.every((elem, _index2) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28485
|
+
method: "typia.assert",
|
|
28486
|
+
path: _path + ".nodes[" + _index2 + "]",
|
|
28487
|
+
expected: "StoryDomainEditorRecordNode",
|
|
28488
|
+
value: elem
|
|
28489
|
+
}, _errorFactory)) && _ao2(elem, _path + ".nodes[" + _index2 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28490
|
+
method: "typia.assert",
|
|
28491
|
+
path: _path + ".nodes[" + _index2 + "]",
|
|
28492
|
+
expected: "StoryDomainEditorRecordNode",
|
|
28493
|
+
value: elem
|
|
28494
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28495
|
+
method: "typia.assert",
|
|
28496
|
+
path: _path + ".nodes",
|
|
28497
|
+
expected: "(Array<StoryDomainEditorRecordNode> | undefined)",
|
|
28498
|
+
value: input.nodes
|
|
28499
|
+
}, _errorFactory)); const _ao3 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
28500
|
+
const value = input[key];
|
|
28501
|
+
if (undefined === value)
|
|
28502
|
+
return true;
|
|
28503
|
+
return true;
|
|
28504
|
+
}); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
28505
|
+
if (false === __is(input)) {
|
|
28506
|
+
_errorFactory = errorFactory;
|
|
28507
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
28508
|
+
method: "typia.assert",
|
|
28509
|
+
path: _path + "",
|
|
28510
|
+
expected: "StoryDomainEditorRecord",
|
|
28511
|
+
value: input
|
|
28512
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
28513
|
+
method: "typia.assert",
|
|
28514
|
+
path: _path + "",
|
|
28515
|
+
expected: "StoryDomainEditorRecord",
|
|
28516
|
+
value: input
|
|
28517
|
+
}, _errorFactory))(input, "$input", true);
|
|
28518
|
+
}
|
|
28519
|
+
return input;
|
|
28520
|
+
}; })()(input);
|
|
28521
|
+
}
|
|
28151
28522
|
case ":storyboard": {
|
|
28152
28523
|
return (() => { const _io0 = input => Object.keys(input).every(key => {
|
|
28153
28524
|
const value = input[key];
|