@nxtedition/types 23.0.27 → 23.0.30
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/file.d.ts +2 -1
- package/dist/common/file.js +89 -54
- package/dist/common/settings.d.ts +5 -4
- package/dist/common/settings.js +40 -23
- package/dist/domains/file.js +89 -54
- package/dist/domains/settings.js +22 -6
- package/dist/schema.json +69 -0
- package/package.json +1 -1
package/dist/domains/file.js
CHANGED
|
@@ -1203,7 +1203,7 @@ export const assertStringifyFileRestrictionsRecord = (input, errorFactory) => {
|
|
|
1203
1203
|
return $so0(input);
|
|
1204
1204
|
}; return stringify(assert(input, errorFactory)); };
|
|
1205
1205
|
export const isFileDomainStatsRecord = input => {
|
|
1206
|
-
const $io0 = input => (null === input.position || "number" === typeof input.position && (0 <= input.position && (Math.floor(input.position) === input.position && 0 <= input.position && input.position <= 18446744073709552000))) && (null === input.uploading || "boolean" === typeof input.uploading) && (Array.isArray(input.zones) && input.zones.every(elem => "string" === typeof elem)) && (Array.isArray(input.replicas) && input.replicas.every(elem => "string" === typeof elem)) && (Array.isArray(input.locations) && input.locations.every(elem => "string" === typeof elem)) && (
|
|
1206
|
+
const $io0 = input => (null === input.position || "number" === typeof input.position && (0 <= input.position && (Math.floor(input.position) === input.position && 0 <= input.position && input.position <= 18446744073709552000))) && (null === input.uploading || "boolean" === typeof input.uploading) && (Array.isArray(input.zones) && input.zones.every(elem => "string" === typeof elem)) && (Array.isArray(input.replicas) && input.replicas.every(elem => "string" === typeof elem)) && (Array.isArray(input.locations) && input.locations.every(elem => "string" === typeof elem)) && (Array.isArray(input.ranges) && input.ranges.every(elem => Array.isArray(elem) && (elem.length === 2 && ("number" === typeof elem[0] && 0 <= elem[0]) && ("number" === typeof elem[1] && 0 <= elem[1])))) && ("number" === typeof input.progress && (0 <= input.progress && input.progress <= 1)) && ("number" === typeof input.speed && 0 <= input.speed) && ("string" === typeof input.id && /^[0-9A-Za-z~][0-9A-Za-z~._: -]*$/.test(input.id)) && (null === input.size || "number" === typeof input.size && (0 <= input.size && (Math.floor(input.size) === input.size && 0 <= input.size && input.size <= 18446744073709552000))) && "boolean" === typeof input.seekable && "boolean" === typeof input.deleted && (Array.isArray(input.refs) && input.refs.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io1(elem))) && (Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && "string" === typeof input.resumable && "string" === typeof input.mimeType && "string" === typeof input.encoding && ("string" === typeof input.hash && /^([A-Fa-f0-9]{32})?$/.test(input.hash)) && ("number" === typeof input.btime && (0 <= input.btime && (Math.floor(input.btime) === input.btime && 0 <= input.btime && input.btime <= 18446744073709552000))) && "boolean" === typeof input.completed && (undefined !== input.error && (null === input.error || (Array.isArray(input.error) && input.error.every(elem => "object" === typeof elem && null !== elem && $io2(elem)) || "object" === typeof input.error && null !== input.error && $io2(input.error))));
|
|
1207
1207
|
const $io1 = input => (undefined === input.file || "string" === typeof input.file) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end);
|
|
1208
1208
|
const $io2 = input => "string" === typeof input.message && (undefined === input.type || "string" === typeof input.type) && (undefined === input.code || "string" === typeof input.code) && (undefined === input.exitCode || "number" === typeof input.exitCode) && (undefined === input.signalCode || "number" === typeof input.signalCode) && (undefined === input.statusCode || "number" === typeof input.statusCode) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && $io3(input.headers)) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && $io4(input.data)) && (null === input.cause || undefined === input.cause || "object" === typeof input.cause && null !== input.cause && $io2(input.cause)) && (null === input.errors || undefined === input.errors || Array.isArray(input.errors) && input.errors.every(elem => "object" === typeof elem && null !== elem && $io2(elem)));
|
|
1209
1209
|
const $io3 = input => Object.keys(input).every(key => {
|
|
@@ -1217,7 +1217,7 @@ export const isFileDomainStatsRecord = input => {
|
|
|
1217
1217
|
};
|
|
1218
1218
|
export const assertFileDomainStatsRecord = (input, errorFactory) => {
|
|
1219
1219
|
const __is = input => {
|
|
1220
|
-
const $io0 = input => (null === input.position || "number" === typeof input.position && (0 <= input.position && (Math.floor(input.position) === input.position && 0 <= input.position && input.position <= 18446744073709552000))) && (null === input.uploading || "boolean" === typeof input.uploading) && (Array.isArray(input.zones) && input.zones.every(elem => "string" === typeof elem)) && (Array.isArray(input.replicas) && input.replicas.every(elem => "string" === typeof elem)) && (Array.isArray(input.locations) && input.locations.every(elem => "string" === typeof elem)) && (
|
|
1220
|
+
const $io0 = input => (null === input.position || "number" === typeof input.position && (0 <= input.position && (Math.floor(input.position) === input.position && 0 <= input.position && input.position <= 18446744073709552000))) && (null === input.uploading || "boolean" === typeof input.uploading) && (Array.isArray(input.zones) && input.zones.every(elem => "string" === typeof elem)) && (Array.isArray(input.replicas) && input.replicas.every(elem => "string" === typeof elem)) && (Array.isArray(input.locations) && input.locations.every(elem => "string" === typeof elem)) && (Array.isArray(input.ranges) && input.ranges.every(elem => Array.isArray(elem) && (elem.length === 2 && ("number" === typeof elem[0] && 0 <= elem[0]) && ("number" === typeof elem[1] && 0 <= elem[1])))) && ("number" === typeof input.progress && (0 <= input.progress && input.progress <= 1)) && ("number" === typeof input.speed && 0 <= input.speed) && ("string" === typeof input.id && /^[0-9A-Za-z~][0-9A-Za-z~._: -]*$/.test(input.id)) && (null === input.size || "number" === typeof input.size && (0 <= input.size && (Math.floor(input.size) === input.size && 0 <= input.size && input.size <= 18446744073709552000))) && "boolean" === typeof input.seekable && "boolean" === typeof input.deleted && (Array.isArray(input.refs) && input.refs.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io1(elem))) && (Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && "string" === typeof input.resumable && "string" === typeof input.mimeType && "string" === typeof input.encoding && ("string" === typeof input.hash && /^([A-Fa-f0-9]{32})?$/.test(input.hash)) && ("number" === typeof input.btime && (0 <= input.btime && (Math.floor(input.btime) === input.btime && 0 <= input.btime && input.btime <= 18446744073709552000))) && "boolean" === typeof input.completed && (undefined !== input.error && (null === input.error || (Array.isArray(input.error) && input.error.every(elem => "object" === typeof elem && null !== elem && $io2(elem)) || "object" === typeof input.error && null !== input.error && $io2(input.error))));
|
|
1221
1221
|
const $io1 = input => (undefined === input.file || "string" === typeof input.file) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end);
|
|
1222
1222
|
const $io2 = input => "string" === typeof input.message && (undefined === input.type || "string" === typeof input.type) && (undefined === input.code || "string" === typeof input.code) && (undefined === input.exitCode || "number" === typeof input.exitCode) && (undefined === input.signalCode || "number" === typeof input.signalCode) && (undefined === input.statusCode || "number" === typeof input.statusCode) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && $io3(input.headers)) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && $io4(input.data)) && (null === input.cause || undefined === input.cause || "object" === typeof input.cause && null !== input.cause && $io2(input.cause)) && (null === input.errors || undefined === input.errors || Array.isArray(input.errors) && input.errors.every(elem => "object" === typeof elem && null !== elem && $io2(elem)));
|
|
1223
1223
|
const $io3 = input => Object.keys(input).every(key => {
|
|
@@ -1285,18 +1285,6 @@ export const assertFileDomainStatsRecord = (input, errorFactory) => {
|
|
|
1285
1285
|
path: _path + ".locations",
|
|
1286
1286
|
expected: "Array<string>",
|
|
1287
1287
|
value: input.locations
|
|
1288
|
-
}, errorFactory)) && ("number" === typeof input.progress && (0 <= input.progress || $guard(_exceptionable, {
|
|
1289
|
-
path: _path + ".progress",
|
|
1290
|
-
expected: "number & Minimum<0>",
|
|
1291
|
-
value: input.progress
|
|
1292
|
-
}, errorFactory)) && (input.progress <= 1 || $guard(_exceptionable, {
|
|
1293
|
-
path: _path + ".progress",
|
|
1294
|
-
expected: "number & Maximum<1>",
|
|
1295
|
-
value: input.progress
|
|
1296
|
-
}, errorFactory)) || $guard(_exceptionable, {
|
|
1297
|
-
path: _path + ".progress",
|
|
1298
|
-
expected: "(number & Minimum<0> & Maximum<1>)",
|
|
1299
|
-
value: input.progress
|
|
1300
1288
|
}, errorFactory)) && ((Array.isArray(input.ranges) || $guard(_exceptionable, {
|
|
1301
1289
|
path: _path + ".ranges",
|
|
1302
1290
|
expected: "Array<[start: number & Minimum<0>, end: number & Minimum<0>]>",
|
|
@@ -1333,6 +1321,26 @@ export const assertFileDomainStatsRecord = (input, errorFactory) => {
|
|
|
1333
1321
|
path: _path + ".ranges",
|
|
1334
1322
|
expected: "Array<[start: number & Minimum<0>, end: number & Minimum<0>]>",
|
|
1335
1323
|
value: input.ranges
|
|
1324
|
+
}, errorFactory)) && ("number" === typeof input.progress && (0 <= input.progress || $guard(_exceptionable, {
|
|
1325
|
+
path: _path + ".progress",
|
|
1326
|
+
expected: "number & Minimum<0>",
|
|
1327
|
+
value: input.progress
|
|
1328
|
+
}, errorFactory)) && (input.progress <= 1 || $guard(_exceptionable, {
|
|
1329
|
+
path: _path + ".progress",
|
|
1330
|
+
expected: "number & Maximum<1>",
|
|
1331
|
+
value: input.progress
|
|
1332
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
1333
|
+
path: _path + ".progress",
|
|
1334
|
+
expected: "(number & Minimum<0> & Maximum<1>)",
|
|
1335
|
+
value: input.progress
|
|
1336
|
+
}, errorFactory)) && ("number" === typeof input.speed && (0 <= input.speed || $guard(_exceptionable, {
|
|
1337
|
+
path: _path + ".speed",
|
|
1338
|
+
expected: "number & Minimum<0>",
|
|
1339
|
+
value: input.speed
|
|
1340
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
1341
|
+
path: _path + ".speed",
|
|
1342
|
+
expected: "(number & Minimum<0>)",
|
|
1343
|
+
value: input.speed
|
|
1336
1344
|
}, errorFactory)) && ("string" === typeof input.id && (/^[0-9A-Za-z~][0-9A-Za-z~._: -]*$/.test(input.id) || $guard(_exceptionable, {
|
|
1337
1345
|
path: _path + ".id",
|
|
1338
1346
|
expected: "string & Pattern<\"^[0-9A-Za-z~][0-9A-Za-z~._: -]*$\">",
|
|
@@ -1577,18 +1585,6 @@ export const randomFileDomainStatsRecord = generator => {
|
|
|
1577
1585
|
zones: (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()),
|
|
1578
1586
|
replicas: (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()),
|
|
1579
1587
|
locations: (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()),
|
|
1580
|
-
progress: (generator?.customs ?? $generator.customs)?.number?.([
|
|
1581
|
-
{
|
|
1582
|
-
name: "Minimum<0>",
|
|
1583
|
-
kind: "minimum",
|
|
1584
|
-
value: 0
|
|
1585
|
-
},
|
|
1586
|
-
{
|
|
1587
|
-
name: "Maximum<1>",
|
|
1588
|
-
kind: "maximum",
|
|
1589
|
-
value: 1
|
|
1590
|
-
}
|
|
1591
|
-
]) ?? (generator?.number ?? $generator.number)(0, 1),
|
|
1592
1588
|
ranges: (generator?.array ?? $generator.array)(() => [
|
|
1593
1589
|
(generator?.customs ?? $generator.customs)?.number?.([
|
|
1594
1590
|
{
|
|
@@ -1605,6 +1601,25 @@ export const randomFileDomainStatsRecord = generator => {
|
|
|
1605
1601
|
}
|
|
1606
1602
|
]) ?? (generator?.number ?? $generator.number)(0, 10)
|
|
1607
1603
|
]),
|
|
1604
|
+
progress: (generator?.customs ?? $generator.customs)?.number?.([
|
|
1605
|
+
{
|
|
1606
|
+
name: "Minimum<0>",
|
|
1607
|
+
kind: "minimum",
|
|
1608
|
+
value: 0
|
|
1609
|
+
},
|
|
1610
|
+
{
|
|
1611
|
+
name: "Maximum<1>",
|
|
1612
|
+
kind: "maximum",
|
|
1613
|
+
value: 1
|
|
1614
|
+
}
|
|
1615
|
+
]) ?? (generator?.number ?? $generator.number)(0, 1),
|
|
1616
|
+
speed: (generator?.customs ?? $generator.customs)?.number?.([
|
|
1617
|
+
{
|
|
1618
|
+
name: "Minimum<0>",
|
|
1619
|
+
kind: "minimum",
|
|
1620
|
+
value: 0
|
|
1621
|
+
}
|
|
1622
|
+
]) ?? (generator?.number ?? $generator.number)(0, 10),
|
|
1608
1623
|
id: (generator?.customs ?? $generator.customs)?.string?.([
|
|
1609
1624
|
{
|
|
1610
1625
|
name: "Pattern<\"^[0-9A-Za-z~][0-9A-Za-z~._: -]*$\">",
|
|
@@ -1729,7 +1744,7 @@ export const randomFileDomainStatsRecord = generator => {
|
|
|
1729
1744
|
};
|
|
1730
1745
|
export const assertGuardFileDomainStatsRecord = (input, errorFactory) => {
|
|
1731
1746
|
const __is = input => {
|
|
1732
|
-
const $io0 = input => (null === input.position || "number" === typeof input.position && (0 <= input.position && (Math.floor(input.position) === input.position && 0 <= input.position && input.position <= 18446744073709552000))) && (null === input.uploading || "boolean" === typeof input.uploading) && (Array.isArray(input.zones) && input.zones.every(elem => "string" === typeof elem)) && (Array.isArray(input.replicas) && input.replicas.every(elem => "string" === typeof elem)) && (Array.isArray(input.locations) && input.locations.every(elem => "string" === typeof elem)) && (
|
|
1747
|
+
const $io0 = input => (null === input.position || "number" === typeof input.position && (0 <= input.position && (Math.floor(input.position) === input.position && 0 <= input.position && input.position <= 18446744073709552000))) && (null === input.uploading || "boolean" === typeof input.uploading) && (Array.isArray(input.zones) && input.zones.every(elem => "string" === typeof elem)) && (Array.isArray(input.replicas) && input.replicas.every(elem => "string" === typeof elem)) && (Array.isArray(input.locations) && input.locations.every(elem => "string" === typeof elem)) && (Array.isArray(input.ranges) && input.ranges.every(elem => Array.isArray(elem) && (elem.length === 2 && ("number" === typeof elem[0] && 0 <= elem[0]) && ("number" === typeof elem[1] && 0 <= elem[1])))) && ("number" === typeof input.progress && (0 <= input.progress && input.progress <= 1)) && ("number" === typeof input.speed && 0 <= input.speed) && ("string" === typeof input.id && /^[0-9A-Za-z~][0-9A-Za-z~._: -]*$/.test(input.id)) && (null === input.size || "number" === typeof input.size && (0 <= input.size && (Math.floor(input.size) === input.size && 0 <= input.size && input.size <= 18446744073709552000))) && "boolean" === typeof input.seekable && "boolean" === typeof input.deleted && (Array.isArray(input.refs) && input.refs.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io1(elem))) && (Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && "string" === typeof input.resumable && "string" === typeof input.mimeType && "string" === typeof input.encoding && ("string" === typeof input.hash && /^([A-Fa-f0-9]{32})?$/.test(input.hash)) && ("number" === typeof input.btime && (0 <= input.btime && (Math.floor(input.btime) === input.btime && 0 <= input.btime && input.btime <= 18446744073709552000))) && "boolean" === typeof input.completed && (undefined !== input.error && (null === input.error || (Array.isArray(input.error) && input.error.every(elem => "object" === typeof elem && null !== elem && $io2(elem)) || "object" === typeof input.error && null !== input.error && $io2(input.error))));
|
|
1733
1748
|
const $io1 = input => (undefined === input.file || "string" === typeof input.file) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end);
|
|
1734
1749
|
const $io2 = input => "string" === typeof input.message && (undefined === input.type || "string" === typeof input.type) && (undefined === input.code || "string" === typeof input.code) && (undefined === input.exitCode || "number" === typeof input.exitCode) && (undefined === input.signalCode || "number" === typeof input.signalCode) && (undefined === input.statusCode || "number" === typeof input.statusCode) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && $io3(input.headers)) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && $io4(input.data)) && (null === input.cause || undefined === input.cause || "object" === typeof input.cause && null !== input.cause && $io2(input.cause)) && (null === input.errors || undefined === input.errors || Array.isArray(input.errors) && input.errors.every(elem => "object" === typeof elem && null !== elem && $io2(elem)));
|
|
1735
1750
|
const $io3 = input => Object.keys(input).every(key => {
|
|
@@ -1797,18 +1812,6 @@ export const assertGuardFileDomainStatsRecord = (input, errorFactory) => {
|
|
|
1797
1812
|
path: _path + ".locations",
|
|
1798
1813
|
expected: "Array<string>",
|
|
1799
1814
|
value: input.locations
|
|
1800
|
-
}, errorFactory)) && ("number" === typeof input.progress && (0 <= input.progress || $guard(_exceptionable, {
|
|
1801
|
-
path: _path + ".progress",
|
|
1802
|
-
expected: "number & Minimum<0>",
|
|
1803
|
-
value: input.progress
|
|
1804
|
-
}, errorFactory)) && (input.progress <= 1 || $guard(_exceptionable, {
|
|
1805
|
-
path: _path + ".progress",
|
|
1806
|
-
expected: "number & Maximum<1>",
|
|
1807
|
-
value: input.progress
|
|
1808
|
-
}, errorFactory)) || $guard(_exceptionable, {
|
|
1809
|
-
path: _path + ".progress",
|
|
1810
|
-
expected: "(number & Minimum<0> & Maximum<1>)",
|
|
1811
|
-
value: input.progress
|
|
1812
1815
|
}, errorFactory)) && ((Array.isArray(input.ranges) || $guard(_exceptionable, {
|
|
1813
1816
|
path: _path + ".ranges",
|
|
1814
1817
|
expected: "Array<[start: number & Minimum<0>, end: number & Minimum<0>]>",
|
|
@@ -1845,6 +1848,26 @@ export const assertGuardFileDomainStatsRecord = (input, errorFactory) => {
|
|
|
1845
1848
|
path: _path + ".ranges",
|
|
1846
1849
|
expected: "Array<[start: number & Minimum<0>, end: number & Minimum<0>]>",
|
|
1847
1850
|
value: input.ranges
|
|
1851
|
+
}, errorFactory)) && ("number" === typeof input.progress && (0 <= input.progress || $guard(_exceptionable, {
|
|
1852
|
+
path: _path + ".progress",
|
|
1853
|
+
expected: "number & Minimum<0>",
|
|
1854
|
+
value: input.progress
|
|
1855
|
+
}, errorFactory)) && (input.progress <= 1 || $guard(_exceptionable, {
|
|
1856
|
+
path: _path + ".progress",
|
|
1857
|
+
expected: "number & Maximum<1>",
|
|
1858
|
+
value: input.progress
|
|
1859
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
1860
|
+
path: _path + ".progress",
|
|
1861
|
+
expected: "(number & Minimum<0> & Maximum<1>)",
|
|
1862
|
+
value: input.progress
|
|
1863
|
+
}, errorFactory)) && ("number" === typeof input.speed && (0 <= input.speed || $guard(_exceptionable, {
|
|
1864
|
+
path: _path + ".speed",
|
|
1865
|
+
expected: "number & Minimum<0>",
|
|
1866
|
+
value: input.speed
|
|
1867
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
1868
|
+
path: _path + ".speed",
|
|
1869
|
+
expected: "(number & Minimum<0>)",
|
|
1870
|
+
value: input.speed
|
|
1848
1871
|
}, errorFactory)) && ("string" === typeof input.id && (/^[0-9A-Za-z~][0-9A-Za-z~._: -]*$/.test(input.id) || $guard(_exceptionable, {
|
|
1849
1872
|
path: _path + ".id",
|
|
1850
1873
|
expected: "string & Pattern<\"^[0-9A-Za-z~][0-9A-Za-z~._: -]*$\">",
|
|
@@ -2075,7 +2098,7 @@ export const stringifyFileDomainStatsRecord = input => {
|
|
|
2075
2098
|
const $string = __typia.json.createStringify.string;
|
|
2076
2099
|
const $throws = __typia.json.createStringify.throws;
|
|
2077
2100
|
const $tail = __typia.json.createStringify.tail;
|
|
2078
|
-
const $so0 = input => `{"position":${null !== input.position ? input.position : "null"},"uploading":${null !== input.uploading ? input.uploading : "null"},"zones":${`[${input.zones.map(elem => $string(elem)).join(",")}]`},"replicas":${`[${input.replicas.map(elem => $string(elem)).join(",")}]`},"locations":${`[${input.locations.map(elem => $string(elem)).join(",")}]`},"
|
|
2101
|
+
const $so0 = input => `{"position":${null !== input.position ? input.position : "null"},"uploading":${null !== input.uploading ? input.uploading : "null"},"zones":${`[${input.zones.map(elem => $string(elem)).join(",")}]`},"replicas":${`[${input.replicas.map(elem => $string(elem)).join(",")}]`},"locations":${`[${input.locations.map(elem => $string(elem)).join(",")}]`},"ranges":${`[${input.ranges.map(elem => `[${elem[0]},${elem[1]}]`).join(",")}]`},"progress":${input.progress},"speed":${input.speed},"id":${$string(input.id)},"size":${null !== input.size ? input.size : "null"},"seekable":${input.seekable},"deleted":${input.deleted},"refs":${`[${input.refs.map(elem => $so1(elem)).join(",")}]`},"tags":${`[${input.tags.map(elem => $string(elem)).join(",")}]`},"resumable":${$string(input.resumable)},"mimeType":${$string(input.mimeType)},"encoding":${$string(input.encoding)},"hash":${$string(input.hash)},"btime":${input.btime},"completed":${input.completed},"error":${null !== input.error ? (() => {
|
|
2079
2102
|
if (Array.isArray(input.error))
|
|
2080
2103
|
return `[${input.error.map(elem => $so2(elem)).join(",")}]`;
|
|
2081
2104
|
if ("object" === typeof input.error && null !== input.error)
|
|
@@ -2093,7 +2116,7 @@ export const stringifyFileDomainStatsRecord = input => {
|
|
|
2093
2116
|
};
|
|
2094
2117
|
export const assertStringifyFileDomainStatsRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
2095
2118
|
const __is = input => {
|
|
2096
|
-
const $io0 = input => (null === input.position || "number" === typeof input.position && (0 <= input.position && (Math.floor(input.position) === input.position && 0 <= input.position && input.position <= 18446744073709552000))) && (null === input.uploading || "boolean" === typeof input.uploading) && (Array.isArray(input.zones) && input.zones.every(elem => "string" === typeof elem)) && (Array.isArray(input.replicas) && input.replicas.every(elem => "string" === typeof elem)) && (Array.isArray(input.locations) && input.locations.every(elem => "string" === typeof elem)) && (
|
|
2119
|
+
const $io0 = input => (null === input.position || "number" === typeof input.position && (0 <= input.position && (Math.floor(input.position) === input.position && 0 <= input.position && input.position <= 18446744073709552000))) && (null === input.uploading || "boolean" === typeof input.uploading) && (Array.isArray(input.zones) && input.zones.every(elem => "string" === typeof elem)) && (Array.isArray(input.replicas) && input.replicas.every(elem => "string" === typeof elem)) && (Array.isArray(input.locations) && input.locations.every(elem => "string" === typeof elem)) && (Array.isArray(input.ranges) && input.ranges.every(elem => Array.isArray(elem) && (elem.length === 2 && ("number" === typeof elem[0] && (!Number.isNaN(elem[0]) && 0 <= elem[0])) && ("number" === typeof elem[1] && (!Number.isNaN(elem[1]) && 0 <= elem[1]))))) && ("number" === typeof input.progress && (0 <= input.progress && input.progress <= 1)) && ("number" === typeof input.speed && (!Number.isNaN(input.speed) && 0 <= input.speed)) && ("string" === typeof input.id && /^[0-9A-Za-z~][0-9A-Za-z~._: -]*$/.test(input.id)) && (null === input.size || "number" === typeof input.size && (0 <= input.size && (Math.floor(input.size) === input.size && 0 <= input.size && input.size <= 18446744073709552000))) && "boolean" === typeof input.seekable && "boolean" === typeof input.deleted && (Array.isArray(input.refs) && input.refs.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io1(elem))) && (Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && "string" === typeof input.resumable && "string" === typeof input.mimeType && "string" === typeof input.encoding && ("string" === typeof input.hash && /^([A-Fa-f0-9]{32})?$/.test(input.hash)) && ("number" === typeof input.btime && (0 <= input.btime && (Math.floor(input.btime) === input.btime && 0 <= input.btime && input.btime <= 18446744073709552000))) && "boolean" === typeof input.completed && (undefined !== input.error && (null === input.error || (Array.isArray(input.error) && input.error.every(elem => "object" === typeof elem && null !== elem && $io2(elem)) || "object" === typeof input.error && null !== input.error && $io2(input.error))));
|
|
2097
2120
|
const $io1 = input => (undefined === input.file || "string" === typeof input.file) && (undefined === input.offset || "number" === typeof input.offset && !Number.isNaN(input.offset)) && (undefined === input.start || "number" === typeof input.start && !Number.isNaN(input.start)) && (undefined === input.end || "number" === typeof input.end && !Number.isNaN(input.end));
|
|
2098
2121
|
const $io2 = input => "string" === typeof input.message && (undefined === input.type || "string" === typeof input.type) && (undefined === input.code || "string" === typeof input.code) && (undefined === input.exitCode || "number" === typeof input.exitCode && !Number.isNaN(input.exitCode)) && (undefined === input.signalCode || "number" === typeof input.signalCode && !Number.isNaN(input.signalCode)) && (undefined === input.statusCode || "number" === typeof input.statusCode && !Number.isNaN(input.statusCode)) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && $io3(input.headers)) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && $io4(input.data)) && (null === input.cause || undefined === input.cause || "object" === typeof input.cause && null !== input.cause && $io2(input.cause)) && (null === input.errors || undefined === input.errors || Array.isArray(input.errors) && input.errors.every(elem => "object" === typeof elem && null !== elem && $io2(elem)));
|
|
2099
2122
|
const $io3 = input => Object.keys(input).every(key => {
|
|
@@ -2161,18 +2184,6 @@ export const assertStringifyFileDomainStatsRecord = (input, errorFactory) => { c
|
|
|
2161
2184
|
path: _path + ".locations",
|
|
2162
2185
|
expected: "Array<string>",
|
|
2163
2186
|
value: input.locations
|
|
2164
|
-
}, errorFactory)) && ("number" === typeof input.progress && (0 <= input.progress || $guard(_exceptionable, {
|
|
2165
|
-
path: _path + ".progress",
|
|
2166
|
-
expected: "number & Minimum<0>",
|
|
2167
|
-
value: input.progress
|
|
2168
|
-
}, errorFactory)) && (input.progress <= 1 || $guard(_exceptionable, {
|
|
2169
|
-
path: _path + ".progress",
|
|
2170
|
-
expected: "number & Maximum<1>",
|
|
2171
|
-
value: input.progress
|
|
2172
|
-
}, errorFactory)) || $guard(_exceptionable, {
|
|
2173
|
-
path: _path + ".progress",
|
|
2174
|
-
expected: "(number & Minimum<0> & Maximum<1>)",
|
|
2175
|
-
value: input.progress
|
|
2176
2187
|
}, errorFactory)) && ((Array.isArray(input.ranges) || $guard(_exceptionable, {
|
|
2177
2188
|
path: _path + ".ranges",
|
|
2178
2189
|
expected: "Array<[start: number & Minimum<0>, end: number & Minimum<0>]>",
|
|
@@ -2217,6 +2228,30 @@ export const assertStringifyFileDomainStatsRecord = (input, errorFactory) => { c
|
|
|
2217
2228
|
path: _path + ".ranges",
|
|
2218
2229
|
expected: "Array<[start: number & Minimum<0>, end: number & Minimum<0>]>",
|
|
2219
2230
|
value: input.ranges
|
|
2231
|
+
}, errorFactory)) && ("number" === typeof input.progress && (0 <= input.progress || $guard(_exceptionable, {
|
|
2232
|
+
path: _path + ".progress",
|
|
2233
|
+
expected: "number & Minimum<0>",
|
|
2234
|
+
value: input.progress
|
|
2235
|
+
}, errorFactory)) && (input.progress <= 1 || $guard(_exceptionable, {
|
|
2236
|
+
path: _path + ".progress",
|
|
2237
|
+
expected: "number & Maximum<1>",
|
|
2238
|
+
value: input.progress
|
|
2239
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
2240
|
+
path: _path + ".progress",
|
|
2241
|
+
expected: "(number & Minimum<0> & Maximum<1>)",
|
|
2242
|
+
value: input.progress
|
|
2243
|
+
}, errorFactory)) && ("number" === typeof input.speed && (!Number.isNaN(input.speed) || $guard(_exceptionable, {
|
|
2244
|
+
path: _path + ".speed",
|
|
2245
|
+
expected: "number",
|
|
2246
|
+
value: input.speed
|
|
2247
|
+
}, errorFactory)) && (0 <= input.speed || $guard(_exceptionable, {
|
|
2248
|
+
path: _path + ".speed",
|
|
2249
|
+
expected: "number & Minimum<0>",
|
|
2250
|
+
value: input.speed
|
|
2251
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
2252
|
+
path: _path + ".speed",
|
|
2253
|
+
expected: "(number & Minimum<0>)",
|
|
2254
|
+
value: input.speed
|
|
2220
2255
|
}, errorFactory)) && ("string" === typeof input.id && (/^[0-9A-Za-z~][0-9A-Za-z~._: -]*$/.test(input.id) || $guard(_exceptionable, {
|
|
2221
2256
|
path: _path + ".id",
|
|
2222
2257
|
expected: "string & Pattern<\"^[0-9A-Za-z~][0-9A-Za-z~._: -]*$\">",
|
|
@@ -2447,7 +2482,7 @@ export const assertStringifyFileDomainStatsRecord = (input, errorFactory) => { c
|
|
|
2447
2482
|
const $string = __typia.json.createAssertStringify.string;
|
|
2448
2483
|
const $throws = __typia.json.createAssertStringify.throws;
|
|
2449
2484
|
const $tail = __typia.json.createAssertStringify.tail;
|
|
2450
|
-
const $so0 = input => `{"position":${null !== input.position ? input.position : "null"},"uploading":${null !== input.uploading ? input.uploading : "null"},"zones":${`[${input.zones.map(elem => $string(elem)).join(",")}]`},"replicas":${`[${input.replicas.map(elem => $string(elem)).join(",")}]`},"locations":${`[${input.locations.map(elem => $string(elem)).join(",")}]`},"
|
|
2485
|
+
const $so0 = input => `{"position":${null !== input.position ? input.position : "null"},"uploading":${null !== input.uploading ? input.uploading : "null"},"zones":${`[${input.zones.map(elem => $string(elem)).join(",")}]`},"replicas":${`[${input.replicas.map(elem => $string(elem)).join(",")}]`},"locations":${`[${input.locations.map(elem => $string(elem)).join(",")}]`},"ranges":${`[${input.ranges.map(elem => `[${elem[0]},${elem[1]}]`).join(",")}]`},"progress":${input.progress},"speed":${input.speed},"id":${$string(input.id)},"size":${null !== input.size ? input.size : "null"},"seekable":${input.seekable},"deleted":${input.deleted},"refs":${`[${input.refs.map(elem => $so1(elem)).join(",")}]`},"tags":${`[${input.tags.map(elem => $string(elem)).join(",")}]`},"resumable":${$string(input.resumable)},"mimeType":${$string(input.mimeType)},"encoding":${$string(input.encoding)},"hash":${$string(input.hash)},"btime":${input.btime},"completed":${input.completed},"error":${null !== input.error ? (() => {
|
|
2451
2486
|
if (Array.isArray(input.error))
|
|
2452
2487
|
return `[${input.error.map(elem => $so2(elem)).join(",")}]`;
|
|
2453
2488
|
if ("object" === typeof input.error && null !== input.error)
|
package/dist/domains/settings.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import __typia from "typia";
|
|
2
2
|
export const isSettingsRecord = input => {
|
|
3
3
|
const $iv20 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]);
|
|
4
|
-
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.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io7(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io11(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) && $io12(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io13(input.assignees)) && (undefined === input.comments || "object" === typeof input.comments && null !== input.comments && false === Array.isArray(input.comments) && $io14(input.comments)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io15(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io16(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io17(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io18(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io21(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io22(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io23(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.keymap || "object" === typeof input.keymap && null !== input.keymap && false === Array.isArray(input.keymap) && $io24(input.keymap)) && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io37(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && $io48(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && $io50(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) && $io51(input.storyboard)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && $io60(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io61(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) && $io64(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && $io65(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && $io66(input.notifications));
|
|
4
|
+
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.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io7(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io11(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) && $io12(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io13(input.assignees)) && (undefined === input.comments || "object" === typeof input.comments && null !== input.comments && false === Array.isArray(input.comments) && $io14(input.comments)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io15(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io16(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io17(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io18(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io21(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io22(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io23(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.keymap || "object" === typeof input.keymap && null !== input.keymap && false === Array.isArray(input.keymap) && $io24(input.keymap)) && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io37(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && $io48(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && $io50(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) && $io51(input.storyboard)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && $io60(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io61(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) && $io64(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && $io65(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && $io66(input.notifications)) && (undefined === input.suppressDeleteAlert || "boolean" === typeof input.suppressDeleteAlert);
|
|
5
5
|
const $io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin);
|
|
6
6
|
const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io3(input.tabs);
|
|
7
7
|
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 => {
|
|
@@ -142,7 +142,7 @@ export const isSettingsRecord = input => {
|
|
|
142
142
|
export const assertSettingsRecord = (input, errorFactory) => {
|
|
143
143
|
const __is = input => {
|
|
144
144
|
const $iv20 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]);
|
|
145
|
-
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.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io7(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io11(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) && $io12(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io13(input.assignees)) && (undefined === input.comments || "object" === typeof input.comments && null !== input.comments && false === Array.isArray(input.comments) && $io14(input.comments)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io15(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io16(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io17(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io18(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io21(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io22(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io23(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.keymap || "object" === typeof input.keymap && null !== input.keymap && false === Array.isArray(input.keymap) && $io24(input.keymap)) && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io37(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && $io48(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && $io50(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) && $io51(input.storyboard)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && $io60(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io61(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) && $io64(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && $io65(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && $io66(input.notifications));
|
|
145
|
+
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.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io7(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io11(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) && $io12(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io13(input.assignees)) && (undefined === input.comments || "object" === typeof input.comments && null !== input.comments && false === Array.isArray(input.comments) && $io14(input.comments)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io15(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io16(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io17(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io18(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io21(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io22(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io23(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.keymap || "object" === typeof input.keymap && null !== input.keymap && false === Array.isArray(input.keymap) && $io24(input.keymap)) && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io37(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && $io48(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && $io50(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) && $io51(input.storyboard)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && $io60(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io61(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) && $io64(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && $io65(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && $io66(input.notifications)) && (undefined === input.suppressDeleteAlert || "boolean" === typeof input.suppressDeleteAlert);
|
|
146
146
|
const $io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin);
|
|
147
147
|
const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io3(input.tabs);
|
|
148
148
|
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 => {
|
|
@@ -549,6 +549,10 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
549
549
|
path: _path + ".notifications",
|
|
550
550
|
expected: "(PartialObjectDeep<__type, __type>.o56 | undefined)",
|
|
551
551
|
value: input.notifications
|
|
552
|
+
}, errorFactory)) && (undefined === input.suppressDeleteAlert || "boolean" === typeof input.suppressDeleteAlert || $guard(_exceptionable, {
|
|
553
|
+
path: _path + ".suppressDeleteAlert",
|
|
554
|
+
expected: "(boolean | undefined)",
|
|
555
|
+
value: input.suppressDeleteAlert
|
|
552
556
|
}, errorFactory));
|
|
553
557
|
const $ao1 = (input, _path, _exceptionable = true) => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact || $guard(_exceptionable, {
|
|
554
558
|
path: _path + ".overrideUserContact",
|
|
@@ -1864,6 +1868,10 @@ export const randomSettingsRecord = generator => {
|
|
|
1864
1868
|
notifications: $pick([
|
|
1865
1869
|
() => undefined,
|
|
1866
1870
|
() => $ro66(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1871
|
+
])(),
|
|
1872
|
+
suppressDeleteAlert: $pick([
|
|
1873
|
+
() => undefined,
|
|
1874
|
+
() => (generator?.boolean ?? $generator.boolean)()
|
|
1867
1875
|
])()
|
|
1868
1876
|
});
|
|
1869
1877
|
const $ro1 = (_recursive = false, _depth = 0) => ({
|
|
@@ -2740,7 +2748,7 @@ export const randomSettingsRecord = generator => {
|
|
|
2740
2748
|
export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
2741
2749
|
const __is = input => {
|
|
2742
2750
|
const $iv20 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]);
|
|
2743
|
-
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.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io7(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io11(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) && $io12(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io13(input.assignees)) && (undefined === input.comments || "object" === typeof input.comments && null !== input.comments && false === Array.isArray(input.comments) && $io14(input.comments)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io15(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io16(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io17(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io18(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io21(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io22(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io23(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.keymap || "object" === typeof input.keymap && null !== input.keymap && false === Array.isArray(input.keymap) && $io24(input.keymap)) && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io37(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && $io48(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && $io50(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) && $io51(input.storyboard)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && $io60(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io61(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) && $io64(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && $io65(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && $io66(input.notifications));
|
|
2751
|
+
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.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io7(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io11(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) && $io12(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io13(input.assignees)) && (undefined === input.comments || "object" === typeof input.comments && null !== input.comments && false === Array.isArray(input.comments) && $io14(input.comments)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io15(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io16(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io17(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io18(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io21(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io22(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io23(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.keymap || "object" === typeof input.keymap && null !== input.keymap && false === Array.isArray(input.keymap) && $io24(input.keymap)) && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io37(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && $io48(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && $io50(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) && $io51(input.storyboard)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && $io60(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io61(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) && $io64(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && $io65(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && $io66(input.notifications)) && (undefined === input.suppressDeleteAlert || "boolean" === typeof input.suppressDeleteAlert);
|
|
2744
2752
|
const $io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin);
|
|
2745
2753
|
const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io3(input.tabs);
|
|
2746
2754
|
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 => {
|
|
@@ -3147,6 +3155,10 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
3147
3155
|
path: _path + ".notifications",
|
|
3148
3156
|
expected: "(PartialObjectDeep<__type, __type>.o56 | undefined)",
|
|
3149
3157
|
value: input.notifications
|
|
3158
|
+
}, errorFactory)) && (undefined === input.suppressDeleteAlert || "boolean" === typeof input.suppressDeleteAlert || $guard(_exceptionable, {
|
|
3159
|
+
path: _path + ".suppressDeleteAlert",
|
|
3160
|
+
expected: "(boolean | undefined)",
|
|
3161
|
+
value: input.suppressDeleteAlert
|
|
3150
3162
|
}, errorFactory));
|
|
3151
3163
|
const $ao1 = (input, _path, _exceptionable = true) => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact || $guard(_exceptionable, {
|
|
3152
3164
|
path: _path + ".overrideUserContact",
|
|
@@ -4474,7 +4486,7 @@ export const stringifySettingsRecord = input => {
|
|
|
4474
4486
|
const $tail = __typia.json.createStringify.tail;
|
|
4475
4487
|
const $throws = __typia.json.createStringify.throws;
|
|
4476
4488
|
const $iv43 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]);
|
|
4477
|
-
const $so0 = input => `{${$tail(`${undefined === input.autoLogoutTime ? "" : `"autoLogoutTime":${undefined !== input.autoLogoutTime ? input.autoLogoutTime : undefined},`}${undefined === input.permission ? "" : `"permission":${undefined !== input.permission ? $so1(input.permission) : undefined},`}${undefined === input.module ? "" : `"module":${undefined !== input.module ? $so2(input.module) : undefined},`}${undefined === input.upload ? "" : `"upload":${undefined !== input.upload ? $so6(input.upload) : undefined},`}${undefined === input.browser ? "" : `"browser":${undefined !== input.browser ? $so7(input.browser) : undefined},`}${undefined === input.toolbarTags ? "" : `"toolbarTags":${undefined !== input.toolbarTags ? $so11(input.toolbarTags) : undefined},`}${undefined === input.exclusiveTagGroups ? "" : `"exclusiveTagGroups":${undefined !== input.exclusiveTagGroups ? `[${input.exclusiveTagGroups.map(elem => `[${elem.map(elem => $string(elem)).join(",")}]`).join(",")}]` : undefined},`}${undefined === input.deadlines ? "" : `"deadlines":${undefined !== input.deadlines ? $so12(input.deadlines) : undefined},`}${undefined === input.assignees ? "" : `"assignees":${undefined !== input.assignees ? $so13(input.assignees) : undefined},`}${undefined === input.comments ? "" : `"comments":${undefined !== input.comments ? $so14(input.comments) : undefined},`}${undefined === input.clock ? "" : `"clock":${undefined !== input.clock ? $so15(input.clock) : undefined},`}${undefined === input.swarm ? "" : `"swarm":${undefined !== input.swarm ? $so16(input.swarm) : undefined},`}${undefined === input.dashboard ? "" : `"dashboard":${undefined !== input.dashboard ? $so17(input.dashboard) : undefined},`}${undefined === input.script ? "" : `"script":${undefined !== input.script ? $so18(input.script) : undefined},`}${undefined === input.events ? "" : `"events":${undefined !== input.events ? $so21(input.events) : undefined},`}${undefined === input.rundown ? "" : `"rundown":${undefined !== input.rundown ? $so22(input.rundown) : undefined},`}${undefined === input.gallery ? "" : `"gallery":${undefined !== input.gallery ? $so23(input.gallery) : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.keymap ? "" : `"keymap":${undefined !== input.keymap ? $so24(input.keymap) : undefined},`}${undefined === input.media ? "" : `"media":${undefined !== input.media ? $so37(input.media) : undefined},`}${undefined === input.edit ? "" : `"edit":${undefined !== input.edit ? $so48(input.edit) : undefined},`}${undefined === input.commands ? "" : `"commands":${undefined !== input.commands ? `[${input.commands.map(elem => $so50(elem)).join(",")}]` : undefined},`}${undefined === input.predefinedTags ? "" : `"predefinedTags":${undefined !== input.predefinedTags ? `[${input.predefinedTags.map(elem => $string(elem)).join(",")}]` : undefined},`}${undefined === input.storyboard ? "" : `"storyboard":${undefined !== input.storyboard ? $so51(input.storyboard) : undefined},`}${undefined === input.hiddenPreviews ? "" : `"hiddenPreviews":${undefined !== input.hiddenPreviews ? `[${input.hiddenPreviews.map(elem => `{"id":${$string(elem.id)},"folded":${elem.folded}}`).join(",")}]` : undefined},`}${undefined === input.plugins ? "" : `"plugins":${undefined !== input.plugins ? $so61(input.plugins) : undefined},`}${undefined === input.crashScreen ? "" : `"crashScreen":${undefined !== input.crashScreen ? input.crashScreen : undefined},`}${undefined === input.debug ? "" : `"debug":${undefined !== input.debug ? input.debug : undefined},`}${undefined === input.featurePreview ? "" : `"featurePreview":${undefined !== input.featurePreview ? $so64(input.featurePreview) : undefined},`}${undefined === input.flags ? "" : `"flags":${undefined !== input.flags ? $so65(input.flags) : undefined},`}${undefined === input.notifications ? "" : `"notifications":${undefined !== input.notifications ? $so66(input.notifications) : undefined}`}`)}}`;
|
|
4489
|
+
const $so0 = input => `{${$tail(`${undefined === input.autoLogoutTime ? "" : `"autoLogoutTime":${undefined !== input.autoLogoutTime ? input.autoLogoutTime : undefined},`}${undefined === input.permission ? "" : `"permission":${undefined !== input.permission ? $so1(input.permission) : undefined},`}${undefined === input.module ? "" : `"module":${undefined !== input.module ? $so2(input.module) : undefined},`}${undefined === input.upload ? "" : `"upload":${undefined !== input.upload ? $so6(input.upload) : undefined},`}${undefined === input.browser ? "" : `"browser":${undefined !== input.browser ? $so7(input.browser) : undefined},`}${undefined === input.toolbarTags ? "" : `"toolbarTags":${undefined !== input.toolbarTags ? $so11(input.toolbarTags) : undefined},`}${undefined === input.exclusiveTagGroups ? "" : `"exclusiveTagGroups":${undefined !== input.exclusiveTagGroups ? `[${input.exclusiveTagGroups.map(elem => `[${elem.map(elem => $string(elem)).join(",")}]`).join(",")}]` : undefined},`}${undefined === input.deadlines ? "" : `"deadlines":${undefined !== input.deadlines ? $so12(input.deadlines) : undefined},`}${undefined === input.assignees ? "" : `"assignees":${undefined !== input.assignees ? $so13(input.assignees) : undefined},`}${undefined === input.comments ? "" : `"comments":${undefined !== input.comments ? $so14(input.comments) : undefined},`}${undefined === input.clock ? "" : `"clock":${undefined !== input.clock ? $so15(input.clock) : undefined},`}${undefined === input.swarm ? "" : `"swarm":${undefined !== input.swarm ? $so16(input.swarm) : undefined},`}${undefined === input.dashboard ? "" : `"dashboard":${undefined !== input.dashboard ? $so17(input.dashboard) : undefined},`}${undefined === input.script ? "" : `"script":${undefined !== input.script ? $so18(input.script) : undefined},`}${undefined === input.events ? "" : `"events":${undefined !== input.events ? $so21(input.events) : undefined},`}${undefined === input.rundown ? "" : `"rundown":${undefined !== input.rundown ? $so22(input.rundown) : undefined},`}${undefined === input.gallery ? "" : `"gallery":${undefined !== input.gallery ? $so23(input.gallery) : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.keymap ? "" : `"keymap":${undefined !== input.keymap ? $so24(input.keymap) : undefined},`}${undefined === input.media ? "" : `"media":${undefined !== input.media ? $so37(input.media) : undefined},`}${undefined === input.edit ? "" : `"edit":${undefined !== input.edit ? $so48(input.edit) : undefined},`}${undefined === input.commands ? "" : `"commands":${undefined !== input.commands ? `[${input.commands.map(elem => $so50(elem)).join(",")}]` : undefined},`}${undefined === input.predefinedTags ? "" : `"predefinedTags":${undefined !== input.predefinedTags ? `[${input.predefinedTags.map(elem => $string(elem)).join(",")}]` : undefined},`}${undefined === input.storyboard ? "" : `"storyboard":${undefined !== input.storyboard ? $so51(input.storyboard) : undefined},`}${undefined === input.hiddenPreviews ? "" : `"hiddenPreviews":${undefined !== input.hiddenPreviews ? `[${input.hiddenPreviews.map(elem => `{"id":${$string(elem.id)},"folded":${elem.folded}}`).join(",")}]` : undefined},`}${undefined === input.plugins ? "" : `"plugins":${undefined !== input.plugins ? $so61(input.plugins) : undefined},`}${undefined === input.crashScreen ? "" : `"crashScreen":${undefined !== input.crashScreen ? input.crashScreen : undefined},`}${undefined === input.debug ? "" : `"debug":${undefined !== input.debug ? input.debug : undefined},`}${undefined === input.featurePreview ? "" : `"featurePreview":${undefined !== input.featurePreview ? $so64(input.featurePreview) : undefined},`}${undefined === input.flags ? "" : `"flags":${undefined !== input.flags ? $so65(input.flags) : undefined},`}${undefined === input.notifications ? "" : `"notifications":${undefined !== input.notifications ? $so66(input.notifications) : undefined},`}${undefined === input.suppressDeleteAlert ? "" : `"suppressDeleteAlert":${undefined !== input.suppressDeleteAlert ? input.suppressDeleteAlert : undefined}`}`)}}`;
|
|
4478
4490
|
const $so1 = input => `{${$tail(`${undefined === input.overrideUserContact ? "" : `"overrideUserContact":${undefined !== input.overrideUserContact ? input.overrideUserContact : undefined},`}${undefined === input.overrideUserLogin ? "" : `"overrideUserLogin":${undefined !== input.overrideUserLogin ? input.overrideUserLogin : undefined}`}`)}}`;
|
|
4479
4491
|
const $so2 = input => `{${$tail(`${undefined === input.tabs ? "" : `"tabs":${undefined !== input.tabs ? $so3(input.tabs) : undefined}`}`)}}`;
|
|
4480
4492
|
const $so3 = input => `{${$tail(`${undefined === input.settingsPanelStore ? "" : `"settingsPanelStore":${undefined !== input.settingsPanelStore ? $so4(input.settingsPanelStore) : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
@@ -4669,7 +4681,7 @@ export const stringifySettingsRecord = input => {
|
|
|
4669
4681
|
export const assertStringifySettingsRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
4670
4682
|
const __is = input => {
|
|
4671
4683
|
const $iv20 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]);
|
|
4672
|
-
const $io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime && !Number.isNaN(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.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io7(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io11(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) && $io12(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io13(input.assignees)) && (undefined === input.comments || "object" === typeof input.comments && null !== input.comments && false === Array.isArray(input.comments) && $io14(input.comments)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io15(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io16(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io17(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io18(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io21(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io22(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io23(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.keymap || "object" === typeof input.keymap && null !== input.keymap && false === Array.isArray(input.keymap) && $io24(input.keymap)) && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io37(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && $io48(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && $io50(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) && $io51(input.storyboard)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && $io60(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io61(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) && $io64(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && $io65(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && $io66(input.notifications));
|
|
4684
|
+
const $io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime && !Number.isNaN(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.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io7(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io11(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) && $io12(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io13(input.assignees)) && (undefined === input.comments || "object" === typeof input.comments && null !== input.comments && false === Array.isArray(input.comments) && $io14(input.comments)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io15(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io16(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io17(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io18(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io21(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io22(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io23(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.keymap || "object" === typeof input.keymap && null !== input.keymap && false === Array.isArray(input.keymap) && $io24(input.keymap)) && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io37(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && $io48(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && $io50(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) && $io51(input.storyboard)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && $io60(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io61(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) && $io64(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && $io65(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && $io66(input.notifications)) && (undefined === input.suppressDeleteAlert || "boolean" === typeof input.suppressDeleteAlert);
|
|
4673
4685
|
const $io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin);
|
|
4674
4686
|
const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io3(input.tabs);
|
|
4675
4687
|
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 => {
|
|
@@ -5076,6 +5088,10 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
5076
5088
|
path: _path + ".notifications",
|
|
5077
5089
|
expected: "(PartialObjectDeep<__type, __type>.o56 | undefined)",
|
|
5078
5090
|
value: input.notifications
|
|
5091
|
+
}, errorFactory)) && (undefined === input.suppressDeleteAlert || "boolean" === typeof input.suppressDeleteAlert || $guard(_exceptionable, {
|
|
5092
|
+
path: _path + ".suppressDeleteAlert",
|
|
5093
|
+
expected: "(boolean | undefined)",
|
|
5094
|
+
value: input.suppressDeleteAlert
|
|
5079
5095
|
}, errorFactory));
|
|
5080
5096
|
const $ao1 = (input, _path, _exceptionable = true) => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact || $guard(_exceptionable, {
|
|
5081
5097
|
path: _path + ".overrideUserContact",
|
|
@@ -6403,7 +6419,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
6403
6419
|
const $tail = __typia.json.createAssertStringify.tail;
|
|
6404
6420
|
const $throws = __typia.json.createAssertStringify.throws;
|
|
6405
6421
|
const $iv43 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]);
|
|
6406
|
-
const $so0 = input => `{${$tail(`${undefined === input.autoLogoutTime ? "" : `"autoLogoutTime":${undefined !== input.autoLogoutTime ? input.autoLogoutTime : undefined},`}${undefined === input.permission ? "" : `"permission":${undefined !== input.permission ? $so1(input.permission) : undefined},`}${undefined === input.module ? "" : `"module":${undefined !== input.module ? $so2(input.module) : undefined},`}${undefined === input.upload ? "" : `"upload":${undefined !== input.upload ? $so6(input.upload) : undefined},`}${undefined === input.browser ? "" : `"browser":${undefined !== input.browser ? $so7(input.browser) : undefined},`}${undefined === input.toolbarTags ? "" : `"toolbarTags":${undefined !== input.toolbarTags ? $so11(input.toolbarTags) : undefined},`}${undefined === input.exclusiveTagGroups ? "" : `"exclusiveTagGroups":${undefined !== input.exclusiveTagGroups ? `[${input.exclusiveTagGroups.map(elem => `[${elem.map(elem => $string(elem)).join(",")}]`).join(",")}]` : undefined},`}${undefined === input.deadlines ? "" : `"deadlines":${undefined !== input.deadlines ? $so12(input.deadlines) : undefined},`}${undefined === input.assignees ? "" : `"assignees":${undefined !== input.assignees ? $so13(input.assignees) : undefined},`}${undefined === input.comments ? "" : `"comments":${undefined !== input.comments ? $so14(input.comments) : undefined},`}${undefined === input.clock ? "" : `"clock":${undefined !== input.clock ? $so15(input.clock) : undefined},`}${undefined === input.swarm ? "" : `"swarm":${undefined !== input.swarm ? $so16(input.swarm) : undefined},`}${undefined === input.dashboard ? "" : `"dashboard":${undefined !== input.dashboard ? $so17(input.dashboard) : undefined},`}${undefined === input.script ? "" : `"script":${undefined !== input.script ? $so18(input.script) : undefined},`}${undefined === input.events ? "" : `"events":${undefined !== input.events ? $so21(input.events) : undefined},`}${undefined === input.rundown ? "" : `"rundown":${undefined !== input.rundown ? $so22(input.rundown) : undefined},`}${undefined === input.gallery ? "" : `"gallery":${undefined !== input.gallery ? $so23(input.gallery) : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.keymap ? "" : `"keymap":${undefined !== input.keymap ? $so24(input.keymap) : undefined},`}${undefined === input.media ? "" : `"media":${undefined !== input.media ? $so37(input.media) : undefined},`}${undefined === input.edit ? "" : `"edit":${undefined !== input.edit ? $so48(input.edit) : undefined},`}${undefined === input.commands ? "" : `"commands":${undefined !== input.commands ? `[${input.commands.map(elem => $so50(elem)).join(",")}]` : undefined},`}${undefined === input.predefinedTags ? "" : `"predefinedTags":${undefined !== input.predefinedTags ? `[${input.predefinedTags.map(elem => $string(elem)).join(",")}]` : undefined},`}${undefined === input.storyboard ? "" : `"storyboard":${undefined !== input.storyboard ? $so51(input.storyboard) : undefined},`}${undefined === input.hiddenPreviews ? "" : `"hiddenPreviews":${undefined !== input.hiddenPreviews ? `[${input.hiddenPreviews.map(elem => `{"id":${$string(elem.id)},"folded":${elem.folded}}`).join(",")}]` : undefined},`}${undefined === input.plugins ? "" : `"plugins":${undefined !== input.plugins ? $so61(input.plugins) : undefined},`}${undefined === input.crashScreen ? "" : `"crashScreen":${undefined !== input.crashScreen ? input.crashScreen : undefined},`}${undefined === input.debug ? "" : `"debug":${undefined !== input.debug ? input.debug : undefined},`}${undefined === input.featurePreview ? "" : `"featurePreview":${undefined !== input.featurePreview ? $so64(input.featurePreview) : undefined},`}${undefined === input.flags ? "" : `"flags":${undefined !== input.flags ? $so65(input.flags) : undefined},`}${undefined === input.notifications ? "" : `"notifications":${undefined !== input.notifications ? $so66(input.notifications) : undefined}`}`)}}`;
|
|
6422
|
+
const $so0 = input => `{${$tail(`${undefined === input.autoLogoutTime ? "" : `"autoLogoutTime":${undefined !== input.autoLogoutTime ? input.autoLogoutTime : undefined},`}${undefined === input.permission ? "" : `"permission":${undefined !== input.permission ? $so1(input.permission) : undefined},`}${undefined === input.module ? "" : `"module":${undefined !== input.module ? $so2(input.module) : undefined},`}${undefined === input.upload ? "" : `"upload":${undefined !== input.upload ? $so6(input.upload) : undefined},`}${undefined === input.browser ? "" : `"browser":${undefined !== input.browser ? $so7(input.browser) : undefined},`}${undefined === input.toolbarTags ? "" : `"toolbarTags":${undefined !== input.toolbarTags ? $so11(input.toolbarTags) : undefined},`}${undefined === input.exclusiveTagGroups ? "" : `"exclusiveTagGroups":${undefined !== input.exclusiveTagGroups ? `[${input.exclusiveTagGroups.map(elem => `[${elem.map(elem => $string(elem)).join(",")}]`).join(",")}]` : undefined},`}${undefined === input.deadlines ? "" : `"deadlines":${undefined !== input.deadlines ? $so12(input.deadlines) : undefined},`}${undefined === input.assignees ? "" : `"assignees":${undefined !== input.assignees ? $so13(input.assignees) : undefined},`}${undefined === input.comments ? "" : `"comments":${undefined !== input.comments ? $so14(input.comments) : undefined},`}${undefined === input.clock ? "" : `"clock":${undefined !== input.clock ? $so15(input.clock) : undefined},`}${undefined === input.swarm ? "" : `"swarm":${undefined !== input.swarm ? $so16(input.swarm) : undefined},`}${undefined === input.dashboard ? "" : `"dashboard":${undefined !== input.dashboard ? $so17(input.dashboard) : undefined},`}${undefined === input.script ? "" : `"script":${undefined !== input.script ? $so18(input.script) : undefined},`}${undefined === input.events ? "" : `"events":${undefined !== input.events ? $so21(input.events) : undefined},`}${undefined === input.rundown ? "" : `"rundown":${undefined !== input.rundown ? $so22(input.rundown) : undefined},`}${undefined === input.gallery ? "" : `"gallery":${undefined !== input.gallery ? $so23(input.gallery) : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.keymap ? "" : `"keymap":${undefined !== input.keymap ? $so24(input.keymap) : undefined},`}${undefined === input.media ? "" : `"media":${undefined !== input.media ? $so37(input.media) : undefined},`}${undefined === input.edit ? "" : `"edit":${undefined !== input.edit ? $so48(input.edit) : undefined},`}${undefined === input.commands ? "" : `"commands":${undefined !== input.commands ? `[${input.commands.map(elem => $so50(elem)).join(",")}]` : undefined},`}${undefined === input.predefinedTags ? "" : `"predefinedTags":${undefined !== input.predefinedTags ? `[${input.predefinedTags.map(elem => $string(elem)).join(",")}]` : undefined},`}${undefined === input.storyboard ? "" : `"storyboard":${undefined !== input.storyboard ? $so51(input.storyboard) : undefined},`}${undefined === input.hiddenPreviews ? "" : `"hiddenPreviews":${undefined !== input.hiddenPreviews ? `[${input.hiddenPreviews.map(elem => `{"id":${$string(elem.id)},"folded":${elem.folded}}`).join(",")}]` : undefined},`}${undefined === input.plugins ? "" : `"plugins":${undefined !== input.plugins ? $so61(input.plugins) : undefined},`}${undefined === input.crashScreen ? "" : `"crashScreen":${undefined !== input.crashScreen ? input.crashScreen : undefined},`}${undefined === input.debug ? "" : `"debug":${undefined !== input.debug ? input.debug : undefined},`}${undefined === input.featurePreview ? "" : `"featurePreview":${undefined !== input.featurePreview ? $so64(input.featurePreview) : undefined},`}${undefined === input.flags ? "" : `"flags":${undefined !== input.flags ? $so65(input.flags) : undefined},`}${undefined === input.notifications ? "" : `"notifications":${undefined !== input.notifications ? $so66(input.notifications) : undefined},`}${undefined === input.suppressDeleteAlert ? "" : `"suppressDeleteAlert":${undefined !== input.suppressDeleteAlert ? input.suppressDeleteAlert : undefined}`}`)}}`;
|
|
6407
6423
|
const $so1 = input => `{${$tail(`${undefined === input.overrideUserContact ? "" : `"overrideUserContact":${undefined !== input.overrideUserContact ? input.overrideUserContact : undefined},`}${undefined === input.overrideUserLogin ? "" : `"overrideUserLogin":${undefined !== input.overrideUserLogin ? input.overrideUserLogin : undefined}`}`)}}`;
|
|
6408
6424
|
const $so2 = input => `{${$tail(`${undefined === input.tabs ? "" : `"tabs":${undefined !== input.tabs ? $so3(input.tabs) : undefined}`}`)}}`;
|
|
6409
6425
|
const $so3 = input => `{${$tail(`${undefined === input.settingsPanelStore ? "" : `"settingsPanelStore":${undefined !== input.settingsPanelStore ? $so4(input.settingsPanelStore) : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
|