@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
|
@@ -2141,7 +2141,7 @@ function _assertGuardExactRecord(name, input) {
|
|
|
2141
2141
|
if (undefined === value)
|
|
2142
2142
|
return true;
|
|
2143
2143
|
return "string" === typeof value;
|
|
2144
|
-
}); const _io2 = input => "string" === typeof input.family && (undefined === input.asset || "string" === typeof input.asset) && (undefined === input.weight || "
|
|
2144
|
+
}); 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, {
|
|
2145
2145
|
method: "typia.assertGuard",
|
|
2146
2146
|
path: _path + ".defaultLanguage",
|
|
2147
2147
|
expected: "(string | undefined)",
|
|
@@ -2196,12 +2196,12 @@ function _assertGuardExactRecord(name, input) {
|
|
|
2196
2196
|
path: _path + ".asset",
|
|
2197
2197
|
expected: "(string | undefined)",
|
|
2198
2198
|
value: input.asset
|
|
2199
|
-
}, _errorFactory)) && (undefined === input.weight || "
|
|
2199
|
+
}, _errorFactory)) && (undefined === input.weight || "normal" === input.weight || "bold" === input.weight || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2200
2200
|
method: "typia.assertGuard",
|
|
2201
2201
|
path: _path + ".weight",
|
|
2202
2202
|
expected: "(\"bold\" | \"normal\" | undefined)",
|
|
2203
2203
|
value: input.weight
|
|
2204
|
-
}, _errorFactory)) && (undefined === input.style || "
|
|
2204
|
+
}, _errorFactory)) && (undefined === input.style || "normal" === input.style || "italic" === input.style || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2205
2205
|
method: "typia.assertGuard",
|
|
2206
2206
|
path: _path + ".style",
|
|
2207
2207
|
expected: "(\"italic\" | \"normal\" | undefined)",
|
|
@@ -2229,7 +2229,7 @@ function _assertGuardExactRecord(name, input) {
|
|
|
2229
2229
|
if (undefined === value)
|
|
2230
2230
|
return true;
|
|
2231
2231
|
return "string" === typeof value;
|
|
2232
|
-
}); const _io2 = input => "string" === typeof input.family && (undefined === input.asset || "string" === typeof input.asset) && (undefined === input.weight || "
|
|
2232
|
+
}); 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, {
|
|
2233
2233
|
method: "typia.assertGuard",
|
|
2234
2234
|
path: _path + ".defaultLanguage",
|
|
2235
2235
|
expected: "(string | undefined)",
|
|
@@ -2284,12 +2284,12 @@ function _assertGuardExactRecord(name, input) {
|
|
|
2284
2284
|
path: _path + ".asset",
|
|
2285
2285
|
expected: "(string | undefined)",
|
|
2286
2286
|
value: input.asset
|
|
2287
|
-
}, _errorFactory)) && (undefined === input.weight || "
|
|
2287
|
+
}, _errorFactory)) && (undefined === input.weight || "normal" === input.weight || "bold" === input.weight || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2288
2288
|
method: "typia.assertGuard",
|
|
2289
2289
|
path: _path + ".weight",
|
|
2290
2290
|
expected: "(\"bold\" | \"normal\" | undefined)",
|
|
2291
2291
|
value: input.weight
|
|
2292
|
-
}, _errorFactory)) && (undefined === input.style || "
|
|
2292
|
+
}, _errorFactory)) && (undefined === input.style || "normal" === input.style || "italic" === input.style || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2293
2293
|
method: "typia.assertGuard",
|
|
2294
2294
|
path: _path + ".style",
|
|
2295
2295
|
expected: "(\"italic\" | \"normal\" | undefined)",
|
|
@@ -2936,7 +2936,7 @@ function _assertGuardExactRecord(name, input) {
|
|
|
2936
2936
|
}; })()(input);
|
|
2937
2937
|
}
|
|
2938
2938
|
case "media.fonts?": {
|
|
2939
|
-
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 && ("
|
|
2939
|
+
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, {
|
|
2940
2940
|
method: "typia.assertGuard",
|
|
2941
2941
|
path: _path + ".fontFaces",
|
|
2942
2942
|
expected: "(Array<FontFace> | undefined)",
|
|
@@ -2996,7 +2996,7 @@ function _assertGuardExactRecord(name, input) {
|
|
|
2996
2996
|
path: _path + ".weight",
|
|
2997
2997
|
expected: "number",
|
|
2998
2998
|
value: input.weight
|
|
2999
|
-
}, _errorFactory)) && ("
|
|
2999
|
+
}, _errorFactory)) && ("normal" === input.style || "italic" === input.style || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3000
3000
|
method: "typia.assertGuard",
|
|
3001
3001
|
path: _path + ".style",
|
|
3002
3002
|
expected: "(\"italic\" | \"normal\")",
|
|
@@ -10623,6 +10623,132 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10623
10623
|
}
|
|
10624
10624
|
}; })()(input);
|
|
10625
10625
|
}
|
|
10626
|
+
case ":event.status?": {
|
|
10627
|
+
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, {
|
|
10628
|
+
method: "typia.assertGuard",
|
|
10629
|
+
path: _path + ".messages",
|
|
10630
|
+
expected: "(Array<__type> | undefined)",
|
|
10631
|
+
value: input.messages
|
|
10632
|
+
}, _errorFactory)) && input.messages.every((elem, _index2) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10633
|
+
method: "typia.assertGuard",
|
|
10634
|
+
path: _path + ".messages[" + _index2 + "]",
|
|
10635
|
+
expected: "__type",
|
|
10636
|
+
value: elem
|
|
10637
|
+
}, _errorFactory)) && _ao1(elem, _path + ".messages[" + _index2 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10638
|
+
method: "typia.assertGuard",
|
|
10639
|
+
path: _path + ".messages[" + _index2 + "]",
|
|
10640
|
+
expected: "__type",
|
|
10641
|
+
value: elem
|
|
10642
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10643
|
+
method: "typia.assertGuard",
|
|
10644
|
+
path: _path + ".messages",
|
|
10645
|
+
expected: "(Array<__type> | undefined)",
|
|
10646
|
+
value: input.messages
|
|
10647
|
+
}, _errorFactory); const _ao1 = (input, _path, _exceptionable = true) => ("string" === typeof input.id || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10648
|
+
method: "typia.assertGuard",
|
|
10649
|
+
path: _path + ".id",
|
|
10650
|
+
expected: "string",
|
|
10651
|
+
value: input.id
|
|
10652
|
+
}, _errorFactory)) && ("string" === typeof input.msg || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10653
|
+
method: "typia.assertGuard",
|
|
10654
|
+
path: _path + ".msg",
|
|
10655
|
+
expected: "string",
|
|
10656
|
+
value: input.msg
|
|
10657
|
+
}, _errorFactory)) && ("number" === typeof input.level || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10658
|
+
method: "typia.assertGuard",
|
|
10659
|
+
path: _path + ".level",
|
|
10660
|
+
expected: "number",
|
|
10661
|
+
value: input.level
|
|
10662
|
+
}, _errorFactory)) && (undefined === input.code || "string" === typeof input.code || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10663
|
+
method: "typia.assertGuard",
|
|
10664
|
+
path: _path + ".code",
|
|
10665
|
+
expected: "(string | undefined)",
|
|
10666
|
+
value: input.code
|
|
10667
|
+
}, _errorFactory)) && (null === input.expose || undefined === input.expose || "boolean" === typeof input.expose || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10668
|
+
method: "typia.assertGuard",
|
|
10669
|
+
path: _path + ".expose",
|
|
10670
|
+
expected: "(boolean | null | undefined)",
|
|
10671
|
+
value: input.expose
|
|
10672
|
+
}, _errorFactory)) && (null === input.index || undefined === input.index || "number" === typeof input.index || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10673
|
+
method: "typia.assertGuard",
|
|
10674
|
+
path: _path + ".index",
|
|
10675
|
+
expected: "(null | number | undefined)",
|
|
10676
|
+
value: input.index
|
|
10677
|
+
}, _errorFactory)) && (undefined === input.data || ("object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10678
|
+
method: "typia.assertGuard",
|
|
10679
|
+
path: _path + ".data",
|
|
10680
|
+
expected: "(__type.o1 | undefined)",
|
|
10681
|
+
value: input.data
|
|
10682
|
+
}, _errorFactory)) && _ao2(input.data, _path + ".data", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10683
|
+
method: "typia.assertGuard",
|
|
10684
|
+
path: _path + ".data",
|
|
10685
|
+
expected: "(__type.o1 | undefined)",
|
|
10686
|
+
value: input.data
|
|
10687
|
+
}, _errorFactory)); const _ao2 = (input, _path, _exceptionable = true) => null === input.progress || undefined === input.progress || "number" === typeof input.progress || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10688
|
+
method: "typia.assertGuard",
|
|
10689
|
+
path: _path + ".progress",
|
|
10690
|
+
expected: "(null | number | undefined)",
|
|
10691
|
+
value: input.progress
|
|
10692
|
+
}, _errorFactory); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
10693
|
+
if (false === __is(input)) {
|
|
10694
|
+
_errorFactory = errorFactory;
|
|
10695
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
10696
|
+
method: "typia.assertGuard",
|
|
10697
|
+
path: _path + "",
|
|
10698
|
+
expected: "EventStatusRecord",
|
|
10699
|
+
value: input
|
|
10700
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
10701
|
+
method: "typia.assertGuard",
|
|
10702
|
+
path: _path + "",
|
|
10703
|
+
expected: "EventStatusRecord",
|
|
10704
|
+
value: input
|
|
10705
|
+
}, _errorFactory))(input, "$input", true);
|
|
10706
|
+
}
|
|
10707
|
+
}; })()(input);
|
|
10708
|
+
}
|
|
10709
|
+
case ":event.schedule?": {
|
|
10710
|
+
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, {
|
|
10711
|
+
method: "typia.assertGuard",
|
|
10712
|
+
path: _path + ".startTime",
|
|
10713
|
+
expected: "(number | undefined)",
|
|
10714
|
+
value: input.startTime
|
|
10715
|
+
}, _errorFactory)) && (undefined === input.transition || "boolean" === typeof input.transition || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10716
|
+
method: "typia.assertGuard",
|
|
10717
|
+
path: _path + ".transition",
|
|
10718
|
+
expected: "(boolean | undefined)",
|
|
10719
|
+
value: input.transition
|
|
10720
|
+
}, _errorFactory)) && (undefined === input.transitionTime || "number" === typeof input.transitionTime || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10721
|
+
method: "typia.assertGuard",
|
|
10722
|
+
path: _path + ".transitionTime",
|
|
10723
|
+
expected: "(number | undefined)",
|
|
10724
|
+
value: input.transitionTime
|
|
10725
|
+
}, _errorFactory)) && (undefined === input.transitionDuration || "number" === typeof input.transitionDuration || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10726
|
+
method: "typia.assertGuard",
|
|
10727
|
+
path: _path + ".transitionDuration",
|
|
10728
|
+
expected: "(number | undefined)",
|
|
10729
|
+
value: input.transitionDuration
|
|
10730
|
+
}, _errorFactory)) && (undefined === input.endTime || "number" === typeof input.endTime || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10731
|
+
method: "typia.assertGuard",
|
|
10732
|
+
path: _path + ".endTime",
|
|
10733
|
+
expected: "(number | undefined)",
|
|
10734
|
+
value: input.endTime
|
|
10735
|
+
}, _errorFactory)); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
10736
|
+
if (false === __is(input)) {
|
|
10737
|
+
_errorFactory = errorFactory;
|
|
10738
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
10739
|
+
method: "typia.assertGuard",
|
|
10740
|
+
path: _path + "",
|
|
10741
|
+
expected: "EventScheduleRecord",
|
|
10742
|
+
value: input
|
|
10743
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
10744
|
+
method: "typia.assertGuard",
|
|
10745
|
+
path: _path + "",
|
|
10746
|
+
expected: "EventScheduleRecord",
|
|
10747
|
+
value: input
|
|
10748
|
+
}, _errorFactory))(input, "$input", true);
|
|
10749
|
+
}
|
|
10750
|
+
}; })()(input);
|
|
10751
|
+
}
|
|
10626
10752
|
case ":event.readDuration?": {
|
|
10627
10753
|
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, {
|
|
10628
10754
|
method: "typia.assertGuard",
|
|
@@ -12686,6 +12812,29 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
12686
12812
|
}
|
|
12687
12813
|
}; })()(input);
|
|
12688
12814
|
}
|
|
12815
|
+
case ":media.placeholder": {
|
|
12816
|
+
return (() => { const _io0 = input => "string" === typeof input.asset; const _ao0 = (input, _path, _exceptionable = true) => "string" === typeof input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
12817
|
+
method: "typia.assertGuard",
|
|
12818
|
+
path: _path + ".asset",
|
|
12819
|
+
expected: "string",
|
|
12820
|
+
value: input.asset
|
|
12821
|
+
}, _errorFactory); const __is = input => "object" === typeof input && null !== input && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
12822
|
+
if (false === __is(input)) {
|
|
12823
|
+
_errorFactory = errorFactory;
|
|
12824
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || __typia_transform__assertGuard._assertGuard(true, {
|
|
12825
|
+
method: "typia.assertGuard",
|
|
12826
|
+
path: _path + "",
|
|
12827
|
+
expected: "MediaPlaceholderRecord",
|
|
12828
|
+
value: input
|
|
12829
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
12830
|
+
method: "typia.assertGuard",
|
|
12831
|
+
path: _path + "",
|
|
12832
|
+
expected: "MediaPlaceholderRecord",
|
|
12833
|
+
value: input
|
|
12834
|
+
}, _errorFactory))(input, "$input", true);
|
|
12835
|
+
}
|
|
12836
|
+
}; })()(input);
|
|
12837
|
+
}
|
|
12689
12838
|
case ":media.consolidate": {
|
|
12690
12839
|
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, {
|
|
12691
12840
|
method: "typia.assertGuard",
|
|
@@ -14137,7 +14286,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
14137
14286
|
}; })()(input);
|
|
14138
14287
|
}
|
|
14139
14288
|
case ":monitor.stats?": {
|
|
14140
|
-
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 => {
|
|
14289
|
+
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 => {
|
|
14141
14290
|
const value = input[key];
|
|
14142
14291
|
if (undefined === value)
|
|
14143
14292
|
return true;
|
|
@@ -14166,7 +14315,12 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
14166
14315
|
if (undefined === value)
|
|
14167
14316
|
return true;
|
|
14168
14317
|
return true;
|
|
14169
|
-
}); const _io12 = input => "number" === typeof input.used && "number" === typeof input.available && "number" === typeof input.timestamp; const
|
|
14318
|
+
}); 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 => {
|
|
14319
|
+
const value = input[key];
|
|
14320
|
+
if (undefined === value)
|
|
14321
|
+
return true;
|
|
14322
|
+
return "string" === typeof value;
|
|
14323
|
+
}); 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, {
|
|
14170
14324
|
method: "typia.assertGuard",
|
|
14171
14325
|
path: _path + ".proc",
|
|
14172
14326
|
expected: "MonitorStatsProcInfo",
|
|
@@ -14216,6 +14370,16 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
14216
14370
|
path: _path + "[\"var\"]",
|
|
14217
14371
|
expected: "__type.o5",
|
|
14218
14372
|
value: input["var"]
|
|
14373
|
+
}, _errorFactory)) && (("object" === typeof input.hostBridge && null !== input.hostBridge || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14374
|
+
method: "typia.assertGuard",
|
|
14375
|
+
path: _path + ".hostBridge",
|
|
14376
|
+
expected: "MonitorStatsHostBridge",
|
|
14377
|
+
value: input.hostBridge
|
|
14378
|
+
}, _errorFactory)) && _ao13(input.hostBridge, _path + ".hostBridge", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14379
|
+
method: "typia.assertGuard",
|
|
14380
|
+
path: _path + ".hostBridge",
|
|
14381
|
+
expected: "MonitorStatsHostBridge",
|
|
14382
|
+
value: input.hostBridge
|
|
14219
14383
|
}, _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, {
|
|
14220
14384
|
method: "typia.assertGuard",
|
|
14221
14385
|
path: _path + ".cpu",
|
|
@@ -14231,14 +14395,14 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
14231
14395
|
path: _path + ".cpus",
|
|
14232
14396
|
expected: "(Array<MonitorStatsProcInfoCpu> | undefined)",
|
|
14233
14397
|
value: input.cpus
|
|
14234
|
-
}, _errorFactory)) && input.cpus.every((elem,
|
|
14398
|
+
}, _errorFactory)) && input.cpus.every((elem, _index11) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14235
14399
|
method: "typia.assertGuard",
|
|
14236
|
-
path: _path + ".cpus[" +
|
|
14400
|
+
path: _path + ".cpus[" + _index11 + "]",
|
|
14237
14401
|
expected: "MonitorStatsProcInfoCpu",
|
|
14238
14402
|
value: elem
|
|
14239
|
-
}, _errorFactory)) && _ao2(elem, _path + ".cpus[" +
|
|
14403
|
+
}, _errorFactory)) && _ao2(elem, _path + ".cpus[" + _index11 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14240
14404
|
method: "typia.assertGuard",
|
|
14241
|
-
path: _path + ".cpus[" +
|
|
14405
|
+
path: _path + ".cpus[" + _index11 + "]",
|
|
14242
14406
|
expected: "MonitorStatsProcInfoCpu",
|
|
14243
14407
|
value: elem
|
|
14244
14408
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -14256,9 +14420,9 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
14256
14420
|
path: _path + ".load",
|
|
14257
14421
|
expected: "(Array<number> | null)",
|
|
14258
14422
|
value: input.load
|
|
14259
|
-
}, _errorFactory)) && input.load.every((elem,
|
|
14423
|
+
}, _errorFactory)) && input.load.every((elem, _index12) => "number" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14260
14424
|
method: "typia.assertGuard",
|
|
14261
|
-
path: _path + ".load[" +
|
|
14425
|
+
path: _path + ".load[" + _index12 + "]",
|
|
14262
14426
|
expected: "number",
|
|
14263
14427
|
value: elem
|
|
14264
14428
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -14271,9 +14435,9 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
14271
14435
|
path: _path + ".interrupts",
|
|
14272
14436
|
expected: "(Array<number> | null | undefined)",
|
|
14273
14437
|
value: input.interrupts
|
|
14274
|
-
}, _errorFactory)) && input.interrupts.every((elem,
|
|
14438
|
+
}, _errorFactory)) && input.interrupts.every((elem, _index13) => "number" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14275
14439
|
method: "typia.assertGuard",
|
|
14276
|
-
path: _path + ".interrupts[" +
|
|
14440
|
+
path: _path + ".interrupts[" + _index13 + "]",
|
|
14277
14441
|
expected: "number",
|
|
14278
14442
|
value: elem
|
|
14279
14443
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -14346,9 +14510,9 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
14346
14510
|
path: _path + ".normal",
|
|
14347
14511
|
expected: "(Array<number> | undefined)",
|
|
14348
14512
|
value: input.normal
|
|
14349
|
-
}, _errorFactory)) && input.normal.every((elem,
|
|
14513
|
+
}, _errorFactory)) && input.normal.every((elem, _index14) => "number" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14350
14514
|
method: "typia.assertGuard",
|
|
14351
|
-
path: _path + ".normal[" +
|
|
14515
|
+
path: _path + ".normal[" + _index14 + "]",
|
|
14352
14516
|
expected: "number",
|
|
14353
14517
|
value: elem
|
|
14354
14518
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -14361,9 +14525,9 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
14361
14525
|
path: _path + ".high",
|
|
14362
14526
|
expected: "(Array<number> | undefined)",
|
|
14363
14527
|
value: input.high
|
|
14364
|
-
}, _errorFactory)) && input.high.every((elem,
|
|
14528
|
+
}, _errorFactory)) && input.high.every((elem, _index15) => "number" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14365
14529
|
method: "typia.assertGuard",
|
|
14366
|
-
path: _path + ".high[" +
|
|
14530
|
+
path: _path + ".high[" + _index15 + "]",
|
|
14367
14531
|
expected: "number",
|
|
14368
14532
|
value: elem
|
|
14369
14533
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -14411,14 +14575,14 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
14411
14575
|
path: _path + ".bonding",
|
|
14412
14576
|
expected: "Array<NetworkInterfaceInfo & { [key: string]: unknown; slaves: string[]; name: string; }>",
|
|
14413
14577
|
value: input.bonding
|
|
14414
|
-
}, _errorFactory)) && input.bonding.every((elem,
|
|
14578
|
+
}, _errorFactory)) && input.bonding.every((elem, _index16) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14415
14579
|
method: "typia.assertGuard",
|
|
14416
|
-
path: _path + ".bonding[" +
|
|
14580
|
+
path: _path + ".bonding[" + _index16 + "]",
|
|
14417
14581
|
expected: "NetworkInterfaceInfo & { [key: string]: unknown; slaves: string[]; name: string; }",
|
|
14418
14582
|
value: elem
|
|
14419
|
-
}, _errorFactory)) && _ao10(elem, _path + ".bonding[" +
|
|
14583
|
+
}, _errorFactory)) && _ao10(elem, _path + ".bonding[" + _index16 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14420
14584
|
method: "typia.assertGuard",
|
|
14421
|
-
path: _path + ".bonding[" +
|
|
14585
|
+
path: _path + ".bonding[" + _index16 + "]",
|
|
14422
14586
|
expected: "NetworkInterfaceInfo & { [key: string]: unknown; slaves: string[]; name: string; }",
|
|
14423
14587
|
value: elem
|
|
14424
14588
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -14431,14 +14595,14 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
14431
14595
|
path: _path + ".eth",
|
|
14432
14596
|
expected: "Array<NetworkInterfaceInfo & { [key: string]: unknown; speed?: number | undefined; rxUnicastBytes?: number | undefined; rxMulticastBytes?: number | undefined; rxBroadcastBytes?: number | undefined; }>",
|
|
14433
14597
|
value: input.eth
|
|
14434
|
-
}, _errorFactory)) && input.eth.every((elem,
|
|
14598
|
+
}, _errorFactory)) && input.eth.every((elem, _index17) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14435
14599
|
method: "typia.assertGuard",
|
|
14436
|
-
path: _path + ".eth[" +
|
|
14600
|
+
path: _path + ".eth[" + _index17 + "]",
|
|
14437
14601
|
expected: "NetworkInterfaceInfo & { [key: string]: unknown; speed?: number | undefined; rxUnicastBytes?: number | undefined; rxMulticastBytes?: number | undefined; rxBroadcastBytes?: number | undefined; }",
|
|
14438
14602
|
value: elem
|
|
14439
|
-
}, _errorFactory)) && _ao11(elem, _path + ".eth[" +
|
|
14603
|
+
}, _errorFactory)) && _ao11(elem, _path + ".eth[" + _index17 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14440
14604
|
method: "typia.assertGuard",
|
|
14441
|
-
path: _path + ".eth[" +
|
|
14605
|
+
path: _path + ".eth[" + _index17 + "]",
|
|
14442
14606
|
expected: "NetworkInterfaceInfo & { [key: string]: unknown; speed?: number | undefined; rxUnicastBytes?: number | undefined; rxMulticastBytes?: number | undefined; rxBroadcastBytes?: number | undefined; }",
|
|
14443
14607
|
value: elem
|
|
14444
14608
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -14491,14 +14655,14 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
14491
14655
|
path: _path + ".cpus",
|
|
14492
14656
|
expected: "Array<__type>",
|
|
14493
14657
|
value: input.cpus
|
|
14494
|
-
}, _errorFactory)) && input.cpus.every((elem,
|
|
14658
|
+
}, _errorFactory)) && input.cpus.every((elem, _index18) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14495
14659
|
method: "typia.assertGuard",
|
|
14496
|
-
path: _path + ".cpus[" +
|
|
14660
|
+
path: _path + ".cpus[" + _index18 + "]",
|
|
14497
14661
|
expected: "__type.o1",
|
|
14498
14662
|
value: elem
|
|
14499
|
-
}, _errorFactory)) && _ao7(elem, _path + ".cpus[" +
|
|
14663
|
+
}, _errorFactory)) && _ao7(elem, _path + ".cpus[" + _index18 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14500
14664
|
method: "typia.assertGuard",
|
|
14501
|
-
path: _path + ".cpus[" +
|
|
14665
|
+
path: _path + ".cpus[" + _index18 + "]",
|
|
14502
14666
|
expected: "__type.o1",
|
|
14503
14667
|
value: elem
|
|
14504
14668
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -14751,9 +14915,9 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
14751
14915
|
path: _path + ".slaves",
|
|
14752
14916
|
expected: "Array<string>",
|
|
14753
14917
|
value: input.slaves
|
|
14754
|
-
}, _errorFactory)) && input.slaves.every((elem,
|
|
14918
|
+
}, _errorFactory)) && input.slaves.every((elem, _index19) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14755
14919
|
method: "typia.assertGuard",
|
|
14756
|
-
path: _path + ".slaves[" +
|
|
14920
|
+
path: _path + ".slaves[" + _index19 + "]",
|
|
14757
14921
|
expected: "string",
|
|
14758
14922
|
value: elem
|
|
14759
14923
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -14960,6 +15124,76 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
14960
15124
|
path: _path + ".timestamp",
|
|
14961
15125
|
expected: "number",
|
|
14962
15126
|
value: input.timestamp
|
|
15127
|
+
}, _errorFactory)); const _ao13 = (input, _path, _exceptionable = true) => (("object" === typeof input.types && null !== input.types && false === Array.isArray(input.types) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15128
|
+
method: "typia.assertGuard",
|
|
15129
|
+
path: _path + ".types",
|
|
15130
|
+
expected: "Record<string, string>",
|
|
15131
|
+
value: input.types
|
|
15132
|
+
}, _errorFactory)) && _ao14(input.types, _path + ".types", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15133
|
+
method: "typia.assertGuard",
|
|
15134
|
+
path: _path + ".types",
|
|
15135
|
+
expected: "Record<string, string>",
|
|
15136
|
+
value: input.types
|
|
15137
|
+
}, _errorFactory)) && ((Array.isArray(input.messages) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15138
|
+
method: "typia.assertGuard",
|
|
15139
|
+
path: _path + ".messages",
|
|
15140
|
+
expected: "Array<MonitorStatsHostBridgeMessage>",
|
|
15141
|
+
value: input.messages
|
|
15142
|
+
}, _errorFactory)) && input.messages.every((elem, _index20) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15143
|
+
method: "typia.assertGuard",
|
|
15144
|
+
path: _path + ".messages[" + _index20 + "]",
|
|
15145
|
+
expected: "MonitorStatsHostBridgeMessage",
|
|
15146
|
+
value: elem
|
|
15147
|
+
}, _errorFactory)) && _ao15(elem, _path + ".messages[" + _index20 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15148
|
+
method: "typia.assertGuard",
|
|
15149
|
+
path: _path + ".messages[" + _index20 + "]",
|
|
15150
|
+
expected: "MonitorStatsHostBridgeMessage",
|
|
15151
|
+
value: elem
|
|
15152
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15153
|
+
method: "typia.assertGuard",
|
|
15154
|
+
path: _path + ".messages",
|
|
15155
|
+
expected: "Array<MonitorStatsHostBridgeMessage>",
|
|
15156
|
+
value: input.messages
|
|
15157
|
+
}, _errorFactory)) && ("number" === typeof input.timestamp || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15158
|
+
method: "typia.assertGuard",
|
|
15159
|
+
path: _path + ".timestamp",
|
|
15160
|
+
expected: "number",
|
|
15161
|
+
value: input.timestamp
|
|
15162
|
+
}, _errorFactory)); const _ao14 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
15163
|
+
const value = input[key];
|
|
15164
|
+
if (undefined === value)
|
|
15165
|
+
return true;
|
|
15166
|
+
return "string" === typeof value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15167
|
+
method: "typia.assertGuard",
|
|
15168
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
15169
|
+
expected: "string",
|
|
15170
|
+
value: value
|
|
15171
|
+
}, _errorFactory);
|
|
15172
|
+
}); const _ao15 = (input, _path, _exceptionable = true) => ("string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15173
|
+
method: "typia.assertGuard",
|
|
15174
|
+
path: _path + ".type",
|
|
15175
|
+
expected: "string",
|
|
15176
|
+
value: input.type
|
|
15177
|
+
}, _errorFactory)) && ("string" === typeof input.id || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15178
|
+
method: "typia.assertGuard",
|
|
15179
|
+
path: _path + ".id",
|
|
15180
|
+
expected: "string",
|
|
15181
|
+
value: input.id
|
|
15182
|
+
}, _errorFactory)) && ("number" === typeof input.level || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15183
|
+
method: "typia.assertGuard",
|
|
15184
|
+
path: _path + ".level",
|
|
15185
|
+
expected: "number",
|
|
15186
|
+
value: input.level
|
|
15187
|
+
}, _errorFactory)) && ("string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15188
|
+
method: "typia.assertGuard",
|
|
15189
|
+
path: _path + ".title",
|
|
15190
|
+
expected: "string",
|
|
15191
|
+
value: input.title
|
|
15192
|
+
}, _errorFactory)) && ("string" === typeof input.msg || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15193
|
+
method: "typia.assertGuard",
|
|
15194
|
+
path: _path + ".msg",
|
|
15195
|
+
expected: "string",
|
|
15196
|
+
value: input.msg
|
|
14963
15197
|
}, _errorFactory)); const __is = input => "object" === typeof input && null !== input && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
14964
15198
|
if (false === __is(input)) {
|
|
14965
15199
|
_errorFactory = errorFactory;
|
|
@@ -24412,7 +24646,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
24412
24646
|
if (undefined === value)
|
|
24413
24647
|
return true;
|
|
24414
24648
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io30(value);
|
|
24415
|
-
}); 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 => {
|
|
24649
|
+
}); 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 => {
|
|
24416
24650
|
const value = input[key];
|
|
24417
24651
|
if (undefined === value)
|
|
24418
24652
|
return true;
|
|
@@ -24427,7 +24661,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
24427
24661
|
if (undefined === value)
|
|
24428
24662
|
return true;
|
|
24429
24663
|
return true;
|
|
24430
|
-
}); 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 => {
|
|
24664
|
+
}); 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 => {
|
|
24431
24665
|
const value = input[key];
|
|
24432
24666
|
if (undefined === value)
|
|
24433
24667
|
return true;
|
|
@@ -25546,6 +25780,46 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
25546
25780
|
path: _path + ".scriptEventFolding",
|
|
25547
25781
|
expected: "(\"folded\" | \"unfoldedUntilFolded\")",
|
|
25548
25782
|
value: input.scriptEventFolding
|
|
25783
|
+
}, _errorFactory)) && (undefined === input.stickyHeaders || "boolean" === typeof input.stickyHeaders || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
25784
|
+
method: "typia.assertGuard",
|
|
25785
|
+
path: _path + ".stickyHeaders",
|
|
25786
|
+
expected: "(boolean | undefined)",
|
|
25787
|
+
value: input.stickyHeaders
|
|
25788
|
+
}, _errorFactory)) && (undefined === input.triggersColumn || "title" === input.triggersColumn || "triggers" === input.triggersColumn || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
25789
|
+
method: "typia.assertGuard",
|
|
25790
|
+
path: _path + ".triggersColumn",
|
|
25791
|
+
expected: "(\"title\" | \"triggers\" | undefined)",
|
|
25792
|
+
value: input.triggersColumn
|
|
25793
|
+
}, _errorFactory)) && (undefined === input.density || "normal" === input.density || "compact" === input.density || "spacious" === input.density || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
25794
|
+
method: "typia.assertGuard",
|
|
25795
|
+
path: _path + ".density",
|
|
25796
|
+
expected: "(\"compact\" | \"normal\" | \"spacious\" | undefined)",
|
|
25797
|
+
value: input.density
|
|
25798
|
+
}, _errorFactory)) && (undefined === input.showEvents || "boolean" === typeof input.showEvents || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
25799
|
+
method: "typia.assertGuard",
|
|
25800
|
+
path: _path + ".showEvents",
|
|
25801
|
+
expected: "(boolean | undefined)",
|
|
25802
|
+
value: input.showEvents
|
|
25803
|
+
}, _errorFactory)) && (undefined === input.showTriggers || "boolean" === typeof input.showTriggers || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
25804
|
+
method: "typia.assertGuard",
|
|
25805
|
+
path: _path + ".showTriggers",
|
|
25806
|
+
expected: "(boolean | undefined)",
|
|
25807
|
+
value: input.showTriggers
|
|
25808
|
+
}, _errorFactory)) && (undefined === input.showReferenceDuration || "boolean" === typeof input.showReferenceDuration || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
25809
|
+
method: "typia.assertGuard",
|
|
25810
|
+
path: _path + ".showReferenceDuration",
|
|
25811
|
+
expected: "(boolean | undefined)",
|
|
25812
|
+
value: input.showReferenceDuration
|
|
25813
|
+
}, _errorFactory)) && (undefined === input.showSettingsColumn || "boolean" === typeof input.showSettingsColumn || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
25814
|
+
method: "typia.assertGuard",
|
|
25815
|
+
path: _path + ".showSettingsColumn",
|
|
25816
|
+
expected: "(boolean | undefined)",
|
|
25817
|
+
value: input.showSettingsColumn
|
|
25818
|
+
}, _errorFactory)) && (undefined === input.thumbnailColumnWidth || "number" === typeof input.thumbnailColumnWidth || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
25819
|
+
method: "typia.assertGuard",
|
|
25820
|
+
path: _path + ".thumbnailColumnWidth",
|
|
25821
|
+
expected: "(number | undefined)",
|
|
25822
|
+
value: input.thumbnailColumnWidth
|
|
25549
25823
|
}, _errorFactory)); const _ao32 = (input, _path, _exceptionable = true) => (undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
25550
25824
|
method: "typia.assertGuard",
|
|
25551
25825
|
path: _path + ".dimOnBlur",
|
|
@@ -27026,6 +27300,11 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
27026
27300
|
path: _path + ".systemHealthIgnore",
|
|
27027
27301
|
expected: "(boolean | undefined)",
|
|
27028
27302
|
value: input.systemHealthIgnore
|
|
27303
|
+
}, _errorFactory)) && (undefined === input.systemHealthDebugLevel || "boolean" === typeof input.systemHealthDebugLevel || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27304
|
+
method: "typia.assertGuard",
|
|
27305
|
+
path: _path + ".systemHealthDebugLevel",
|
|
27306
|
+
expected: "(boolean | undefined)",
|
|
27307
|
+
value: input.systemHealthDebugLevel
|
|
27029
27308
|
}, _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, {
|
|
27030
27309
|
method: "typia.assertGuard",
|
|
27031
27310
|
path: _path + ".events",
|
|
@@ -27993,6 +28272,94 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
27993
28272
|
}
|
|
27994
28273
|
}; })()(input);
|
|
27995
28274
|
}
|
|
28275
|
+
case ":story.editor": {
|
|
28276
|
+
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 => {
|
|
28277
|
+
const value = input[key];
|
|
28278
|
+
if (undefined === value)
|
|
28279
|
+
return true;
|
|
28280
|
+
return true;
|
|
28281
|
+
}); 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, {
|
|
28282
|
+
method: "typia.assertGuard",
|
|
28283
|
+
path: _path + ".value",
|
|
28284
|
+
expected: "(__type | undefined)",
|
|
28285
|
+
value: input.value
|
|
28286
|
+
}, _errorFactory)) && _ao1(input.value, _path + ".value", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28287
|
+
method: "typia.assertGuard",
|
|
28288
|
+
path: _path + ".value",
|
|
28289
|
+
expected: "(__type | undefined)",
|
|
28290
|
+
value: input.value
|
|
28291
|
+
}, _errorFactory); const _ao1 = (input, _path, _exceptionable = true) => (undefined === input.object || "string" === typeof input.object || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28292
|
+
method: "typia.assertGuard",
|
|
28293
|
+
path: _path + ".object",
|
|
28294
|
+
expected: "(string | undefined)",
|
|
28295
|
+
value: input.object
|
|
28296
|
+
}, _errorFactory)) && (undefined === input.document || ("object" === typeof input.document && null !== input.document && false === Array.isArray(input.document) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28297
|
+
method: "typia.assertGuard",
|
|
28298
|
+
path: _path + ".document",
|
|
28299
|
+
expected: "(StoryDomainEditorRecordNode | undefined)",
|
|
28300
|
+
value: input.document
|
|
28301
|
+
}, _errorFactory)) && _ao2(input.document, _path + ".document", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28302
|
+
method: "typia.assertGuard",
|
|
28303
|
+
path: _path + ".document",
|
|
28304
|
+
expected: "(StoryDomainEditorRecordNode | undefined)",
|
|
28305
|
+
value: input.document
|
|
28306
|
+
}, _errorFactory)); const _ao2 = (input, _path, _exceptionable = true) => (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28307
|
+
method: "typia.assertGuard",
|
|
28308
|
+
path: _path + ".type",
|
|
28309
|
+
expected: "(string | undefined)",
|
|
28310
|
+
value: input.type
|
|
28311
|
+
}, _errorFactory)) && (undefined === input.data || ("object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28312
|
+
method: "typia.assertGuard",
|
|
28313
|
+
path: _path + ".data",
|
|
28314
|
+
expected: "(Record<string, unknown> | undefined)",
|
|
28315
|
+
value: input.data
|
|
28316
|
+
}, _errorFactory)) && _ao3(input.data, _path + ".data", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28317
|
+
method: "typia.assertGuard",
|
|
28318
|
+
path: _path + ".data",
|
|
28319
|
+
expected: "(Record<string, unknown> | undefined)",
|
|
28320
|
+
value: input.data
|
|
28321
|
+
}, _errorFactory)) && (undefined === input.nodes || (Array.isArray(input.nodes) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28322
|
+
method: "typia.assertGuard",
|
|
28323
|
+
path: _path + ".nodes",
|
|
28324
|
+
expected: "(Array<StoryDomainEditorRecordNode> | undefined)",
|
|
28325
|
+
value: input.nodes
|
|
28326
|
+
}, _errorFactory)) && input.nodes.every((elem, _index2) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28327
|
+
method: "typia.assertGuard",
|
|
28328
|
+
path: _path + ".nodes[" + _index2 + "]",
|
|
28329
|
+
expected: "StoryDomainEditorRecordNode",
|
|
28330
|
+
value: elem
|
|
28331
|
+
}, _errorFactory)) && _ao2(elem, _path + ".nodes[" + _index2 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28332
|
+
method: "typia.assertGuard",
|
|
28333
|
+
path: _path + ".nodes[" + _index2 + "]",
|
|
28334
|
+
expected: "StoryDomainEditorRecordNode",
|
|
28335
|
+
value: elem
|
|
28336
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28337
|
+
method: "typia.assertGuard",
|
|
28338
|
+
path: _path + ".nodes",
|
|
28339
|
+
expected: "(Array<StoryDomainEditorRecordNode> | undefined)",
|
|
28340
|
+
value: input.nodes
|
|
28341
|
+
}, _errorFactory)); const _ao3 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
28342
|
+
const value = input[key];
|
|
28343
|
+
if (undefined === value)
|
|
28344
|
+
return true;
|
|
28345
|
+
return true;
|
|
28346
|
+
}); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
28347
|
+
if (false === __is(input)) {
|
|
28348
|
+
_errorFactory = errorFactory;
|
|
28349
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
28350
|
+
method: "typia.assertGuard",
|
|
28351
|
+
path: _path + "",
|
|
28352
|
+
expected: "StoryDomainEditorRecord",
|
|
28353
|
+
value: input
|
|
28354
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
28355
|
+
method: "typia.assertGuard",
|
|
28356
|
+
path: _path + "",
|
|
28357
|
+
expected: "StoryDomainEditorRecord",
|
|
28358
|
+
value: input
|
|
28359
|
+
}, _errorFactory))(input, "$input", true);
|
|
28360
|
+
}
|
|
28361
|
+
}; })()(input);
|
|
28362
|
+
}
|
|
27996
28363
|
case ":storyboard": {
|
|
27997
28364
|
return (() => { const _io0 = input => Object.keys(input).every(key => {
|
|
27998
28365
|
const value = input[key];
|