@nxtedition/types 23.0.3 → 23.0.5

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.
@@ -0,0 +1,423 @@
1
+ import __typia from "typia";
2
+ export const isPipelineDomainRecord = input => {
3
+ const $io0 = input => (undefined === input.dummy || "boolean" === typeof input.dummy) && (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
+ const $io1 = input => Object.keys(input).every(key => {
5
+ const value = input[key];
6
+ if (undefined === value)
7
+ return true;
8
+ return true;
9
+ });
10
+ return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
11
+ };
12
+ export const assertPipelineDomainRecord = (input, errorFactory) => {
13
+ const __is = input => {
14
+ const $io0 = input => (undefined === input.dummy || "boolean" === typeof input.dummy) && (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
+ const $io1 = input => Object.keys(input).every(key => {
16
+ const value = input[key];
17
+ if (undefined === value)
18
+ return true;
19
+ return true;
20
+ });
21
+ return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
22
+ };
23
+ if (false === __is(input))
24
+ ((input, _path, _exceptionable = true) => {
25
+ const $guard = __typia.createAssert.guard;
26
+ const $join = __typia.createAssert.join;
27
+ const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.dummy || "boolean" === typeof input.dummy || $guard(_exceptionable, {
28
+ path: _path + ".dummy",
29
+ expected: "(boolean | undefined)",
30
+ value: input.dummy
31
+ }, errorFactory)) && (undefined === input.preset || "string" === typeof input.preset || $guard(_exceptionable, {
32
+ path: _path + ".preset",
33
+ expected: "(string | undefined)",
34
+ value: input.preset
35
+ }, errorFactory)) && (undefined === input.color || "string" === typeof input.color || $guard(_exceptionable, {
36
+ path: _path + ".color",
37
+ expected: "(string | undefined)",
38
+ value: input.color
39
+ }, errorFactory)) && (undefined === input.tags || (Array.isArray(input.tags) || $guard(_exceptionable, {
40
+ path: _path + ".tags",
41
+ expected: "(Array<string> | undefined)",
42
+ value: input.tags
43
+ }, errorFactory)) && input.tags.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
44
+ path: _path + ".tags[" + _index1 + "]",
45
+ expected: "string",
46
+ value: elem
47
+ }, errorFactory)) || $guard(_exceptionable, {
48
+ path: _path + ".tags",
49
+ expected: "(Array<string> | undefined)",
50
+ value: input.tags
51
+ }, errorFactory)) && (undefined === input.type || "string" === typeof input.type || $guard(_exceptionable, {
52
+ path: _path + ".type",
53
+ expected: "(string | undefined)",
54
+ value: input.type
55
+ }, errorFactory)) && (undefined === input.bookmarkId || "string" === typeof input.bookmarkId || $guard(_exceptionable, {
56
+ path: _path + ".bookmarkId",
57
+ expected: "(string | undefined)",
58
+ value: input.bookmarkId
59
+ }, errorFactory)) && (undefined === input.hiddenCreateMenuItems || ("object" === typeof input.hiddenCreateMenuItems && null !== input.hiddenCreateMenuItems && false === Array.isArray(input.hiddenCreateMenuItems) || $guard(_exceptionable, {
60
+ path: _path + ".hiddenCreateMenuItems",
61
+ expected: "(Record<string, unknown> | undefined)",
62
+ value: input.hiddenCreateMenuItems
63
+ }, errorFactory)) && $ao1(input.hiddenCreateMenuItems, _path + ".hiddenCreateMenuItems", true && _exceptionable) || $guard(_exceptionable, {
64
+ path: _path + ".hiddenCreateMenuItems",
65
+ expected: "(Record<string, unknown> | undefined)",
66
+ value: input.hiddenCreateMenuItems
67
+ }, errorFactory));
68
+ const $ao1 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
69
+ const value = input[key];
70
+ if (undefined === value)
71
+ return true;
72
+ return true;
73
+ });
74
+ return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
75
+ path: _path + "",
76
+ expected: "PipelineDomainRecord",
77
+ value: input
78
+ }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
79
+ path: _path + "",
80
+ expected: "PipelineDomainRecord",
81
+ value: input
82
+ }, errorFactory);
83
+ })(input, "$input", true);
84
+ return input;
85
+ };
86
+ export const randomPipelineDomainRecord = generator => {
87
+ const $generator = __typia.createRandom.generator;
88
+ const $pick = __typia.createRandom.pick;
89
+ const $ro0 = (_recursive = false, _depth = 0) => ({
90
+ dummy: $pick([
91
+ () => undefined,
92
+ () => (generator?.boolean ?? $generator.boolean)()
93
+ ])(),
94
+ preset: $pick([
95
+ () => undefined,
96
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
97
+ ])(),
98
+ color: $pick([
99
+ () => undefined,
100
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
101
+ ])(),
102
+ tags: $pick([
103
+ () => undefined,
104
+ () => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
105
+ ])(),
106
+ type: $pick([
107
+ () => undefined,
108
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
109
+ ])(),
110
+ bookmarkId: $pick([
111
+ () => undefined,
112
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
113
+ ])(),
114
+ hiddenCreateMenuItems: $pick([
115
+ () => undefined,
116
+ () => $ro1(_recursive, _recursive ? 1 + _depth : _depth)
117
+ ])()
118
+ });
119
+ const $ro1 = (_recursive = false, _depth = 0) => {
120
+ const output = {};
121
+ (generator?.array ?? $generator.array)(() => output[(generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()] = "any type used...", (generator?.integer ?? $generator.integer)(0, 3));
122
+ return output;
123
+ };
124
+ return $ro0();
125
+ };
126
+ export const assertGuardPipelineDomainRecord = (input, errorFactory) => {
127
+ const __is = input => {
128
+ const $io0 = input => (undefined === input.dummy || "boolean" === typeof input.dummy) && (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));
129
+ const $io1 = input => Object.keys(input).every(key => {
130
+ const value = input[key];
131
+ if (undefined === value)
132
+ return true;
133
+ return true;
134
+ });
135
+ return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
136
+ };
137
+ if (false === __is(input))
138
+ ((input, _path, _exceptionable = true) => {
139
+ const $guard = __typia.createAssertGuard.guard;
140
+ const $join = __typia.createAssertGuard.join;
141
+ const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.dummy || "boolean" === typeof input.dummy || $guard(_exceptionable, {
142
+ path: _path + ".dummy",
143
+ expected: "(boolean | undefined)",
144
+ value: input.dummy
145
+ }, errorFactory)) && (undefined === input.preset || "string" === typeof input.preset || $guard(_exceptionable, {
146
+ path: _path + ".preset",
147
+ expected: "(string | undefined)",
148
+ value: input.preset
149
+ }, errorFactory)) && (undefined === input.color || "string" === typeof input.color || $guard(_exceptionable, {
150
+ path: _path + ".color",
151
+ expected: "(string | undefined)",
152
+ value: input.color
153
+ }, errorFactory)) && (undefined === input.tags || (Array.isArray(input.tags) || $guard(_exceptionable, {
154
+ path: _path + ".tags",
155
+ expected: "(Array<string> | undefined)",
156
+ value: input.tags
157
+ }, errorFactory)) && input.tags.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
158
+ path: _path + ".tags[" + _index1 + "]",
159
+ expected: "string",
160
+ value: elem
161
+ }, errorFactory)) || $guard(_exceptionable, {
162
+ path: _path + ".tags",
163
+ expected: "(Array<string> | undefined)",
164
+ value: input.tags
165
+ }, errorFactory)) && (undefined === input.type || "string" === typeof input.type || $guard(_exceptionable, {
166
+ path: _path + ".type",
167
+ expected: "(string | undefined)",
168
+ value: input.type
169
+ }, errorFactory)) && (undefined === input.bookmarkId || "string" === typeof input.bookmarkId || $guard(_exceptionable, {
170
+ path: _path + ".bookmarkId",
171
+ expected: "(string | undefined)",
172
+ value: input.bookmarkId
173
+ }, errorFactory)) && (undefined === input.hiddenCreateMenuItems || ("object" === typeof input.hiddenCreateMenuItems && null !== input.hiddenCreateMenuItems && false === Array.isArray(input.hiddenCreateMenuItems) || $guard(_exceptionable, {
174
+ path: _path + ".hiddenCreateMenuItems",
175
+ expected: "(Record<string, unknown> | undefined)",
176
+ value: input.hiddenCreateMenuItems
177
+ }, errorFactory)) && $ao1(input.hiddenCreateMenuItems, _path + ".hiddenCreateMenuItems", true && _exceptionable) || $guard(_exceptionable, {
178
+ path: _path + ".hiddenCreateMenuItems",
179
+ expected: "(Record<string, unknown> | undefined)",
180
+ value: input.hiddenCreateMenuItems
181
+ }, errorFactory));
182
+ const $ao1 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
183
+ const value = input[key];
184
+ if (undefined === value)
185
+ return true;
186
+ return true;
187
+ });
188
+ return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
189
+ path: _path + "",
190
+ expected: "PipelineDomainRecord",
191
+ value: input
192
+ }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
193
+ path: _path + "",
194
+ expected: "PipelineDomainRecord",
195
+ value: input
196
+ }, errorFactory);
197
+ })(input, "$input", true);
198
+ };
199
+ export const stringifyPipelineDomainRecord = input => {
200
+ const $io1 = input => Object.keys(input).every(key => {
201
+ const value = input[key];
202
+ if (undefined === value)
203
+ return true;
204
+ return true;
205
+ });
206
+ const $string = __typia.json.createStringify.string;
207
+ const $tail = __typia.json.createStringify.tail;
208
+ const $so0 = input => `{${$tail(`${undefined === input.dummy ? "" : `"dummy":${undefined !== input.dummy ? input.dummy : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? $string(input.preset) : 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.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.bookmarkId ? "" : `"bookmarkId":${undefined !== input.bookmarkId ? $string(input.bookmarkId) : undefined},`}${undefined === input.hiddenCreateMenuItems ? "" : `"hiddenCreateMenuItems":${undefined !== input.hiddenCreateMenuItems ? $so1(input.hiddenCreateMenuItems) : undefined}`}`)}}`;
209
+ const $so1 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
210
+ return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}}`;
211
+ return $so0(input);
212
+ };
213
+ export const assertStringifyPipelineDomainRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
214
+ const __is = input => {
215
+ const $io0 = input => (undefined === input.dummy || "boolean" === typeof input.dummy) && (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));
216
+ const $io1 = input => Object.keys(input).every(key => {
217
+ const value = input[key];
218
+ if (undefined === value)
219
+ return true;
220
+ return true;
221
+ });
222
+ return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
223
+ };
224
+ if (false === __is(input))
225
+ ((input, _path, _exceptionable = true) => {
226
+ const $guard = __typia.json.createAssertStringify.guard;
227
+ const $join = __typia.json.createAssertStringify.join;
228
+ const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.dummy || "boolean" === typeof input.dummy || $guard(_exceptionable, {
229
+ path: _path + ".dummy",
230
+ expected: "(boolean | undefined)",
231
+ value: input.dummy
232
+ }, errorFactory)) && (undefined === input.preset || "string" === typeof input.preset || $guard(_exceptionable, {
233
+ path: _path + ".preset",
234
+ expected: "(string | undefined)",
235
+ value: input.preset
236
+ }, errorFactory)) && (undefined === input.color || "string" === typeof input.color || $guard(_exceptionable, {
237
+ path: _path + ".color",
238
+ expected: "(string | undefined)",
239
+ value: input.color
240
+ }, errorFactory)) && (undefined === input.tags || (Array.isArray(input.tags) || $guard(_exceptionable, {
241
+ path: _path + ".tags",
242
+ expected: "(Array<string> | undefined)",
243
+ value: input.tags
244
+ }, errorFactory)) && input.tags.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
245
+ path: _path + ".tags[" + _index1 + "]",
246
+ expected: "string",
247
+ value: elem
248
+ }, errorFactory)) || $guard(_exceptionable, {
249
+ path: _path + ".tags",
250
+ expected: "(Array<string> | undefined)",
251
+ value: input.tags
252
+ }, errorFactory)) && (undefined === input.type || "string" === typeof input.type || $guard(_exceptionable, {
253
+ path: _path + ".type",
254
+ expected: "(string | undefined)",
255
+ value: input.type
256
+ }, errorFactory)) && (undefined === input.bookmarkId || "string" === typeof input.bookmarkId || $guard(_exceptionable, {
257
+ path: _path + ".bookmarkId",
258
+ expected: "(string | undefined)",
259
+ value: input.bookmarkId
260
+ }, errorFactory)) && (undefined === input.hiddenCreateMenuItems || ("object" === typeof input.hiddenCreateMenuItems && null !== input.hiddenCreateMenuItems && false === Array.isArray(input.hiddenCreateMenuItems) || $guard(_exceptionable, {
261
+ path: _path + ".hiddenCreateMenuItems",
262
+ expected: "(Record<string, unknown> | undefined)",
263
+ value: input.hiddenCreateMenuItems
264
+ }, errorFactory)) && $ao1(input.hiddenCreateMenuItems, _path + ".hiddenCreateMenuItems", true && _exceptionable) || $guard(_exceptionable, {
265
+ path: _path + ".hiddenCreateMenuItems",
266
+ expected: "(Record<string, unknown> | undefined)",
267
+ value: input.hiddenCreateMenuItems
268
+ }, errorFactory));
269
+ const $ao1 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
270
+ const value = input[key];
271
+ if (undefined === value)
272
+ return true;
273
+ return true;
274
+ });
275
+ return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
276
+ path: _path + "",
277
+ expected: "PipelineDomainRecord",
278
+ value: input
279
+ }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
280
+ path: _path + "",
281
+ expected: "PipelineDomainRecord",
282
+ value: input
283
+ }, errorFactory);
284
+ })(input, "$input", true);
285
+ return input;
286
+ }; const stringify = input => {
287
+ const $io1 = input => Object.keys(input).every(key => {
288
+ const value = input[key];
289
+ if (undefined === value)
290
+ return true;
291
+ return true;
292
+ });
293
+ const $string = __typia.json.createAssertStringify.string;
294
+ const $tail = __typia.json.createAssertStringify.tail;
295
+ const $so0 = input => `{${$tail(`${undefined === input.dummy ? "" : `"dummy":${undefined !== input.dummy ? input.dummy : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? $string(input.preset) : 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.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.bookmarkId ? "" : `"bookmarkId":${undefined !== input.bookmarkId ? $string(input.bookmarkId) : undefined},`}${undefined === input.hiddenCreateMenuItems ? "" : `"hiddenCreateMenuItems":${undefined !== input.hiddenCreateMenuItems ? $so1(input.hiddenCreateMenuItems) : undefined}`}`)}}`;
296
+ const $so1 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
297
+ return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}}`;
298
+ return $so0(input);
299
+ }; return stringify(assert(input, errorFactory)); };
300
+ export const isPipelineDomainItemsRecord = input => {
301
+ const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
302
+ return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
303
+ };
304
+ export const assertPipelineDomainItemsRecord = (input, errorFactory) => {
305
+ const __is = input => {
306
+ const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
307
+ return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
308
+ };
309
+ if (false === __is(input))
310
+ ((input, _path, _exceptionable = true) => {
311
+ const $guard = __typia.createAssert.guard;
312
+ const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
313
+ path: _path + ".value",
314
+ expected: "(Array<string> | undefined)",
315
+ value: input.value
316
+ }, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
317
+ path: _path + ".value[" + _index1 + "]",
318
+ expected: "string",
319
+ value: elem
320
+ }, errorFactory)) || $guard(_exceptionable, {
321
+ path: _path + ".value",
322
+ expected: "(Array<string> | undefined)",
323
+ value: input.value
324
+ }, errorFactory);
325
+ return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
326
+ path: _path + "",
327
+ expected: "PipelineDomainItemsRecord",
328
+ value: input
329
+ }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
330
+ path: _path + "",
331
+ expected: "PipelineDomainItemsRecord",
332
+ value: input
333
+ }, errorFactory);
334
+ })(input, "$input", true);
335
+ return input;
336
+ };
337
+ export const randomPipelineDomainItemsRecord = generator => {
338
+ const $generator = __typia.createRandom.generator;
339
+ const $pick = __typia.createRandom.pick;
340
+ const $ro0 = (_recursive = false, _depth = 0) => ({
341
+ value: $pick([
342
+ () => undefined,
343
+ () => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
344
+ ])()
345
+ });
346
+ return $ro0();
347
+ };
348
+ export const assertGuardPipelineDomainItemsRecord = (input, errorFactory) => {
349
+ const __is = input => {
350
+ const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
351
+ return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
352
+ };
353
+ if (false === __is(input))
354
+ ((input, _path, _exceptionable = true) => {
355
+ const $guard = __typia.createAssertGuard.guard;
356
+ const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
357
+ path: _path + ".value",
358
+ expected: "(Array<string> | undefined)",
359
+ value: input.value
360
+ }, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
361
+ path: _path + ".value[" + _index1 + "]",
362
+ expected: "string",
363
+ value: elem
364
+ }, errorFactory)) || $guard(_exceptionable, {
365
+ path: _path + ".value",
366
+ expected: "(Array<string> | undefined)",
367
+ value: input.value
368
+ }, errorFactory);
369
+ return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
370
+ path: _path + "",
371
+ expected: "PipelineDomainItemsRecord",
372
+ value: input
373
+ }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
374
+ path: _path + "",
375
+ expected: "PipelineDomainItemsRecord",
376
+ value: input
377
+ }, errorFactory);
378
+ })(input, "$input", true);
379
+ };
380
+ export const stringifyPipelineDomainItemsRecord = input => {
381
+ const $string = __typia.json.createStringify.string;
382
+ const $tail = __typia.json.createStringify.tail;
383
+ const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
384
+ return $so0(input);
385
+ };
386
+ export const assertStringifyPipelineDomainItemsRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
387
+ const __is = input => {
388
+ const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
389
+ return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
390
+ };
391
+ if (false === __is(input))
392
+ ((input, _path, _exceptionable = true) => {
393
+ const $guard = __typia.json.createAssertStringify.guard;
394
+ const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
395
+ path: _path + ".value",
396
+ expected: "(Array<string> | undefined)",
397
+ value: input.value
398
+ }, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
399
+ path: _path + ".value[" + _index1 + "]",
400
+ expected: "string",
401
+ value: elem
402
+ }, errorFactory)) || $guard(_exceptionable, {
403
+ path: _path + ".value",
404
+ expected: "(Array<string> | undefined)",
405
+ value: input.value
406
+ }, errorFactory);
407
+ return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
408
+ path: _path + "",
409
+ expected: "PipelineDomainItemsRecord",
410
+ value: input
411
+ }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
412
+ path: _path + "",
413
+ expected: "PipelineDomainItemsRecord",
414
+ value: input
415
+ }, errorFactory);
416
+ })(input, "$input", true);
417
+ return input;
418
+ }; const stringify = input => {
419
+ const $string = __typia.json.createAssertStringify.string;
420
+ const $tail = __typia.json.createAssertStringify.tail;
421
+ const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
422
+ return $so0(input);
423
+ }; return stringify(assert(input, errorFactory)); };
@@ -0,0 +1,4 @@
1
+ import { RenderPreset } from '../common/index.js';
2
+ export interface RenderPresetDomainRecords {
3
+ ":render-preset": RenderPreset;
4
+ }
@@ -0,0 +1 @@
1
+ export {};