@nxtedition/types 23.0.12 → 23.0.13
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/app.d.ts +61 -1
- package/dist/app.js +218 -10
- package/dist/common/index.d.ts +1 -0
- package/dist/common/index.js +1 -0
- package/dist/common/settings.d.ts +34 -6
- package/dist/common/settings.js +1399 -535
- package/dist/common/user-notification.d.ts +8 -0
- package/dist/common/user-notification.js +85 -0
- package/dist/domains/asset.d.ts +23 -0
- package/dist/domains/asset.js +248 -0
- package/dist/domains/comment-reaction.d.ts +15 -0
- package/dist/domains/comment-reaction.js +115 -0
- package/dist/domains/comment-read-mark.d.ts +15 -0
- package/dist/domains/comment-read-mark.js +115 -0
- package/dist/domains/comment.d.ts +153 -0
- package/dist/domains/comment.js +5729 -0
- package/dist/domains/connection.d.ts +1 -1
- package/dist/domains/connection.js +118 -118
- package/dist/domains/deepstream.d.ts +14 -0
- package/dist/domains/deepstream.js +139 -0
- package/dist/domains/edit.d.ts +17 -0
- package/dist/domains/edit.js +224 -0
- package/dist/domains/index.d.ts +17 -1
- package/dist/domains/index.js +8 -0
- package/dist/domains/planning.d.ts +1 -1
- package/dist/domains/planning.js +29 -23
- package/dist/domains/publish.d.ts +1 -0
- package/dist/domains/publish.js +142 -46
- package/dist/domains/published.d.ts +2 -1
- package/dist/domains/published.js +50 -10
- package/dist/domains/settings.js +1401 -534
- package/dist/domains/subtitle-style.d.ts +13 -0
- package/dist/domains/subtitle-style.js +123 -0
- package/dist/domains/user-notification-status.d.ts +55 -0
- package/dist/domains/user-notification-status.js +715 -0
- package/dist/domains/user-notification.d.ts +118 -0
- package/dist/domains/user-notification.js +3040 -0
- package/dist/domains/user.d.ts +42 -8
- package/dist/domains/user.js +352 -12
- package/dist/index.d.ts +23 -1
- package/dist/index.js +30 -13
- package/dist/schema.json +1438 -35
- package/package.json +1 -1
package/dist/domains/publish.js
CHANGED
|
@@ -19,7 +19,7 @@ export const isPublishRecord = input => {
|
|
|
19
19
|
return true;
|
|
20
20
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io9(value);
|
|
21
21
|
});
|
|
22
|
-
const $io9 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
|
|
22
|
+
const $io9 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene);
|
|
23
23
|
const $io10 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && Object.keys(input).every(key => {
|
|
24
24
|
if (["directory", "filename"].some(prop => key === prop))
|
|
25
25
|
return true;
|
|
@@ -84,7 +84,7 @@ export const assertPublishRecord = (input, errorFactory) => {
|
|
|
84
84
|
return true;
|
|
85
85
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io9(value);
|
|
86
86
|
});
|
|
87
|
-
const $io9 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
|
|
87
|
+
const $io9 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene);
|
|
88
88
|
const $io10 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && Object.keys(input).every(key => {
|
|
89
89
|
if (["directory", "filename"].some(prop => key === prop))
|
|
90
90
|
return true;
|
|
@@ -427,6 +427,10 @@ export const assertPublishRecord = (input, errorFactory) => {
|
|
|
427
427
|
path: _path + ".scene",
|
|
428
428
|
expected: "(string | undefined)",
|
|
429
429
|
value: input.scene
|
|
430
|
+
}, errorFactory)) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene || $guard(_exceptionable, {
|
|
431
|
+
path: _path + ".ignoreEmptyScene",
|
|
432
|
+
expected: "(boolean | undefined)",
|
|
433
|
+
value: input.ignoreEmptyScene
|
|
430
434
|
}, errorFactory));
|
|
431
435
|
const $ao10 = (input, _path, _exceptionable = true) => (undefined === input.directory || "string" === typeof input.directory || $guard(_exceptionable, {
|
|
432
436
|
path: _path + ".directory",
|
|
@@ -751,6 +755,10 @@ export const randomPublishRecord = generator => {
|
|
|
751
755
|
scene: $pick([
|
|
752
756
|
() => undefined,
|
|
753
757
|
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
758
|
+
])(),
|
|
759
|
+
ignoreEmptyScene: $pick([
|
|
760
|
+
() => undefined,
|
|
761
|
+
() => (generator?.boolean ?? $generator.boolean)()
|
|
754
762
|
])()
|
|
755
763
|
});
|
|
756
764
|
const $ro10 = (_recursive = false, _depth = 0) => {
|
|
@@ -857,7 +865,7 @@ export const assertGuardPublishRecord = (input, errorFactory) => {
|
|
|
857
865
|
return true;
|
|
858
866
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io9(value);
|
|
859
867
|
});
|
|
860
|
-
const $io9 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
|
|
868
|
+
const $io9 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene);
|
|
861
869
|
const $io10 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && Object.keys(input).every(key => {
|
|
862
870
|
if (["directory", "filename"].some(prop => key === prop))
|
|
863
871
|
return true;
|
|
@@ -1200,6 +1208,10 @@ export const assertGuardPublishRecord = (input, errorFactory) => {
|
|
|
1200
1208
|
path: _path + ".scene",
|
|
1201
1209
|
expected: "(string | undefined)",
|
|
1202
1210
|
value: input.scene
|
|
1211
|
+
}, errorFactory)) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene || $guard(_exceptionable, {
|
|
1212
|
+
path: _path + ".ignoreEmptyScene",
|
|
1213
|
+
expected: "(boolean | undefined)",
|
|
1214
|
+
value: input.ignoreEmptyScene
|
|
1203
1215
|
}, errorFactory));
|
|
1204
1216
|
const $ao10 = (input, _path, _exceptionable = true) => (undefined === input.directory || "string" === typeof input.directory || $guard(_exceptionable, {
|
|
1205
1217
|
path: _path + ".directory",
|
|
@@ -1349,7 +1361,7 @@ export const stringifyPublishRecord = input => {
|
|
|
1349
1361
|
return true;
|
|
1350
1362
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io9(value);
|
|
1351
1363
|
});
|
|
1352
|
-
const $io9 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
|
|
1364
|
+
const $io9 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene);
|
|
1353
1365
|
const $io10 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && Object.keys(input).every(key => {
|
|
1354
1366
|
if (["directory", "filename"].some(prop => key === prop))
|
|
1355
1367
|
return true;
|
|
@@ -1429,7 +1441,7 @@ export const stringifyPublishRecord = input => {
|
|
|
1429
1441
|
expected: "(\"overwrite\" | \"skip\" | undefined)",
|
|
1430
1442
|
value: input.collisionStrategy
|
|
1431
1443
|
});
|
|
1432
|
-
})() : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? $string(input.preset) : undefined},`}${undefined === input.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.profile || "function" === typeof input.profile ? "" : `"profile":${undefined !== input.profile ? JSON.stringify(input.profile) : undefined},`}${undefined === input.scene ? "" : `"scene":${undefined !== input.scene ? $string(input.scene) : undefined}`}`)}}`;
|
|
1444
|
+
})() : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? $string(input.preset) : undefined},`}${undefined === input.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.profile || "function" === typeof input.profile ? "" : `"profile":${undefined !== input.profile ? JSON.stringify(input.profile) : undefined},`}${undefined === input.scene ? "" : `"scene":${undefined !== input.scene ? $string(input.scene) : undefined},`}${undefined === input.ignoreEmptyScene ? "" : `"ignoreEmptyScene":${undefined !== input.ignoreEmptyScene ? input.ignoreEmptyScene : undefined}`}`)}}`;
|
|
1433
1445
|
const $so10 = input => `{${$tail(`${undefined === input.directory ? "" : `"directory":${undefined !== input.directory ? $string(input.directory) : undefined},`}${undefined === input.filename ? "" : `"filename":${undefined !== input.filename ? $string(input.filename) : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
1434
1446
|
return ""; if (["directory", "filename"].some(regular => regular === key))
|
|
1435
1447
|
return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}`)}}`;
|
|
@@ -1478,7 +1490,7 @@ export const assertStringifyPublishRecord = (input, errorFactory) => { const ass
|
|
|
1478
1490
|
return true;
|
|
1479
1491
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io9(value);
|
|
1480
1492
|
});
|
|
1481
|
-
const $io9 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
|
|
1493
|
+
const $io9 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene);
|
|
1482
1494
|
const $io10 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && Object.keys(input).every(key => {
|
|
1483
1495
|
if (["directory", "filename"].some(prop => key === prop))
|
|
1484
1496
|
return true;
|
|
@@ -1821,6 +1833,10 @@ export const assertStringifyPublishRecord = (input, errorFactory) => { const ass
|
|
|
1821
1833
|
path: _path + ".scene",
|
|
1822
1834
|
expected: "(string | undefined)",
|
|
1823
1835
|
value: input.scene
|
|
1836
|
+
}, errorFactory)) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene || $guard(_exceptionable, {
|
|
1837
|
+
path: _path + ".ignoreEmptyScene",
|
|
1838
|
+
expected: "(boolean | undefined)",
|
|
1839
|
+
value: input.ignoreEmptyScene
|
|
1824
1840
|
}, errorFactory));
|
|
1825
1841
|
const $ao10 = (input, _path, _exceptionable = true) => (undefined === input.directory || "string" === typeof input.directory || $guard(_exceptionable, {
|
|
1826
1842
|
path: _path + ".directory",
|
|
@@ -1970,7 +1986,7 @@ export const assertStringifyPublishRecord = (input, errorFactory) => { const ass
|
|
|
1970
1986
|
return true;
|
|
1971
1987
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io9(value);
|
|
1972
1988
|
});
|
|
1973
|
-
const $io9 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
|
|
1989
|
+
const $io9 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene);
|
|
1974
1990
|
const $io10 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && Object.keys(input).every(key => {
|
|
1975
1991
|
if (["directory", "filename"].some(prop => key === prop))
|
|
1976
1992
|
return true;
|
|
@@ -2050,7 +2066,7 @@ export const assertStringifyPublishRecord = (input, errorFactory) => { const ass
|
|
|
2050
2066
|
expected: "(\"overwrite\" | \"skip\" | undefined)",
|
|
2051
2067
|
value: input.collisionStrategy
|
|
2052
2068
|
});
|
|
2053
|
-
})() : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? $string(input.preset) : undefined},`}${undefined === input.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.profile || "function" === typeof input.profile ? "" : `"profile":${undefined !== input.profile ? JSON.stringify(input.profile) : undefined},`}${undefined === input.scene ? "" : `"scene":${undefined !== input.scene ? $string(input.scene) : undefined}`}`)}}`;
|
|
2069
|
+
})() : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? $string(input.preset) : undefined},`}${undefined === input.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.profile || "function" === typeof input.profile ? "" : `"profile":${undefined !== input.profile ? JSON.stringify(input.profile) : undefined},`}${undefined === input.scene ? "" : `"scene":${undefined !== input.scene ? $string(input.scene) : undefined},`}${undefined === input.ignoreEmptyScene ? "" : `"ignoreEmptyScene":${undefined !== input.ignoreEmptyScene ? input.ignoreEmptyScene : undefined}`}`)}}`;
|
|
2054
2070
|
const $so10 = input => `{${$tail(`${undefined === input.directory ? "" : `"directory":${undefined !== input.directory ? $string(input.directory) : undefined},`}${undefined === input.filename ? "" : `"filename":${undefined !== input.filename ? $string(input.filename) : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
2055
2071
|
return ""; if (["directory", "filename"].some(regular => regular === key))
|
|
2056
2072
|
return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}`)}}`;
|
|
@@ -2118,7 +2134,7 @@ export const isPublishStatsRecord = input => {
|
|
|
2118
2134
|
return true;
|
|
2119
2135
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io10(value);
|
|
2120
2136
|
});
|
|
2121
|
-
const $io10 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
|
|
2137
|
+
const $io10 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene);
|
|
2122
2138
|
const $iu0 = input => (() => {
|
|
2123
2139
|
if ($io4(input))
|
|
2124
2140
|
return $io4(input);
|
|
@@ -2171,7 +2187,7 @@ export const assertPublishStatsRecord = (input, errorFactory) => {
|
|
|
2171
2187
|
return true;
|
|
2172
2188
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io10(value);
|
|
2173
2189
|
});
|
|
2174
|
-
const $io10 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
|
|
2190
|
+
const $io10 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene);
|
|
2175
2191
|
const $iu0 = input => (() => {
|
|
2176
2192
|
if ($io4(input))
|
|
2177
2193
|
return $io4(input);
|
|
@@ -2442,6 +2458,10 @@ export const assertPublishStatsRecord = (input, errorFactory) => {
|
|
|
2442
2458
|
path: _path + ".scene",
|
|
2443
2459
|
expected: "(string | undefined)",
|
|
2444
2460
|
value: input.scene
|
|
2461
|
+
}, errorFactory)) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene || $guard(_exceptionable, {
|
|
2462
|
+
path: _path + ".ignoreEmptyScene",
|
|
2463
|
+
expected: "(boolean | undefined)",
|
|
2464
|
+
value: input.ignoreEmptyScene
|
|
2445
2465
|
}, errorFactory));
|
|
2446
2466
|
const $au0 = (input, _path, _exceptionable = true) => $ao4(input, _path, false && _exceptionable) || $ao3(input, _path, false && _exceptionable) || $ao0(input, _path, false && _exceptionable) || $guard(_exceptionable, {
|
|
2447
2467
|
path: _path,
|
|
@@ -2616,6 +2636,10 @@ export const randomPublishStatsRecord = generator => {
|
|
|
2616
2636
|
scene: $pick([
|
|
2617
2637
|
() => undefined,
|
|
2618
2638
|
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
2639
|
+
])(),
|
|
2640
|
+
ignoreEmptyScene: $pick([
|
|
2641
|
+
() => undefined,
|
|
2642
|
+
() => (generator?.boolean ?? $generator.boolean)()
|
|
2619
2643
|
])()
|
|
2620
2644
|
});
|
|
2621
2645
|
return $pick([
|
|
@@ -2665,7 +2689,7 @@ export const assertGuardPublishStatsRecord = (input, errorFactory) => {
|
|
|
2665
2689
|
return true;
|
|
2666
2690
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io10(value);
|
|
2667
2691
|
});
|
|
2668
|
-
const $io10 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
|
|
2692
|
+
const $io10 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene);
|
|
2669
2693
|
const $iu0 = input => (() => {
|
|
2670
2694
|
if ($io4(input))
|
|
2671
2695
|
return $io4(input);
|
|
@@ -2936,6 +2960,10 @@ export const assertGuardPublishStatsRecord = (input, errorFactory) => {
|
|
|
2936
2960
|
path: _path + ".scene",
|
|
2937
2961
|
expected: "(string | undefined)",
|
|
2938
2962
|
value: input.scene
|
|
2963
|
+
}, errorFactory)) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene || $guard(_exceptionable, {
|
|
2964
|
+
path: _path + ".ignoreEmptyScene",
|
|
2965
|
+
expected: "(boolean | undefined)",
|
|
2966
|
+
value: input.ignoreEmptyScene
|
|
2939
2967
|
}, errorFactory));
|
|
2940
2968
|
const $au0 = (input, _path, _exceptionable = true) => $ao4(input, _path, false && _exceptionable) || $ao3(input, _path, false && _exceptionable) || $ao0(input, _path, false && _exceptionable) || $guard(_exceptionable, {
|
|
2941
2969
|
path: _path,
|
|
@@ -2993,7 +3021,7 @@ export const stringifyPublishStatsRecord = input => {
|
|
|
2993
3021
|
return true;
|
|
2994
3022
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io10(value);
|
|
2995
3023
|
});
|
|
2996
|
-
const $io10 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
|
|
3024
|
+
const $io10 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene);
|
|
2997
3025
|
const $string = __typia.json.createStringify.string;
|
|
2998
3026
|
const $tail = __typia.json.createStringify.tail;
|
|
2999
3027
|
const $throws = __typia.json.createStringify.throws;
|
|
@@ -3022,7 +3050,7 @@ export const stringifyPublishStatsRecord = input => {
|
|
|
3022
3050
|
expected: "(\"overwrite\" | \"skip\" | undefined)",
|
|
3023
3051
|
value: input.collisionStrategy
|
|
3024
3052
|
});
|
|
3025
|
-
})() : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? $string(input.preset) : undefined},`}${undefined === input.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.profile || "function" === typeof input.profile ? "" : `"profile":${undefined !== input.profile ? JSON.stringify(input.profile) : undefined},`}${undefined === input.scene ? "" : `"scene":${undefined !== input.scene ? $string(input.scene) : undefined}`}`)}}`;
|
|
3053
|
+
})() : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? $string(input.preset) : undefined},`}${undefined === input.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.profile || "function" === typeof input.profile ? "" : `"profile":${undefined !== input.profile ? JSON.stringify(input.profile) : undefined},`}${undefined === input.scene ? "" : `"scene":${undefined !== input.scene ? $string(input.scene) : undefined},`}${undefined === input.ignoreEmptyScene ? "" : `"ignoreEmptyScene":${undefined !== input.ignoreEmptyScene ? input.ignoreEmptyScene : undefined}`}`)}}`;
|
|
3026
3054
|
const $su0 = input => (() => {
|
|
3027
3055
|
if ($io4(input))
|
|
3028
3056
|
return $so4(input);
|
|
@@ -3078,7 +3106,7 @@ export const assertStringifyPublishStatsRecord = (input, errorFactory) => { cons
|
|
|
3078
3106
|
return true;
|
|
3079
3107
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io10(value);
|
|
3080
3108
|
});
|
|
3081
|
-
const $io10 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
|
|
3109
|
+
const $io10 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene);
|
|
3082
3110
|
const $iu0 = input => (() => {
|
|
3083
3111
|
if ($io4(input))
|
|
3084
3112
|
return $io4(input);
|
|
@@ -3349,6 +3377,10 @@ export const assertStringifyPublishStatsRecord = (input, errorFactory) => { cons
|
|
|
3349
3377
|
path: _path + ".scene",
|
|
3350
3378
|
expected: "(string | undefined)",
|
|
3351
3379
|
value: input.scene
|
|
3380
|
+
}, errorFactory)) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene || $guard(_exceptionable, {
|
|
3381
|
+
path: _path + ".ignoreEmptyScene",
|
|
3382
|
+
expected: "(boolean | undefined)",
|
|
3383
|
+
value: input.ignoreEmptyScene
|
|
3352
3384
|
}, errorFactory));
|
|
3353
3385
|
const $au0 = (input, _path, _exceptionable = true) => $ao4(input, _path, false && _exceptionable) || $ao3(input, _path, false && _exceptionable) || $ao0(input, _path, false && _exceptionable) || $guard(_exceptionable, {
|
|
3354
3386
|
path: _path,
|
|
@@ -3406,7 +3438,7 @@ export const assertStringifyPublishStatsRecord = (input, errorFactory) => { cons
|
|
|
3406
3438
|
return true;
|
|
3407
3439
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io10(value);
|
|
3408
3440
|
});
|
|
3409
|
-
const $io10 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
|
|
3441
|
+
const $io10 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene);
|
|
3410
3442
|
const $string = __typia.json.createAssertStringify.string;
|
|
3411
3443
|
const $tail = __typia.json.createAssertStringify.tail;
|
|
3412
3444
|
const $throws = __typia.json.createAssertStringify.throws;
|
|
@@ -3435,7 +3467,7 @@ export const assertStringifyPublishStatsRecord = (input, errorFactory) => { cons
|
|
|
3435
3467
|
expected: "(\"overwrite\" | \"skip\" | undefined)",
|
|
3436
3468
|
value: input.collisionStrategy
|
|
3437
3469
|
});
|
|
3438
|
-
})() : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? $string(input.preset) : undefined},`}${undefined === input.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.profile || "function" === typeof input.profile ? "" : `"profile":${undefined !== input.profile ? JSON.stringify(input.profile) : undefined},`}${undefined === input.scene ? "" : `"scene":${undefined !== input.scene ? $string(input.scene) : undefined}`}`)}}`;
|
|
3470
|
+
})() : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? $string(input.preset) : undefined},`}${undefined === input.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.profile || "function" === typeof input.profile ? "" : `"profile":${undefined !== input.profile ? JSON.stringify(input.profile) : undefined},`}${undefined === input.scene ? "" : `"scene":${undefined !== input.scene ? $string(input.scene) : undefined},`}${undefined === input.ignoreEmptyScene ? "" : `"ignoreEmptyScene":${undefined !== input.ignoreEmptyScene ? input.ignoreEmptyScene : undefined}`}`)}}`;
|
|
3439
3471
|
const $su0 = input => (() => {
|
|
3440
3472
|
if ($io4(input))
|
|
3441
3473
|
return $so4(input);
|
|
@@ -5534,7 +5566,7 @@ export const isFilePublishRecord = input => {
|
|
|
5534
5566
|
return true;
|
|
5535
5567
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io2(value);
|
|
5536
5568
|
});
|
|
5537
|
-
const $io2 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
|
|
5569
|
+
const $io2 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene);
|
|
5538
5570
|
const $io3 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && Object.keys(input).every(key => {
|
|
5539
5571
|
if (["directory", "filename"].some(prop => key === prop))
|
|
5540
5572
|
return true;
|
|
@@ -5579,7 +5611,7 @@ export const assertFilePublishRecord = (input, errorFactory) => {
|
|
|
5579
5611
|
return true;
|
|
5580
5612
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io2(value);
|
|
5581
5613
|
});
|
|
5582
|
-
const $io2 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
|
|
5614
|
+
const $io2 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene);
|
|
5583
5615
|
const $io3 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && Object.keys(input).every(key => {
|
|
5584
5616
|
if (["directory", "filename"].some(prop => key === prop))
|
|
5585
5617
|
return true;
|
|
@@ -5734,6 +5766,10 @@ export const assertFilePublishRecord = (input, errorFactory) => {
|
|
|
5734
5766
|
path: _path + ".scene",
|
|
5735
5767
|
expected: "(string | undefined)",
|
|
5736
5768
|
value: input.scene
|
|
5769
|
+
}, errorFactory)) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene || $guard(_exceptionable, {
|
|
5770
|
+
path: _path + ".ignoreEmptyScene",
|
|
5771
|
+
expected: "(boolean | undefined)",
|
|
5772
|
+
value: input.ignoreEmptyScene
|
|
5737
5773
|
}, errorFactory));
|
|
5738
5774
|
const $ao3 = (input, _path, _exceptionable = true) => (undefined === input.directory || "string" === typeof input.directory || $guard(_exceptionable, {
|
|
5739
5775
|
path: _path + ".directory",
|
|
@@ -5953,6 +5989,10 @@ export const randomFilePublishRecord = generator => {
|
|
|
5953
5989
|
scene: $pick([
|
|
5954
5990
|
() => undefined,
|
|
5955
5991
|
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
5992
|
+
])(),
|
|
5993
|
+
ignoreEmptyScene: $pick([
|
|
5994
|
+
() => undefined,
|
|
5995
|
+
() => (generator?.boolean ?? $generator.boolean)()
|
|
5956
5996
|
])()
|
|
5957
5997
|
});
|
|
5958
5998
|
const $ro3 = (_recursive = false, _depth = 0) => {
|
|
@@ -6051,7 +6091,7 @@ export const assertGuardFilePublishRecord = (input, errorFactory) => {
|
|
|
6051
6091
|
return true;
|
|
6052
6092
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io2(value);
|
|
6053
6093
|
});
|
|
6054
|
-
const $io2 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
|
|
6094
|
+
const $io2 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene);
|
|
6055
6095
|
const $io3 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && Object.keys(input).every(key => {
|
|
6056
6096
|
if (["directory", "filename"].some(prop => key === prop))
|
|
6057
6097
|
return true;
|
|
@@ -6206,6 +6246,10 @@ export const assertGuardFilePublishRecord = (input, errorFactory) => {
|
|
|
6206
6246
|
path: _path + ".scene",
|
|
6207
6247
|
expected: "(string | undefined)",
|
|
6208
6248
|
value: input.scene
|
|
6249
|
+
}, errorFactory)) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene || $guard(_exceptionable, {
|
|
6250
|
+
path: _path + ".ignoreEmptyScene",
|
|
6251
|
+
expected: "(boolean | undefined)",
|
|
6252
|
+
value: input.ignoreEmptyScene
|
|
6209
6253
|
}, errorFactory));
|
|
6210
6254
|
const $ao3 = (input, _path, _exceptionable = true) => (undefined === input.directory || "string" === typeof input.directory || $guard(_exceptionable, {
|
|
6211
6255
|
path: _path + ".directory",
|
|
@@ -6346,7 +6390,7 @@ export const stringifyFilePublishRecord = input => {
|
|
|
6346
6390
|
return true;
|
|
6347
6391
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io2(value);
|
|
6348
6392
|
});
|
|
6349
|
-
const $io2 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
|
|
6393
|
+
const $io2 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene);
|
|
6350
6394
|
const $io3 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && Object.keys(input).every(key => {
|
|
6351
6395
|
if (["directory", "filename"].some(prop => key === prop))
|
|
6352
6396
|
return true;
|
|
@@ -6404,7 +6448,7 @@ export const stringifyFilePublishRecord = input => {
|
|
|
6404
6448
|
expected: "(\"overwrite\" | \"skip\" | undefined)",
|
|
6405
6449
|
value: input.collisionStrategy
|
|
6406
6450
|
});
|
|
6407
|
-
})() : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? $string(input.preset) : undefined},`}${undefined === input.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.profile || "function" === typeof input.profile ? "" : `"profile":${undefined !== input.profile ? JSON.stringify(input.profile) : undefined},`}${undefined === input.scene ? "" : `"scene":${undefined !== input.scene ? $string(input.scene) : undefined}`}`)}}`;
|
|
6451
|
+
})() : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? $string(input.preset) : undefined},`}${undefined === input.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.profile || "function" === typeof input.profile ? "" : `"profile":${undefined !== input.profile ? JSON.stringify(input.profile) : undefined},`}${undefined === input.scene ? "" : `"scene":${undefined !== input.scene ? $string(input.scene) : undefined},`}${undefined === input.ignoreEmptyScene ? "" : `"ignoreEmptyScene":${undefined !== input.ignoreEmptyScene ? input.ignoreEmptyScene : undefined}`}`)}}`;
|
|
6408
6452
|
const $so3 = input => `{${$tail(`${undefined === input.directory ? "" : `"directory":${undefined !== input.directory ? $string(input.directory) : undefined},`}${undefined === input.filename ? "" : `"filename":${undefined !== input.filename ? $string(input.filename) : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
6409
6453
|
return ""; if (["directory", "filename"].some(regular => regular === key))
|
|
6410
6454
|
return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}`)}}`;
|
|
@@ -6428,7 +6472,7 @@ export const assertStringifyFilePublishRecord = (input, errorFactory) => { const
|
|
|
6428
6472
|
return true;
|
|
6429
6473
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io2(value);
|
|
6430
6474
|
});
|
|
6431
|
-
const $io2 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
|
|
6475
|
+
const $io2 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene);
|
|
6432
6476
|
const $io3 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && Object.keys(input).every(key => {
|
|
6433
6477
|
if (["directory", "filename"].some(prop => key === prop))
|
|
6434
6478
|
return true;
|
|
@@ -6583,6 +6627,10 @@ export const assertStringifyFilePublishRecord = (input, errorFactory) => { const
|
|
|
6583
6627
|
path: _path + ".scene",
|
|
6584
6628
|
expected: "(string | undefined)",
|
|
6585
6629
|
value: input.scene
|
|
6630
|
+
}, errorFactory)) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene || $guard(_exceptionable, {
|
|
6631
|
+
path: _path + ".ignoreEmptyScene",
|
|
6632
|
+
expected: "(boolean | undefined)",
|
|
6633
|
+
value: input.ignoreEmptyScene
|
|
6586
6634
|
}, errorFactory));
|
|
6587
6635
|
const $ao3 = (input, _path, _exceptionable = true) => (undefined === input.directory || "string" === typeof input.directory || $guard(_exceptionable, {
|
|
6588
6636
|
path: _path + ".directory",
|
|
@@ -6723,7 +6771,7 @@ export const assertStringifyFilePublishRecord = (input, errorFactory) => { const
|
|
|
6723
6771
|
return true;
|
|
6724
6772
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io2(value);
|
|
6725
6773
|
});
|
|
6726
|
-
const $io2 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
|
|
6774
|
+
const $io2 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene);
|
|
6727
6775
|
const $io3 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && Object.keys(input).every(key => {
|
|
6728
6776
|
if (["directory", "filename"].some(prop => key === prop))
|
|
6729
6777
|
return true;
|
|
@@ -6781,7 +6829,7 @@ export const assertStringifyFilePublishRecord = (input, errorFactory) => { const
|
|
|
6781
6829
|
expected: "(\"overwrite\" | \"skip\" | undefined)",
|
|
6782
6830
|
value: input.collisionStrategy
|
|
6783
6831
|
});
|
|
6784
|
-
})() : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? $string(input.preset) : undefined},`}${undefined === input.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.profile || "function" === typeof input.profile ? "" : `"profile":${undefined !== input.profile ? JSON.stringify(input.profile) : undefined},`}${undefined === input.scene ? "" : `"scene":${undefined !== input.scene ? $string(input.scene) : undefined}`}`)}}`;
|
|
6832
|
+
})() : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? $string(input.preset) : undefined},`}${undefined === input.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.profile || "function" === typeof input.profile ? "" : `"profile":${undefined !== input.profile ? JSON.stringify(input.profile) : undefined},`}${undefined === input.scene ? "" : `"scene":${undefined !== input.scene ? $string(input.scene) : undefined},`}${undefined === input.ignoreEmptyScene ? "" : `"ignoreEmptyScene":${undefined !== input.ignoreEmptyScene ? input.ignoreEmptyScene : undefined}`}`)}}`;
|
|
6785
6833
|
const $so3 = input => `{${$tail(`${undefined === input.directory ? "" : `"directory":${undefined !== input.directory ? $string(input.directory) : undefined},`}${undefined === input.filename ? "" : `"filename":${undefined !== input.filename ? $string(input.filename) : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
6786
6834
|
return ""; if (["directory", "filename"].some(regular => regular === key))
|
|
6787
6835
|
return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}`)}}`;
|
|
@@ -6797,12 +6845,12 @@ export const assertStringifyFilePublishRecord = (input, errorFactory) => { const
|
|
|
6797
6845
|
return $so0(input);
|
|
6798
6846
|
}; return stringify(assert(input, errorFactory)); };
|
|
6799
6847
|
export const isFilePublishRender = input => {
|
|
6800
|
-
const $io0 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
|
|
6848
|
+
const $io0 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene);
|
|
6801
6849
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
6802
6850
|
};
|
|
6803
6851
|
export const assertFilePublishRender = (input, errorFactory) => {
|
|
6804
6852
|
const __is = input => {
|
|
6805
|
-
const $io0 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
|
|
6853
|
+
const $io0 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene);
|
|
6806
6854
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
6807
6855
|
};
|
|
6808
6856
|
if (false === __is(input))
|
|
@@ -6832,6 +6880,10 @@ export const assertFilePublishRender = (input, errorFactory) => {
|
|
|
6832
6880
|
path: _path + ".scene",
|
|
6833
6881
|
expected: "(string | undefined)",
|
|
6834
6882
|
value: input.scene
|
|
6883
|
+
}, errorFactory)) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene || $guard(_exceptionable, {
|
|
6884
|
+
path: _path + ".ignoreEmptyScene",
|
|
6885
|
+
expected: "(boolean | undefined)",
|
|
6886
|
+
value: input.ignoreEmptyScene
|
|
6835
6887
|
}, errorFactory));
|
|
6836
6888
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
6837
6889
|
path: _path + "",
|
|
@@ -6877,13 +6929,17 @@ export const randomFilePublishRender = generator => {
|
|
|
6877
6929
|
scene: $pick([
|
|
6878
6930
|
() => undefined,
|
|
6879
6931
|
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
6932
|
+
])(),
|
|
6933
|
+
ignoreEmptyScene: $pick([
|
|
6934
|
+
() => undefined,
|
|
6935
|
+
() => (generator?.boolean ?? $generator.boolean)()
|
|
6880
6936
|
])()
|
|
6881
6937
|
});
|
|
6882
6938
|
return $ro0();
|
|
6883
6939
|
};
|
|
6884
6940
|
export const assertGuardFilePublishRender = (input, errorFactory) => {
|
|
6885
6941
|
const __is = input => {
|
|
6886
|
-
const $io0 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
|
|
6942
|
+
const $io0 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene);
|
|
6887
6943
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
6888
6944
|
};
|
|
6889
6945
|
if (false === __is(input))
|
|
@@ -6913,6 +6969,10 @@ export const assertGuardFilePublishRender = (input, errorFactory) => {
|
|
|
6913
6969
|
path: _path + ".scene",
|
|
6914
6970
|
expected: "(string | undefined)",
|
|
6915
6971
|
value: input.scene
|
|
6972
|
+
}, errorFactory)) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene || $guard(_exceptionable, {
|
|
6973
|
+
path: _path + ".ignoreEmptyScene",
|
|
6974
|
+
expected: "(boolean | undefined)",
|
|
6975
|
+
value: input.ignoreEmptyScene
|
|
6916
6976
|
}, errorFactory));
|
|
6917
6977
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
6918
6978
|
path: _path + "",
|
|
@@ -6938,12 +6998,12 @@ export const stringifyFilePublishRender = input => {
|
|
|
6938
6998
|
expected: "(\"overwrite\" | \"skip\" | undefined)",
|
|
6939
6999
|
value: input.collisionStrategy
|
|
6940
7000
|
});
|
|
6941
|
-
})() : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? $string(input.preset) : undefined},`}${undefined === input.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.profile || "function" === typeof input.profile ? "" : `"profile":${undefined !== input.profile ? JSON.stringify(input.profile) : undefined},`}${undefined === input.scene ? "" : `"scene":${undefined !== input.scene ? $string(input.scene) : undefined}`}`)}}`;
|
|
7001
|
+
})() : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? $string(input.preset) : undefined},`}${undefined === input.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.profile || "function" === typeof input.profile ? "" : `"profile":${undefined !== input.profile ? JSON.stringify(input.profile) : undefined},`}${undefined === input.scene ? "" : `"scene":${undefined !== input.scene ? $string(input.scene) : undefined},`}${undefined === input.ignoreEmptyScene ? "" : `"ignoreEmptyScene":${undefined !== input.ignoreEmptyScene ? input.ignoreEmptyScene : undefined}`}`)}}`;
|
|
6942
7002
|
return $so0(input);
|
|
6943
7003
|
};
|
|
6944
7004
|
export const assertStringifyFilePublishRender = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
6945
7005
|
const __is = input => {
|
|
6946
|
-
const $io0 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
|
|
7006
|
+
const $io0 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene);
|
|
6947
7007
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
6948
7008
|
};
|
|
6949
7009
|
if (false === __is(input))
|
|
@@ -6973,6 +7033,10 @@ export const assertStringifyFilePublishRender = (input, errorFactory) => { const
|
|
|
6973
7033
|
path: _path + ".scene",
|
|
6974
7034
|
expected: "(string | undefined)",
|
|
6975
7035
|
value: input.scene
|
|
7036
|
+
}, errorFactory)) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene || $guard(_exceptionable, {
|
|
7037
|
+
path: _path + ".ignoreEmptyScene",
|
|
7038
|
+
expected: "(boolean | undefined)",
|
|
7039
|
+
value: input.ignoreEmptyScene
|
|
6976
7040
|
}, errorFactory));
|
|
6977
7041
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
6978
7042
|
path: _path + "",
|
|
@@ -6998,7 +7062,7 @@ export const assertStringifyFilePublishRender = (input, errorFactory) => { const
|
|
|
6998
7062
|
expected: "(\"overwrite\" | \"skip\" | undefined)",
|
|
6999
7063
|
value: input.collisionStrategy
|
|
7000
7064
|
});
|
|
7001
|
-
})() : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? $string(input.preset) : undefined},`}${undefined === input.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.profile || "function" === typeof input.profile ? "" : `"profile":${undefined !== input.profile ? JSON.stringify(input.profile) : undefined},`}${undefined === input.scene ? "" : `"scene":${undefined !== input.scene ? $string(input.scene) : undefined}`}`)}}`;
|
|
7065
|
+
})() : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? $string(input.preset) : undefined},`}${undefined === input.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.profile || "function" === typeof input.profile ? "" : `"profile":${undefined !== input.profile ? JSON.stringify(input.profile) : undefined},`}${undefined === input.scene ? "" : `"scene":${undefined !== input.scene ? $string(input.scene) : undefined},`}${undefined === input.ignoreEmptyScene ? "" : `"ignoreEmptyScene":${undefined !== input.ignoreEmptyScene ? input.ignoreEmptyScene : undefined}`}`)}}`;
|
|
7002
7066
|
return $so0(input);
|
|
7003
7067
|
}; return stringify(assert(input, errorFactory)); };
|
|
7004
7068
|
export const isFilePublishPublished = input => {
|
|
@@ -8112,7 +8176,7 @@ export const isFilePublishStatsRecord = input => {
|
|
|
8112
8176
|
return true;
|
|
8113
8177
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io6(value);
|
|
8114
8178
|
});
|
|
8115
|
-
const $io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
|
|
8179
|
+
const $io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene);
|
|
8116
8180
|
const $io7 = input => "number" === typeof input.level && "string" === typeof input.code && "string" === typeof input.msg;
|
|
8117
8181
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
8118
8182
|
};
|
|
@@ -8148,7 +8212,7 @@ export const assertFilePublishStatsRecord = (input, errorFactory) => {
|
|
|
8148
8212
|
return true;
|
|
8149
8213
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io6(value);
|
|
8150
8214
|
});
|
|
8151
|
-
const $io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
|
|
8215
|
+
const $io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene);
|
|
8152
8216
|
const $io7 = input => "number" === typeof input.level && "string" === typeof input.code && "string" === typeof input.msg;
|
|
8153
8217
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
8154
8218
|
};
|
|
@@ -8310,6 +8374,10 @@ export const assertFilePublishStatsRecord = (input, errorFactory) => {
|
|
|
8310
8374
|
path: _path + ".scene",
|
|
8311
8375
|
expected: "(string | undefined)",
|
|
8312
8376
|
value: input.scene
|
|
8377
|
+
}, errorFactory)) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene || $guard(_exceptionable, {
|
|
8378
|
+
path: _path + ".ignoreEmptyScene",
|
|
8379
|
+
expected: "(boolean | undefined)",
|
|
8380
|
+
value: input.ignoreEmptyScene
|
|
8313
8381
|
}, errorFactory));
|
|
8314
8382
|
const $ao7 = (input, _path, _exceptionable = true) => ("number" === typeof input.level || $guard(_exceptionable, {
|
|
8315
8383
|
path: _path + ".level",
|
|
@@ -8438,6 +8506,10 @@ export const randomFilePublishStatsRecord = generator => {
|
|
|
8438
8506
|
scene: $pick([
|
|
8439
8507
|
() => undefined,
|
|
8440
8508
|
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
8509
|
+
])(),
|
|
8510
|
+
ignoreEmptyScene: $pick([
|
|
8511
|
+
() => undefined,
|
|
8512
|
+
() => (generator?.boolean ?? $generator.boolean)()
|
|
8441
8513
|
])()
|
|
8442
8514
|
});
|
|
8443
8515
|
const $ro7 = (_recursive = false, _depth = 0) => ({
|
|
@@ -8479,7 +8551,7 @@ export const assertGuardFilePublishStatsRecord = (input, errorFactory) => {
|
|
|
8479
8551
|
return true;
|
|
8480
8552
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io6(value);
|
|
8481
8553
|
});
|
|
8482
|
-
const $io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
|
|
8554
|
+
const $io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene);
|
|
8483
8555
|
const $io7 = input => "number" === typeof input.level && "string" === typeof input.code && "string" === typeof input.msg;
|
|
8484
8556
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
8485
8557
|
};
|
|
@@ -8641,6 +8713,10 @@ export const assertGuardFilePublishStatsRecord = (input, errorFactory) => {
|
|
|
8641
8713
|
path: _path + ".scene",
|
|
8642
8714
|
expected: "(string | undefined)",
|
|
8643
8715
|
value: input.scene
|
|
8716
|
+
}, errorFactory)) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene || $guard(_exceptionable, {
|
|
8717
|
+
path: _path + ".ignoreEmptyScene",
|
|
8718
|
+
expected: "(boolean | undefined)",
|
|
8719
|
+
value: input.ignoreEmptyScene
|
|
8644
8720
|
}, errorFactory));
|
|
8645
8721
|
const $ao7 = (input, _path, _exceptionable = true) => ("number" === typeof input.level || $guard(_exceptionable, {
|
|
8646
8722
|
path: _path + ".level",
|
|
@@ -8696,7 +8772,7 @@ export const stringifyFilePublishStatsRecord = input => {
|
|
|
8696
8772
|
return true;
|
|
8697
8773
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io6(value);
|
|
8698
8774
|
});
|
|
8699
|
-
const $io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
|
|
8775
|
+
const $io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene);
|
|
8700
8776
|
const $io7 = input => "number" === typeof input.level && "string" === typeof input.code && "string" === typeof input.msg;
|
|
8701
8777
|
const $string = __typia.json.createStringify.string;
|
|
8702
8778
|
const $tail = __typia.json.createStringify.tail;
|
|
@@ -8722,7 +8798,7 @@ export const stringifyFilePublishStatsRecord = input => {
|
|
|
8722
8798
|
expected: "(\"overwrite\" | \"skip\" | undefined)",
|
|
8723
8799
|
value: input.collisionStrategy
|
|
8724
8800
|
});
|
|
8725
|
-
})() : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? $string(input.preset) : undefined},`}${undefined === input.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.profile || "function" === typeof input.profile ? "" : `"profile":${undefined !== input.profile ? JSON.stringify(input.profile) : undefined},`}${undefined === input.scene ? "" : `"scene":${undefined !== input.scene ? $string(input.scene) : undefined}`}`)}}`;
|
|
8801
|
+
})() : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? $string(input.preset) : undefined},`}${undefined === input.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.profile || "function" === typeof input.profile ? "" : `"profile":${undefined !== input.profile ? JSON.stringify(input.profile) : undefined},`}${undefined === input.scene ? "" : `"scene":${undefined !== input.scene ? $string(input.scene) : undefined},`}${undefined === input.ignoreEmptyScene ? "" : `"ignoreEmptyScene":${undefined !== input.ignoreEmptyScene ? input.ignoreEmptyScene : undefined}`}`)}}`;
|
|
8726
8802
|
return $so0(input);
|
|
8727
8803
|
};
|
|
8728
8804
|
export const assertStringifyFilePublishStatsRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
@@ -8757,7 +8833,7 @@ export const assertStringifyFilePublishStatsRecord = (input, errorFactory) => {
|
|
|
8757
8833
|
return true;
|
|
8758
8834
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io6(value);
|
|
8759
8835
|
});
|
|
8760
|
-
const $io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
|
|
8836
|
+
const $io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene);
|
|
8761
8837
|
const $io7 = input => "number" === typeof input.level && !Number.isNaN(input.level) && "string" === typeof input.code && "string" === typeof input.msg;
|
|
8762
8838
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
8763
8839
|
};
|
|
@@ -8919,6 +8995,10 @@ export const assertStringifyFilePublishStatsRecord = (input, errorFactory) => {
|
|
|
8919
8995
|
path: _path + ".scene",
|
|
8920
8996
|
expected: "(string | undefined)",
|
|
8921
8997
|
value: input.scene
|
|
8998
|
+
}, errorFactory)) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene || $guard(_exceptionable, {
|
|
8999
|
+
path: _path + ".ignoreEmptyScene",
|
|
9000
|
+
expected: "(boolean | undefined)",
|
|
9001
|
+
value: input.ignoreEmptyScene
|
|
8922
9002
|
}, errorFactory));
|
|
8923
9003
|
const $ao7 = (input, _path, _exceptionable = true) => ("number" === typeof input.level && !Number.isNaN(input.level) || $guard(_exceptionable, {
|
|
8924
9004
|
path: _path + ".level",
|
|
@@ -8974,7 +9054,7 @@ export const assertStringifyFilePublishStatsRecord = (input, errorFactory) => {
|
|
|
8974
9054
|
return true;
|
|
8975
9055
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io6(value);
|
|
8976
9056
|
});
|
|
8977
|
-
const $io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
|
|
9057
|
+
const $io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene);
|
|
8978
9058
|
const $io7 = input => "number" === typeof input.level && "string" === typeof input.code && "string" === typeof input.msg;
|
|
8979
9059
|
const $string = __typia.json.createAssertStringify.string;
|
|
8980
9060
|
const $tail = __typia.json.createAssertStringify.tail;
|
|
@@ -9000,7 +9080,7 @@ export const assertStringifyFilePublishStatsRecord = (input, errorFactory) => {
|
|
|
9000
9080
|
expected: "(\"overwrite\" | \"skip\" | undefined)",
|
|
9001
9081
|
value: input.collisionStrategy
|
|
9002
9082
|
});
|
|
9003
|
-
})() : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? $string(input.preset) : undefined},`}${undefined === input.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.profile || "function" === typeof input.profile ? "" : `"profile":${undefined !== input.profile ? JSON.stringify(input.profile) : undefined},`}${undefined === input.scene ? "" : `"scene":${undefined !== input.scene ? $string(input.scene) : undefined}`}`)}}`;
|
|
9083
|
+
})() : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? $string(input.preset) : undefined},`}${undefined === input.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.profile || "function" === typeof input.profile ? "" : `"profile":${undefined !== input.profile ? JSON.stringify(input.profile) : undefined},`}${undefined === input.scene ? "" : `"scene":${undefined !== input.scene ? $string(input.scene) : undefined},`}${undefined === input.ignoreEmptyScene ? "" : `"ignoreEmptyScene":${undefined !== input.ignoreEmptyScene ? input.ignoreEmptyScene : undefined}`}`)}}`;
|
|
9004
9084
|
return $so0(input);
|
|
9005
9085
|
}; return stringify(assert(input, errorFactory)); };
|
|
9006
9086
|
export const isFilePublishRetrieved = input => {
|
|
@@ -9494,7 +9574,7 @@ export const isFilePublishDefaults = input => {
|
|
|
9494
9574
|
return true;
|
|
9495
9575
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io2(value);
|
|
9496
9576
|
});
|
|
9497
|
-
const $io2 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
|
|
9577
|
+
const $io2 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene);
|
|
9498
9578
|
return "object" === typeof input && null !== input && $io0(input);
|
|
9499
9579
|
};
|
|
9500
9580
|
export const assertFilePublishDefaults = (input, errorFactory) => {
|
|
@@ -9513,7 +9593,7 @@ export const assertFilePublishDefaults = (input, errorFactory) => {
|
|
|
9513
9593
|
return true;
|
|
9514
9594
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io2(value);
|
|
9515
9595
|
});
|
|
9516
|
-
const $io2 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
|
|
9596
|
+
const $io2 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene);
|
|
9517
9597
|
return "object" === typeof input && null !== input && $io0(input);
|
|
9518
9598
|
};
|
|
9519
9599
|
if (false === __is(input))
|
|
@@ -9582,6 +9662,10 @@ export const assertFilePublishDefaults = (input, errorFactory) => {
|
|
|
9582
9662
|
path: _path + ".scene",
|
|
9583
9663
|
expected: "(string | undefined)",
|
|
9584
9664
|
value: input.scene
|
|
9665
|
+
}, errorFactory)) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene || $guard(_exceptionable, {
|
|
9666
|
+
path: _path + ".ignoreEmptyScene",
|
|
9667
|
+
expected: "(boolean | undefined)",
|
|
9668
|
+
value: input.ignoreEmptyScene
|
|
9585
9669
|
}, errorFactory));
|
|
9586
9670
|
return ("object" === typeof input && null !== input || $guard(true, {
|
|
9587
9671
|
path: _path + "",
|
|
@@ -9641,6 +9725,10 @@ export const randomFilePublishDefaults = generator => {
|
|
|
9641
9725
|
scene: $pick([
|
|
9642
9726
|
() => undefined,
|
|
9643
9727
|
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
9728
|
+
])(),
|
|
9729
|
+
ignoreEmptyScene: $pick([
|
|
9730
|
+
() => undefined,
|
|
9731
|
+
() => (generator?.boolean ?? $generator.boolean)()
|
|
9644
9732
|
])()
|
|
9645
9733
|
});
|
|
9646
9734
|
return $ro0();
|
|
@@ -9661,7 +9749,7 @@ export const assertGuardFilePublishDefaults = (input, errorFactory) => {
|
|
|
9661
9749
|
return true;
|
|
9662
9750
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io2(value);
|
|
9663
9751
|
});
|
|
9664
|
-
const $io2 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
|
|
9752
|
+
const $io2 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene);
|
|
9665
9753
|
return "object" === typeof input && null !== input && $io0(input);
|
|
9666
9754
|
};
|
|
9667
9755
|
if (false === __is(input))
|
|
@@ -9730,6 +9818,10 @@ export const assertGuardFilePublishDefaults = (input, errorFactory) => {
|
|
|
9730
9818
|
path: _path + ".scene",
|
|
9731
9819
|
expected: "(string | undefined)",
|
|
9732
9820
|
value: input.scene
|
|
9821
|
+
}, errorFactory)) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene || $guard(_exceptionable, {
|
|
9822
|
+
path: _path + ".ignoreEmptyScene",
|
|
9823
|
+
expected: "(boolean | undefined)",
|
|
9824
|
+
value: input.ignoreEmptyScene
|
|
9733
9825
|
}, errorFactory));
|
|
9734
9826
|
return ("object" === typeof input && null !== input || $guard(true, {
|
|
9735
9827
|
path: _path + "",
|
|
@@ -9749,7 +9841,7 @@ export const stringifyFilePublishDefaults = input => {
|
|
|
9749
9841
|
return true;
|
|
9750
9842
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io2(value);
|
|
9751
9843
|
});
|
|
9752
|
-
const $io2 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
|
|
9844
|
+
const $io2 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene);
|
|
9753
9845
|
const $string = __typia.json.createStringify.string;
|
|
9754
9846
|
const $tail = __typia.json.createStringify.tail;
|
|
9755
9847
|
const $throws = __typia.json.createStringify.throws;
|
|
@@ -9767,7 +9859,7 @@ export const stringifyFilePublishDefaults = input => {
|
|
|
9767
9859
|
expected: "(\"overwrite\" | \"skip\" | undefined)",
|
|
9768
9860
|
value: input.collisionStrategy
|
|
9769
9861
|
});
|
|
9770
|
-
})() : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? $string(input.preset) : undefined},`}${undefined === input.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.profile || "function" === typeof input.profile ? "" : `"profile":${undefined !== input.profile ? JSON.stringify(input.profile) : undefined},`}${undefined === input.scene ? "" : `"scene":${undefined !== input.scene ? $string(input.scene) : undefined}`}`)}}`;
|
|
9862
|
+
})() : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? $string(input.preset) : undefined},`}${undefined === input.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.profile || "function" === typeof input.profile ? "" : `"profile":${undefined !== input.profile ? JSON.stringify(input.profile) : undefined},`}${undefined === input.scene ? "" : `"scene":${undefined !== input.scene ? $string(input.scene) : undefined},`}${undefined === input.ignoreEmptyScene ? "" : `"ignoreEmptyScene":${undefined !== input.ignoreEmptyScene ? input.ignoreEmptyScene : undefined}`}`)}}`;
|
|
9771
9863
|
return $so0(input);
|
|
9772
9864
|
};
|
|
9773
9865
|
export const assertStringifyFilePublishDefaults = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
@@ -9786,7 +9878,7 @@ export const assertStringifyFilePublishDefaults = (input, errorFactory) => { con
|
|
|
9786
9878
|
return true;
|
|
9787
9879
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io2(value);
|
|
9788
9880
|
});
|
|
9789
|
-
const $io2 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
|
|
9881
|
+
const $io2 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene);
|
|
9790
9882
|
return "object" === typeof input && null !== input && $io0(input);
|
|
9791
9883
|
};
|
|
9792
9884
|
if (false === __is(input))
|
|
@@ -9855,6 +9947,10 @@ export const assertStringifyFilePublishDefaults = (input, errorFactory) => { con
|
|
|
9855
9947
|
path: _path + ".scene",
|
|
9856
9948
|
expected: "(string | undefined)",
|
|
9857
9949
|
value: input.scene
|
|
9950
|
+
}, errorFactory)) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene || $guard(_exceptionable, {
|
|
9951
|
+
path: _path + ".ignoreEmptyScene",
|
|
9952
|
+
expected: "(boolean | undefined)",
|
|
9953
|
+
value: input.ignoreEmptyScene
|
|
9858
9954
|
}, errorFactory));
|
|
9859
9955
|
return ("object" === typeof input && null !== input || $guard(true, {
|
|
9860
9956
|
path: _path + "",
|
|
@@ -9874,7 +9970,7 @@ export const assertStringifyFilePublishDefaults = (input, errorFactory) => { con
|
|
|
9874
9970
|
return true;
|
|
9875
9971
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io2(value);
|
|
9876
9972
|
});
|
|
9877
|
-
const $io2 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
|
|
9973
|
+
const $io2 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene);
|
|
9878
9974
|
const $string = __typia.json.createAssertStringify.string;
|
|
9879
9975
|
const $tail = __typia.json.createAssertStringify.tail;
|
|
9880
9976
|
const $throws = __typia.json.createAssertStringify.throws;
|
|
@@ -9892,7 +9988,7 @@ export const assertStringifyFilePublishDefaults = (input, errorFactory) => { con
|
|
|
9892
9988
|
expected: "(\"overwrite\" | \"skip\" | undefined)",
|
|
9893
9989
|
value: input.collisionStrategy
|
|
9894
9990
|
});
|
|
9895
|
-
})() : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? $string(input.preset) : undefined},`}${undefined === input.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.profile || "function" === typeof input.profile ? "" : `"profile":${undefined !== input.profile ? JSON.stringify(input.profile) : undefined},`}${undefined === input.scene ? "" : `"scene":${undefined !== input.scene ? $string(input.scene) : undefined}`}`)}}`;
|
|
9991
|
+
})() : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? $string(input.preset) : undefined},`}${undefined === input.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.profile || "function" === typeof input.profile ? "" : `"profile":${undefined !== input.profile ? JSON.stringify(input.profile) : undefined},`}${undefined === input.scene ? "" : `"scene":${undefined !== input.scene ? $string(input.scene) : undefined},`}${undefined === input.ignoreEmptyScene ? "" : `"ignoreEmptyScene":${undefined !== input.ignoreEmptyScene ? input.ignoreEmptyScene : undefined}`}`)}}`;
|
|
9896
9992
|
return $so0(input);
|
|
9897
9993
|
}; return stringify(assert(input, errorFactory)); };
|
|
9898
9994
|
export const isPublishDomainAcceptsProvidedRecord = input => {
|