@nxtedition/types 23.0.61 → 23.0.62
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/settings.d.ts +10 -0
- package/dist/common/subtitle.d.ts +4 -0
- package/dist/common/subtitle.js +1 -0
- package/dist/nxtpression.d.ts +69 -2
- package/dist/records/domains/asset.d.ts +1 -1
- 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/settings.d.ts +5 -0
- package/dist/records/exact/media.d.ts +40 -1
- package/dist/records/validate/assert-guard.js +911 -219
- package/dist/records/validate/assert.js +914 -219
- package/dist/records/validate/is.js +50 -7
- package/dist/records/validate/schemas.js +505 -2
- package/dist/records/validate/stringify.js +183 -11
- package/dist/records/validate/utils.js +2 -2
- package/dist/records/validate/validate-equals.js +1320 -246
- package/dist/records/validate/validate.js +806 -192
- package/dist/rpc.d.ts +3 -2
- package/package.json +1 -1
|
@@ -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);
|
|
@@ -2305,9 +2773,9 @@ function _validateDomainRecord(domain, input) {
|
|
|
2305
2773
|
{
|
|
2306
2774
|
switch (domain) {
|
|
2307
2775
|
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, {
|
|
2776
|
+
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
2777
|
path: _path + ".value",
|
|
2310
|
-
expected: "(string | undefined)",
|
|
2778
|
+
expected: "(null | string | undefined)",
|
|
2311
2779
|
value: input.value
|
|
2312
2780
|
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
2313
2781
|
if (false === __is(input)) {
|
|
@@ -8377,6 +8845,48 @@ function _validateDomainRecord(domain, input) {
|
|
|
8377
8845
|
};
|
|
8378
8846
|
}; })()(input);
|
|
8379
8847
|
}
|
|
8848
|
+
case ":folder.items": {
|
|
8849
|
+
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, {
|
|
8850
|
+
path: _path + ".value",
|
|
8851
|
+
expected: "Array<string>",
|
|
8852
|
+
value: input.value
|
|
8853
|
+
})) && input.value.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
|
|
8854
|
+
path: _path + ".value[" + _index2 + "]",
|
|
8855
|
+
expected: "string",
|
|
8856
|
+
value: elem
|
|
8857
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
8858
|
+
path: _path + ".value",
|
|
8859
|
+
expected: "Array<string>",
|
|
8860
|
+
value: input.value
|
|
8861
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
|
|
8862
|
+
if (false === __is(input)) {
|
|
8863
|
+
errors = [];
|
|
8864
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
8865
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
8866
|
+
path: _path + "",
|
|
8867
|
+
expected: "FolderItemsDomainRecord",
|
|
8868
|
+
value: input
|
|
8869
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
8870
|
+
path: _path + "",
|
|
8871
|
+
expected: "FolderItemsDomainRecord",
|
|
8872
|
+
value: input
|
|
8873
|
+
}))(input, "$input", true);
|
|
8874
|
+
const success = 0 === errors.length;
|
|
8875
|
+
return success ? {
|
|
8876
|
+
success,
|
|
8877
|
+
data: input
|
|
8878
|
+
} : {
|
|
8879
|
+
success,
|
|
8880
|
+
errors,
|
|
8881
|
+
data: input
|
|
8882
|
+
};
|
|
8883
|
+
}
|
|
8884
|
+
return {
|
|
8885
|
+
success: true,
|
|
8886
|
+
data: input
|
|
8887
|
+
};
|
|
8888
|
+
}; })()(input);
|
|
8889
|
+
}
|
|
8380
8890
|
case ":general.title": {
|
|
8381
8891
|
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
8892
|
path: _path + ".value",
|
|
@@ -15900,7 +16410,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
15900
16410
|
}; })()(input);
|
|
15901
16411
|
}
|
|
15902
16412
|
case ":settings": {
|
|
15903
|
-
return (() => { const _iv22 = new Set(["name", "fontname", "fontsize", "primaryColour", "secondaryColour", "outlineColour", "backColour", "bold", "italic", "underline", "strikeOut", "scaleX", "scaleY", "spacing", "angle", "borderStyle", "outline", "shadow", "alignment", "marginL", "marginR", "marginV", "encoding"]); const
|
|
16413
|
+
return (() => { const _iv22 = new Set(["name", "fontname", "fontsize", "primaryColour", "secondaryColour", "outlineColour", "backColour", "bold", "italic", "underline", "strikeOut", "scaleX", "scaleY", "spacing", "angle", "borderStyle", "outline", "shadow", "alignment", "marginL", "marginR", "marginV", "encoding"]); const _iv27 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]); const _vv55 = new Set(["name", "fontname", "fontsize", "primaryColour", "secondaryColour", "outlineColour", "backColour", "bold", "italic", "underline", "strikeOut", "scaleX", "scaleY", "spacing", "angle", "borderStyle", "outline", "shadow", "alignment", "marginL", "marginR", "marginV", "encoding"]); const _vv60 = 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) && _io25(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && _io28(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && _io29(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.keymap || "object" === typeof input.keymap && null !== input.keymap && false === Array.isArray(input.keymap) && _io30(input.keymap)) && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && _io43(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && _io56(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io60(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) && _io61(input.storyboard)) && (undefined === input.print || "object" === typeof input.print && null !== input.print && false === Array.isArray(input.print) && _io70(input.print)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io71(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && _io72(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) && _io75(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && _io76(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && _io77(input.notifications)) && (undefined === input.suppressDeleteAlert || "boolean" === typeof input.suppressDeleteAlert) && (undefined === input.clone || "object" === typeof input.clone && null !== input.clone && false === Array.isArray(input.clone) && _io80(input.clone)) && (undefined === input.utilsAssetEditorPanel || "object" === typeof input.utilsAssetEditorPanel && null !== input.utilsAssetEditorPanel && false === Array.isArray(input.utilsAssetEditorPanel) && _io82(input.utilsAssetEditorPanel)) && (undefined === input.display || "object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) && _io83(input.display)) && (undefined === input.bookmarks || "object" === typeof input.bookmarks && null !== input.bookmarks && false === Array.isArray(input.bookmarks) && _io84(input.bookmarks)); 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
16414
|
if (["settingsPanelStore"].some(prop => key === prop))
|
|
15905
16415
|
return true;
|
|
15906
16416
|
const value = input[key];
|
|
@@ -15917,7 +16427,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
15917
16427
|
if (undefined === value)
|
|
15918
16428
|
return true;
|
|
15919
16429
|
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 => {
|
|
16430
|
+
}); 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) && ("folded" === input.scriptEventFolding || "unfoldedUntilFolded" === input.scriptEventFolding); 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 => {
|
|
15921
16431
|
const value = input[key];
|
|
15922
16432
|
if (undefined === value)
|
|
15923
16433
|
return true;
|
|
@@ -15972,12 +16482,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
15972
16482
|
if (undefined === value)
|
|
15973
16483
|
return true;
|
|
15974
16484
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io32(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 => {
|
|
16485
|
+
}); 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.normalize || "object" === typeof input.normalize && null !== input.normalize && false === Array.isArray(input.normalize) && _io57(input.normalize)) && (undefined === input.voiceOver || "object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) && _io59(input.voiceOver)); const _io57 = input => (undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _io58(elem))) && (undefined === input.defaultPresetId || "string" === typeof input.defaultPresetId); const _io58 = input => "string" === typeof input.id && "string" === typeof input.title && "number" === typeof input.i && "number" === typeof input.tp; const _io59 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.backgroundReductionDb || "number" === typeof input.backgroundReductionDb) && (undefined === input.recordMode || "instant" === input.recordMode || "punchAndRoll" === input.recordMode) && (undefined === input.preRollDuration || "number" === typeof input.preRollDuration); const _io60 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io61 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && _io62(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && _io63(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && _io67(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && _io69(input.item)); const _io62 = input => undefined === input.auto || "boolean" === typeof input.auto; const _io63 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && _io64(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && _io66(input.note)); const _io64 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && _io65(input.excerpt); const _io65 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode) && (undefined === input.comments || "boolean" === typeof input.comments); const _io66 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight; const _io67 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && _io68(input.search)) && (undefined === input.sortMode || true === _iv27.has(input.sortMode)); const _io68 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed; const _io69 = input => (undefined === input.maxHeight || "number" === typeof input.maxHeight) && (undefined === input.titleLines || "number" === typeof input.titleLines); const _io70 = input => undefined === input.fontFamilies || Array.isArray(input.fontFamilies) && input.fontFamilies.every(elem => "string" === typeof elem); const _io71 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.folded || "boolean" === typeof input.folded); const _io72 = input => (undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && _io73(input.adobe)) && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && _io74(input.rive)); const _io73 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies; const _io74 = input => undefined === input.template || "string" === typeof input.template; const _io75 = input => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering); const _io76 = 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 _io77 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io78(input.events); const _io78 = 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) && _io79(input.publishSucceeded)); const _io79 = input => Object.keys(input).every(key => {
|
|
15976
16486
|
const value = input[key];
|
|
15977
16487
|
if (undefined === value)
|
|
15978
16488
|
return true;
|
|
15979
16489
|
return Array.isArray(value) && value.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem);
|
|
15980
|
-
}); const
|
|
16490
|
+
}); const _io80 = input => undefined === input.duplicate || "object" === typeof input.duplicate && null !== input.duplicate && false === Array.isArray(input.duplicate) && _io81(input.duplicate); const _io81 = input => (undefined === input.titlePrefix || "string" === typeof input.titlePrefix) && (undefined === input.titleSuffix || "string" === typeof input.titleSuffix); const _io82 = 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 _io83 = input => undefined === input.disableHotArea || "boolean" === typeof input.disableHotArea; const _io84 = input => undefined === input.refreshInterval || "number" === typeof input.refreshInterval; const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime || _report(_exceptionable, {
|
|
15981
16491
|
path: _path + ".autoLogoutTime",
|
|
15982
16492
|
expected: "(number | undefined)",
|
|
15983
16493
|
value: input.autoLogoutTime
|
|
@@ -16033,16 +16543,16 @@ function _validateDomainRecord(domain, input) {
|
|
|
16033
16543
|
path: _path + ".exclusiveTagGroups",
|
|
16034
16544
|
expected: "(Array<Array<string>> | undefined)",
|
|
16035
16545
|
value: input.exclusiveTagGroups
|
|
16036
|
-
})) && input.exclusiveTagGroups.map((elem,
|
|
16037
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
16546
|
+
})) && input.exclusiveTagGroups.map((elem, _index34) => (Array.isArray(elem) || _report(_exceptionable, {
|
|
16547
|
+
path: _path + ".exclusiveTagGroups[" + _index34 + "]",
|
|
16038
16548
|
expected: "Array<string>",
|
|
16039
16549
|
value: elem
|
|
16040
|
-
})) && elem.map((elem,
|
|
16041
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
16550
|
+
})) && elem.map((elem, _index35) => "string" === typeof elem || _report(_exceptionable, {
|
|
16551
|
+
path: _path + ".exclusiveTagGroups[" + _index34 + "][" + _index35 + "]",
|
|
16042
16552
|
expected: "string",
|
|
16043
16553
|
value: elem
|
|
16044
16554
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
16045
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
16555
|
+
path: _path + ".exclusiveTagGroups[" + _index34 + "]",
|
|
16046
16556
|
expected: "Array<string>",
|
|
16047
16557
|
value: elem
|
|
16048
16558
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16113,7 +16623,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
16113
16623
|
path: _path + ".events",
|
|
16114
16624
|
expected: "(__type.o20 | undefined)",
|
|
16115
16625
|
value: input.events
|
|
16116
|
-
}), undefined === input.rundown || ("object" === typeof input.rundown && null !== input.rundown
|
|
16626
|
+
}), undefined === input.rundown || ("object" === typeof input.rundown && null !== input.rundown || _report(_exceptionable, {
|
|
16117
16627
|
path: _path + ".rundown",
|
|
16118
16628
|
expected: "(__type.o22 | undefined)",
|
|
16119
16629
|
value: input.rundown
|
|
@@ -16159,26 +16669,26 @@ function _validateDomainRecord(domain, input) {
|
|
|
16159
16669
|
value: input.edit
|
|
16160
16670
|
}), undefined === input.commands || (Array.isArray(input.commands) || _report(_exceptionable, {
|
|
16161
16671
|
path: _path + ".commands",
|
|
16162
|
-
expected: "(Array<__type>.
|
|
16672
|
+
expected: "(Array<__type>.o5 | undefined)",
|
|
16163
16673
|
value: input.commands
|
|
16164
|
-
})) && input.commands.map((elem,
|
|
16165
|
-
path: _path + ".commands[" +
|
|
16166
|
-
expected: "__type.
|
|
16674
|
+
})) && input.commands.map((elem, _index36) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
16675
|
+
path: _path + ".commands[" + _index36 + "]",
|
|
16676
|
+
expected: "__type.o53",
|
|
16167
16677
|
value: elem
|
|
16168
|
-
})) &&
|
|
16169
|
-
path: _path + ".commands[" +
|
|
16170
|
-
expected: "__type.
|
|
16678
|
+
})) && _vo60(elem, _path + ".commands[" + _index36 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16679
|
+
path: _path + ".commands[" + _index36 + "]",
|
|
16680
|
+
expected: "__type.o53",
|
|
16171
16681
|
value: elem
|
|
16172
16682
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
16173
16683
|
path: _path + ".commands",
|
|
16174
|
-
expected: "(Array<__type>.
|
|
16684
|
+
expected: "(Array<__type>.o5 | undefined)",
|
|
16175
16685
|
value: input.commands
|
|
16176
16686
|
}), undefined === input.predefinedTags || (Array.isArray(input.predefinedTags) || _report(_exceptionable, {
|
|
16177
16687
|
path: _path + ".predefinedTags",
|
|
16178
16688
|
expected: "(Array<string> | undefined)",
|
|
16179
16689
|
value: input.predefinedTags
|
|
16180
|
-
})) && input.predefinedTags.map((elem,
|
|
16181
|
-
path: _path + ".predefinedTags[" +
|
|
16690
|
+
})) && input.predefinedTags.map((elem, _index37) => "string" === typeof elem || _report(_exceptionable, {
|
|
16691
|
+
path: _path + ".predefinedTags[" + _index37 + "]",
|
|
16182
16692
|
expected: "string",
|
|
16183
16693
|
value: elem
|
|
16184
16694
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16187,43 +16697,43 @@ function _validateDomainRecord(domain, input) {
|
|
|
16187
16697
|
value: input.predefinedTags
|
|
16188
16698
|
}), undefined === input.storyboard || ("object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) || _report(_exceptionable, {
|
|
16189
16699
|
path: _path + ".storyboard",
|
|
16190
|
-
expected: "(__type.
|
|
16700
|
+
expected: "(__type.o54 | undefined)",
|
|
16191
16701
|
value: input.storyboard
|
|
16192
|
-
})) &&
|
|
16702
|
+
})) && _vo61(input.storyboard, _path + ".storyboard", true && _exceptionable) || _report(_exceptionable, {
|
|
16193
16703
|
path: _path + ".storyboard",
|
|
16194
|
-
expected: "(__type.
|
|
16704
|
+
expected: "(__type.o54 | undefined)",
|
|
16195
16705
|
value: input.storyboard
|
|
16196
16706
|
}), undefined === input.print || ("object" === typeof input.print && null !== input.print && false === Array.isArray(input.print) || _report(_exceptionable, {
|
|
16197
16707
|
path: _path + ".print",
|
|
16198
|
-
expected: "(__type.
|
|
16708
|
+
expected: "(__type.o63 | undefined)",
|
|
16199
16709
|
value: input.print
|
|
16200
|
-
})) &&
|
|
16710
|
+
})) && _vo70(input.print, _path + ".print", true && _exceptionable) || _report(_exceptionable, {
|
|
16201
16711
|
path: _path + ".print",
|
|
16202
|
-
expected: "(__type.
|
|
16712
|
+
expected: "(__type.o63 | undefined)",
|
|
16203
16713
|
value: input.print
|
|
16204
16714
|
}), undefined === input.hiddenPreviews || (Array.isArray(input.hiddenPreviews) || _report(_exceptionable, {
|
|
16205
16715
|
path: _path + ".hiddenPreviews",
|
|
16206
|
-
expected: "(Array<__type>.
|
|
16716
|
+
expected: "(Array<__type>.o6 | undefined)",
|
|
16207
16717
|
value: input.hiddenPreviews
|
|
16208
|
-
})) && input.hiddenPreviews.map((elem,
|
|
16209
|
-
path: _path + ".hiddenPreviews[" +
|
|
16210
|
-
expected: "__type.
|
|
16718
|
+
})) && input.hiddenPreviews.map((elem, _index38) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
16719
|
+
path: _path + ".hiddenPreviews[" + _index38 + "]",
|
|
16720
|
+
expected: "__type.o64",
|
|
16211
16721
|
value: elem
|
|
16212
|
-
})) &&
|
|
16213
|
-
path: _path + ".hiddenPreviews[" +
|
|
16214
|
-
expected: "__type.
|
|
16722
|
+
})) && _vo71(elem, _path + ".hiddenPreviews[" + _index38 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16723
|
+
path: _path + ".hiddenPreviews[" + _index38 + "]",
|
|
16724
|
+
expected: "__type.o64",
|
|
16215
16725
|
value: elem
|
|
16216
16726
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
16217
16727
|
path: _path + ".hiddenPreviews",
|
|
16218
|
-
expected: "(Array<__type>.
|
|
16728
|
+
expected: "(Array<__type>.o6 | undefined)",
|
|
16219
16729
|
value: input.hiddenPreviews
|
|
16220
16730
|
}), undefined === input.plugins || ("object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) || _report(_exceptionable, {
|
|
16221
16731
|
path: _path + ".plugins",
|
|
16222
|
-
expected: "(__type.
|
|
16732
|
+
expected: "(__type.o65 | undefined)",
|
|
16223
16733
|
value: input.plugins
|
|
16224
|
-
})) &&
|
|
16734
|
+
})) && _vo72(input.plugins, _path + ".plugins", true && _exceptionable) || _report(_exceptionable, {
|
|
16225
16735
|
path: _path + ".plugins",
|
|
16226
|
-
expected: "(__type.
|
|
16736
|
+
expected: "(__type.o65 | undefined)",
|
|
16227
16737
|
value: input.plugins
|
|
16228
16738
|
}), undefined === input.crashScreen || "boolean" === typeof input.crashScreen || _report(_exceptionable, {
|
|
16229
16739
|
path: _path + ".crashScreen",
|
|
@@ -16235,27 +16745,27 @@ function _validateDomainRecord(domain, input) {
|
|
|
16235
16745
|
value: input.debug
|
|
16236
16746
|
}), undefined === input.featurePreview || ("object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) || _report(_exceptionable, {
|
|
16237
16747
|
path: _path + ".featurePreview",
|
|
16238
|
-
expected: "(__type.
|
|
16748
|
+
expected: "(__type.o68 | undefined)",
|
|
16239
16749
|
value: input.featurePreview
|
|
16240
|
-
})) &&
|
|
16750
|
+
})) && _vo75(input.featurePreview, _path + ".featurePreview", true && _exceptionable) || _report(_exceptionable, {
|
|
16241
16751
|
path: _path + ".featurePreview",
|
|
16242
|
-
expected: "(__type.
|
|
16752
|
+
expected: "(__type.o68 | undefined)",
|
|
16243
16753
|
value: input.featurePreview
|
|
16244
16754
|
}), undefined === input.flags || ("object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) || _report(_exceptionable, {
|
|
16245
16755
|
path: _path + ".flags",
|
|
16246
|
-
expected: "(__type.
|
|
16756
|
+
expected: "(__type.o69 | undefined)",
|
|
16247
16757
|
value: input.flags
|
|
16248
|
-
})) &&
|
|
16758
|
+
})) && _vo76(input.flags, _path + ".flags", true && _exceptionable) || _report(_exceptionable, {
|
|
16249
16759
|
path: _path + ".flags",
|
|
16250
|
-
expected: "(__type.
|
|
16760
|
+
expected: "(__type.o69 | undefined)",
|
|
16251
16761
|
value: input.flags
|
|
16252
16762
|
}), undefined === input.notifications || ("object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) || _report(_exceptionable, {
|
|
16253
16763
|
path: _path + ".notifications",
|
|
16254
|
-
expected: "(__type.
|
|
16764
|
+
expected: "(__type.o70 | undefined)",
|
|
16255
16765
|
value: input.notifications
|
|
16256
|
-
})) &&
|
|
16766
|
+
})) && _vo77(input.notifications, _path + ".notifications", true && _exceptionable) || _report(_exceptionable, {
|
|
16257
16767
|
path: _path + ".notifications",
|
|
16258
|
-
expected: "(__type.
|
|
16768
|
+
expected: "(__type.o70 | undefined)",
|
|
16259
16769
|
value: input.notifications
|
|
16260
16770
|
}), undefined === input.suppressDeleteAlert || "boolean" === typeof input.suppressDeleteAlert || _report(_exceptionable, {
|
|
16261
16771
|
path: _path + ".suppressDeleteAlert",
|
|
@@ -16263,35 +16773,35 @@ function _validateDomainRecord(domain, input) {
|
|
|
16263
16773
|
value: input.suppressDeleteAlert
|
|
16264
16774
|
}), undefined === input.clone || ("object" === typeof input.clone && null !== input.clone && false === Array.isArray(input.clone) || _report(_exceptionable, {
|
|
16265
16775
|
path: _path + ".clone",
|
|
16266
|
-
expected: "(__type.
|
|
16776
|
+
expected: "(__type.o73 | undefined)",
|
|
16267
16777
|
value: input.clone
|
|
16268
|
-
})) &&
|
|
16778
|
+
})) && _vo80(input.clone, _path + ".clone", true && _exceptionable) || _report(_exceptionable, {
|
|
16269
16779
|
path: _path + ".clone",
|
|
16270
|
-
expected: "(__type.
|
|
16780
|
+
expected: "(__type.o73 | undefined)",
|
|
16271
16781
|
value: input.clone
|
|
16272
16782
|
}), undefined === input.utilsAssetEditorPanel || ("object" === typeof input.utilsAssetEditorPanel && null !== input.utilsAssetEditorPanel && false === Array.isArray(input.utilsAssetEditorPanel) || _report(_exceptionable, {
|
|
16273
16783
|
path: _path + ".utilsAssetEditorPanel",
|
|
16274
|
-
expected: "(__type.
|
|
16784
|
+
expected: "(__type.o75 | undefined)",
|
|
16275
16785
|
value: input.utilsAssetEditorPanel
|
|
16276
|
-
})) &&
|
|
16786
|
+
})) && _vo82(input.utilsAssetEditorPanel, _path + ".utilsAssetEditorPanel", true && _exceptionable) || _report(_exceptionable, {
|
|
16277
16787
|
path: _path + ".utilsAssetEditorPanel",
|
|
16278
|
-
expected: "(__type.
|
|
16788
|
+
expected: "(__type.o75 | undefined)",
|
|
16279
16789
|
value: input.utilsAssetEditorPanel
|
|
16280
16790
|
}), undefined === input.display || ("object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) || _report(_exceptionable, {
|
|
16281
16791
|
path: _path + ".display",
|
|
16282
|
-
expected: "(__type.
|
|
16792
|
+
expected: "(__type.o76 | undefined)",
|
|
16283
16793
|
value: input.display
|
|
16284
|
-
})) &&
|
|
16794
|
+
})) && _vo83(input.display, _path + ".display", true && _exceptionable) || _report(_exceptionable, {
|
|
16285
16795
|
path: _path + ".display",
|
|
16286
|
-
expected: "(__type.
|
|
16796
|
+
expected: "(__type.o76 | undefined)",
|
|
16287
16797
|
value: input.display
|
|
16288
16798
|
}), undefined === input.bookmarks || ("object" === typeof input.bookmarks && null !== input.bookmarks && false === Array.isArray(input.bookmarks) || _report(_exceptionable, {
|
|
16289
16799
|
path: _path + ".bookmarks",
|
|
16290
|
-
expected: "(__type.
|
|
16800
|
+
expected: "(__type.o77 | undefined)",
|
|
16291
16801
|
value: input.bookmarks
|
|
16292
|
-
})) &&
|
|
16802
|
+
})) && _vo84(input.bookmarks, _path + ".bookmarks", true && _exceptionable) || _report(_exceptionable, {
|
|
16293
16803
|
path: _path + ".bookmarks",
|
|
16294
|
-
expected: "(__type.
|
|
16804
|
+
expected: "(__type.o77 | undefined)",
|
|
16295
16805
|
value: input.bookmarks
|
|
16296
16806
|
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact || _report(_exceptionable, {
|
|
16297
16807
|
path: _path + ".overrideUserContact",
|
|
@@ -16428,8 +16938,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
16428
16938
|
path: _path + ".sortOrder",
|
|
16429
16939
|
expected: "(Array<string> | undefined)",
|
|
16430
16940
|
value: input.sortOrder
|
|
16431
|
-
})) && input.sortOrder.map((elem,
|
|
16432
|
-
path: _path + ".sortOrder[" +
|
|
16941
|
+
})) && input.sortOrder.map((elem, _index39) => "string" === typeof elem || _report(_exceptionable, {
|
|
16942
|
+
path: _path + ".sortOrder[" + _index39 + "]",
|
|
16433
16943
|
expected: "string",
|
|
16434
16944
|
value: elem
|
|
16435
16945
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16440,8 +16950,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
16440
16950
|
path: _path + ".include",
|
|
16441
16951
|
expected: "(Array<string> | undefined)",
|
|
16442
16952
|
value: input.include
|
|
16443
|
-
})) && input.include.map((elem,
|
|
16444
|
-
path: _path + ".include[" +
|
|
16953
|
+
})) && input.include.map((elem, _index40) => "string" === typeof elem || _report(_exceptionable, {
|
|
16954
|
+
path: _path + ".include[" + _index40 + "]",
|
|
16445
16955
|
expected: "string",
|
|
16446
16956
|
value: elem
|
|
16447
16957
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16452,8 +16962,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
16452
16962
|
path: _path + ".exclude",
|
|
16453
16963
|
expected: "(Array<string> | undefined)",
|
|
16454
16964
|
value: input.exclude
|
|
16455
|
-
})) && input.exclude.map((elem,
|
|
16456
|
-
path: _path + ".exclude[" +
|
|
16965
|
+
})) && input.exclude.map((elem, _index41) => "string" === typeof elem || _report(_exceptionable, {
|
|
16966
|
+
path: _path + ".exclude[" + _index41 + "]",
|
|
16457
16967
|
expected: "string",
|
|
16458
16968
|
value: elem
|
|
16459
16969
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16464,8 +16974,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
16464
16974
|
path: _path + ".include",
|
|
16465
16975
|
expected: "(Array<string> | undefined)",
|
|
16466
16976
|
value: input.include
|
|
16467
|
-
})) && input.include.map((elem,
|
|
16468
|
-
path: _path + ".include[" +
|
|
16977
|
+
})) && input.include.map((elem, _index42) => "string" === typeof elem || _report(_exceptionable, {
|
|
16978
|
+
path: _path + ".include[" + _index42 + "]",
|
|
16469
16979
|
expected: "string",
|
|
16470
16980
|
value: elem
|
|
16471
16981
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16476,8 +16986,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
16476
16986
|
path: _path + ".exclude",
|
|
16477
16987
|
expected: "(Array<string> | undefined)",
|
|
16478
16988
|
value: input.exclude
|
|
16479
|
-
})) && input.exclude.map((elem,
|
|
16480
|
-
path: _path + ".exclude[" +
|
|
16989
|
+
})) && input.exclude.map((elem, _index43) => "string" === typeof elem || _report(_exceptionable, {
|
|
16990
|
+
path: _path + ".exclude[" + _index43 + "]",
|
|
16481
16991
|
expected: "string",
|
|
16482
16992
|
value: elem
|
|
16483
16993
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16488,8 +16998,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
16488
16998
|
path: _path + ".include",
|
|
16489
16999
|
expected: "(Array<string> | undefined)",
|
|
16490
17000
|
value: input.include
|
|
16491
|
-
})) && input.include.map((elem,
|
|
16492
|
-
path: _path + ".include[" +
|
|
17001
|
+
})) && input.include.map((elem, _index44) => "string" === typeof elem || _report(_exceptionable, {
|
|
17002
|
+
path: _path + ".include[" + _index44 + "]",
|
|
16493
17003
|
expected: "string",
|
|
16494
17004
|
value: elem
|
|
16495
17005
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16500,8 +17010,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
16500
17010
|
path: _path + ".exclude",
|
|
16501
17011
|
expected: "(Array<string> | undefined)",
|
|
16502
17012
|
value: input.exclude
|
|
16503
|
-
})) && input.exclude.map((elem,
|
|
16504
|
-
path: _path + ".exclude[" +
|
|
17013
|
+
})) && input.exclude.map((elem, _index45) => "string" === typeof elem || _report(_exceptionable, {
|
|
17014
|
+
path: _path + ".exclude[" + _index45 + "]",
|
|
16505
17015
|
expected: "string",
|
|
16506
17016
|
value: elem
|
|
16507
17017
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16512,8 +17022,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
16512
17022
|
path: _path + ".include",
|
|
16513
17023
|
expected: "(Array<string> | undefined)",
|
|
16514
17024
|
value: input.include
|
|
16515
|
-
})) && input.include.map((elem,
|
|
16516
|
-
path: _path + ".include[" +
|
|
17025
|
+
})) && input.include.map((elem, _index46) => "string" === typeof elem || _report(_exceptionable, {
|
|
17026
|
+
path: _path + ".include[" + _index46 + "]",
|
|
16517
17027
|
expected: "string",
|
|
16518
17028
|
value: elem
|
|
16519
17029
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16524,8 +17034,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
16524
17034
|
path: _path + ".exclude",
|
|
16525
17035
|
expected: "(Array<string> | undefined)",
|
|
16526
17036
|
value: input.exclude
|
|
16527
|
-
})) && input.exclude.map((elem,
|
|
16528
|
-
path: _path + ".exclude[" +
|
|
17037
|
+
})) && input.exclude.map((elem, _index47) => "string" === typeof elem || _report(_exceptionable, {
|
|
17038
|
+
path: _path + ".exclude[" + _index47 + "]",
|
|
16529
17039
|
expected: "string",
|
|
16530
17040
|
value: elem
|
|
16531
17041
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16604,12 +17114,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
16604
17114
|
path: _path + ".colorTags",
|
|
16605
17115
|
expected: "(Array<PromotedTag> | undefined)",
|
|
16606
17116
|
value: input.colorTags
|
|
16607
|
-
})) && input.colorTags.map((elem,
|
|
16608
|
-
path: _path + ".colorTags[" +
|
|
17117
|
+
})) && input.colorTags.map((elem, _index48) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
17118
|
+
path: _path + ".colorTags[" + _index48 + "]",
|
|
16609
17119
|
expected: "PromotedTag",
|
|
16610
17120
|
value: elem
|
|
16611
|
-
})) && _vo22(elem, _path + ".colorTags[" +
|
|
16612
|
-
path: _path + ".colorTags[" +
|
|
17121
|
+
})) && _vo22(elem, _path + ".colorTags[" + _index48 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
17122
|
+
path: _path + ".colorTags[" + _index48 + "]",
|
|
16613
17123
|
expected: "PromotedTag",
|
|
16614
17124
|
value: elem
|
|
16615
17125
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16685,8 +17195,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
16685
17195
|
path: _path + ".favorites",
|
|
16686
17196
|
expected: "(Array<string> | undefined)",
|
|
16687
17197
|
value: input.favorites
|
|
16688
|
-
})) && input.favorites.map((elem,
|
|
16689
|
-
path: _path + ".favorites[" +
|
|
17198
|
+
})) && input.favorites.map((elem, _index49) => "string" === typeof elem || _report(_exceptionable, {
|
|
17199
|
+
path: _path + ".favorites[" + _index49 + "]",
|
|
16690
17200
|
expected: "string",
|
|
16691
17201
|
value: elem
|
|
16692
17202
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16726,6 +17236,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
16726
17236
|
path: _path + ".eventThumbnails",
|
|
16727
17237
|
expected: "(boolean | undefined)",
|
|
16728
17238
|
value: input.eventThumbnails
|
|
17239
|
+
}), "folded" === input.scriptEventFolding || "unfoldedUntilFolded" === input.scriptEventFolding || _report(_exceptionable, {
|
|
17240
|
+
path: _path + ".scriptEventFolding",
|
|
17241
|
+
expected: "(\"folded\" | \"unfoldedUntilFolded\")",
|
|
17242
|
+
value: input.scriptEventFolding
|
|
16729
17243
|
})].every(flag => flag); const _vo29 = (input, _path, _exceptionable = true) => [undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur || _report(_exceptionable, {
|
|
16730
17244
|
path: _path + ".dimOnBlur",
|
|
16731
17245
|
expected: "(boolean | undefined)",
|
|
@@ -17037,8 +17551,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
17037
17551
|
path: _path + ".playbackRates",
|
|
17038
17552
|
expected: "(Array<number> | undefined)",
|
|
17039
17553
|
value: input.playbackRates
|
|
17040
|
-
})) && input.playbackRates.map((elem,
|
|
17041
|
-
path: _path + ".playbackRates[" +
|
|
17554
|
+
})) && input.playbackRates.map((elem, _index50) => "number" === typeof elem || _report(_exceptionable, {
|
|
17555
|
+
path: _path + ".playbackRates[" + _index50 + "]",
|
|
17042
17556
|
expected: "number",
|
|
17043
17557
|
value: elem
|
|
17044
17558
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17065,12 +17579,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
17065
17579
|
path: _path + ".guides",
|
|
17066
17580
|
expected: "(Array<__type>.o2 | undefined)",
|
|
17067
17581
|
value: input.guides
|
|
17068
|
-
})) && input.guides.map((elem,
|
|
17069
|
-
path: _path + ".guides[" +
|
|
17582
|
+
})) && input.guides.map((elem, _index51) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
17583
|
+
path: _path + ".guides[" + _index51 + "]",
|
|
17070
17584
|
expected: "__type.o42",
|
|
17071
17585
|
value: elem
|
|
17072
|
-
})) && _vo49(elem, _path + ".guides[" +
|
|
17073
|
-
path: _path + ".guides[" +
|
|
17586
|
+
})) && _vo49(elem, _path + ".guides[" + _index51 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
17587
|
+
path: _path + ".guides[" + _index51 + "]",
|
|
17074
17588
|
expected: "__type.o42",
|
|
17075
17589
|
value: elem
|
|
17076
17590
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17141,12 +17655,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
17141
17655
|
path: _path + ".suggestions",
|
|
17142
17656
|
expected: "(Array<__type> | undefined)",
|
|
17143
17657
|
value: input.suggestions
|
|
17144
|
-
})) && input.suggestions.map((elem,
|
|
17145
|
-
path: _path + ".suggestions[" +
|
|
17658
|
+
})) && input.suggestions.map((elem, _index52) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
17659
|
+
path: _path + ".suggestions[" + _index52 + "]",
|
|
17146
17660
|
expected: "__type.o40",
|
|
17147
17661
|
value: elem
|
|
17148
|
-
})) && _vo47(elem, _path + ".suggestions[" +
|
|
17149
|
-
path: _path + ".suggestions[" +
|
|
17662
|
+
})) && _vo47(elem, _path + ".suggestions[" + _index52 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
17663
|
+
path: _path + ".suggestions[" + _index52 + "]",
|
|
17150
17664
|
expected: "__type.o40",
|
|
17151
17665
|
value: elem
|
|
17152
17666
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17157,12 +17671,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
17157
17671
|
path: _path + ".colors",
|
|
17158
17672
|
expected: "(Array<__type>.o1 | undefined)",
|
|
17159
17673
|
value: input.colors
|
|
17160
|
-
})) && input.colors.map((elem,
|
|
17161
|
-
path: _path + ".colors[" +
|
|
17674
|
+
})) && input.colors.map((elem, _index53) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
17675
|
+
path: _path + ".colors[" + _index53 + "]",
|
|
17162
17676
|
expected: "__type.o41",
|
|
17163
17677
|
value: elem
|
|
17164
|
-
})) && _vo48(elem, _path + ".colors[" +
|
|
17165
|
-
path: _path + ".colors[" +
|
|
17678
|
+
})) && _vo48(elem, _path + ".colors[" + _index53 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
17679
|
+
path: _path + ".colors[" + _index53 + "]",
|
|
17166
17680
|
expected: "__type.o41",
|
|
17167
17681
|
value: elem
|
|
17168
17682
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17173,8 +17687,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
17173
17687
|
path: _path + ".overridableProperties",
|
|
17174
17688
|
expected: "(Array<keyof SubtitleStyle | null> | undefined)",
|
|
17175
17689
|
value: input.overridableProperties
|
|
17176
|
-
})) && input.overridableProperties.map((elem,
|
|
17177
|
-
path: _path + ".overridableProperties[" +
|
|
17690
|
+
})) && input.overridableProperties.map((elem, _index54) => null === elem || true === _vv55.has(elem) || _report(_exceptionable, {
|
|
17691
|
+
path: _path + ".overridableProperties[" + _index54 + "]",
|
|
17178
17692
|
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)",
|
|
17179
17693
|
value: elem
|
|
17180
17694
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17253,12 +17767,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
17253
17767
|
path: _path + ".text",
|
|
17254
17768
|
expected: "(Array<__type>.o3 | undefined)",
|
|
17255
17769
|
value: input.text
|
|
17256
|
-
})) && input.text.map((elem,
|
|
17257
|
-
path: _path + ".text[" +
|
|
17770
|
+
})) && input.text.map((elem, _index56) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
17771
|
+
path: _path + ".text[" + _index56 + "]",
|
|
17258
17772
|
expected: "__type.o47",
|
|
17259
17773
|
value: elem
|
|
17260
|
-
})) && _vo54(elem, _path + ".text[" +
|
|
17261
|
-
path: _path + ".text[" +
|
|
17774
|
+
})) && _vo54(elem, _path + ".text[" + _index56 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
17775
|
+
path: _path + ".text[" + _index56 + "]",
|
|
17262
17776
|
expected: "__type.o47",
|
|
17263
17777
|
value: elem
|
|
17264
17778
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17297,8 +17811,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
17297
17811
|
path: _path + ".args",
|
|
17298
17812
|
expected: "(Array<string> | undefined)",
|
|
17299
17813
|
value: input.args
|
|
17300
|
-
})) && input.args.map((elem,
|
|
17301
|
-
path: _path + ".args[" +
|
|
17814
|
+
})) && input.args.map((elem, _index57) => "string" === typeof elem || _report(_exceptionable, {
|
|
17815
|
+
path: _path + ".args[" + _index57 + "]",
|
|
17302
17816
|
expected: "string",
|
|
17303
17817
|
value: elem
|
|
17304
17818
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17309,15 +17823,59 @@ function _validateDomainRecord(domain, input) {
|
|
|
17309
17823
|
path: _path + ".thumbnailView",
|
|
17310
17824
|
expected: "(\"filmStrip\" | \"none\" | \"thumbnail\" | undefined)",
|
|
17311
17825
|
value: input.thumbnailView
|
|
17826
|
+
}), undefined === input.normalize || ("object" === typeof input.normalize && null !== input.normalize && false === Array.isArray(input.normalize) || _report(_exceptionable, {
|
|
17827
|
+
path: _path + ".normalize",
|
|
17828
|
+
expected: "(__type.o50 | undefined)",
|
|
17829
|
+
value: input.normalize
|
|
17830
|
+
})) && _vo57(input.normalize, _path + ".normalize", true && _exceptionable) || _report(_exceptionable, {
|
|
17831
|
+
path: _path + ".normalize",
|
|
17832
|
+
expected: "(__type.o50 | undefined)",
|
|
17833
|
+
value: input.normalize
|
|
17312
17834
|
}), undefined === input.voiceOver || ("object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) || _report(_exceptionable, {
|
|
17313
17835
|
path: _path + ".voiceOver",
|
|
17314
|
-
expected: "(__type.
|
|
17836
|
+
expected: "(__type.o52 | undefined)",
|
|
17315
17837
|
value: input.voiceOver
|
|
17316
|
-
})) &&
|
|
17838
|
+
})) && _vo59(input.voiceOver, _path + ".voiceOver", true && _exceptionable) || _report(_exceptionable, {
|
|
17317
17839
|
path: _path + ".voiceOver",
|
|
17318
|
-
expected: "(__type.
|
|
17840
|
+
expected: "(__type.o52 | undefined)",
|
|
17319
17841
|
value: input.voiceOver
|
|
17320
|
-
})].every(flag => flag); const _vo57 = (input, _path, _exceptionable = true) => [undefined === input.
|
|
17842
|
+
})].every(flag => flag); const _vo57 = (input, _path, _exceptionable = true) => [undefined === input.presets || (Array.isArray(input.presets) || _report(_exceptionable, {
|
|
17843
|
+
path: _path + ".presets",
|
|
17844
|
+
expected: "(Array<__type>.o4 | undefined)",
|
|
17845
|
+
value: input.presets
|
|
17846
|
+
})) && input.presets.map((elem, _index58) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
17847
|
+
path: _path + ".presets[" + _index58 + "]",
|
|
17848
|
+
expected: "__type.o51",
|
|
17849
|
+
value: elem
|
|
17850
|
+
})) && _vo58(elem, _path + ".presets[" + _index58 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
17851
|
+
path: _path + ".presets[" + _index58 + "]",
|
|
17852
|
+
expected: "__type.o51",
|
|
17853
|
+
value: elem
|
|
17854
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
17855
|
+
path: _path + ".presets",
|
|
17856
|
+
expected: "(Array<__type>.o4 | undefined)",
|
|
17857
|
+
value: input.presets
|
|
17858
|
+
}), undefined === input.defaultPresetId || "string" === typeof input.defaultPresetId || _report(_exceptionable, {
|
|
17859
|
+
path: _path + ".defaultPresetId",
|
|
17860
|
+
expected: "(string | undefined)",
|
|
17861
|
+
value: input.defaultPresetId
|
|
17862
|
+
})].every(flag => flag); const _vo58 = (input, _path, _exceptionable = true) => ["string" === typeof input.id || _report(_exceptionable, {
|
|
17863
|
+
path: _path + ".id",
|
|
17864
|
+
expected: "string",
|
|
17865
|
+
value: input.id
|
|
17866
|
+
}), "string" === typeof input.title || _report(_exceptionable, {
|
|
17867
|
+
path: _path + ".title",
|
|
17868
|
+
expected: "string",
|
|
17869
|
+
value: input.title
|
|
17870
|
+
}), "number" === typeof input.i || _report(_exceptionable, {
|
|
17871
|
+
path: _path + ".i",
|
|
17872
|
+
expected: "number",
|
|
17873
|
+
value: input.i
|
|
17874
|
+
}), "number" === typeof input.tp || _report(_exceptionable, {
|
|
17875
|
+
path: _path + ".tp",
|
|
17876
|
+
expected: "number",
|
|
17877
|
+
value: input.tp
|
|
17878
|
+
})].every(flag => flag); const _vo59 = (input, _path, _exceptionable = true) => [undefined === input.inputDevice || "string" === typeof input.inputDevice || _report(_exceptionable, {
|
|
17321
17879
|
path: _path + ".inputDevice",
|
|
17322
17880
|
expected: "(string | undefined)",
|
|
17323
17881
|
value: input.inputDevice
|
|
@@ -17337,7 +17895,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17337
17895
|
path: _path + ".preRollDuration",
|
|
17338
17896
|
expected: "(number | undefined)",
|
|
17339
17897
|
value: input.preRollDuration
|
|
17340
|
-
})].every(flag => flag); const
|
|
17898
|
+
})].every(flag => flag); const _vo60 = (input, _path, _exceptionable = true) => [undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
17341
17899
|
path: _path + ".title",
|
|
17342
17900
|
expected: "(string | undefined)",
|
|
17343
17901
|
value: input.title
|
|
@@ -17349,75 +17907,75 @@ function _validateDomainRecord(domain, input) {
|
|
|
17349
17907
|
path: _path + ".args",
|
|
17350
17908
|
expected: "(Array<string> | undefined)",
|
|
17351
17909
|
value: input.args
|
|
17352
|
-
})) && input.args.map((elem,
|
|
17353
|
-
path: _path + ".args[" +
|
|
17910
|
+
})) && input.args.map((elem, _index59) => "string" === typeof elem || _report(_exceptionable, {
|
|
17911
|
+
path: _path + ".args[" + _index59 + "]",
|
|
17354
17912
|
expected: "string",
|
|
17355
17913
|
value: elem
|
|
17356
17914
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
17357
17915
|
path: _path + ".args",
|
|
17358
17916
|
expected: "(Array<string> | undefined)",
|
|
17359
17917
|
value: input.args
|
|
17360
|
-
})].every(flag => flag); const
|
|
17918
|
+
})].every(flag => flag); const _vo61 = (input, _path, _exceptionable = true) => [undefined === input.folded || ("object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) || _report(_exceptionable, {
|
|
17361
17919
|
path: _path + ".folded",
|
|
17362
|
-
expected: "(__type.
|
|
17920
|
+
expected: "(__type.o55 | undefined)",
|
|
17363
17921
|
value: input.folded
|
|
17364
|
-
})) &&
|
|
17922
|
+
})) && _vo62(input.folded, _path + ".folded", true && _exceptionable) || _report(_exceptionable, {
|
|
17365
17923
|
path: _path + ".folded",
|
|
17366
|
-
expected: "(__type.
|
|
17924
|
+
expected: "(__type.o55 | undefined)",
|
|
17367
17925
|
value: input.folded
|
|
17368
17926
|
}), undefined === input.assets || ("object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) || _report(_exceptionable, {
|
|
17369
17927
|
path: _path + ".assets",
|
|
17370
|
-
expected: "(__type.
|
|
17928
|
+
expected: "(__type.o56 | undefined)",
|
|
17371
17929
|
value: input.assets
|
|
17372
|
-
})) &&
|
|
17930
|
+
})) && _vo63(input.assets, _path + ".assets", true && _exceptionable) || _report(_exceptionable, {
|
|
17373
17931
|
path: _path + ".assets",
|
|
17374
|
-
expected: "(__type.
|
|
17932
|
+
expected: "(__type.o56 | undefined)",
|
|
17375
17933
|
value: input.assets
|
|
17376
17934
|
}), undefined === input.pipeline || ("object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) || _report(_exceptionable, {
|
|
17377
17935
|
path: _path + ".pipeline",
|
|
17378
|
-
expected: "(__type.
|
|
17936
|
+
expected: "(__type.o60 | undefined)",
|
|
17379
17937
|
value: input.pipeline
|
|
17380
|
-
})) &&
|
|
17938
|
+
})) && _vo67(input.pipeline, _path + ".pipeline", true && _exceptionable) || _report(_exceptionable, {
|
|
17381
17939
|
path: _path + ".pipeline",
|
|
17382
|
-
expected: "(__type.
|
|
17940
|
+
expected: "(__type.o60 | undefined)",
|
|
17383
17941
|
value: input.pipeline
|
|
17384
17942
|
}), undefined === input.item || ("object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) || _report(_exceptionable, {
|
|
17385
17943
|
path: _path + ".item",
|
|
17386
|
-
expected: "(__type.
|
|
17944
|
+
expected: "(__type.o62 | undefined)",
|
|
17387
17945
|
value: input.item
|
|
17388
|
-
})) &&
|
|
17946
|
+
})) && _vo69(input.item, _path + ".item", true && _exceptionable) || _report(_exceptionable, {
|
|
17389
17947
|
path: _path + ".item",
|
|
17390
|
-
expected: "(__type.
|
|
17948
|
+
expected: "(__type.o62 | undefined)",
|
|
17391
17949
|
value: input.item
|
|
17392
|
-
})].every(flag => flag); const
|
|
17950
|
+
})].every(flag => flag); const _vo62 = (input, _path, _exceptionable = true) => [undefined === input.auto || "boolean" === typeof input.auto || _report(_exceptionable, {
|
|
17393
17951
|
path: _path + ".auto",
|
|
17394
17952
|
expected: "(boolean | undefined)",
|
|
17395
17953
|
value: input.auto
|
|
17396
|
-
})].every(flag => flag); const
|
|
17954
|
+
})].every(flag => flag); const _vo63 = (input, _path, _exceptionable = true) => [undefined === input.story || ("object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) || _report(_exceptionable, {
|
|
17397
17955
|
path: _path + ".story",
|
|
17398
|
-
expected: "(__type.
|
|
17956
|
+
expected: "(__type.o57 | undefined)",
|
|
17399
17957
|
value: input.story
|
|
17400
|
-
})) &&
|
|
17958
|
+
})) && _vo64(input.story, _path + ".story", true && _exceptionable) || _report(_exceptionable, {
|
|
17401
17959
|
path: _path + ".story",
|
|
17402
|
-
expected: "(__type.
|
|
17960
|
+
expected: "(__type.o57 | undefined)",
|
|
17403
17961
|
value: input.story
|
|
17404
17962
|
}), undefined === input.note || ("object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) || _report(_exceptionable, {
|
|
17405
17963
|
path: _path + ".note",
|
|
17406
|
-
expected: "(__type.
|
|
17964
|
+
expected: "(__type.o59 | undefined)",
|
|
17407
17965
|
value: input.note
|
|
17408
|
-
})) &&
|
|
17966
|
+
})) && _vo66(input.note, _path + ".note", true && _exceptionable) || _report(_exceptionable, {
|
|
17409
17967
|
path: _path + ".note",
|
|
17410
|
-
expected: "(__type.
|
|
17968
|
+
expected: "(__type.o59 | undefined)",
|
|
17411
17969
|
value: input.note
|
|
17412
|
-
})].every(flag => flag); const
|
|
17970
|
+
})].every(flag => flag); const _vo64 = (input, _path, _exceptionable = true) => [undefined === input.excerpt || ("object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) || _report(_exceptionable, {
|
|
17413
17971
|
path: _path + ".excerpt",
|
|
17414
|
-
expected: "(__type.
|
|
17972
|
+
expected: "(__type.o58 | undefined)",
|
|
17415
17973
|
value: input.excerpt
|
|
17416
|
-
})) &&
|
|
17974
|
+
})) && _vo65(input.excerpt, _path + ".excerpt", true && _exceptionable) || _report(_exceptionable, {
|
|
17417
17975
|
path: _path + ".excerpt",
|
|
17418
|
-
expected: "(__type.
|
|
17976
|
+
expected: "(__type.o58 | undefined)",
|
|
17419
17977
|
value: input.excerpt
|
|
17420
|
-
})].every(flag => flag); const
|
|
17978
|
+
})].every(flag => flag); const _vo65 = (input, _path, _exceptionable = true) => [undefined === input.maxLines || "number" === typeof input.maxLines || _report(_exceptionable, {
|
|
17421
17979
|
path: _path + ".maxLines",
|
|
17422
17980
|
expected: "(number | undefined)",
|
|
17423
17981
|
value: input.maxLines
|
|
@@ -17429,27 +17987,27 @@ function _validateDomainRecord(domain, input) {
|
|
|
17429
17987
|
path: _path + ".comments",
|
|
17430
17988
|
expected: "(boolean | undefined)",
|
|
17431
17989
|
value: input.comments
|
|
17432
|
-
})].every(flag => flag); const
|
|
17990
|
+
})].every(flag => flag); const _vo66 = (input, _path, _exceptionable = true) => [undefined === input.maxHeight || "number" === typeof input.maxHeight || _report(_exceptionable, {
|
|
17433
17991
|
path: _path + ".maxHeight",
|
|
17434
17992
|
expected: "(number | undefined)",
|
|
17435
17993
|
value: input.maxHeight
|
|
17436
|
-
})].every(flag => flag); const
|
|
17994
|
+
})].every(flag => flag); const _vo67 = (input, _path, _exceptionable = true) => [undefined === input.search || ("object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) || _report(_exceptionable, {
|
|
17437
17995
|
path: _path + ".search",
|
|
17438
|
-
expected: "(__type.
|
|
17996
|
+
expected: "(__type.o61 | undefined)",
|
|
17439
17997
|
value: input.search
|
|
17440
|
-
})) &&
|
|
17998
|
+
})) && _vo68(input.search, _path + ".search", true && _exceptionable) || _report(_exceptionable, {
|
|
17441
17999
|
path: _path + ".search",
|
|
17442
|
-
expected: "(__type.
|
|
18000
|
+
expected: "(__type.o61 | undefined)",
|
|
17443
18001
|
value: input.search
|
|
17444
|
-
}), undefined === input.sortMode || true ===
|
|
18002
|
+
}), undefined === input.sortMode || true === _vv60.has(input.sortMode) || _report(_exceptionable, {
|
|
17445
18003
|
path: _path + ".sortMode",
|
|
17446
18004
|
expected: "(\"az\" | \"default\" | \"earliestdeadline\" | \"latestdeadline\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
|
|
17447
18005
|
value: input.sortMode
|
|
17448
|
-
})].every(flag => flag); const
|
|
18006
|
+
})].every(flag => flag); const _vo68 = (input, _path, _exceptionable = true) => [undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed || _report(_exceptionable, {
|
|
17449
18007
|
path: _path + ".maxItemsDisplayed",
|
|
17450
18008
|
expected: "(number | undefined)",
|
|
17451
18009
|
value: input.maxItemsDisplayed
|
|
17452
|
-
})].every(flag => flag); const
|
|
18010
|
+
})].every(flag => flag); const _vo69 = (input, _path, _exceptionable = true) => [undefined === input.maxHeight || "number" === typeof input.maxHeight || _report(_exceptionable, {
|
|
17453
18011
|
path: _path + ".maxHeight",
|
|
17454
18012
|
expected: "(number | undefined)",
|
|
17455
18013
|
value: input.maxHeight
|
|
@@ -17457,19 +18015,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
17457
18015
|
path: _path + ".titleLines",
|
|
17458
18016
|
expected: "(number | undefined)",
|
|
17459
18017
|
value: input.titleLines
|
|
17460
|
-
})].every(flag => flag); const
|
|
18018
|
+
})].every(flag => flag); const _vo70 = (input, _path, _exceptionable = true) => [undefined === input.fontFamilies || (Array.isArray(input.fontFamilies) || _report(_exceptionable, {
|
|
17461
18019
|
path: _path + ".fontFamilies",
|
|
17462
18020
|
expected: "(Array<string> | undefined)",
|
|
17463
18021
|
value: input.fontFamilies
|
|
17464
|
-
})) && input.fontFamilies.map((elem,
|
|
17465
|
-
path: _path + ".fontFamilies[" +
|
|
18022
|
+
})) && input.fontFamilies.map((elem, _index61) => "string" === typeof elem || _report(_exceptionable, {
|
|
18023
|
+
path: _path + ".fontFamilies[" + _index61 + "]",
|
|
17466
18024
|
expected: "string",
|
|
17467
18025
|
value: elem
|
|
17468
18026
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
17469
18027
|
path: _path + ".fontFamilies",
|
|
17470
18028
|
expected: "(Array<string> | undefined)",
|
|
17471
18029
|
value: input.fontFamilies
|
|
17472
|
-
})].every(flag => flag); const
|
|
18030
|
+
})].every(flag => flag); const _vo71 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
17473
18031
|
path: _path + ".id",
|
|
17474
18032
|
expected: "(string | undefined)",
|
|
17475
18033
|
value: input.id
|
|
@@ -17477,31 +18035,31 @@ function _validateDomainRecord(domain, input) {
|
|
|
17477
18035
|
path: _path + ".folded",
|
|
17478
18036
|
expected: "(boolean | undefined)",
|
|
17479
18037
|
value: input.folded
|
|
17480
|
-
})].every(flag => flag); const
|
|
18038
|
+
})].every(flag => flag); const _vo72 = (input, _path, _exceptionable = true) => [undefined === input.adobe || ("object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) || _report(_exceptionable, {
|
|
17481
18039
|
path: _path + ".adobe",
|
|
17482
|
-
expected: "(__type.
|
|
18040
|
+
expected: "(__type.o66 | undefined)",
|
|
17483
18041
|
value: input.adobe
|
|
17484
|
-
})) &&
|
|
18042
|
+
})) && _vo73(input.adobe, _path + ".adobe", true && _exceptionable) || _report(_exceptionable, {
|
|
17485
18043
|
path: _path + ".adobe",
|
|
17486
|
-
expected: "(__type.
|
|
18044
|
+
expected: "(__type.o66 | undefined)",
|
|
17487
18045
|
value: input.adobe
|
|
17488
18046
|
}), undefined === input.rive || ("object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) || _report(_exceptionable, {
|
|
17489
18047
|
path: _path + ".rive",
|
|
17490
|
-
expected: "(__type.
|
|
18048
|
+
expected: "(__type.o67 | undefined)",
|
|
17491
18049
|
value: input.rive
|
|
17492
|
-
})) &&
|
|
18050
|
+
})) && _vo74(input.rive, _path + ".rive", true && _exceptionable) || _report(_exceptionable, {
|
|
17493
18051
|
path: _path + ".rive",
|
|
17494
|
-
expected: "(__type.
|
|
18052
|
+
expected: "(__type.o67 | undefined)",
|
|
17495
18053
|
value: input.rive
|
|
17496
|
-
})].every(flag => flag); const
|
|
18054
|
+
})].every(flag => flag); const _vo73 = (input, _path, _exceptionable = true) => [undefined === input.useProxies || "boolean" === typeof input.useProxies || _report(_exceptionable, {
|
|
17497
18055
|
path: _path + ".useProxies",
|
|
17498
18056
|
expected: "(boolean | undefined)",
|
|
17499
18057
|
value: input.useProxies
|
|
17500
|
-
})].every(flag => flag); const
|
|
18058
|
+
})].every(flag => flag); const _vo74 = (input, _path, _exceptionable = true) => [undefined === input.template || "string" === typeof input.template || _report(_exceptionable, {
|
|
17501
18059
|
path: _path + ".template",
|
|
17502
18060
|
expected: "(string | undefined)",
|
|
17503
18061
|
value: input.template
|
|
17504
|
-
})].every(flag => flag); const
|
|
18062
|
+
})].every(flag => flag); const _vo75 = (input, _path, _exceptionable = true) => [undefined === input.collections || "boolean" === typeof input.collections || _report(_exceptionable, {
|
|
17505
18063
|
path: _path + ".collections",
|
|
17506
18064
|
expected: "(boolean | undefined)",
|
|
17507
18065
|
value: input.collections
|
|
@@ -17513,7 +18071,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17513
18071
|
path: _path + ".ameRemoteRendering",
|
|
17514
18072
|
expected: "(boolean | undefined)",
|
|
17515
18073
|
value: input.ameRemoteRendering
|
|
17516
|
-
})].every(flag => flag); const
|
|
18074
|
+
})].every(flag => flag); const _vo76 = (input, _path, _exceptionable = true) => [undefined === input.utils || "boolean" === typeof input.utils || _report(_exceptionable, {
|
|
17517
18075
|
path: _path + ".utils",
|
|
17518
18076
|
expected: "(boolean | undefined)",
|
|
17519
18077
|
value: input.utils
|
|
@@ -17589,20 +18147,20 @@ function _validateDomainRecord(domain, input) {
|
|
|
17589
18147
|
path: _path + ".systemHealth",
|
|
17590
18148
|
expected: "(boolean | undefined)",
|
|
17591
18149
|
value: input.systemHealth
|
|
17592
|
-
})].every(flag => flag); const
|
|
18150
|
+
})].every(flag => flag); const _vo77 = (input, _path, _exceptionable = true) => [undefined === input.events || ("object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) || _report(_exceptionable, {
|
|
17593
18151
|
path: _path + ".events",
|
|
17594
|
-
expected: "(__type.
|
|
18152
|
+
expected: "(__type.o71 | undefined)",
|
|
17595
18153
|
value: input.events
|
|
17596
|
-
})) &&
|
|
18154
|
+
})) && _vo78(input.events, _path + ".events", true && _exceptionable) || _report(_exceptionable, {
|
|
17597
18155
|
path: _path + ".events",
|
|
17598
|
-
expected: "(__type.
|
|
18156
|
+
expected: "(__type.o71 | undefined)",
|
|
17599
18157
|
value: input.events
|
|
17600
|
-
})].every(flag => flag); const
|
|
18158
|
+
})].every(flag => flag); const _vo78 = (input, _path, _exceptionable = true) => [undefined === input.comment || (Array.isArray(input.comment) || _report(_exceptionable, {
|
|
17601
18159
|
path: _path + ".comment",
|
|
17602
18160
|
expected: "(Array<NotificationReason> | undefined)",
|
|
17603
18161
|
value: input.comment
|
|
17604
|
-
})) && input.comment.map((elem,
|
|
17605
|
-
path: _path + ".comment[" +
|
|
18162
|
+
})) && input.comment.map((elem, _index62) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
18163
|
+
path: _path + ".comment[" + _index62 + "]",
|
|
17606
18164
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
17607
18165
|
value: elem
|
|
17608
18166
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17613,8 +18171,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
17613
18171
|
path: _path + ".assigned",
|
|
17614
18172
|
expected: "(Array<NotificationReason> | undefined)",
|
|
17615
18173
|
value: input.assigned
|
|
17616
|
-
})) && input.assigned.map((elem,
|
|
17617
|
-
path: _path + ".assigned[" +
|
|
18174
|
+
})) && input.assigned.map((elem, _index63) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
18175
|
+
path: _path + ".assigned[" + _index63 + "]",
|
|
17618
18176
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
17619
18177
|
value: elem
|
|
17620
18178
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17625,8 +18183,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
17625
18183
|
path: _path + ".unassigned",
|
|
17626
18184
|
expected: "(Array<NotificationReason> | undefined)",
|
|
17627
18185
|
value: input.unassigned
|
|
17628
|
-
})) && input.unassigned.map((elem,
|
|
17629
|
-
path: _path + ".unassigned[" +
|
|
18186
|
+
})) && input.unassigned.map((elem, _index64) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
18187
|
+
path: _path + ".unassigned[" + _index64 + "]",
|
|
17630
18188
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
17631
18189
|
value: elem
|
|
17632
18190
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17635,13 +18193,13 @@ function _validateDomainRecord(domain, input) {
|
|
|
17635
18193
|
value: input.unassigned
|
|
17636
18194
|
}), undefined === input.publishSucceeded || ("object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) || _report(_exceptionable, {
|
|
17637
18195
|
path: _path + ".publishSucceeded",
|
|
17638
|
-
expected: "(__type.
|
|
18196
|
+
expected: "(__type.o72 | undefined)",
|
|
17639
18197
|
value: input.publishSucceeded
|
|
17640
|
-
})) &&
|
|
18198
|
+
})) && _vo79(input.publishSucceeded, _path + ".publishSucceeded", true && _exceptionable) || _report(_exceptionable, {
|
|
17641
18199
|
path: _path + ".publishSucceeded",
|
|
17642
|
-
expected: "(__type.
|
|
18200
|
+
expected: "(__type.o72 | undefined)",
|
|
17643
18201
|
value: input.publishSucceeded
|
|
17644
|
-
})].every(flag => flag); const
|
|
18202
|
+
})].every(flag => flag); const _vo79 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
17645
18203
|
const value = input[key];
|
|
17646
18204
|
if (undefined === value)
|
|
17647
18205
|
return true;
|
|
@@ -17649,8 +18207,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
17649
18207
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17650
18208
|
expected: "Array<NotificationReason>",
|
|
17651
18209
|
value: value
|
|
17652
|
-
})) && value.map((elem,
|
|
17653
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" +
|
|
18210
|
+
})) && value.map((elem, _index65) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
18211
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index65 + "]",
|
|
17654
18212
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
17655
18213
|
value: elem
|
|
17656
18214
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17658,15 +18216,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
17658
18216
|
expected: "Array<NotificationReason>",
|
|
17659
18217
|
value: value
|
|
17660
18218
|
});
|
|
17661
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
18219
|
+
}).every(flag => flag)].every(flag => flag); const _vo80 = (input, _path, _exceptionable = true) => [undefined === input.duplicate || ("object" === typeof input.duplicate && null !== input.duplicate && false === Array.isArray(input.duplicate) || _report(_exceptionable, {
|
|
17662
18220
|
path: _path + ".duplicate",
|
|
17663
|
-
expected: "(__type.
|
|
18221
|
+
expected: "(__type.o74 | undefined)",
|
|
17664
18222
|
value: input.duplicate
|
|
17665
|
-
})) &&
|
|
18223
|
+
})) && _vo81(input.duplicate, _path + ".duplicate", true && _exceptionable) || _report(_exceptionable, {
|
|
17666
18224
|
path: _path + ".duplicate",
|
|
17667
|
-
expected: "(__type.
|
|
18225
|
+
expected: "(__type.o74 | undefined)",
|
|
17668
18226
|
value: input.duplicate
|
|
17669
|
-
})].every(flag => flag); const
|
|
18227
|
+
})].every(flag => flag); const _vo81 = (input, _path, _exceptionable = true) => [undefined === input.titlePrefix || "string" === typeof input.titlePrefix || _report(_exceptionable, {
|
|
17670
18228
|
path: _path + ".titlePrefix",
|
|
17671
18229
|
expected: "(string | undefined)",
|
|
17672
18230
|
value: input.titlePrefix
|
|
@@ -17674,12 +18232,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
17674
18232
|
path: _path + ".titleSuffix",
|
|
17675
18233
|
expected: "(string | undefined)",
|
|
17676
18234
|
value: input.titleSuffix
|
|
17677
|
-
})].every(flag => flag); const
|
|
18235
|
+
})].every(flag => flag); const _vo82 = (input, _path, _exceptionable = true) => [undefined === input.stateFilter || (Array.isArray(input.stateFilter) || _report(_exceptionable, {
|
|
17678
18236
|
path: _path + ".stateFilter",
|
|
17679
18237
|
expected: "(Array<number> | undefined)",
|
|
17680
18238
|
value: input.stateFilter
|
|
17681
|
-
})) && input.stateFilter.map((elem,
|
|
17682
|
-
path: _path + ".stateFilter[" +
|
|
18239
|
+
})) && input.stateFilter.map((elem, _index66) => "number" === typeof elem || _report(_exceptionable, {
|
|
18240
|
+
path: _path + ".stateFilter[" + _index66 + "]",
|
|
17683
18241
|
expected: "number",
|
|
17684
18242
|
value: elem
|
|
17685
18243
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17706,11 +18264,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
17706
18264
|
path: _path + ".parseRegex",
|
|
17707
18265
|
expected: "(boolean | undefined)",
|
|
17708
18266
|
value: input.parseRegex
|
|
17709
|
-
})].every(flag => flag); const
|
|
18267
|
+
})].every(flag => flag); const _vo83 = (input, _path, _exceptionable = true) => [undefined === input.disableHotArea || "boolean" === typeof input.disableHotArea || _report(_exceptionable, {
|
|
17710
18268
|
path: _path + ".disableHotArea",
|
|
17711
18269
|
expected: "(boolean | undefined)",
|
|
17712
18270
|
value: input.disableHotArea
|
|
17713
|
-
})].every(flag => flag); const
|
|
18271
|
+
})].every(flag => flag); const _vo84 = (input, _path, _exceptionable = true) => [undefined === input.refreshInterval || "number" === typeof input.refreshInterval || _report(_exceptionable, {
|
|
17714
18272
|
path: _path + ".refreshInterval",
|
|
17715
18273
|
expected: "(number | undefined)",
|
|
17716
18274
|
value: input.refreshInterval
|
|
@@ -17743,6 +18301,62 @@ function _validateDomainRecord(domain, input) {
|
|
|
17743
18301
|
};
|
|
17744
18302
|
}; })()(input);
|
|
17745
18303
|
}
|
|
18304
|
+
case ":settings.node": {
|
|
18305
|
+
return (() => { const _io0 = input => Object.keys(input).every(key => {
|
|
18306
|
+
const value = input[key];
|
|
18307
|
+
if (undefined === value)
|
|
18308
|
+
return true;
|
|
18309
|
+
return "object" === typeof value && null !== value && _io1(value);
|
|
18310
|
+
}); const _io1 = input => "boolean" === typeof input.collapsed && "boolean" === typeof input.hidden; const _vo0 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
18311
|
+
const value = input[key];
|
|
18312
|
+
if (undefined === value)
|
|
18313
|
+
return true;
|
|
18314
|
+
return ("object" === typeof value && null !== value || _report(_exceptionable, {
|
|
18315
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
18316
|
+
expected: "__type",
|
|
18317
|
+
value: value
|
|
18318
|
+
})) && _vo1(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
18319
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
18320
|
+
expected: "__type",
|
|
18321
|
+
value: value
|
|
18322
|
+
});
|
|
18323
|
+
}).every(flag => flag)].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["boolean" === typeof input.collapsed || _report(_exceptionable, {
|
|
18324
|
+
path: _path + ".collapsed",
|
|
18325
|
+
expected: "boolean",
|
|
18326
|
+
value: input.collapsed
|
|
18327
|
+
}), "boolean" === typeof input.hidden || _report(_exceptionable, {
|
|
18328
|
+
path: _path + ".hidden",
|
|
18329
|
+
expected: "boolean",
|
|
18330
|
+
value: input.hidden
|
|
18331
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
18332
|
+
if (false === __is(input)) {
|
|
18333
|
+
errors = [];
|
|
18334
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
18335
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
18336
|
+
path: _path + "",
|
|
18337
|
+
expected: "SettingsNodeRecord",
|
|
18338
|
+
value: input
|
|
18339
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
18340
|
+
path: _path + "",
|
|
18341
|
+
expected: "SettingsNodeRecord",
|
|
18342
|
+
value: input
|
|
18343
|
+
}))(input, "$input", true);
|
|
18344
|
+
const success = 0 === errors.length;
|
|
18345
|
+
return success ? {
|
|
18346
|
+
success,
|
|
18347
|
+
data: input
|
|
18348
|
+
} : {
|
|
18349
|
+
success,
|
|
18350
|
+
errors,
|
|
18351
|
+
data: input
|
|
18352
|
+
};
|
|
18353
|
+
}
|
|
18354
|
+
return {
|
|
18355
|
+
success: true,
|
|
18356
|
+
data: input
|
|
18357
|
+
};
|
|
18358
|
+
}; })()(input);
|
|
18359
|
+
}
|
|
17746
18360
|
case ":shotbox": {
|
|
17747
18361
|
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 => (() => {
|
|
17748
18362
|
if ("stream" === input.type)
|