@nxtedition/types 23.0.61 → 23.0.63
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/index.d.ts +1 -0
- package/dist/common/index.js +1 -0
- package/dist/common/render-profile.d.ts +15 -0
- package/dist/common/settings.d.ts +22 -0
- package/dist/common/subtitle-style.d.ts +1 -0
- package/dist/common/subtitle.d.ts +4 -0
- package/dist/common/subtitle.js +1 -0
- package/dist/nxtpression.d.ts +113 -8
- package/dist/records/domains/asset.d.ts +1 -1
- package/dist/records/domains/event.d.ts +2 -0
- package/dist/records/domains/folder.d.ts +6 -0
- package/dist/records/domains/folder.js +1 -0
- package/dist/records/domains/index.d.ts +3 -1
- package/dist/records/domains/index.js +1 -0
- package/dist/records/domains/script.d.ts +8 -3
- package/dist/records/domains/settings.d.ts +5 -0
- package/dist/records/domains/shotbox.d.ts +1 -0
- package/dist/records/exact/media.d.ts +40 -1
- package/dist/records/validate/assert-guard.js +1763 -623
- package/dist/records/validate/assert.js +1766 -623
- package/dist/records/validate/is.js +118 -66
- package/dist/records/validate/schemas.d.ts +9 -6
- package/dist/records/validate/schemas.js +1324 -836
- package/dist/records/validate/stringify.js +332 -118
- package/dist/records/validate/utils.js +2 -2
- package/dist/records/validate/validate-equals.js +2561 -757
- package/dist/records/validate/validate.js +1571 -595
- package/dist/rpc.d.ts +3 -2
- package/package.json +4 -4
|
@@ -1746,13 +1746,297 @@ function _validateExactRecord(name, input) {
|
|
|
1746
1746
|
};
|
|
1747
1747
|
}; })()(input);
|
|
1748
1748
|
}
|
|
1749
|
+
case "media.transcribe": {
|
|
1750
|
+
return (() => { const _io0 = input => "object" === typeof input.engines && null !== input.engines && false === Array.isArray(input.engines) && _io1(input.engines) && ("object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) && _io1(input.languages)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io2(input.translate)) && (undefined === input.replacers || "object" === typeof input.replacers && null !== input.replacers && false === Array.isArray(input.replacers) && _io3(input.replacers)); const _io1 = input => Object.keys(input).every(key => {
|
|
1751
|
+
const value = input[key];
|
|
1752
|
+
if (undefined === value)
|
|
1753
|
+
return true;
|
|
1754
|
+
return "string" === typeof value;
|
|
1755
|
+
}); const _io2 = input => "object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) && _io1(input.languages); const _io3 = input => Object.keys(input).every(key => {
|
|
1756
|
+
const value = input[key];
|
|
1757
|
+
if (undefined === value)
|
|
1758
|
+
return true;
|
|
1759
|
+
return null !== value && undefined !== value && (Array.isArray(value) && value.every(elem => "object" === typeof elem && null !== elem && _iu0(elem)) || "object" === typeof value && null !== value && _iu0(value));
|
|
1760
|
+
}); const _io4 = input => (undefined === input.type || "replace" === input.type) && true && (null !== input.replacement && undefined !== input.replacement && ("function" === typeof input.replacement || "string" === typeof input.replacement || "object" === typeof input.replacement && null !== input.replacement && _io5(input.replacement))) && (undefined === input.flags || "string" === typeof input.flags) && (undefined === input._comment || "string" === typeof input._comment); const _io5 = input => "object" === typeof input.__context && null !== input.__context && _io6(input.__context) && (null !== input.__returnValue && undefined !== input.__returnValue && ("function" === typeof input.__returnValue || "string" === typeof input.__returnValue)); const _io6 = input => "string" === typeof input.item; const _io7 = input => "items" === input.type && (Array.isArray(input.items) && input.items.every(elem => "string" === typeof elem)) && (undefined === input._comment || "string" === typeof input._comment) && (Array.isArray(input.replacers) && input.replacers.every(elem => "object" === typeof elem && null !== elem && _io8(elem))); const _io8 = input => true && (null !== input.replacement && undefined !== input.replacement && ("function" === typeof input.replacement || "string" === typeof input.replacement || "object" === typeof input.replacement && null !== input.replacement && _io9(input.replacement))) && (undefined === input.flags || "string" === typeof input.flags) && (undefined === input._comment || "string" === typeof input._comment); const _io9 = input => "object" === typeof input.__context && null !== input.__context && _io10(input.__context) && (null !== input.__returnValue && undefined !== input.__returnValue && ("function" === typeof input.__returnValue || "string" === typeof input.__returnValue)); const _io10 = input => "string" === typeof input.item; const _iu0 = input => (() => {
|
|
1761
|
+
if (undefined !== input.pattern)
|
|
1762
|
+
return _io4(input);
|
|
1763
|
+
else if ("items" === input.type)
|
|
1764
|
+
return _io7(input);
|
|
1765
|
+
else
|
|
1766
|
+
return false;
|
|
1767
|
+
})(); const _vo0 = (input, _path, _exceptionable = true) => [("object" === typeof input.engines && null !== input.engines && false === Array.isArray(input.engines) || _report(_exceptionable, {
|
|
1768
|
+
path: _path + ".engines",
|
|
1769
|
+
expected: "Record<string, string>",
|
|
1770
|
+
value: input.engines
|
|
1771
|
+
})) && _vo1(input.engines, _path + ".engines", true && _exceptionable) || _report(_exceptionable, {
|
|
1772
|
+
path: _path + ".engines",
|
|
1773
|
+
expected: "Record<string, string>",
|
|
1774
|
+
value: input.engines
|
|
1775
|
+
}), ("object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) || _report(_exceptionable, {
|
|
1776
|
+
path: _path + ".languages",
|
|
1777
|
+
expected: "Record<string, string>",
|
|
1778
|
+
value: input.languages
|
|
1779
|
+
})) && _vo1(input.languages, _path + ".languages", true && _exceptionable) || _report(_exceptionable, {
|
|
1780
|
+
path: _path + ".languages",
|
|
1781
|
+
expected: "Record<string, string>",
|
|
1782
|
+
value: input.languages
|
|
1783
|
+
}), undefined === input.translate || ("object" === typeof input.translate && null !== input.translate || _report(_exceptionable, {
|
|
1784
|
+
path: _path + ".translate",
|
|
1785
|
+
expected: "(__type | undefined)",
|
|
1786
|
+
value: input.translate
|
|
1787
|
+
})) && _vo2(input.translate, _path + ".translate", true && _exceptionable) || _report(_exceptionable, {
|
|
1788
|
+
path: _path + ".translate",
|
|
1789
|
+
expected: "(__type | undefined)",
|
|
1790
|
+
value: input.translate
|
|
1791
|
+
}), undefined === input.replacers || ("object" === typeof input.replacers && null !== input.replacers && false === Array.isArray(input.replacers) || _report(_exceptionable, {
|
|
1792
|
+
path: _path + ".replacers",
|
|
1793
|
+
expected: "(Record<string, TranscribeReplacer | TranscribeReplacer[]> | undefined)",
|
|
1794
|
+
value: input.replacers
|
|
1795
|
+
})) && _vo3(input.replacers, _path + ".replacers", true && _exceptionable) || _report(_exceptionable, {
|
|
1796
|
+
path: _path + ".replacers",
|
|
1797
|
+
expected: "(Record<string, TranscribeReplacer | TranscribeReplacer[]> | undefined)",
|
|
1798
|
+
value: input.replacers
|
|
1799
|
+
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
1800
|
+
const value = input[key];
|
|
1801
|
+
if (undefined === value)
|
|
1802
|
+
return true;
|
|
1803
|
+
return "string" === typeof value || _report(_exceptionable, {
|
|
1804
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
1805
|
+
expected: "string",
|
|
1806
|
+
value: value
|
|
1807
|
+
});
|
|
1808
|
+
}).every(flag => flag)].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [("object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) || _report(_exceptionable, {
|
|
1809
|
+
path: _path + ".languages",
|
|
1810
|
+
expected: "Record<string, string>",
|
|
1811
|
+
value: input.languages
|
|
1812
|
+
})) && _vo1(input.languages, _path + ".languages", true && _exceptionable) || _report(_exceptionable, {
|
|
1813
|
+
path: _path + ".languages",
|
|
1814
|
+
expected: "Record<string, string>",
|
|
1815
|
+
value: input.languages
|
|
1816
|
+
})].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
1817
|
+
const value = input[key];
|
|
1818
|
+
if (undefined === value)
|
|
1819
|
+
return true;
|
|
1820
|
+
return (null !== value || _report(_exceptionable, {
|
|
1821
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
1822
|
+
expected: "(Array<TranscribeReplacer> | TranscribeForEachWordReplacer | TranscribeReplaceReplacer)",
|
|
1823
|
+
value: value
|
|
1824
|
+
})) && (undefined !== value || _report(_exceptionable, {
|
|
1825
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
1826
|
+
expected: "(Array<TranscribeReplacer> | TranscribeForEachWordReplacer | TranscribeReplaceReplacer)",
|
|
1827
|
+
value: value
|
|
1828
|
+
})) && (Array.isArray(value) && value.map((elem, _index4) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
1829
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index4 + "]",
|
|
1830
|
+
expected: "(TranscribeForEachWordReplacer | TranscribeReplaceReplacer)",
|
|
1831
|
+
value: elem
|
|
1832
|
+
})) && _vu0(elem, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index4 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
1833
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index4 + "]",
|
|
1834
|
+
expected: "(TranscribeForEachWordReplacer | TranscribeReplaceReplacer)",
|
|
1835
|
+
value: elem
|
|
1836
|
+
})).every(flag => flag) || "object" === typeof value && null !== value && _vu0(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
1837
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
1838
|
+
expected: "(Array<TranscribeReplacer> | TranscribeForEachWordReplacer | TranscribeReplaceReplacer)",
|
|
1839
|
+
value: value
|
|
1840
|
+
}) || _report(_exceptionable, {
|
|
1841
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
1842
|
+
expected: "(Array<TranscribeReplacer> | TranscribeForEachWordReplacer | TranscribeReplaceReplacer)",
|
|
1843
|
+
value: value
|
|
1844
|
+
}));
|
|
1845
|
+
}).every(flag => flag)].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [undefined === input.type || "replace" === input.type || _report(_exceptionable, {
|
|
1846
|
+
path: _path + ".type",
|
|
1847
|
+
expected: "(\"replace\" | undefined)",
|
|
1848
|
+
value: input.type
|
|
1849
|
+
}), true, (null !== input.replacement || _report(_exceptionable, {
|
|
1850
|
+
path: _path + ".replacement",
|
|
1851
|
+
expected: "(__type.o1 | string)",
|
|
1852
|
+
value: input.replacement
|
|
1853
|
+
})) && (undefined !== input.replacement || _report(_exceptionable, {
|
|
1854
|
+
path: _path + ".replacement",
|
|
1855
|
+
expected: "(__type.o1 | string)",
|
|
1856
|
+
value: input.replacement
|
|
1857
|
+
})) && ("function" === typeof input.replacement || "string" === typeof input.replacement || ("object" === typeof input.replacement && null !== input.replacement || _report(_exceptionable, {
|
|
1858
|
+
path: _path + ".replacement",
|
|
1859
|
+
expected: "(__type.o1 | string)",
|
|
1860
|
+
value: input.replacement
|
|
1861
|
+
})) && _vo5(input.replacement, _path + ".replacement", true && _exceptionable) || _report(_exceptionable, {
|
|
1862
|
+
path: _path + ".replacement",
|
|
1863
|
+
expected: "(__type.o1 | string)",
|
|
1864
|
+
value: input.replacement
|
|
1865
|
+
})), undefined === input.flags || "string" === typeof input.flags || _report(_exceptionable, {
|
|
1866
|
+
path: _path + ".flags",
|
|
1867
|
+
expected: "(string | undefined)",
|
|
1868
|
+
value: input.flags
|
|
1869
|
+
}), undefined === input._comment || "string" === typeof input._comment || _report(_exceptionable, {
|
|
1870
|
+
path: _path + "._comment",
|
|
1871
|
+
expected: "(string | undefined)",
|
|
1872
|
+
value: input._comment
|
|
1873
|
+
})].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
1874
|
+
path: _path + ".__context",
|
|
1875
|
+
expected: "__type.o2",
|
|
1876
|
+
value: input.__context
|
|
1877
|
+
})) && _vo6(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
1878
|
+
path: _path + ".__context",
|
|
1879
|
+
expected: "__type.o2",
|
|
1880
|
+
value: input.__context
|
|
1881
|
+
}), (null !== input.__returnValue || _report(_exceptionable, {
|
|
1882
|
+
path: _path + ".__returnValue",
|
|
1883
|
+
expected: "string",
|
|
1884
|
+
value: input.__returnValue
|
|
1885
|
+
})) && (undefined !== input.__returnValue || _report(_exceptionable, {
|
|
1886
|
+
path: _path + ".__returnValue",
|
|
1887
|
+
expected: "string",
|
|
1888
|
+
value: input.__returnValue
|
|
1889
|
+
})) && ("function" === typeof input.__returnValue || "string" === typeof input.__returnValue || _report(_exceptionable, {
|
|
1890
|
+
path: _path + ".__returnValue",
|
|
1891
|
+
expected: "string",
|
|
1892
|
+
value: input.__returnValue
|
|
1893
|
+
}))].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.item || _report(_exceptionable, {
|
|
1894
|
+
path: _path + ".item",
|
|
1895
|
+
expected: "string",
|
|
1896
|
+
value: input.item
|
|
1897
|
+
})].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => ["items" === input.type || _report(_exceptionable, {
|
|
1898
|
+
path: _path + ".type",
|
|
1899
|
+
expected: "\"items\"",
|
|
1900
|
+
value: input.type
|
|
1901
|
+
}), (Array.isArray(input.items) || _report(_exceptionable, {
|
|
1902
|
+
path: _path + ".items",
|
|
1903
|
+
expected: "Array<string>",
|
|
1904
|
+
value: input.items
|
|
1905
|
+
})) && input.items.map((elem, _index5) => "string" === typeof elem || _report(_exceptionable, {
|
|
1906
|
+
path: _path + ".items[" + _index5 + "]",
|
|
1907
|
+
expected: "string",
|
|
1908
|
+
value: elem
|
|
1909
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
1910
|
+
path: _path + ".items",
|
|
1911
|
+
expected: "Array<string>",
|
|
1912
|
+
value: input.items
|
|
1913
|
+
}), undefined === input._comment || "string" === typeof input._comment || _report(_exceptionable, {
|
|
1914
|
+
path: _path + "._comment",
|
|
1915
|
+
expected: "(string | undefined)",
|
|
1916
|
+
value: input._comment
|
|
1917
|
+
}), (Array.isArray(input.replacers) || _report(_exceptionable, {
|
|
1918
|
+
path: _path + ".replacers",
|
|
1919
|
+
expected: "Array<__type>",
|
|
1920
|
+
value: input.replacers
|
|
1921
|
+
})) && input.replacers.map((elem, _index6) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
1922
|
+
path: _path + ".replacers[" + _index6 + "]",
|
|
1923
|
+
expected: "__type.o3",
|
|
1924
|
+
value: elem
|
|
1925
|
+
})) && _vo8(elem, _path + ".replacers[" + _index6 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
1926
|
+
path: _path + ".replacers[" + _index6 + "]",
|
|
1927
|
+
expected: "__type.o3",
|
|
1928
|
+
value: elem
|
|
1929
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
1930
|
+
path: _path + ".replacers",
|
|
1931
|
+
expected: "Array<__type>",
|
|
1932
|
+
value: input.replacers
|
|
1933
|
+
})].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [true, (null !== input.replacement || _report(_exceptionable, {
|
|
1934
|
+
path: _path + ".replacement",
|
|
1935
|
+
expected: "(__type.o4 | string)",
|
|
1936
|
+
value: input.replacement
|
|
1937
|
+
})) && (undefined !== input.replacement || _report(_exceptionable, {
|
|
1938
|
+
path: _path + ".replacement",
|
|
1939
|
+
expected: "(__type.o4 | string)",
|
|
1940
|
+
value: input.replacement
|
|
1941
|
+
})) && ("function" === typeof input.replacement || "string" === typeof input.replacement || ("object" === typeof input.replacement && null !== input.replacement || _report(_exceptionable, {
|
|
1942
|
+
path: _path + ".replacement",
|
|
1943
|
+
expected: "(__type.o4 | string)",
|
|
1944
|
+
value: input.replacement
|
|
1945
|
+
})) && _vo9(input.replacement, _path + ".replacement", true && _exceptionable) || _report(_exceptionable, {
|
|
1946
|
+
path: _path + ".replacement",
|
|
1947
|
+
expected: "(__type.o4 | string)",
|
|
1948
|
+
value: input.replacement
|
|
1949
|
+
})), undefined === input.flags || "string" === typeof input.flags || _report(_exceptionable, {
|
|
1950
|
+
path: _path + ".flags",
|
|
1951
|
+
expected: "(string | undefined)",
|
|
1952
|
+
value: input.flags
|
|
1953
|
+
}), undefined === input._comment || "string" === typeof input._comment || _report(_exceptionable, {
|
|
1954
|
+
path: _path + "._comment",
|
|
1955
|
+
expected: "(string | undefined)",
|
|
1956
|
+
value: input._comment
|
|
1957
|
+
})].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
1958
|
+
path: _path + ".__context",
|
|
1959
|
+
expected: "__type.o5",
|
|
1960
|
+
value: input.__context
|
|
1961
|
+
})) && _vo10(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
1962
|
+
path: _path + ".__context",
|
|
1963
|
+
expected: "__type.o5",
|
|
1964
|
+
value: input.__context
|
|
1965
|
+
}), (null !== input.__returnValue || _report(_exceptionable, {
|
|
1966
|
+
path: _path + ".__returnValue",
|
|
1967
|
+
expected: "string",
|
|
1968
|
+
value: input.__returnValue
|
|
1969
|
+
})) && (undefined !== input.__returnValue || _report(_exceptionable, {
|
|
1970
|
+
path: _path + ".__returnValue",
|
|
1971
|
+
expected: "string",
|
|
1972
|
+
value: input.__returnValue
|
|
1973
|
+
})) && ("function" === typeof input.__returnValue || "string" === typeof input.__returnValue || _report(_exceptionable, {
|
|
1974
|
+
path: _path + ".__returnValue",
|
|
1975
|
+
expected: "string",
|
|
1976
|
+
value: input.__returnValue
|
|
1977
|
+
}))].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => ["string" === typeof input.item || _report(_exceptionable, {
|
|
1978
|
+
path: _path + ".item",
|
|
1979
|
+
expected: "string",
|
|
1980
|
+
value: input.item
|
|
1981
|
+
})].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
1982
|
+
if (undefined !== input.pattern)
|
|
1983
|
+
return _vo4(input, _path, true && _exceptionable);
|
|
1984
|
+
else if ("items" === input.type)
|
|
1985
|
+
return _vo7(input, _path, true && _exceptionable);
|
|
1986
|
+
else
|
|
1987
|
+
return _report(_exceptionable, {
|
|
1988
|
+
path: _path,
|
|
1989
|
+
expected: "(TranscribeReplaceReplacer | TranscribeForEachWordReplacer)",
|
|
1990
|
+
value: input
|
|
1991
|
+
});
|
|
1992
|
+
})(); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
|
|
1993
|
+
if (false === __is(input)) {
|
|
1994
|
+
errors = [];
|
|
1995
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
1996
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
1997
|
+
path: _path + "",
|
|
1998
|
+
expected: "MediaTranscribeRecord",
|
|
1999
|
+
value: input
|
|
2000
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
2001
|
+
path: _path + "",
|
|
2002
|
+
expected: "MediaTranscribeRecord",
|
|
2003
|
+
value: input
|
|
2004
|
+
}))(input, "$input", true);
|
|
2005
|
+
const success = 0 === errors.length;
|
|
2006
|
+
return success ? {
|
|
2007
|
+
success,
|
|
2008
|
+
data: input
|
|
2009
|
+
} : {
|
|
2010
|
+
success,
|
|
2011
|
+
errors,
|
|
2012
|
+
data: input
|
|
2013
|
+
};
|
|
2014
|
+
}
|
|
2015
|
+
return {
|
|
2016
|
+
success: true,
|
|
2017
|
+
data: input
|
|
2018
|
+
};
|
|
2019
|
+
}; })()(input);
|
|
2020
|
+
}
|
|
1749
2021
|
case "media.transcribe?": {
|
|
1750
|
-
return (() => { const _io0 = input => "object" === typeof input.engines && null !== input.engines && false === Array.isArray(input.engines) && _io1(input.engines) && ("object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) && _io1(input.languages)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io2(input.translate)); const _io1 = input => Object.keys(input).every(key => {
|
|
2022
|
+
return (() => { const _io0 = input => "object" === typeof input.engines && null !== input.engines && false === Array.isArray(input.engines) && _io1(input.engines) && ("object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) && _io1(input.languages)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io2(input.translate)) && (undefined === input.replacers || "object" === typeof input.replacers && null !== input.replacers && false === Array.isArray(input.replacers) && _io3(input.replacers)); const _io1 = input => Object.keys(input).every(key => {
|
|
1751
2023
|
const value = input[key];
|
|
1752
2024
|
if (undefined === value)
|
|
1753
2025
|
return true;
|
|
1754
2026
|
return "string" === typeof value;
|
|
1755
|
-
}); const _io2 = input => "object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) && _io1(input.languages); const
|
|
2027
|
+
}); const _io2 = input => "object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) && _io1(input.languages); const _io3 = input => Object.keys(input).every(key => {
|
|
2028
|
+
const value = input[key];
|
|
2029
|
+
if (undefined === value)
|
|
2030
|
+
return true;
|
|
2031
|
+
return null !== value && undefined !== value && (Array.isArray(value) && value.every(elem => "object" === typeof elem && null !== elem && _iu0(elem)) || "object" === typeof value && null !== value && _iu0(value));
|
|
2032
|
+
}); const _io4 = input => (undefined === input.type || "replace" === input.type) && true && (null !== input.replacement && undefined !== input.replacement && ("function" === typeof input.replacement || "string" === typeof input.replacement || "object" === typeof input.replacement && null !== input.replacement && _io5(input.replacement))) && (undefined === input.flags || "string" === typeof input.flags) && (undefined === input._comment || "string" === typeof input._comment); const _io5 = input => "object" === typeof input.__context && null !== input.__context && _io6(input.__context) && (null !== input.__returnValue && undefined !== input.__returnValue && ("function" === typeof input.__returnValue || "string" === typeof input.__returnValue)); const _io6 = input => "string" === typeof input.item; const _io7 = input => "items" === input.type && (Array.isArray(input.items) && input.items.every(elem => "string" === typeof elem)) && (undefined === input._comment || "string" === typeof input._comment) && (Array.isArray(input.replacers) && input.replacers.every(elem => "object" === typeof elem && null !== elem && _io8(elem))); const _io8 = input => true && (null !== input.replacement && undefined !== input.replacement && ("function" === typeof input.replacement || "string" === typeof input.replacement || "object" === typeof input.replacement && null !== input.replacement && _io9(input.replacement))) && (undefined === input.flags || "string" === typeof input.flags) && (undefined === input._comment || "string" === typeof input._comment); const _io9 = input => "object" === typeof input.__context && null !== input.__context && _io10(input.__context) && (null !== input.__returnValue && undefined !== input.__returnValue && ("function" === typeof input.__returnValue || "string" === typeof input.__returnValue)); const _io10 = input => "string" === typeof input.item; const _iu0 = input => (() => {
|
|
2033
|
+
if (undefined !== input.pattern)
|
|
2034
|
+
return _io4(input);
|
|
2035
|
+
else if ("items" === input.type)
|
|
2036
|
+
return _io7(input);
|
|
2037
|
+
else
|
|
2038
|
+
return false;
|
|
2039
|
+
})(); const _vo0 = (input, _path, _exceptionable = true) => [("object" === typeof input.engines && null !== input.engines && false === Array.isArray(input.engines) || _report(_exceptionable, {
|
|
1756
2040
|
path: _path + ".engines",
|
|
1757
2041
|
expected: "Record<string, string>",
|
|
1758
2042
|
value: input.engines
|
|
@@ -1776,6 +2060,14 @@ function _validateExactRecord(name, input) {
|
|
|
1776
2060
|
path: _path + ".translate",
|
|
1777
2061
|
expected: "(__type | undefined)",
|
|
1778
2062
|
value: input.translate
|
|
2063
|
+
}), undefined === input.replacers || ("object" === typeof input.replacers && null !== input.replacers && false === Array.isArray(input.replacers) || _report(_exceptionable, {
|
|
2064
|
+
path: _path + ".replacers",
|
|
2065
|
+
expected: "(Record<string, TranscribeReplacer | TranscribeReplacer[]> | undefined)",
|
|
2066
|
+
value: input.replacers
|
|
2067
|
+
})) && _vo3(input.replacers, _path + ".replacers", true && _exceptionable) || _report(_exceptionable, {
|
|
2068
|
+
path: _path + ".replacers",
|
|
2069
|
+
expected: "(Record<string, TranscribeReplacer | TranscribeReplacer[]> | undefined)",
|
|
2070
|
+
value: input.replacers
|
|
1779
2071
|
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
1780
2072
|
const value = input[key];
|
|
1781
2073
|
if (undefined === value)
|
|
@@ -1793,7 +2085,183 @@ function _validateExactRecord(name, input) {
|
|
|
1793
2085
|
path: _path + ".languages",
|
|
1794
2086
|
expected: "Record<string, string>",
|
|
1795
2087
|
value: input.languages
|
|
1796
|
-
})].every(flag => flag); const
|
|
2088
|
+
})].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
2089
|
+
const value = input[key];
|
|
2090
|
+
if (undefined === value)
|
|
2091
|
+
return true;
|
|
2092
|
+
return (null !== value || _report(_exceptionable, {
|
|
2093
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
2094
|
+
expected: "(Array<TranscribeReplacer> | TranscribeForEachWordReplacer | TranscribeReplaceReplacer)",
|
|
2095
|
+
value: value
|
|
2096
|
+
})) && (undefined !== value || _report(_exceptionable, {
|
|
2097
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
2098
|
+
expected: "(Array<TranscribeReplacer> | TranscribeForEachWordReplacer | TranscribeReplaceReplacer)",
|
|
2099
|
+
value: value
|
|
2100
|
+
})) && (Array.isArray(value) && value.map((elem, _index4) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
2101
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index4 + "]",
|
|
2102
|
+
expected: "(TranscribeForEachWordReplacer | TranscribeReplaceReplacer)",
|
|
2103
|
+
value: elem
|
|
2104
|
+
})) && _vu0(elem, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index4 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
2105
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index4 + "]",
|
|
2106
|
+
expected: "(TranscribeForEachWordReplacer | TranscribeReplaceReplacer)",
|
|
2107
|
+
value: elem
|
|
2108
|
+
})).every(flag => flag) || "object" === typeof value && null !== value && _vu0(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
2109
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
2110
|
+
expected: "(Array<TranscribeReplacer> | TranscribeForEachWordReplacer | TranscribeReplaceReplacer)",
|
|
2111
|
+
value: value
|
|
2112
|
+
}) || _report(_exceptionable, {
|
|
2113
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
2114
|
+
expected: "(Array<TranscribeReplacer> | TranscribeForEachWordReplacer | TranscribeReplaceReplacer)",
|
|
2115
|
+
value: value
|
|
2116
|
+
}));
|
|
2117
|
+
}).every(flag => flag)].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [undefined === input.type || "replace" === input.type || _report(_exceptionable, {
|
|
2118
|
+
path: _path + ".type",
|
|
2119
|
+
expected: "(\"replace\" | undefined)",
|
|
2120
|
+
value: input.type
|
|
2121
|
+
}), true, (null !== input.replacement || _report(_exceptionable, {
|
|
2122
|
+
path: _path + ".replacement",
|
|
2123
|
+
expected: "(__type.o1 | string)",
|
|
2124
|
+
value: input.replacement
|
|
2125
|
+
})) && (undefined !== input.replacement || _report(_exceptionable, {
|
|
2126
|
+
path: _path + ".replacement",
|
|
2127
|
+
expected: "(__type.o1 | string)",
|
|
2128
|
+
value: input.replacement
|
|
2129
|
+
})) && ("function" === typeof input.replacement || "string" === typeof input.replacement || ("object" === typeof input.replacement && null !== input.replacement || _report(_exceptionable, {
|
|
2130
|
+
path: _path + ".replacement",
|
|
2131
|
+
expected: "(__type.o1 | string)",
|
|
2132
|
+
value: input.replacement
|
|
2133
|
+
})) && _vo5(input.replacement, _path + ".replacement", true && _exceptionable) || _report(_exceptionable, {
|
|
2134
|
+
path: _path + ".replacement",
|
|
2135
|
+
expected: "(__type.o1 | string)",
|
|
2136
|
+
value: input.replacement
|
|
2137
|
+
})), undefined === input.flags || "string" === typeof input.flags || _report(_exceptionable, {
|
|
2138
|
+
path: _path + ".flags",
|
|
2139
|
+
expected: "(string | undefined)",
|
|
2140
|
+
value: input.flags
|
|
2141
|
+
}), undefined === input._comment || "string" === typeof input._comment || _report(_exceptionable, {
|
|
2142
|
+
path: _path + "._comment",
|
|
2143
|
+
expected: "(string | undefined)",
|
|
2144
|
+
value: input._comment
|
|
2145
|
+
})].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
2146
|
+
path: _path + ".__context",
|
|
2147
|
+
expected: "__type.o2",
|
|
2148
|
+
value: input.__context
|
|
2149
|
+
})) && _vo6(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
2150
|
+
path: _path + ".__context",
|
|
2151
|
+
expected: "__type.o2",
|
|
2152
|
+
value: input.__context
|
|
2153
|
+
}), (null !== input.__returnValue || _report(_exceptionable, {
|
|
2154
|
+
path: _path + ".__returnValue",
|
|
2155
|
+
expected: "string",
|
|
2156
|
+
value: input.__returnValue
|
|
2157
|
+
})) && (undefined !== input.__returnValue || _report(_exceptionable, {
|
|
2158
|
+
path: _path + ".__returnValue",
|
|
2159
|
+
expected: "string",
|
|
2160
|
+
value: input.__returnValue
|
|
2161
|
+
})) && ("function" === typeof input.__returnValue || "string" === typeof input.__returnValue || _report(_exceptionable, {
|
|
2162
|
+
path: _path + ".__returnValue",
|
|
2163
|
+
expected: "string",
|
|
2164
|
+
value: input.__returnValue
|
|
2165
|
+
}))].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.item || _report(_exceptionable, {
|
|
2166
|
+
path: _path + ".item",
|
|
2167
|
+
expected: "string",
|
|
2168
|
+
value: input.item
|
|
2169
|
+
})].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => ["items" === input.type || _report(_exceptionable, {
|
|
2170
|
+
path: _path + ".type",
|
|
2171
|
+
expected: "\"items\"",
|
|
2172
|
+
value: input.type
|
|
2173
|
+
}), (Array.isArray(input.items) || _report(_exceptionable, {
|
|
2174
|
+
path: _path + ".items",
|
|
2175
|
+
expected: "Array<string>",
|
|
2176
|
+
value: input.items
|
|
2177
|
+
})) && input.items.map((elem, _index5) => "string" === typeof elem || _report(_exceptionable, {
|
|
2178
|
+
path: _path + ".items[" + _index5 + "]",
|
|
2179
|
+
expected: "string",
|
|
2180
|
+
value: elem
|
|
2181
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
2182
|
+
path: _path + ".items",
|
|
2183
|
+
expected: "Array<string>",
|
|
2184
|
+
value: input.items
|
|
2185
|
+
}), undefined === input._comment || "string" === typeof input._comment || _report(_exceptionable, {
|
|
2186
|
+
path: _path + "._comment",
|
|
2187
|
+
expected: "(string | undefined)",
|
|
2188
|
+
value: input._comment
|
|
2189
|
+
}), (Array.isArray(input.replacers) || _report(_exceptionable, {
|
|
2190
|
+
path: _path + ".replacers",
|
|
2191
|
+
expected: "Array<__type>",
|
|
2192
|
+
value: input.replacers
|
|
2193
|
+
})) && input.replacers.map((elem, _index6) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
2194
|
+
path: _path + ".replacers[" + _index6 + "]",
|
|
2195
|
+
expected: "__type.o3",
|
|
2196
|
+
value: elem
|
|
2197
|
+
})) && _vo8(elem, _path + ".replacers[" + _index6 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
2198
|
+
path: _path + ".replacers[" + _index6 + "]",
|
|
2199
|
+
expected: "__type.o3",
|
|
2200
|
+
value: elem
|
|
2201
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
2202
|
+
path: _path + ".replacers",
|
|
2203
|
+
expected: "Array<__type>",
|
|
2204
|
+
value: input.replacers
|
|
2205
|
+
})].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [true, (null !== input.replacement || _report(_exceptionable, {
|
|
2206
|
+
path: _path + ".replacement",
|
|
2207
|
+
expected: "(__type.o4 | string)",
|
|
2208
|
+
value: input.replacement
|
|
2209
|
+
})) && (undefined !== input.replacement || _report(_exceptionable, {
|
|
2210
|
+
path: _path + ".replacement",
|
|
2211
|
+
expected: "(__type.o4 | string)",
|
|
2212
|
+
value: input.replacement
|
|
2213
|
+
})) && ("function" === typeof input.replacement || "string" === typeof input.replacement || ("object" === typeof input.replacement && null !== input.replacement || _report(_exceptionable, {
|
|
2214
|
+
path: _path + ".replacement",
|
|
2215
|
+
expected: "(__type.o4 | string)",
|
|
2216
|
+
value: input.replacement
|
|
2217
|
+
})) && _vo9(input.replacement, _path + ".replacement", true && _exceptionable) || _report(_exceptionable, {
|
|
2218
|
+
path: _path + ".replacement",
|
|
2219
|
+
expected: "(__type.o4 | string)",
|
|
2220
|
+
value: input.replacement
|
|
2221
|
+
})), undefined === input.flags || "string" === typeof input.flags || _report(_exceptionable, {
|
|
2222
|
+
path: _path + ".flags",
|
|
2223
|
+
expected: "(string | undefined)",
|
|
2224
|
+
value: input.flags
|
|
2225
|
+
}), undefined === input._comment || "string" === typeof input._comment || _report(_exceptionable, {
|
|
2226
|
+
path: _path + "._comment",
|
|
2227
|
+
expected: "(string | undefined)",
|
|
2228
|
+
value: input._comment
|
|
2229
|
+
})].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
2230
|
+
path: _path + ".__context",
|
|
2231
|
+
expected: "__type.o5",
|
|
2232
|
+
value: input.__context
|
|
2233
|
+
})) && _vo10(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
2234
|
+
path: _path + ".__context",
|
|
2235
|
+
expected: "__type.o5",
|
|
2236
|
+
value: input.__context
|
|
2237
|
+
}), (null !== input.__returnValue || _report(_exceptionable, {
|
|
2238
|
+
path: _path + ".__returnValue",
|
|
2239
|
+
expected: "string",
|
|
2240
|
+
value: input.__returnValue
|
|
2241
|
+
})) && (undefined !== input.__returnValue || _report(_exceptionable, {
|
|
2242
|
+
path: _path + ".__returnValue",
|
|
2243
|
+
expected: "string",
|
|
2244
|
+
value: input.__returnValue
|
|
2245
|
+
})) && ("function" === typeof input.__returnValue || "string" === typeof input.__returnValue || _report(_exceptionable, {
|
|
2246
|
+
path: _path + ".__returnValue",
|
|
2247
|
+
expected: "string",
|
|
2248
|
+
value: input.__returnValue
|
|
2249
|
+
}))].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => ["string" === typeof input.item || _report(_exceptionable, {
|
|
2250
|
+
path: _path + ".item",
|
|
2251
|
+
expected: "string",
|
|
2252
|
+
value: input.item
|
|
2253
|
+
})].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
2254
|
+
if (undefined !== input.pattern)
|
|
2255
|
+
return _vo4(input, _path, true && _exceptionable);
|
|
2256
|
+
else if ("items" === input.type)
|
|
2257
|
+
return _vo7(input, _path, true && _exceptionable);
|
|
2258
|
+
else
|
|
2259
|
+
return _report(_exceptionable, {
|
|
2260
|
+
path: _path,
|
|
2261
|
+
expected: "(TranscribeReplaceReplacer | TranscribeForEachWordReplacer)",
|
|
2262
|
+
value: input
|
|
2263
|
+
});
|
|
2264
|
+
})(); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
|
|
1797
2265
|
if (false === __is(input)) {
|
|
1798
2266
|
errors = [];
|
|
1799
2267
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
@@ -1936,7 +2404,7 @@ function _validateExactRecord(name, input) {
|
|
|
1936
2404
|
}; })()(input);
|
|
1937
2405
|
}
|
|
1938
2406
|
case "media.consolidate": {
|
|
1939
|
-
return (() => { const _io0 = input => undefined === input.presets || "object" === typeof input.presets && null !== input.presets && _io1(input.presets); const _io1 = input => null !== input.audio && undefined !== input.audio && ("string" === typeof input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io2(input.audio)) && (null !== input.video && undefined !== input.video && ("string" === typeof input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io2(input.video))) && (null !== input.image && undefined !== input.image && ("string" === typeof input.image || "object" === typeof input.image && null !== input.image && false === Array.isArray(input.image) && _io2(input.image))); const _io2 = 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 && _io3(elem))) || "object" === typeof input.profile && null !== input.profile && _io3(input.profile)))); const _io3 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io4(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io5(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io6(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) && _io7(input.subtitle))); const _io4 = input => "string" === typeof input.engine; const _io5 = input => "string" === typeof input.language; const _io6 = 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 _io7 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.presets || ("object" === typeof input.presets && null !== input.presets || _report(_exceptionable, {
|
|
2407
|
+
return (() => { const _io0 = input => undefined === input.presets || "object" === typeof input.presets && null !== input.presets && _io1(input.presets); const _io1 = input => null !== input.audio && undefined !== input.audio && ("string" === typeof input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io2(input.audio)) && (null !== input.video && undefined !== input.video && ("string" === typeof input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io2(input.video))) && (null !== input.image && undefined !== input.image && ("string" === typeof input.image || "object" === typeof input.image && null !== input.image && false === Array.isArray(input.image) && _io2(input.image))); const _io2 = 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 && _io3(elem))) || "object" === typeof input.profile && null !== input.profile && _io3(input.profile)))); const _io3 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io4(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io5(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io6(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) && _io7(input.subtitle))); const _io4 = input => "string" === typeof input.engine; const _io5 = input => "string" === typeof input.language; const _io6 = 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 _io7 = 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) && _io8(input.ccconverter)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io9(input.ass)); const _io8 = input => undefined === input.preset || "string" === typeof input.preset; const _io9 = 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) => [undefined === input.presets || ("object" === typeof input.presets && null !== input.presets || _report(_exceptionable, {
|
|
1940
2408
|
path: _path + ".presets",
|
|
1941
2409
|
expected: "(__type | undefined)",
|
|
1942
2410
|
value: input.presets
|
|
@@ -2108,6 +2576,38 @@ function _validateExactRecord(name, input) {
|
|
|
2108
2576
|
path: _path + ".style",
|
|
2109
2577
|
expected: "(string | undefined)",
|
|
2110
2578
|
value: input.style
|
|
2579
|
+
}), undefined === input.ccconverter || ("object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) || _report(_exceptionable, {
|
|
2580
|
+
path: _path + ".ccconverter",
|
|
2581
|
+
expected: "(__type.o4 | undefined)",
|
|
2582
|
+
value: input.ccconverter
|
|
2583
|
+
})) && _vo8(input.ccconverter, _path + ".ccconverter", true && _exceptionable) || _report(_exceptionable, {
|
|
2584
|
+
path: _path + ".ccconverter",
|
|
2585
|
+
expected: "(__type.o4 | undefined)",
|
|
2586
|
+
value: input.ccconverter
|
|
2587
|
+
}), undefined === input.ass || ("object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) || _report(_exceptionable, {
|
|
2588
|
+
path: _path + ".ass",
|
|
2589
|
+
expected: "(__type.o5 | undefined)",
|
|
2590
|
+
value: input.ass
|
|
2591
|
+
})) && _vo9(input.ass, _path + ".ass", true && _exceptionable) || _report(_exceptionable, {
|
|
2592
|
+
path: _path + ".ass",
|
|
2593
|
+
expected: "(__type.o5 | undefined)",
|
|
2594
|
+
value: input.ass
|
|
2595
|
+
})].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
2596
|
+
path: _path + ".preset",
|
|
2597
|
+
expected: "(string | undefined)",
|
|
2598
|
+
value: input.preset
|
|
2599
|
+
})].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping || _report(_exceptionable, {
|
|
2600
|
+
path: _path + ".futureWordWrapping",
|
|
2601
|
+
expected: "(boolean | undefined)",
|
|
2602
|
+
value: input.futureWordWrapping
|
|
2603
|
+
}), undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow || _report(_exceptionable, {
|
|
2604
|
+
path: _path + ".scaledBorderAndShadow",
|
|
2605
|
+
expected: "(boolean | undefined)",
|
|
2606
|
+
value: input.scaledBorderAndShadow
|
|
2607
|
+
}), undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack || _report(_exceptionable, {
|
|
2608
|
+
path: _path + ".enableUnsafeLineSpacingHack",
|
|
2609
|
+
expected: "(boolean | undefined)",
|
|
2610
|
+
value: input.enableUnsafeLineSpacingHack
|
|
2111
2611
|
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
2112
2612
|
if (false === __is(input)) {
|
|
2113
2613
|
errors = [];
|
|
@@ -2305,9 +2805,9 @@ function _validateDomainRecord(domain, input) {
|
|
|
2305
2805
|
{
|
|
2306
2806
|
switch (domain) {
|
|
2307
2807
|
case ":asset.title?": {
|
|
2308
|
-
return (() => { const _io0 = input => undefined === input.value || "string" === typeof input.value; const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.value || "string" === typeof input.value || _report(_exceptionable, {
|
|
2808
|
+
return (() => { const _io0 = input => null === input.value || undefined === input.value || "string" === typeof input.value; const _vo0 = (input, _path, _exceptionable = true) => [null === input.value || undefined === input.value || "string" === typeof input.value || _report(_exceptionable, {
|
|
2309
2809
|
path: _path + ".value",
|
|
2310
|
-
expected: "(string | undefined)",
|
|
2810
|
+
expected: "(null | string | undefined)",
|
|
2311
2811
|
value: input.value
|
|
2312
2812
|
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
2313
2813
|
if (false === __is(input)) {
|
|
@@ -7428,8 +7928,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
7428
7928
|
if (undefined === value)
|
|
7429
7929
|
return true;
|
|
7430
7930
|
return "object" === typeof value && null !== value && _io1(value);
|
|
7431
|
-
}); const _io1 = input => "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && _io2(input.data); const _io2 = input => (undefined === input.source || "string" === typeof input.source) && (undefined === input.cueCard || "string" === typeof input.cueCard || "boolean" === typeof input.cueCard) && (undefined === input.startTime || "number" === typeof input.startTime) && Object.keys(input).every(key => {
|
|
7432
|
-
if (["source", "cueCard", "startTime"].some(prop => key === prop))
|
|
7931
|
+
}); const _io1 = input => "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && _io2(input.data); const _io2 = input => (undefined === input.source || "string" === typeof input.source) && (undefined === input.cueCard || "string" === typeof input.cueCard || "boolean" === typeof input.cueCard) && (undefined === input.startTime || "number" === typeof input.startTime) && (null !== input.shotboxGroup && (undefined === input.shotboxGroup || "string" === typeof input.shotboxGroup || Array.isArray(input.shotboxGroup) && input.shotboxGroup.every(elem => "string" === typeof elem))) && (undefined === input.shotboxVisible || "boolean" === typeof input.shotboxVisible) && Object.keys(input).every(key => {
|
|
7932
|
+
if (["source", "cueCard", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
|
|
7433
7933
|
return true;
|
|
7434
7934
|
const value = input[key];
|
|
7435
7935
|
if (undefined === value)
|
|
@@ -7473,8 +7973,28 @@ function _validateDomainRecord(domain, input) {
|
|
|
7473
7973
|
path: _path + ".startTime",
|
|
7474
7974
|
expected: "(number | undefined)",
|
|
7475
7975
|
value: input.startTime
|
|
7976
|
+
}), (null !== input.shotboxGroup || _report(_exceptionable, {
|
|
7977
|
+
path: _path + ".shotboxGroup",
|
|
7978
|
+
expected: "(Array<string> | string | undefined)",
|
|
7979
|
+
value: input.shotboxGroup
|
|
7980
|
+
})) && (undefined === input.shotboxGroup || "string" === typeof input.shotboxGroup || (Array.isArray(input.shotboxGroup) || _report(_exceptionable, {
|
|
7981
|
+
path: _path + ".shotboxGroup",
|
|
7982
|
+
expected: "(Array<string> | string | undefined)",
|
|
7983
|
+
value: input.shotboxGroup
|
|
7984
|
+
})) && input.shotboxGroup.map((elem, _index3) => "string" === typeof elem || _report(_exceptionable, {
|
|
7985
|
+
path: _path + ".shotboxGroup[" + _index3 + "]",
|
|
7986
|
+
expected: "string",
|
|
7987
|
+
value: elem
|
|
7988
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
7989
|
+
path: _path + ".shotboxGroup",
|
|
7990
|
+
expected: "(Array<string> | string | undefined)",
|
|
7991
|
+
value: input.shotboxGroup
|
|
7992
|
+
})), undefined === input.shotboxVisible || "boolean" === typeof input.shotboxVisible || _report(_exceptionable, {
|
|
7993
|
+
path: _path + ".shotboxVisible",
|
|
7994
|
+
expected: "(boolean | undefined)",
|
|
7995
|
+
value: input.shotboxVisible
|
|
7476
7996
|
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
7477
|
-
if (["source", "cueCard", "startTime"].some(prop => key === prop))
|
|
7997
|
+
if (["source", "cueCard", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
|
|
7478
7998
|
return true;
|
|
7479
7999
|
const value = input[key];
|
|
7480
8000
|
if (undefined === value)
|
|
@@ -7517,20 +8037,20 @@ function _validateDomainRecord(domain, input) {
|
|
|
7517
8037
|
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
7518
8038
|
value: value
|
|
7519
8039
|
}));
|
|
7520
|
-
}).every(flag => flag)].every(flag => flag); const _va0 = (input, _path, _exceptionable = true) => input.map((elem,
|
|
7521
|
-
path: _path + "[" +
|
|
8040
|
+
}).every(flag => flag)].every(flag => flag); const _va0 = (input, _path, _exceptionable = true) => input.map((elem, _index4) => (undefined !== elem || _report(_exceptionable, {
|
|
8041
|
+
path: _path + "[" + _index4 + "]",
|
|
7522
8042
|
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
7523
8043
|
value: elem
|
|
7524
|
-
})) && (null === elem || "string" === typeof elem || "number" === typeof elem || "boolean" === typeof elem || (Array.isArray(elem) && (_va0(elem, _path + "[" +
|
|
7525
|
-
path: _path + "[" +
|
|
8044
|
+
})) && (null === elem || "string" === typeof elem || "number" === typeof elem || "boolean" === typeof elem || (Array.isArray(elem) && (_va0(elem, _path + "[" + _index4 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
8045
|
+
path: _path + "[" + _index4 + "]",
|
|
7526
8046
|
expected: "Array<JsonValue>",
|
|
7527
8047
|
value: elem
|
|
7528
|
-
})) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _vo3(elem, _path + "[" +
|
|
7529
|
-
path: _path + "[" +
|
|
8048
|
+
})) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _vo3(elem, _path + "[" + _index4 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
8049
|
+
path: _path + "[" + _index4 + "]",
|
|
7530
8050
|
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
7531
8051
|
value: elem
|
|
7532
8052
|
})) || _report(_exceptionable, {
|
|
7533
|
-
path: _path + "[" +
|
|
8053
|
+
path: _path + "[" + _index4 + "]",
|
|
7534
8054
|
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
7535
8055
|
value: elem
|
|
7536
8056
|
}))).every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
@@ -7713,8 +8233,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
7713
8233
|
}; })()(input);
|
|
7714
8234
|
}
|
|
7715
8235
|
case ":event.props?": {
|
|
7716
|
-
return (() => { const _io0 = input => (undefined === input.source || "string" === typeof input.source) && (undefined === input.cueCard || "string" === typeof input.cueCard || "boolean" === typeof input.cueCard) && (undefined === input.startTime || "number" === typeof input.startTime) && Object.keys(input).every(key => {
|
|
7717
|
-
if (["source", "cueCard", "startTime"].some(prop => key === prop))
|
|
8236
|
+
return (() => { const _io0 = input => (undefined === input.source || "string" === typeof input.source) && (undefined === input.cueCard || "string" === typeof input.cueCard || "boolean" === typeof input.cueCard) && (undefined === input.startTime || "number" === typeof input.startTime) && (null !== input.shotboxGroup && (undefined === input.shotboxGroup || "string" === typeof input.shotboxGroup || Array.isArray(input.shotboxGroup) && input.shotboxGroup.every(elem => "string" === typeof elem))) && (undefined === input.shotboxVisible || "boolean" === typeof input.shotboxVisible) && Object.keys(input).every(key => {
|
|
8237
|
+
if (["source", "cueCard", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
|
|
7718
8238
|
return true;
|
|
7719
8239
|
const value = input[key];
|
|
7720
8240
|
if (undefined === value)
|
|
@@ -7737,8 +8257,28 @@ function _validateDomainRecord(domain, input) {
|
|
|
7737
8257
|
path: _path + ".startTime",
|
|
7738
8258
|
expected: "(number | undefined)",
|
|
7739
8259
|
value: input.startTime
|
|
8260
|
+
}), (null !== input.shotboxGroup || _report(_exceptionable, {
|
|
8261
|
+
path: _path + ".shotboxGroup",
|
|
8262
|
+
expected: "(Array<string> | string | undefined)",
|
|
8263
|
+
value: input.shotboxGroup
|
|
8264
|
+
})) && (undefined === input.shotboxGroup || "string" === typeof input.shotboxGroup || (Array.isArray(input.shotboxGroup) || _report(_exceptionable, {
|
|
8265
|
+
path: _path + ".shotboxGroup",
|
|
8266
|
+
expected: "(Array<string> | string | undefined)",
|
|
8267
|
+
value: input.shotboxGroup
|
|
8268
|
+
})) && input.shotboxGroup.map((elem, _index3) => "string" === typeof elem || _report(_exceptionable, {
|
|
8269
|
+
path: _path + ".shotboxGroup[" + _index3 + "]",
|
|
8270
|
+
expected: "string",
|
|
8271
|
+
value: elem
|
|
8272
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
8273
|
+
path: _path + ".shotboxGroup",
|
|
8274
|
+
expected: "(Array<string> | string | undefined)",
|
|
8275
|
+
value: input.shotboxGroup
|
|
8276
|
+
})), undefined === input.shotboxVisible || "boolean" === typeof input.shotboxVisible || _report(_exceptionable, {
|
|
8277
|
+
path: _path + ".shotboxVisible",
|
|
8278
|
+
expected: "(boolean | undefined)",
|
|
8279
|
+
value: input.shotboxVisible
|
|
7740
8280
|
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
7741
|
-
if (["source", "cueCard", "startTime"].some(prop => key === prop))
|
|
8281
|
+
if (["source", "cueCard", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
|
|
7742
8282
|
return true;
|
|
7743
8283
|
const value = input[key];
|
|
7744
8284
|
if (undefined === value)
|
|
@@ -7781,20 +8321,20 @@ function _validateDomainRecord(domain, input) {
|
|
|
7781
8321
|
expected: "(Array<JsonValue> | __type | boolean | null | number | string)",
|
|
7782
8322
|
value: value
|
|
7783
8323
|
}));
|
|
7784
|
-
}).every(flag => flag)].every(flag => flag); const _va0 = (input, _path, _exceptionable = true) => input.map((elem,
|
|
7785
|
-
path: _path + "[" +
|
|
8324
|
+
}).every(flag => flag)].every(flag => flag); const _va0 = (input, _path, _exceptionable = true) => input.map((elem, _index4) => (undefined !== elem || _report(_exceptionable, {
|
|
8325
|
+
path: _path + "[" + _index4 + "]",
|
|
7786
8326
|
expected: "(Array<JsonValue> | __type | boolean | null | number | string)",
|
|
7787
8327
|
value: elem
|
|
7788
|
-
})) && (null === elem || "string" === typeof elem || "number" === typeof elem || "boolean" === typeof elem || (Array.isArray(elem) && (_va0(elem, _path + "[" +
|
|
7789
|
-
path: _path + "[" +
|
|
8328
|
+
})) && (null === elem || "string" === typeof elem || "number" === typeof elem || "boolean" === typeof elem || (Array.isArray(elem) && (_va0(elem, _path + "[" + _index4 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
8329
|
+
path: _path + "[" + _index4 + "]",
|
|
7790
8330
|
expected: "Array<JsonValue>",
|
|
7791
8331
|
value: elem
|
|
7792
|
-
})) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _vo1(elem, _path + "[" +
|
|
7793
|
-
path: _path + "[" +
|
|
8332
|
+
})) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _vo1(elem, _path + "[" + _index4 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
8333
|
+
path: _path + "[" + _index4 + "]",
|
|
7794
8334
|
expected: "(Array<JsonValue> | __type | boolean | null | number | string)",
|
|
7795
8335
|
value: elem
|
|
7796
8336
|
})) || _report(_exceptionable, {
|
|
7797
|
-
path: _path + "[" +
|
|
8337
|
+
path: _path + "[" + _index4 + "]",
|
|
7798
8338
|
expected: "(Array<JsonValue> | __type | boolean | null | number | string)",
|
|
7799
8339
|
value: elem
|
|
7800
8340
|
}))).every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
@@ -8377,6 +8917,48 @@ function _validateDomainRecord(domain, input) {
|
|
|
8377
8917
|
};
|
|
8378
8918
|
}; })()(input);
|
|
8379
8919
|
}
|
|
8920
|
+
case ":folder.items": {
|
|
8921
|
+
return (() => { const _io0 = input => Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); const _vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.value) || _report(_exceptionable, {
|
|
8922
|
+
path: _path + ".value",
|
|
8923
|
+
expected: "Array<string>",
|
|
8924
|
+
value: input.value
|
|
8925
|
+
})) && input.value.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
|
|
8926
|
+
path: _path + ".value[" + _index2 + "]",
|
|
8927
|
+
expected: "string",
|
|
8928
|
+
value: elem
|
|
8929
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
8930
|
+
path: _path + ".value",
|
|
8931
|
+
expected: "Array<string>",
|
|
8932
|
+
value: input.value
|
|
8933
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
|
|
8934
|
+
if (false === __is(input)) {
|
|
8935
|
+
errors = [];
|
|
8936
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
8937
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
8938
|
+
path: _path + "",
|
|
8939
|
+
expected: "FolderItemsDomainRecord",
|
|
8940
|
+
value: input
|
|
8941
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
8942
|
+
path: _path + "",
|
|
8943
|
+
expected: "FolderItemsDomainRecord",
|
|
8944
|
+
value: input
|
|
8945
|
+
}))(input, "$input", true);
|
|
8946
|
+
const success = 0 === errors.length;
|
|
8947
|
+
return success ? {
|
|
8948
|
+
success,
|
|
8949
|
+
data: input
|
|
8950
|
+
} : {
|
|
8951
|
+
success,
|
|
8952
|
+
errors,
|
|
8953
|
+
data: input
|
|
8954
|
+
};
|
|
8955
|
+
}
|
|
8956
|
+
return {
|
|
8957
|
+
success: true,
|
|
8958
|
+
data: input
|
|
8959
|
+
};
|
|
8960
|
+
}; })()(input);
|
|
8961
|
+
}
|
|
8380
8962
|
case ":general.title": {
|
|
8381
8963
|
return (() => { const _io0 = input => undefined === input.value || "string" === typeof input.value; const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.value || "string" === typeof input.value || _report(_exceptionable, {
|
|
8382
8964
|
path: _path + ".value",
|
|
@@ -9113,7 +9695,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9113
9695
|
if (undefined === value)
|
|
9114
9696
|
return true;
|
|
9115
9697
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io3(value);
|
|
9116
|
-
}); const _io3 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io4(input.styleOverrides)); const _io4 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io5 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io6(input.crop); const _io6 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io7 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
9698
|
+
}); const _io3 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io4(input.styleOverrides)); const _io4 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io5 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io6(input.crop); const _io6 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io7 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
9117
9699
|
path: _path + ".id",
|
|
9118
9700
|
expected: "(string | undefined)",
|
|
9119
9701
|
value: input.id
|
|
@@ -9258,6 +9840,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
9258
9840
|
path: _path + ".spacing",
|
|
9259
9841
|
expected: "(string | undefined)",
|
|
9260
9842
|
value: input.spacing
|
|
9843
|
+
}), undefined === input.lineSpacing || "string" === typeof input.lineSpacing || _report(_exceptionable, {
|
|
9844
|
+
path: _path + ".lineSpacing",
|
|
9845
|
+
expected: "(string | undefined)",
|
|
9846
|
+
value: input.lineSpacing
|
|
9261
9847
|
}), undefined === input.angle || "string" === typeof input.angle || _report(_exceptionable, {
|
|
9262
9848
|
path: _path + ".angle",
|
|
9263
9849
|
expected: "(string | undefined)",
|
|
@@ -9364,7 +9950,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9364
9950
|
}; })()(input);
|
|
9365
9951
|
}
|
|
9366
9952
|
case ":media.consolidate": {
|
|
9367
|
-
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); const _vo0 = (input, _path, _exceptionable = true) => [true, true, (null !== input.preset || _report(_exceptionable, {
|
|
9953
|
+
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, {
|
|
9368
9954
|
path: _path + ".preset",
|
|
9369
9955
|
expected: "(RenderPresetObject | string | undefined)",
|
|
9370
9956
|
value: input.preset
|
|
@@ -9492,6 +10078,38 @@ function _validateDomainRecord(domain, input) {
|
|
|
9492
10078
|
path: _path + ".style",
|
|
9493
10079
|
expected: "(string | undefined)",
|
|
9494
10080
|
value: input.style
|
|
10081
|
+
}), undefined === input.ccconverter || ("object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) || _report(_exceptionable, {
|
|
10082
|
+
path: _path + ".ccconverter",
|
|
10083
|
+
expected: "(__type.o3 | undefined)",
|
|
10084
|
+
value: input.ccconverter
|
|
10085
|
+
})) && _vo7(input.ccconverter, _path + ".ccconverter", true && _exceptionable) || _report(_exceptionable, {
|
|
10086
|
+
path: _path + ".ccconverter",
|
|
10087
|
+
expected: "(__type.o3 | undefined)",
|
|
10088
|
+
value: input.ccconverter
|
|
10089
|
+
}), undefined === input.ass || ("object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) || _report(_exceptionable, {
|
|
10090
|
+
path: _path + ".ass",
|
|
10091
|
+
expected: "(__type.o4 | undefined)",
|
|
10092
|
+
value: input.ass
|
|
10093
|
+
})) && _vo8(input.ass, _path + ".ass", true && _exceptionable) || _report(_exceptionable, {
|
|
10094
|
+
path: _path + ".ass",
|
|
10095
|
+
expected: "(__type.o4 | undefined)",
|
|
10096
|
+
value: input.ass
|
|
10097
|
+
})].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
10098
|
+
path: _path + ".preset",
|
|
10099
|
+
expected: "(string | undefined)",
|
|
10100
|
+
value: input.preset
|
|
10101
|
+
})].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping || _report(_exceptionable, {
|
|
10102
|
+
path: _path + ".futureWordWrapping",
|
|
10103
|
+
expected: "(boolean | undefined)",
|
|
10104
|
+
value: input.futureWordWrapping
|
|
10105
|
+
}), undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow || _report(_exceptionable, {
|
|
10106
|
+
path: _path + ".scaledBorderAndShadow",
|
|
10107
|
+
expected: "(boolean | undefined)",
|
|
10108
|
+
value: input.scaledBorderAndShadow
|
|
10109
|
+
}), undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack || _report(_exceptionable, {
|
|
10110
|
+
path: _path + ".enableUnsafeLineSpacingHack",
|
|
10111
|
+
expected: "(boolean | undefined)",
|
|
10112
|
+
value: input.enableUnsafeLineSpacingHack
|
|
9495
10113
|
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
9496
10114
|
if (false === __is(input)) {
|
|
9497
10115
|
errors = [];
|
|
@@ -11716,46 +12334,46 @@ function _validateDomainRecord(domain, input) {
|
|
|
11716
12334
|
}; })()(input);
|
|
11717
12335
|
}
|
|
11718
12336
|
case ":publish": {
|
|
11719
|
-
return (() => { const _io0 = input => (null === input.type || undefined === input.type) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && true && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error &&
|
|
12337
|
+
return (() => { const _io0 = input => (null === input.type || undefined === input.type) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && true && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io17(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io18(elem))); const _io1 = input => (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io2(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io10(input.profile)); const _io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (null === input.input || undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io3(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io4(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io7(input.video)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io9(input.transcribe)); const _io3 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file); const _io4 = input => Object.keys(input).every(key => {
|
|
11720
12338
|
const value = input[key];
|
|
11721
12339
|
if (undefined === value)
|
|
11722
12340
|
return true;
|
|
11723
12341
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io5(value);
|
|
11724
|
-
}); const _io5 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io6(input.styleOverrides)); const _io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io7 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io8(input.crop); const _io8 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io9 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io10 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io11(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io12(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io13(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) && _io14(input.subtitle))); const _io11 = input => "string" === typeof input.engine; const _io12 = input => "string" === typeof input.language; const _io13 = 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 _io14 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _io15 = input => "string" === typeof input.
|
|
12342
|
+
}); const _io5 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io6(input.styleOverrides)); const _io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io7 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io8(input.crop); const _io8 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io9 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io10 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io11(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io12(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io13(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) && _io14(input.subtitle))); const _io11 = input => "string" === typeof input.engine; const _io12 = input => "string" === typeof input.language; const _io13 = 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 _io14 = 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) && _io15(input.ccconverter)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io16(input.ass)); const _io15 = input => undefined === input.preset || "string" === typeof input.preset; const _io16 = input => (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack); const _io17 = input => "string" === typeof input.method; const _io18 = input => "number" === typeof input.level && "string" === typeof input.code && "string" === typeof input.msg; const _io19 = input => (undefined === input.type || "facebook" === input.type) && (undefined === input.pageId || "string" === typeof input.pageId) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && true && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io17(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io18(elem))); const _io20 = input => (undefined === input.type || "file" === input.type) && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io21(input.renders)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io25(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io26(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io29(input.published)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io17(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io18(elem))); const _io21 = input => Object.keys(input).every(key => {
|
|
11725
12343
|
const value = input[key];
|
|
11726
12344
|
if (undefined === value)
|
|
11727
12345
|
return true;
|
|
11728
12346
|
return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && _iu0(value));
|
|
11729
|
-
}); const
|
|
12347
|
+
}); const _io22 = input => (undefined === input.name || "string" === typeof input.name) && "string" === typeof input.path && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene) && (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io2(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io10(input.profile)); const _io23 = input => "object" === typeof input.__context && null !== input.__context && _io24(input.__context) && ("object" === typeof input.__returnValue && null !== input.__returnValue && _io22(input.__returnValue)); const _io24 = input => "object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) && _io20(input.publish) && "string" === typeof input.directory && "string" === typeof input.name; const _io25 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename); const _io26 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io27(input.renders)); const _io27 = input => Object.keys(input).every(key => {
|
|
11730
12348
|
const value = input[key];
|
|
11731
12349
|
if (undefined === value)
|
|
11732
12350
|
return true;
|
|
11733
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
11734
|
-
}); const
|
|
12351
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io28(value);
|
|
12352
|
+
}); const _io28 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io18(elem))) && true && (undefined === input.size || "number" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash) && (undefined === input.source || "string" === typeof input.source); const _io29 = input => (undefined === input.directory || "string" === typeof input.directory) && "string" === typeof input.filename; const _io30 = input => (undefined === input.type || "file" === input.type) && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io25(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && _io31(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io29(input.published)) && (null !== input.renders && undefined === input.renders) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io17(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io18(elem))); const _io31 = input => (undefined === input.id || "string" === typeof input.id) && "string" === typeof input.path && "string" === typeof input.filename && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && _io32(input.subtitle)) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && _io33(input.metafile)) && Object.keys(input).every(key => {
|
|
11735
12353
|
if (["id", "path", "filename", "directory", "subtitle", "metafile"].some(prop => key === prop))
|
|
11736
12354
|
return true;
|
|
11737
12355
|
const value = input[key];
|
|
11738
12356
|
if (undefined === value)
|
|
11739
12357
|
return true;
|
|
11740
12358
|
return true;
|
|
11741
|
-
}); const
|
|
12359
|
+
}); const _io32 = input => "string" === typeof input.path; const _io33 = input => "string" === typeof input.path; const _io34 = input => (undefined === input.type || "youtube" === input.type) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io35(input.draft)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io17(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io18(elem))); const _io35 = input => undefined === input.snippet || "object" === typeof input.snippet && null !== input.snippet && false === Array.isArray(input.snippet) && _io36(input.snippet); const _io36 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.description || "string" === typeof input.description); const _iu0 = input => (() => {
|
|
11742
12360
|
if (undefined !== input.path)
|
|
11743
|
-
return
|
|
12361
|
+
return _io22(input);
|
|
11744
12362
|
else if (undefined !== input.__context)
|
|
11745
|
-
return
|
|
12363
|
+
return _io23(input);
|
|
11746
12364
|
else
|
|
11747
12365
|
return false;
|
|
11748
12366
|
})(); const _iu1 = input => (() => {
|
|
11749
12367
|
if (_io0(input))
|
|
11750
12368
|
return _io0(input);
|
|
11751
|
-
if (
|
|
11752
|
-
return
|
|
11753
|
-
if (
|
|
11754
|
-
return
|
|
11755
|
-
if (
|
|
11756
|
-
return
|
|
11757
|
-
if (
|
|
11758
|
-
return
|
|
12369
|
+
if (_io19(input))
|
|
12370
|
+
return _io19(input);
|
|
12371
|
+
if (_io30(input))
|
|
12372
|
+
return _io30(input);
|
|
12373
|
+
if (_io20(input))
|
|
12374
|
+
return _io20(input);
|
|
12375
|
+
if (_io34(input))
|
|
12376
|
+
return _io34(input);
|
|
11759
12377
|
return false;
|
|
11760
12378
|
})(); const _vo0 = (input, _path, _exceptionable = true) => [null === input.type || undefined === input.type || _report(_exceptionable, {
|
|
11761
12379
|
path: _path + ".type",
|
|
@@ -11779,11 +12397,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
11779
12397
|
value: input.render
|
|
11780
12398
|
}), true, true, true, null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
11781
12399
|
path: _path + ".error",
|
|
11782
|
-
expected: "(__type.
|
|
12400
|
+
expected: "(__type.o11 | null | undefined)",
|
|
11783
12401
|
value: input.error
|
|
11784
|
-
})) &&
|
|
12402
|
+
})) && _vo17(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
11785
12403
|
path: _path + ".error",
|
|
11786
|
-
expected: "(__type.
|
|
12404
|
+
expected: "(__type.o11 | null | undefined)",
|
|
11787
12405
|
value: input.error
|
|
11788
12406
|
}), undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
11789
12407
|
path: _path + ".messages",
|
|
@@ -11793,7 +12411,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
11793
12411
|
path: _path + ".messages[" + _index10 + "]",
|
|
11794
12412
|
expected: "Message",
|
|
11795
12413
|
value: elem
|
|
11796
|
-
})) &&
|
|
12414
|
+
})) && _vo18(elem, _path + ".messages[" + _index10 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
11797
12415
|
path: _path + ".messages[" + _index10 + "]",
|
|
11798
12416
|
expected: "Message",
|
|
11799
12417
|
value: elem
|
|
@@ -11970,6 +12588,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
11970
12588
|
path: _path + ".spacing",
|
|
11971
12589
|
expected: "(string | undefined)",
|
|
11972
12590
|
value: input.spacing
|
|
12591
|
+
}), undefined === input.lineSpacing || "string" === typeof input.lineSpacing || _report(_exceptionable, {
|
|
12592
|
+
path: _path + ".lineSpacing",
|
|
12593
|
+
expected: "(string | undefined)",
|
|
12594
|
+
value: input.lineSpacing
|
|
11973
12595
|
}), undefined === input.angle || "string" === typeof input.angle || _report(_exceptionable, {
|
|
11974
12596
|
path: _path + ".angle",
|
|
11975
12597
|
expected: "(string | undefined)",
|
|
@@ -12130,11 +12752,43 @@ function _validateDomainRecord(domain, input) {
|
|
|
12130
12752
|
path: _path + ".style",
|
|
12131
12753
|
expected: "(string | undefined)",
|
|
12132
12754
|
value: input.style
|
|
12133
|
-
})
|
|
12755
|
+
}), undefined === input.ccconverter || ("object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) || _report(_exceptionable, {
|
|
12756
|
+
path: _path + ".ccconverter",
|
|
12757
|
+
expected: "(__type.o9 | undefined)",
|
|
12758
|
+
value: input.ccconverter
|
|
12759
|
+
})) && _vo15(input.ccconverter, _path + ".ccconverter", true && _exceptionable) || _report(_exceptionable, {
|
|
12760
|
+
path: _path + ".ccconverter",
|
|
12761
|
+
expected: "(__type.o9 | undefined)",
|
|
12762
|
+
value: input.ccconverter
|
|
12763
|
+
}), undefined === input.ass || ("object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) || _report(_exceptionable, {
|
|
12764
|
+
path: _path + ".ass",
|
|
12765
|
+
expected: "(__type.o10 | undefined)",
|
|
12766
|
+
value: input.ass
|
|
12767
|
+
})) && _vo16(input.ass, _path + ".ass", true && _exceptionable) || _report(_exceptionable, {
|
|
12768
|
+
path: _path + ".ass",
|
|
12769
|
+
expected: "(__type.o10 | undefined)",
|
|
12770
|
+
value: input.ass
|
|
12771
|
+
})].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
12772
|
+
path: _path + ".preset",
|
|
12773
|
+
expected: "(string | undefined)",
|
|
12774
|
+
value: input.preset
|
|
12775
|
+
})].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping || _report(_exceptionable, {
|
|
12776
|
+
path: _path + ".futureWordWrapping",
|
|
12777
|
+
expected: "(boolean | undefined)",
|
|
12778
|
+
value: input.futureWordWrapping
|
|
12779
|
+
}), undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow || _report(_exceptionable, {
|
|
12780
|
+
path: _path + ".scaledBorderAndShadow",
|
|
12781
|
+
expected: "(boolean | undefined)",
|
|
12782
|
+
value: input.scaledBorderAndShadow
|
|
12783
|
+
}), undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack || _report(_exceptionable, {
|
|
12784
|
+
path: _path + ".enableUnsafeLineSpacingHack",
|
|
12785
|
+
expected: "(boolean | undefined)",
|
|
12786
|
+
value: input.enableUnsafeLineSpacingHack
|
|
12787
|
+
})].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => ["string" === typeof input.method || _report(_exceptionable, {
|
|
12134
12788
|
path: _path + ".method",
|
|
12135
12789
|
expected: "string",
|
|
12136
12790
|
value: input.method
|
|
12137
|
-
})].every(flag => flag); const
|
|
12791
|
+
})].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => ["number" === typeof input.level || _report(_exceptionable, {
|
|
12138
12792
|
path: _path + ".level",
|
|
12139
12793
|
expected: "number",
|
|
12140
12794
|
value: input.level
|
|
@@ -12146,7 +12800,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12146
12800
|
path: _path + ".msg",
|
|
12147
12801
|
expected: "string",
|
|
12148
12802
|
value: input.msg
|
|
12149
|
-
})].every(flag => flag); const
|
|
12803
|
+
})].every(flag => flag); const _vo19 = (input, _path, _exceptionable = true) => [undefined === input.type || "facebook" === input.type || _report(_exceptionable, {
|
|
12150
12804
|
path: _path + ".type",
|
|
12151
12805
|
expected: "(\"facebook\" | undefined)",
|
|
12152
12806
|
value: input.type
|
|
@@ -12172,11 +12826,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
12172
12826
|
value: input.render
|
|
12173
12827
|
}), true, true, true, null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
12174
12828
|
path: _path + ".error",
|
|
12175
|
-
expected: "(__type.
|
|
12829
|
+
expected: "(__type.o11 | null | undefined)",
|
|
12176
12830
|
value: input.error
|
|
12177
|
-
})) &&
|
|
12831
|
+
})) && _vo17(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
12178
12832
|
path: _path + ".error",
|
|
12179
|
-
expected: "(__type.
|
|
12833
|
+
expected: "(__type.o11 | null | undefined)",
|
|
12180
12834
|
value: input.error
|
|
12181
12835
|
}), undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
12182
12836
|
path: _path + ".messages",
|
|
@@ -12186,7 +12840,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12186
12840
|
path: _path + ".messages[" + _index13 + "]",
|
|
12187
12841
|
expected: "Message",
|
|
12188
12842
|
value: elem
|
|
12189
|
-
})) &&
|
|
12843
|
+
})) && _vo18(elem, _path + ".messages[" + _index13 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
12190
12844
|
path: _path + ".messages[" + _index13 + "]",
|
|
12191
12845
|
expected: "Message",
|
|
12192
12846
|
value: elem
|
|
@@ -12194,7 +12848,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12194
12848
|
path: _path + ".messages",
|
|
12195
12849
|
expected: "(Array<Message> | undefined)",
|
|
12196
12850
|
value: input.messages
|
|
12197
|
-
})].every(flag => flag); const
|
|
12851
|
+
})].every(flag => flag); const _vo20 = (input, _path, _exceptionable = true) => [undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
12198
12852
|
path: _path + ".type",
|
|
12199
12853
|
expected: "(\"file\" | undefined)",
|
|
12200
12854
|
value: input.type
|
|
@@ -12210,7 +12864,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12210
12864
|
path: _path + ".renders",
|
|
12211
12865
|
expected: "(Record<string, FilePublishRender> | undefined)",
|
|
12212
12866
|
value: input.renders
|
|
12213
|
-
})) &&
|
|
12867
|
+
})) && _vo21(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
12214
12868
|
path: _path + ".renders",
|
|
12215
12869
|
expected: "(Record<string, FilePublishRender> | undefined)",
|
|
12216
12870
|
value: input.renders
|
|
@@ -12218,7 +12872,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12218
12872
|
path: _path + ".draft",
|
|
12219
12873
|
expected: "(FilePublishDraft | undefined)",
|
|
12220
12874
|
value: input.draft
|
|
12221
|
-
})) &&
|
|
12875
|
+
})) && _vo25(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
12222
12876
|
path: _path + ".draft",
|
|
12223
12877
|
expected: "(FilePublishDraft | undefined)",
|
|
12224
12878
|
value: input.draft
|
|
@@ -12226,7 +12880,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12226
12880
|
path: _path + ".remote",
|
|
12227
12881
|
expected: "(FilePublishRemote | undefined)",
|
|
12228
12882
|
value: input.remote
|
|
12229
|
-
})) &&
|
|
12883
|
+
})) && _vo26(input.remote, _path + ".remote", true && _exceptionable) || _report(_exceptionable, {
|
|
12230
12884
|
path: _path + ".remote",
|
|
12231
12885
|
expected: "(FilePublishRemote | undefined)",
|
|
12232
12886
|
value: input.remote
|
|
@@ -12234,7 +12888,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12234
12888
|
path: _path + ".published",
|
|
12235
12889
|
expected: "(FilePublishPublished | undefined)",
|
|
12236
12890
|
value: input.published
|
|
12237
|
-
})) &&
|
|
12891
|
+
})) && _vo29(input.published, _path + ".published", true && _exceptionable) || _report(_exceptionable, {
|
|
12238
12892
|
path: _path + ".published",
|
|
12239
12893
|
expected: "(FilePublishPublished | undefined)",
|
|
12240
12894
|
value: input.published
|
|
@@ -12256,11 +12910,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
12256
12910
|
value: input.render
|
|
12257
12911
|
}), null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
12258
12912
|
path: _path + ".error",
|
|
12259
|
-
expected: "(__type.
|
|
12913
|
+
expected: "(__type.o11 | null | undefined)",
|
|
12260
12914
|
value: input.error
|
|
12261
|
-
})) &&
|
|
12915
|
+
})) && _vo17(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
12262
12916
|
path: _path + ".error",
|
|
12263
|
-
expected: "(__type.
|
|
12917
|
+
expected: "(__type.o11 | null | undefined)",
|
|
12264
12918
|
value: input.error
|
|
12265
12919
|
}), undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
12266
12920
|
path: _path + ".messages",
|
|
@@ -12270,7 +12924,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12270
12924
|
path: _path + ".messages[" + _index14 + "]",
|
|
12271
12925
|
expected: "Message",
|
|
12272
12926
|
value: elem
|
|
12273
|
-
})) &&
|
|
12927
|
+
})) && _vo18(elem, _path + ".messages[" + _index14 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
12274
12928
|
path: _path + ".messages[" + _index14 + "]",
|
|
12275
12929
|
expected: "Message",
|
|
12276
12930
|
value: elem
|
|
@@ -12278,28 +12932,28 @@ function _validateDomainRecord(domain, input) {
|
|
|
12278
12932
|
path: _path + ".messages",
|
|
12279
12933
|
expected: "(Array<Message> | undefined)",
|
|
12280
12934
|
value: input.messages
|
|
12281
|
-
})].every(flag => flag); const
|
|
12935
|
+
})].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
12282
12936
|
const value = input[key];
|
|
12283
12937
|
if (undefined === value)
|
|
12284
12938
|
return true;
|
|
12285
12939
|
return (null !== value || _report(_exceptionable, {
|
|
12286
12940
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
12287
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
12941
|
+
expected: "(ResolvedFilePublishRender | __type.o12 | string)",
|
|
12288
12942
|
value: value
|
|
12289
12943
|
})) && (undefined !== value || _report(_exceptionable, {
|
|
12290
12944
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
12291
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
12945
|
+
expected: "(ResolvedFilePublishRender | __type.o12 | string)",
|
|
12292
12946
|
value: value
|
|
12293
12947
|
})) && ("string" === typeof value || ("object" === typeof value && null !== value || _report(_exceptionable, {
|
|
12294
12948
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
12295
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
12949
|
+
expected: "(ResolvedFilePublishRender | __type.o12 | string)",
|
|
12296
12950
|
value: value
|
|
12297
12951
|
})) && _vu0(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
12298
12952
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
12299
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
12953
|
+
expected: "(ResolvedFilePublishRender | __type.o12 | string)",
|
|
12300
12954
|
value: value
|
|
12301
12955
|
}));
|
|
12302
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
12956
|
+
}).every(flag => flag)].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
12303
12957
|
path: _path + ".name",
|
|
12304
12958
|
expected: "(string | undefined)",
|
|
12305
12959
|
value: input.name
|
|
@@ -12339,27 +12993,27 @@ function _validateDomainRecord(domain, input) {
|
|
|
12339
12993
|
path: _path + ".profile",
|
|
12340
12994
|
expected: "(RenderProfileObject | undefined)",
|
|
12341
12995
|
value: input.profile
|
|
12342
|
-
})].every(flag => flag); const
|
|
12996
|
+
})].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
12343
12997
|
path: _path + ".__context",
|
|
12344
|
-
expected: "__type.
|
|
12998
|
+
expected: "__type.o13",
|
|
12345
12999
|
value: input.__context
|
|
12346
|
-
})) &&
|
|
13000
|
+
})) && _vo24(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
12347
13001
|
path: _path + ".__context",
|
|
12348
|
-
expected: "__type.
|
|
13002
|
+
expected: "__type.o13",
|
|
12349
13003
|
value: input.__context
|
|
12350
13004
|
}), ("object" === typeof input.__returnValue && null !== input.__returnValue || _report(_exceptionable, {
|
|
12351
13005
|
path: _path + ".__returnValue",
|
|
12352
13006
|
expected: "ResolvedFilePublishRender",
|
|
12353
13007
|
value: input.__returnValue
|
|
12354
|
-
})) &&
|
|
13008
|
+
})) && _vo22(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
12355
13009
|
path: _path + ".__returnValue",
|
|
12356
13010
|
expected: "ResolvedFilePublishRender",
|
|
12357
13011
|
value: input.__returnValue
|
|
12358
|
-
})].every(flag => flag); const
|
|
13012
|
+
})].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => [("object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) || _report(_exceptionable, {
|
|
12359
13013
|
path: _path + ".publish",
|
|
12360
13014
|
expected: "FilePublishRecord",
|
|
12361
13015
|
value: input.publish
|
|
12362
|
-
})) &&
|
|
13016
|
+
})) && _vo20(input.publish, _path + ".publish", true && _exceptionable) || _report(_exceptionable, {
|
|
12363
13017
|
path: _path + ".publish",
|
|
12364
13018
|
expected: "FilePublishRecord",
|
|
12365
13019
|
value: input.publish
|
|
@@ -12371,7 +13025,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12371
13025
|
path: _path + ".name",
|
|
12372
13026
|
expected: "string",
|
|
12373
13027
|
value: input.name
|
|
12374
|
-
})].every(flag => flag); const
|
|
13028
|
+
})].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
12375
13029
|
path: _path + ".directory",
|
|
12376
13030
|
expected: "(string | undefined)",
|
|
12377
13031
|
value: input.directory
|
|
@@ -12379,7 +13033,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12379
13033
|
path: _path + ".filename",
|
|
12380
13034
|
expected: "(string | undefined)",
|
|
12381
13035
|
value: input.filename
|
|
12382
|
-
})].every(flag => flag); const
|
|
13036
|
+
})].every(flag => flag); const _vo26 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
12383
13037
|
path: _path + ".directory",
|
|
12384
13038
|
expected: "(string | undefined)",
|
|
12385
13039
|
value: input.directory
|
|
@@ -12391,11 +13045,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
12391
13045
|
path: _path + ".renders",
|
|
12392
13046
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
12393
13047
|
value: input.renders
|
|
12394
|
-
})) &&
|
|
13048
|
+
})) && _vo27(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
12395
13049
|
path: _path + ".renders",
|
|
12396
13050
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
12397
13051
|
value: input.renders
|
|
12398
|
-
})].every(flag => flag); const
|
|
13052
|
+
})].every(flag => flag); const _vo27 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
12399
13053
|
const value = input[key];
|
|
12400
13054
|
if (undefined === value)
|
|
12401
13055
|
return true;
|
|
@@ -12403,12 +13057,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
12403
13057
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
12404
13058
|
expected: "FilePublishRemoteRender",
|
|
12405
13059
|
value: value
|
|
12406
|
-
})) &&
|
|
13060
|
+
})) && _vo28(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
12407
13061
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
12408
13062
|
expected: "FilePublishRemoteRender",
|
|
12409
13063
|
value: value
|
|
12410
13064
|
});
|
|
12411
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
13065
|
+
}).every(flag => flag)].every(flag => flag); const _vo28 = (input, _path, _exceptionable = true) => [undefined === input.path || "string" === typeof input.path || _report(_exceptionable, {
|
|
12412
13066
|
path: _path + ".path",
|
|
12413
13067
|
expected: "(string | undefined)",
|
|
12414
13068
|
value: input.path
|
|
@@ -12420,7 +13074,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12420
13074
|
path: _path + ".messages[" + _index15 + "]",
|
|
12421
13075
|
expected: "Message",
|
|
12422
13076
|
value: elem
|
|
12423
|
-
})) &&
|
|
13077
|
+
})) && _vo18(elem, _path + ".messages[" + _index15 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
12424
13078
|
path: _path + ".messages[" + _index15 + "]",
|
|
12425
13079
|
expected: "Message",
|
|
12426
13080
|
value: elem
|
|
@@ -12440,7 +13094,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12440
13094
|
path: _path + ".source",
|
|
12441
13095
|
expected: "(string | undefined)",
|
|
12442
13096
|
value: input.source
|
|
12443
|
-
})].every(flag => flag); const
|
|
13097
|
+
})].every(flag => flag); const _vo29 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
12444
13098
|
path: _path + ".directory",
|
|
12445
13099
|
expected: "(string | undefined)",
|
|
12446
13100
|
value: input.directory
|
|
@@ -12448,7 +13102,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12448
13102
|
path: _path + ".filename",
|
|
12449
13103
|
expected: "string",
|
|
12450
13104
|
value: input.filename
|
|
12451
|
-
})].every(flag => flag); const
|
|
13105
|
+
})].every(flag => flag); const _vo30 = (input, _path, _exceptionable = true) => [undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
12452
13106
|
path: _path + ".type",
|
|
12453
13107
|
expected: "(\"file\" | undefined)",
|
|
12454
13108
|
value: input.type
|
|
@@ -12464,7 +13118,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12464
13118
|
path: _path + ".draft",
|
|
12465
13119
|
expected: "(FilePublishDraft | undefined)",
|
|
12466
13120
|
value: input.draft
|
|
12467
|
-
})) &&
|
|
13121
|
+
})) && _vo25(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
12468
13122
|
path: _path + ".draft",
|
|
12469
13123
|
expected: "(FilePublishDraft | undefined)",
|
|
12470
13124
|
value: input.draft
|
|
@@ -12472,7 +13126,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12472
13126
|
path: _path + ".remote",
|
|
12473
13127
|
expected: "(FilePublishRemoteLegacy | undefined)",
|
|
12474
13128
|
value: input.remote
|
|
12475
|
-
})) &&
|
|
13129
|
+
})) && _vo31(input.remote, _path + ".remote", true && _exceptionable) || _report(_exceptionable, {
|
|
12476
13130
|
path: _path + ".remote",
|
|
12477
13131
|
expected: "(FilePublishRemoteLegacy | undefined)",
|
|
12478
13132
|
value: input.remote
|
|
@@ -12480,7 +13134,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12480
13134
|
path: _path + ".published",
|
|
12481
13135
|
expected: "(FilePublishPublished | undefined)",
|
|
12482
13136
|
value: input.published
|
|
12483
|
-
})) &&
|
|
13137
|
+
})) && _vo29(input.published, _path + ".published", true && _exceptionable) || _report(_exceptionable, {
|
|
12484
13138
|
path: _path + ".published",
|
|
12485
13139
|
expected: "(FilePublishPublished | undefined)",
|
|
12486
13140
|
value: input.published
|
|
@@ -12510,11 +13164,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
12510
13164
|
value: input.render
|
|
12511
13165
|
}), null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
12512
13166
|
path: _path + ".error",
|
|
12513
|
-
expected: "(__type.
|
|
13167
|
+
expected: "(__type.o11 | null | undefined)",
|
|
12514
13168
|
value: input.error
|
|
12515
|
-
})) &&
|
|
13169
|
+
})) && _vo17(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
12516
13170
|
path: _path + ".error",
|
|
12517
|
-
expected: "(__type.
|
|
13171
|
+
expected: "(__type.o11 | null | undefined)",
|
|
12518
13172
|
value: input.error
|
|
12519
13173
|
}), undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
12520
13174
|
path: _path + ".messages",
|
|
@@ -12524,7 +13178,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12524
13178
|
path: _path + ".messages[" + _index16 + "]",
|
|
12525
13179
|
expected: "Message",
|
|
12526
13180
|
value: elem
|
|
12527
|
-
})) &&
|
|
13181
|
+
})) && _vo18(elem, _path + ".messages[" + _index16 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
12528
13182
|
path: _path + ".messages[" + _index16 + "]",
|
|
12529
13183
|
expected: "Message",
|
|
12530
13184
|
value: elem
|
|
@@ -12532,7 +13186,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12532
13186
|
path: _path + ".messages",
|
|
12533
13187
|
expected: "(Array<Message> | undefined)",
|
|
12534
13188
|
value: input.messages
|
|
12535
|
-
})].every(flag => flag); const
|
|
13189
|
+
})].every(flag => flag); const _vo31 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
12536
13190
|
path: _path + ".id",
|
|
12537
13191
|
expected: "(string | undefined)",
|
|
12538
13192
|
value: input.id
|
|
@@ -12550,19 +13204,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
12550
13204
|
value: input.directory
|
|
12551
13205
|
}), undefined === input.subtitle || ("object" === typeof input.subtitle && null !== input.subtitle || _report(_exceptionable, {
|
|
12552
13206
|
path: _path + ".subtitle",
|
|
12553
|
-
expected: "(__type.
|
|
13207
|
+
expected: "(__type.o14 | undefined)",
|
|
12554
13208
|
value: input.subtitle
|
|
12555
|
-
})) &&
|
|
13209
|
+
})) && _vo32(input.subtitle, _path + ".subtitle", true && _exceptionable) || _report(_exceptionable, {
|
|
12556
13210
|
path: _path + ".subtitle",
|
|
12557
|
-
expected: "(__type.
|
|
13211
|
+
expected: "(__type.o14 | undefined)",
|
|
12558
13212
|
value: input.subtitle
|
|
12559
13213
|
}), undefined === input.metafile || ("object" === typeof input.metafile && null !== input.metafile || _report(_exceptionable, {
|
|
12560
13214
|
path: _path + ".metafile",
|
|
12561
|
-
expected: "(__type.
|
|
13215
|
+
expected: "(__type.o15 | undefined)",
|
|
12562
13216
|
value: input.metafile
|
|
12563
|
-
})) &&
|
|
13217
|
+
})) && _vo33(input.metafile, _path + ".metafile", true && _exceptionable) || _report(_exceptionable, {
|
|
12564
13218
|
path: _path + ".metafile",
|
|
12565
|
-
expected: "(__type.
|
|
13219
|
+
expected: "(__type.o15 | undefined)",
|
|
12566
13220
|
value: input.metafile
|
|
12567
13221
|
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
12568
13222
|
if (["id", "path", "filename", "directory", "subtitle", "metafile"].some(prop => key === prop))
|
|
@@ -12571,25 +13225,25 @@ function _validateDomainRecord(domain, input) {
|
|
|
12571
13225
|
if (undefined === value)
|
|
12572
13226
|
return true;
|
|
12573
13227
|
return true;
|
|
12574
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
13228
|
+
}).every(flag => flag)].every(flag => flag); const _vo32 = (input, _path, _exceptionable = true) => ["string" === typeof input.path || _report(_exceptionable, {
|
|
12575
13229
|
path: _path + ".path",
|
|
12576
13230
|
expected: "string",
|
|
12577
13231
|
value: input.path
|
|
12578
|
-
})].every(flag => flag); const
|
|
13232
|
+
})].every(flag => flag); const _vo33 = (input, _path, _exceptionable = true) => ["string" === typeof input.path || _report(_exceptionable, {
|
|
12579
13233
|
path: _path + ".path",
|
|
12580
13234
|
expected: "string",
|
|
12581
13235
|
value: input.path
|
|
12582
|
-
})].every(flag => flag); const
|
|
13236
|
+
})].every(flag => flag); const _vo34 = (input, _path, _exceptionable = true) => [undefined === input.type || "youtube" === input.type || _report(_exceptionable, {
|
|
12583
13237
|
path: _path + ".type",
|
|
12584
13238
|
expected: "(\"youtube\" | undefined)",
|
|
12585
13239
|
value: input.type
|
|
12586
13240
|
}), undefined === input.draft || ("object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) || _report(_exceptionable, {
|
|
12587
13241
|
path: _path + ".draft",
|
|
12588
|
-
expected: "(__type.
|
|
13242
|
+
expected: "(__type.o16 | undefined)",
|
|
12589
13243
|
value: input.draft
|
|
12590
|
-
})) &&
|
|
13244
|
+
})) && _vo35(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
12591
13245
|
path: _path + ".draft",
|
|
12592
|
-
expected: "(__type.
|
|
13246
|
+
expected: "(__type.o16 | undefined)",
|
|
12593
13247
|
value: input.draft
|
|
12594
13248
|
}), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
|
|
12595
13249
|
path: _path + ".asset",
|
|
@@ -12609,11 +13263,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
12609
13263
|
value: input.render
|
|
12610
13264
|
}), true, true, null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
12611
13265
|
path: _path + ".error",
|
|
12612
|
-
expected: "(__type.
|
|
13266
|
+
expected: "(__type.o11 | null | undefined)",
|
|
12613
13267
|
value: input.error
|
|
12614
|
-
})) &&
|
|
13268
|
+
})) && _vo17(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
12615
13269
|
path: _path + ".error",
|
|
12616
|
-
expected: "(__type.
|
|
13270
|
+
expected: "(__type.o11 | null | undefined)",
|
|
12617
13271
|
value: input.error
|
|
12618
13272
|
}), undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
12619
13273
|
path: _path + ".messages",
|
|
@@ -12623,7 +13277,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12623
13277
|
path: _path + ".messages[" + _index17 + "]",
|
|
12624
13278
|
expected: "Message",
|
|
12625
13279
|
value: elem
|
|
12626
|
-
})) &&
|
|
13280
|
+
})) && _vo18(elem, _path + ".messages[" + _index17 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
12627
13281
|
path: _path + ".messages[" + _index17 + "]",
|
|
12628
13282
|
expected: "Message",
|
|
12629
13283
|
value: elem
|
|
@@ -12631,15 +13285,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
12631
13285
|
path: _path + ".messages",
|
|
12632
13286
|
expected: "(Array<Message> | undefined)",
|
|
12633
13287
|
value: input.messages
|
|
12634
|
-
})].every(flag => flag); const
|
|
13288
|
+
})].every(flag => flag); const _vo35 = (input, _path, _exceptionable = true) => [undefined === input.snippet || ("object" === typeof input.snippet && null !== input.snippet && false === Array.isArray(input.snippet) || _report(_exceptionable, {
|
|
12635
13289
|
path: _path + ".snippet",
|
|
12636
|
-
expected: "(__type.
|
|
13290
|
+
expected: "(__type.o17 | undefined)",
|
|
12637
13291
|
value: input.snippet
|
|
12638
|
-
})) &&
|
|
13292
|
+
})) && _vo36(input.snippet, _path + ".snippet", true && _exceptionable) || _report(_exceptionable, {
|
|
12639
13293
|
path: _path + ".snippet",
|
|
12640
|
-
expected: "(__type.
|
|
13294
|
+
expected: "(__type.o17 | undefined)",
|
|
12641
13295
|
value: input.snippet
|
|
12642
|
-
})].every(flag => flag); const
|
|
13296
|
+
})].every(flag => flag); const _vo36 = (input, _path, _exceptionable = true) => [undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
12643
13297
|
path: _path + ".title",
|
|
12644
13298
|
expected: "(string | undefined)",
|
|
12645
13299
|
value: input.title
|
|
@@ -12661,16 +13315,16 @@ function _validateDomainRecord(domain, input) {
|
|
|
12661
13315
|
value: input.description
|
|
12662
13316
|
})].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
12663
13317
|
if (undefined !== input.path)
|
|
12664
|
-
return
|
|
13318
|
+
return _vo22(input, _path, true && _exceptionable);
|
|
12665
13319
|
else if (undefined !== input.__context)
|
|
12666
|
-
return
|
|
13320
|
+
return _vo23(input, _path, true && _exceptionable);
|
|
12667
13321
|
else
|
|
12668
13322
|
return _report(_exceptionable, {
|
|
12669
13323
|
path: _path,
|
|
12670
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
13324
|
+
expected: "(ResolvedFilePublishRender | __type.o12)",
|
|
12671
13325
|
value: input
|
|
12672
13326
|
});
|
|
12673
|
-
})(); const _vu1 = (input, _path, _exceptionable = true) => _vo0(input, _path, false && _exceptionable) ||
|
|
13327
|
+
})(); const _vu1 = (input, _path, _exceptionable = true) => _vo0(input, _path, false && _exceptionable) || _vo19(input, _path, false && _exceptionable) || _vo30(input, _path, false && _exceptionable) || _vo20(input, _path, false && _exceptionable) || _vo34(input, _path, false && _exceptionable); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _iu1(input); let errors; let _report; return input => {
|
|
12674
13328
|
if (false === __is(input)) {
|
|
12675
13329
|
errors = [];
|
|
12676
13330
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
@@ -12715,16 +13369,16 @@ function _validateDomainRecord(domain, input) {
|
|
|
12715
13369
|
if (undefined === value)
|
|
12716
13370
|
return true;
|
|
12717
13371
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io13(value);
|
|
12718
|
-
}); const _io13 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io14(input.styleOverrides)); const _io14 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io15 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io16(input.crop); const _io16 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io17 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io18 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io19(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io20(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io21(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io22(input.subtitle))); const _io19 = input => "string" === typeof input.engine; const _io20 = input => "string" === typeof input.language; const _io21 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io22 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _io23 = input => "object" === typeof input.__context && null !== input.__context &&
|
|
13372
|
+
}); const _io13 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io14(input.styleOverrides)); const _io14 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io15 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io16(input.crop); const _io16 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io17 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io18 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io19(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io20(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io21(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io22(input.subtitle))); const _io19 = input => "string" === typeof input.engine; const _io20 = input => "string" === typeof input.language; const _io21 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io22 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (undefined === input.ccconverter || "object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) && _io23(input.ccconverter)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io24(input.ass)); const _io23 = input => undefined === input.preset || "string" === typeof input.preset; const _io24 = input => (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack); const _io25 = input => "object" === typeof input.__context && null !== input.__context && _io26(input.__context) && ("object" === typeof input.__returnValue && null !== input.__returnValue && _io9(input.__returnValue)); const _io26 = input => "object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) && _io27(input.publish) && "string" === typeof input.directory && "string" === typeof input.name; const _io27 = input => (undefined === input.type || "file" === input.type) && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io8(input.renders)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io28(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io29(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io32(input.published)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io33(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io34(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io28 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename); const _io29 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io30(input.renders)); const _io30 = input => Object.keys(input).every(key => {
|
|
12719
13373
|
const value = input[key];
|
|
12720
13374
|
if (undefined === value)
|
|
12721
13375
|
return true;
|
|
12722
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
12723
|
-
}); const
|
|
13376
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io31(value);
|
|
13377
|
+
}); const _io31 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && true && (undefined === input.size || "number" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash) && (undefined === input.source || "string" === typeof input.source); const _io32 = input => (undefined === input.directory || "string" === typeof input.directory) && "string" === typeof input.filename; const _io33 = input => (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io10(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io18(input.profile)); const _io34 = input => "string" === typeof input.method; const _iu0 = input => (() => {
|
|
12724
13378
|
if (undefined !== input.path)
|
|
12725
13379
|
return _io9(input);
|
|
12726
13380
|
else if (undefined !== input.__context)
|
|
12727
|
-
return
|
|
13381
|
+
return _io25(input);
|
|
12728
13382
|
else
|
|
12729
13383
|
return false;
|
|
12730
13384
|
})(); const _iu1 = input => (() => {
|
|
@@ -12898,19 +13552,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
12898
13552
|
return true;
|
|
12899
13553
|
return (null !== value || _report(_exceptionable, {
|
|
12900
13554
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
12901
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
13555
|
+
expected: "(ResolvedFilePublishRender | __type.o11 | string)",
|
|
12902
13556
|
value: value
|
|
12903
13557
|
})) && (undefined !== value || _report(_exceptionable, {
|
|
12904
13558
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
12905
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
13559
|
+
expected: "(ResolvedFilePublishRender | __type.o11 | string)",
|
|
12906
13560
|
value: value
|
|
12907
13561
|
})) && ("string" === typeof value || ("object" === typeof value && null !== value || _report(_exceptionable, {
|
|
12908
13562
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
12909
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
13563
|
+
expected: "(ResolvedFilePublishRender | __type.o11 | string)",
|
|
12910
13564
|
value: value
|
|
12911
13565
|
})) && _vu0(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
12912
13566
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
12913
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
13567
|
+
expected: "(ResolvedFilePublishRender | __type.o11 | string)",
|
|
12914
13568
|
value: value
|
|
12915
13569
|
}));
|
|
12916
13570
|
}).every(flag => flag)].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
@@ -13098,6 +13752,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
13098
13752
|
path: _path + ".spacing",
|
|
13099
13753
|
expected: "(string | undefined)",
|
|
13100
13754
|
value: input.spacing
|
|
13755
|
+
}), undefined === input.lineSpacing || "string" === typeof input.lineSpacing || _report(_exceptionable, {
|
|
13756
|
+
path: _path + ".lineSpacing",
|
|
13757
|
+
expected: "(string | undefined)",
|
|
13758
|
+
value: input.lineSpacing
|
|
13101
13759
|
}), undefined === input.angle || "string" === typeof input.angle || _report(_exceptionable, {
|
|
13102
13760
|
path: _path + ".angle",
|
|
13103
13761
|
expected: "(string | undefined)",
|
|
@@ -13258,13 +13916,45 @@ function _validateDomainRecord(domain, input) {
|
|
|
13258
13916
|
path: _path + ".style",
|
|
13259
13917
|
expected: "(string | undefined)",
|
|
13260
13918
|
value: input.style
|
|
13261
|
-
})
|
|
13919
|
+
}), undefined === input.ccconverter || ("object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) || _report(_exceptionable, {
|
|
13920
|
+
path: _path + ".ccconverter",
|
|
13921
|
+
expected: "(__type.o9 | undefined)",
|
|
13922
|
+
value: input.ccconverter
|
|
13923
|
+
})) && _vo23(input.ccconverter, _path + ".ccconverter", true && _exceptionable) || _report(_exceptionable, {
|
|
13924
|
+
path: _path + ".ccconverter",
|
|
13925
|
+
expected: "(__type.o9 | undefined)",
|
|
13926
|
+
value: input.ccconverter
|
|
13927
|
+
}), undefined === input.ass || ("object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) || _report(_exceptionable, {
|
|
13928
|
+
path: _path + ".ass",
|
|
13929
|
+
expected: "(__type.o10 | undefined)",
|
|
13930
|
+
value: input.ass
|
|
13931
|
+
})) && _vo24(input.ass, _path + ".ass", true && _exceptionable) || _report(_exceptionable, {
|
|
13932
|
+
path: _path + ".ass",
|
|
13933
|
+
expected: "(__type.o10 | undefined)",
|
|
13934
|
+
value: input.ass
|
|
13935
|
+
})].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
13936
|
+
path: _path + ".preset",
|
|
13937
|
+
expected: "(string | undefined)",
|
|
13938
|
+
value: input.preset
|
|
13939
|
+
})].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => [undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping || _report(_exceptionable, {
|
|
13940
|
+
path: _path + ".futureWordWrapping",
|
|
13941
|
+
expected: "(boolean | undefined)",
|
|
13942
|
+
value: input.futureWordWrapping
|
|
13943
|
+
}), undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow || _report(_exceptionable, {
|
|
13944
|
+
path: _path + ".scaledBorderAndShadow",
|
|
13945
|
+
expected: "(boolean | undefined)",
|
|
13946
|
+
value: input.scaledBorderAndShadow
|
|
13947
|
+
}), undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack || _report(_exceptionable, {
|
|
13948
|
+
path: _path + ".enableUnsafeLineSpacingHack",
|
|
13949
|
+
expected: "(boolean | undefined)",
|
|
13950
|
+
value: input.enableUnsafeLineSpacingHack
|
|
13951
|
+
})].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
13262
13952
|
path: _path + ".__context",
|
|
13263
|
-
expected: "__type.
|
|
13953
|
+
expected: "__type.o12",
|
|
13264
13954
|
value: input.__context
|
|
13265
|
-
})) &&
|
|
13955
|
+
})) && _vo26(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
13266
13956
|
path: _path + ".__context",
|
|
13267
|
-
expected: "__type.
|
|
13957
|
+
expected: "__type.o12",
|
|
13268
13958
|
value: input.__context
|
|
13269
13959
|
}), ("object" === typeof input.__returnValue && null !== input.__returnValue || _report(_exceptionable, {
|
|
13270
13960
|
path: _path + ".__returnValue",
|
|
@@ -13274,11 +13964,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
13274
13964
|
path: _path + ".__returnValue",
|
|
13275
13965
|
expected: "ResolvedFilePublishRender",
|
|
13276
13966
|
value: input.__returnValue
|
|
13277
|
-
})].every(flag => flag); const
|
|
13967
|
+
})].every(flag => flag); const _vo26 = (input, _path, _exceptionable = true) => [("object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) || _report(_exceptionable, {
|
|
13278
13968
|
path: _path + ".publish",
|
|
13279
13969
|
expected: "FilePublishRecord",
|
|
13280
13970
|
value: input.publish
|
|
13281
|
-
})) &&
|
|
13971
|
+
})) && _vo27(input.publish, _path + ".publish", true && _exceptionable) || _report(_exceptionable, {
|
|
13282
13972
|
path: _path + ".publish",
|
|
13283
13973
|
expected: "FilePublishRecord",
|
|
13284
13974
|
value: input.publish
|
|
@@ -13290,7 +13980,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13290
13980
|
path: _path + ".name",
|
|
13291
13981
|
expected: "string",
|
|
13292
13982
|
value: input.name
|
|
13293
|
-
})].every(flag => flag); const
|
|
13983
|
+
})].every(flag => flag); const _vo27 = (input, _path, _exceptionable = true) => [undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
13294
13984
|
path: _path + ".type",
|
|
13295
13985
|
expected: "(\"file\" | undefined)",
|
|
13296
13986
|
value: input.type
|
|
@@ -13314,7 +14004,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13314
14004
|
path: _path + ".draft",
|
|
13315
14005
|
expected: "(FilePublishDraft | undefined)",
|
|
13316
14006
|
value: input.draft
|
|
13317
|
-
})) &&
|
|
14007
|
+
})) && _vo28(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
13318
14008
|
path: _path + ".draft",
|
|
13319
14009
|
expected: "(FilePublishDraft | undefined)",
|
|
13320
14010
|
value: input.draft
|
|
@@ -13322,7 +14012,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13322
14012
|
path: _path + ".remote",
|
|
13323
14013
|
expected: "(FilePublishRemote | undefined)",
|
|
13324
14014
|
value: input.remote
|
|
13325
|
-
})) &&
|
|
14015
|
+
})) && _vo29(input.remote, _path + ".remote", true && _exceptionable) || _report(_exceptionable, {
|
|
13326
14016
|
path: _path + ".remote",
|
|
13327
14017
|
expected: "(FilePublishRemote | undefined)",
|
|
13328
14018
|
value: input.remote
|
|
@@ -13330,7 +14020,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13330
14020
|
path: _path + ".published",
|
|
13331
14021
|
expected: "(FilePublishPublished | undefined)",
|
|
13332
14022
|
value: input.published
|
|
13333
|
-
})) &&
|
|
14023
|
+
})) && _vo32(input.published, _path + ".published", true && _exceptionable) || _report(_exceptionable, {
|
|
13334
14024
|
path: _path + ".published",
|
|
13335
14025
|
expected: "(FilePublishPublished | undefined)",
|
|
13336
14026
|
value: input.published
|
|
@@ -13346,17 +14036,17 @@ function _validateDomainRecord(domain, input) {
|
|
|
13346
14036
|
path: _path + ".render",
|
|
13347
14037
|
expected: "(PublishRenderBase | undefined)",
|
|
13348
14038
|
value: input.render
|
|
13349
|
-
})) &&
|
|
14039
|
+
})) && _vo33(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
13350
14040
|
path: _path + ".render",
|
|
13351
14041
|
expected: "(PublishRenderBase | undefined)",
|
|
13352
14042
|
value: input.render
|
|
13353
14043
|
}), null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
13354
14044
|
path: _path + ".error",
|
|
13355
|
-
expected: "(__type.
|
|
14045
|
+
expected: "(__type.o13 | null | undefined)",
|
|
13356
14046
|
value: input.error
|
|
13357
|
-
})) &&
|
|
14047
|
+
})) && _vo34(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
13358
14048
|
path: _path + ".error",
|
|
13359
|
-
expected: "(__type.
|
|
14049
|
+
expected: "(__type.o13 | null | undefined)",
|
|
13360
14050
|
value: input.error
|
|
13361
14051
|
}), undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
13362
14052
|
path: _path + ".messages",
|
|
@@ -13374,7 +14064,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13374
14064
|
path: _path + ".messages",
|
|
13375
14065
|
expected: "(Array<Message> | undefined)",
|
|
13376
14066
|
value: input.messages
|
|
13377
|
-
})].every(flag => flag); const
|
|
14067
|
+
})].every(flag => flag); const _vo28 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
13378
14068
|
path: _path + ".directory",
|
|
13379
14069
|
expected: "(string | undefined)",
|
|
13380
14070
|
value: input.directory
|
|
@@ -13382,7 +14072,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13382
14072
|
path: _path + ".filename",
|
|
13383
14073
|
expected: "(string | undefined)",
|
|
13384
14074
|
value: input.filename
|
|
13385
|
-
})].every(flag => flag); const
|
|
14075
|
+
})].every(flag => flag); const _vo29 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
13386
14076
|
path: _path + ".directory",
|
|
13387
14077
|
expected: "(string | undefined)",
|
|
13388
14078
|
value: input.directory
|
|
@@ -13394,11 +14084,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
13394
14084
|
path: _path + ".renders",
|
|
13395
14085
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
13396
14086
|
value: input.renders
|
|
13397
|
-
})) &&
|
|
14087
|
+
})) && _vo30(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
13398
14088
|
path: _path + ".renders",
|
|
13399
14089
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
13400
14090
|
value: input.renders
|
|
13401
|
-
})].every(flag => flag); const
|
|
14091
|
+
})].every(flag => flag); const _vo30 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
13402
14092
|
const value = input[key];
|
|
13403
14093
|
if (undefined === value)
|
|
13404
14094
|
return true;
|
|
@@ -13406,12 +14096,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
13406
14096
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13407
14097
|
expected: "FilePublishRemoteRender",
|
|
13408
14098
|
value: value
|
|
13409
|
-
})) &&
|
|
14099
|
+
})) && _vo31(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
13410
14100
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13411
14101
|
expected: "FilePublishRemoteRender",
|
|
13412
14102
|
value: value
|
|
13413
14103
|
});
|
|
13414
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
14104
|
+
}).every(flag => flag)].every(flag => flag); const _vo31 = (input, _path, _exceptionable = true) => [undefined === input.path || "string" === typeof input.path || _report(_exceptionable, {
|
|
13415
14105
|
path: _path + ".path",
|
|
13416
14106
|
expected: "(string | undefined)",
|
|
13417
14107
|
value: input.path
|
|
@@ -13443,7 +14133,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13443
14133
|
path: _path + ".source",
|
|
13444
14134
|
expected: "(string | undefined)",
|
|
13445
14135
|
value: input.source
|
|
13446
|
-
})].every(flag => flag); const
|
|
14136
|
+
})].every(flag => flag); const _vo32 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
13447
14137
|
path: _path + ".directory",
|
|
13448
14138
|
expected: "(string | undefined)",
|
|
13449
14139
|
value: input.directory
|
|
@@ -13451,7 +14141,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13451
14141
|
path: _path + ".filename",
|
|
13452
14142
|
expected: "string",
|
|
13453
14143
|
value: input.filename
|
|
13454
|
-
})].every(flag => flag); const
|
|
14144
|
+
})].every(flag => flag); const _vo33 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
13455
14145
|
path: _path + ".preset",
|
|
13456
14146
|
expected: "(string | undefined)",
|
|
13457
14147
|
value: input.preset
|
|
@@ -13475,7 +14165,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13475
14165
|
path: _path + ".profile",
|
|
13476
14166
|
expected: "(RenderProfileObject | undefined)",
|
|
13477
14167
|
value: input.profile
|
|
13478
|
-
})].every(flag => flag); const
|
|
14168
|
+
})].every(flag => flag); const _vo34 = (input, _path, _exceptionable = true) => ["string" === typeof input.method || _report(_exceptionable, {
|
|
13479
14169
|
path: _path + ".method",
|
|
13480
14170
|
expected: "string",
|
|
13481
14171
|
value: input.method
|
|
@@ -13483,11 +14173,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
13483
14173
|
if (undefined !== input.path)
|
|
13484
14174
|
return _vo9(input, _path, true && _exceptionable);
|
|
13485
14175
|
else if (undefined !== input.__context)
|
|
13486
|
-
return
|
|
14176
|
+
return _vo25(input, _path, true && _exceptionable);
|
|
13487
14177
|
else
|
|
13488
14178
|
return _report(_exceptionable, {
|
|
13489
14179
|
path: _path,
|
|
13490
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
14180
|
+
expected: "(ResolvedFilePublishRender | __type.o11)",
|
|
13491
14181
|
value: input
|
|
13492
14182
|
});
|
|
13493
14183
|
})(); const _vu1 = (input, _path, _exceptionable = true) => _vo3(input, _path, false && _exceptionable) || _vo2(input, _path, false && _exceptionable) || _vo0(input, _path, false && _exceptionable); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _iu1(input); let errors; let _report; return input => {
|
|
@@ -13688,7 +14378,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13688
14378
|
}; })()(input);
|
|
13689
14379
|
}
|
|
13690
14380
|
case ":render-preset": {
|
|
13691
|
-
return (() => { const _io0 = 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 && _io1(elem))) || "object" === typeof input.profile && null !== input.profile && _io1(input.profile)))); const _io1 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io2(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io3(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io4(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) && _io5(input.subtitle))); const _io2 = input => "string" === typeof input.engine; const _io3 = input => "string" === typeof input.language; const _io4 = 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 _io5 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _vo0 = (input, _path, _exceptionable = true) => [null === input.type || undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
14381
|
+
return (() => { const _io0 = 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 && _io1(elem))) || "object" === typeof input.profile && null !== input.profile && _io1(input.profile)))); const _io1 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io2(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io3(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io4(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) && _io5(input.subtitle))); const _io2 = input => "string" === typeof input.engine; const _io3 = input => "string" === typeof input.language; const _io4 = 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 _io5 = 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) && _io6(input.ccconverter)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io7(input.ass)); const _io6 = input => undefined === input.preset || "string" === typeof input.preset; const _io7 = 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) => [null === input.type || undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
13692
14382
|
path: _path + ".type",
|
|
13693
14383
|
expected: "(null | string | undefined)",
|
|
13694
14384
|
value: input.type
|
|
@@ -13804,6 +14494,38 @@ function _validateDomainRecord(domain, input) {
|
|
|
13804
14494
|
path: _path + ".style",
|
|
13805
14495
|
expected: "(string | undefined)",
|
|
13806
14496
|
value: input.style
|
|
14497
|
+
}), undefined === input.ccconverter || ("object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) || _report(_exceptionable, {
|
|
14498
|
+
path: _path + ".ccconverter",
|
|
14499
|
+
expected: "(__type.o3 | undefined)",
|
|
14500
|
+
value: input.ccconverter
|
|
14501
|
+
})) && _vo6(input.ccconverter, _path + ".ccconverter", true && _exceptionable) || _report(_exceptionable, {
|
|
14502
|
+
path: _path + ".ccconverter",
|
|
14503
|
+
expected: "(__type.o3 | undefined)",
|
|
14504
|
+
value: input.ccconverter
|
|
14505
|
+
}), undefined === input.ass || ("object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) || _report(_exceptionable, {
|
|
14506
|
+
path: _path + ".ass",
|
|
14507
|
+
expected: "(__type.o4 | undefined)",
|
|
14508
|
+
value: input.ass
|
|
14509
|
+
})) && _vo7(input.ass, _path + ".ass", true && _exceptionable) || _report(_exceptionable, {
|
|
14510
|
+
path: _path + ".ass",
|
|
14511
|
+
expected: "(__type.o4 | undefined)",
|
|
14512
|
+
value: input.ass
|
|
14513
|
+
})].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
14514
|
+
path: _path + ".preset",
|
|
14515
|
+
expected: "(string | undefined)",
|
|
14516
|
+
value: input.preset
|
|
14517
|
+
})].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping || _report(_exceptionable, {
|
|
14518
|
+
path: _path + ".futureWordWrapping",
|
|
14519
|
+
expected: "(boolean | undefined)",
|
|
14520
|
+
value: input.futureWordWrapping
|
|
14521
|
+
}), undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow || _report(_exceptionable, {
|
|
14522
|
+
path: _path + ".scaledBorderAndShadow",
|
|
14523
|
+
expected: "(boolean | undefined)",
|
|
14524
|
+
value: input.scaledBorderAndShadow
|
|
14525
|
+
}), undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack || _report(_exceptionable, {
|
|
14526
|
+
path: _path + ".enableUnsafeLineSpacingHack",
|
|
14527
|
+
expected: "(boolean | undefined)",
|
|
14528
|
+
value: input.enableUnsafeLineSpacingHack
|
|
13807
14529
|
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
13808
14530
|
if (false === __is(input)) {
|
|
13809
14531
|
errors = [];
|
|
@@ -14247,7 +14969,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14247
14969
|
if (undefined === value)
|
|
14248
14970
|
return true;
|
|
14249
14971
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io5(value);
|
|
14250
|
-
}); const _io5 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io6(input.styleOverrides)); const _io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io7 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io8(input.crop); const _io8 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io9 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io10 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io11(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io12(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io13(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) && _io14(input.subtitle))); const _io11 = input => "string" === typeof input.engine; const _io12 = input => "string" === typeof input.language; const _io13 = 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 _io14 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.type || _report(_exceptionable, {
|
|
14972
|
+
}); const _io5 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io6(input.styleOverrides)); const _io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io7 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io8(input.crop); const _io8 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io9 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io10 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io11(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io12(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io13(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) && _io14(input.subtitle))); const _io11 = input => "string" === typeof input.engine; const _io12 = input => "string" === typeof input.language; const _io13 = 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 _io14 = 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) && _io15(input.ccconverter)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io16(input.ass)); const _io15 = input => undefined === input.preset || "string" === typeof input.preset; const _io16 = 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) => ["string" === typeof input.type || _report(_exceptionable, {
|
|
14251
14973
|
path: _path + ".type",
|
|
14252
14974
|
expected: "string",
|
|
14253
14975
|
value: input.type
|
|
@@ -14428,6 +15150,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
14428
15150
|
path: _path + ".spacing",
|
|
14429
15151
|
expected: "(string | undefined)",
|
|
14430
15152
|
value: input.spacing
|
|
15153
|
+
}), undefined === input.lineSpacing || "string" === typeof input.lineSpacing || _report(_exceptionable, {
|
|
15154
|
+
path: _path + ".lineSpacing",
|
|
15155
|
+
expected: "(string | undefined)",
|
|
15156
|
+
value: input.lineSpacing
|
|
14431
15157
|
}), undefined === input.angle || "string" === typeof input.angle || _report(_exceptionable, {
|
|
14432
15158
|
path: _path + ".angle",
|
|
14433
15159
|
expected: "(string | undefined)",
|
|
@@ -14588,6 +15314,38 @@ function _validateDomainRecord(domain, input) {
|
|
|
14588
15314
|
path: _path + ".style",
|
|
14589
15315
|
expected: "(string | undefined)",
|
|
14590
15316
|
value: input.style
|
|
15317
|
+
}), undefined === input.ccconverter || ("object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) || _report(_exceptionable, {
|
|
15318
|
+
path: _path + ".ccconverter",
|
|
15319
|
+
expected: "(__type.o10 | undefined)",
|
|
15320
|
+
value: input.ccconverter
|
|
15321
|
+
})) && _vo15(input.ccconverter, _path + ".ccconverter", true && _exceptionable) || _report(_exceptionable, {
|
|
15322
|
+
path: _path + ".ccconverter",
|
|
15323
|
+
expected: "(__type.o10 | undefined)",
|
|
15324
|
+
value: input.ccconverter
|
|
15325
|
+
}), undefined === input.ass || ("object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) || _report(_exceptionable, {
|
|
15326
|
+
path: _path + ".ass",
|
|
15327
|
+
expected: "(__type.o11 | undefined)",
|
|
15328
|
+
value: input.ass
|
|
15329
|
+
})) && _vo16(input.ass, _path + ".ass", true && _exceptionable) || _report(_exceptionable, {
|
|
15330
|
+
path: _path + ".ass",
|
|
15331
|
+
expected: "(__type.o11 | undefined)",
|
|
15332
|
+
value: input.ass
|
|
15333
|
+
})].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
15334
|
+
path: _path + ".preset",
|
|
15335
|
+
expected: "(string | undefined)",
|
|
15336
|
+
value: input.preset
|
|
15337
|
+
})].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping || _report(_exceptionable, {
|
|
15338
|
+
path: _path + ".futureWordWrapping",
|
|
15339
|
+
expected: "(boolean | undefined)",
|
|
15340
|
+
value: input.futureWordWrapping
|
|
15341
|
+
}), undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow || _report(_exceptionable, {
|
|
15342
|
+
path: _path + ".scaledBorderAndShadow",
|
|
15343
|
+
expected: "(boolean | undefined)",
|
|
15344
|
+
value: input.scaledBorderAndShadow
|
|
15345
|
+
}), undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack || _report(_exceptionable, {
|
|
15346
|
+
path: _path + ".enableUnsafeLineSpacingHack",
|
|
15347
|
+
expected: "(boolean | undefined)",
|
|
15348
|
+
value: input.enableUnsafeLineSpacingHack
|
|
14591
15349
|
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
|
|
14592
15350
|
if (false === __is(input)) {
|
|
14593
15351
|
errors = [];
|
|
@@ -15246,38 +16004,47 @@ function _validateDomainRecord(domain, input) {
|
|
|
15246
16004
|
}; })()(input);
|
|
15247
16005
|
}
|
|
15248
16006
|
case ":script.content?": {
|
|
15249
|
-
return (() => { const _io0 = input => Array.isArray(input.nodes) && input.nodes.every(elem => "object" === typeof elem && null !== elem && _iu0(elem)); const _io1 = input => "event" === input.type && "string" === typeof input.id && "string" === typeof input.mixin && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io2 = input =>
|
|
16007
|
+
return (() => { const _io0 = input => Array.isArray(input.nodes) && input.nodes.every(elem => "object" === typeof elem && null !== elem && _iu0(elem)); const _io1 = input => "event" === input.type && "string" === typeof input.id && "string" === typeof input.mixin && (undefined === input.children || Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io2 = input => "text" === input.type && "string" === typeof input.text && (undefined === input.style || "string" === typeof input.style) && (undefined === input.format || "number" === typeof input.format); const _io3 = input => ("link" === input.type || "autolink" === input.type) && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _io2(elem))); const _io4 = input => "listitem" === input.type && "number" === typeof input.value && (undefined === input.checked || "boolean" === typeof input.checked) && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _iu1(elem))); const _io5 = input => "list" === input.type && ("number" === input.listType || "bullet" === input.listType || "check" === input.listType) && ("ul" === input.tag || "ol" === input.tag) && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _io4(elem))); const _io6 = input => "paragraph" === input.type && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _iu1(elem))); const _io7 = input => "comment" === input.type && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _iu1(elem))); const _io8 = input => "heading" === input.type && ("h1" === input.tag || "h2" === input.tag || "h3" === input.tag) && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _iu1(elem))); const _io9 = input => "quote" === input.type && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _iu1(elem))); const _io10 = input => "horizontalrule" === input.type; const _iu0 = input => (() => {
|
|
15250
16008
|
if ("event" === input.type)
|
|
15251
16009
|
return _io1(input);
|
|
15252
|
-
else if ("
|
|
16010
|
+
else if ("text" === input.type)
|
|
15253
16011
|
return _io2(input);
|
|
15254
|
-
else if ("
|
|
16012
|
+
else if ("link" === input.type || "autolink" === input.type)
|
|
15255
16013
|
return _io3(input);
|
|
15256
|
-
else if ("
|
|
16014
|
+
else if ("listitem" === input.type)
|
|
15257
16015
|
return _io4(input);
|
|
16016
|
+
else if ("list" === input.type)
|
|
16017
|
+
return _io5(input);
|
|
15258
16018
|
else if ("quote" === input.type)
|
|
15259
|
-
return
|
|
16019
|
+
return _io9(input);
|
|
15260
16020
|
else if ("comment" === input.type)
|
|
15261
|
-
return
|
|
16021
|
+
return _io7(input);
|
|
15262
16022
|
else if ("paragraph" === input.type)
|
|
15263
|
-
return
|
|
16023
|
+
return _io6(input);
|
|
15264
16024
|
else if ("heading" === input.type)
|
|
15265
|
-
return
|
|
16025
|
+
return _io8(input);
|
|
15266
16026
|
else if ("horizontalrule" === input.type)
|
|
15267
|
-
return
|
|
16027
|
+
return _io10(input);
|
|
16028
|
+
else
|
|
16029
|
+
return false;
|
|
16030
|
+
})(); const _iu1 = input => (() => {
|
|
16031
|
+
if ("text" === input.type)
|
|
16032
|
+
return _io2(input);
|
|
16033
|
+
else if ("link" === input.type || "autolink" === input.type)
|
|
16034
|
+
return _io3(input);
|
|
15268
16035
|
else
|
|
15269
16036
|
return false;
|
|
15270
16037
|
})(); const _vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.nodes) || _report(_exceptionable, {
|
|
15271
16038
|
path: _path + ".nodes",
|
|
15272
16039
|
expected: "Array<NodeContent>",
|
|
15273
16040
|
value: input.nodes
|
|
15274
|
-
})) && input.nodes.map((elem,
|
|
15275
|
-
path: _path + ".nodes[" +
|
|
15276
|
-
expected: "(CommentNodeContent | EventNodeContent | HeadingNodeContent | HorizontalRuleContent | ListItemNodeContent | ListNodeContent | ParagraphNodeContent | QuoteNodeContent
|
|
16041
|
+
})) && input.nodes.map((elem, _index10) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
16042
|
+
path: _path + ".nodes[" + _index10 + "]",
|
|
16043
|
+
expected: "(CommentNodeContent | EventNodeContent | FormattedTextNodeContent | HeadingNodeContent | HorizontalRuleContent | LinkNodeContent | ListItemNodeContent | ListNodeContent | ParagraphNodeContent | QuoteNodeContent)",
|
|
15277
16044
|
value: elem
|
|
15278
|
-
})) && _vu0(elem, _path + ".nodes[" +
|
|
15279
|
-
path: _path + ".nodes[" +
|
|
15280
|
-
expected: "(CommentNodeContent | EventNodeContent | HeadingNodeContent | HorizontalRuleContent | ListItemNodeContent | ListNodeContent | ParagraphNodeContent | QuoteNodeContent
|
|
16045
|
+
})) && _vu0(elem, _path + ".nodes[" + _index10 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16046
|
+
path: _path + ".nodes[" + _index10 + "]",
|
|
16047
|
+
expected: "(CommentNodeContent | EventNodeContent | FormattedTextNodeContent | HeadingNodeContent | HorizontalRuleContent | LinkNodeContent | ListItemNodeContent | ListNodeContent | ParagraphNodeContent | QuoteNodeContent)",
|
|
15281
16048
|
value: elem
|
|
15282
16049
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
15283
16050
|
path: _path + ".nodes",
|
|
@@ -15295,25 +16062,25 @@ function _validateDomainRecord(domain, input) {
|
|
|
15295
16062
|
path: _path + ".mixin",
|
|
15296
16063
|
expected: "string",
|
|
15297
16064
|
value: input.mixin
|
|
15298
|
-
}), (Array.isArray(input.children) || _report(_exceptionable, {
|
|
16065
|
+
}), undefined === input.children || (Array.isArray(input.children) || _report(_exceptionable, {
|
|
15299
16066
|
path: _path + ".children",
|
|
15300
|
-
expected: "Array<EventNodeContent>",
|
|
16067
|
+
expected: "(Array<EventNodeContent> | undefined)",
|
|
15301
16068
|
value: input.children
|
|
15302
|
-
})) && input.children.map((elem,
|
|
15303
|
-
path: _path + ".children[" +
|
|
16069
|
+
})) && input.children.map((elem, _index11) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
16070
|
+
path: _path + ".children[" + _index11 + "]",
|
|
15304
16071
|
expected: "EventNodeContent",
|
|
15305
16072
|
value: elem
|
|
15306
|
-
})) && _vo1(elem, _path + ".children[" +
|
|
15307
|
-
path: _path + ".children[" +
|
|
16073
|
+
})) && _vo1(elem, _path + ".children[" + _index11 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16074
|
+
path: _path + ".children[" + _index11 + "]",
|
|
15308
16075
|
expected: "EventNodeContent",
|
|
15309
16076
|
value: elem
|
|
15310
16077
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
15311
16078
|
path: _path + ".children",
|
|
15312
|
-
expected: "Array<EventNodeContent>",
|
|
16079
|
+
expected: "(Array<EventNodeContent> | undefined)",
|
|
15313
16080
|
value: input.children
|
|
15314
|
-
})].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => ["
|
|
16081
|
+
})].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => ["text" === input.type || _report(_exceptionable, {
|
|
15315
16082
|
path: _path + ".type",
|
|
15316
|
-
expected: "
|
|
16083
|
+
expected: "\"text\"",
|
|
15317
16084
|
value: input.type
|
|
15318
16085
|
}), "string" === typeof input.text || _report(_exceptionable, {
|
|
15319
16086
|
path: _path + ".text",
|
|
@@ -15327,7 +16094,27 @@ function _validateDomainRecord(domain, input) {
|
|
|
15327
16094
|
path: _path + ".format",
|
|
15328
16095
|
expected: "(number | undefined)",
|
|
15329
16096
|
value: input.format
|
|
15330
|
-
})].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => ["
|
|
16097
|
+
})].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => ["link" === input.type || "autolink" === input.type || _report(_exceptionable, {
|
|
16098
|
+
path: _path + ".type",
|
|
16099
|
+
expected: "(\"autolink\" | \"link\")",
|
|
16100
|
+
value: input.type
|
|
16101
|
+
}), (Array.isArray(input.children) || _report(_exceptionable, {
|
|
16102
|
+
path: _path + ".children",
|
|
16103
|
+
expected: "Array<FormattedTextNodeContent>",
|
|
16104
|
+
value: input.children
|
|
16105
|
+
})) && input.children.map((elem, _index12) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
16106
|
+
path: _path + ".children[" + _index12 + "]",
|
|
16107
|
+
expected: "FormattedTextNodeContent",
|
|
16108
|
+
value: elem
|
|
16109
|
+
})) && _vo2(elem, _path + ".children[" + _index12 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16110
|
+
path: _path + ".children[" + _index12 + "]",
|
|
16111
|
+
expected: "FormattedTextNodeContent",
|
|
16112
|
+
value: elem
|
|
16113
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
16114
|
+
path: _path + ".children",
|
|
16115
|
+
expected: "Array<FormattedTextNodeContent>",
|
|
16116
|
+
value: input.children
|
|
16117
|
+
})].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => ["listitem" === input.type || _report(_exceptionable, {
|
|
15331
16118
|
path: _path + ".type",
|
|
15332
16119
|
expected: "\"listitem\"",
|
|
15333
16120
|
value: input.type
|
|
@@ -15343,19 +16130,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
15343
16130
|
path: _path + ".children",
|
|
15344
16131
|
expected: "Array<TextNodeContent>",
|
|
15345
16132
|
value: input.children
|
|
15346
|
-
})) && input.children.map((elem,
|
|
15347
|
-
path: _path + ".children[" +
|
|
15348
|
-
expected: "
|
|
16133
|
+
})) && input.children.map((elem, _index13) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
16134
|
+
path: _path + ".children[" + _index13 + "]",
|
|
16135
|
+
expected: "(FormattedTextNodeContent | LinkNodeContent)",
|
|
15349
16136
|
value: elem
|
|
15350
|
-
})) &&
|
|
15351
|
-
path: _path + ".children[" +
|
|
15352
|
-
expected: "
|
|
16137
|
+
})) && _vu1(elem, _path + ".children[" + _index13 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16138
|
+
path: _path + ".children[" + _index13 + "]",
|
|
16139
|
+
expected: "(FormattedTextNodeContent | LinkNodeContent)",
|
|
15353
16140
|
value: elem
|
|
15354
16141
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
15355
16142
|
path: _path + ".children",
|
|
15356
16143
|
expected: "Array<TextNodeContent>",
|
|
15357
16144
|
value: input.children
|
|
15358
|
-
})].every(flag => flag); const
|
|
16145
|
+
})].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => ["list" === input.type || _report(_exceptionable, {
|
|
15359
16146
|
path: _path + ".type",
|
|
15360
16147
|
expected: "\"list\"",
|
|
15361
16148
|
value: input.type
|
|
@@ -15371,19 +16158,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
15371
16158
|
path: _path + ".children",
|
|
15372
16159
|
expected: "Array<ListItemNodeContent>",
|
|
15373
16160
|
value: input.children
|
|
15374
|
-
})) && input.children.map((elem,
|
|
15375
|
-
path: _path + ".children[" +
|
|
16161
|
+
})) && input.children.map((elem, _index14) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
16162
|
+
path: _path + ".children[" + _index14 + "]",
|
|
15376
16163
|
expected: "ListItemNodeContent",
|
|
15377
16164
|
value: elem
|
|
15378
|
-
})) &&
|
|
15379
|
-
path: _path + ".children[" +
|
|
16165
|
+
})) && _vo4(elem, _path + ".children[" + _index14 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16166
|
+
path: _path + ".children[" + _index14 + "]",
|
|
15380
16167
|
expected: "ListItemNodeContent",
|
|
15381
16168
|
value: elem
|
|
15382
16169
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
15383
16170
|
path: _path + ".children",
|
|
15384
16171
|
expected: "Array<ListItemNodeContent>",
|
|
15385
16172
|
value: input.children
|
|
15386
|
-
})].every(flag => flag); const
|
|
16173
|
+
})].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["paragraph" === input.type || _report(_exceptionable, {
|
|
15387
16174
|
path: _path + ".type",
|
|
15388
16175
|
expected: "\"paragraph\"",
|
|
15389
16176
|
value: input.type
|
|
@@ -15391,19 +16178,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
15391
16178
|
path: _path + ".children",
|
|
15392
16179
|
expected: "Array<TextNodeContent>",
|
|
15393
16180
|
value: input.children
|
|
15394
|
-
})) && input.children.map((elem,
|
|
15395
|
-
path: _path + ".children[" +
|
|
15396
|
-
expected: "
|
|
16181
|
+
})) && input.children.map((elem, _index15) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
16182
|
+
path: _path + ".children[" + _index15 + "]",
|
|
16183
|
+
expected: "(FormattedTextNodeContent | LinkNodeContent)",
|
|
15397
16184
|
value: elem
|
|
15398
|
-
})) &&
|
|
15399
|
-
path: _path + ".children[" +
|
|
15400
|
-
expected: "
|
|
16185
|
+
})) && _vu1(elem, _path + ".children[" + _index15 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16186
|
+
path: _path + ".children[" + _index15 + "]",
|
|
16187
|
+
expected: "(FormattedTextNodeContent | LinkNodeContent)",
|
|
15401
16188
|
value: elem
|
|
15402
16189
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
15403
16190
|
path: _path + ".children",
|
|
15404
16191
|
expected: "Array<TextNodeContent>",
|
|
15405
16192
|
value: input.children
|
|
15406
|
-
})].every(flag => flag); const
|
|
16193
|
+
})].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => ["comment" === input.type || _report(_exceptionable, {
|
|
15407
16194
|
path: _path + ".type",
|
|
15408
16195
|
expected: "\"comment\"",
|
|
15409
16196
|
value: input.type
|
|
@@ -15411,19 +16198,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
15411
16198
|
path: _path + ".children",
|
|
15412
16199
|
expected: "Array<TextNodeContent>",
|
|
15413
16200
|
value: input.children
|
|
15414
|
-
})) && input.children.map((elem,
|
|
15415
|
-
path: _path + ".children[" +
|
|
15416
|
-
expected: "
|
|
16201
|
+
})) && input.children.map((elem, _index16) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
16202
|
+
path: _path + ".children[" + _index16 + "]",
|
|
16203
|
+
expected: "(FormattedTextNodeContent | LinkNodeContent)",
|
|
15417
16204
|
value: elem
|
|
15418
|
-
})) &&
|
|
15419
|
-
path: _path + ".children[" +
|
|
15420
|
-
expected: "
|
|
16205
|
+
})) && _vu1(elem, _path + ".children[" + _index16 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16206
|
+
path: _path + ".children[" + _index16 + "]",
|
|
16207
|
+
expected: "(FormattedTextNodeContent | LinkNodeContent)",
|
|
15421
16208
|
value: elem
|
|
15422
16209
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
15423
16210
|
path: _path + ".children",
|
|
15424
16211
|
expected: "Array<TextNodeContent>",
|
|
15425
16212
|
value: input.children
|
|
15426
|
-
})].every(flag => flag); const
|
|
16213
|
+
})].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => ["heading" === input.type || _report(_exceptionable, {
|
|
15427
16214
|
path: _path + ".type",
|
|
15428
16215
|
expected: "\"heading\"",
|
|
15429
16216
|
value: input.type
|
|
@@ -15435,19 +16222,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
15435
16222
|
path: _path + ".children",
|
|
15436
16223
|
expected: "Array<TextNodeContent>",
|
|
15437
16224
|
value: input.children
|
|
15438
|
-
})) && input.children.map((elem,
|
|
15439
|
-
path: _path + ".children[" +
|
|
15440
|
-
expected: "
|
|
16225
|
+
})) && input.children.map((elem, _index17) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
16226
|
+
path: _path + ".children[" + _index17 + "]",
|
|
16227
|
+
expected: "(FormattedTextNodeContent | LinkNodeContent)",
|
|
15441
16228
|
value: elem
|
|
15442
|
-
})) &&
|
|
15443
|
-
path: _path + ".children[" +
|
|
15444
|
-
expected: "
|
|
16229
|
+
})) && _vu1(elem, _path + ".children[" + _index17 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16230
|
+
path: _path + ".children[" + _index17 + "]",
|
|
16231
|
+
expected: "(FormattedTextNodeContent | LinkNodeContent)",
|
|
15445
16232
|
value: elem
|
|
15446
16233
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
15447
16234
|
path: _path + ".children",
|
|
15448
16235
|
expected: "Array<TextNodeContent>",
|
|
15449
16236
|
value: input.children
|
|
15450
|
-
})].every(flag => flag); const
|
|
16237
|
+
})].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => ["quote" === input.type || _report(_exceptionable, {
|
|
15451
16238
|
path: _path + ".type",
|
|
15452
16239
|
expected: "\"quote\"",
|
|
15453
16240
|
value: input.type
|
|
@@ -15455,45 +16242,58 @@ function _validateDomainRecord(domain, input) {
|
|
|
15455
16242
|
path: _path + ".children",
|
|
15456
16243
|
expected: "Array<TextNodeContent>",
|
|
15457
16244
|
value: input.children
|
|
15458
|
-
})) && input.children.map((elem,
|
|
15459
|
-
path: _path + ".children[" +
|
|
15460
|
-
expected: "
|
|
16245
|
+
})) && input.children.map((elem, _index18) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
16246
|
+
path: _path + ".children[" + _index18 + "]",
|
|
16247
|
+
expected: "(FormattedTextNodeContent | LinkNodeContent)",
|
|
15461
16248
|
value: elem
|
|
15462
|
-
})) &&
|
|
15463
|
-
path: _path + ".children[" +
|
|
15464
|
-
expected: "
|
|
16249
|
+
})) && _vu1(elem, _path + ".children[" + _index18 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16250
|
+
path: _path + ".children[" + _index18 + "]",
|
|
16251
|
+
expected: "(FormattedTextNodeContent | LinkNodeContent)",
|
|
15465
16252
|
value: elem
|
|
15466
16253
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
15467
16254
|
path: _path + ".children",
|
|
15468
16255
|
expected: "Array<TextNodeContent>",
|
|
15469
16256
|
value: input.children
|
|
15470
|
-
})].every(flag => flag); const
|
|
16257
|
+
})].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => ["horizontalrule" === input.type || _report(_exceptionable, {
|
|
15471
16258
|
path: _path + ".type",
|
|
15472
16259
|
expected: "\"horizontalrule\"",
|
|
15473
16260
|
value: input.type
|
|
15474
16261
|
})].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
15475
16262
|
if ("event" === input.type)
|
|
15476
16263
|
return _vo1(input, _path, true && _exceptionable);
|
|
15477
|
-
else if ("
|
|
16264
|
+
else if ("text" === input.type)
|
|
15478
16265
|
return _vo2(input, _path, true && _exceptionable);
|
|
15479
|
-
else if ("
|
|
16266
|
+
else if ("link" === input.type || "autolink" === input.type)
|
|
15480
16267
|
return _vo3(input, _path, true && _exceptionable);
|
|
15481
|
-
else if ("
|
|
16268
|
+
else if ("listitem" === input.type)
|
|
15482
16269
|
return _vo4(input, _path, true && _exceptionable);
|
|
16270
|
+
else if ("list" === input.type)
|
|
16271
|
+
return _vo5(input, _path, true && _exceptionable);
|
|
15483
16272
|
else if ("quote" === input.type)
|
|
15484
|
-
return
|
|
16273
|
+
return _vo9(input, _path, true && _exceptionable);
|
|
15485
16274
|
else if ("comment" === input.type)
|
|
15486
|
-
return
|
|
16275
|
+
return _vo7(input, _path, true && _exceptionable);
|
|
15487
16276
|
else if ("paragraph" === input.type)
|
|
15488
|
-
return
|
|
16277
|
+
return _vo6(input, _path, true && _exceptionable);
|
|
15489
16278
|
else if ("heading" === input.type)
|
|
15490
|
-
return
|
|
16279
|
+
return _vo8(input, _path, true && _exceptionable);
|
|
15491
16280
|
else if ("horizontalrule" === input.type)
|
|
15492
|
-
return
|
|
16281
|
+
return _vo10(input, _path, true && _exceptionable);
|
|
16282
|
+
else
|
|
16283
|
+
return _report(_exceptionable, {
|
|
16284
|
+
path: _path,
|
|
16285
|
+
expected: "(EventNodeContent | FormattedTextNodeContent | LinkNodeContent | ListItemNodeContent | ListNodeContent | QuoteNodeContent | CommentNodeContent | ParagraphNodeContent | HeadingNodeContent | HorizontalRuleContent)",
|
|
16286
|
+
value: input
|
|
16287
|
+
});
|
|
16288
|
+
})(); const _vu1 = (input, _path, _exceptionable = true) => (() => {
|
|
16289
|
+
if ("text" === input.type)
|
|
16290
|
+
return _vo2(input, _path, true && _exceptionable);
|
|
16291
|
+
else if ("link" === input.type || "autolink" === input.type)
|
|
16292
|
+
return _vo3(input, _path, true && _exceptionable);
|
|
15493
16293
|
else
|
|
15494
16294
|
return _report(_exceptionable, {
|
|
15495
16295
|
path: _path,
|
|
15496
|
-
expected: "(
|
|
16296
|
+
expected: "(FormattedTextNodeContent | LinkNodeContent)",
|
|
15497
16297
|
value: input
|
|
15498
16298
|
});
|
|
15499
16299
|
})(); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
|
|
@@ -15900,84 +16700,84 @@ function _validateDomainRecord(domain, input) {
|
|
|
15900
16700
|
}; })()(input);
|
|
15901
16701
|
}
|
|
15902
16702
|
case ":settings": {
|
|
15903
|
-
return (() => { const
|
|
16703
|
+
return (() => { const _iv23 = new Set(["name", "fontname", "fontsize", "primaryColour", "secondaryColour", "outlineColour", "backColour", "bold", "italic", "underline", "strikeOut", "scaleX", "scaleY", "spacing", "lineSpacing", "angle", "borderStyle", "outline", "shadow", "alignment", "marginL", "marginR", "marginV", "encoding"]); const _iv28 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]); const _vv57 = new Set(["name", "fontname", "fontsize", "primaryColour", "secondaryColour", "outlineColour", "backColour", "bold", "italic", "underline", "strikeOut", "scaleX", "scaleY", "spacing", "lineSpacing", "angle", "borderStyle", "outline", "shadow", "alignment", "marginL", "marginR", "marginV", "encoding"]); const _vv62 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]); const _io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime) && (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && _io1(input.permission)) && (undefined === input["module"] || "object" === typeof input["module"] && null !== input["module"] && false === Array.isArray(input["module"]) && _io2(input["module"])) && (undefined === input.upload || "object" === typeof input.upload && null !== input.upload && false === Array.isArray(input.upload) && _io6(input.upload)) && (undefined === input.download || "object" === typeof input.download && null !== input.download && false === Array.isArray(input.download) && _io7(input.download)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && _io8(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && _io12(input.toolbarTags)) && (undefined === input.exclusiveTagGroups || Array.isArray(input.exclusiveTagGroups) && input.exclusiveTagGroups.every(elem => Array.isArray(elem) && elem.every(elem => "string" === typeof elem))) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && _io13(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && _io14(input.assignees)) && (undefined === input.comments || "object" === typeof input.comments && null !== input.comments && false === Array.isArray(input.comments) && _io15(input.comments)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && _io16(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && _io17(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && _io18(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && _io20(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io26(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && _io29(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && _io30(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.keymap || "object" === typeof input.keymap && null !== input.keymap && false === Array.isArray(input.keymap) && _io31(input.keymap)) && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && _io44(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && _io57(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io61(elem))) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && _io62(input.storyboard)) && (undefined === input.print || "object" === typeof input.print && null !== input.print && false === Array.isArray(input.print) && _io71(input.print)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io72(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && _io73(input.plugins)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen) && (undefined === input.debug || "boolean" === typeof input.debug) && (undefined === input.featurePreview || "object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) && _io76(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && _io77(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && _io78(input.notifications)) && (undefined === input.suppressDeleteAlert || "boolean" === typeof input.suppressDeleteAlert) && (undefined === input.clone || "object" === typeof input.clone && null !== input.clone && false === Array.isArray(input.clone) && _io81(input.clone)) && (undefined === input.utilsAssetEditorPanel || "object" === typeof input.utilsAssetEditorPanel && null !== input.utilsAssetEditorPanel && false === Array.isArray(input.utilsAssetEditorPanel) && _io84(input.utilsAssetEditorPanel)) && (undefined === input.display || "object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) && _io85(input.display)) && (undefined === input.bookmarks || "object" === typeof input.bookmarks && null !== input.bookmarks && false === Array.isArray(input.bookmarks) && _io86(input.bookmarks)) && (undefined === input.shotbox || "object" === typeof input.shotbox && null !== input.shotbox && false === Array.isArray(input.shotbox) && _io87(input.shotbox)); const _io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin); const _io2 = input => (undefined === input.editor || "string" === typeof input.editor) && (undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && _io3(input.tabs)); const _io3 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && _io4(input.settingsPanelStore)) && Object.keys(input).every(key => {
|
|
15904
16704
|
if (["settingsPanelStore"].some(prop => key === prop))
|
|
15905
16705
|
return true;
|
|
15906
16706
|
const value = input[key];
|
|
15907
16707
|
if (undefined === value)
|
|
15908
16708
|
return true;
|
|
15909
16709
|
return undefined === value || "object" === typeof value && null !== value && false === Array.isArray(value) && _io5(value);
|
|
15910
|
-
}); const _io4 = input => (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex) && (null === input.activeTab || undefined === input.activeTab || "string" === typeof input.activeTab) && (undefined === input.priority || "number" === typeof input.priority) && (null === input.height || undefined === input.height || "number" === typeof input.height); const _io5 = input => (null === input.activeTab || undefined === input.activeTab || "string" === typeof input.activeTab) && (undefined === input.priority || "number" === typeof input.priority) && (null === input.height || undefined === input.height || "number" === typeof input.height); const _io6 = input => (undefined === input.defaultGrouping || "" === input.defaultGrouping || "collection" === input.defaultGrouping || "stitch" === input.defaultGrouping) && (undefined === input.hideStoryboardCollection || "boolean" === typeof input.hideStoryboardCollection) && (undefined === input.displayUploadFilesDialog || "always" === input.displayUploadFilesDialog || "never" === input.displayUploadFilesDialog || "ifMultipleFiles" === input.displayUploadFilesDialog); const _io7 = input => (undefined === input.displaySaveDialog || "boolean" === typeof input.displaySaveDialog) && (undefined === input.batchDownloadDialogMode || "file" === input.batchDownloadDialogMode || "directory" === input.batchDownloadDialogMode); const _io8 = input => (undefined === input.map || "object" === typeof input.map && null !== input.map && false === Array.isArray(input.map) && _io9(input.map)) && (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && _io11(input.createMenu)); const _io9 = input => (undefined === input.clustering || "boolean" === typeof input.clustering) && (undefined === input.zoom || "number" === typeof input.zoom) && (undefined === input.center || "object" === typeof input.center && null !== input.center && false === Array.isArray(input.center) && _io10(input.center)); const _io10 = input => (undefined === input.lat || "number" === typeof input.lat) && (undefined === input.lon || "number" === typeof input.lon); const _io11 = input => undefined === input.sortOrder || Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem); const _io12 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io13 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io14 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io15 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io16 = input => (undefined === input.enable || "boolean" === typeof input.enable) && (undefined === input.show24Hours || "boolean" === typeof input.show24Hours) && (undefined === input.showAmPm || "boolean" === typeof input.showAmPm) && (undefined === input.showSeconds || "boolean" === typeof input.showSeconds) && (undefined === input.showDayOfWeek || "boolean" === typeof input.showDayOfWeek) && (undefined === input.showDate || "boolean" === typeof input.showDate) && (undefined === input.format || "string" === typeof input.format); const _io17 = input => (undefined === input.color || "string" === typeof input.color) && (undefined === input.name || "string" === typeof input.name); const _io18 = input => (undefined === input.maxMru || "number" === typeof input.maxMru) && (undefined === input.maxTabs || "number" === typeof input.maxTabs) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) && _io19(input.layout)); const _io19 = input => (undefined === input.bookmarks || "number" === typeof input.bookmarks) && (undefined === input.browser || "number" === typeof input.browser); const _io20 = input => (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && _io21(input.createMenu)) && (undefined === input.colorTags || Array.isArray(input.colorTags) && input.colorTags.every(elem => "object" === typeof elem && null !== elem && _io22(elem))) && (undefined === input.readType || "characters" === input.readType || "words" === input.readType || "wordsPerMinute" === input.readType) && (undefined === input.readRate || "number" === typeof input.readRate) && (undefined === input.collapsedNodes || "object" === typeof input.collapsedNodes && null !== input.collapsedNodes && false === Array.isArray(input.collapsedNodes) && _io23(input.collapsedNodes)); const _io21 = input => (undefined === input.sortBy || "index" === input.sortBy || "title" === input.sortBy) && (undefined === input.showPreview || "boolean" === typeof input.showPreview); const _io22 = input => (null === input.name || "string" === typeof input.name) && (null === input.icon || "string" === typeof input.icon) && (null === input.color || "string" === typeof input.color) && (null === input.description || "string" === typeof input.description); const _io23 = input => Object.keys(input).every(key => {
|
|
16710
|
+
}); const _io4 = input => (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex) && (null === input.activeTab || undefined === input.activeTab || "string" === typeof input.activeTab) && (undefined === input.priority || "number" === typeof input.priority) && (null === input.height || undefined === input.height || "number" === typeof input.height); const _io5 = input => (null === input.activeTab || undefined === input.activeTab || "string" === typeof input.activeTab) && (undefined === input.priority || "number" === typeof input.priority) && (null === input.height || undefined === input.height || "number" === typeof input.height); const _io6 = input => (undefined === input.defaultGrouping || "" === input.defaultGrouping || "collection" === input.defaultGrouping || "stitch" === input.defaultGrouping) && (undefined === input.hideStoryboardCollection || "boolean" === typeof input.hideStoryboardCollection) && (undefined === input.displayUploadFilesDialog || "always" === input.displayUploadFilesDialog || "never" === input.displayUploadFilesDialog || "ifMultipleFiles" === input.displayUploadFilesDialog); const _io7 = input => (undefined === input.displaySaveDialog || "boolean" === typeof input.displaySaveDialog) && (undefined === input.batchDownloadDialogMode || "file" === input.batchDownloadDialogMode || "directory" === input.batchDownloadDialogMode); const _io8 = input => (undefined === input.map || "object" === typeof input.map && null !== input.map && false === Array.isArray(input.map) && _io9(input.map)) && (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && _io11(input.createMenu)); const _io9 = input => (undefined === input.clustering || "boolean" === typeof input.clustering) && (undefined === input.zoom || "number" === typeof input.zoom) && (undefined === input.center || "object" === typeof input.center && null !== input.center && false === Array.isArray(input.center) && _io10(input.center)); const _io10 = input => (undefined === input.lat || "number" === typeof input.lat) && (undefined === input.lon || "number" === typeof input.lon); const _io11 = input => undefined === input.sortOrder || Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem); const _io12 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io13 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io14 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io15 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io16 = input => (undefined === input.enable || "boolean" === typeof input.enable) && (undefined === input.show24Hours || "boolean" === typeof input.show24Hours) && (undefined === input.showAmPm || "boolean" === typeof input.showAmPm) && (undefined === input.showSeconds || "boolean" === typeof input.showSeconds) && (undefined === input.showDayOfWeek || "boolean" === typeof input.showDayOfWeek) && (undefined === input.showDate || "boolean" === typeof input.showDate) && (undefined === input.format || "string" === typeof input.format); const _io17 = input => (undefined === input.color || "string" === typeof input.color) && (undefined === input.name || "string" === typeof input.name); const _io18 = input => (undefined === input.maxMru || "number" === typeof input.maxMru) && (undefined === input.maxTabs || "number" === typeof input.maxTabs) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) && _io19(input.layout)); const _io19 = input => (undefined === input.bookmarks || "number" === typeof input.bookmarks) && (undefined === input.browser || "number" === typeof input.browser); const _io20 = input => (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && _io21(input.createMenu)) && (undefined === input.colorTags || Array.isArray(input.colorTags) && input.colorTags.every(elem => "object" === typeof elem && null !== elem && _io22(elem))) && (undefined === input.readType || "characters" === input.readType || "words" === input.readType || "wordsPerMinute" === input.readType) && (undefined === input.readRate || "number" === typeof input.readRate) && (undefined === input.collapsedNodes || "object" === typeof input.collapsedNodes && null !== input.collapsedNodes && false === Array.isArray(input.collapsedNodes) && _io23(input.collapsedNodes)) && (undefined === input.colorHistory || Array.isArray(input.colorHistory) && input.colorHistory.every(elem => "object" === typeof elem && null !== elem && _io25(elem))); const _io21 = input => (undefined === input.sortBy || "index" === input.sortBy || "title" === input.sortBy) && (undefined === input.showPreview || "boolean" === typeof input.showPreview); const _io22 = input => (null === input.name || "string" === typeof input.name) && (null === input.icon || "string" === typeof input.icon) && (null === input.color || "string" === typeof input.color) && (null === input.description || "string" === typeof input.description); const _io23 = input => Object.keys(input).every(key => {
|
|
15911
16711
|
const value = input[key];
|
|
15912
16712
|
if (undefined === value)
|
|
15913
16713
|
return true;
|
|
15914
16714
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io24(value);
|
|
15915
|
-
}); const _io24 = input => (undefined === input.preview || "boolean" === typeof input.preview) && (undefined === input.children || "boolean" === typeof input.children); const _io25 = input => (undefined === input.graphicBaseTemplate || "string" === typeof input.graphicBaseTemplate) && (undefined === input.favorites || Array.isArray(input.favorites) && input.favorites.every(elem => "string" === typeof elem)) && (undefined === input.defaults || "object" === typeof input.defaults && null !== input.defaults && false === Array.isArray(input.defaults) &&
|
|
15916
|
-
const value = input[key];
|
|
15917
|
-
if (undefined === value)
|
|
15918
|
-
return true;
|
|
15919
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io27(value);
|
|
15920
|
-
}); const _io27 = input => (undefined === input.event || "string" === typeof input.event) && (undefined === input.property || "string" === typeof input.property); const _io28 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails; const _io29 = 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 _io30 = input => (undefined === input.display || "object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) && _io31(input.display)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && _io33(input.browser)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && _io34(input.gallery)) && (undefined === input.global || "object" === typeof input.global && null !== input.global && false === Array.isArray(input.global) && _io35(input.global)) && (undefined === input.player || "object" === typeof input.player && null !== input.player && false === Array.isArray(input.player) && _io36(input.player)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && _io37(input.script)) && (undefined === input.codeEditor || "object" === typeof input.codeEditor && null !== input.codeEditor && false === Array.isArray(input.codeEditor) && _io38(input.codeEditor)) && (undefined === input.bookmarks || "object" === typeof input.bookmarks && null !== input.bookmarks && false === Array.isArray(input.bookmarks) && _io39(input.bookmarks)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && _io40(input.edit)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && _io41(input.rundown)) && (undefined === input.segment || "object" === typeof input.segment && null !== input.segment && false === Array.isArray(input.segment) && _io42(input.segment)); const _io31 = input => Object.keys(input).every(key => {
|
|
16715
|
+
}); const _io24 = input => (undefined === input.preview || "boolean" === typeof input.preview) && (undefined === input.children || "boolean" === typeof input.children); const _io25 = input => (null === input.color || "string" === typeof input.color) && (null === input.backgroundColor || "string" === typeof input.backgroundColor); const _io26 = input => (undefined === input.graphicBaseTemplate || "string" === typeof input.graphicBaseTemplate) && (undefined === input.favorites || Array.isArray(input.favorites) && input.favorites.every(elem => "string" === typeof elem)) && (undefined === input.defaults || "object" === typeof input.defaults && null !== input.defaults && false === Array.isArray(input.defaults) && _io27(input.defaults)); const _io27 = input => Object.keys(input).every(key => {
|
|
15921
16716
|
const value = input[key];
|
|
15922
16717
|
if (undefined === value)
|
|
15923
16718
|
return true;
|
|
15924
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
15925
|
-
}); const
|
|
16719
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io28(value);
|
|
16720
|
+
}); const _io28 = input => (undefined === input.event || "string" === typeof input.event) && (undefined === input.property || "string" === typeof input.property); const _io29 = input => (undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails) && ("folded" === input.scriptEventFolding || "unfoldedUntilFolded" === input.scriptEventFolding); const _io30 = 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 _io31 = input => (undefined === input.display || "object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) && _io32(input.display)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && _io34(input.browser)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && _io35(input.gallery)) && (undefined === input.global || "object" === typeof input.global && null !== input.global && false === Array.isArray(input.global) && _io36(input.global)) && (undefined === input.player || "object" === typeof input.player && null !== input.player && false === Array.isArray(input.player) && _io37(input.player)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && _io38(input.script)) && (undefined === input.codeEditor || "object" === typeof input.codeEditor && null !== input.codeEditor && false === Array.isArray(input.codeEditor) && _io39(input.codeEditor)) && (undefined === input.bookmarks || "object" === typeof input.bookmarks && null !== input.bookmarks && false === Array.isArray(input.bookmarks) && _io40(input.bookmarks)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && _io41(input.edit)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && _io42(input.rundown)) && (undefined === input.segment || "object" === typeof input.segment && null !== input.segment && false === Array.isArray(input.segment) && _io43(input.segment)); const _io32 = input => Object.keys(input).every(key => {
|
|
15926
16721
|
const value = input[key];
|
|
15927
16722
|
if (undefined === value)
|
|
15928
16723
|
return true;
|
|
15929
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
15930
|
-
}); const _io34 = input => Object.keys(input).every(key => {
|
|
16724
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
16725
|
+
}); const _io33 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.sequence || "string" === typeof input.sequence); const _io34 = input => Object.keys(input).every(key => {
|
|
15931
16726
|
const value = input[key];
|
|
15932
16727
|
if (undefined === value)
|
|
15933
16728
|
return true;
|
|
15934
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
16729
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
15935
16730
|
}); const _io35 = input => Object.keys(input).every(key => {
|
|
15936
16731
|
const value = input[key];
|
|
15937
16732
|
if (undefined === value)
|
|
15938
16733
|
return true;
|
|
15939
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
16734
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
15940
16735
|
}); const _io36 = input => Object.keys(input).every(key => {
|
|
15941
16736
|
const value = input[key];
|
|
15942
16737
|
if (undefined === value)
|
|
15943
16738
|
return true;
|
|
15944
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
16739
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
15945
16740
|
}); const _io37 = input => Object.keys(input).every(key => {
|
|
15946
16741
|
const value = input[key];
|
|
15947
16742
|
if (undefined === value)
|
|
15948
16743
|
return true;
|
|
15949
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
16744
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
15950
16745
|
}); const _io38 = input => Object.keys(input).every(key => {
|
|
15951
16746
|
const value = input[key];
|
|
15952
16747
|
if (undefined === value)
|
|
15953
16748
|
return true;
|
|
15954
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
16749
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
15955
16750
|
}); const _io39 = input => Object.keys(input).every(key => {
|
|
15956
16751
|
const value = input[key];
|
|
15957
16752
|
if (undefined === value)
|
|
15958
16753
|
return true;
|
|
15959
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
16754
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
15960
16755
|
}); const _io40 = input => Object.keys(input).every(key => {
|
|
15961
16756
|
const value = input[key];
|
|
15962
16757
|
if (undefined === value)
|
|
15963
16758
|
return true;
|
|
15964
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
16759
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
15965
16760
|
}); const _io41 = input => Object.keys(input).every(key => {
|
|
15966
16761
|
const value = input[key];
|
|
15967
16762
|
if (undefined === value)
|
|
15968
16763
|
return true;
|
|
15969
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
16764
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
15970
16765
|
}); const _io42 = input => Object.keys(input).every(key => {
|
|
15971
16766
|
const value = input[key];
|
|
15972
16767
|
if (undefined === value)
|
|
15973
16768
|
return true;
|
|
15974
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
15975
|
-
}); const _io43 = input => (undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && _io44(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) && _io45(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && _io46(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) && _io49(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && _io50(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io51(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && _io55(input.openCommand))); const _io44 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe); const _io45 = 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 _io46 = 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) && _io47(elem))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io48(elem))) && (undefined === input.overridableProperties || Array.isArray(input.overridableProperties) && input.overridableProperties.every(elem => null === elem || true === _iv22.has(elem))); const _io47 = 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 _io48 = input => (null === input.label || undefined === input.label || "string" === typeof input.label) && (null === input.color || undefined === input.color || "string" === typeof input.color); const _io49 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.aspectRatio || "string" === typeof input.aspectRatio); const _io50 = 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 _io51 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && _io52(input.subtitleDisclaimer); const _io52 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && _io53(input.defaultValue)); const _io53 = 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) && _io54(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration); const _io54 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.value || "string" === typeof input.value); const _io55 = 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 _io56 = input => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && (undefined === input.voiceOver || "object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) && _io57(input.voiceOver)); const _io57 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.backgroundReductionDb || "number" === typeof input.backgroundReductionDb) && (undefined === input.recordMode || "instant" === input.recordMode || "punchAndRoll" === input.recordMode) && (undefined === input.preRollDuration || "number" === typeof input.preRollDuration); const _io58 = 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 _io59 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && _io60(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && _io61(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && _io65(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && _io67(input.item)); const _io60 = input => undefined === input.auto || "boolean" === typeof input.auto; const _io61 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && _io62(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && _io64(input.note)); const _io62 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && _io63(input.excerpt); const _io63 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode) && (undefined === input.comments || "boolean" === typeof input.comments); const _io64 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight; const _io65 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && _io66(input.search)) && (undefined === input.sortMode || true === _iv26.has(input.sortMode)); const _io66 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed; const _io67 = input => (undefined === input.maxHeight || "number" === typeof input.maxHeight) && (undefined === input.titleLines || "number" === typeof input.titleLines); const _io68 = input => undefined === input.fontFamilies || Array.isArray(input.fontFamilies) && input.fontFamilies.every(elem => "string" === typeof elem); const _io69 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.folded || "boolean" === typeof input.folded); const _io70 = input => (undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && _io71(input.adobe)) && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && _io72(input.rive)); const _io71 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies; const _io72 = input => undefined === input.template || "string" === typeof input.template; const _io73 = input => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering); const _io74 = 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.multiplexWebSockets || "boolean" === typeof input.multiplexWebSockets) && (undefined === input.systemHealth || "boolean" === typeof input.systemHealth); const _io75 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io76(input.events); const _io76 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && _io77(input.publishSucceeded)); const _io77 = input => Object.keys(input).every(key => {
|
|
16769
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
16770
|
+
}); const _io43 = input => Object.keys(input).every(key => {
|
|
16771
|
+
const value = input[key];
|
|
16772
|
+
if (undefined === value)
|
|
16773
|
+
return true;
|
|
16774
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
16775
|
+
}); const _io44 = input => (undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && _io45(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) && _io46(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && _io47(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) && _io50(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && _io51(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io52(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && _io56(input.openCommand))); const _io45 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe); const _io46 = 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 _io47 = 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) && _io48(elem))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io49(elem))) && (undefined === input.overridableProperties || Array.isArray(input.overridableProperties) && input.overridableProperties.every(elem => null === elem || true === _iv23.has(elem))) && (undefined === input.previewResolutionScale || "number" === typeof input.previewResolutionScale); const _io48 = 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 _io49 = input => (null === input.label || undefined === input.label || "string" === typeof input.label) && (null === input.color || undefined === input.color || "string" === typeof input.color); const _io50 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.aspectRatio || "string" === typeof input.aspectRatio); const _io51 = 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 _io52 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && _io53(input.subtitleDisclaimer); const _io53 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && _io54(input.defaultValue)); const _io54 = 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) && _io55(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration); const _io55 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.value || "string" === typeof input.value); const _io56 = 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 _io57 = input => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && (undefined === input.normalize || "object" === typeof input.normalize && null !== input.normalize && false === Array.isArray(input.normalize) && _io58(input.normalize)) && (undefined === input.voiceOver || "object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) && _io60(input.voiceOver)); const _io58 = input => (undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _io59(elem))) && (undefined === input.defaultPresetId || "string" === typeof input.defaultPresetId); const _io59 = input => "string" === typeof input.id && "string" === typeof input.title && "number" === typeof input.i && "number" === typeof input.tp; const _io60 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.backgroundReductionDb || "number" === typeof input.backgroundReductionDb) && (undefined === input.recordMode || "instant" === input.recordMode || "punchAndRoll" === input.recordMode) && (undefined === input.preRollDuration || "number" === typeof input.preRollDuration); const _io61 = 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 _io62 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && _io63(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && _io64(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && _io68(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && _io70(input.item)); const _io63 = input => undefined === input.auto || "boolean" === typeof input.auto; const _io64 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && _io65(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && _io67(input.note)); const _io65 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && _io66(input.excerpt); const _io66 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode) && (undefined === input.comments || "boolean" === typeof input.comments); const _io67 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight; const _io68 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && _io69(input.search)) && (undefined === input.sortMode || true === _iv28.has(input.sortMode)); const _io69 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed; const _io70 = input => (undefined === input.maxHeight || "number" === typeof input.maxHeight) && (undefined === input.titleLines || "number" === typeof input.titleLines); const _io71 = input => undefined === input.fontFamilies || Array.isArray(input.fontFamilies) && input.fontFamilies.every(elem => "string" === typeof elem); const _io72 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.folded || "boolean" === typeof input.folded); const _io73 = input => (undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && _io74(input.adobe)) && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && _io75(input.rive)); const _io74 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies; const _io75 = input => undefined === input.template || "string" === typeof input.template; const _io76 = input => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering); const _io77 = 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.multiplexWebSockets || "boolean" === typeof input.multiplexWebSockets) && (undefined === input.systemHealth || "boolean" === typeof input.systemHealth); const _io78 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io79(input.events); const _io79 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && _io80(input.publishSucceeded)); const _io80 = input => Object.keys(input).every(key => {
|
|
15976
16776
|
const value = input[key];
|
|
15977
16777
|
if (undefined === value)
|
|
15978
16778
|
return true;
|
|
15979
16779
|
return Array.isArray(value) && value.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem);
|
|
15980
|
-
}); const
|
|
16780
|
+
}); const _io81 = input => (undefined === input.create || "object" === typeof input.create && null !== input.create && false === Array.isArray(input.create) && _io82(input.create)) && (undefined === input.duplicate || "object" === typeof input.duplicate && null !== input.duplicate && false === Array.isArray(input.duplicate) && _io83(input.duplicate)); const _io82 = input => (undefined === input.titlePrefix || "string" === typeof input.titlePrefix) && (undefined === input.titleSuffix || "string" === typeof input.titleSuffix); const _io83 = input => (undefined === input.titlePrefix || "string" === typeof input.titlePrefix) && (undefined === input.titleSuffix || "string" === typeof input.titleSuffix); const _io84 = input => (undefined === input.stateFilter || Array.isArray(input.stateFilter) && input.stateFilter.every(elem => "number" === typeof elem)) && (undefined === input.textFilter || "string" === typeof input.textFilter) && (undefined === input.showEmpty || "boolean" === typeof input.showEmpty) && (undefined === input.selectedRecord || "string" === typeof input.selectedRecord) && (undefined === input.subscribeSearchHits || "boolean" === typeof input.subscribeSearchHits) && (undefined === input.parseRegex || "boolean" === typeof input.parseRegex); const _io85 = input => undefined === input.disableHotArea || "boolean" === typeof input.disableHotArea; const _io86 = input => undefined === input.refreshInterval || "number" === typeof input.refreshInterval; const _io87 = input => undefined === input.layout || "string" === typeof input.layout; const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime || _report(_exceptionable, {
|
|
15981
16781
|
path: _path + ".autoLogoutTime",
|
|
15982
16782
|
expected: "(number | undefined)",
|
|
15983
16783
|
value: input.autoLogoutTime
|
|
@@ -16033,16 +16833,16 @@ function _validateDomainRecord(domain, input) {
|
|
|
16033
16833
|
path: _path + ".exclusiveTagGroups",
|
|
16034
16834
|
expected: "(Array<Array<string>> | undefined)",
|
|
16035
16835
|
value: input.exclusiveTagGroups
|
|
16036
|
-
})) && input.exclusiveTagGroups.map((elem,
|
|
16037
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
16836
|
+
})) && input.exclusiveTagGroups.map((elem, _index35) => (Array.isArray(elem) || _report(_exceptionable, {
|
|
16837
|
+
path: _path + ".exclusiveTagGroups[" + _index35 + "]",
|
|
16038
16838
|
expected: "Array<string>",
|
|
16039
16839
|
value: elem
|
|
16040
|
-
})) && elem.map((elem,
|
|
16041
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
16840
|
+
})) && elem.map((elem, _index36) => "string" === typeof elem || _report(_exceptionable, {
|
|
16841
|
+
path: _path + ".exclusiveTagGroups[" + _index35 + "][" + _index36 + "]",
|
|
16042
16842
|
expected: "string",
|
|
16043
16843
|
value: elem
|
|
16044
16844
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
16045
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
16845
|
+
path: _path + ".exclusiveTagGroups[" + _index35 + "]",
|
|
16046
16846
|
expected: "Array<string>",
|
|
16047
16847
|
value: elem
|
|
16048
16848
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16107,27 +16907,27 @@ function _validateDomainRecord(domain, input) {
|
|
|
16107
16907
|
value: input.script
|
|
16108
16908
|
}), undefined === input.events || ("object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) || _report(_exceptionable, {
|
|
16109
16909
|
path: _path + ".events",
|
|
16110
|
-
expected: "(__type.
|
|
16910
|
+
expected: "(__type.o21 | undefined)",
|
|
16111
16911
|
value: input.events
|
|
16112
|
-
})) &&
|
|
16912
|
+
})) && _vo26(input.events, _path + ".events", true && _exceptionable) || _report(_exceptionable, {
|
|
16113
16913
|
path: _path + ".events",
|
|
16114
|
-
expected: "(__type.
|
|
16914
|
+
expected: "(__type.o21 | undefined)",
|
|
16115
16915
|
value: input.events
|
|
16116
|
-
}), undefined === input.rundown || ("object" === typeof input.rundown && null !== input.rundown
|
|
16916
|
+
}), undefined === input.rundown || ("object" === typeof input.rundown && null !== input.rundown || _report(_exceptionable, {
|
|
16117
16917
|
path: _path + ".rundown",
|
|
16118
|
-
expected: "(__type.
|
|
16918
|
+
expected: "(__type.o23 | undefined)",
|
|
16119
16919
|
value: input.rundown
|
|
16120
|
-
})) &&
|
|
16920
|
+
})) && _vo29(input.rundown, _path + ".rundown", true && _exceptionable) || _report(_exceptionable, {
|
|
16121
16921
|
path: _path + ".rundown",
|
|
16122
|
-
expected: "(__type.
|
|
16922
|
+
expected: "(__type.o23 | undefined)",
|
|
16123
16923
|
value: input.rundown
|
|
16124
16924
|
}), undefined === input.gallery || ("object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) || _report(_exceptionable, {
|
|
16125
16925
|
path: _path + ".gallery",
|
|
16126
|
-
expected: "(__type.
|
|
16926
|
+
expected: "(__type.o24 | undefined)",
|
|
16127
16927
|
value: input.gallery
|
|
16128
|
-
})) &&
|
|
16928
|
+
})) && _vo30(input.gallery, _path + ".gallery", true && _exceptionable) || _report(_exceptionable, {
|
|
16129
16929
|
path: _path + ".gallery",
|
|
16130
|
-
expected: "(__type.
|
|
16930
|
+
expected: "(__type.o24 | undefined)",
|
|
16131
16931
|
value: input.gallery
|
|
16132
16932
|
}), undefined === input.history || "boolean" === typeof input.history || _report(_exceptionable, {
|
|
16133
16933
|
path: _path + ".history",
|
|
@@ -16135,50 +16935,50 @@ function _validateDomainRecord(domain, input) {
|
|
|
16135
16935
|
value: input.history
|
|
16136
16936
|
}), undefined === input.keymap || ("object" === typeof input.keymap && null !== input.keymap && false === Array.isArray(input.keymap) || _report(_exceptionable, {
|
|
16137
16937
|
path: _path + ".keymap",
|
|
16138
|
-
expected: "(__type.
|
|
16938
|
+
expected: "(__type.o25 | undefined)",
|
|
16139
16939
|
value: input.keymap
|
|
16140
|
-
})) &&
|
|
16940
|
+
})) && _vo31(input.keymap, _path + ".keymap", true && _exceptionable) || _report(_exceptionable, {
|
|
16141
16941
|
path: _path + ".keymap",
|
|
16142
|
-
expected: "(__type.
|
|
16942
|
+
expected: "(__type.o25 | undefined)",
|
|
16143
16943
|
value: input.keymap
|
|
16144
16944
|
}), undefined === input.media || ("object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) || _report(_exceptionable, {
|
|
16145
16945
|
path: _path + ".media",
|
|
16146
|
-
expected: "(__type.
|
|
16946
|
+
expected: "(__type.o37 | undefined)",
|
|
16147
16947
|
value: input.media
|
|
16148
|
-
})) &&
|
|
16948
|
+
})) && _vo44(input.media, _path + ".media", true && _exceptionable) || _report(_exceptionable, {
|
|
16149
16949
|
path: _path + ".media",
|
|
16150
|
-
expected: "(__type.
|
|
16950
|
+
expected: "(__type.o37 | undefined)",
|
|
16151
16951
|
value: input.media
|
|
16152
16952
|
}), undefined === input.edit || ("object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) || _report(_exceptionable, {
|
|
16153
16953
|
path: _path + ".edit",
|
|
16154
|
-
expected: "(__type.
|
|
16954
|
+
expected: "(__type.o50 | undefined)",
|
|
16155
16955
|
value: input.edit
|
|
16156
|
-
})) &&
|
|
16956
|
+
})) && _vo57(input.edit, _path + ".edit", true && _exceptionable) || _report(_exceptionable, {
|
|
16157
16957
|
path: _path + ".edit",
|
|
16158
|
-
expected: "(__type.
|
|
16958
|
+
expected: "(__type.o50 | undefined)",
|
|
16159
16959
|
value: input.edit
|
|
16160
16960
|
}), undefined === input.commands || (Array.isArray(input.commands) || _report(_exceptionable, {
|
|
16161
16961
|
path: _path + ".commands",
|
|
16162
|
-
expected: "(Array<__type>.
|
|
16962
|
+
expected: "(Array<__type>.o6 | undefined)",
|
|
16163
16963
|
value: input.commands
|
|
16164
|
-
})) && input.commands.map((elem,
|
|
16165
|
-
path: _path + ".commands[" +
|
|
16166
|
-
expected: "__type.
|
|
16964
|
+
})) && input.commands.map((elem, _index37) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
16965
|
+
path: _path + ".commands[" + _index37 + "]",
|
|
16966
|
+
expected: "__type.o54",
|
|
16167
16967
|
value: elem
|
|
16168
|
-
})) &&
|
|
16169
|
-
path: _path + ".commands[" +
|
|
16170
|
-
expected: "__type.
|
|
16968
|
+
})) && _vo61(elem, _path + ".commands[" + _index37 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16969
|
+
path: _path + ".commands[" + _index37 + "]",
|
|
16970
|
+
expected: "__type.o54",
|
|
16171
16971
|
value: elem
|
|
16172
16972
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
16173
16973
|
path: _path + ".commands",
|
|
16174
|
-
expected: "(Array<__type>.
|
|
16974
|
+
expected: "(Array<__type>.o6 | undefined)",
|
|
16175
16975
|
value: input.commands
|
|
16176
16976
|
}), undefined === input.predefinedTags || (Array.isArray(input.predefinedTags) || _report(_exceptionable, {
|
|
16177
16977
|
path: _path + ".predefinedTags",
|
|
16178
16978
|
expected: "(Array<string> | undefined)",
|
|
16179
16979
|
value: input.predefinedTags
|
|
16180
|
-
})) && input.predefinedTags.map((elem,
|
|
16181
|
-
path: _path + ".predefinedTags[" +
|
|
16980
|
+
})) && input.predefinedTags.map((elem, _index38) => "string" === typeof elem || _report(_exceptionable, {
|
|
16981
|
+
path: _path + ".predefinedTags[" + _index38 + "]",
|
|
16182
16982
|
expected: "string",
|
|
16183
16983
|
value: elem
|
|
16184
16984
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16187,43 +16987,43 @@ function _validateDomainRecord(domain, input) {
|
|
|
16187
16987
|
value: input.predefinedTags
|
|
16188
16988
|
}), undefined === input.storyboard || ("object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) || _report(_exceptionable, {
|
|
16189
16989
|
path: _path + ".storyboard",
|
|
16190
|
-
expected: "(__type.
|
|
16990
|
+
expected: "(__type.o55 | undefined)",
|
|
16191
16991
|
value: input.storyboard
|
|
16192
|
-
})) &&
|
|
16992
|
+
})) && _vo62(input.storyboard, _path + ".storyboard", true && _exceptionable) || _report(_exceptionable, {
|
|
16193
16993
|
path: _path + ".storyboard",
|
|
16194
|
-
expected: "(__type.
|
|
16994
|
+
expected: "(__type.o55 | undefined)",
|
|
16195
16995
|
value: input.storyboard
|
|
16196
16996
|
}), undefined === input.print || ("object" === typeof input.print && null !== input.print && false === Array.isArray(input.print) || _report(_exceptionable, {
|
|
16197
16997
|
path: _path + ".print",
|
|
16198
|
-
expected: "(__type.
|
|
16998
|
+
expected: "(__type.o64 | undefined)",
|
|
16199
16999
|
value: input.print
|
|
16200
|
-
})) &&
|
|
17000
|
+
})) && _vo71(input.print, _path + ".print", true && _exceptionable) || _report(_exceptionable, {
|
|
16201
17001
|
path: _path + ".print",
|
|
16202
|
-
expected: "(__type.
|
|
17002
|
+
expected: "(__type.o64 | undefined)",
|
|
16203
17003
|
value: input.print
|
|
16204
17004
|
}), undefined === input.hiddenPreviews || (Array.isArray(input.hiddenPreviews) || _report(_exceptionable, {
|
|
16205
17005
|
path: _path + ".hiddenPreviews",
|
|
16206
|
-
expected: "(Array<__type>.
|
|
17006
|
+
expected: "(Array<__type>.o7 | undefined)",
|
|
16207
17007
|
value: input.hiddenPreviews
|
|
16208
|
-
})) && input.hiddenPreviews.map((elem,
|
|
16209
|
-
path: _path + ".hiddenPreviews[" +
|
|
16210
|
-
expected: "__type.
|
|
17008
|
+
})) && input.hiddenPreviews.map((elem, _index39) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
17009
|
+
path: _path + ".hiddenPreviews[" + _index39 + "]",
|
|
17010
|
+
expected: "__type.o65",
|
|
16211
17011
|
value: elem
|
|
16212
|
-
})) &&
|
|
16213
|
-
path: _path + ".hiddenPreviews[" +
|
|
16214
|
-
expected: "__type.
|
|
17012
|
+
})) && _vo72(elem, _path + ".hiddenPreviews[" + _index39 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
17013
|
+
path: _path + ".hiddenPreviews[" + _index39 + "]",
|
|
17014
|
+
expected: "__type.o65",
|
|
16215
17015
|
value: elem
|
|
16216
17016
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
16217
17017
|
path: _path + ".hiddenPreviews",
|
|
16218
|
-
expected: "(Array<__type>.
|
|
17018
|
+
expected: "(Array<__type>.o7 | undefined)",
|
|
16219
17019
|
value: input.hiddenPreviews
|
|
16220
17020
|
}), undefined === input.plugins || ("object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) || _report(_exceptionable, {
|
|
16221
17021
|
path: _path + ".plugins",
|
|
16222
|
-
expected: "(__type.
|
|
17022
|
+
expected: "(__type.o66 | undefined)",
|
|
16223
17023
|
value: input.plugins
|
|
16224
|
-
})) &&
|
|
17024
|
+
})) && _vo73(input.plugins, _path + ".plugins", true && _exceptionable) || _report(_exceptionable, {
|
|
16225
17025
|
path: _path + ".plugins",
|
|
16226
|
-
expected: "(__type.
|
|
17026
|
+
expected: "(__type.o66 | undefined)",
|
|
16227
17027
|
value: input.plugins
|
|
16228
17028
|
}), undefined === input.crashScreen || "boolean" === typeof input.crashScreen || _report(_exceptionable, {
|
|
16229
17029
|
path: _path + ".crashScreen",
|
|
@@ -16235,27 +17035,27 @@ function _validateDomainRecord(domain, input) {
|
|
|
16235
17035
|
value: input.debug
|
|
16236
17036
|
}), undefined === input.featurePreview || ("object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) || _report(_exceptionable, {
|
|
16237
17037
|
path: _path + ".featurePreview",
|
|
16238
|
-
expected: "(__type.
|
|
17038
|
+
expected: "(__type.o69 | undefined)",
|
|
16239
17039
|
value: input.featurePreview
|
|
16240
|
-
})) &&
|
|
17040
|
+
})) && _vo76(input.featurePreview, _path + ".featurePreview", true && _exceptionable) || _report(_exceptionable, {
|
|
16241
17041
|
path: _path + ".featurePreview",
|
|
16242
|
-
expected: "(__type.
|
|
17042
|
+
expected: "(__type.o69 | undefined)",
|
|
16243
17043
|
value: input.featurePreview
|
|
16244
17044
|
}), undefined === input.flags || ("object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) || _report(_exceptionable, {
|
|
16245
17045
|
path: _path + ".flags",
|
|
16246
|
-
expected: "(__type.
|
|
17046
|
+
expected: "(__type.o70 | undefined)",
|
|
16247
17047
|
value: input.flags
|
|
16248
|
-
})) &&
|
|
17048
|
+
})) && _vo77(input.flags, _path + ".flags", true && _exceptionable) || _report(_exceptionable, {
|
|
16249
17049
|
path: _path + ".flags",
|
|
16250
|
-
expected: "(__type.
|
|
17050
|
+
expected: "(__type.o70 | undefined)",
|
|
16251
17051
|
value: input.flags
|
|
16252
17052
|
}), undefined === input.notifications || ("object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) || _report(_exceptionable, {
|
|
16253
17053
|
path: _path + ".notifications",
|
|
16254
|
-
expected: "(__type.
|
|
17054
|
+
expected: "(__type.o71 | undefined)",
|
|
16255
17055
|
value: input.notifications
|
|
16256
|
-
})) &&
|
|
17056
|
+
})) && _vo78(input.notifications, _path + ".notifications", true && _exceptionable) || _report(_exceptionable, {
|
|
16257
17057
|
path: _path + ".notifications",
|
|
16258
|
-
expected: "(__type.
|
|
17058
|
+
expected: "(__type.o71 | undefined)",
|
|
16259
17059
|
value: input.notifications
|
|
16260
17060
|
}), undefined === input.suppressDeleteAlert || "boolean" === typeof input.suppressDeleteAlert || _report(_exceptionable, {
|
|
16261
17061
|
path: _path + ".suppressDeleteAlert",
|
|
@@ -16263,36 +17063,44 @@ function _validateDomainRecord(domain, input) {
|
|
|
16263
17063
|
value: input.suppressDeleteAlert
|
|
16264
17064
|
}), undefined === input.clone || ("object" === typeof input.clone && null !== input.clone && false === Array.isArray(input.clone) || _report(_exceptionable, {
|
|
16265
17065
|
path: _path + ".clone",
|
|
16266
|
-
expected: "(__type.
|
|
17066
|
+
expected: "(__type.o74 | undefined)",
|
|
16267
17067
|
value: input.clone
|
|
16268
|
-
})) &&
|
|
17068
|
+
})) && _vo81(input.clone, _path + ".clone", true && _exceptionable) || _report(_exceptionable, {
|
|
16269
17069
|
path: _path + ".clone",
|
|
16270
|
-
expected: "(__type.
|
|
17070
|
+
expected: "(__type.o74 | undefined)",
|
|
16271
17071
|
value: input.clone
|
|
16272
17072
|
}), undefined === input.utilsAssetEditorPanel || ("object" === typeof input.utilsAssetEditorPanel && null !== input.utilsAssetEditorPanel && false === Array.isArray(input.utilsAssetEditorPanel) || _report(_exceptionable, {
|
|
16273
17073
|
path: _path + ".utilsAssetEditorPanel",
|
|
16274
|
-
expected: "(__type.
|
|
17074
|
+
expected: "(__type.o77 | undefined)",
|
|
16275
17075
|
value: input.utilsAssetEditorPanel
|
|
16276
|
-
})) &&
|
|
17076
|
+
})) && _vo84(input.utilsAssetEditorPanel, _path + ".utilsAssetEditorPanel", true && _exceptionable) || _report(_exceptionable, {
|
|
16277
17077
|
path: _path + ".utilsAssetEditorPanel",
|
|
16278
|
-
expected: "(__type.
|
|
17078
|
+
expected: "(__type.o77 | undefined)",
|
|
16279
17079
|
value: input.utilsAssetEditorPanel
|
|
16280
17080
|
}), undefined === input.display || ("object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) || _report(_exceptionable, {
|
|
16281
17081
|
path: _path + ".display",
|
|
16282
|
-
expected: "(__type.
|
|
17082
|
+
expected: "(__type.o78 | undefined)",
|
|
16283
17083
|
value: input.display
|
|
16284
|
-
})) &&
|
|
17084
|
+
})) && _vo85(input.display, _path + ".display", true && _exceptionable) || _report(_exceptionable, {
|
|
16285
17085
|
path: _path + ".display",
|
|
16286
|
-
expected: "(__type.
|
|
17086
|
+
expected: "(__type.o78 | undefined)",
|
|
16287
17087
|
value: input.display
|
|
16288
17088
|
}), undefined === input.bookmarks || ("object" === typeof input.bookmarks && null !== input.bookmarks && false === Array.isArray(input.bookmarks) || _report(_exceptionable, {
|
|
16289
17089
|
path: _path + ".bookmarks",
|
|
16290
|
-
expected: "(__type.
|
|
17090
|
+
expected: "(__type.o79 | undefined)",
|
|
16291
17091
|
value: input.bookmarks
|
|
16292
|
-
})) &&
|
|
17092
|
+
})) && _vo86(input.bookmarks, _path + ".bookmarks", true && _exceptionable) || _report(_exceptionable, {
|
|
16293
17093
|
path: _path + ".bookmarks",
|
|
16294
|
-
expected: "(__type.
|
|
17094
|
+
expected: "(__type.o79 | undefined)",
|
|
16295
17095
|
value: input.bookmarks
|
|
17096
|
+
}), undefined === input.shotbox || ("object" === typeof input.shotbox && null !== input.shotbox && false === Array.isArray(input.shotbox) || _report(_exceptionable, {
|
|
17097
|
+
path: _path + ".shotbox",
|
|
17098
|
+
expected: "(__type.o80 | undefined)",
|
|
17099
|
+
value: input.shotbox
|
|
17100
|
+
})) && _vo87(input.shotbox, _path + ".shotbox", true && _exceptionable) || _report(_exceptionable, {
|
|
17101
|
+
path: _path + ".shotbox",
|
|
17102
|
+
expected: "(__type.o80 | undefined)",
|
|
17103
|
+
value: input.shotbox
|
|
16296
17104
|
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact || _report(_exceptionable, {
|
|
16297
17105
|
path: _path + ".overrideUserContact",
|
|
16298
17106
|
expected: "(boolean | undefined)",
|
|
@@ -16428,8 +17236,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
16428
17236
|
path: _path + ".sortOrder",
|
|
16429
17237
|
expected: "(Array<string> | undefined)",
|
|
16430
17238
|
value: input.sortOrder
|
|
16431
|
-
})) && input.sortOrder.map((elem,
|
|
16432
|
-
path: _path + ".sortOrder[" +
|
|
17239
|
+
})) && input.sortOrder.map((elem, _index40) => "string" === typeof elem || _report(_exceptionable, {
|
|
17240
|
+
path: _path + ".sortOrder[" + _index40 + "]",
|
|
16433
17241
|
expected: "string",
|
|
16434
17242
|
value: elem
|
|
16435
17243
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16440,8 +17248,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
16440
17248
|
path: _path + ".include",
|
|
16441
17249
|
expected: "(Array<string> | undefined)",
|
|
16442
17250
|
value: input.include
|
|
16443
|
-
})) && input.include.map((elem,
|
|
16444
|
-
path: _path + ".include[" +
|
|
17251
|
+
})) && input.include.map((elem, _index41) => "string" === typeof elem || _report(_exceptionable, {
|
|
17252
|
+
path: _path + ".include[" + _index41 + "]",
|
|
16445
17253
|
expected: "string",
|
|
16446
17254
|
value: elem
|
|
16447
17255
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16452,8 +17260,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
16452
17260
|
path: _path + ".exclude",
|
|
16453
17261
|
expected: "(Array<string> | undefined)",
|
|
16454
17262
|
value: input.exclude
|
|
16455
|
-
})) && input.exclude.map((elem,
|
|
16456
|
-
path: _path + ".exclude[" +
|
|
17263
|
+
})) && input.exclude.map((elem, _index42) => "string" === typeof elem || _report(_exceptionable, {
|
|
17264
|
+
path: _path + ".exclude[" + _index42 + "]",
|
|
16457
17265
|
expected: "string",
|
|
16458
17266
|
value: elem
|
|
16459
17267
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16464,8 +17272,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
16464
17272
|
path: _path + ".include",
|
|
16465
17273
|
expected: "(Array<string> | undefined)",
|
|
16466
17274
|
value: input.include
|
|
16467
|
-
})) && input.include.map((elem,
|
|
16468
|
-
path: _path + ".include[" +
|
|
17275
|
+
})) && input.include.map((elem, _index43) => "string" === typeof elem || _report(_exceptionable, {
|
|
17276
|
+
path: _path + ".include[" + _index43 + "]",
|
|
16469
17277
|
expected: "string",
|
|
16470
17278
|
value: elem
|
|
16471
17279
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16476,8 +17284,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
16476
17284
|
path: _path + ".exclude",
|
|
16477
17285
|
expected: "(Array<string> | undefined)",
|
|
16478
17286
|
value: input.exclude
|
|
16479
|
-
})) && input.exclude.map((elem,
|
|
16480
|
-
path: _path + ".exclude[" +
|
|
17287
|
+
})) && input.exclude.map((elem, _index44) => "string" === typeof elem || _report(_exceptionable, {
|
|
17288
|
+
path: _path + ".exclude[" + _index44 + "]",
|
|
16481
17289
|
expected: "string",
|
|
16482
17290
|
value: elem
|
|
16483
17291
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16488,8 +17296,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
16488
17296
|
path: _path + ".include",
|
|
16489
17297
|
expected: "(Array<string> | undefined)",
|
|
16490
17298
|
value: input.include
|
|
16491
|
-
})) && input.include.map((elem,
|
|
16492
|
-
path: _path + ".include[" +
|
|
17299
|
+
})) && input.include.map((elem, _index45) => "string" === typeof elem || _report(_exceptionable, {
|
|
17300
|
+
path: _path + ".include[" + _index45 + "]",
|
|
16493
17301
|
expected: "string",
|
|
16494
17302
|
value: elem
|
|
16495
17303
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16500,8 +17308,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
16500
17308
|
path: _path + ".exclude",
|
|
16501
17309
|
expected: "(Array<string> | undefined)",
|
|
16502
17310
|
value: input.exclude
|
|
16503
|
-
})) && input.exclude.map((elem,
|
|
16504
|
-
path: _path + ".exclude[" +
|
|
17311
|
+
})) && input.exclude.map((elem, _index46) => "string" === typeof elem || _report(_exceptionable, {
|
|
17312
|
+
path: _path + ".exclude[" + _index46 + "]",
|
|
16505
17313
|
expected: "string",
|
|
16506
17314
|
value: elem
|
|
16507
17315
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16512,8 +17320,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
16512
17320
|
path: _path + ".include",
|
|
16513
17321
|
expected: "(Array<string> | undefined)",
|
|
16514
17322
|
value: input.include
|
|
16515
|
-
})) && input.include.map((elem,
|
|
16516
|
-
path: _path + ".include[" +
|
|
17323
|
+
})) && input.include.map((elem, _index47) => "string" === typeof elem || _report(_exceptionable, {
|
|
17324
|
+
path: _path + ".include[" + _index47 + "]",
|
|
16517
17325
|
expected: "string",
|
|
16518
17326
|
value: elem
|
|
16519
17327
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16523,9 +17331,9 @@ function _validateDomainRecord(domain, input) {
|
|
|
16523
17331
|
}), undefined === input.exclude || (Array.isArray(input.exclude) || _report(_exceptionable, {
|
|
16524
17332
|
path: _path + ".exclude",
|
|
16525
17333
|
expected: "(Array<string> | undefined)",
|
|
16526
|
-
value: input.exclude
|
|
16527
|
-
})) && input.exclude.map((elem,
|
|
16528
|
-
path: _path + ".exclude[" +
|
|
17334
|
+
value: input.exclude
|
|
17335
|
+
})) && input.exclude.map((elem, _index48) => "string" === typeof elem || _report(_exceptionable, {
|
|
17336
|
+
path: _path + ".exclude[" + _index48 + "]",
|
|
16529
17337
|
expected: "string",
|
|
16530
17338
|
value: elem
|
|
16531
17339
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16604,12 +17412,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
16604
17412
|
path: _path + ".colorTags",
|
|
16605
17413
|
expected: "(Array<PromotedTag> | undefined)",
|
|
16606
17414
|
value: input.colorTags
|
|
16607
|
-
})) && input.colorTags.map((elem,
|
|
16608
|
-
path: _path + ".colorTags[" +
|
|
17415
|
+
})) && input.colorTags.map((elem, _index49) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
17416
|
+
path: _path + ".colorTags[" + _index49 + "]",
|
|
16609
17417
|
expected: "PromotedTag",
|
|
16610
17418
|
value: elem
|
|
16611
|
-
})) && _vo22(elem, _path + ".colorTags[" +
|
|
16612
|
-
path: _path + ".colorTags[" +
|
|
17419
|
+
})) && _vo22(elem, _path + ".colorTags[" + _index49 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
17420
|
+
path: _path + ".colorTags[" + _index49 + "]",
|
|
16613
17421
|
expected: "PromotedTag",
|
|
16614
17422
|
value: elem
|
|
16615
17423
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16632,6 +17440,22 @@ function _validateDomainRecord(domain, input) {
|
|
|
16632
17440
|
path: _path + ".collapsedNodes",
|
|
16633
17441
|
expected: "(__type.o18 | undefined)",
|
|
16634
17442
|
value: input.collapsedNodes
|
|
17443
|
+
}), undefined === input.colorHistory || (Array.isArray(input.colorHistory) || _report(_exceptionable, {
|
|
17444
|
+
path: _path + ".colorHistory",
|
|
17445
|
+
expected: "(Array<__type> | undefined)",
|
|
17446
|
+
value: input.colorHistory
|
|
17447
|
+
})) && input.colorHistory.map((elem, _index50) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
17448
|
+
path: _path + ".colorHistory[" + _index50 + "]",
|
|
17449
|
+
expected: "__type.o20",
|
|
17450
|
+
value: elem
|
|
17451
|
+
})) && _vo25(elem, _path + ".colorHistory[" + _index50 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
17452
|
+
path: _path + ".colorHistory[" + _index50 + "]",
|
|
17453
|
+
expected: "__type.o20",
|
|
17454
|
+
value: elem
|
|
17455
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
17456
|
+
path: _path + ".colorHistory",
|
|
17457
|
+
expected: "(Array<__type> | undefined)",
|
|
17458
|
+
value: input.colorHistory
|
|
16635
17459
|
})].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [undefined === input.sortBy || "index" === input.sortBy || "title" === input.sortBy || _report(_exceptionable, {
|
|
16636
17460
|
path: _path + ".sortBy",
|
|
16637
17461
|
expected: "(\"index\" | \"title\" | undefined)",
|
|
@@ -16677,7 +17501,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
16677
17501
|
path: _path + ".children",
|
|
16678
17502
|
expected: "(boolean | undefined)",
|
|
16679
17503
|
value: input.children
|
|
16680
|
-
})].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => [
|
|
17504
|
+
})].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => [null === input.color || "string" === typeof input.color || _report(_exceptionable, {
|
|
17505
|
+
path: _path + ".color",
|
|
17506
|
+
expected: "(null | string)",
|
|
17507
|
+
value: input.color
|
|
17508
|
+
}), null === input.backgroundColor || "string" === typeof input.backgroundColor || _report(_exceptionable, {
|
|
17509
|
+
path: _path + ".backgroundColor",
|
|
17510
|
+
expected: "(null | string)",
|
|
17511
|
+
value: input.backgroundColor
|
|
17512
|
+
})].every(flag => flag); const _vo26 = (input, _path, _exceptionable = true) => [undefined === input.graphicBaseTemplate || "string" === typeof input.graphicBaseTemplate || _report(_exceptionable, {
|
|
16681
17513
|
path: _path + ".graphicBaseTemplate",
|
|
16682
17514
|
expected: "(string | undefined)",
|
|
16683
17515
|
value: input.graphicBaseTemplate
|
|
@@ -16685,8 +17517,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
16685
17517
|
path: _path + ".favorites",
|
|
16686
17518
|
expected: "(Array<string> | undefined)",
|
|
16687
17519
|
value: input.favorites
|
|
16688
|
-
})) && input.favorites.map((elem,
|
|
16689
|
-
path: _path + ".favorites[" +
|
|
17520
|
+
})) && input.favorites.map((elem, _index51) => "string" === typeof elem || _report(_exceptionable, {
|
|
17521
|
+
path: _path + ".favorites[" + _index51 + "]",
|
|
16690
17522
|
expected: "string",
|
|
16691
17523
|
value: elem
|
|
16692
17524
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16697,24 +17529,24 @@ function _validateDomainRecord(domain, input) {
|
|
|
16697
17529
|
path: _path + ".defaults",
|
|
16698
17530
|
expected: "(Record<string, __type> | undefined)",
|
|
16699
17531
|
value: input.defaults
|
|
16700
|
-
})) &&
|
|
17532
|
+
})) && _vo27(input.defaults, _path + ".defaults", true && _exceptionable) || _report(_exceptionable, {
|
|
16701
17533
|
path: _path + ".defaults",
|
|
16702
17534
|
expected: "(Record<string, __type> | undefined)",
|
|
16703
17535
|
value: input.defaults
|
|
16704
|
-
})].every(flag => flag); const
|
|
17536
|
+
})].every(flag => flag); const _vo27 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
16705
17537
|
const value = input[key];
|
|
16706
17538
|
if (undefined === value)
|
|
16707
17539
|
return true;
|
|
16708
17540
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
|
16709
17541
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
16710
|
-
expected: "__type.
|
|
17542
|
+
expected: "__type.o22",
|
|
16711
17543
|
value: value
|
|
16712
|
-
})) &&
|
|
17544
|
+
})) && _vo28(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
16713
17545
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
16714
|
-
expected: "__type.
|
|
17546
|
+
expected: "__type.o22",
|
|
16715
17547
|
value: value
|
|
16716
17548
|
});
|
|
16717
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
17549
|
+
}).every(flag => flag)].every(flag => flag); const _vo28 = (input, _path, _exceptionable = true) => [undefined === input.event || "string" === typeof input.event || _report(_exceptionable, {
|
|
16718
17550
|
path: _path + ".event",
|
|
16719
17551
|
expected: "(string | undefined)",
|
|
16720
17552
|
value: input.event
|
|
@@ -16722,11 +17554,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
16722
17554
|
path: _path + ".property",
|
|
16723
17555
|
expected: "(string | undefined)",
|
|
16724
17556
|
value: input.property
|
|
16725
|
-
})].every(flag => flag); const
|
|
17557
|
+
})].every(flag => flag); const _vo29 = (input, _path, _exceptionable = true) => [undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails || _report(_exceptionable, {
|
|
16726
17558
|
path: _path + ".eventThumbnails",
|
|
16727
17559
|
expected: "(boolean | undefined)",
|
|
16728
17560
|
value: input.eventThumbnails
|
|
16729
|
-
})
|
|
17561
|
+
}), "folded" === input.scriptEventFolding || "unfoldedUntilFolded" === input.scriptEventFolding || _report(_exceptionable, {
|
|
17562
|
+
path: _path + ".scriptEventFolding",
|
|
17563
|
+
expected: "(\"folded\" | \"unfoldedUntilFolded\")",
|
|
17564
|
+
value: input.scriptEventFolding
|
|
17565
|
+
})].every(flag => flag); const _vo30 = (input, _path, _exceptionable = true) => [undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur || _report(_exceptionable, {
|
|
16730
17566
|
path: _path + ".dimOnBlur",
|
|
16731
17567
|
expected: "(boolean | undefined)",
|
|
16732
17568
|
value: input.dimOnBlur
|
|
@@ -16738,95 +17574,95 @@ function _validateDomainRecord(domain, input) {
|
|
|
16738
17574
|
path: _path + ".countFloatedDuration",
|
|
16739
17575
|
expected: "(boolean | undefined)",
|
|
16740
17576
|
value: input.countFloatedDuration
|
|
16741
|
-
})].every(flag => flag); const
|
|
17577
|
+
})].every(flag => flag); const _vo31 = (input, _path, _exceptionable = true) => [undefined === input.display || ("object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) || _report(_exceptionable, {
|
|
16742
17578
|
path: _path + ".display",
|
|
16743
|
-
expected: "(__type.
|
|
17579
|
+
expected: "(__type.o26 | undefined)",
|
|
16744
17580
|
value: input.display
|
|
16745
|
-
})) &&
|
|
17581
|
+
})) && _vo32(input.display, _path + ".display", true && _exceptionable) || _report(_exceptionable, {
|
|
16746
17582
|
path: _path + ".display",
|
|
16747
|
-
expected: "(__type.
|
|
17583
|
+
expected: "(__type.o26 | undefined)",
|
|
16748
17584
|
value: input.display
|
|
16749
17585
|
}), undefined === input.browser || ("object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) || _report(_exceptionable, {
|
|
16750
17586
|
path: _path + ".browser",
|
|
16751
|
-
expected: "(__type.
|
|
17587
|
+
expected: "(__type.o27 | undefined)",
|
|
16752
17588
|
value: input.browser
|
|
16753
|
-
})) &&
|
|
17589
|
+
})) && _vo34(input.browser, _path + ".browser", true && _exceptionable) || _report(_exceptionable, {
|
|
16754
17590
|
path: _path + ".browser",
|
|
16755
|
-
expected: "(__type.
|
|
17591
|
+
expected: "(__type.o27 | undefined)",
|
|
16756
17592
|
value: input.browser
|
|
16757
17593
|
}), undefined === input.gallery || ("object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) || _report(_exceptionable, {
|
|
16758
17594
|
path: _path + ".gallery",
|
|
16759
|
-
expected: "(__type.
|
|
17595
|
+
expected: "(__type.o28 | undefined)",
|
|
16760
17596
|
value: input.gallery
|
|
16761
|
-
})) &&
|
|
17597
|
+
})) && _vo35(input.gallery, _path + ".gallery", true && _exceptionable) || _report(_exceptionable, {
|
|
16762
17598
|
path: _path + ".gallery",
|
|
16763
|
-
expected: "(__type.
|
|
17599
|
+
expected: "(__type.o28 | undefined)",
|
|
16764
17600
|
value: input.gallery
|
|
16765
17601
|
}), undefined === input.global || ("object" === typeof input.global && null !== input.global && false === Array.isArray(input.global) || _report(_exceptionable, {
|
|
16766
17602
|
path: _path + ".global",
|
|
16767
|
-
expected: "(__type.
|
|
17603
|
+
expected: "(__type.o29 | undefined)",
|
|
16768
17604
|
value: input.global
|
|
16769
|
-
})) &&
|
|
17605
|
+
})) && _vo36(input.global, _path + ".global", true && _exceptionable) || _report(_exceptionable, {
|
|
16770
17606
|
path: _path + ".global",
|
|
16771
|
-
expected: "(__type.
|
|
17607
|
+
expected: "(__type.o29 | undefined)",
|
|
16772
17608
|
value: input.global
|
|
16773
17609
|
}), undefined === input.player || ("object" === typeof input.player && null !== input.player && false === Array.isArray(input.player) || _report(_exceptionable, {
|
|
16774
17610
|
path: _path + ".player",
|
|
16775
|
-
expected: "(__type.
|
|
17611
|
+
expected: "(__type.o30 | undefined)",
|
|
16776
17612
|
value: input.player
|
|
16777
|
-
})) &&
|
|
17613
|
+
})) && _vo37(input.player, _path + ".player", true && _exceptionable) || _report(_exceptionable, {
|
|
16778
17614
|
path: _path + ".player",
|
|
16779
|
-
expected: "(__type.
|
|
17615
|
+
expected: "(__type.o30 | undefined)",
|
|
16780
17616
|
value: input.player
|
|
16781
17617
|
}), undefined === input.script || ("object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) || _report(_exceptionable, {
|
|
16782
17618
|
path: _path + ".script",
|
|
16783
|
-
expected: "(__type.
|
|
17619
|
+
expected: "(__type.o31 | undefined)",
|
|
16784
17620
|
value: input.script
|
|
16785
|
-
})) &&
|
|
17621
|
+
})) && _vo38(input.script, _path + ".script", true && _exceptionable) || _report(_exceptionable, {
|
|
16786
17622
|
path: _path + ".script",
|
|
16787
|
-
expected: "(__type.
|
|
17623
|
+
expected: "(__type.o31 | undefined)",
|
|
16788
17624
|
value: input.script
|
|
16789
17625
|
}), undefined === input.codeEditor || ("object" === typeof input.codeEditor && null !== input.codeEditor && false === Array.isArray(input.codeEditor) || _report(_exceptionable, {
|
|
16790
17626
|
path: _path + ".codeEditor",
|
|
16791
|
-
expected: "(__type.
|
|
17627
|
+
expected: "(__type.o32 | undefined)",
|
|
16792
17628
|
value: input.codeEditor
|
|
16793
|
-
})) &&
|
|
17629
|
+
})) && _vo39(input.codeEditor, _path + ".codeEditor", true && _exceptionable) || _report(_exceptionable, {
|
|
16794
17630
|
path: _path + ".codeEditor",
|
|
16795
|
-
expected: "(__type.
|
|
17631
|
+
expected: "(__type.o32 | undefined)",
|
|
16796
17632
|
value: input.codeEditor
|
|
16797
17633
|
}), undefined === input.bookmarks || ("object" === typeof input.bookmarks && null !== input.bookmarks && false === Array.isArray(input.bookmarks) || _report(_exceptionable, {
|
|
16798
17634
|
path: _path + ".bookmarks",
|
|
16799
|
-
expected: "(__type.
|
|
17635
|
+
expected: "(__type.o33 | undefined)",
|
|
16800
17636
|
value: input.bookmarks
|
|
16801
|
-
})) &&
|
|
17637
|
+
})) && _vo40(input.bookmarks, _path + ".bookmarks", true && _exceptionable) || _report(_exceptionable, {
|
|
16802
17638
|
path: _path + ".bookmarks",
|
|
16803
|
-
expected: "(__type.
|
|
17639
|
+
expected: "(__type.o33 | undefined)",
|
|
16804
17640
|
value: input.bookmarks
|
|
16805
17641
|
}), undefined === input.edit || ("object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) || _report(_exceptionable, {
|
|
16806
17642
|
path: _path + ".edit",
|
|
16807
|
-
expected: "(__type.
|
|
17643
|
+
expected: "(__type.o34 | undefined)",
|
|
16808
17644
|
value: input.edit
|
|
16809
|
-
})) &&
|
|
17645
|
+
})) && _vo41(input.edit, _path + ".edit", true && _exceptionable) || _report(_exceptionable, {
|
|
16810
17646
|
path: _path + ".edit",
|
|
16811
|
-
expected: "(__type.
|
|
17647
|
+
expected: "(__type.o34 | undefined)",
|
|
16812
17648
|
value: input.edit
|
|
16813
17649
|
}), undefined === input.rundown || ("object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) || _report(_exceptionable, {
|
|
16814
17650
|
path: _path + ".rundown",
|
|
16815
|
-
expected: "(__type.
|
|
17651
|
+
expected: "(__type.o35 | undefined)",
|
|
16816
17652
|
value: input.rundown
|
|
16817
|
-
})) &&
|
|
17653
|
+
})) && _vo42(input.rundown, _path + ".rundown", true && _exceptionable) || _report(_exceptionable, {
|
|
16818
17654
|
path: _path + ".rundown",
|
|
16819
|
-
expected: "(__type.
|
|
17655
|
+
expected: "(__type.o35 | undefined)",
|
|
16820
17656
|
value: input.rundown
|
|
16821
17657
|
}), undefined === input.segment || ("object" === typeof input.segment && null !== input.segment && false === Array.isArray(input.segment) || _report(_exceptionable, {
|
|
16822
17658
|
path: _path + ".segment",
|
|
16823
|
-
expected: "(__type.
|
|
17659
|
+
expected: "(__type.o36 | undefined)",
|
|
16824
17660
|
value: input.segment
|
|
16825
|
-
})) &&
|
|
17661
|
+
})) && _vo43(input.segment, _path + ".segment", true && _exceptionable) || _report(_exceptionable, {
|
|
16826
17662
|
path: _path + ".segment",
|
|
16827
|
-
expected: "(__type.
|
|
17663
|
+
expected: "(__type.o36 | undefined)",
|
|
16828
17664
|
value: input.segment
|
|
16829
|
-
})].every(flag => flag); const
|
|
17665
|
+
})].every(flag => flag); const _vo32 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
16830
17666
|
const value = input[key];
|
|
16831
17667
|
if (undefined === value)
|
|
16832
17668
|
return true;
|
|
@@ -16834,12 +17670,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
16834
17670
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
16835
17671
|
expected: "KeymapSetting",
|
|
16836
17672
|
value: value
|
|
16837
|
-
})) &&
|
|
17673
|
+
})) && _vo33(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
16838
17674
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
16839
17675
|
expected: "KeymapSetting",
|
|
16840
17676
|
value: value
|
|
16841
17677
|
});
|
|
16842
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
17678
|
+
}).every(flag => flag)].every(flag => flag); const _vo33 = (input, _path, _exceptionable = true) => [undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
16843
17679
|
path: _path + ".title",
|
|
16844
17680
|
expected: "(string | undefined)",
|
|
16845
17681
|
value: input.title
|
|
@@ -16847,7 +17683,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
16847
17683
|
path: _path + ".sequence",
|
|
16848
17684
|
expected: "(string | undefined)",
|
|
16849
17685
|
value: input.sequence
|
|
16850
|
-
})].every(flag => flag); const
|
|
17686
|
+
})].every(flag => flag); const _vo34 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
16851
17687
|
const value = input[key];
|
|
16852
17688
|
if (undefined === value)
|
|
16853
17689
|
return true;
|
|
@@ -16855,12 +17691,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
16855
17691
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
16856
17692
|
expected: "KeymapSetting",
|
|
16857
17693
|
value: value
|
|
16858
|
-
})) &&
|
|
17694
|
+
})) && _vo33(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
16859
17695
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
16860
17696
|
expected: "KeymapSetting",
|
|
16861
17697
|
value: value
|
|
16862
17698
|
});
|
|
16863
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
17699
|
+
}).every(flag => flag)].every(flag => flag); const _vo35 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
16864
17700
|
const value = input[key];
|
|
16865
17701
|
if (undefined === value)
|
|
16866
17702
|
return true;
|
|
@@ -16868,12 +17704,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
16868
17704
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
16869
17705
|
expected: "KeymapSetting",
|
|
16870
17706
|
value: value
|
|
16871
|
-
})) &&
|
|
17707
|
+
})) && _vo33(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
16872
17708
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
16873
17709
|
expected: "KeymapSetting",
|
|
16874
17710
|
value: value
|
|
16875
17711
|
});
|
|
16876
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
17712
|
+
}).every(flag => flag)].every(flag => flag); const _vo36 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
16877
17713
|
const value = input[key];
|
|
16878
17714
|
if (undefined === value)
|
|
16879
17715
|
return true;
|
|
@@ -16881,12 +17717,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
16881
17717
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
16882
17718
|
expected: "KeymapSetting",
|
|
16883
17719
|
value: value
|
|
16884
|
-
})) &&
|
|
17720
|
+
})) && _vo33(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
16885
17721
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
16886
17722
|
expected: "KeymapSetting",
|
|
16887
17723
|
value: value
|
|
16888
17724
|
});
|
|
16889
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
17725
|
+
}).every(flag => flag)].every(flag => flag); const _vo37 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
16890
17726
|
const value = input[key];
|
|
16891
17727
|
if (undefined === value)
|
|
16892
17728
|
return true;
|
|
@@ -16894,12 +17730,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
16894
17730
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
16895
17731
|
expected: "KeymapSetting",
|
|
16896
17732
|
value: value
|
|
16897
|
-
})) &&
|
|
17733
|
+
})) && _vo33(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
16898
17734
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
16899
17735
|
expected: "KeymapSetting",
|
|
16900
17736
|
value: value
|
|
16901
17737
|
});
|
|
16902
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
17738
|
+
}).every(flag => flag)].every(flag => flag); const _vo38 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
16903
17739
|
const value = input[key];
|
|
16904
17740
|
if (undefined === value)
|
|
16905
17741
|
return true;
|
|
@@ -16907,12 +17743,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
16907
17743
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
16908
17744
|
expected: "KeymapSetting",
|
|
16909
17745
|
value: value
|
|
16910
|
-
})) &&
|
|
17746
|
+
})) && _vo33(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
16911
17747
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
16912
17748
|
expected: "KeymapSetting",
|
|
16913
17749
|
value: value
|
|
16914
17750
|
});
|
|
16915
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
17751
|
+
}).every(flag => flag)].every(flag => flag); const _vo39 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
16916
17752
|
const value = input[key];
|
|
16917
17753
|
if (undefined === value)
|
|
16918
17754
|
return true;
|
|
@@ -16920,12 +17756,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
16920
17756
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
16921
17757
|
expected: "KeymapSetting",
|
|
16922
17758
|
value: value
|
|
16923
|
-
})) &&
|
|
17759
|
+
})) && _vo33(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
16924
17760
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
16925
17761
|
expected: "KeymapSetting",
|
|
16926
17762
|
value: value
|
|
16927
17763
|
});
|
|
16928
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
17764
|
+
}).every(flag => flag)].every(flag => flag); const _vo40 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
16929
17765
|
const value = input[key];
|
|
16930
17766
|
if (undefined === value)
|
|
16931
17767
|
return true;
|
|
@@ -16933,12 +17769,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
16933
17769
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
16934
17770
|
expected: "KeymapSetting",
|
|
16935
17771
|
value: value
|
|
16936
|
-
})) &&
|
|
17772
|
+
})) && _vo33(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
16937
17773
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
16938
17774
|
expected: "KeymapSetting",
|
|
16939
17775
|
value: value
|
|
16940
17776
|
});
|
|
16941
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
17777
|
+
}).every(flag => flag)].every(flag => flag); const _vo41 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
16942
17778
|
const value = input[key];
|
|
16943
17779
|
if (undefined === value)
|
|
16944
17780
|
return true;
|
|
@@ -16946,12 +17782,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
16946
17782
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
16947
17783
|
expected: "KeymapSetting",
|
|
16948
17784
|
value: value
|
|
16949
|
-
})) &&
|
|
17785
|
+
})) && _vo33(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
16950
17786
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
16951
17787
|
expected: "KeymapSetting",
|
|
16952
17788
|
value: value
|
|
16953
17789
|
});
|
|
16954
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
17790
|
+
}).every(flag => flag)].every(flag => flag); const _vo42 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
16955
17791
|
const value = input[key];
|
|
16956
17792
|
if (undefined === value)
|
|
16957
17793
|
return true;
|
|
@@ -16959,12 +17795,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
16959
17795
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
16960
17796
|
expected: "KeymapSetting",
|
|
16961
17797
|
value: value
|
|
16962
|
-
})) &&
|
|
17798
|
+
})) && _vo33(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
16963
17799
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
16964
17800
|
expected: "KeymapSetting",
|
|
16965
17801
|
value: value
|
|
16966
17802
|
});
|
|
16967
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
17803
|
+
}).every(flag => flag)].every(flag => flag); const _vo43 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
16968
17804
|
const value = input[key];
|
|
16969
17805
|
if (undefined === value)
|
|
16970
17806
|
return true;
|
|
@@ -16972,12 +17808,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
16972
17808
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
16973
17809
|
expected: "KeymapSetting",
|
|
16974
17810
|
value: value
|
|
16975
|
-
})) &&
|
|
17811
|
+
})) && _vo33(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
16976
17812
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
16977
17813
|
expected: "KeymapSetting",
|
|
16978
17814
|
value: value
|
|
16979
17815
|
});
|
|
16980
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
17816
|
+
}).every(flag => flag)].every(flag => flag); const _vo44 = (input, _path, _exceptionable = true) => [undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate || _report(_exceptionable, {
|
|
16981
17817
|
path: _path + ".defaultFrameRate",
|
|
16982
17818
|
expected: "(number | undefined)",
|
|
16983
17819
|
value: input.defaultFrameRate
|
|
@@ -16987,11 +17823,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
16987
17823
|
value: input.placeholder
|
|
16988
17824
|
}), undefined === input.guide || ("object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) || _report(_exceptionable, {
|
|
16989
17825
|
path: _path + ".guide",
|
|
16990
|
-
expected: "(__type.
|
|
17826
|
+
expected: "(__type.o38 | undefined)",
|
|
16991
17827
|
value: input.guide
|
|
16992
|
-
})) &&
|
|
17828
|
+
})) && _vo45(input.guide, _path + ".guide", true && _exceptionable) || _report(_exceptionable, {
|
|
16993
17829
|
path: _path + ".guide",
|
|
16994
|
-
expected: "(__type.
|
|
17830
|
+
expected: "(__type.o38 | undefined)",
|
|
16995
17831
|
value: input.guide
|
|
16996
17832
|
}), undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames || _report(_exceptionable, {
|
|
16997
17833
|
path: _path + ".stepManyFrames",
|
|
@@ -17007,11 +17843,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
17007
17843
|
value: input.importTitleTemplate
|
|
17008
17844
|
}), undefined === input.tile || ("object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) || _report(_exceptionable, {
|
|
17009
17845
|
path: _path + ".tile",
|
|
17010
|
-
expected: "(__type.
|
|
17846
|
+
expected: "(__type.o39 | undefined)",
|
|
17011
17847
|
value: input.tile
|
|
17012
|
-
})) &&
|
|
17848
|
+
})) && _vo46(input.tile, _path + ".tile", true && _exceptionable) || _report(_exceptionable, {
|
|
17013
17849
|
path: _path + ".tile",
|
|
17014
|
-
expected: "(__type.
|
|
17850
|
+
expected: "(__type.o39 | undefined)",
|
|
17015
17851
|
value: input.tile
|
|
17016
17852
|
}), undefined === input.timecodeReference || "string" === typeof input.timecodeReference || _report(_exceptionable, {
|
|
17017
17853
|
path: _path + ".timecodeReference",
|
|
@@ -17037,8 +17873,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
17037
17873
|
path: _path + ".playbackRates",
|
|
17038
17874
|
expected: "(Array<number> | undefined)",
|
|
17039
17875
|
value: input.playbackRates
|
|
17040
|
-
})) && input.playbackRates.map((elem,
|
|
17041
|
-
path: _path + ".playbackRates[" +
|
|
17876
|
+
})) && input.playbackRates.map((elem, _index52) => "number" === typeof elem || _report(_exceptionable, {
|
|
17877
|
+
path: _path + ".playbackRates[" + _index52 + "]",
|
|
17042
17878
|
expected: "number",
|
|
17043
17879
|
value: elem
|
|
17044
17880
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17047,11 +17883,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
17047
17883
|
value: input.playbackRates
|
|
17048
17884
|
}), undefined === input.subtitles || ("object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) || _report(_exceptionable, {
|
|
17049
17885
|
path: _path + ".subtitles",
|
|
17050
|
-
expected: "(__type.
|
|
17886
|
+
expected: "(__type.o40 | undefined)",
|
|
17051
17887
|
value: input.subtitles
|
|
17052
|
-
})) &&
|
|
17888
|
+
})) && _vo47(input.subtitles, _path + ".subtitles", true && _exceptionable) || _report(_exceptionable, {
|
|
17053
17889
|
path: _path + ".subtitles",
|
|
17054
|
-
expected: "(__type.
|
|
17890
|
+
expected: "(__type.o40 | undefined)",
|
|
17055
17891
|
value: input.subtitles
|
|
17056
17892
|
}), undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId || _report(_exceptionable, {
|
|
17057
17893
|
path: _path + ".subtitleTemplateId",
|
|
@@ -17063,19 +17899,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
17063
17899
|
value: input.initialVolume
|
|
17064
17900
|
}), undefined === input.guides || (Array.isArray(input.guides) || _report(_exceptionable, {
|
|
17065
17901
|
path: _path + ".guides",
|
|
17066
|
-
expected: "(Array<__type>.
|
|
17902
|
+
expected: "(Array<__type>.o3 | undefined)",
|
|
17067
17903
|
value: input.guides
|
|
17068
|
-
})) && input.guides.map((elem,
|
|
17069
|
-
path: _path + ".guides[" +
|
|
17070
|
-
expected: "__type.
|
|
17904
|
+
})) && input.guides.map((elem, _index53) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
17905
|
+
path: _path + ".guides[" + _index53 + "]",
|
|
17906
|
+
expected: "__type.o43",
|
|
17071
17907
|
value: elem
|
|
17072
|
-
})) &&
|
|
17073
|
-
path: _path + ".guides[" +
|
|
17074
|
-
expected: "__type.
|
|
17908
|
+
})) && _vo50(elem, _path + ".guides[" + _index53 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
17909
|
+
path: _path + ".guides[" + _index53 + "]",
|
|
17910
|
+
expected: "__type.o43",
|
|
17075
17911
|
value: elem
|
|
17076
17912
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
17077
17913
|
path: _path + ".guides",
|
|
17078
|
-
expected: "(Array<__type>.
|
|
17914
|
+
expected: "(Array<__type>.o3 | undefined)",
|
|
17079
17915
|
value: input.guides
|
|
17080
17916
|
}), undefined === input.download || "boolean" === typeof input.download || _report(_exceptionable, {
|
|
17081
17917
|
path: _path + ".download",
|
|
@@ -17083,33 +17919,33 @@ function _validateDomainRecord(domain, input) {
|
|
|
17083
17919
|
value: input.download
|
|
17084
17920
|
}), undefined === input.editMode || ("object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) || _report(_exceptionable, {
|
|
17085
17921
|
path: _path + ".editMode",
|
|
17086
|
-
expected: "(__type.
|
|
17922
|
+
expected: "(__type.o44 | undefined)",
|
|
17087
17923
|
value: input.editMode
|
|
17088
|
-
})) &&
|
|
17924
|
+
})) && _vo51(input.editMode, _path + ".editMode", true && _exceptionable) || _report(_exceptionable, {
|
|
17089
17925
|
path: _path + ".editMode",
|
|
17090
|
-
expected: "(__type.
|
|
17926
|
+
expected: "(__type.o44 | undefined)",
|
|
17091
17927
|
value: input.editMode
|
|
17092
17928
|
}), undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) || _report(_exceptionable, {
|
|
17093
17929
|
path: _path + ".transcribe",
|
|
17094
|
-
expected: "(__type.
|
|
17930
|
+
expected: "(__type.o45 | undefined)",
|
|
17095
17931
|
value: input.transcribe
|
|
17096
|
-
})) &&
|
|
17932
|
+
})) && _vo52(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
17097
17933
|
path: _path + ".transcribe",
|
|
17098
|
-
expected: "(__type.
|
|
17934
|
+
expected: "(__type.o45 | undefined)",
|
|
17099
17935
|
value: input.transcribe
|
|
17100
17936
|
}), (null !== input.openCommand || _report(_exceptionable, {
|
|
17101
17937
|
path: _path + ".openCommand",
|
|
17102
|
-
expected: "(__type.
|
|
17938
|
+
expected: "(__type.o49 | string | undefined)",
|
|
17103
17939
|
value: input.openCommand
|
|
17104
17940
|
})) && (undefined === input.openCommand || "string" === typeof input.openCommand || ("object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) || _report(_exceptionable, {
|
|
17105
17941
|
path: _path + ".openCommand",
|
|
17106
|
-
expected: "(__type.
|
|
17942
|
+
expected: "(__type.o49 | string | undefined)",
|
|
17107
17943
|
value: input.openCommand
|
|
17108
|
-
})) &&
|
|
17944
|
+
})) && _vo56(input.openCommand, _path + ".openCommand", true && _exceptionable) || _report(_exceptionable, {
|
|
17109
17945
|
path: _path + ".openCommand",
|
|
17110
|
-
expected: "(__type.
|
|
17946
|
+
expected: "(__type.o49 | string | undefined)",
|
|
17111
17947
|
value: input.openCommand
|
|
17112
|
-
}))].every(flag => flag); const
|
|
17948
|
+
}))].every(flag => flag); const _vo45 = (input, _path, _exceptionable = true) => [undefined === input.mask || "boolean" === typeof input.mask || _report(_exceptionable, {
|
|
17113
17949
|
path: _path + ".mask",
|
|
17114
17950
|
expected: "(boolean | undefined)",
|
|
17115
17951
|
value: input.mask
|
|
@@ -17121,7 +17957,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17121
17957
|
path: _path + ".titleSafe",
|
|
17122
17958
|
expected: "(boolean | undefined)",
|
|
17123
17959
|
value: input.titleSafe
|
|
17124
|
-
})].every(flag => flag); const
|
|
17960
|
+
})].every(flag => flag); const _vo46 = (input, _path, _exceptionable = true) => [undefined === input.preview || "disabled" === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "boolean" === typeof input.preview || _report(_exceptionable, {
|
|
17125
17961
|
path: _path + ".preview",
|
|
17126
17962
|
expected: "(\"disabled\" | \"play\" | \"seek\" | \"seekplay\" | boolean | undefined)",
|
|
17127
17963
|
value: input.preview
|
|
@@ -17129,7 +17965,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17129
17965
|
path: _path + ".showRenderProgress",
|
|
17130
17966
|
expected: "(boolean | undefined)",
|
|
17131
17967
|
value: input.showRenderProgress
|
|
17132
|
-
})].every(flag => flag); const
|
|
17968
|
+
})].every(flag => flag); const _vo47 = (input, _path, _exceptionable = true) => [undefined === input.spacing || "number" === typeof input.spacing || _report(_exceptionable, {
|
|
17133
17969
|
path: _path + ".spacing",
|
|
17134
17970
|
expected: "(number | undefined)",
|
|
17135
17971
|
value: input.spacing
|
|
@@ -17139,49 +17975,53 @@ function _validateDomainRecord(domain, input) {
|
|
|
17139
17975
|
value: input.maxCharactersPerLine
|
|
17140
17976
|
}), undefined === input.suggestions || (Array.isArray(input.suggestions) || _report(_exceptionable, {
|
|
17141
17977
|
path: _path + ".suggestions",
|
|
17142
|
-
expected: "(Array<__type
|
|
17978
|
+
expected: "(Array<__type>.o1 | undefined)",
|
|
17143
17979
|
value: input.suggestions
|
|
17144
|
-
})) && input.suggestions.map((elem,
|
|
17145
|
-
path: _path + ".suggestions[" +
|
|
17146
|
-
expected: "__type.
|
|
17980
|
+
})) && input.suggestions.map((elem, _index54) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
17981
|
+
path: _path + ".suggestions[" + _index54 + "]",
|
|
17982
|
+
expected: "__type.o41",
|
|
17147
17983
|
value: elem
|
|
17148
|
-
})) &&
|
|
17149
|
-
path: _path + ".suggestions[" +
|
|
17150
|
-
expected: "__type.
|
|
17984
|
+
})) && _vo48(elem, _path + ".suggestions[" + _index54 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
17985
|
+
path: _path + ".suggestions[" + _index54 + "]",
|
|
17986
|
+
expected: "__type.o41",
|
|
17151
17987
|
value: elem
|
|
17152
17988
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
17153
17989
|
path: _path + ".suggestions",
|
|
17154
|
-
expected: "(Array<__type
|
|
17990
|
+
expected: "(Array<__type>.o1 | undefined)",
|
|
17155
17991
|
value: input.suggestions
|
|
17156
17992
|
}), undefined === input.colors || (Array.isArray(input.colors) || _report(_exceptionable, {
|
|
17157
17993
|
path: _path + ".colors",
|
|
17158
|
-
expected: "(Array<__type>.
|
|
17994
|
+
expected: "(Array<__type>.o2 | undefined)",
|
|
17159
17995
|
value: input.colors
|
|
17160
|
-
})) && input.colors.map((elem,
|
|
17161
|
-
path: _path + ".colors[" +
|
|
17162
|
-
expected: "__type.
|
|
17996
|
+
})) && input.colors.map((elem, _index55) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
17997
|
+
path: _path + ".colors[" + _index55 + "]",
|
|
17998
|
+
expected: "__type.o42",
|
|
17163
17999
|
value: elem
|
|
17164
|
-
})) &&
|
|
17165
|
-
path: _path + ".colors[" +
|
|
17166
|
-
expected: "__type.
|
|
18000
|
+
})) && _vo49(elem, _path + ".colors[" + _index55 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
18001
|
+
path: _path + ".colors[" + _index55 + "]",
|
|
18002
|
+
expected: "__type.o42",
|
|
17167
18003
|
value: elem
|
|
17168
18004
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
17169
18005
|
path: _path + ".colors",
|
|
17170
|
-
expected: "(Array<__type>.
|
|
18006
|
+
expected: "(Array<__type>.o2 | undefined)",
|
|
17171
18007
|
value: input.colors
|
|
17172
18008
|
}), undefined === input.overridableProperties || (Array.isArray(input.overridableProperties) || _report(_exceptionable, {
|
|
17173
18009
|
path: _path + ".overridableProperties",
|
|
17174
18010
|
expected: "(Array<keyof SubtitleStyle | null> | undefined)",
|
|
17175
18011
|
value: input.overridableProperties
|
|
17176
|
-
})) && input.overridableProperties.map((elem,
|
|
17177
|
-
path: _path + ".overridableProperties[" +
|
|
17178
|
-
expected: "(\"alignment\" | \"angle\" | \"backColour\" | \"bold\" | \"borderStyle\" | \"encoding\" | \"fontname\" | \"fontsize\" | \"italic\" | \"marginL\" | \"marginR\" | \"marginV\" | \"name\" | \"outline\" | \"outlineColour\" | \"primaryColour\" | \"scaleX\" | \"scaleY\" | \"secondaryColour\" | \"shadow\" | \"spacing\" | \"strikeOut\" | \"underline\" | null)",
|
|
18012
|
+
})) && input.overridableProperties.map((elem, _index56) => null === elem || true === _vv57.has(elem) || _report(_exceptionable, {
|
|
18013
|
+
path: _path + ".overridableProperties[" + _index56 + "]",
|
|
18014
|
+
expected: "(\"alignment\" | \"angle\" | \"backColour\" | \"bold\" | \"borderStyle\" | \"encoding\" | \"fontname\" | \"fontsize\" | \"italic\" | \"lineSpacing\" | \"marginL\" | \"marginR\" | \"marginV\" | \"name\" | \"outline\" | \"outlineColour\" | \"primaryColour\" | \"scaleX\" | \"scaleY\" | \"secondaryColour\" | \"shadow\" | \"spacing\" | \"strikeOut\" | \"underline\" | null)",
|
|
17179
18015
|
value: elem
|
|
17180
18016
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
17181
18017
|
path: _path + ".overridableProperties",
|
|
17182
18018
|
expected: "(Array<keyof SubtitleStyle | null> | undefined)",
|
|
17183
18019
|
value: input.overridableProperties
|
|
17184
|
-
})
|
|
18020
|
+
}), undefined === input.previewResolutionScale || "number" === typeof input.previewResolutionScale || _report(_exceptionable, {
|
|
18021
|
+
path: _path + ".previewResolutionScale",
|
|
18022
|
+
expected: "(number | undefined)",
|
|
18023
|
+
value: input.previewResolutionScale
|
|
18024
|
+
})].every(flag => flag); const _vo48 = (input, _path, _exceptionable = true) => [null === input.ifAspectRatio || undefined === input.ifAspectRatio || "string" === typeof input.ifAspectRatio || _report(_exceptionable, {
|
|
17185
18025
|
path: _path + ".ifAspectRatio",
|
|
17186
18026
|
expected: "(null | string | undefined)",
|
|
17187
18027
|
value: input.ifAspectRatio
|
|
@@ -17197,7 +18037,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17197
18037
|
path: _path + ".thenMaxCharactersPerLine",
|
|
17198
18038
|
expected: "(null | number | undefined)",
|
|
17199
18039
|
value: input.thenMaxCharactersPerLine
|
|
17200
|
-
})].every(flag => flag); const
|
|
18040
|
+
})].every(flag => flag); const _vo49 = (input, _path, _exceptionable = true) => [null === input.label || undefined === input.label || "string" === typeof input.label || _report(_exceptionable, {
|
|
17201
18041
|
path: _path + ".label",
|
|
17202
18042
|
expected: "(null | string | undefined)",
|
|
17203
18043
|
value: input.label
|
|
@@ -17205,7 +18045,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17205
18045
|
path: _path + ".color",
|
|
17206
18046
|
expected: "(null | string | undefined)",
|
|
17207
18047
|
value: input.color
|
|
17208
|
-
})].every(flag => flag); const
|
|
18048
|
+
})].every(flag => flag); const _vo50 = (input, _path, _exceptionable = true) => [undefined === input.label || "string" === typeof input.label || _report(_exceptionable, {
|
|
17209
18049
|
path: _path + ".label",
|
|
17210
18050
|
expected: "(string | undefined)",
|
|
17211
18051
|
value: input.label
|
|
@@ -17213,7 +18053,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17213
18053
|
path: _path + ".aspectRatio",
|
|
17214
18054
|
expected: "(string | undefined)",
|
|
17215
18055
|
value: input.aspectRatio
|
|
17216
|
-
})].every(flag => flag); const
|
|
18056
|
+
})].every(flag => flag); const _vo51 = (input, _path, _exceptionable = true) => [undefined === input.enabled || "boolean" === typeof input.enabled || _report(_exceptionable, {
|
|
17217
18057
|
path: _path + ".enabled",
|
|
17218
18058
|
expected: "(boolean | undefined)",
|
|
17219
18059
|
value: input.enabled
|
|
@@ -17225,45 +18065,45 @@ function _validateDomainRecord(domain, input) {
|
|
|
17225
18065
|
path: _path + ".defaultExitOption",
|
|
17226
18066
|
expected: "(\"leave\" | \"none\" | \"update\" | undefined)",
|
|
17227
18067
|
value: input.defaultExitOption
|
|
17228
|
-
})].every(flag => flag); const
|
|
18068
|
+
})].every(flag => flag); const _vo52 = (input, _path, _exceptionable = true) => [undefined === input.subtitleDisclaimer || ("object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) || _report(_exceptionable, {
|
|
17229
18069
|
path: _path + ".subtitleDisclaimer",
|
|
17230
|
-
expected: "(__type.
|
|
18070
|
+
expected: "(__type.o46 | undefined)",
|
|
17231
18071
|
value: input.subtitleDisclaimer
|
|
17232
|
-
})) &&
|
|
18072
|
+
})) && _vo53(input.subtitleDisclaimer, _path + ".subtitleDisclaimer", true && _exceptionable) || _report(_exceptionable, {
|
|
17233
18073
|
path: _path + ".subtitleDisclaimer",
|
|
17234
|
-
expected: "(__type.
|
|
18074
|
+
expected: "(__type.o46 | undefined)",
|
|
17235
18075
|
value: input.subtitleDisclaimer
|
|
17236
|
-
})].every(flag => flag); const
|
|
18076
|
+
})].every(flag => flag); const _vo53 = (input, _path, _exceptionable = true) => [undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable || _report(_exceptionable, {
|
|
17237
18077
|
path: _path + ".isUserConfigurable",
|
|
17238
18078
|
expected: "(boolean | undefined)",
|
|
17239
18079
|
value: input.isUserConfigurable
|
|
17240
18080
|
}), undefined === input.defaultValue || ("object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) || _report(_exceptionable, {
|
|
17241
18081
|
path: _path + ".defaultValue",
|
|
17242
|
-
expected: "(__type.
|
|
18082
|
+
expected: "(__type.o47 | undefined)",
|
|
17243
18083
|
value: input.defaultValue
|
|
17244
|
-
})) &&
|
|
18084
|
+
})) && _vo54(input.defaultValue, _path + ".defaultValue", true && _exceptionable) || _report(_exceptionable, {
|
|
17245
18085
|
path: _path + ".defaultValue",
|
|
17246
|
-
expected: "(__type.
|
|
18086
|
+
expected: "(__type.o47 | undefined)",
|
|
17247
18087
|
value: input.defaultValue
|
|
17248
|
-
})].every(flag => flag); const
|
|
18088
|
+
})].every(flag => flag); const _vo54 = (input, _path, _exceptionable = true) => [undefined === input.enabled || false === input.enabled || _report(_exceptionable, {
|
|
17249
18089
|
path: _path + ".enabled",
|
|
17250
18090
|
expected: "(false | undefined)",
|
|
17251
18091
|
value: input.enabled
|
|
17252
18092
|
}), undefined === input.text || (Array.isArray(input.text) || _report(_exceptionable, {
|
|
17253
18093
|
path: _path + ".text",
|
|
17254
|
-
expected: "(Array<__type>.
|
|
18094
|
+
expected: "(Array<__type>.o4 | undefined)",
|
|
17255
18095
|
value: input.text
|
|
17256
|
-
})) && input.text.map((elem,
|
|
17257
|
-
path: _path + ".text[" +
|
|
17258
|
-
expected: "__type.
|
|
18096
|
+
})) && input.text.map((elem, _index58) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
18097
|
+
path: _path + ".text[" + _index58 + "]",
|
|
18098
|
+
expected: "__type.o48",
|
|
17259
18099
|
value: elem
|
|
17260
|
-
})) &&
|
|
17261
|
-
path: _path + ".text[" +
|
|
17262
|
-
expected: "__type.
|
|
18100
|
+
})) && _vo55(elem, _path + ".text[" + _index58 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
18101
|
+
path: _path + ".text[" + _index58 + "]",
|
|
18102
|
+
expected: "__type.o48",
|
|
17263
18103
|
value: elem
|
|
17264
18104
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
17265
18105
|
path: _path + ".text",
|
|
17266
|
-
expected: "(Array<__type>.
|
|
18106
|
+
expected: "(Array<__type>.o4 | undefined)",
|
|
17267
18107
|
value: input.text
|
|
17268
18108
|
}), undefined === input.offset || "number" === typeof input.offset || _report(_exceptionable, {
|
|
17269
18109
|
path: _path + ".offset",
|
|
@@ -17273,7 +18113,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17273
18113
|
path: _path + ".duration",
|
|
17274
18114
|
expected: "(number | undefined)",
|
|
17275
18115
|
value: input.duration
|
|
17276
|
-
})].every(flag => flag); const
|
|
18116
|
+
})].every(flag => flag); const _vo55 = (input, _path, _exceptionable = true) => [undefined === input.language || "string" === typeof input.language || _report(_exceptionable, {
|
|
17277
18117
|
path: _path + ".language",
|
|
17278
18118
|
expected: "(string | undefined)",
|
|
17279
18119
|
value: input.language
|
|
@@ -17281,7 +18121,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17281
18121
|
path: _path + ".value",
|
|
17282
18122
|
expected: "(string | undefined)",
|
|
17283
18123
|
value: input.value
|
|
17284
|
-
})].every(flag => flag); const
|
|
18124
|
+
})].every(flag => flag); const _vo56 = (input, _path, _exceptionable = true) => [undefined === input.url || "string" === typeof input.url || _report(_exceptionable, {
|
|
17285
18125
|
path: _path + ".url",
|
|
17286
18126
|
expected: "(string | undefined)",
|
|
17287
18127
|
value: input.url
|
|
@@ -17297,27 +18137,71 @@ function _validateDomainRecord(domain, input) {
|
|
|
17297
18137
|
path: _path + ".args",
|
|
17298
18138
|
expected: "(Array<string> | undefined)",
|
|
17299
18139
|
value: input.args
|
|
17300
|
-
})) && input.args.map((elem,
|
|
17301
|
-
path: _path + ".args[" +
|
|
18140
|
+
})) && input.args.map((elem, _index59) => "string" === typeof elem || _report(_exceptionable, {
|
|
18141
|
+
path: _path + ".args[" + _index59 + "]",
|
|
17302
18142
|
expected: "string",
|
|
17303
18143
|
value: elem
|
|
17304
18144
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
17305
18145
|
path: _path + ".args",
|
|
17306
18146
|
expected: "(Array<string> | undefined)",
|
|
17307
18147
|
value: input.args
|
|
17308
|
-
})].every(flag => flag); const
|
|
18148
|
+
})].every(flag => flag); const _vo57 = (input, _path, _exceptionable = true) => [undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView || _report(_exceptionable, {
|
|
17309
18149
|
path: _path + ".thumbnailView",
|
|
17310
18150
|
expected: "(\"filmStrip\" | \"none\" | \"thumbnail\" | undefined)",
|
|
17311
18151
|
value: input.thumbnailView
|
|
18152
|
+
}), undefined === input.normalize || ("object" === typeof input.normalize && null !== input.normalize && false === Array.isArray(input.normalize) || _report(_exceptionable, {
|
|
18153
|
+
path: _path + ".normalize",
|
|
18154
|
+
expected: "(__type.o51 | undefined)",
|
|
18155
|
+
value: input.normalize
|
|
18156
|
+
})) && _vo58(input.normalize, _path + ".normalize", true && _exceptionable) || _report(_exceptionable, {
|
|
18157
|
+
path: _path + ".normalize",
|
|
18158
|
+
expected: "(__type.o51 | undefined)",
|
|
18159
|
+
value: input.normalize
|
|
17312
18160
|
}), undefined === input.voiceOver || ("object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) || _report(_exceptionable, {
|
|
17313
18161
|
path: _path + ".voiceOver",
|
|
17314
|
-
expected: "(__type.
|
|
18162
|
+
expected: "(__type.o53 | undefined)",
|
|
17315
18163
|
value: input.voiceOver
|
|
17316
|
-
})) &&
|
|
18164
|
+
})) && _vo60(input.voiceOver, _path + ".voiceOver", true && _exceptionable) || _report(_exceptionable, {
|
|
17317
18165
|
path: _path + ".voiceOver",
|
|
17318
|
-
expected: "(__type.
|
|
18166
|
+
expected: "(__type.o53 | undefined)",
|
|
17319
18167
|
value: input.voiceOver
|
|
17320
|
-
})].every(flag => flag); const
|
|
18168
|
+
})].every(flag => flag); const _vo58 = (input, _path, _exceptionable = true) => [undefined === input.presets || (Array.isArray(input.presets) || _report(_exceptionable, {
|
|
18169
|
+
path: _path + ".presets",
|
|
18170
|
+
expected: "(Array<__type>.o5 | undefined)",
|
|
18171
|
+
value: input.presets
|
|
18172
|
+
})) && input.presets.map((elem, _index60) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
18173
|
+
path: _path + ".presets[" + _index60 + "]",
|
|
18174
|
+
expected: "__type.o52",
|
|
18175
|
+
value: elem
|
|
18176
|
+
})) && _vo59(elem, _path + ".presets[" + _index60 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
18177
|
+
path: _path + ".presets[" + _index60 + "]",
|
|
18178
|
+
expected: "__type.o52",
|
|
18179
|
+
value: elem
|
|
18180
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
18181
|
+
path: _path + ".presets",
|
|
18182
|
+
expected: "(Array<__type>.o5 | undefined)",
|
|
18183
|
+
value: input.presets
|
|
18184
|
+
}), undefined === input.defaultPresetId || "string" === typeof input.defaultPresetId || _report(_exceptionable, {
|
|
18185
|
+
path: _path + ".defaultPresetId",
|
|
18186
|
+
expected: "(string | undefined)",
|
|
18187
|
+
value: input.defaultPresetId
|
|
18188
|
+
})].every(flag => flag); const _vo59 = (input, _path, _exceptionable = true) => ["string" === typeof input.id || _report(_exceptionable, {
|
|
18189
|
+
path: _path + ".id",
|
|
18190
|
+
expected: "string",
|
|
18191
|
+
value: input.id
|
|
18192
|
+
}), "string" === typeof input.title || _report(_exceptionable, {
|
|
18193
|
+
path: _path + ".title",
|
|
18194
|
+
expected: "string",
|
|
18195
|
+
value: input.title
|
|
18196
|
+
}), "number" === typeof input.i || _report(_exceptionable, {
|
|
18197
|
+
path: _path + ".i",
|
|
18198
|
+
expected: "number",
|
|
18199
|
+
value: input.i
|
|
18200
|
+
}), "number" === typeof input.tp || _report(_exceptionable, {
|
|
18201
|
+
path: _path + ".tp",
|
|
18202
|
+
expected: "number",
|
|
18203
|
+
value: input.tp
|
|
18204
|
+
})].every(flag => flag); const _vo60 = (input, _path, _exceptionable = true) => [undefined === input.inputDevice || "string" === typeof input.inputDevice || _report(_exceptionable, {
|
|
17321
18205
|
path: _path + ".inputDevice",
|
|
17322
18206
|
expected: "(string | undefined)",
|
|
17323
18207
|
value: input.inputDevice
|
|
@@ -17337,7 +18221,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17337
18221
|
path: _path + ".preRollDuration",
|
|
17338
18222
|
expected: "(number | undefined)",
|
|
17339
18223
|
value: input.preRollDuration
|
|
17340
|
-
})].every(flag => flag); const
|
|
18224
|
+
})].every(flag => flag); const _vo61 = (input, _path, _exceptionable = true) => [undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
17341
18225
|
path: _path + ".title",
|
|
17342
18226
|
expected: "(string | undefined)",
|
|
17343
18227
|
value: input.title
|
|
@@ -17349,75 +18233,75 @@ function _validateDomainRecord(domain, input) {
|
|
|
17349
18233
|
path: _path + ".args",
|
|
17350
18234
|
expected: "(Array<string> | undefined)",
|
|
17351
18235
|
value: input.args
|
|
17352
|
-
})) && input.args.map((elem,
|
|
17353
|
-
path: _path + ".args[" +
|
|
18236
|
+
})) && input.args.map((elem, _index61) => "string" === typeof elem || _report(_exceptionable, {
|
|
18237
|
+
path: _path + ".args[" + _index61 + "]",
|
|
17354
18238
|
expected: "string",
|
|
17355
18239
|
value: elem
|
|
17356
18240
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
17357
18241
|
path: _path + ".args",
|
|
17358
18242
|
expected: "(Array<string> | undefined)",
|
|
17359
18243
|
value: input.args
|
|
17360
|
-
})].every(flag => flag); const
|
|
18244
|
+
})].every(flag => flag); const _vo62 = (input, _path, _exceptionable = true) => [undefined === input.folded || ("object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) || _report(_exceptionable, {
|
|
17361
18245
|
path: _path + ".folded",
|
|
17362
|
-
expected: "(__type.
|
|
18246
|
+
expected: "(__type.o56 | undefined)",
|
|
17363
18247
|
value: input.folded
|
|
17364
|
-
})) &&
|
|
18248
|
+
})) && _vo63(input.folded, _path + ".folded", true && _exceptionable) || _report(_exceptionable, {
|
|
17365
18249
|
path: _path + ".folded",
|
|
17366
|
-
expected: "(__type.
|
|
18250
|
+
expected: "(__type.o56 | undefined)",
|
|
17367
18251
|
value: input.folded
|
|
17368
18252
|
}), undefined === input.assets || ("object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) || _report(_exceptionable, {
|
|
17369
18253
|
path: _path + ".assets",
|
|
17370
|
-
expected: "(__type.
|
|
18254
|
+
expected: "(__type.o57 | undefined)",
|
|
17371
18255
|
value: input.assets
|
|
17372
|
-
})) &&
|
|
18256
|
+
})) && _vo64(input.assets, _path + ".assets", true && _exceptionable) || _report(_exceptionable, {
|
|
17373
18257
|
path: _path + ".assets",
|
|
17374
|
-
expected: "(__type.
|
|
18258
|
+
expected: "(__type.o57 | undefined)",
|
|
17375
18259
|
value: input.assets
|
|
17376
18260
|
}), undefined === input.pipeline || ("object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) || _report(_exceptionable, {
|
|
17377
18261
|
path: _path + ".pipeline",
|
|
17378
|
-
expected: "(__type.
|
|
18262
|
+
expected: "(__type.o61 | undefined)",
|
|
17379
18263
|
value: input.pipeline
|
|
17380
|
-
})) &&
|
|
18264
|
+
})) && _vo68(input.pipeline, _path + ".pipeline", true && _exceptionable) || _report(_exceptionable, {
|
|
17381
18265
|
path: _path + ".pipeline",
|
|
17382
|
-
expected: "(__type.
|
|
18266
|
+
expected: "(__type.o61 | undefined)",
|
|
17383
18267
|
value: input.pipeline
|
|
17384
18268
|
}), undefined === input.item || ("object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) || _report(_exceptionable, {
|
|
17385
18269
|
path: _path + ".item",
|
|
17386
|
-
expected: "(__type.
|
|
18270
|
+
expected: "(__type.o63 | undefined)",
|
|
17387
18271
|
value: input.item
|
|
17388
|
-
})) &&
|
|
18272
|
+
})) && _vo70(input.item, _path + ".item", true && _exceptionable) || _report(_exceptionable, {
|
|
17389
18273
|
path: _path + ".item",
|
|
17390
|
-
expected: "(__type.
|
|
18274
|
+
expected: "(__type.o63 | undefined)",
|
|
17391
18275
|
value: input.item
|
|
17392
|
-
})].every(flag => flag); const
|
|
18276
|
+
})].every(flag => flag); const _vo63 = (input, _path, _exceptionable = true) => [undefined === input.auto || "boolean" === typeof input.auto || _report(_exceptionable, {
|
|
17393
18277
|
path: _path + ".auto",
|
|
17394
18278
|
expected: "(boolean | undefined)",
|
|
17395
18279
|
value: input.auto
|
|
17396
|
-
})].every(flag => flag); const
|
|
18280
|
+
})].every(flag => flag); const _vo64 = (input, _path, _exceptionable = true) => [undefined === input.story || ("object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) || _report(_exceptionable, {
|
|
17397
18281
|
path: _path + ".story",
|
|
17398
|
-
expected: "(__type.
|
|
18282
|
+
expected: "(__type.o58 | undefined)",
|
|
17399
18283
|
value: input.story
|
|
17400
|
-
})) &&
|
|
18284
|
+
})) && _vo65(input.story, _path + ".story", true && _exceptionable) || _report(_exceptionable, {
|
|
17401
18285
|
path: _path + ".story",
|
|
17402
|
-
expected: "(__type.
|
|
18286
|
+
expected: "(__type.o58 | undefined)",
|
|
17403
18287
|
value: input.story
|
|
17404
18288
|
}), undefined === input.note || ("object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) || _report(_exceptionable, {
|
|
17405
18289
|
path: _path + ".note",
|
|
17406
|
-
expected: "(__type.
|
|
18290
|
+
expected: "(__type.o60 | undefined)",
|
|
17407
18291
|
value: input.note
|
|
17408
|
-
})) &&
|
|
18292
|
+
})) && _vo67(input.note, _path + ".note", true && _exceptionable) || _report(_exceptionable, {
|
|
17409
18293
|
path: _path + ".note",
|
|
17410
|
-
expected: "(__type.
|
|
18294
|
+
expected: "(__type.o60 | undefined)",
|
|
17411
18295
|
value: input.note
|
|
17412
|
-
})].every(flag => flag); const
|
|
18296
|
+
})].every(flag => flag); const _vo65 = (input, _path, _exceptionable = true) => [undefined === input.excerpt || ("object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) || _report(_exceptionable, {
|
|
17413
18297
|
path: _path + ".excerpt",
|
|
17414
|
-
expected: "(__type.
|
|
18298
|
+
expected: "(__type.o59 | undefined)",
|
|
17415
18299
|
value: input.excerpt
|
|
17416
|
-
})) &&
|
|
18300
|
+
})) && _vo66(input.excerpt, _path + ".excerpt", true && _exceptionable) || _report(_exceptionable, {
|
|
17417
18301
|
path: _path + ".excerpt",
|
|
17418
|
-
expected: "(__type.
|
|
18302
|
+
expected: "(__type.o59 | undefined)",
|
|
17419
18303
|
value: input.excerpt
|
|
17420
|
-
})].every(flag => flag); const
|
|
18304
|
+
})].every(flag => flag); const _vo66 = (input, _path, _exceptionable = true) => [undefined === input.maxLines || "number" === typeof input.maxLines || _report(_exceptionable, {
|
|
17421
18305
|
path: _path + ".maxLines",
|
|
17422
18306
|
expected: "(number | undefined)",
|
|
17423
18307
|
value: input.maxLines
|
|
@@ -17429,27 +18313,27 @@ function _validateDomainRecord(domain, input) {
|
|
|
17429
18313
|
path: _path + ".comments",
|
|
17430
18314
|
expected: "(boolean | undefined)",
|
|
17431
18315
|
value: input.comments
|
|
17432
|
-
})].every(flag => flag); const
|
|
18316
|
+
})].every(flag => flag); const _vo67 = (input, _path, _exceptionable = true) => [undefined === input.maxHeight || "number" === typeof input.maxHeight || _report(_exceptionable, {
|
|
17433
18317
|
path: _path + ".maxHeight",
|
|
17434
18318
|
expected: "(number | undefined)",
|
|
17435
18319
|
value: input.maxHeight
|
|
17436
|
-
})].every(flag => flag); const
|
|
18320
|
+
})].every(flag => flag); const _vo68 = (input, _path, _exceptionable = true) => [undefined === input.search || ("object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) || _report(_exceptionable, {
|
|
17437
18321
|
path: _path + ".search",
|
|
17438
|
-
expected: "(__type.
|
|
18322
|
+
expected: "(__type.o62 | undefined)",
|
|
17439
18323
|
value: input.search
|
|
17440
|
-
})) &&
|
|
18324
|
+
})) && _vo69(input.search, _path + ".search", true && _exceptionable) || _report(_exceptionable, {
|
|
17441
18325
|
path: _path + ".search",
|
|
17442
|
-
expected: "(__type.
|
|
18326
|
+
expected: "(__type.o62 | undefined)",
|
|
17443
18327
|
value: input.search
|
|
17444
|
-
}), undefined === input.sortMode || true ===
|
|
18328
|
+
}), undefined === input.sortMode || true === _vv62.has(input.sortMode) || _report(_exceptionable, {
|
|
17445
18329
|
path: _path + ".sortMode",
|
|
17446
18330
|
expected: "(\"az\" | \"default\" | \"earliestdeadline\" | \"latestdeadline\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
|
|
17447
18331
|
value: input.sortMode
|
|
17448
|
-
})].every(flag => flag); const
|
|
18332
|
+
})].every(flag => flag); const _vo69 = (input, _path, _exceptionable = true) => [undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed || _report(_exceptionable, {
|
|
17449
18333
|
path: _path + ".maxItemsDisplayed",
|
|
17450
18334
|
expected: "(number | undefined)",
|
|
17451
18335
|
value: input.maxItemsDisplayed
|
|
17452
|
-
})].every(flag => flag); const
|
|
18336
|
+
})].every(flag => flag); const _vo70 = (input, _path, _exceptionable = true) => [undefined === input.maxHeight || "number" === typeof input.maxHeight || _report(_exceptionable, {
|
|
17453
18337
|
path: _path + ".maxHeight",
|
|
17454
18338
|
expected: "(number | undefined)",
|
|
17455
18339
|
value: input.maxHeight
|
|
@@ -17457,19 +18341,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
17457
18341
|
path: _path + ".titleLines",
|
|
17458
18342
|
expected: "(number | undefined)",
|
|
17459
18343
|
value: input.titleLines
|
|
17460
|
-
})].every(flag => flag); const
|
|
18344
|
+
})].every(flag => flag); const _vo71 = (input, _path, _exceptionable = true) => [undefined === input.fontFamilies || (Array.isArray(input.fontFamilies) || _report(_exceptionable, {
|
|
17461
18345
|
path: _path + ".fontFamilies",
|
|
17462
18346
|
expected: "(Array<string> | undefined)",
|
|
17463
18347
|
value: input.fontFamilies
|
|
17464
|
-
})) && input.fontFamilies.map((elem,
|
|
17465
|
-
path: _path + ".fontFamilies[" +
|
|
18348
|
+
})) && input.fontFamilies.map((elem, _index63) => "string" === typeof elem || _report(_exceptionable, {
|
|
18349
|
+
path: _path + ".fontFamilies[" + _index63 + "]",
|
|
17466
18350
|
expected: "string",
|
|
17467
18351
|
value: elem
|
|
17468
18352
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
17469
18353
|
path: _path + ".fontFamilies",
|
|
17470
18354
|
expected: "(Array<string> | undefined)",
|
|
17471
18355
|
value: input.fontFamilies
|
|
17472
|
-
})].every(flag => flag); const
|
|
18356
|
+
})].every(flag => flag); const _vo72 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
17473
18357
|
path: _path + ".id",
|
|
17474
18358
|
expected: "(string | undefined)",
|
|
17475
18359
|
value: input.id
|
|
@@ -17477,31 +18361,31 @@ function _validateDomainRecord(domain, input) {
|
|
|
17477
18361
|
path: _path + ".folded",
|
|
17478
18362
|
expected: "(boolean | undefined)",
|
|
17479
18363
|
value: input.folded
|
|
17480
|
-
})].every(flag => flag); const
|
|
18364
|
+
})].every(flag => flag); const _vo73 = (input, _path, _exceptionable = true) => [undefined === input.adobe || ("object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) || _report(_exceptionable, {
|
|
17481
18365
|
path: _path + ".adobe",
|
|
17482
|
-
expected: "(__type.
|
|
18366
|
+
expected: "(__type.o67 | undefined)",
|
|
17483
18367
|
value: input.adobe
|
|
17484
|
-
})) &&
|
|
18368
|
+
})) && _vo74(input.adobe, _path + ".adobe", true && _exceptionable) || _report(_exceptionable, {
|
|
17485
18369
|
path: _path + ".adobe",
|
|
17486
|
-
expected: "(__type.
|
|
18370
|
+
expected: "(__type.o67 | undefined)",
|
|
17487
18371
|
value: input.adobe
|
|
17488
18372
|
}), undefined === input.rive || ("object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) || _report(_exceptionable, {
|
|
17489
18373
|
path: _path + ".rive",
|
|
17490
|
-
expected: "(__type.
|
|
18374
|
+
expected: "(__type.o68 | undefined)",
|
|
17491
18375
|
value: input.rive
|
|
17492
|
-
})) &&
|
|
18376
|
+
})) && _vo75(input.rive, _path + ".rive", true && _exceptionable) || _report(_exceptionable, {
|
|
17493
18377
|
path: _path + ".rive",
|
|
17494
|
-
expected: "(__type.
|
|
18378
|
+
expected: "(__type.o68 | undefined)",
|
|
17495
18379
|
value: input.rive
|
|
17496
|
-
})].every(flag => flag); const
|
|
18380
|
+
})].every(flag => flag); const _vo74 = (input, _path, _exceptionable = true) => [undefined === input.useProxies || "boolean" === typeof input.useProxies || _report(_exceptionable, {
|
|
17497
18381
|
path: _path + ".useProxies",
|
|
17498
18382
|
expected: "(boolean | undefined)",
|
|
17499
18383
|
value: input.useProxies
|
|
17500
|
-
})].every(flag => flag); const
|
|
18384
|
+
})].every(flag => flag); const _vo75 = (input, _path, _exceptionable = true) => [undefined === input.template || "string" === typeof input.template || _report(_exceptionable, {
|
|
17501
18385
|
path: _path + ".template",
|
|
17502
18386
|
expected: "(string | undefined)",
|
|
17503
18387
|
value: input.template
|
|
17504
|
-
})].every(flag => flag); const
|
|
18388
|
+
})].every(flag => flag); const _vo76 = (input, _path, _exceptionable = true) => [undefined === input.collections || "boolean" === typeof input.collections || _report(_exceptionable, {
|
|
17505
18389
|
path: _path + ".collections",
|
|
17506
18390
|
expected: "(boolean | undefined)",
|
|
17507
18391
|
value: input.collections
|
|
@@ -17513,7 +18397,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17513
18397
|
path: _path + ".ameRemoteRendering",
|
|
17514
18398
|
expected: "(boolean | undefined)",
|
|
17515
18399
|
value: input.ameRemoteRendering
|
|
17516
|
-
})].every(flag => flag); const
|
|
18400
|
+
})].every(flag => flag); const _vo77 = (input, _path, _exceptionable = true) => [undefined === input.utils || "boolean" === typeof input.utils || _report(_exceptionable, {
|
|
17517
18401
|
path: _path + ".utils",
|
|
17518
18402
|
expected: "(boolean | undefined)",
|
|
17519
18403
|
value: input.utils
|
|
@@ -17589,20 +18473,20 @@ function _validateDomainRecord(domain, input) {
|
|
|
17589
18473
|
path: _path + ".systemHealth",
|
|
17590
18474
|
expected: "(boolean | undefined)",
|
|
17591
18475
|
value: input.systemHealth
|
|
17592
|
-
})].every(flag => flag); const
|
|
18476
|
+
})].every(flag => flag); const _vo78 = (input, _path, _exceptionable = true) => [undefined === input.events || ("object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) || _report(_exceptionable, {
|
|
17593
18477
|
path: _path + ".events",
|
|
17594
|
-
expected: "(__type.
|
|
18478
|
+
expected: "(__type.o72 | undefined)",
|
|
17595
18479
|
value: input.events
|
|
17596
|
-
})) &&
|
|
18480
|
+
})) && _vo79(input.events, _path + ".events", true && _exceptionable) || _report(_exceptionable, {
|
|
17597
18481
|
path: _path + ".events",
|
|
17598
|
-
expected: "(__type.
|
|
18482
|
+
expected: "(__type.o72 | undefined)",
|
|
17599
18483
|
value: input.events
|
|
17600
|
-
})].every(flag => flag); const
|
|
18484
|
+
})].every(flag => flag); const _vo79 = (input, _path, _exceptionable = true) => [undefined === input.comment || (Array.isArray(input.comment) || _report(_exceptionable, {
|
|
17601
18485
|
path: _path + ".comment",
|
|
17602
18486
|
expected: "(Array<NotificationReason> | undefined)",
|
|
17603
18487
|
value: input.comment
|
|
17604
|
-
})) && input.comment.map((elem,
|
|
17605
|
-
path: _path + ".comment[" +
|
|
18488
|
+
})) && input.comment.map((elem, _index64) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
18489
|
+
path: _path + ".comment[" + _index64 + "]",
|
|
17606
18490
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
17607
18491
|
value: elem
|
|
17608
18492
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17613,8 +18497,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
17613
18497
|
path: _path + ".assigned",
|
|
17614
18498
|
expected: "(Array<NotificationReason> | undefined)",
|
|
17615
18499
|
value: input.assigned
|
|
17616
|
-
})) && input.assigned.map((elem,
|
|
17617
|
-
path: _path + ".assigned[" +
|
|
18500
|
+
})) && input.assigned.map((elem, _index65) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
18501
|
+
path: _path + ".assigned[" + _index65 + "]",
|
|
17618
18502
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
17619
18503
|
value: elem
|
|
17620
18504
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17625,8 +18509,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
17625
18509
|
path: _path + ".unassigned",
|
|
17626
18510
|
expected: "(Array<NotificationReason> | undefined)",
|
|
17627
18511
|
value: input.unassigned
|
|
17628
|
-
})) && input.unassigned.map((elem,
|
|
17629
|
-
path: _path + ".unassigned[" +
|
|
18512
|
+
})) && input.unassigned.map((elem, _index66) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
18513
|
+
path: _path + ".unassigned[" + _index66 + "]",
|
|
17630
18514
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
17631
18515
|
value: elem
|
|
17632
18516
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17635,13 +18519,13 @@ function _validateDomainRecord(domain, input) {
|
|
|
17635
18519
|
value: input.unassigned
|
|
17636
18520
|
}), undefined === input.publishSucceeded || ("object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) || _report(_exceptionable, {
|
|
17637
18521
|
path: _path + ".publishSucceeded",
|
|
17638
|
-
expected: "(__type.
|
|
18522
|
+
expected: "(__type.o73 | undefined)",
|
|
17639
18523
|
value: input.publishSucceeded
|
|
17640
|
-
})) &&
|
|
18524
|
+
})) && _vo80(input.publishSucceeded, _path + ".publishSucceeded", true && _exceptionable) || _report(_exceptionable, {
|
|
17641
18525
|
path: _path + ".publishSucceeded",
|
|
17642
|
-
expected: "(__type.
|
|
18526
|
+
expected: "(__type.o73 | undefined)",
|
|
17643
18527
|
value: input.publishSucceeded
|
|
17644
|
-
})].every(flag => flag); const
|
|
18528
|
+
})].every(flag => flag); const _vo80 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
17645
18529
|
const value = input[key];
|
|
17646
18530
|
if (undefined === value)
|
|
17647
18531
|
return true;
|
|
@@ -17649,8 +18533,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
17649
18533
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17650
18534
|
expected: "Array<NotificationReason>",
|
|
17651
18535
|
value: value
|
|
17652
|
-
})) && value.map((elem,
|
|
17653
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" +
|
|
18536
|
+
})) && value.map((elem, _index67) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
18537
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index67 + "]",
|
|
17654
18538
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
17655
18539
|
value: elem
|
|
17656
18540
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17658,15 +18542,31 @@ function _validateDomainRecord(domain, input) {
|
|
|
17658
18542
|
expected: "Array<NotificationReason>",
|
|
17659
18543
|
value: value
|
|
17660
18544
|
});
|
|
17661
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
18545
|
+
}).every(flag => flag)].every(flag => flag); const _vo81 = (input, _path, _exceptionable = true) => [undefined === input.create || ("object" === typeof input.create && null !== input.create && false === Array.isArray(input.create) || _report(_exceptionable, {
|
|
18546
|
+
path: _path + ".create",
|
|
18547
|
+
expected: "(__type.o75 | undefined)",
|
|
18548
|
+
value: input.create
|
|
18549
|
+
})) && _vo82(input.create, _path + ".create", true && _exceptionable) || _report(_exceptionable, {
|
|
18550
|
+
path: _path + ".create",
|
|
18551
|
+
expected: "(__type.o75 | undefined)",
|
|
18552
|
+
value: input.create
|
|
18553
|
+
}), undefined === input.duplicate || ("object" === typeof input.duplicate && null !== input.duplicate && false === Array.isArray(input.duplicate) || _report(_exceptionable, {
|
|
17662
18554
|
path: _path + ".duplicate",
|
|
17663
|
-
expected: "(__type.
|
|
18555
|
+
expected: "(__type.o76 | undefined)",
|
|
17664
18556
|
value: input.duplicate
|
|
17665
|
-
})) &&
|
|
18557
|
+
})) && _vo83(input.duplicate, _path + ".duplicate", true && _exceptionable) || _report(_exceptionable, {
|
|
17666
18558
|
path: _path + ".duplicate",
|
|
17667
|
-
expected: "(__type.
|
|
18559
|
+
expected: "(__type.o76 | undefined)",
|
|
17668
18560
|
value: input.duplicate
|
|
17669
|
-
})].every(flag => flag); const
|
|
18561
|
+
})].every(flag => flag); const _vo82 = (input, _path, _exceptionable = true) => [undefined === input.titlePrefix || "string" === typeof input.titlePrefix || _report(_exceptionable, {
|
|
18562
|
+
path: _path + ".titlePrefix",
|
|
18563
|
+
expected: "(string | undefined)",
|
|
18564
|
+
value: input.titlePrefix
|
|
18565
|
+
}), undefined === input.titleSuffix || "string" === typeof input.titleSuffix || _report(_exceptionable, {
|
|
18566
|
+
path: _path + ".titleSuffix",
|
|
18567
|
+
expected: "(string | undefined)",
|
|
18568
|
+
value: input.titleSuffix
|
|
18569
|
+
})].every(flag => flag); const _vo83 = (input, _path, _exceptionable = true) => [undefined === input.titlePrefix || "string" === typeof input.titlePrefix || _report(_exceptionable, {
|
|
17670
18570
|
path: _path + ".titlePrefix",
|
|
17671
18571
|
expected: "(string | undefined)",
|
|
17672
18572
|
value: input.titlePrefix
|
|
@@ -17674,12 +18574,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
17674
18574
|
path: _path + ".titleSuffix",
|
|
17675
18575
|
expected: "(string | undefined)",
|
|
17676
18576
|
value: input.titleSuffix
|
|
17677
|
-
})].every(flag => flag); const
|
|
18577
|
+
})].every(flag => flag); const _vo84 = (input, _path, _exceptionable = true) => [undefined === input.stateFilter || (Array.isArray(input.stateFilter) || _report(_exceptionable, {
|
|
17678
18578
|
path: _path + ".stateFilter",
|
|
17679
18579
|
expected: "(Array<number> | undefined)",
|
|
17680
18580
|
value: input.stateFilter
|
|
17681
|
-
})) && input.stateFilter.map((elem,
|
|
17682
|
-
path: _path + ".stateFilter[" +
|
|
18581
|
+
})) && input.stateFilter.map((elem, _index68) => "number" === typeof elem || _report(_exceptionable, {
|
|
18582
|
+
path: _path + ".stateFilter[" + _index68 + "]",
|
|
17683
18583
|
expected: "number",
|
|
17684
18584
|
value: elem
|
|
17685
18585
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17706,14 +18606,18 @@ function _validateDomainRecord(domain, input) {
|
|
|
17706
18606
|
path: _path + ".parseRegex",
|
|
17707
18607
|
expected: "(boolean | undefined)",
|
|
17708
18608
|
value: input.parseRegex
|
|
17709
|
-
})].every(flag => flag); const
|
|
18609
|
+
})].every(flag => flag); const _vo85 = (input, _path, _exceptionable = true) => [undefined === input.disableHotArea || "boolean" === typeof input.disableHotArea || _report(_exceptionable, {
|
|
17710
18610
|
path: _path + ".disableHotArea",
|
|
17711
18611
|
expected: "(boolean | undefined)",
|
|
17712
18612
|
value: input.disableHotArea
|
|
17713
|
-
})].every(flag => flag); const
|
|
18613
|
+
})].every(flag => flag); const _vo86 = (input, _path, _exceptionable = true) => [undefined === input.refreshInterval || "number" === typeof input.refreshInterval || _report(_exceptionable, {
|
|
17714
18614
|
path: _path + ".refreshInterval",
|
|
17715
18615
|
expected: "(number | undefined)",
|
|
17716
18616
|
value: input.refreshInterval
|
|
18617
|
+
})].every(flag => flag); const _vo87 = (input, _path, _exceptionable = true) => [undefined === input.layout || "string" === typeof input.layout || _report(_exceptionable, {
|
|
18618
|
+
path: _path + ".layout",
|
|
18619
|
+
expected: "(string | undefined)",
|
|
18620
|
+
value: input.layout
|
|
17717
18621
|
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
17718
18622
|
if (false === __is(input)) {
|
|
17719
18623
|
errors = [];
|
|
@@ -17743,8 +18647,64 @@ function _validateDomainRecord(domain, input) {
|
|
|
17743
18647
|
};
|
|
17744
18648
|
}; })()(input);
|
|
17745
18649
|
}
|
|
18650
|
+
case ":settings.node": {
|
|
18651
|
+
return (() => { const _io0 = input => Object.keys(input).every(key => {
|
|
18652
|
+
const value = input[key];
|
|
18653
|
+
if (undefined === value)
|
|
18654
|
+
return true;
|
|
18655
|
+
return "object" === typeof value && null !== value && _io1(value);
|
|
18656
|
+
}); const _io1 = input => "boolean" === typeof input.collapsed && "boolean" === typeof input.hidden; const _vo0 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
18657
|
+
const value = input[key];
|
|
18658
|
+
if (undefined === value)
|
|
18659
|
+
return true;
|
|
18660
|
+
return ("object" === typeof value && null !== value || _report(_exceptionable, {
|
|
18661
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
18662
|
+
expected: "__type",
|
|
18663
|
+
value: value
|
|
18664
|
+
})) && _vo1(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
18665
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
18666
|
+
expected: "__type",
|
|
18667
|
+
value: value
|
|
18668
|
+
});
|
|
18669
|
+
}).every(flag => flag)].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["boolean" === typeof input.collapsed || _report(_exceptionable, {
|
|
18670
|
+
path: _path + ".collapsed",
|
|
18671
|
+
expected: "boolean",
|
|
18672
|
+
value: input.collapsed
|
|
18673
|
+
}), "boolean" === typeof input.hidden || _report(_exceptionable, {
|
|
18674
|
+
path: _path + ".hidden",
|
|
18675
|
+
expected: "boolean",
|
|
18676
|
+
value: input.hidden
|
|
18677
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
18678
|
+
if (false === __is(input)) {
|
|
18679
|
+
errors = [];
|
|
18680
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
18681
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
18682
|
+
path: _path + "",
|
|
18683
|
+
expected: "SettingsNodeRecord",
|
|
18684
|
+
value: input
|
|
18685
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
18686
|
+
path: _path + "",
|
|
18687
|
+
expected: "SettingsNodeRecord",
|
|
18688
|
+
value: input
|
|
18689
|
+
}))(input, "$input", true);
|
|
18690
|
+
const success = 0 === errors.length;
|
|
18691
|
+
return success ? {
|
|
18692
|
+
success,
|
|
18693
|
+
data: input
|
|
18694
|
+
} : {
|
|
18695
|
+
success,
|
|
18696
|
+
errors,
|
|
18697
|
+
data: input
|
|
18698
|
+
};
|
|
18699
|
+
}
|
|
18700
|
+
return {
|
|
18701
|
+
success: true,
|
|
18702
|
+
data: input
|
|
18703
|
+
};
|
|
18704
|
+
}; })()(input);
|
|
18705
|
+
}
|
|
17746
18706
|
case ":shotbox": {
|
|
17747
|
-
return (() => { const _io0 = input => undefined === input.pages || Array.isArray(input.pages) && input.pages.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem)); const _io1 = input => (undefined === input.stickyTopRow || "boolean" === typeof input.stickyTopRow) && (undefined === input.inferGroups || "boolean" === typeof input.inferGroups) && (undefined === input.layout || Array.isArray(input.layout) && input.layout.every(elem => null !== elem && undefined !== elem && (Array.isArray(elem) && elem.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)))); const _io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.sticky || "boolean" === typeof input.sticky) && (undefined === input.type || "trigger" === input.type || "toggle" === input.type) && (undefined === input.width || "string" === typeof input.width) && (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)) && (undefined === input.states || "object" === typeof input.states && null !== input.states && _io3(input.states)) && (undefined === input.flow || "column" === input.flow || "row" === input.flow) && (undefined === input.minRows || "number" === typeof input.minRows) && (undefined === input.maxRows || "number" === typeof input.maxRows); const _io3 = input => "boolean" === typeof input.completed; const _io4 = input => "stream" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.width || "string" === typeof input.width) && (undefined === input.source || "string" === typeof input.source); const _iu0 = input => (() => {
|
|
18707
|
+
return (() => { const _io0 = input => undefined === input.pages || Array.isArray(input.pages) && input.pages.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem)); const _io1 = input => (undefined === input.stickyTopRow || "boolean" === typeof input.stickyTopRow) && (undefined === input.inferGroups || "boolean" === typeof input.inferGroups) && (undefined === input.excludeFromInferredGroups || Array.isArray(input.excludeFromInferredGroups) && input.excludeFromInferredGroups.every(elem => "string" === typeof elem)) && (undefined === input.layout || Array.isArray(input.layout) && input.layout.every(elem => null !== elem && undefined !== elem && (Array.isArray(elem) && elem.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)))); const _io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.sticky || "boolean" === typeof input.sticky) && (undefined === input.type || "trigger" === input.type || "toggle" === input.type) && (undefined === input.width || "string" === typeof input.width) && (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)) && (undefined === input.states || "object" === typeof input.states && null !== input.states && _io3(input.states)) && (undefined === input.flow || "column" === input.flow || "row" === input.flow) && (undefined === input.minRows || "number" === typeof input.minRows) && (undefined === input.maxRows || "number" === typeof input.maxRows); const _io3 = input => "boolean" === typeof input.completed; const _io4 = input => "stream" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.width || "string" === typeof input.width) && (undefined === input.source || "string" === typeof input.source); const _iu0 = input => (() => {
|
|
17748
18708
|
if ("stream" === input.type)
|
|
17749
18709
|
return _io4(input);
|
|
17750
18710
|
else
|
|
@@ -17753,12 +18713,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
17753
18713
|
path: _path + ".pages",
|
|
17754
18714
|
expected: "(Array<ShotboxPage> | undefined)",
|
|
17755
18715
|
value: input.pages
|
|
17756
|
-
})) && input.pages.map((elem,
|
|
17757
|
-
path: _path + ".pages[" +
|
|
18716
|
+
})) && input.pages.map((elem, _index7) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
18717
|
+
path: _path + ".pages[" + _index7 + "]",
|
|
17758
18718
|
expected: "ShotboxPage",
|
|
17759
18719
|
value: elem
|
|
17760
|
-
})) && _vo1(elem, _path + ".pages[" +
|
|
17761
|
-
path: _path + ".pages[" +
|
|
18720
|
+
})) && _vo1(elem, _path + ".pages[" + _index7 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
18721
|
+
path: _path + ".pages[" + _index7 + "]",
|
|
17762
18722
|
expected: "ShotboxPage",
|
|
17763
18723
|
value: elem
|
|
17764
18724
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17773,32 +18733,44 @@ function _validateDomainRecord(domain, input) {
|
|
|
17773
18733
|
path: _path + ".inferGroups",
|
|
17774
18734
|
expected: "(boolean | undefined)",
|
|
17775
18735
|
value: input.inferGroups
|
|
18736
|
+
}), undefined === input.excludeFromInferredGroups || (Array.isArray(input.excludeFromInferredGroups) || _report(_exceptionable, {
|
|
18737
|
+
path: _path + ".excludeFromInferredGroups",
|
|
18738
|
+
expected: "(Array<string> | undefined)",
|
|
18739
|
+
value: input.excludeFromInferredGroups
|
|
18740
|
+
})) && input.excludeFromInferredGroups.map((elem, _index8) => "string" === typeof elem || _report(_exceptionable, {
|
|
18741
|
+
path: _path + ".excludeFromInferredGroups[" + _index8 + "]",
|
|
18742
|
+
expected: "string",
|
|
18743
|
+
value: elem
|
|
18744
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
18745
|
+
path: _path + ".excludeFromInferredGroups",
|
|
18746
|
+
expected: "(Array<string> | undefined)",
|
|
18747
|
+
value: input.excludeFromInferredGroups
|
|
17776
18748
|
}), undefined === input.layout || (Array.isArray(input.layout) || _report(_exceptionable, {
|
|
17777
18749
|
path: _path + ".layout",
|
|
17778
18750
|
expected: "(Array<ShotboxGroup | ShotboxGroup[]> | undefined)",
|
|
17779
18751
|
value: input.layout
|
|
17780
|
-
})) && input.layout.map((elem,
|
|
17781
|
-
path: _path + ".layout[" +
|
|
18752
|
+
})) && input.layout.map((elem, _index9) => (null !== elem || _report(_exceptionable, {
|
|
18753
|
+
path: _path + ".layout[" + _index9 + "]",
|
|
17782
18754
|
expected: "(Array<ShotboxGroup> | ShotboxEventGroup | ShotboxStreamGroup)",
|
|
17783
18755
|
value: elem
|
|
17784
18756
|
})) && (undefined !== elem || _report(_exceptionable, {
|
|
17785
|
-
path: _path + ".layout[" +
|
|
18757
|
+
path: _path + ".layout[" + _index9 + "]",
|
|
17786
18758
|
expected: "(Array<ShotboxGroup> | ShotboxEventGroup | ShotboxStreamGroup)",
|
|
17787
18759
|
value: elem
|
|
17788
|
-
})) && (Array.isArray(elem) && elem.map((elem,
|
|
17789
|
-
path: _path + ".layout[" +
|
|
18760
|
+
})) && (Array.isArray(elem) && elem.map((elem, _index10) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
18761
|
+
path: _path + ".layout[" + _index9 + "][" + _index10 + "]",
|
|
17790
18762
|
expected: "(ShotboxEventGroup | ShotboxStreamGroup)",
|
|
17791
18763
|
value: elem
|
|
17792
|
-
})) && _vu0(elem, _path + ".layout[" +
|
|
17793
|
-
path: _path + ".layout[" +
|
|
18764
|
+
})) && _vu0(elem, _path + ".layout[" + _index9 + "][" + _index10 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
18765
|
+
path: _path + ".layout[" + _index9 + "][" + _index10 + "]",
|
|
17794
18766
|
expected: "(ShotboxEventGroup | ShotboxStreamGroup)",
|
|
17795
18767
|
value: elem
|
|
17796
|
-
})).every(flag => flag) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _vu0(elem, _path + ".layout[" +
|
|
17797
|
-
path: _path + ".layout[" +
|
|
18768
|
+
})).every(flag => flag) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _vu0(elem, _path + ".layout[" + _index9 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
18769
|
+
path: _path + ".layout[" + _index9 + "]",
|
|
17798
18770
|
expected: "(Array<ShotboxGroup> | ShotboxEventGroup | ShotboxStreamGroup)",
|
|
17799
18771
|
value: elem
|
|
17800
18772
|
}) || _report(_exceptionable, {
|
|
17801
|
-
path: _path + ".layout[" +
|
|
18773
|
+
path: _path + ".layout[" + _index9 + "]",
|
|
17802
18774
|
expected: "(Array<ShotboxGroup> | ShotboxEventGroup | ShotboxStreamGroup)",
|
|
17803
18775
|
value: elem
|
|
17804
18776
|
}))).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17829,8 +18801,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
17829
18801
|
path: _path + ".include",
|
|
17830
18802
|
expected: "(Array<string> | undefined)",
|
|
17831
18803
|
value: input.include
|
|
17832
|
-
})) && input.include.map((elem,
|
|
17833
|
-
path: _path + ".include[" +
|
|
18804
|
+
})) && input.include.map((elem, _index11) => "string" === typeof elem || _report(_exceptionable, {
|
|
18805
|
+
path: _path + ".include[" + _index11 + "]",
|
|
17834
18806
|
expected: "string",
|
|
17835
18807
|
value: elem
|
|
17836
18808
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17841,8 +18813,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
17841
18813
|
path: _path + ".exclude",
|
|
17842
18814
|
expected: "(Array<string> | undefined)",
|
|
17843
18815
|
value: input.exclude
|
|
17844
|
-
})) && input.exclude.map((elem,
|
|
17845
|
-
path: _path + ".exclude[" +
|
|
18816
|
+
})) && input.exclude.map((elem, _index12) => "string" === typeof elem || _report(_exceptionable, {
|
|
18817
|
+
path: _path + ".exclude[" + _index12 + "]",
|
|
17846
18818
|
expected: "string",
|
|
17847
18819
|
value: elem
|
|
17848
18820
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18090,7 +19062,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
18090
19062
|
}; })()(input);
|
|
18091
19063
|
}
|
|
18092
19064
|
case ":subtitle-style": {
|
|
18093
|
-
return (() => { const _io0 = input => (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.previewSettings || "object" === typeof input.previewSettings && null !== input.previewSettings && false === Array.isArray(input.previewSettings) && _io1(input.previewSettings)) && (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io1 = input => (undefined === input.aspectRatio || "string" === typeof input.aspectRatio) && (undefined === input.backgroundAssetId || "string" === typeof input.backgroundAssetId) && (undefined === input.text || "string" === typeof input.text); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow || _report(_exceptionable, {
|
|
19065
|
+
return (() => { const _io0 = input => (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.previewSettings || "object" === typeof input.previewSettings && null !== input.previewSettings && false === Array.isArray(input.previewSettings) && _io1(input.previewSettings)) && (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io1 = input => (undefined === input.aspectRatio || "string" === typeof input.aspectRatio) && (undefined === input.backgroundAssetId || "string" === typeof input.backgroundAssetId) && (undefined === input.text || "string" === typeof input.text); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow || _report(_exceptionable, {
|
|
18094
19066
|
path: _path + ".scaledBorderAndShadow",
|
|
18095
19067
|
expected: "(boolean | undefined)",
|
|
18096
19068
|
value: input.scaledBorderAndShadow
|
|
@@ -18162,6 +19134,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
18162
19134
|
path: _path + ".spacing",
|
|
18163
19135
|
expected: "(string | undefined)",
|
|
18164
19136
|
value: input.spacing
|
|
19137
|
+
}), undefined === input.lineSpacing || "string" === typeof input.lineSpacing || _report(_exceptionable, {
|
|
19138
|
+
path: _path + ".lineSpacing",
|
|
19139
|
+
expected: "(string | undefined)",
|
|
19140
|
+
value: input.lineSpacing
|
|
18165
19141
|
}), undefined === input.angle || "string" === typeof input.angle || _report(_exceptionable, {
|
|
18166
19142
|
path: _path + ".angle",
|
|
18167
19143
|
expected: "(string | undefined)",
|