@nxtedition/types 23.0.25 → 23.0.27

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,16 +1,19 @@
1
1
  import __typia from "typia";
2
2
  export const isPipelinePresetDomainRecord = input => {
3
- const $io0 = input => (null === input.createMenuItems || undefined === input.createMenuItems || Array.isArray(input.createMenuItems) && input.createMenuItems.every(elem => "string" === typeof elem)) && (undefined === input.color || "string" === typeof input.color) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.sortMode || "default" === input.sortMode || "manual" === input.sortMode || "az" === input.sortMode || "za" === input.sortMode || "newest" === input.sortMode || "oldest" === input.sortMode || "mostrecent" === input.sortMode || "leastrecent" === input.sortMode);
3
+ const $iv3 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]);
4
+ const $io0 = input => (null === input.createMenuItems || undefined === input.createMenuItems || Array.isArray(input.createMenuItems) && input.createMenuItems.every(elem => "string" === typeof elem)) && (undefined === input.color || "string" === typeof input.color) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.sortMode || true === $iv3.has(input.sortMode));
4
5
  return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
5
6
  };
6
7
  export const assertPipelinePresetDomainRecord = (input, errorFactory) => {
7
8
  const __is = input => {
8
- const $io0 = input => (null === input.createMenuItems || undefined === input.createMenuItems || Array.isArray(input.createMenuItems) && input.createMenuItems.every(elem => "string" === typeof elem)) && (undefined === input.color || "string" === typeof input.color) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.sortMode || "default" === input.sortMode || "manual" === input.sortMode || "az" === input.sortMode || "za" === input.sortMode || "newest" === input.sortMode || "oldest" === input.sortMode || "mostrecent" === input.sortMode || "leastrecent" === input.sortMode);
9
+ const $iv3 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]);
10
+ const $io0 = input => (null === input.createMenuItems || undefined === input.createMenuItems || Array.isArray(input.createMenuItems) && input.createMenuItems.every(elem => "string" === typeof elem)) && (undefined === input.color || "string" === typeof input.color) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.sortMode || true === $iv3.has(input.sortMode));
9
11
  return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
10
12
  };
11
13
  if (false === __is(input))
12
14
  ((input, _path, _exceptionable = true) => {
13
15
  const $guard = __typia.createAssert.guard;
16
+ const $av3 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]);
14
17
  const $ao0 = (input, _path, _exceptionable = true) => (null === input.createMenuItems || undefined === input.createMenuItems || (Array.isArray(input.createMenuItems) || $guard(_exceptionable, {
15
18
  path: _path + ".createMenuItems",
16
19
  expected: "(Array<string> | null | undefined)",
@@ -39,9 +42,9 @@ export const assertPipelinePresetDomainRecord = (input, errorFactory) => {
39
42
  path: _path + ".tags",
40
43
  expected: "(Array<string> | undefined)",
41
44
  value: input.tags
42
- }, errorFactory)) && (undefined === input.sortMode || "default" === input.sortMode || "manual" === input.sortMode || "az" === input.sortMode || "za" === input.sortMode || "newest" === input.sortMode || "oldest" === input.sortMode || "mostrecent" === input.sortMode || "leastrecent" === input.sortMode || $guard(_exceptionable, {
45
+ }, errorFactory)) && (undefined === input.sortMode || true === $av3.has(input.sortMode) || $guard(_exceptionable, {
43
46
  path: _path + ".sortMode",
44
- expected: "(\"az\" | \"default\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
47
+ expected: "(\"az\" | \"default\" | \"earliestdeadline\" | \"latestdeadline\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
45
48
  value: input.sortMode
46
49
  }, errorFactory));
47
50
  return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
@@ -82,19 +85,23 @@ export const randomPipelinePresetDomainRecord = generator => {
82
85
  () => "newest",
83
86
  () => "oldest",
84
87
  () => "mostrecent",
85
- () => "leastrecent"
88
+ () => "leastrecent",
89
+ () => "earliestdeadline",
90
+ () => "latestdeadline"
86
91
  ])()
87
92
  });
88
93
  return $ro0();
89
94
  };
