@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
|
@@ -2010,7 +2010,7 @@ function _validateExactRecord(name, input) {
|
|
|
2010
2010
|
if (undefined === value)
|
|
2011
2011
|
return true;
|
|
2012
2012
|
return "string" === typeof value;
|
|
2013
|
-
}); const _io2 = input => "string" === typeof input.family && (undefined === input.asset || "string" === typeof input.asset) && (undefined === input.weight || "
|
|
2013
|
+
}); 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 _vo0 = (input, _path, _exceptionable = true) => [undefined === input.defaultLanguage || "string" === typeof input.defaultLanguage || _report(_exceptionable, {
|
|
2014
2014
|
path: _path + ".defaultLanguage",
|
|
2015
2015
|
expected: "(string | undefined)",
|
|
2016
2016
|
value: input.defaultLanguage
|
|
@@ -2055,11 +2055,11 @@ function _validateExactRecord(name, input) {
|
|
|
2055
2055
|
path: _path + ".asset",
|
|
2056
2056
|
expected: "(string | undefined)",
|
|
2057
2057
|
value: input.asset
|
|
2058
|
-
}), undefined === input.weight || "
|
|
2058
|
+
}), undefined === input.weight || "normal" === input.weight || "bold" === input.weight || _report(_exceptionable, {
|
|
2059
2059
|
path: _path + ".weight",
|
|
2060
2060
|
expected: "(\"bold\" | \"normal\" | undefined)",
|
|
2061
2061
|
value: input.weight
|
|
2062
|
-
}), undefined === input.style || "
|
|
2062
|
+
}), undefined === input.style || "normal" === input.style || "italic" === input.style || _report(_exceptionable, {
|
|
2063
2063
|
path: _path + ".style",
|
|
2064
2064
|
expected: "(\"italic\" | \"normal\" | undefined)",
|
|
2065
2065
|
value: input.style
|
|
@@ -2098,7 +2098,7 @@ function _validateExactRecord(name, input) {
|
|
|
2098
2098
|
if (undefined === value)
|
|
2099
2099
|
return true;
|
|
2100
2100
|
return "string" === typeof value;
|
|
2101
|
-
}); const _io2 = input => "string" === typeof input.family && (undefined === input.asset || "string" === typeof input.asset) && (undefined === input.weight || "
|
|
2101
|
+
}); 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 _vo0 = (input, _path, _exceptionable = true) => [undefined === input.defaultLanguage || "string" === typeof input.defaultLanguage || _report(_exceptionable, {
|
|
2102
2102
|
path: _path + ".defaultLanguage",
|
|
2103
2103
|
expected: "(string | undefined)",
|
|
2104
2104
|
value: input.defaultLanguage
|
|
@@ -2143,11 +2143,11 @@ function _validateExactRecord(name, input) {
|
|
|
2143
2143
|
path: _path + ".asset",
|
|
2144
2144
|
expected: "(string | undefined)",
|
|
2145
2145
|
value: input.asset
|
|
2146
|
-
}), undefined === input.weight || "
|
|
2146
|
+
}), undefined === input.weight || "normal" === input.weight || "bold" === input.weight || _report(_exceptionable, {
|
|
2147
2147
|
path: _path + ".weight",
|
|
2148
2148
|
expected: "(\"bold\" | \"normal\" | undefined)",
|
|
2149
2149
|
value: input.weight
|
|
2150
|
-
}), undefined === input.style || "
|
|
2150
|
+
}), undefined === input.style || "normal" === input.style || "italic" === input.style || _report(_exceptionable, {
|
|
2151
2151
|
path: _path + ".style",
|
|
2152
2152
|
expected: "(\"italic\" | \"normal\" | undefined)",
|
|
2153
2153
|
value: input.style
|
|
@@ -2725,7 +2725,7 @@ function _validateExactRecord(name, input) {
|
|
|
2725
2725
|
}; })()(input);
|
|
2726
2726
|
}
|
|
2727
2727
|
case "media.fonts?": {
|
|
2728
|
-
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 && ("
|
|
2728
|
+
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 _vo0 = (input, _path, _exceptionable = true) => [undefined === input.fontFaces || (Array.isArray(input.fontFaces) || _report(_exceptionable, {
|
|
2729
2729
|
path: _path + ".fontFaces",
|
|
2730
2730
|
expected: "(Array<FontFace> | undefined)",
|
|
2731
2731
|
value: input.fontFaces
|
|
@@ -2773,7 +2773,7 @@ function _validateExactRecord(name, input) {
|
|
|
2773
2773
|
path: _path + ".weight",
|
|
2774
2774
|
expected: "number",
|
|
2775
2775
|
value: input.weight
|
|
2776
|
-
}), "
|
|
2776
|
+
}), "normal" === input.style || "italic" === input.style || _report(_exceptionable, {
|
|
2777
2777
|
path: _path + ".style",
|
|
2778
2778
|
expected: "(\"italic\" | \"normal\")",
|
|
2779
2779
|
value: input.style
|
|
@@ -9894,6 +9894,138 @@ function _validateDomainRecord(domain, input) {
|
|
|
9894
9894
|
};
|
|
9895
9895
|
}; })()(input);
|
|
9896
9896
|
}
|
|
9897
|
+
case ":event.status?": {
|
|
9898
|
+
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 _vo0 = (input, _path, _exceptionable = true) => [undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
9899
|
+
path: _path + ".messages",
|
|
9900
|
+
expected: "(Array<__type> | undefined)",
|
|
9901
|
+
value: input.messages
|
|
9902
|
+
})) && input.messages.map((elem, _index2) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
9903
|
+
path: _path + ".messages[" + _index2 + "]",
|
|
9904
|
+
expected: "__type",
|
|
9905
|
+
value: elem
|
|
9906
|
+
})) && _vo1(elem, _path + ".messages[" + _index2 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
9907
|
+
path: _path + ".messages[" + _index2 + "]",
|
|
9908
|
+
expected: "__type",
|
|
9909
|
+
value: elem
|
|
9910
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
9911
|
+
path: _path + ".messages",
|
|
9912
|
+
expected: "(Array<__type> | undefined)",
|
|
9913
|
+
value: input.messages
|
|
9914
|
+
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.id || _report(_exceptionable, {
|
|
9915
|
+
path: _path + ".id",
|
|
9916
|
+
expected: "string",
|
|
9917
|
+
value: input.id
|
|
9918
|
+
}), "string" === typeof input.msg || _report(_exceptionable, {
|
|
9919
|
+
path: _path + ".msg",
|
|
9920
|
+
expected: "string",
|
|
9921
|
+
value: input.msg
|
|
9922
|
+
}), "number" === typeof input.level || _report(_exceptionable, {
|
|
9923
|
+
path: _path + ".level",
|
|
9924
|
+
expected: "number",
|
|
9925
|
+
value: input.level
|
|
9926
|
+
}), undefined === input.code || "string" === typeof input.code || _report(_exceptionable, {
|
|
9927
|
+
path: _path + ".code",
|
|
9928
|
+
expected: "(string | undefined)",
|
|
9929
|
+
value: input.code
|
|
9930
|
+
}), null === input.expose || undefined === input.expose || "boolean" === typeof input.expose || _report(_exceptionable, {
|
|
9931
|
+
path: _path + ".expose",
|
|
9932
|
+
expected: "(boolean | null | undefined)",
|
|
9933
|
+
value: input.expose
|
|
9934
|
+
}), null === input.index || undefined === input.index || "number" === typeof input.index || _report(_exceptionable, {
|
|
9935
|
+
path: _path + ".index",
|
|
9936
|
+
expected: "(null | number | undefined)",
|
|
9937
|
+
value: input.index
|
|
9938
|
+
}), undefined === input.data || ("object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) || _report(_exceptionable, {
|
|
9939
|
+
path: _path + ".data",
|
|
9940
|
+
expected: "(__type.o1 | undefined)",
|
|
9941
|
+
value: input.data
|
|
9942
|
+
})) && _vo2(input.data, _path + ".data", true && _exceptionable) || _report(_exceptionable, {
|
|
9943
|
+
path: _path + ".data",
|
|
9944
|
+
expected: "(__type.o1 | undefined)",
|
|
9945
|
+
value: input.data
|
|
9946
|
+
})].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [null === input.progress || undefined === input.progress || "number" === typeof input.progress || _report(_exceptionable, {
|
|
9947
|
+
path: _path + ".progress",
|
|
9948
|
+
expected: "(null | number | undefined)",
|
|
9949
|
+
value: input.progress
|
|
9950
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
9951
|
+
if (false === __is(input)) {
|
|
9952
|
+
errors = [];
|
|
9953
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
9954
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
9955
|
+
path: _path + "",
|
|
9956
|
+
expected: "EventStatusRecord",
|
|
9957
|
+
value: input
|
|
9958
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
9959
|
+
path: _path + "",
|
|
9960
|
+
expected: "EventStatusRecord",
|
|
9961
|
+
value: input
|
|
9962
|
+
}))(input, "$input", true);
|
|
9963
|
+
const success = 0 === errors.length;
|
|
9964
|
+
return success ? {
|
|
9965
|
+
success,
|
|
9966
|
+
data: input
|
|
9967
|
+
} : {
|
|
9968
|
+
success,
|
|
9969
|
+
errors,
|
|
9970
|
+
data: input
|
|
9971
|
+
};
|
|
9972
|
+
}
|
|
9973
|
+
return {
|
|
9974
|
+
success: true,
|
|
9975
|
+
data: input
|
|
9976
|
+
};
|
|
9977
|
+
}; })()(input);
|
|
9978
|
+
}
|
|
9979
|
+
case ":event.schedule?": {
|
|
9980
|
+
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 _vo0 = (input, _path, _exceptionable = true) => [undefined === input.startTime || "number" === typeof input.startTime || _report(_exceptionable, {
|
|
9981
|
+
path: _path + ".startTime",
|
|
9982
|
+
expected: "(number | undefined)",
|
|
9983
|
+
value: input.startTime
|
|
9984
|
+
}), undefined === input.transition || "boolean" === typeof input.transition || _report(_exceptionable, {
|
|
9985
|
+
path: _path + ".transition",
|
|
9986
|
+
expected: "(boolean | undefined)",
|
|
9987
|
+
value: input.transition
|
|
9988
|
+
}), undefined === input.transitionTime || "number" === typeof input.transitionTime || _report(_exceptionable, {
|
|
9989
|
+
path: _path + ".transitionTime",
|
|
9990
|
+
expected: "(number | undefined)",
|
|
9991
|
+
value: input.transitionTime
|
|
9992
|
+
}), undefined === input.transitionDuration || "number" === typeof input.transitionDuration || _report(_exceptionable, {
|
|
9993
|
+
path: _path + ".transitionDuration",
|
|
9994
|
+
expected: "(number | undefined)",
|
|
9995
|
+
value: input.transitionDuration
|
|
9996
|
+
}), undefined === input.endTime || "number" === typeof input.endTime || _report(_exceptionable, {
|
|
9997
|
+
path: _path + ".endTime",
|
|
9998
|
+
expected: "(number | undefined)",
|
|
9999
|
+
value: input.endTime
|
|
10000
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
10001
|
+
if (false === __is(input)) {
|
|
10002
|
+
errors = [];
|
|
10003
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
10004
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
10005
|
+
path: _path + "",
|
|
10006
|
+
expected: "EventScheduleRecord",
|
|
10007
|
+
value: input
|
|
10008
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
10009
|
+
path: _path + "",
|
|
10010
|
+
expected: "EventScheduleRecord",
|
|
10011
|
+
value: input
|
|
10012
|
+
}))(input, "$input", true);
|
|
10013
|
+
const success = 0 === errors.length;
|
|
10014
|
+
return success ? {
|
|
10015
|
+
success,
|
|
10016
|
+
data: input
|
|
10017
|
+
} : {
|
|
10018
|
+
success,
|
|
10019
|
+
errors,
|
|
10020
|
+
data: input
|
|
10021
|
+
};
|
|
10022
|
+
}
|
|
10023
|
+
return {
|
|
10024
|
+
success: true,
|
|
10025
|
+
data: input
|
|
10026
|
+
};
|
|
10027
|
+
}; })()(input);
|
|
10028
|
+
}
|
|
9897
10029
|
case ":event.readDuration?": {
|
|
9898
10030
|
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 _vo0 = (input, _path, _exceptionable = true) => [undefined === input.numChars || "number" === typeof input.numChars || _report(_exceptionable, {
|
|
9899
10031
|
path: _path + ".numChars",
|
|
@@ -11891,6 +12023,40 @@ function _validateDomainRecord(domain, input) {
|
|
|
11891
12023
|
};
|
|
11892
12024
|
}; })()(input);
|
|
11893
12025
|
}
|
|
12026
|
+
case ":media.placeholder": {
|
|
12027
|
+
return (() => { const _io0 = input => "string" === typeof input.asset; const _vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.asset || _report(_exceptionable, {
|
|
12028
|
+
path: _path + ".asset",
|
|
12029
|
+
expected: "string",
|
|
12030
|
+
value: input.asset
|
|
12031
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
|
|
12032
|
+
if (false === __is(input)) {
|
|
12033
|
+
errors = [];
|
|
12034
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
12035
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
12036
|
+
path: _path + "",
|
|
12037
|
+
expected: "MediaPlaceholderRecord",
|
|
12038
|
+
value: input
|
|
12039
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
12040
|
+
path: _path + "",
|
|
12041
|
+
expected: "MediaPlaceholderRecord",
|
|
12042
|
+
value: input
|
|
12043
|
+
}))(input, "$input", true);
|
|
12044
|
+
const success = 0 === errors.length;
|
|
12045
|
+
return success ? {
|
|
12046
|
+
success,
|
|
12047
|
+
data: input
|
|
12048
|
+
} : {
|
|
12049
|
+
success,
|
|
12050
|
+
errors,
|
|
12051
|
+
data: input
|
|
12052
|
+
};
|
|
12053
|
+
}
|
|
12054
|
+
return {
|
|
12055
|
+
success: true,
|
|
12056
|
+
data: input
|
|
12057
|
+
};
|
|
12058
|
+
}; })()(input);
|
|
12059
|
+
}
|
|
11894
12060
|
case ":media.consolidate": {
|
|
11895
12061
|
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 _vo0 = (input, _path, _exceptionable = true) => [true, true, (null !== input.preset || _report(_exceptionable, {
|
|
11896
12062
|
path: _path + ".preset",
|
|
@@ -13232,7 +13398,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13232
13398
|
}; })()(input);
|
|
13233
13399
|
}
|
|
13234
13400
|
case ":monitor.stats?": {
|
|
13235
|
-
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 => {
|
|
13401
|
+
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 => {
|
|
13236
13402
|
const value = input[key];
|
|
13237
13403
|
if (undefined === value)
|
|
13238
13404
|
return true;
|
|
@@ -13261,7 +13427,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
13261
13427
|
if (undefined === value)
|
|
13262
13428
|
return true;
|
|
13263
13429
|
return true;
|
|
13264
|
-
}); const _io12 = input => "number" === typeof input.used && "number" === typeof input.available && "number" === typeof input.timestamp; const
|
|
13430
|
+
}); 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 => {
|
|
13431
|
+
const value = input[key];
|
|
13432
|
+
if (undefined === value)
|
|
13433
|
+
return true;
|
|
13434
|
+
return "string" === typeof value;
|
|
13435
|
+
}); const _io15 = input => "string" === typeof input.type && "string" === typeof input.id && "number" === typeof input.level && "string" === typeof input.title && "string" === typeof input.msg; const _vo0 = (input, _path, _exceptionable = true) => [true, ("object" === typeof input.proc && null !== input.proc || _report(_exceptionable, {
|
|
13265
13436
|
path: _path + ".proc",
|
|
13266
13437
|
expected: "MonitorStatsProcInfo",
|
|
13267
13438
|
value: input.proc
|
|
@@ -13301,6 +13472,14 @@ function _validateDomainRecord(domain, input) {
|
|
|
13301
13472
|
path: _path + "[\"var\"]",
|
|
13302
13473
|
expected: "__type.o5",
|
|
13303
13474
|
value: input["var"]
|
|
13475
|
+
}), ("object" === typeof input.hostBridge && null !== input.hostBridge || _report(_exceptionable, {
|
|
13476
|
+
path: _path + ".hostBridge",
|
|
13477
|
+
expected: "MonitorStatsHostBridge",
|
|
13478
|
+
value: input.hostBridge
|
|
13479
|
+
})) && _vo13(input.hostBridge, _path + ".hostBridge", true && _exceptionable) || _report(_exceptionable, {
|
|
13480
|
+
path: _path + ".hostBridge",
|
|
13481
|
+
expected: "MonitorStatsHostBridge",
|
|
13482
|
+
value: input.hostBridge
|
|
13304
13483
|
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [null === input.cpu || ("object" === typeof input.cpu && null !== input.cpu && false === Array.isArray(input.cpu) || _report(_exceptionable, {
|
|
13305
13484
|
path: _path + ".cpu",
|
|
13306
13485
|
expected: "(MonitorStatsProcInfoCpu | null)",
|
|
@@ -13313,12 +13492,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
13313
13492
|
path: _path + ".cpus",
|
|
13314
13493
|
expected: "(Array<MonitorStatsProcInfoCpu> | undefined)",
|
|
13315
13494
|
value: input.cpus
|
|
13316
|
-
})) && input.cpus.map((elem,
|
|
13317
|
-
path: _path + ".cpus[" +
|
|
13495
|
+
})) && input.cpus.map((elem, _index11) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
13496
|
+
path: _path + ".cpus[" + _index11 + "]",
|
|
13318
13497
|
expected: "MonitorStatsProcInfoCpu",
|
|
13319
13498
|
value: elem
|
|
13320
|
-
})) && _vo2(elem, _path + ".cpus[" +
|
|
13321
|
-
path: _path + ".cpus[" +
|
|
13499
|
+
})) && _vo2(elem, _path + ".cpus[" + _index11 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
13500
|
+
path: _path + ".cpus[" + _index11 + "]",
|
|
13322
13501
|
expected: "MonitorStatsProcInfoCpu",
|
|
13323
13502
|
value: elem
|
|
13324
13503
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -13333,8 +13512,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
13333
13512
|
path: _path + ".load",
|
|
13334
13513
|
expected: "(Array<number> | null)",
|
|
13335
13514
|
value: input.load
|
|
13336
|
-
})) && input.load.map((elem,
|
|
13337
|
-
path: _path + ".load[" +
|
|
13515
|
+
})) && input.load.map((elem, _index12) => "number" === typeof elem || _report(_exceptionable, {
|
|
13516
|
+
path: _path + ".load[" + _index12 + "]",
|
|
13338
13517
|
expected: "number",
|
|
13339
13518
|
value: elem
|
|
13340
13519
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -13345,8 +13524,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
13345
13524
|
path: _path + ".interrupts",
|
|
13346
13525
|
expected: "(Array<number> | null | undefined)",
|
|
13347
13526
|
value: input.interrupts
|
|
13348
|
-
})) && input.interrupts.map((elem,
|
|
13349
|
-
path: _path + ".interrupts[" +
|
|
13527
|
+
})) && input.interrupts.map((elem, _index13) => "number" === typeof elem || _report(_exceptionable, {
|
|
13528
|
+
path: _path + ".interrupts[" + _index13 + "]",
|
|
13350
13529
|
expected: "number",
|
|
13351
13530
|
value: elem
|
|
13352
13531
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -13406,8 +13585,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
13406
13585
|
path: _path + ".normal",
|
|
13407
13586
|
expected: "(Array<number> | undefined)",
|
|
13408
13587
|
value: input.normal
|
|
13409
|
-
})) && input.normal.map((elem,
|
|
13410
|
-
path: _path + ".normal[" +
|
|
13588
|
+
})) && input.normal.map((elem, _index14) => "number" === typeof elem || _report(_exceptionable, {
|
|
13589
|
+
path: _path + ".normal[" + _index14 + "]",
|
|
13411
13590
|
expected: "number",
|
|
13412
13591
|
value: elem
|
|
13413
13592
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -13418,8 +13597,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
13418
13597
|
path: _path + ".high",
|
|
13419
13598
|
expected: "(Array<number> | undefined)",
|
|
13420
13599
|
value: input.high
|
|
13421
|
-
})) && input.high.map((elem,
|
|
13422
|
-
path: _path + ".high[" +
|
|
13600
|
+
})) && input.high.map((elem, _index15) => "number" === typeof elem || _report(_exceptionable, {
|
|
13601
|
+
path: _path + ".high[" + _index15 + "]",
|
|
13423
13602
|
expected: "number",
|
|
13424
13603
|
value: elem
|
|
13425
13604
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -13459,12 +13638,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
13459
13638
|
path: _path + ".bonding",
|
|
13460
13639
|
expected: "Array<NetworkInterfaceInfo & { [key: string]: unknown; slaves: string[]; name: string; }>",
|
|
13461
13640
|
value: input.bonding
|
|
13462
|
-
})) && input.bonding.map((elem,
|
|
13463
|
-
path: _path + ".bonding[" +
|
|
13641
|
+
})) && input.bonding.map((elem, _index16) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
13642
|
+
path: _path + ".bonding[" + _index16 + "]",
|
|
13464
13643
|
expected: "NetworkInterfaceInfo & { [key: string]: unknown; slaves: string[]; name: string; }",
|
|
13465
13644
|
value: elem
|
|
13466
|
-
})) && _vo10(elem, _path + ".bonding[" +
|
|
13467
|
-
path: _path + ".bonding[" +
|
|
13645
|
+
})) && _vo10(elem, _path + ".bonding[" + _index16 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
13646
|
+
path: _path + ".bonding[" + _index16 + "]",
|
|
13468
13647
|
expected: "NetworkInterfaceInfo & { [key: string]: unknown; slaves: string[]; name: string; }",
|
|
13469
13648
|
value: elem
|
|
13470
13649
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -13475,12 +13654,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
13475
13654
|
path: _path + ".eth",
|
|
13476
13655
|
expected: "Array<NetworkInterfaceInfo & { [key: string]: unknown; speed?: number | undefined; rxUnicastBytes?: number | undefined; rxMulticastBytes?: number | undefined; rxBroadcastBytes?: number | undefined; }>",
|
|
13477
13656
|
value: input.eth
|
|
13478
|
-
})) && input.eth.map((elem,
|
|
13479
|
-
path: _path + ".eth[" +
|
|
13657
|
+
})) && input.eth.map((elem, _index17) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
13658
|
+
path: _path + ".eth[" + _index17 + "]",
|
|
13480
13659
|
expected: "NetworkInterfaceInfo & { [key: string]: unknown; speed?: number | undefined; rxUnicastBytes?: number | undefined; rxMulticastBytes?: number | undefined; rxBroadcastBytes?: number | undefined; }",
|
|
13481
13660
|
value: elem
|
|
13482
|
-
})) && _vo11(elem, _path + ".eth[" +
|
|
13483
|
-
path: _path + ".eth[" +
|
|
13661
|
+
})) && _vo11(elem, _path + ".eth[" + _index17 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
13662
|
+
path: _path + ".eth[" + _index17 + "]",
|
|
13484
13663
|
expected: "NetworkInterfaceInfo & { [key: string]: unknown; speed?: number | undefined; rxUnicastBytes?: number | undefined; rxMulticastBytes?: number | undefined; rxBroadcastBytes?: number | undefined; }",
|
|
13485
13664
|
value: elem
|
|
13486
13665
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -13523,12 +13702,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
13523
13702
|
path: _path + ".cpus",
|
|
13524
13703
|
expected: "Array<__type>",
|
|
13525
13704
|
value: input.cpus
|
|
13526
|
-
})) && input.cpus.map((elem,
|
|
13527
|
-
path: _path + ".cpus[" +
|
|
13705
|
+
})) && input.cpus.map((elem, _index18) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
13706
|
+
path: _path + ".cpus[" + _index18 + "]",
|
|
13528
13707
|
expected: "__type.o1",
|
|
13529
13708
|
value: elem
|
|
13530
|
-
})) && _vo7(elem, _path + ".cpus[" +
|
|
13531
|
-
path: _path + ".cpus[" +
|
|
13709
|
+
})) && _vo7(elem, _path + ".cpus[" + _index18 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
13710
|
+
path: _path + ".cpus[" + _index18 + "]",
|
|
13532
13711
|
expected: "__type.o1",
|
|
13533
13712
|
value: elem
|
|
13534
13713
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -13732,8 +13911,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
13732
13911
|
path: _path + ".slaves",
|
|
13733
13912
|
expected: "Array<string>",
|
|
13734
13913
|
value: input.slaves
|
|
13735
|
-
})) && input.slaves.map((elem,
|
|
13736
|
-
path: _path + ".slaves[" +
|
|
13914
|
+
})) && input.slaves.map((elem, _index19) => "string" === typeof elem || _report(_exceptionable, {
|
|
13915
|
+
path: _path + ".slaves[" + _index19 + "]",
|
|
13737
13916
|
expected: "string",
|
|
13738
13917
|
value: elem
|
|
13739
13918
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -13902,6 +14081,63 @@ function _validateDomainRecord(domain, input) {
|
|
|
13902
14081
|
path: _path + ".timestamp",
|
|
13903
14082
|
expected: "number",
|
|
13904
14083
|
value: input.timestamp
|
|
14084
|
+
})].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => [("object" === typeof input.types && null !== input.types && false === Array.isArray(input.types) || _report(_exceptionable, {
|
|
14085
|
+
path: _path + ".types",
|
|
14086
|
+
expected: "Record<string, string>",
|
|
14087
|
+
value: input.types
|
|
14088
|
+
})) && _vo14(input.types, _path + ".types", true && _exceptionable) || _report(_exceptionable, {
|
|
14089
|
+
path: _path + ".types",
|
|
14090
|
+
expected: "Record<string, string>",
|
|
14091
|
+
value: input.types
|
|
14092
|
+
}), (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
14093
|
+
path: _path + ".messages",
|
|
14094
|
+
expected: "Array<MonitorStatsHostBridgeMessage>",
|
|
14095
|
+
value: input.messages
|
|
14096
|
+
})) && input.messages.map((elem, _index20) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
14097
|
+
path: _path + ".messages[" + _index20 + "]",
|
|
14098
|
+
expected: "MonitorStatsHostBridgeMessage",
|
|
14099
|
+
value: elem
|
|
14100
|
+
})) && _vo15(elem, _path + ".messages[" + _index20 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
14101
|
+
path: _path + ".messages[" + _index20 + "]",
|
|
14102
|
+
expected: "MonitorStatsHostBridgeMessage",
|
|
14103
|
+
value: elem
|
|
14104
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
14105
|
+
path: _path + ".messages",
|
|
14106
|
+
expected: "Array<MonitorStatsHostBridgeMessage>",
|
|
14107
|
+
value: input.messages
|
|
14108
|
+
}), "number" === typeof input.timestamp || _report(_exceptionable, {
|
|
14109
|
+
path: _path + ".timestamp",
|
|
14110
|
+
expected: "number",
|
|
14111
|
+
value: input.timestamp
|
|
14112
|
+
})].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
14113
|
+
const value = input[key];
|
|
14114
|
+
if (undefined === value)
|
|
14115
|
+
return true;
|
|
14116
|
+
return "string" === typeof value || _report(_exceptionable, {
|
|
14117
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
14118
|
+
expected: "string",
|
|
14119
|
+
value: value
|
|
14120
|
+
});
|
|
14121
|
+
}).every(flag => flag)].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => ["string" === typeof input.type || _report(_exceptionable, {
|
|
14122
|
+
path: _path + ".type",
|
|
14123
|
+
expected: "string",
|
|
14124
|
+
value: input.type
|
|
14125
|
+
}), "string" === typeof input.id || _report(_exceptionable, {
|
|
14126
|
+
path: _path + ".id",
|
|
14127
|
+
expected: "string",
|
|
14128
|
+
value: input.id
|
|
14129
|
+
}), "number" === typeof input.level || _report(_exceptionable, {
|
|
14130
|
+
path: _path + ".level",
|
|
14131
|
+
expected: "number",
|
|
14132
|
+
value: input.level
|
|
14133
|
+
}), "string" === typeof input.title || _report(_exceptionable, {
|
|
14134
|
+
path: _path + ".title",
|
|
14135
|
+
expected: "string",
|
|
14136
|
+
value: input.title
|
|
14137
|
+
}), "string" === typeof input.msg || _report(_exceptionable, {
|
|
14138
|
+
path: _path + ".msg",
|
|
14139
|
+
expected: "string",
|
|
14140
|
+
value: input.msg
|
|
13905
14141
|
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
|
|
13906
14142
|
if (false === __is(input)) {
|
|
13907
14143
|
errors = [];
|
|
@@ -22193,7 +22429,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
22193
22429
|
if (undefined === value)
|
|
22194
22430
|
return true;
|
|
22195
22431
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io30(value);
|
|
22196
|
-
}); 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 => {
|
|
22432
|
+
}); 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 => {
|
|
22197
22433
|
const value = input[key];
|
|
22198
22434
|
if (undefined === value)
|
|
22199
22435
|
return true;
|
|
@@ -22208,7 +22444,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
22208
22444
|
if (undefined === value)
|
|
22209
22445
|
return true;
|
|
22210
22446
|
return true;
|
|
22211
|
-
}); 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 => {
|
|
22447
|
+
}); 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 => {
|
|
22212
22448
|
const value = input[key];
|
|
22213
22449
|
if (undefined === value)
|
|
22214
22450
|
return true;
|
|
@@ -23112,6 +23348,38 @@ function _validateDomainRecord(domain, input) {
|
|
|
23112
23348
|
path: _path + ".scriptEventFolding",
|
|
23113
23349
|
expected: "(\"folded\" | \"unfoldedUntilFolded\")",
|
|
23114
23350
|
value: input.scriptEventFolding
|
|
23351
|
+
}), undefined === input.stickyHeaders || "boolean" === typeof input.stickyHeaders || _report(_exceptionable, {
|
|
23352
|
+
path: _path + ".stickyHeaders",
|
|
23353
|
+
expected: "(boolean | undefined)",
|
|
23354
|
+
value: input.stickyHeaders
|
|
23355
|
+
}), undefined === input.triggersColumn || "title" === input.triggersColumn || "triggers" === input.triggersColumn || _report(_exceptionable, {
|
|
23356
|
+
path: _path + ".triggersColumn",
|
|
23357
|
+
expected: "(\"title\" | \"triggers\" | undefined)",
|
|
23358
|
+
value: input.triggersColumn
|
|
23359
|
+
}), undefined === input.density || "normal" === input.density || "compact" === input.density || "spacious" === input.density || _report(_exceptionable, {
|
|
23360
|
+
path: _path + ".density",
|
|
23361
|
+
expected: "(\"compact\" | \"normal\" | \"spacious\" | undefined)",
|
|
23362
|
+
value: input.density
|
|
23363
|
+
}), undefined === input.showEvents || "boolean" === typeof input.showEvents || _report(_exceptionable, {
|
|
23364
|
+
path: _path + ".showEvents",
|
|
23365
|
+
expected: "(boolean | undefined)",
|
|
23366
|
+
value: input.showEvents
|
|
23367
|
+
}), undefined === input.showTriggers || "boolean" === typeof input.showTriggers || _report(_exceptionable, {
|
|
23368
|
+
path: _path + ".showTriggers",
|
|
23369
|
+
expected: "(boolean | undefined)",
|
|
23370
|
+
value: input.showTriggers
|
|
23371
|
+
}), undefined === input.showReferenceDuration || "boolean" === typeof input.showReferenceDuration || _report(_exceptionable, {
|
|
23372
|
+
path: _path + ".showReferenceDuration",
|
|
23373
|
+
expected: "(boolean | undefined)",
|
|
23374
|
+
value: input.showReferenceDuration
|
|
23375
|
+
}), undefined === input.showSettingsColumn || "boolean" === typeof input.showSettingsColumn || _report(_exceptionable, {
|
|
23376
|
+
path: _path + ".showSettingsColumn",
|
|
23377
|
+
expected: "(boolean | undefined)",
|
|
23378
|
+
value: input.showSettingsColumn
|
|
23379
|
+
}), undefined === input.thumbnailColumnWidth || "number" === typeof input.thumbnailColumnWidth || _report(_exceptionable, {
|
|
23380
|
+
path: _path + ".thumbnailColumnWidth",
|
|
23381
|
+
expected: "(number | undefined)",
|
|
23382
|
+
value: input.thumbnailColumnWidth
|
|
23115
23383
|
})].every(flag => flag); const _vo32 = (input, _path, _exceptionable = true) => [undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur || _report(_exceptionable, {
|
|
23116
23384
|
path: _path + ".dimOnBlur",
|
|
23117
23385
|
expected: "(boolean | undefined)",
|
|
@@ -24302,6 +24570,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
24302
24570
|
path: _path + ".systemHealthIgnore",
|
|
24303
24571
|
expected: "(boolean | undefined)",
|
|
24304
24572
|
value: input.systemHealthIgnore
|
|
24573
|
+
}), undefined === input.systemHealthDebugLevel || "boolean" === typeof input.systemHealthDebugLevel || _report(_exceptionable, {
|
|
24574
|
+
path: _path + ".systemHealthDebugLevel",
|
|
24575
|
+
expected: "(boolean | undefined)",
|
|
24576
|
+
value: input.systemHealthDebugLevel
|
|
24305
24577
|
})].every(flag => flag); const _vo82 = (input, _path, _exceptionable = true) => [undefined === input.events || ("object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) || _report(_exceptionable, {
|
|
24306
24578
|
path: _path + ".events",
|
|
24307
24579
|
expected: "(__type.o69 | undefined)",
|
|
@@ -25181,6 +25453,94 @@ function _validateDomainRecord(domain, input) {
|
|
|
25181
25453
|
};
|
|
25182
25454
|
}; })()(input);
|
|
25183
25455
|
}
|
|
25456
|
+
case ":story.editor": {
|
|
25457
|
+
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 => {
|
|
25458
|
+
const value = input[key];
|
|
25459
|
+
if (undefined === value)
|
|
25460
|
+
return true;
|
|
25461
|
+
return true;
|
|
25462
|
+
}); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.value || ("object" === typeof input.value && null !== input.value && false === Array.isArray(input.value) || _report(_exceptionable, {
|
|
25463
|
+
path: _path + ".value",
|
|
25464
|
+
expected: "(__type | undefined)",
|
|
25465
|
+
value: input.value
|
|
25466
|
+
})) && _vo1(input.value, _path + ".value", true && _exceptionable) || _report(_exceptionable, {
|
|
25467
|
+
path: _path + ".value",
|
|
25468
|
+
expected: "(__type | undefined)",
|
|
25469
|
+
value: input.value
|
|
25470
|
+
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [undefined === input.object || "string" === typeof input.object || _report(_exceptionable, {
|
|
25471
|
+
path: _path + ".object",
|
|
25472
|
+
expected: "(string | undefined)",
|
|
25473
|
+
value: input.object
|
|
25474
|
+
}), undefined === input.document || ("object" === typeof input.document && null !== input.document && false === Array.isArray(input.document) || _report(_exceptionable, {
|
|
25475
|
+
path: _path + ".document",
|
|
25476
|
+
expected: "(StoryDomainEditorRecordNode | undefined)",
|
|
25477
|
+
value: input.document
|
|
25478
|
+
})) && _vo2(input.document, _path + ".document", true && _exceptionable) || _report(_exceptionable, {
|
|
25479
|
+
path: _path + ".document",
|
|
25480
|
+
expected: "(StoryDomainEditorRecordNode | undefined)",
|
|
25481
|
+
value: input.document
|
|
25482
|
+
})].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
25483
|
+
path: _path + ".type",
|
|
25484
|
+
expected: "(string | undefined)",
|
|
25485
|
+
value: input.type
|
|
25486
|
+
}), undefined === input.data || ("object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) || _report(_exceptionable, {
|
|
25487
|
+
path: _path + ".data",
|
|
25488
|
+
expected: "(Record<string, unknown> | undefined)",
|
|
25489
|
+
value: input.data
|
|
25490
|
+
})) && _vo3(input.data, _path + ".data", true && _exceptionable) || _report(_exceptionable, {
|
|
25491
|
+
path: _path + ".data",
|
|
25492
|
+
expected: "(Record<string, unknown> | undefined)",
|
|
25493
|
+
value: input.data
|
|
25494
|
+
}), undefined === input.nodes || (Array.isArray(input.nodes) || _report(_exceptionable, {
|
|
25495
|
+
path: _path + ".nodes",
|
|
25496
|
+
expected: "(Array<StoryDomainEditorRecordNode> | undefined)",
|
|
25497
|
+
value: input.nodes
|
|
25498
|
+
})) && input.nodes.map((elem, _index2) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
25499
|
+
path: _path + ".nodes[" + _index2 + "]",
|
|
25500
|
+
expected: "StoryDomainEditorRecordNode",
|
|
25501
|
+
value: elem
|
|
25502
|
+
})) && _vo2(elem, _path + ".nodes[" + _index2 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
25503
|
+
path: _path + ".nodes[" + _index2 + "]",
|
|
25504
|
+
expected: "StoryDomainEditorRecordNode",
|
|
25505
|
+
value: elem
|
|
25506
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
25507
|
+
path: _path + ".nodes",
|
|
25508
|
+
expected: "(Array<StoryDomainEditorRecordNode> | undefined)",
|
|
25509
|
+
value: input.nodes
|
|
25510
|
+
})].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
25511
|
+
const value = input[key];
|
|
25512
|
+
if (undefined === value)
|
|
25513
|
+
return true;
|
|
25514
|
+
return true;
|
|
25515
|
+
}).every(flag => flag)].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
25516
|
+
if (false === __is(input)) {
|
|
25517
|
+
errors = [];
|
|
25518
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
25519
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
25520
|
+
path: _path + "",
|
|
25521
|
+
expected: "StoryDomainEditorRecord",
|
|
25522
|
+
value: input
|
|
25523
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
25524
|
+
path: _path + "",
|
|
25525
|
+
expected: "StoryDomainEditorRecord",
|
|
25526
|
+
value: input
|
|
25527
|
+
}))(input, "$input", true);
|
|
25528
|
+
const success = 0 === errors.length;
|
|
25529
|
+
return success ? {
|
|
25530
|
+
success,
|
|
25531
|
+
data: input
|
|
25532
|
+
} : {
|
|
25533
|
+
success,
|
|
25534
|
+
errors,
|
|
25535
|
+
data: input
|
|
25536
|
+
};
|
|
25537
|
+
}
|
|
25538
|
+
return {
|
|
25539
|
+
success: true,
|
|
25540
|
+
data: input
|
|
25541
|
+
};
|
|
25542
|
+
}; })()(input);
|
|
25543
|
+
}
|
|
25184
25544
|
case ":storyboard": {
|
|
25185
25545
|
return (() => { const _io0 = input => Object.keys(input).every(key => {
|
|
25186
25546
|
const value = input[key];
|