@nxtedition/types 23.0.25 → 23.0.26

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.
@@ -1363,19 +1363,19 @@ export const assertFileDomainStatsRecord = (input, errorFactory) => {
1363
1363
  value: input.deleted
1364
1364
  }, errorFactory)) && ((Array.isArray(input.refs) || $guard(_exceptionable, {
1365
1365
  path: _path + ".refs",
1366
- expected: "Array<__type>",
1366
+ expected: "FileRefs",
1367
1367
  value: input.refs
1368
1368
  }, errorFactory)) && input.refs.every((elem, _index5) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $guard(_exceptionable, {
1369
1369
  path: _path + ".refs[" + _index5 + "]",
1370
- expected: "__type",
1370
+ expected: "FileRef",
1371
1371
  value: elem
1372
1372
  }, errorFactory)) && $ao1(elem, _path + ".refs[" + _index5 + "]", true && _exceptionable) || $guard(_exceptionable, {
1373
1373
  path: _path + ".refs[" + _index5 + "]",
1374
- expected: "__type",
1374
+ expected: "FileRef",
1375
1375
  value: elem
1376
1376
  }, errorFactory)) || $guard(_exceptionable, {
1377
1377
  path: _path + ".refs",
1378
- expected: "Array<__type>",
1378
+ expected: "FileRefs",
1379
1379
  value: input.refs
1380
1380
  }, errorFactory)) && ((Array.isArray(input.tags) || $guard(_exceptionable, {
1381
1381
  path: _path + ".tags",
@@ -1875,19 +1875,19 @@ export const assertGuardFileDomainStatsRecord = (input, errorFactory) => {
1875
1875
  value: input.deleted
1876
1876
  }, errorFactory)) && ((Array.isArray(input.refs) || $guard(_exceptionable, {
1877
1877
  path: _path + ".refs",
1878
- expected: "Array<__type>",
1878
+ expected: "FileRefs",
1879
1879
  value: input.refs
1880
1880
  }, errorFactory)) && input.refs.every((elem, _index5) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $guard(_exceptionable, {
1881
1881
  path: _path + ".refs[" + _index5 + "]",
1882
- expected: "__type",
1882
+ expected: "FileRef",
1883
1883
  value: elem
1884
1884
  }, errorFactory)) && $ao1(elem, _path + ".refs[" + _index5 + "]", true && _exceptionable) || $guard(_exceptionable, {
1885
1885
  path: _path + ".refs[" + _index5 + "]",
1886
- expected: "__type",
1886
+ expected: "FileRef",
1887
1887
  value: elem
1888
1888
  }, errorFactory)) || $guard(_exceptionable, {
1889
1889
  path: _path + ".refs",
1890
- expected: "Array<__type>",
1890
+ expected: "FileRefs",
1891
1891
  value: input.refs
1892
1892
  }, errorFactory)) && ((Array.isArray(input.tags) || $guard(_exceptionable, {
1893
1893
  path: _path + ".tags",
@@ -2247,19 +2247,19 @@ export const assertStringifyFileDomainStatsRecord = (input, errorFactory) => { c
2247
2247
  value: input.deleted
2248
2248
  }, errorFactory)) && ((Array.isArray(input.refs) || $guard(_exceptionable, {
2249
2249
  path: _path + ".refs",
2250
- expected: "Array<__type>",
2250
+ expected: "FileRefs",
2251
2251
  value: input.refs
2252
2252
  }, errorFactory)) && input.refs.every((elem, _index5) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $guard(_exceptionable, {
2253
2253
  path: _path + ".refs[" + _index5 + "]",
2254
- expected: "__type",
2254
+ expected: "FileRef",
2255
2255
  value: elem
2256
2256
  }, errorFactory)) && $ao1(elem, _path + ".refs[" + _index5 + "]", true && _exceptionable) || $guard(_exceptionable, {
2257
2257
  path: _path + ".refs[" + _index5 + "]",
2258
- expected: "__type",
2258
+ expected: "FileRef",
2259
2259
  value: elem
2260
2260
  }, errorFactory)) || $guard(_exceptionable, {
2261
2261
  path: _path + ".refs",
2262
- expected: "Array<__type>",
2262
+ expected: "FileRefs",
2263
2263
  value: input.refs
2264
2264
  }, errorFactory)) && ((Array.isArray(input.tags) || $guard(_exceptionable, {
2265
2265
  path: _path + ".tags",
@@ -1,6 +1,6 @@
1
1
  import __typia from "typia";
2
2
  export const isPipelineDomainRecord = input => {
3
- const $io0 = input => (undefined === input.dummy || "boolean" === typeof input.dummy) && (undefined === input.assetType || "pipeline" === input.assetType || "collection" === input.assetType) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.color || "string" === typeof input.color) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.type || "string" === typeof input.type) && (undefined === input.bookmarkId || "string" === typeof input.bookmarkId) && (undefined === input.hiddenCreateMenuItems || "object" === typeof input.hiddenCreateMenuItems && null !== input.hiddenCreateMenuItems && false === Array.isArray(input.hiddenCreateMenuItems) && $io1(input.hiddenCreateMenuItems));
3
+ const $io0 = input => (undefined === input.dummy || "boolean" === typeof input.dummy) && (undefined === input.assetType || "collection" === input.assetType || "pipeline" === input.assetType) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.color || "string" === typeof input.color) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.type || "string" === typeof input.type) && (undefined === input.bookmarkId || "string" === typeof input.bookmarkId) && (undefined === input.hiddenCreateMenuItems || "object" === typeof input.hiddenCreateMenuItems && null !== input.hiddenCreateMenuItems && false === Array.isArray(input.hiddenCreateMenuItems) && $io1(input.hiddenCreateMenuItems));
4
4
  const $io1 = input => Object.keys(input).every(key => {
5
5
  const value = input[key];
6
6
  if (undefined === value)
@@ -11,7 +11,7 @@ export const isPipelineDomainRecord = input => {
11
11
  };
12
12
  export const assertPipelineDomainRecord = (input, errorFactory) => {
13
13
  const __is = input => {
14
- const $io0 = input => (undefined === input.dummy || "boolean" === typeof input.dummy) && (undefined === input.assetType || "pipeline" === input.assetType || "collection" === input.assetType) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.color || "string" === typeof input.color) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.type || "string" === typeof input.type) && (undefined === input.bookmarkId || "string" === typeof input.bookmarkId) && (undefined === input.hiddenCreateMenuItems || "object" === typeof input.hiddenCreateMenuItems && null !== input.hiddenCreateMenuItems && false === Array.isArray(input.hiddenCreateMenuItems) && $io1(input.hiddenCreateMenuItems));
14
+ const $io0 = input => (undefined === input.dummy || "boolean" === typeof input.dummy) && (undefined === input.assetType || "collection" === input.assetType || "pipeline" === input.assetType) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.color || "string" === typeof input.color) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.type || "string" === typeof input.type) && (undefined === input.bookmarkId || "string" === typeof input.bookmarkId) && (undefined === input.hiddenCreateMenuItems || "object" === typeof input.hiddenCreateMenuItems && null !== input.hiddenCreateMenuItems && false === Array.isArray(input.hiddenCreateMenuItems) && $io1(input.hiddenCreateMenuItems));
15
15
  const $io1 = input => Object.keys(input).every(key => {
16
16
  const value = input[key];
17
17
  if (undefined === value)
@@ -28,7 +28,7 @@ export const assertPipelineDomainRecord = (input, errorFactory) => {
28
28
  path: _path + ".dummy",
29
29
  expected: "(boolean | undefined)",
30
30
  value: input.dummy
31
- }, errorFactory)) && (undefined === input.assetType || "pipeline" === input.assetType || "collection" === input.assetType || $guard(_exceptionable, {
31
+ }, errorFactory)) && (undefined === input.assetType || "collection" === input.assetType || "pipeline" === input.assetType || $guard(_exceptionable, {
32
32
  path: _path + ".assetType",
33
33
  expected: "(\"collection\" | \"pipeline\" | undefined)",
34
34
  value: input.assetType
@@ -97,8 +97,8 @@ export const randomPipelineDomainRecord = generator => {
97
97
  ])(),
98
98
  assetType: $pick([
99
99
  () => undefined,
100
- () => "pipeline",
101
- () => "collection"
100
+ () => "collection",
101
+ () => "pipeline"
102
102
  ])(),
103
103
  preset: $pick([
104
104
  () => undefined,
@@ -134,7 +134,7 @@ export const randomPipelineDomainRecord = generator => {
134
134
  };
135
135
  export const assertGuardPipelineDomainRecord = (input, errorFactory) => {
136
136
  const __is = input => {
137
- const $io0 = input => (undefined === input.dummy || "boolean" === typeof input.dummy) && (undefined === input.assetType || "pipeline" === input.assetType || "collection" === input.assetType) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.color || "string" === typeof input.color) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.type || "string" === typeof input.type) && (undefined === input.bookmarkId || "string" === typeof input.bookmarkId) && (undefined === input.hiddenCreateMenuItems || "object" === typeof input.hiddenCreateMenuItems && null !== input.hiddenCreateMenuItems && false === Array.isArray(input.hiddenCreateMenuItems) && $io1(input.hiddenCreateMenuItems));
137
+ const $io0 = input => (undefined === input.dummy || "boolean" === typeof input.dummy) && (undefined === input.assetType || "collection" === input.assetType || "pipeline" === input.assetType) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.color || "string" === typeof input.color) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.type || "string" === typeof input.type) && (undefined === input.bookmarkId || "string" === typeof input.bookmarkId) && (undefined === input.hiddenCreateMenuItems || "object" === typeof input.hiddenCreateMenuItems && null !== input.hiddenCreateMenuItems && false === Array.isArray(input.hiddenCreateMenuItems) && $io1(input.hiddenCreateMenuItems));
138
138
  const $io1 = input => Object.keys(input).every(key => {
139
139
  const value = input[key];
140
140
  if (undefined === value)
@@ -151,7 +151,7 @@ export const assertGuardPipelineDomainRecord = (input, errorFactory) => {
151
151
  path: _path + ".dummy",
152
152
  expected: "(boolean | undefined)",
153
153
  value: input.dummy
154
- }, errorFactory)) && (undefined === input.assetType || "pipeline" === input.assetType || "collection" === input.assetType || $guard(_exceptionable, {
154
+ }, errorFactory)) && (undefined === input.assetType || "collection" === input.assetType || "pipeline" === input.assetType || $guard(_exceptionable, {
155
155
  path: _path + ".assetType",
156
156
  expected: "(\"collection\" | \"pipeline\" | undefined)",
157
157
  value: input.assetType
@@ -235,7 +235,7 @@ export const stringifyPipelineDomainRecord = input => {
235
235
  };
236
236
  export const assertStringifyPipelineDomainRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
237
237
  const __is = input => {
238
- const $io0 = input => (undefined === input.dummy || "boolean" === typeof input.dummy) && (undefined === input.assetType || "pipeline" === input.assetType || "collection" === input.assetType) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.color || "string" === typeof input.color) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.type || "string" === typeof input.type) && (undefined === input.bookmarkId || "string" === typeof input.bookmarkId) && (undefined === input.hiddenCreateMenuItems || "object" === typeof input.hiddenCreateMenuItems && null !== input.hiddenCreateMenuItems && false === Array.isArray(input.hiddenCreateMenuItems) && $io1(input.hiddenCreateMenuItems));
238
+ const $io0 = input => (undefined === input.dummy || "boolean" === typeof input.dummy) && (undefined === input.assetType || "collection" === input.assetType || "pipeline" === input.assetType) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.color || "string" === typeof input.color) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.type || "string" === typeof input.type) && (undefined === input.bookmarkId || "string" === typeof input.bookmarkId) && (undefined === input.hiddenCreateMenuItems || "object" === typeof input.hiddenCreateMenuItems && null !== input.hiddenCreateMenuItems && false === Array.isArray(input.hiddenCreateMenuItems) && $io1(input.hiddenCreateMenuItems));
239
239
  const $io1 = input => Object.keys(input).every(key => {
240
240
  const value = input[key];
241
241
  if (undefined === value)
@@ -252,7 +252,7 @@ export const assertStringifyPipelineDomainRecord = (input, errorFactory) => { co
252
252
  path: _path + ".dummy",
253
253
  expected: "(boolean | undefined)",
254
254
  value: input.dummy
255
- }, errorFactory)) && (undefined === input.assetType || "pipeline" === input.assetType || "collection" === input.assetType || $guard(_exceptionable, {
255
+ }, errorFactory)) && (undefined === input.assetType || "collection" === input.assetType || "pipeline" === input.assetType || $guard(_exceptionable, {
256
256
  path: _path + ".assetType",
257
257
  expected: "(\"collection\" | \"pipeline\" | undefined)",
258
258
  value: input.assetType