90
95
  export const assertGuardPipelinePresetDomainRecord = (input, errorFactory) => {
91
96
  const __is = input => {
92
- const $io0 = input => (null === input.createMenuItems || undefined === input.createMenuItems || Array.isArray(input.createMenuItems) && input.createMenuItems.every(elem => "string" === typeof elem)) && (undefined === input.color || "string" === typeof input.color) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.sortMode || "default" === input.sortMode || "manual" === input.sortMode || "az" === input.sortMode || "za" === input.sortMode || "newest" === input.sortMode || "oldest" === input.sortMode || "mostrecent" === input.sortMode || "leastrecent" === input.sortMode);
97
+ const $iv3 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]);
98
+ const $io0 = input => (null === input.createMenuItems || undefined === input.createMenuItems || Array.isArray(input.createMenuItems) && input.createMenuItems.every(elem => "string" === typeof elem)) && (undefined === input.color || "string" === typeof input.color) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.sortMode || true === $iv3.has(input.sortMode));
93
99
  return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
94
100
  };
95
101
  if (false === __is(input))
96
102
  ((input, _path, _exceptionable = true) => {
97
103
  const $guard = __typia.createAssertGuard.guard;
104
+ const $av3 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]);
98
105
  const $ao0 = (input, _path, _exceptionable = true) => (null === input.createMenuItems || undefined === input.createMenuItems || (Array.isArray(input.createMenuItems) || $guard(_exceptionable, {
99
106
  path: _path + ".createMenuItems",
100
107
  expected: "(Array<string> | null | undefined)",
@@ -123,9 +130,9 @@ export const assertGuardPipelinePresetDomainRecord = (input, errorFactory) => {
123
130
  path: _path + ".tags",
124
131
  expected: "(Array<string> | undefined)",
125
132
  value: input.tags
126
- }, errorFactory)) && (undefined === input.sortMode || "default" === input.sortMode || "manual" === input.sortMode || "az" === input.sortMode || "za" === input.sortMode || "newest" === input.sortMode || "oldest" === input.sortMode || "mostrecent" === input.sortMode || "leastrecent" === input.sortMode || $guard(_exceptionable, {
133
+ }, errorFactory)) && (undefined === input.sortMode || true === $av3.has(input.sortMode) || $guard(_exceptionable, {
127
134
  path: _path + ".sortMode",
128
- expected: "(\"az\" | \"default\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
135
+ expected: "(\"az\" | \"default\" | \"earliestdeadline\" | \"latestdeadline\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
129
136
  value: input.sortMode
130
137
  }, errorFactory));
131
138
  return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
@@ -143,13 +150,14 @@ export const stringifyPipelinePresetDomainRecord = input => {
143
150
  const $string = __typia.json.createStringify.string;
144
151
  const $throws = __typia.json.createStringify.throws;
145
152
  const $tail = __typia.json.createStringify.tail;
153
+ const $iv5 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]);
146
154
  const $so0 = input => `{${$tail(`${undefined === input.createMenuItems ? "" : `"createMenuItems":${undefined !== input.createMenuItems ? null !== input.createMenuItems ? `[${input.createMenuItems.map(elem => $string(elem)).join(",")}]` : "null" : undefined},`}${undefined === input.color ? "" : `"color":${undefined !== input.color ? $string(input.color) : undefined},`}${undefined === input.tags ? "" : `"tags":${undefined !== input.tags ? `[${input.tags.map(elem => $string(elem)).join(",")}]` : undefined},`}${undefined === input.sortMode ? "" : `"sortMode":${undefined !== input.sortMode ? (() => {
147
155
  if ("string" === typeof input.sortMode)
148
156
  return $string(input.sortMode);
149
157
  if ("string" === typeof input.sortMode)
150
158
  return "\"" + input.sortMode + "\"";
151
159
  $throws({
152
- expected: "(\"az\" | \"default\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
160
+ expected: "(\"az\" | \"default\" | \"earliestdeadline\" | \"latestdeadline\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
153
161
  value: input.sortMode
154
162
  });
155
163
  })() : undefined}`}`)}}`;
@@ -157,12 +165,14 @@ export const stringifyPipelinePresetDomainRecord = input => {
157
165
  };
158
166
  export const assertStringifyPipelinePresetDomainRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
159
167
  const __is = input => {
160
- const $io0 = input => (null === input.createMenuItems || undefined === input.createMenuItems || Array.isArray(input.createMenuItems) && input.createMenuItems.every(elem => "string" === typeof elem)) && (undefined === input.color || "string" === typeof input.color) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.sortMode || "default" === input.sortMode || "manual" === input.sortMode || "az" === input.sortMode || "za" === input.sortMode || "newest" === input.sortMode || "oldest" === input.sortMode || "mostrecent" === input.sortMode || "leastrecent" === input.sortMode);
168
+ const $iv3 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]);
169
+ const $io0 = input => (null === input.createMenuItems || undefined === input.createMenuItems || Array.isArray(input.createMenuItems) && input.createMenuItems.every(elem => "string" === typeof elem)) && (undefined === input.color || "string" === typeof input.color) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.sortMode || true === $iv3.has(input.sortMode));
161
170
  return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
162
171
  };
163
172
  if (false === __is(input))
164
173
  ((input, _path, _exceptionable = true) => {
165
174
  const $guard = __typia.json.createAssertStringify.guard;
175
+ const $av3 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]);
166
176
  const $ao0 = (input, _path, _exceptionable = true) => (null === input.createMenuItems || undefined === input.createMenuItems || (Array.isArray(input.createMenuItems) || $guard(_exceptionable, {
167
177
  path: _path + ".createMenuItems",
168
178
  expected: "(Array<string> | null | undefined)",
@@ -191,9 +201,9 @@ export const assertStringifyPipelinePresetDomainRecord = (input, errorFactory) =
191
201
  path: _path + ".tags",
192
202
  expected: "(Array<string> | undefined)",
193
203
  value: input.tags
194
- }, errorFactory)) && (undefined === input.sortMode || "default" === input.sortMode || "manual" === input.sortMode || "az" === input.sortMode || "za" === input.sortMode || "newest" === input.sortMode || "oldest" === input.sortMode || "mostrecent" === input.sortMode || "leastrecent" === input.sortMode || $guard(_exceptionable, {
204
+ }, errorFactory)) && (undefined === input.sortMode || true === $av3.has(input.sortMode) || $guard(_exceptionable, {
195
205
  path: _path + ".sortMode",
196
- expected: "(\"az\" | \"default\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
206
+ expected: "(\"az\" | \"default\" | \"earliestdeadline\" | \"latestdeadline\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
197
207
  value: input.sortMode
198
208
  }, errorFactory));
199
209
  return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
@@ -211,13 +221,14 @@ export const assertStringifyPipelinePresetDomainRecord = (input, errorFactory) =
211
221
  const $string = __typia.json.createAssertStringify.string;
212
222
  const $throws = __typia.json.createAssertStringify.throws;
213
223
  const $tail = __typia.json.createAssertStringify.tail;
224
+ const $iv5 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]);
214
225
  const $so0 = input => `{${$tail(`${undefined === input.createMenuItems ? "" : `"createMenuItems":${undefined !== input.createMenuItems ? null !== input.createMenuItems ? `[${input.createMenuItems.map(elem => $string(elem)).join(",")}]` : "null" : undefined},`}${undefined === input.color ? "" : `"color":${undefined !== input.color ? $string(input.color) : undefined},`}${undefined === input.tags ? "" : `"tags":${undefined !== input.tags ? `[${input.tags.map(elem => $string(elem)).join(",")}]` : undefined},`}${undefined === input.sortMode ? "" : `"sortMode":${undefined !== input.sortMode ? (() => {
215
226
  if ("string" === typeof input.sortMode)
216
227
  return $string(input.sortMode);
217
228
  if ("string" === typeof input.sortMode)
218
229
  return "\"" + input.sortMode + "\"";
219
230
  $throws({
220
- expected: "(\"az\" | \"default\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
231
+ expected: "(\"az\" | \"default\" | \"earliestdeadline\" | \"latestdeadline\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
221
232
  value: input.sortMode
222
233
  });
223
234
  })() : undefined}`}`)}}`;
@@ -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