@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.
- package/dist/common/date.d.ts +8 -0
- package/dist/common/date.js +59 -0
- package/dist/common/index.d.ts +5 -0
- package/dist/common/index.js +5 -0
- package/dist/common/media.d.ts +8 -0
- package/dist/common/media.js +83 -0
- package/dist/common/pipeline.d.ts +8 -0
- package/dist/common/pipeline.js +88 -0
- package/dist/common/promoted-tag.d.ts +13 -0
- package/dist/common/promoted-tag.js +147 -0
- package/dist/common/render-preset.d.ts +32 -0
- package/dist/common/render-preset.js +516 -0
- package/dist/common/settings.d.ts +24 -10
- package/dist/common/settings.js +747 -321
- package/dist/domains/asset.d.ts +166 -65
- package/dist/domains/asset.js +1325 -96
- package/dist/domains/index.d.ts +9 -1
- package/dist/domains/index.js +4 -0
- package/dist/domains/media.d.ts +14 -2
- package/dist/domains/media.js +724 -24
- package/dist/domains/pipeline-preset.d.ts +17 -0
- package/dist/domains/pipeline-preset.js +225 -0
- package/dist/domains/pipeline.d.ts +29 -0
- package/dist/domains/pipeline.js +423 -0
- package/dist/domains/render-preset.d.ts +4 -0
- package/dist/domains/render-preset.js +1 -0
- package/dist/domains/settings.js +734 -321
- package/dist/domains/storyboard.d.ts +14 -0
- package/dist/domains/storyboard.js +125 -0
- package/dist/index.d.ts +70 -0
- package/dist/index.js +28 -12
- package/dist/schema.json +1035 -74
- package/package.json +1 -1
package/dist/domains/asset.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import __typia from "typia";
|
|
2
|
-
export const
|
|
2
|
+
export const isAssetTitleProvidedRecord = input => {
|
|
3
3
|
const $io0 = input => undefined === input.value || "string" === typeof input.value;
|
|
4
4
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
5
5
|
};
|
|
6
|
-
export const
|
|
6
|
+
export const assertAssetTitleProvidedRecord = (input, errorFactory) => {
|
|
7
7
|
const __is = input => {
|
|
8
8
|
const $io0 = input => undefined === input.value || "string" === typeof input.value;
|
|
9
9
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
@@ -18,17 +18,17 @@ export const assertAssetTitleRecord = (input, errorFactory) => {
|
|
|
18
18
|
}, errorFactory);
|
|
19
19
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
20
20
|
path: _path + "",
|
|
21
|
-
expected: "
|
|
21
|
+
expected: "AssetTitleProvidedRecord",
|
|
22
22
|
value: input
|
|
23
23
|
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
24
24
|
path: _path + "",
|
|
25
|
-
expected: "
|
|
25
|
+
expected: "AssetTitleProvidedRecord",
|
|
26
26
|
value: input
|
|
27
27
|
}, errorFactory);
|
|
28
28
|
})(input, "$input", true);
|
|
29
29
|
return input;
|
|
30
30
|
};
|
|
31
|
-
export const
|
|
31
|
+
export const randomAssetTitleProvidedRecord = generator => {
|
|
32
32
|
const $generator = __typia.createRandom.generator;
|
|
33
33
|
const $pick = __typia.createRandom.pick;
|
|
34
34
|
const $ro0 = (_recursive = false, _depth = 0) => ({
|
|
@@ -39,7 +39,7 @@ export const randomAssetTitleRecord = generator => {
|
|
|
39
39
|
});
|
|
40
40
|
return $ro0();
|
|
41
41
|
};
|
|
42
|
-
export const
|
|
42
|
+
export const assertGuardAssetTitleProvidedRecord = (input, errorFactory) => {
|
|
43
43
|
const __is = input => {
|
|
44
44
|
const $io0 = input => undefined === input.value || "string" === typeof input.value;
|
|
45
45
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
@@ -54,22 +54,22 @@ export const assertGuardAssetTitleRecord = (input, errorFactory) => {
|
|
|
54
54
|
}, errorFactory);
|
|
55
55
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
56
56
|
path: _path + "",
|
|
57
|
-
expected: "
|
|
57
|
+
expected: "AssetTitleProvidedRecord",
|
|
58
58
|
value: input
|
|
59
59
|
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
60
60
|
path: _path + "",
|
|
61
|
-
expected: "
|
|
61
|
+
expected: "AssetTitleProvidedRecord",
|
|
62
62
|
value: input
|
|
63
63
|
}, errorFactory);
|
|
64
64
|
})(input, "$input", true);
|
|
65
65
|
};
|
|
66
|
-
export const
|
|
66
|
+
export const stringifyAssetTitleProvidedRecord = input => {
|
|
67
67
|
const $string = __typia.json.createStringify.string;
|
|
68
68
|
const $tail = __typia.json.createStringify.tail;
|
|
69
69
|
const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? $string(input.value) : undefined}`}`)}}`;
|
|
70
70
|
return $so0(input);
|
|
71
71
|
};
|
|
72
|
-
export const
|
|
72
|
+
export const assertStringifyAssetTitleProvidedRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
73
73
|
const __is = input => {
|
|
74
74
|
const $io0 = input => undefined === input.value || "string" === typeof input.value;
|
|
75
75
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
@@ -84,11 +84,11 @@ export const assertStringifyAssetTitleRecord = (input, errorFactory) => { const
|
|
|
84
84
|
}, errorFactory);
|
|
85
85
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
86
86
|
path: _path + "",
|
|
87
|
-
expected: "
|
|
87
|
+
expected: "AssetTitleProvidedRecord",
|
|
88
88
|
value: input
|
|
89
89
|
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
90
90
|
path: _path + "",
|
|
91
|
-
expected: "
|
|
91
|
+
expected: "AssetTitleProvidedRecord",
|
|
92
92
|
value: input
|
|
93
93
|
}, errorFactory);
|
|
94
94
|
})(input, "$input", true);
|
|
@@ -99,11 +99,11 @@ export const assertStringifyAssetTitleRecord = (input, errorFactory) => { const
|
|
|
99
99
|
const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? $string(input.value) : undefined}`}`)}}`;
|
|
100
100
|
return $so0(input);
|
|
101
101
|
}; return stringify(assert(input, errorFactory)); };
|
|
102
|
-
export const
|
|
102
|
+
export const isAssetTypesProvidedRecord = input => {
|
|
103
103
|
const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
|
|
104
104
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
105
105
|
};
|
|
106
|
-
export const
|
|
106
|
+
export const assertAssetTypesProvidedRecord = (input, errorFactory) => {
|
|
107
107
|
const __is = input => {
|
|
108
108
|
const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
|
|
109
109
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
@@ -126,17 +126,17 @@ export const assertAssetTypesRecord = (input, errorFactory) => {
|
|
|
126
126
|
}, errorFactory);
|
|
127
127
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
128
128
|
path: _path + "",
|
|
129
|
-
expected: "
|
|
129
|
+
expected: "AssetTypesProvidedRecord",
|
|
130
130
|
value: input
|
|
131
131
|
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
132
132
|
path: _path + "",
|
|
133
|
-
expected: "
|
|
133
|
+
expected: "AssetTypesProvidedRecord",
|
|
134
134
|
value: input
|
|
135
135
|
}, errorFactory);
|
|
136
136
|
})(input, "$input", true);
|
|
137
137
|
return input;
|
|
138
138
|
};
|
|
139
|
-
export const
|
|
139
|
+
export const randomAssetTypesProvidedRecord = generator => {
|
|
140
140
|
const $generator = __typia.createRandom.generator;
|
|
141
141
|
const $pick = __typia.createRandom.pick;
|
|
142
142
|
const $ro0 = (_recursive = false, _depth = 0) => ({
|
|
@@ -147,7 +147,7 @@ export const randomAssetTypesRecord = generator => {
|
|
|
147
147
|
});
|
|
148
148
|
return $ro0();
|
|
149
149
|
};
|
|
150
|
-
export const
|
|
150
|
+
export const assertGuardAssetTypesProvidedRecord = (input, errorFactory) => {
|
|
151
151
|
const __is = input => {
|
|
152
152
|
const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
|
|
153
153
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
@@ -170,22 +170,22 @@ export const assertGuardAssetTypesRecord = (input, errorFactory) => {
|
|
|
170
170
|
}, errorFactory);
|
|
171
171
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
172
172
|
path: _path + "",
|
|
173
|
-
expected: "
|
|
173
|
+
expected: "AssetTypesProvidedRecord",
|
|
174
174
|
value: input
|
|
175
175
|
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
176
176
|
path: _path + "",
|
|
177
|
-
expected: "
|
|
177
|
+
expected: "AssetTypesProvidedRecord",
|
|
178
178
|
value: input
|
|
179
179
|
}, errorFactory);
|
|
180
180
|
})(input, "$input", true);
|
|
181
181
|
};
|
|
182
|
-
export const
|
|
182
|
+
export const stringifyAssetTypesProvidedRecord = input => {
|
|
183
183
|
const $string = __typia.json.createStringify.string;
|
|
184
184
|
const $tail = __typia.json.createStringify.tail;
|
|
185
185
|
const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
186
186
|
return $so0(input);
|
|
187
187
|
};
|
|
188
|
-
export const
|
|
188
|
+
export const assertStringifyAssetTypesProvidedRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
189
189
|
const __is = input => {
|
|
190
190
|
const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
|
|
191
191
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
@@ -208,11 +208,11 @@ export const assertStringifyAssetTypesRecord = (input, errorFactory) => { const
|
|
|
208
208
|
}, errorFactory);
|
|
209
209
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
210
210
|
path: _path + "",
|
|
211
|
-
expected: "
|
|
211
|
+
expected: "AssetTypesProvidedRecord",
|
|
212
212
|
value: input
|
|
213
213
|
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
214
214
|
path: _path + "",
|
|
215
|
-
expected: "
|
|
215
|
+
expected: "AssetTypesProvidedRecord",
|
|
216
216
|
value: input
|
|
217
217
|
}, errorFactory);
|
|
218
218
|
})(input, "$input", true);
|
|
@@ -223,11 +223,11 @@ export const assertStringifyAssetTypesRecord = (input, errorFactory) => { const
|
|
|
223
223
|
const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
224
224
|
return $so0(input);
|
|
225
225
|
}; return stringify(assert(input, errorFactory)); };
|
|
226
|
-
export const
|
|
226
|
+
export const isAssetAssigneesProvidedRecord = input => {
|
|
227
227
|
const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
|
|
228
228
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
229
229
|
};
|
|
230
|
-
export const
|
|
230
|
+
export const assertAssetAssigneesProvidedRecord = (input, errorFactory) => {
|
|
231
231
|
const __is = input => {
|
|
232
232
|
const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
|
|
233
233
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
@@ -250,17 +250,17 @@ export const assertAssetAssigneesRecord = (input, errorFactory) => {
|
|
|
250
250
|
}, errorFactory);
|
|
251
251
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
252
252
|
path: _path + "",
|
|
253
|
-
expected: "
|
|
253
|
+
expected: "AssetAssigneesProvidedRecord",
|
|
254
254
|
value: input
|
|
255
255
|
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
256
256
|
path: _path + "",
|
|
257
|
-
expected: "
|
|
257
|
+
expected: "AssetAssigneesProvidedRecord",
|
|
258
258
|
value: input
|
|
259
259
|
}, errorFactory);
|
|
260
260
|
})(input, "$input", true);
|
|
261
261
|
return input;
|
|
262
262
|
};
|
|
263
|
-
export const
|
|
263
|
+
export const randomAssetAssigneesProvidedRecord = generator => {
|
|
264
264
|
const $generator = __typia.createRandom.generator;
|
|
265
265
|
const $pick = __typia.createRandom.pick;
|
|
266
266
|
const $ro0 = (_recursive = false, _depth = 0) => ({
|
|
@@ -271,7 +271,7 @@ export const randomAssetAssigneesRecord = generator => {
|
|
|
271
271
|
});
|
|
272
272
|
return $ro0();
|
|
273
273
|
};
|
|
274
|
-
export const
|
|
274
|
+
export const assertGuardAssetAssigneesProvidedRecord = (input, errorFactory) => {
|
|
275
275
|
const __is = input => {
|
|
276
276
|
const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
|
|
277
277
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
@@ -294,22 +294,22 @@ export const assertGuardAssetAssigneesRecord = (input, errorFactory) => {
|
|
|
294
294
|
}, errorFactory);
|
|
295
295
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
296
296
|
path: _path + "",
|
|
297
|
-
expected: "
|
|
297
|
+
expected: "AssetAssigneesProvidedRecord",
|
|
298
298
|
value: input
|
|
299
299
|
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
300
300
|
path: _path + "",
|
|
301
|
-
expected: "
|
|
301
|
+
expected: "AssetAssigneesProvidedRecord",
|
|
302
302
|
value: input
|
|
303
303
|
}, errorFactory);
|
|
304
304
|
})(input, "$input", true);
|
|
305
305
|
};
|
|
306
|
-
export const
|
|
306
|
+
export const stringifyAssetAssigneesProvidedRecord = input => {
|
|
307
307
|
const $string = __typia.json.createStringify.string;
|
|
308
308
|
const $tail = __typia.json.createStringify.tail;
|
|
309
309
|
const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
310
310
|
return $so0(input);
|
|
311
311
|
};
|
|
312
|
-
export const
|
|
312
|
+
export const assertStringifyAssetAssigneesProvidedRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
313
313
|
const __is = input => {
|
|
314
314
|
const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
|
|
315
315
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
@@ -332,11 +332,11 @@ export const assertStringifyAssetAssigneesRecord = (input, errorFactory) => { co
|
|
|
332
332
|
}, errorFactory);
|
|
333
333
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
334
334
|
path: _path + "",
|
|
335
|
-
expected: "
|
|
335
|
+
expected: "AssetAssigneesProvidedRecord",
|
|
336
336
|
value: input
|
|
337
337
|
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
338
338
|
path: _path + "",
|
|
339
|
-
expected: "
|
|
339
|
+
expected: "AssetAssigneesProvidedRecord",
|
|
340
340
|
value: input
|
|
341
341
|
}, errorFactory);
|
|
342
342
|
})(input, "$input", true);
|
|
@@ -347,12 +347,12 @@ export const assertStringifyAssetAssigneesRecord = (input, errorFactory) => { co
|
|
|
347
347
|
const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
348
348
|
return $so0(input);
|
|
349
349
|
}; return stringify(assert(input, errorFactory)); };
|
|
350
|
-
export const
|
|
350
|
+
export const isAssetRefsProvidedRecord = input => {
|
|
351
351
|
const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "object" === typeof elem && null !== elem && $io1(elem));
|
|
352
352
|
const $io1 = input => "string" === typeof input.id && "string" === typeof input.key && "string" === typeof input.value;
|
|
353
353
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
354
354
|
};
|
|
355
|
-
export const
|
|
355
|
+
export const assertAssetRefsProvidedRecord = (input, errorFactory) => {
|
|
356
356
|
const __is = input => {
|
|
357
357
|
const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "object" === typeof elem && null !== elem && $io1(elem));
|
|
358
358
|
const $io1 = input => "string" === typeof input.id && "string" === typeof input.key && "string" === typeof input.value;
|
|
@@ -393,17 +393,17 @@ export const assertAssetRefsRecord = (input, errorFactory) => {
|
|
|
393
393
|
}, errorFactory));
|
|
394
394
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
395
395
|
path: _path + "",
|
|
396
|
-
expected: "
|
|
396
|
+
expected: "AssetRefsProvidedRecord",
|
|
397
397
|
value: input
|
|
398
398
|
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
399
399
|
path: _path + "",
|
|
400
|
-
expected: "
|
|
400
|
+
expected: "AssetRefsProvidedRecord",
|
|
401
401
|
value: input
|
|
402
402
|
}, errorFactory);
|
|
403
403
|
})(input, "$input", true);
|
|
404
404
|
return input;
|
|
405
405
|
};
|
|
406
|
-
export const
|
|
406
|
+
export const randomAssetRefsProvidedRecord = generator => {
|
|
407
407
|
const $generator = __typia.createRandom.generator;
|
|
408
408
|
const $pick = __typia.createRandom.pick;
|
|
409
409
|
const $ro0 = (_recursive = false, _depth = 0) => ({
|
|
@@ -419,7 +419,7 @@ export const randomAssetRefsRecord = generator => {
|
|
|
419
419
|
});
|
|
420
420
|
return $ro0();
|
|
421
421
|
};
|
|
422
|
-
export const
|
|
422
|
+
export const assertGuardAssetRefsProvidedRecord = (input, errorFactory) => {
|
|
423
423
|
const __is = input => {
|
|
424
424
|
const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "object" === typeof elem && null !== elem && $io1(elem));
|
|
425
425
|
const $io1 = input => "string" === typeof input.id && "string" === typeof input.key && "string" === typeof input.value;
|
|
@@ -460,23 +460,23 @@ export const assertGuardAssetRefsRecord = (input, errorFactory) => {
|
|
|
460
460
|
}, errorFactory));
|
|
461
461
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
462
462
|
path: _path + "",
|
|
463
|
-
expected: "
|
|
463
|
+
expected: "AssetRefsProvidedRecord",
|
|
464
464
|
value: input
|
|
465
465
|
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
466
466
|
path: _path + "",
|
|
467
|
-
expected: "
|
|
467
|
+
expected: "AssetRefsProvidedRecord",
|
|
468
468
|
value: input
|
|
469
469
|
}, errorFactory);
|
|
470
470
|
})(input, "$input", true);
|
|
471
471
|
};
|
|
472
|
-
export const
|
|
472
|
+
export const stringifyAssetRefsProvidedRecord = input => {
|
|
473
473
|
const $io1 = input => "string" === typeof input.id && "string" === typeof input.key && "string" === typeof input.value;
|
|
474
474
|
const $string = __typia.json.createStringify.string;
|
|
475
475
|
const $tail = __typia.json.createStringify.tail;
|
|
476
476
|
const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => `{"id":${$string(elem.id)},"key":${$string(elem.key)},"value":${$string(elem.value)}}`).join(",")}]` : undefined}`}`)}}`;
|
|
477
477
|
return $so0(input);
|
|
478
478
|
};
|
|
479
|
-
export const
|
|
479
|
+
export const assertStringifyAssetRefsProvidedRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
480
480
|
const __is = input => {
|
|
481
481
|
const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "object" === typeof elem && null !== elem && $io1(elem));
|
|
482
482
|
const $io1 = input => "string" === typeof input.id && "string" === typeof input.key && "string" === typeof input.value;
|
|
@@ -517,11 +517,11 @@ export const assertStringifyAssetRefsRecord = (input, errorFactory) => { const a
|
|
|
517
517
|
}, errorFactory));
|
|
518
518
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
519
519
|
path: _path + "",
|
|
520
|
-
expected: "
|
|
520
|
+
expected: "AssetRefsProvidedRecord",
|
|
521
521
|
value: input
|
|
522
522
|
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
523
523
|
path: _path + "",
|
|
524
|
-
expected: "
|
|
524
|
+
expected: "AssetRefsProvidedRecord",
|
|
525
525
|
value: input
|
|
526
526
|
}, errorFactory);
|
|
527
527
|
})(input, "$input", true);
|
|
@@ -533,11 +533,11 @@ export const assertStringifyAssetRefsRecord = (input, errorFactory) => { const a
|
|
|
533
533
|
const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => `{"id":${$string(elem.id)},"key":${$string(elem.key)},"value":${$string(elem.value)}}`).join(",")}]` : undefined}`}`)}}`;
|
|
534
534
|
return $so0(input);
|
|
535
535
|
}; return stringify(assert(input, errorFactory)); };
|
|
536
|
-
export const
|
|
536
|
+
export const isAssetTagsProvidedRecord = input => {
|
|
537
537
|
const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
|
|
538
538
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
539
539
|
};
|
|
540
|
-
export const
|
|
540
|
+
export const assertAssetTagsProvidedRecord = (input, errorFactory) => {
|
|
541
541
|
const __is = input => {
|
|
542
542
|
const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
|
|
543
543
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
@@ -560,17 +560,17 @@ export const assertAssetTagsRecord = (input, errorFactory) => {
|
|
|
560
560
|
}, errorFactory);
|
|
561
561
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
562
562
|
path: _path + "",
|
|
563
|
-
expected: "
|
|
563
|
+
expected: "AssetTagsProvidedRecord",
|
|
564
564
|
value: input
|
|
565
565
|
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
566
566
|
path: _path + "",
|
|
567
|
-
expected: "
|
|
567
|
+
expected: "AssetTagsProvidedRecord",
|
|
568
568
|
value: input
|
|
569
569
|
}, errorFactory);
|
|
570
570
|
})(input, "$input", true);
|
|
571
571
|
return input;
|
|
572
572
|
};
|
|
573
|
-
export const
|
|
573
|
+
export const randomAssetTagsProvidedRecord = generator => {
|
|
574
574
|
const $generator = __typia.createRandom.generator;
|
|
575
575
|
const $pick = __typia.createRandom.pick;
|
|
576
576
|
const $ro0 = (_recursive = false, _depth = 0) => ({
|
|
@@ -581,7 +581,7 @@ export const randomAssetTagsRecord = generator => {
|
|
|
581
581
|
});
|
|
582
582
|
return $ro0();
|
|
583
583
|
};
|
|
584
|
-
export const
|
|
584
|
+
export const assertGuardAssetTagsProvidedRecord = (input, errorFactory) => {
|
|
585
585
|
const __is = input => {
|
|
586
586
|
const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
|
|
587
587
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
@@ -604,22 +604,22 @@ export const assertGuardAssetTagsRecord = (input, errorFactory) => {
|
|
|
604
604
|
}, errorFactory);
|
|
605
605
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
606
606
|
path: _path + "",
|
|
607
|
-
expected: "
|
|
607
|
+
expected: "AssetTagsProvidedRecord",
|
|
608
608
|
value: input
|
|
609
609
|
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
610
610
|
path: _path + "",
|
|
611
|
-
expected: "
|
|
611
|
+
expected: "AssetTagsProvidedRecord",
|
|
612
612
|
value: input
|
|
613
613
|
}, errorFactory);
|
|
614
614
|
})(input, "$input", true);
|
|
615
615
|
};
|
|
616
|
-
export const
|
|
616
|
+
export const stringifyAssetTagsProvidedRecord = input => {
|
|
617
617
|
const $string = __typia.json.createStringify.string;
|
|
618
618
|
const $tail = __typia.json.createStringify.tail;
|
|
619
619
|
const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
620
620
|
return $so0(input);
|
|
621
621
|
};
|
|
622
|
-
export const
|
|
622
|
+
export const assertStringifyAssetTagsProvidedRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
623
623
|
const __is = input => {
|
|
624
624
|
const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
|
|
625
625
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
@@ -642,11 +642,11 @@ export const assertStringifyAssetTagsRecord = (input, errorFactory) => { const a
|
|
|
642
642
|
}, errorFactory);
|
|
643
643
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
644
644
|
path: _path + "",
|
|
645
|
-
expected: "
|
|
645
|
+
expected: "AssetTagsProvidedRecord",
|
|
646
646
|
value: input
|
|
647
647
|
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
648
648
|
path: _path + "",
|
|
649
|
-
expected: "
|
|
649
|
+
expected: "AssetTagsProvidedRecord",
|
|
650
650
|
value: input
|
|
651
651
|
}, errorFactory);
|
|
652
652
|
})(input, "$input", true);
|
|
@@ -657,11 +657,11 @@ export const assertStringifyAssetTagsRecord = (input, errorFactory) => { const a
|
|
|
657
657
|
const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
658
658
|
return $so0(input);
|
|
659
659
|
}; return stringify(assert(input, errorFactory)); };
|
|
660
|
-
export const
|
|
660
|
+
export const isAssetFileRefsProvidedRecord = input => {
|
|
661
661
|
const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
|
|
662
662
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
663
663
|
};
|
|
664
|
-
export const
|
|
664
|
+
export const assertAssetFileRefsProvidedRecord = (input, errorFactory) => {
|
|
665
665
|
const __is = input => {
|
|
666
666
|
const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
|
|
667
667
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
@@ -684,17 +684,17 @@ export const assertAssetFileRefsRecord = (input, errorFactory) => {
|
|
|
684
684
|
}, errorFactory);
|
|
685
685
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
686
686
|
path: _path + "",
|
|
687
|
-
expected: "
|
|
687
|
+
expected: "AssetFileRefsProvidedRecord",
|
|
688
688
|
value: input
|
|
689
689
|
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
690
690
|
path: _path + "",
|
|
691
|
-
expected: "
|
|
691
|
+
expected: "AssetFileRefsProvidedRecord",
|
|
692
692
|
value: input
|
|
693
693
|
}, errorFactory);
|
|
694
694
|
})(input, "$input", true);
|
|
695
695
|
return input;
|
|
696
696
|
};
|
|
697
|
-
export const
|
|
697
|
+
export const randomAssetFileRefsProvidedRecord = generator => {
|
|
698
698
|
const $generator = __typia.createRandom.generator;
|
|
699
699
|
const $pick = __typia.createRandom.pick;
|
|
700
700
|
const $ro0 = (_recursive = false, _depth = 0) => ({
|
|
@@ -705,7 +705,7 @@ export const randomAssetFileRefsRecord = generator => {
|
|
|
705
705
|
});
|
|
706
706
|
return $ro0();
|
|
707
707
|
};
|
|
708
|
-
export const
|
|
708
|
+
export const assertGuardAssetFileRefsProvidedRecord = (input, errorFactory) => {
|
|
709
709
|
const __is = input => {
|
|
710
710
|
const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
|
|
711
711
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
@@ -728,22 +728,22 @@ export const assertGuardAssetFileRefsRecord = (input, errorFactory) => {
|
|
|
728
728
|
}, errorFactory);
|
|
729
729
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
730
730
|
path: _path + "",
|
|
731
|
-
expected: "
|
|
731
|
+
expected: "AssetFileRefsProvidedRecord",
|
|
732
732
|
value: input
|
|
733
733
|
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
734
734
|
path: _path + "",
|
|
735
|
-
expected: "
|
|
735
|
+
expected: "AssetFileRefsProvidedRecord",
|
|
736
736
|
value: input
|
|
737
737
|
}, errorFactory);
|
|
738
738
|
})(input, "$input", true);
|
|
739
739
|
};
|
|
740
|
-
export const
|
|
740
|
+
export const stringifyAssetFileRefsProvidedRecord = input => {
|
|
741
741
|
const $string = __typia.json.createStringify.string;
|
|
742
742
|
const $tail = __typia.json.createStringify.tail;
|
|
743
743
|
const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
744
744
|
return $so0(input);
|
|
745
745
|
};
|
|
746
|
-
export const
|
|
746
|
+
export const assertStringifyAssetFileRefsProvidedRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
747
747
|
const __is = input => {
|
|
748
748
|
const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
|
|
749
749
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
@@ -766,11 +766,11 @@ export const assertStringifyAssetFileRefsRecord = (input, errorFactory) => { con
|
|
|
766
766
|
}, errorFactory);
|
|
767
767
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
768
768
|
path: _path + "",
|
|
769
|
-
expected: "
|
|
769
|
+
expected: "AssetFileRefsProvidedRecord",
|
|
770
770
|
value: input
|
|
771
771
|
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
772
772
|
path: _path + "",
|
|
773
|
-
expected: "
|
|
773
|
+
expected: "AssetFileRefsProvidedRecord",
|
|
774
774
|
value: input
|
|
775
775
|
}, errorFactory);
|
|
776
776
|
})(input, "$input", true);
|
|
@@ -781,11 +781,11 @@ export const assertStringifyAssetFileRefsRecord = (input, errorFactory) => { con
|
|
|
781
781
|
const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
782
782
|
return $so0(input);
|
|
783
783
|
}; return stringify(assert(input, errorFactory)); };
|
|
784
|
-
export const
|
|
784
|
+
export const isAssetCreatedProvidedRecord = input => {
|
|
785
785
|
const $io0 = input => (undefined === input.time || "string" === typeof input.time) && (undefined === input.user || "string" === typeof input.user);
|
|
786
786
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
787
787
|
};
|
|
788
|
-
export const
|
|
788
|
+
export const assertAssetCreatedProvidedRecord = (input, errorFactory) => {
|
|
789
789
|
const __is = input => {
|
|
790
790
|
const $io0 = input => (undefined === input.time || "string" === typeof input.time) && (undefined === input.user || "string" === typeof input.user);
|
|
791
791
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
@@ -804,17 +804,17 @@ export const assertAssetCreatedRecord = (input, errorFactory) => {
|
|
|
804
804
|
}, errorFactory));
|
|
805
805
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
806
806
|
path: _path + "",
|
|
807
|
-
expected: "
|
|
807
|
+
expected: "AssetCreatedProvidedRecord",
|
|
808
808
|
value: input
|
|
809
809
|
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
810
810
|
path: _path + "",
|
|
811
|
-
expected: "
|
|
811
|
+
expected: "AssetCreatedProvidedRecord",
|
|
812
812
|
value: input
|
|
813
813
|
}, errorFactory);
|
|
814
814
|
})(input, "$input", true);
|
|
815
815
|
return input;
|
|
816
816
|
};
|
|
817
|
-
export const
|
|
817
|
+
export const randomAssetCreatedProvidedRecord = generator => {
|
|
818
818
|
const $generator = __typia.createRandom.generator;
|
|
819
819
|
const $pick = __typia.createRandom.pick;
|
|
820
820
|
const $ro0 = (_recursive = false, _depth = 0) => ({
|
|
@@ -829,7 +829,7 @@ export const randomAssetCreatedRecord = generator => {
|
|
|
829
829
|
});
|
|
830
830
|
return $ro0();
|
|
831
831
|
};
|
|
832
|
-
export const
|
|
832
|
+
export const assertGuardAssetCreatedProvidedRecord = (input, errorFactory) => {
|
|
833
833
|
const __is = input => {
|
|
834
834
|
const $io0 = input => (undefined === input.time || "string" === typeof input.time) && (undefined === input.user || "string" === typeof input.user);
|
|
835
835
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
@@ -848,22 +848,22 @@ export const assertGuardAssetCreatedRecord = (input, errorFactory) => {
|
|
|
848
848
|
}, errorFactory));
|
|
849
849
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
850
850
|
path: _path + "",
|
|
851
|
-
expected: "
|
|
851
|
+
expected: "AssetCreatedProvidedRecord",
|
|
852
852
|
value: input
|
|
853
853
|
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
854
854
|
path: _path + "",
|
|
855
|
-
expected: "
|
|
855
|
+
expected: "AssetCreatedProvidedRecord",
|
|
856
856
|
value: input
|
|
857
857
|
}, errorFactory);
|
|
858
858
|
})(input, "$input", true);
|
|
859
859
|
};
|
|
860
|
-
export const
|
|
860
|
+
export const stringifyAssetCreatedProvidedRecord = input => {
|
|
861
861
|
const $string = __typia.json.createStringify.string;
|
|
862
862
|
const $tail = __typia.json.createStringify.tail;
|
|
863
863
|
const $so0 = input => `{${$tail(`${undefined === input.time ? "" : `"time":${undefined !== input.time ? $string(input.time) : undefined},`}${undefined === input.user ? "" : `"user":${undefined !== input.user ? $string(input.user) : undefined}`}`)}}`;
|
|
864
864
|
return $so0(input);
|
|
865
865
|
};
|
|
866
|
-
export const
|
|
866
|
+
export const assertStringifyAssetCreatedProvidedRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
867
867
|
const __is = input => {
|
|
868
868
|
const $io0 = input => (undefined === input.time || "string" === typeof input.time) && (undefined === input.user || "string" === typeof input.user);
|
|
869
869
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
@@ -882,11 +882,11 @@ export const assertStringifyAssetCreatedRecord = (input, errorFactory) => { cons
|
|
|
882
882
|
}, errorFactory));
|
|
883
883
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
884
884
|
path: _path + "",
|
|
885
|
-
expected: "
|
|
885
|
+
expected: "AssetCreatedProvidedRecord",
|
|
886
886
|
value: input
|
|
887
887
|
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
888
888
|
path: _path + "",
|
|
889
|
-
expected: "
|
|
889
|
+
expected: "AssetCreatedProvidedRecord",
|
|
890
890
|
value: input
|
|
891
891
|
}, errorFactory);
|
|
892
892
|
})(input, "$input", true);
|
|
@@ -897,11 +897,11 @@ export const assertStringifyAssetCreatedRecord = (input, errorFactory) => { cons
|
|
|
897
897
|
const $so0 = input => `{${$tail(`${undefined === input.time ? "" : `"time":${undefined !== input.time ? $string(input.time) : undefined},`}${undefined === input.user ? "" : `"user":${undefined !== input.user ? $string(input.user) : undefined}`}`)}}`;
|
|
898
898
|
return $so0(input);
|
|
899
899
|
}; return stringify(assert(input, errorFactory)); };
|
|
900
|
-
export const
|
|
900
|
+
export const isAssetModifiedProvidedRecord = input => {
|
|
901
901
|
const $io0 = input => (undefined === input.time || "string" === typeof input.time) && (undefined === input.user || "string" === typeof input.user);
|
|
902
902
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
903
903
|
};
|
|
904
|
-
export const
|
|
904
|
+
export const assertAssetModifiedProvidedRecord = (input, errorFactory) => {
|
|
905
905
|
const __is = input => {
|
|
906
906
|
const $io0 = input => (undefined === input.time || "string" === typeof input.time) && (undefined === input.user || "string" === typeof input.user);
|
|
907
907
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
@@ -920,17 +920,17 @@ export const assertAssetModifiedRecord = (input, errorFactory) => {
|
|
|
920
920
|
}, errorFactory));
|
|
921
921
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
922
922
|
path: _path + "",
|
|
923
|
-
expected: "
|
|
923
|
+
expected: "AssetModifiedProvidedRecord",
|
|
924
924
|
value: input
|
|
925
925
|
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
926
926
|
path: _path + "",
|
|
927
|
-
expected: "
|
|
927
|
+
expected: "AssetModifiedProvidedRecord",
|
|
928
928
|
value: input
|
|
929
929
|
}, errorFactory);
|
|
930
930
|
})(input, "$input", true);
|
|
931
931
|
return input;
|
|
932
932
|
};
|
|
933
|
-
export const
|
|
933
|
+
export const randomAssetModifiedProvidedRecord = generator => {
|
|
934
934
|
const $generator = __typia.createRandom.generator;
|
|
935
935
|
const $pick = __typia.createRandom.pick;
|
|
936
936
|
const $ro0 = (_recursive = false, _depth = 0) => ({
|
|
@@ -945,7 +945,7 @@ export const randomAssetModifiedRecord = generator => {
|
|
|
945
945
|
});
|
|
946
946
|
return $ro0();
|
|
947
947
|
};
|
|
948
|
-
export const
|
|
948
|
+
export const assertGuardAssetModifiedProvidedRecord = (input, errorFactory) => {
|
|
949
949
|
const __is = input => {
|
|
950
950
|
const $io0 = input => (undefined === input.time || "string" === typeof input.time) && (undefined === input.user || "string" === typeof input.user);
|
|
951
951
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
@@ -964,22 +964,22 @@ export const assertGuardAssetModifiedRecord = (input, errorFactory) => {
|
|
|
964
964
|
}, errorFactory));
|
|
965
965
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
966
966
|
path: _path + "",
|
|
967
|
-
expected: "
|
|
967
|
+
expected: "AssetModifiedProvidedRecord",
|
|
968
968
|
value: input
|
|
969
969
|
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
970
970
|
path: _path + "",
|
|
971
|
-
expected: "
|
|
971
|
+
expected: "AssetModifiedProvidedRecord",
|
|
972
972
|
value: input
|
|
973
973
|
}, errorFactory);
|
|
974
974
|
})(input, "$input", true);
|
|
975
975
|
};
|
|
976
|
-
export const
|
|
976
|
+
export const stringifyAssetModifiedProvidedRecord = input => {
|
|
977
977
|
const $string = __typia.json.createStringify.string;
|
|
978
978
|
const $tail = __typia.json.createStringify.tail;
|
|
979
979
|
const $so0 = input => `{${$tail(`${undefined === input.time ? "" : `"time":${undefined !== input.time ? $string(input.time) : undefined},`}${undefined === input.user ? "" : `"user":${undefined !== input.user ? $string(input.user) : undefined}`}`)}}`;
|
|
980
980
|
return $so0(input);
|
|
981
981
|
};
|
|
982
|
-
export const
|
|
982
|
+
export const assertStringifyAssetModifiedProvidedRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
983
983
|
const __is = input => {
|
|
984
984
|
const $io0 = input => (undefined === input.time || "string" === typeof input.time) && (undefined === input.user || "string" === typeof input.user);
|
|
985
985
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
@@ -998,11 +998,11 @@ export const assertStringifyAssetModifiedRecord = (input, errorFactory) => { con
|
|
|
998
998
|
}, errorFactory));
|
|
999
999
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
1000
1000
|
path: _path + "",
|
|
1001
|
-
expected: "
|
|
1001
|
+
expected: "AssetModifiedProvidedRecord",
|
|
1002
1002
|
value: input
|
|
1003
1003
|
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
1004
1004
|
path: _path + "",
|
|
1005
|
-
expected: "
|
|
1005
|
+
expected: "AssetModifiedProvidedRecord",
|
|
1006
1006
|
value: input
|
|
1007
1007
|
}, errorFactory);
|
|
1008
1008
|
})(input, "$input", true);
|
|
@@ -1013,3 +1013,1232 @@ export const assertStringifyAssetModifiedRecord = (input, errorFactory) => { con
|
|
|
1013
1013
|
const $so0 = input => `{${$tail(`${undefined === input.time ? "" : `"time":${undefined !== input.time ? $string(input.time) : undefined},`}${undefined === input.user ? "" : `"user":${undefined !== input.user ? $string(input.user) : undefined}`}`)}}`;
|
|
1014
1014
|
return $so0(input);
|
|
1015
1015
|
}; return stringify(assert(input, errorFactory)); };
|
|
1016
|
+
export const isAssetDomainStatusProvidedRecord = input => {
|
|
1017
|
+
const $io0 = input => Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && $io1(elem));
|
|
1018
|
+
const $io1 = input => "string" === typeof input.id && "string" === typeof input.msg && "number" === typeof input.level && "string" === typeof input.code && (null === input.expose || undefined === input.expose || "boolean" === typeof input.expose) && (null === input.index || undefined === input.index || "number" === typeof input.index);
|
|
1019
|
+
return "object" === typeof input && null !== input && $io0(input);
|
|
1020
|
+
};
|
|
1021
|
+
export const assertAssetDomainStatusProvidedRecord = (input, errorFactory) => {
|
|
1022
|
+
const __is = input => {
|
|
1023
|
+
const $io0 = input => Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && $io1(elem));
|
|
1024
|
+
const $io1 = input => "string" === typeof input.id && "string" === typeof input.msg && "number" === typeof input.level && "string" === typeof input.code && (null === input.expose || undefined === input.expose || "boolean" === typeof input.expose) && (null === input.index || undefined === input.index || "number" === typeof input.index);
|
|
1025
|
+
return "object" === typeof input && null !== input && $io0(input);
|
|
1026
|
+
};
|
|
1027
|
+
if (false === __is(input))
|
|
1028
|
+
((input, _path, _exceptionable = true) => {
|
|
1029
|
+
const $guard = __typia.createAssert.guard;
|
|
1030
|
+
const $ao0 = (input, _path, _exceptionable = true) => (Array.isArray(input.messages) || $guard(_exceptionable, {
|
|
1031
|
+
path: _path + ".messages",
|
|
1032
|
+
expected: "Array<__type>",
|
|
1033
|
+
value: input.messages
|
|
1034
|
+
}, errorFactory)) && input.messages.every((elem, _index1) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
1035
|
+
path: _path + ".messages[" + _index1 + "]",
|
|
1036
|
+
expected: "__type",
|
|
1037
|
+
value: elem
|
|
1038
|
+
}, errorFactory)) && $ao1(elem, _path + ".messages[" + _index1 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
1039
|
+
path: _path + ".messages[" + _index1 + "]",
|
|
1040
|
+
expected: "__type",
|
|
1041
|
+
value: elem
|
|
1042
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
1043
|
+
path: _path + ".messages",
|
|
1044
|
+
expected: "Array<__type>",
|
|
1045
|
+
value: input.messages
|
|
1046
|
+
}, errorFactory);
|
|
1047
|
+
const $ao1 = (input, _path, _exceptionable = true) => ("string" === typeof input.id || $guard(_exceptionable, {
|
|
1048
|
+
path: _path + ".id",
|
|
1049
|
+
expected: "string",
|
|
1050
|
+
value: input.id
|
|
1051
|
+
}, errorFactory)) && ("string" === typeof input.msg || $guard(_exceptionable, {
|
|
1052
|
+
path: _path + ".msg",
|
|
1053
|
+
expected: "string",
|
|
1054
|
+
value: input.msg
|
|
1055
|
+
}, errorFactory)) && ("number" === typeof input.level || $guard(_exceptionable, {
|
|
1056
|
+
path: _path + ".level",
|
|
1057
|
+
expected: "number",
|
|
1058
|
+
value: input.level
|
|
1059
|
+
}, errorFactory)) && ("string" === typeof input.code || $guard(_exceptionable, {
|
|
1060
|
+
path: _path + ".code",
|
|
1061
|
+
expected: "string",
|
|
1062
|
+
value: input.code
|
|
1063
|
+
}, errorFactory)) && (null === input.expose || undefined === input.expose || "boolean" === typeof input.expose || $guard(_exceptionable, {
|
|
1064
|
+
path: _path + ".expose",
|
|
1065
|
+
expected: "(boolean | null | undefined)",
|
|
1066
|
+
value: input.expose
|
|
1067
|
+
}, errorFactory)) && (null === input.index || undefined === input.index || "number" === typeof input.index || $guard(_exceptionable, {
|
|
1068
|
+
path: _path + ".index",
|
|
1069
|
+
expected: "(null | number | undefined)",
|
|
1070
|
+
value: input.index
|
|
1071
|
+
}, errorFactory));
|
|
1072
|
+
return ("object" === typeof input && null !== input || $guard(true, {
|
|
1073
|
+
path: _path + "",
|
|
1074
|
+
expected: "AssetDomainStatusProvidedRecord",
|
|
1075
|
+
value: input
|
|
1076
|
+
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
1077
|
+
path: _path + "",
|
|
1078
|
+
expected: "AssetDomainStatusProvidedRecord",
|
|
1079
|
+
value: input
|
|
1080
|
+
}, errorFactory);
|
|
1081
|
+
})(input, "$input", true);
|
|
1082
|
+
return input;
|
|
1083
|
+
};
|
|
1084
|
+
export const randomAssetDomainStatusProvidedRecord = generator => {
|
|
1085
|
+
const $generator = __typia.createRandom.generator;
|
|
1086
|
+
const $pick = __typia.createRandom.pick;
|
|
1087
|
+
const $ro0 = (_recursive = false, _depth = 0) => ({
|
|
1088
|
+
messages: (generator?.array ?? $generator.array)(() => $ro1(_recursive, _recursive ? 1 + _depth : _depth))
|
|
1089
|
+
});
|
|
1090
|
+
const $ro1 = (_recursive = false, _depth = 0) => ({
|
|
1091
|
+
id: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
|
|
1092
|
+
msg: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
|
|
1093
|
+
level: (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100),
|
|
1094
|
+
code: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
|
|
1095
|
+
expose: $pick([
|
|
1096
|
+
() => undefined,
|
|
1097
|
+
() => null,
|
|
1098
|
+
() => (generator?.boolean ?? $generator.boolean)()
|
|
1099
|
+
])(),
|
|
1100
|
+
index: $pick([
|
|
1101
|
+
() => undefined,
|
|
1102
|
+
() => null,
|
|
1103
|
+
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
1104
|
+
])()
|
|
1105
|
+
});
|
|
1106
|
+
return $ro0();
|
|
1107
|
+
};
|
|
1108
|
+
export const assertGuardAssetDomainStatusProvidedRecord = (input, errorFactory) => {
|
|
1109
|
+
const __is = input => {
|
|
1110
|
+
const $io0 = input => Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && $io1(elem));
|
|
1111
|
+
const $io1 = input => "string" === typeof input.id && "string" === typeof input.msg && "number" === typeof input.level && "string" === typeof input.code && (null === input.expose || undefined === input.expose || "boolean" === typeof input.expose) && (null === input.index || undefined === input.index || "number" === typeof input.index);
|
|
1112
|
+
return "object" === typeof input && null !== input && $io0(input);
|
|
1113
|
+
};
|
|
1114
|
+
if (false === __is(input))
|
|
1115
|
+
((input, _path, _exceptionable = true) => {
|
|
1116
|
+
const $guard = __typia.createAssertGuard.guard;
|
|
1117
|
+
const $ao0 = (input, _path, _exceptionable = true) => (Array.isArray(input.messages) || $guard(_exceptionable, {
|
|
1118
|
+
path: _path + ".messages",
|
|
1119
|
+
expected: "Array<__type>",
|
|
1120
|
+
value: input.messages
|
|
1121
|
+
}, errorFactory)) && input.messages.every((elem, _index1) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
1122
|
+
path: _path + ".messages[" + _index1 + "]",
|
|
1123
|
+
expected: "__type",
|
|
1124
|
+
value: elem
|
|
1125
|
+
}, errorFactory)) && $ao1(elem, _path + ".messages[" + _index1 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
1126
|
+
path: _path + ".messages[" + _index1 + "]",
|
|
1127
|
+
expected: "__type",
|
|
1128
|
+
value: elem
|
|
1129
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
1130
|
+
path: _path + ".messages",
|
|
1131
|
+
expected: "Array<__type>",
|
|
1132
|
+
value: input.messages
|
|
1133
|
+
}, errorFactory);
|
|
1134
|
+
const $ao1 = (input, _path, _exceptionable = true) => ("string" === typeof input.id || $guard(_exceptionable, {
|
|
1135
|
+
path: _path + ".id",
|
|
1136
|
+
expected: "string",
|
|
1137
|
+
value: input.id
|
|
1138
|
+
}, errorFactory)) && ("string" === typeof input.msg || $guard(_exceptionable, {
|
|
1139
|
+
path: _path + ".msg",
|
|
1140
|
+
expected: "string",
|
|
1141
|
+
value: input.msg
|
|
1142
|
+
}, errorFactory)) && ("number" === typeof input.level || $guard(_exceptionable, {
|
|
1143
|
+
path: _path + ".level",
|
|
1144
|
+
expected: "number",
|
|
1145
|
+
value: input.level
|
|
1146
|
+
}, errorFactory)) && ("string" === typeof input.code || $guard(_exceptionable, {
|
|
1147
|
+
path: _path + ".code",
|
|
1148
|
+
expected: "string",
|
|
1149
|
+
value: input.code
|
|
1150
|
+
}, errorFactory)) && (null === input.expose || undefined === input.expose || "boolean" === typeof input.expose || $guard(_exceptionable, {
|
|
1151
|
+
path: _path + ".expose",
|
|
1152
|
+
expected: "(boolean | null | undefined)",
|
|
1153
|
+
value: input.expose
|
|
1154
|
+
}, errorFactory)) && (null === input.index || undefined === input.index || "number" === typeof input.index || $guard(_exceptionable, {
|
|
1155
|
+
path: _path + ".index",
|
|
1156
|
+
expected: "(null | number | undefined)",
|
|
1157
|
+
value: input.index
|
|
1158
|
+
}, errorFactory));
|
|
1159
|
+
return ("object" === typeof input && null !== input || $guard(true, {
|
|
1160
|
+
path: _path + "",
|
|
1161
|
+
expected: "AssetDomainStatusProvidedRecord",
|
|
1162
|
+
value: input
|
|
1163
|
+
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
1164
|
+
path: _path + "",
|
|
1165
|
+
expected: "AssetDomainStatusProvidedRecord",
|
|
1166
|
+
value: input
|
|
1167
|
+
}, errorFactory);
|
|
1168
|
+
})(input, "$input", true);
|
|
1169
|
+
};
|
|
1170
|
+
export const stringifyAssetDomainStatusProvidedRecord = input => {
|
|
1171
|
+
const $io1 = input => "string" === typeof input.id && "string" === typeof input.msg && "number" === typeof input.level && "string" === typeof input.code && (null === input.expose || undefined === input.expose || "boolean" === typeof input.expose) && (null === input.index || undefined === input.index || "number" === typeof input.index);
|
|
1172
|
+
const $string = __typia.json.createStringify.string;
|
|
1173
|
+
const $so0 = input => `{"messages":${`[${input.messages.map(elem => $so1(elem)).join(",")}]`}}`;
|
|
1174
|
+
const $so1 = input => `{${undefined === input.expose ? "" : `"expose":${undefined !== input.expose ? null !== input.expose ? input.expose : "null" : undefined},`}${undefined === input.index ? "" : `"index":${undefined !== input.index ? null !== input.index ? input.index : "null" : undefined},`}"id":${$string(input.id)},"msg":${$string(input.msg)},"level":${input.level},"code":${$string(input.code)}}`;
|
|
1175
|
+
return $so0(input);
|
|
1176
|
+
};
|
|
1177
|
+
export const assertStringifyAssetDomainStatusProvidedRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
1178
|
+
const __is = input => {
|
|
1179
|
+
const $io0 = input => Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && $io1(elem));
|
|
1180
|
+
const $io1 = input => "string" === typeof input.id && "string" === typeof input.msg && ("number" === typeof input.level && !Number.isNaN(input.level)) && "string" === typeof input.code && (null === input.expose || undefined === input.expose || "boolean" === typeof input.expose) && (null === input.index || undefined === input.index || "number" === typeof input.index && !Number.isNaN(input.index));
|
|
1181
|
+
return "object" === typeof input && null !== input && $io0(input);
|
|
1182
|
+
};
|
|
1183
|
+
if (false === __is(input))
|
|
1184
|
+
((input, _path, _exceptionable = true) => {
|
|
1185
|
+
const $guard = __typia.json.createAssertStringify.guard;
|
|
1186
|
+
const $ao0 = (input, _path, _exceptionable = true) => (Array.isArray(input.messages) || $guard(_exceptionable, {
|
|
1187
|
+
path: _path + ".messages",
|
|
1188
|
+
expected: "Array<__type>",
|
|
1189
|
+
value: input.messages
|
|
1190
|
+
}, errorFactory)) && input.messages.every((elem, _index1) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
1191
|
+
path: _path + ".messages[" + _index1 + "]",
|
|
1192
|
+
expected: "__type",
|
|
1193
|
+
value: elem
|
|
1194
|
+
}, errorFactory)) && $ao1(elem, _path + ".messages[" + _index1 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
1195
|
+
path: _path + ".messages[" + _index1 + "]",
|
|
1196
|
+
expected: "__type",
|
|
1197
|
+
value: elem
|
|
1198
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
1199
|
+
path: _path + ".messages",
|
|
1200
|
+
expected: "Array<__type>",
|
|
1201
|
+
value: input.messages
|
|
1202
|
+
}, errorFactory);
|
|
1203
|
+
const $ao1 = (input, _path, _exceptionable = true) => ("string" === typeof input.id || $guard(_exceptionable, {
|
|
1204
|
+
path: _path + ".id",
|
|
1205
|
+
expected: "string",
|
|
1206
|
+
value: input.id
|
|
1207
|
+
}, errorFactory)) && ("string" === typeof input.msg || $guard(_exceptionable, {
|
|
1208
|
+
path: _path + ".msg",
|
|
1209
|
+
expected: "string",
|
|
1210
|
+
value: input.msg
|
|
1211
|
+
}, errorFactory)) && ("number" === typeof input.level && !Number.isNaN(input.level) || $guard(_exceptionable, {
|
|
1212
|
+
path: _path + ".level",
|
|
1213
|
+
expected: "number",
|
|
1214
|
+
value: input.level
|
|
1215
|
+
}, errorFactory)) && ("string" === typeof input.code || $guard(_exceptionable, {
|
|
1216
|
+
path: _path + ".code",
|
|
1217
|
+
expected: "string",
|
|
1218
|
+
value: input.code
|
|
1219
|
+
}, errorFactory)) && (null === input.expose || undefined === input.expose || "boolean" === typeof input.expose || $guard(_exceptionable, {
|
|
1220
|
+
path: _path + ".expose",
|
|
1221
|
+
expected: "(boolean | null | undefined)",
|
|
1222
|
+
value: input.expose
|
|
1223
|
+
}, errorFactory)) && (null === input.index || undefined === input.index || "number" === typeof input.index && !Number.isNaN(input.index) || $guard(_exceptionable, {
|
|
1224
|
+
path: _path + ".index",
|
|
1225
|
+
expected: "(null | number | undefined)",
|
|
1226
|
+
value: input.index
|
|
1227
|
+
}, errorFactory));
|
|
1228
|
+
return ("object" === typeof input && null !== input || $guard(true, {
|
|
1229
|
+
path: _path + "",
|
|
1230
|
+
expected: "AssetDomainStatusProvidedRecord",
|
|
1231
|
+
value: input
|
|
1232
|
+
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
1233
|
+
path: _path + "",
|
|
1234
|
+
expected: "AssetDomainStatusProvidedRecord",
|
|
1235
|
+
value: input
|
|
1236
|
+
}, errorFactory);
|
|
1237
|
+
})(input, "$input", true);
|
|
1238
|
+
return input;
|
|
1239
|
+
}; const stringify = input => {
|
|
1240
|
+
const $io1 = input => "string" === typeof input.id && "string" === typeof input.msg && "number" === typeof input.level && "string" === typeof input.code && (null === input.expose || undefined === input.expose || "boolean" === typeof input.expose) && (null === input.index || undefined === input.index || "number" === typeof input.index);
|
|
1241
|
+
const $string = __typia.json.createAssertStringify.string;
|
|
1242
|
+
const $so0 = input => `{"messages":${`[${input.messages.map(elem => $so1(elem)).join(",")}]`}}`;
|
|
1243
|
+
const $so1 = input => `{${undefined === input.expose ? "" : `"expose":${undefined !== input.expose ? null !== input.expose ? input.expose : "null" : undefined},`}${undefined === input.index ? "" : `"index":${undefined !== input.index ? null !== input.index ? input.index : "null" : undefined},`}"id":${$string(input.id)},"msg":${$string(input.msg)},"level":${input.level},"code":${$string(input.code)}}`;
|
|
1244
|
+
return $so0(input);
|
|
1245
|
+
}; return stringify(assert(input, errorFactory)); };
|
|
1246
|
+
export const isAssetDomainIconProvidedRecord = input => {
|
|
1247
|
+
const $io0 = input => undefined === input.value || "string" === typeof input.value;
|
|
1248
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
1249
|
+
};
|
|
1250
|
+
export const assertAssetDomainIconProvidedRecord = (input, errorFactory) => {
|
|
1251
|
+
const __is = input => {
|
|
1252
|
+
const $io0 = input => undefined === input.value || "string" === typeof input.value;
|
|
1253
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
1254
|
+
};
|
|
1255
|
+
if (false === __is(input))
|
|
1256
|
+
((input, _path, _exceptionable = true) => {
|
|
1257
|
+
const $guard = __typia.createAssert.guard;
|
|
1258
|
+
const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || "string" === typeof input.value || $guard(_exceptionable, {
|
|
1259
|
+
path: _path + ".value",
|
|
1260
|
+
expected: "(string | undefined)",
|
|
1261
|
+
value: input.value
|
|
1262
|
+
}, errorFactory);
|
|
1263
|
+
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
1264
|
+
path: _path + "",
|
|
1265
|
+
expected: "AssetDomainIconProvidedRecord",
|
|
1266
|
+
value: input
|
|
1267
|
+
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
1268
|
+
path: _path + "",
|
|
1269
|
+
expected: "AssetDomainIconProvidedRecord",
|
|
1270
|
+
value: input
|
|
1271
|
+
}, errorFactory);
|
|
1272
|
+
})(input, "$input", true);
|
|
1273
|
+
return input;
|
|
1274
|
+
};
|
|
1275
|
+
export const randomAssetDomainIconProvidedRecord = generator => {
|
|
1276
|
+
const $generator = __typia.createRandom.generator;
|
|
1277
|
+
const $pick = __typia.createRandom.pick;
|
|
1278
|
+
const $ro0 = (_recursive = false, _depth = 0) => ({
|
|
1279
|
+
value: $pick([
|
|
1280
|
+
() => undefined,
|
|
1281
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
1282
|
+
])()
|
|
1283
|
+
});
|
|
1284
|
+
return $ro0();
|
|
1285
|
+
};
|
|
1286
|
+
export const assertGuardAssetDomainIconProvidedRecord = (input, errorFactory) => {
|
|
1287
|
+
const __is = input => {
|
|
1288
|
+
const $io0 = input => undefined === input.value || "string" === typeof input.value;
|
|
1289
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
1290
|
+
};
|
|
1291
|
+
if (false === __is(input))
|
|
1292
|
+
((input, _path, _exceptionable = true) => {
|
|
1293
|
+
const $guard = __typia.createAssertGuard.guard;
|
|
1294
|
+
const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || "string" === typeof input.value || $guard(_exceptionable, {
|
|
1295
|
+
path: _path + ".value",
|
|
1296
|
+
expected: "(string | undefined)",
|
|
1297
|
+
value: input.value
|
|
1298
|
+
}, errorFactory);
|
|
1299
|
+
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
1300
|
+
path: _path + "",
|
|
1301
|
+
expected: "AssetDomainIconProvidedRecord",
|
|
1302
|
+
value: input
|
|
1303
|
+
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
1304
|
+
path: _path + "",
|
|
1305
|
+
expected: "AssetDomainIconProvidedRecord",
|
|
1306
|
+
value: input
|
|
1307
|
+
}, errorFactory);
|
|
1308
|
+
})(input, "$input", true);
|
|
1309
|
+
};
|
|
1310
|
+
export const stringifyAssetDomainIconProvidedRecord = input => {
|
|
1311
|
+
const $string = __typia.json.createStringify.string;
|
|
1312
|
+
const $tail = __typia.json.createStringify.tail;
|
|
1313
|
+
const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? $string(input.value) : undefined}`}`)}}`;
|
|
1314
|
+
return $so0(input);
|
|
1315
|
+
};
|
|
1316
|
+
export const assertStringifyAssetDomainIconProvidedRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
1317
|
+
const __is = input => {
|
|
1318
|
+
const $io0 = input => undefined === input.value || "string" === typeof input.value;
|
|
1319
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
1320
|
+
};
|
|
1321
|
+
if (false === __is(input))
|
|
1322
|
+
((input, _path, _exceptionable = true) => {
|
|
1323
|
+
const $guard = __typia.json.createAssertStringify.guard;
|
|
1324
|
+
const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || "string" === typeof input.value || $guard(_exceptionable, {
|
|
1325
|
+
path: _path + ".value",
|
|
1326
|
+
expected: "(string | undefined)",
|
|
1327
|
+
value: input.value
|
|
1328
|
+
}, errorFactory);
|
|
1329
|
+
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
1330
|
+
path: _path + "",
|
|
1331
|
+
expected: "AssetDomainIconProvidedRecord",
|
|
1332
|
+
value: input
|
|
1333
|
+
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
1334
|
+
path: _path + "",
|
|
1335
|
+
expected: "AssetDomainIconProvidedRecord",
|
|
1336
|
+
value: input
|
|
1337
|
+
}, errorFactory);
|
|
1338
|
+
})(input, "$input", true);
|
|
1339
|
+
return input;
|
|
1340
|
+
}; const stringify = input => {
|
|
1341
|
+
const $string = __typia.json.createAssertStringify.string;
|
|
1342
|
+
const $tail = __typia.json.createAssertStringify.tail;
|
|
1343
|
+
const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? $string(input.value) : undefined}`}`)}}`;
|
|
1344
|
+
return $so0(input);
|
|
1345
|
+
}; return stringify(assert(input, errorFactory)); };
|
|
1346
|
+
export const isAssetDomainDeadlinesProvidedRecord = input => {
|
|
1347
|
+
const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
|
|
1348
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
1349
|
+
};
|
|
1350
|
+
export const assertAssetDomainDeadlinesProvidedRecord = (input, errorFactory) => {
|
|
1351
|
+
const __is = input => {
|
|
1352
|
+
const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
|
|
1353
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
1354
|
+
};
|
|
1355
|
+
if (false === __is(input))
|
|
1356
|
+
((input, _path, _exceptionable = true) => {
|
|
1357
|
+
const $guard = __typia.createAssert.guard;
|
|
1358
|
+
const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
|
|
1359
|
+
path: _path + ".value",
|
|
1360
|
+
expected: "(Array<string> | undefined)",
|
|
1361
|
+
value: input.value
|
|
1362
|
+
}, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
|
|
1363
|
+
path: _path + ".value[" + _index1 + "]",
|
|
1364
|
+
expected: "string",
|
|
1365
|
+
value: elem
|
|
1366
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
1367
|
+
path: _path + ".value",
|
|
1368
|
+
expected: "(Array<string> | undefined)",
|
|
1369
|
+
value: input.value
|
|
1370
|
+
}, errorFactory);
|
|
1371
|
+
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
1372
|
+
path: _path + "",
|
|
1373
|
+
expected: "AssetDomainDeadlinesProvidedRecord",
|
|
1374
|
+
value: input
|
|
1375
|
+
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
1376
|
+
path: _path + "",
|
|
1377
|
+
expected: "AssetDomainDeadlinesProvidedRecord",
|
|
1378
|
+
value: input
|
|
1379
|
+
}, errorFactory);
|
|
1380
|
+
})(input, "$input", true);
|
|
1381
|
+
return input;
|
|
1382
|
+
};
|
|
1383
|
+
export const randomAssetDomainDeadlinesProvidedRecord = generator => {
|
|
1384
|
+
const $generator = __typia.createRandom.generator;
|
|
1385
|
+
const $pick = __typia.createRandom.pick;
|
|
1386
|
+
const $ro0 = (_recursive = false, _depth = 0) => ({
|
|
1387
|
+
value: $pick([
|
|
1388
|
+
() => undefined,
|
|
1389
|
+
() => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
|
|
1390
|
+
])()
|
|
1391
|
+
});
|
|
1392
|
+
return $ro0();
|
|
1393
|
+
};
|
|
1394
|
+
export const assertGuardAssetDomainDeadlinesProvidedRecord = (input, errorFactory) => {
|
|
1395
|
+
const __is = input => {
|
|
1396
|
+
const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
|
|
1397
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
1398
|
+
};
|
|
1399
|
+
if (false === __is(input))
|
|
1400
|
+
((input, _path, _exceptionable = true) => {
|
|
1401
|
+
const $guard = __typia.createAssertGuard.guard;
|
|
1402
|
+
const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
|
|
1403
|
+
path: _path + ".value",
|
|
1404
|
+
expected: "(Array<string> | undefined)",
|
|
1405
|
+
value: input.value
|
|
1406
|
+
}, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
|
|
1407
|
+
path: _path + ".value[" + _index1 + "]",
|
|
1408
|
+
expected: "string",
|
|
1409
|
+
value: elem
|
|
1410
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
1411
|
+
path: _path + ".value",
|
|
1412
|
+
expected: "(Array<string> | undefined)",
|
|
1413
|
+
value: input.value
|
|
1414
|
+
}, errorFactory);
|
|
1415
|
+
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
1416
|
+
path: _path + "",
|
|
1417
|
+
expected: "AssetDomainDeadlinesProvidedRecord",
|
|
1418
|
+
value: input
|
|
1419
|
+
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
1420
|
+
path: _path + "",
|
|
1421
|
+
expected: "AssetDomainDeadlinesProvidedRecord",
|
|
1422
|
+
value: input
|
|
1423
|
+
}, errorFactory);
|
|
1424
|
+
})(input, "$input", true);
|
|
1425
|
+
};
|
|
1426
|
+
export const stringifyAssetDomainDeadlinesProvidedRecord = input => {
|
|
1427
|
+
const $string = __typia.json.createStringify.string;
|
|
1428
|
+
const $tail = __typia.json.createStringify.tail;
|
|
1429
|
+
const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
1430
|
+
return $so0(input);
|
|
1431
|
+
};
|
|
1432
|
+
export const assertStringifyAssetDomainDeadlinesProvidedRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
1433
|
+
const __is = input => {
|
|
1434
|
+
const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
|
|
1435
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
1436
|
+
};
|
|
1437
|
+
if (false === __is(input))
|
|
1438
|
+
((input, _path, _exceptionable = true) => {
|
|
1439
|
+
const $guard = __typia.json.createAssertStringify.guard;
|
|
1440
|
+
const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
|
|
1441
|
+
path: _path + ".value",
|
|
1442
|
+
expected: "(Array<string> | undefined)",
|
|
1443
|
+
value: input.value
|
|
1444
|
+
}, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
|
|
1445
|
+
path: _path + ".value[" + _index1 + "]",
|
|
1446
|
+
expected: "string",
|
|
1447
|
+
value: elem
|
|
1448
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
1449
|
+
path: _path + ".value",
|
|
1450
|
+
expected: "(Array<string> | undefined)",
|
|
1451
|
+
value: input.value
|
|
1452
|
+
}, errorFactory);
|
|
1453
|
+
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
1454
|
+
path: _path + "",
|
|
1455
|
+
expected: "AssetDomainDeadlinesProvidedRecord",
|
|
1456
|
+
value: input
|
|
1457
|
+
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
1458
|
+
path: _path + "",
|
|
1459
|
+
expected: "AssetDomainDeadlinesProvidedRecord",
|
|
1460
|
+
value: input
|
|
1461
|
+
}, errorFactory);
|
|
1462
|
+
})(input, "$input", true);
|
|
1463
|
+
return input;
|
|
1464
|
+
}; const stringify = input => {
|
|
1465
|
+
const $string = __typia.json.createAssertStringify.string;
|
|
1466
|
+
const $tail = __typia.json.createAssertStringify.tail;
|
|
1467
|
+
const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
1468
|
+
return $so0(input);
|
|
1469
|
+
}; return stringify(assert(input, errorFactory)); };
|
|
1470
|
+
export const isAssetDomainPublishedProvidedRecord = input => {
|
|
1471
|
+
const $io0 = input => Object.keys(input).every(key => {
|
|
1472
|
+
const value = input[key];
|
|
1473
|
+
if (undefined === value)
|
|
1474
|
+
return true;
|
|
1475
|
+
return "string" === typeof value;
|
|
1476
|
+
});
|
|
1477
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
1478
|
+
};
|
|
1479
|
+
export const assertAssetDomainPublishedProvidedRecord = (input, errorFactory) => {
|
|
1480
|
+
const __is = input => {
|
|
1481
|
+
const $io0 = input => Object.keys(input).every(key => {
|
|
1482
|
+
const value = input[key];
|
|
1483
|
+
if (undefined === value)
|
|
1484
|
+
return true;
|
|
1485
|
+
return "string" === typeof value;
|
|
1486
|
+
});
|
|
1487
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
1488
|
+
};
|
|
1489
|
+
if (false === __is(input))
|
|
1490
|
+
((input, _path, _exceptionable = true) => {
|
|
1491
|
+
const $guard = __typia.createAssert.guard;
|
|
1492
|
+
const $join = __typia.createAssert.join;
|
|
1493
|
+
const $ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
1494
|
+
const value = input[key];
|
|
1495
|
+
if (undefined === value)
|
|
1496
|
+
return true;
|
|
1497
|
+
return "string" === typeof value || $guard(_exceptionable, {
|
|
1498
|
+
path: _path + $join(key),
|
|
1499
|
+
expected: "string",
|
|
1500
|
+
value: value
|
|
1501
|
+
}, errorFactory);
|
|
1502
|
+
});
|
|
1503
|
+
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
1504
|
+
path: _path + "",
|
|
1505
|
+
expected: "AssetDomainPublishedProvidedRecord",
|
|
1506
|
+
value: input
|
|
1507
|
+
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
1508
|
+
path: _path + "",
|
|
1509
|
+
expected: "AssetDomainPublishedProvidedRecord",
|
|
1510
|
+
value: input
|
|
1511
|
+
}, errorFactory);
|
|
1512
|
+
})(input, "$input", true);
|
|
1513
|
+
return input;
|
|
1514
|
+
};
|
|
1515
|
+
export const randomAssetDomainPublishedProvidedRecord = generator => {
|
|
1516
|
+
const $generator = __typia.createRandom.generator;
|
|
1517
|
+
const $ro0 = (_recursive = false, _depth = 0) => {
|
|
1518
|
+
const output = {};
|
|
1519
|
+
(generator?.array ?? $generator.array)(() => output[(generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()] = (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(), (generator?.integer ?? $generator.integer)(0, 3));
|
|
1520
|
+
return output;
|
|
1521
|
+
};
|
|
1522
|
+
return $ro0();
|
|
1523
|
+
};
|
|
1524
|
+
export const assertGuardAssetDomainPublishedProvidedRecord = (input, errorFactory) => {
|
|
1525
|
+
const __is = input => {
|
|
1526
|
+
const $io0 = input => Object.keys(input).every(key => {
|
|
1527
|
+
const value = input[key];
|
|
1528
|
+
if (undefined === value)
|
|
1529
|
+
return true;
|
|
1530
|
+
return "string" === typeof value;
|
|
1531
|
+
});
|
|
1532
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
1533
|
+
};
|
|
1534
|
+
if (false === __is(input))
|
|
1535
|
+
((input, _path, _exceptionable = true) => {
|
|
1536
|
+
const $guard = __typia.createAssertGuard.guard;
|
|
1537
|
+
const $join = __typia.createAssertGuard.join;
|
|
1538
|
+
const $ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
1539
|
+
const value = input[key];
|
|
1540
|
+
if (undefined === value)
|
|
1541
|
+
return true;
|
|
1542
|
+
return "string" === typeof value || $guard(_exceptionable, {
|
|
1543
|
+
path: _path + $join(key),
|
|
1544
|
+
expected: "string",
|
|
1545
|
+
value: value
|
|
1546
|
+
}, errorFactory);
|
|
1547
|
+
});
|
|
1548
|
+
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
1549
|
+
path: _path + "",
|
|
1550
|
+
expected: "AssetDomainPublishedProvidedRecord",
|
|
1551
|
+
value: input
|
|
1552
|
+
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
1553
|
+
path: _path + "",
|
|
1554
|
+
expected: "AssetDomainPublishedProvidedRecord",
|
|
1555
|
+
value: input
|
|
1556
|
+
}, errorFactory);
|
|
1557
|
+
})(input, "$input", true);
|
|
1558
|
+
};
|
|
1559
|
+
export const stringifyAssetDomainPublishedProvidedRecord = input => {
|
|
1560
|
+
const $string = __typia.json.createStringify.string;
|
|
1561
|
+
const $so0 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
1562
|
+
return ""; return `${JSON.stringify(key)}:${$string(value)}`; }).filter(str => "" !== str).join(",")}}`;
|
|
1563
|
+
return $so0(input);
|
|
1564
|
+
};
|
|
1565
|
+
export const assertStringifyAssetDomainPublishedProvidedRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
1566
|
+
const __is = input => {
|
|
1567
|
+
const $io0 = input => Object.keys(input).every(key => {
|
|
1568
|
+
const value = input[key];
|
|
1569
|
+
if (undefined === value)
|
|
1570
|
+
return true;
|
|
1571
|
+
return "string" === typeof value;
|
|
1572
|
+
});
|
|
1573
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
1574
|
+
};
|
|
1575
|
+
if (false === __is(input))
|
|
1576
|
+
((input, _path, _exceptionable = true) => {
|
|
1577
|
+
const $guard = __typia.json.createAssertStringify.guard;
|
|
1578
|
+
const $join = __typia.json.createAssertStringify.join;
|
|
1579
|
+
const $ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
1580
|
+
const value = input[key];
|
|
1581
|
+
if (undefined === value)
|
|
1582
|
+
return true;
|
|
1583
|
+
return "string" === typeof value || $guard(_exceptionable, {
|
|
1584
|
+
path: _path + $join(key),
|
|
1585
|
+
expected: "string",
|
|
1586
|
+
value: value
|
|
1587
|
+
}, errorFactory);
|
|
1588
|
+
});
|
|
1589
|
+
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
1590
|
+
path: _path + "",
|
|
1591
|
+
expected: "AssetDomainPublishedProvidedRecord",
|
|
1592
|
+
value: input
|
|
1593
|
+
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
1594
|
+
path: _path + "",
|
|
1595
|
+
expected: "AssetDomainPublishedProvidedRecord",
|
|
1596
|
+
value: input
|
|
1597
|
+
}, errorFactory);
|
|
1598
|
+
})(input, "$input", true);
|
|
1599
|
+
return input;
|
|
1600
|
+
}; const stringify = input => {
|
|
1601
|
+
const $string = __typia.json.createAssertStringify.string;
|
|
1602
|
+
const $so0 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
1603
|
+
return ""; return `${JSON.stringify(key)}:${$string(value)}`; }).filter(str => "" !== str).join(",")}}`;
|
|
1604
|
+
return $so0(input);
|
|
1605
|
+
}; return stringify(assert(input, errorFactory)); };
|
|
1606
|
+
export const isAssetDomainDurationProvidedRecord = input => {
|
|
1607
|
+
const $io0 = input => undefined === input.value || "number" === typeof input.value;
|
|
1608
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
1609
|
+
};
|
|
1610
|
+
export const assertAssetDomainDurationProvidedRecord = (input, errorFactory) => {
|
|
1611
|
+
const __is = input => {
|
|
1612
|
+
const $io0 = input => undefined === input.value || "number" === typeof input.value;
|
|
1613
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
1614
|
+
};
|
|
1615
|
+
if (false === __is(input))
|
|
1616
|
+
((input, _path, _exceptionable = true) => {
|
|
1617
|
+
const $guard = __typia.createAssert.guard;
|
|
1618
|
+
const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || "number" === typeof input.value || $guard(_exceptionable, {
|
|
1619
|
+
path: _path + ".value",
|
|
1620
|
+
expected: "(number | undefined)",
|
|
1621
|
+
value: input.value
|
|
1622
|
+
}, errorFactory);
|
|
1623
|
+
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
1624
|
+
path: _path + "",
|
|
1625
|
+
expected: "AssetDomainDurationProvidedRecord",
|
|
1626
|
+
value: input
|
|
1627
|
+
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
1628
|
+
path: _path + "",
|
|
1629
|
+
expected: "AssetDomainDurationProvidedRecord",
|
|
1630
|
+
value: input
|
|
1631
|
+
}, errorFactory);
|
|
1632
|
+
})(input, "$input", true);
|
|
1633
|
+
return input;
|
|
1634
|
+
};
|
|
1635
|
+
export const randomAssetDomainDurationProvidedRecord = generator => {
|
|
1636
|
+
const $generator = __typia.createRandom.generator;
|
|
1637
|
+
const $pick = __typia.createRandom.pick;
|
|
1638
|
+
const $ro0 = (_recursive = false, _depth = 0) => ({
|
|
1639
|
+
value: $pick([
|
|
1640
|
+
() => undefined,
|
|
1641
|
+
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
1642
|
+
])()
|
|
1643
|
+
});
|
|
1644
|
+
return $ro0();
|
|
1645
|
+
};
|
|
1646
|
+
export const assertGuardAssetDomainDurationProvidedRecord = (input, errorFactory) => {
|
|
1647
|
+
const __is = input => {
|
|
1648
|
+
const $io0 = input => undefined === input.value || "number" === typeof input.value;
|
|
1649
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
1650
|
+
};
|
|
1651
|
+
if (false === __is(input))
|
|
1652
|
+
((input, _path, _exceptionable = true) => {
|
|
1653
|
+
const $guard = __typia.createAssertGuard.guard;
|
|
1654
|
+
const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || "number" === typeof input.value || $guard(_exceptionable, {
|
|
1655
|
+
path: _path + ".value",
|
|
1656
|
+
expected: "(number | undefined)",
|
|
1657
|
+
value: input.value
|
|
1658
|
+
}, errorFactory);
|
|
1659
|
+
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
1660
|
+
path: _path + "",
|
|
1661
|
+
expected: "AssetDomainDurationProvidedRecord",
|
|
1662
|
+
value: input
|
|
1663
|
+
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
1664
|
+
path: _path + "",
|
|
1665
|
+
expected: "AssetDomainDurationProvidedRecord",
|
|
1666
|
+
value: input
|
|
1667
|
+
}, errorFactory);
|
|
1668
|
+
})(input, "$input", true);
|
|
1669
|
+
};
|
|
1670
|
+
export const stringifyAssetDomainDurationProvidedRecord = input => {
|
|
1671
|
+
const $tail = __typia.json.createStringify.tail;
|
|
1672
|
+
const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? input.value : undefined}`}`)}}`;
|
|
1673
|
+
return $so0(input);
|
|
1674
|
+
};
|
|
1675
|
+
export const assertStringifyAssetDomainDurationProvidedRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
1676
|
+
const __is = input => {
|
|
1677
|
+
const $io0 = input => undefined === input.value || "number" === typeof input.value && !Number.isNaN(input.value);
|
|
1678
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
1679
|
+
};
|
|
1680
|
+
if (false === __is(input))
|
|
1681
|
+
((input, _path, _exceptionable = true) => {
|
|
1682
|
+
const $guard = __typia.json.createAssertStringify.guard;
|
|
1683
|
+
const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || "number" === typeof input.value && !Number.isNaN(input.value) || $guard(_exceptionable, {
|
|
1684
|
+
path: _path + ".value",
|
|
1685
|
+
expected: "(number | undefined)",
|
|
1686
|
+
value: input.value
|
|
1687
|
+
}, errorFactory);
|
|
1688
|
+
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
1689
|
+
path: _path + "",
|
|
1690
|
+
expected: "AssetDomainDurationProvidedRecord",
|
|
1691
|
+
value: input
|
|
1692
|
+
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
1693
|
+
path: _path + "",
|
|
1694
|
+
expected: "AssetDomainDurationProvidedRecord",
|
|
1695
|
+
value: input
|
|
1696
|
+
}, errorFactory);
|
|
1697
|
+
})(input, "$input", true);
|
|
1698
|
+
return input;
|
|
1699
|
+
}; const stringify = input => {
|
|
1700
|
+
const $tail = __typia.json.createAssertStringify.tail;
|
|
1701
|
+
const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? input.value : undefined}`}`)}}`;
|
|
1702
|
+
return $so0(input);
|
|
1703
|
+
}; return stringify(assert(input, errorFactory)); };
|
|
1704
|
+
export const isAssetDomainLocationsProvidedRecord = input => {
|
|
1705
|
+
const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "object" === typeof elem && null !== elem && $io1(elem));
|
|
1706
|
+
const $io1 = input => "number" === typeof input.lat && "number" === typeof input.lon;
|
|
1707
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
1708
|
+
};
|
|
1709
|
+
export const assertAssetDomainLocationsProvidedRecord = (input, errorFactory) => {
|
|
1710
|
+
const __is = input => {
|
|
1711
|
+
const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "object" === typeof elem && null !== elem && $io1(elem));
|
|
1712
|
+
const $io1 = input => "number" === typeof input.lat && "number" === typeof input.lon;
|
|
1713
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
1714
|
+
};
|
|
1715
|
+
if (false === __is(input))
|
|
1716
|
+
((input, _path, _exceptionable = true) => {
|
|
1717
|
+
const $guard = __typia.createAssert.guard;
|
|
1718
|
+
const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
|
|
1719
|
+
path: _path + ".value",
|
|
1720
|
+
expected: "(Array<__type> | undefined)",
|
|
1721
|
+
value: input.value
|
|
1722
|
+
}, errorFactory)) && input.value.every((elem, _index1) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
1723
|
+
path: _path + ".value[" + _index1 + "]",
|
|
1724
|
+
expected: "__type",
|
|
1725
|
+
value: elem
|
|
1726
|
+
}, errorFactory)) && $ao1(elem, _path + ".value[" + _index1 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
1727
|
+
path: _path + ".value[" + _index1 + "]",
|
|
1728
|
+
expected: "__type",
|
|
1729
|
+
value: elem
|
|
1730
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
1731
|
+
path: _path + ".value",
|
|
1732
|
+
expected: "(Array<__type> | undefined)",
|
|
1733
|
+
value: input.value
|
|
1734
|
+
}, errorFactory);
|
|
1735
|
+
const $ao1 = (input, _path, _exceptionable = true) => ("number" === typeof input.lat || $guard(_exceptionable, {
|
|
1736
|
+
path: _path + ".lat",
|
|
1737
|
+
expected: "number",
|
|
1738
|
+
value: input.lat
|
|
1739
|
+
}, errorFactory)) && ("number" === typeof input.lon || $guard(_exceptionable, {
|
|
1740
|
+
path: _path + ".lon",
|
|
1741
|
+
expected: "number",
|
|
1742
|
+
value: input.lon
|
|
1743
|
+
}, errorFactory));
|
|
1744
|
+
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
1745
|
+
path: _path + "",
|
|
1746
|
+
expected: "AssetDomainLocationsProvidedRecord",
|
|
1747
|
+
value: input
|
|
1748
|
+
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
1749
|
+
path: _path + "",
|
|
1750
|
+
expected: "AssetDomainLocationsProvidedRecord",
|
|
1751
|
+
value: input
|
|
1752
|
+
}, errorFactory);
|
|
1753
|
+
})(input, "$input", true);
|
|
1754
|
+
return input;
|
|
1755
|
+
};
|
|
1756
|
+
export const randomAssetDomainLocationsProvidedRecord = generator => {
|
|
1757
|
+
const $generator = __typia.createRandom.generator;
|
|
1758
|
+
const $pick = __typia.createRandom.pick;
|
|
1759
|
+
const $ro0 = (_recursive = false, _depth = 0) => ({
|
|
1760
|
+
value: $pick([
|
|
1761
|
+
() => undefined,
|
|
1762
|
+
() => (generator?.array ?? $generator.array)(() => $ro1(_recursive, _recursive ? 1 + _depth : _depth))
|
|
1763
|
+
])()
|
|
1764
|
+
});
|
|
1765
|
+
const $ro1 = (_recursive = false, _depth = 0) => ({
|
|
1766
|
+
lat: (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100),
|
|
1767
|
+
lon: (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
1768
|
+
});
|
|
1769
|
+
return $ro0();
|
|
1770
|
+
};
|
|
1771
|
+
export const assertGuardAssetDomainLocationsProvidedRecord = (input, errorFactory) => {
|
|
1772
|
+
const __is = input => {
|
|
1773
|
+
const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "object" === typeof elem && null !== elem && $io1(elem));
|
|
1774
|
+
const $io1 = input => "number" === typeof input.lat && "number" === typeof input.lon;
|
|
1775
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
1776
|
+
};
|
|
1777
|
+
if (false === __is(input))
|
|
1778
|
+
((input, _path, _exceptionable = true) => {
|
|
1779
|
+
const $guard = __typia.createAssertGuard.guard;
|
|
1780
|
+
const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
|
|
1781
|
+
path: _path + ".value",
|
|
1782
|
+
expected: "(Array<__type> | undefined)",
|
|
1783
|
+
value: input.value
|
|
1784
|
+
}, errorFactory)) && input.value.every((elem, _index1) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
1785
|
+
path: _path + ".value[" + _index1 + "]",
|
|
1786
|
+
expected: "__type",
|
|
1787
|
+
value: elem
|
|
1788
|
+
}, errorFactory)) && $ao1(elem, _path + ".value[" + _index1 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
1789
|
+
path: _path + ".value[" + _index1 + "]",
|
|
1790
|
+
expected: "__type",
|
|
1791
|
+
value: elem
|
|
1792
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
1793
|
+
path: _path + ".value",
|
|
1794
|
+
expected: "(Array<__type> | undefined)",
|
|
1795
|
+
value: input.value
|
|
1796
|
+
}, errorFactory);
|
|
1797
|
+
const $ao1 = (input, _path, _exceptionable = true) => ("number" === typeof input.lat || $guard(_exceptionable, {
|
|
1798
|
+
path: _path + ".lat",
|
|
1799
|
+
expected: "number",
|
|
1800
|
+
value: input.lat
|
|
1801
|
+
}, errorFactory)) && ("number" === typeof input.lon || $guard(_exceptionable, {
|
|
1802
|
+
path: _path + ".lon",
|
|
1803
|
+
expected: "number",
|
|
1804
|
+
value: input.lon
|
|
1805
|
+
}, errorFactory));
|
|
1806
|
+
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
1807
|
+
path: _path + "",
|
|
1808
|
+
expected: "AssetDomainLocationsProvidedRecord",
|
|
1809
|
+
value: input
|
|
1810
|
+
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
1811
|
+
path: _path + "",
|
|
1812
|
+
expected: "AssetDomainLocationsProvidedRecord",
|
|
1813
|
+
value: input
|
|
1814
|
+
}, errorFactory);
|
|
1815
|
+
})(input, "$input", true);
|
|
1816
|
+
};
|
|
1817
|
+
export const stringifyAssetDomainLocationsProvidedRecord = input => {
|
|
1818
|
+
const $io1 = input => "number" === typeof input.lat && "number" === typeof input.lon;
|
|
1819
|
+
const $tail = __typia.json.createStringify.tail;
|
|
1820
|
+
const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => `{"lat":${elem.lat},"lon":${elem.lon}}`).join(",")}]` : undefined}`}`)}}`;
|
|
1821
|
+
return $so0(input);
|
|
1822
|
+
};
|
|
1823
|
+
export const assertStringifyAssetDomainLocationsProvidedRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
1824
|
+
const __is = input => {
|
|
1825
|
+
const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "object" === typeof elem && null !== elem && $io1(elem));
|
|
1826
|
+
const $io1 = input => "number" === typeof input.lat && !Number.isNaN(input.lat) && ("number" === typeof input.lon && !Number.isNaN(input.lon));
|
|
1827
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
1828
|
+
};
|
|
1829
|
+
if (false === __is(input))
|
|
1830
|
+
((input, _path, _exceptionable = true) => {
|
|
1831
|
+
const $guard = __typia.json.createAssertStringify.guard;
|
|
1832
|
+
const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
|
|
1833
|
+
path: _path + ".value",
|
|
1834
|
+
expected: "(Array<__type> | undefined)",
|
|
1835
|
+
value: input.value
|
|
1836
|
+
}, errorFactory)) && input.value.every((elem, _index1) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
1837
|
+
path: _path + ".value[" + _index1 + "]",
|
|
1838
|
+
expected: "__type",
|
|
1839
|
+
value: elem
|
|
1840
|
+
}, errorFactory)) && $ao1(elem, _path + ".value[" + _index1 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
1841
|
+
path: _path + ".value[" + _index1 + "]",
|
|
1842
|
+
expected: "__type",
|
|
1843
|
+
value: elem
|
|
1844
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
1845
|
+
path: _path + ".value",
|
|
1846
|
+
expected: "(Array<__type> | undefined)",
|
|
1847
|
+
value: input.value
|
|
1848
|
+
}, errorFactory);
|
|
1849
|
+
const $ao1 = (input, _path, _exceptionable = true) => ("number" === typeof input.lat && !Number.isNaN(input.lat) || $guard(_exceptionable, {
|
|
1850
|
+
path: _path + ".lat",
|
|
1851
|
+
expected: "number",
|
|
1852
|
+
value: input.lat
|
|
1853
|
+
}, errorFactory)) && ("number" === typeof input.lon && !Number.isNaN(input.lon) || $guard(_exceptionable, {
|
|
1854
|
+
path: _path + ".lon",
|
|
1855
|
+
expected: "number",
|
|
1856
|
+
value: input.lon
|
|
1857
|
+
}, errorFactory));
|
|
1858
|
+
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
1859
|
+
path: _path + "",
|
|
1860
|
+
expected: "AssetDomainLocationsProvidedRecord",
|
|
1861
|
+
value: input
|
|
1862
|
+
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
1863
|
+
path: _path + "",
|
|
1864
|
+
expected: "AssetDomainLocationsProvidedRecord",
|
|
1865
|
+
value: input
|
|
1866
|
+
}, errorFactory);
|
|
1867
|
+
})(input, "$input", true);
|
|
1868
|
+
return input;
|
|
1869
|
+
}; const stringify = input => {
|
|
1870
|
+
const $io1 = input => "number" === typeof input.lat && "number" === typeof input.lon;
|
|
1871
|
+
const $tail = __typia.json.createAssertStringify.tail;
|
|
1872
|
+
const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => `{"lat":${elem.lat},"lon":${elem.lon}}`).join(",")}]` : undefined}`}`)}}`;
|
|
1873
|
+
return $so0(input);
|
|
1874
|
+
}; return stringify(assert(input, errorFactory)); };
|
|
1875
|
+
export const isAssetDomainControllersProvidedRecord = input => {
|
|
1876
|
+
const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
|
|
1877
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
1878
|
+
};
|
|
1879
|
+
export const assertAssetDomainControllersProvidedRecord = (input, errorFactory) => {
|
|
1880
|
+
const __is = input => {
|
|
1881
|
+
const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
|
|
1882
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
1883
|
+
};
|
|
1884
|
+
if (false === __is(input))
|
|
1885
|
+
((input, _path, _exceptionable = true) => {
|
|
1886
|
+
const $guard = __typia.createAssert.guard;
|
|
1887
|
+
const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
|
|
1888
|
+
path: _path + ".value",
|
|
1889
|
+
expected: "(Array<string> | undefined)",
|
|
1890
|
+
value: input.value
|
|
1891
|
+
}, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
|
|
1892
|
+
path: _path + ".value[" + _index1 + "]",
|
|
1893
|
+
expected: "string",
|
|
1894
|
+
value: elem
|
|
1895
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
1896
|
+
path: _path + ".value",
|
|
1897
|
+
expected: "(Array<string> | undefined)",
|
|
1898
|
+
value: input.value
|
|
1899
|
+
}, errorFactory);
|
|
1900
|
+
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
1901
|
+
path: _path + "",
|
|
1902
|
+
expected: "AssetDomainControllersProvidedRecord",
|
|
1903
|
+
value: input
|
|
1904
|
+
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
1905
|
+
path: _path + "",
|
|
1906
|
+
expected: "AssetDomainControllersProvidedRecord",
|
|
1907
|
+
value: input
|
|
1908
|
+
}, errorFactory);
|
|
1909
|
+
})(input, "$input", true);
|
|
1910
|
+
return input;
|
|
1911
|
+
};
|
|
1912
|
+
export const randomAssetDomainControllersProvidedRecord = generator => {
|
|
1913
|
+
const $generator = __typia.createRandom.generator;
|
|
1914
|
+
const $pick = __typia.createRandom.pick;
|
|
1915
|
+
const $ro0 = (_recursive = false, _depth = 0) => ({
|
|
1916
|
+
value: $pick([
|
|
1917
|
+
() => undefined,
|
|
1918
|
+
() => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
|
|
1919
|
+
])()
|
|
1920
|
+
});
|
|
1921
|
+
return $ro0();
|
|
1922
|
+
};
|
|
1923
|
+
export const assertGuardAssetDomainControllersProvidedRecord = (input, errorFactory) => {
|
|
1924
|
+
const __is = input => {
|
|
1925
|
+
const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
|
|
1926
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
1927
|
+
};
|
|
1928
|
+
if (false === __is(input))
|
|
1929
|
+
((input, _path, _exceptionable = true) => {
|
|
1930
|
+
const $guard = __typia.createAssertGuard.guard;
|
|
1931
|
+
const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
|
|
1932
|
+
path: _path + ".value",
|
|
1933
|
+
expected: "(Array<string> | undefined)",
|
|
1934
|
+
value: input.value
|
|
1935
|
+
}, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
|
|
1936
|
+
path: _path + ".value[" + _index1 + "]",
|
|
1937
|
+
expected: "string",
|
|
1938
|
+
value: elem
|
|
1939
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
1940
|
+
path: _path + ".value",
|
|
1941
|
+
expected: "(Array<string> | undefined)",
|
|
1942
|
+
value: input.value
|
|
1943
|
+
}, errorFactory);
|
|
1944
|
+
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
1945
|
+
path: _path + "",
|
|
1946
|
+
expected: "AssetDomainControllersProvidedRecord",
|
|
1947
|
+
value: input
|
|
1948
|
+
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
1949
|
+
path: _path + "",
|
|
1950
|
+
expected: "AssetDomainControllersProvidedRecord",
|
|
1951
|
+
value: input
|
|
1952
|
+
}, errorFactory);
|
|
1953
|
+
})(input, "$input", true);
|
|
1954
|
+
};
|
|
1955
|
+
export const stringifyAssetDomainControllersProvidedRecord = input => {
|
|
1956
|
+
const $string = __typia.json.createStringify.string;
|
|
1957
|
+
const $tail = __typia.json.createStringify.tail;
|
|
1958
|
+
const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
1959
|
+
return $so0(input);
|
|
1960
|
+
};
|
|
1961
|
+
export const assertStringifyAssetDomainControllersProvidedRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
1962
|
+
const __is = input => {
|
|
1963
|
+
const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
|
|
1964
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
1965
|
+
};
|
|
1966
|
+
if (false === __is(input))
|
|
1967
|
+
((input, _path, _exceptionable = true) => {
|
|
1968
|
+
const $guard = __typia.json.createAssertStringify.guard;
|
|
1969
|
+
const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
|
|
1970
|
+
path: _path + ".value",
|
|
1971
|
+
expected: "(Array<string> | undefined)",
|
|
1972
|
+
value: input.value
|
|
1973
|
+
}, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
|
|
1974
|
+
path: _path + ".value[" + _index1 + "]",
|
|
1975
|
+
expected: "string",
|
|
1976
|
+
value: elem
|
|
1977
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
1978
|
+
path: _path + ".value",
|
|
1979
|
+
expected: "(Array<string> | undefined)",
|
|
1980
|
+
value: input.value
|
|
1981
|
+
}, errorFactory);
|
|
1982
|
+
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
1983
|
+
path: _path + "",
|
|
1984
|
+
expected: "AssetDomainControllersProvidedRecord",
|
|
1985
|
+
value: input
|
|
1986
|
+
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
1987
|
+
path: _path + "",
|
|
1988
|
+
expected: "AssetDomainControllersProvidedRecord",
|
|
1989
|
+
value: input
|
|
1990
|
+
}, errorFactory);
|
|
1991
|
+
})(input, "$input", true);
|
|
1992
|
+
return input;
|
|
1993
|
+
}; const stringify = input => {
|
|
1994
|
+
const $string = __typia.json.createAssertStringify.string;
|
|
1995
|
+
const $tail = __typia.json.createAssertStringify.tail;
|
|
1996
|
+
const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
1997
|
+
return $so0(input);
|
|
1998
|
+
}; return stringify(assert(input, errorFactory)); };
|
|
1999
|
+
export const isAssetDomainEmbeddingProvidedRecord = input => {
|
|
2000
|
+
const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
|
|
2001
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
2002
|
+
};
|
|
2003
|
+
export const assertAssetDomainEmbeddingProvidedRecord = (input, errorFactory) => {
|
|
2004
|
+
const __is = input => {
|
|
2005
|
+
const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
|
|
2006
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
2007
|
+
};
|
|
2008
|
+
if (false === __is(input))
|
|
2009
|
+
((input, _path, _exceptionable = true) => {
|
|
2010
|
+
const $guard = __typia.createAssert.guard;
|
|
2011
|
+
const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
|
|
2012
|
+
path: _path + ".value",
|
|
2013
|
+
expected: "(Array<string> | undefined)",
|
|
2014
|
+
value: input.value
|
|
2015
|
+
}, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
|
|
2016
|
+
path: _path + ".value[" + _index1 + "]",
|
|
2017
|
+
expected: "string",
|
|
2018
|
+
value: elem
|
|
2019
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
2020
|
+
path: _path + ".value",
|
|
2021
|
+
expected: "(Array<string> | undefined)",
|
|
2022
|
+
value: input.value
|
|
2023
|
+
}, errorFactory);
|
|
2024
|
+
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
2025
|
+
path: _path + "",
|
|
2026
|
+
expected: "AssetDomainEmbeddingProvidedRecord",
|
|
2027
|
+
value: input
|
|
2028
|
+
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
2029
|
+
path: _path + "",
|
|
2030
|
+
expected: "AssetDomainEmbeddingProvidedRecord",
|
|
2031
|
+
value: input
|
|
2032
|
+
}, errorFactory);
|
|
2033
|
+
})(input, "$input", true);
|
|
2034
|
+
return input;
|
|
2035
|
+
};
|
|
2036
|
+
export const randomAssetDomainEmbeddingProvidedRecord = generator => {
|
|
2037
|
+
const $generator = __typia.createRandom.generator;
|
|
2038
|
+
const $pick = __typia.createRandom.pick;
|
|
2039
|
+
const $ro0 = (_recursive = false, _depth = 0) => ({
|
|
2040
|
+
value: $pick([
|
|
2041
|
+
() => undefined,
|
|
2042
|
+
() => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
|
|
2043
|
+
])()
|
|
2044
|
+
});
|
|
2045
|
+
return $ro0();
|
|
2046
|
+
};
|
|
2047
|
+
export const assertGuardAssetDomainEmbeddingProvidedRecord = (input, errorFactory) => {
|
|
2048
|
+
const __is = input => {
|
|
2049
|
+
const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
|
|
2050
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
2051
|
+
};
|
|
2052
|
+
if (false === __is(input))
|
|
2053
|
+
((input, _path, _exceptionable = true) => {
|
|
2054
|
+
const $guard = __typia.createAssertGuard.guard;
|
|
2055
|
+
const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
|
|
2056
|
+
path: _path + ".value",
|
|
2057
|
+
expected: "(Array<string> | undefined)",
|
|
2058
|
+
value: input.value
|
|
2059
|
+
}, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
|
|
2060
|
+
path: _path + ".value[" + _index1 + "]",
|
|
2061
|
+
expected: "string",
|
|
2062
|
+
value: elem
|
|
2063
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
2064
|
+
path: _path + ".value",
|
|
2065
|
+
expected: "(Array<string> | undefined)",
|
|
2066
|
+
value: input.value
|
|
2067
|
+
}, errorFactory);
|
|
2068
|
+
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
2069
|
+
path: _path + "",
|
|
2070
|
+
expected: "AssetDomainEmbeddingProvidedRecord",
|
|
2071
|
+
value: input
|
|
2072
|
+
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
2073
|
+
path: _path + "",
|
|
2074
|
+
expected: "AssetDomainEmbeddingProvidedRecord",
|
|
2075
|
+
value: input
|
|
2076
|
+
}, errorFactory);
|
|
2077
|
+
})(input, "$input", true);
|
|
2078
|
+
};
|
|
2079
|
+
export const stringifyAssetDomainEmbeddingProvidedRecord = input => {
|
|
2080
|
+
const $string = __typia.json.createStringify.string;
|
|
2081
|
+
const $tail = __typia.json.createStringify.tail;
|
|
2082
|
+
const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
2083
|
+
return $so0(input);
|
|
2084
|
+
};
|
|
2085
|
+
export const assertStringifyAssetDomainEmbeddingProvidedRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
2086
|
+
const __is = input => {
|
|
2087
|
+
const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
|
|
2088
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
2089
|
+
};
|
|
2090
|
+
if (false === __is(input))
|
|
2091
|
+
((input, _path, _exceptionable = true) => {
|
|
2092
|
+
const $guard = __typia.json.createAssertStringify.guard;
|
|
2093
|
+
const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
|
|
2094
|
+
path: _path + ".value",
|
|
2095
|
+
expected: "(Array<string> | undefined)",
|
|
2096
|
+
value: input.value
|
|
2097
|
+
}, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
|
|
2098
|
+
path: _path + ".value[" + _index1 + "]",
|
|
2099
|
+
expected: "string",
|
|
2100
|
+
value: elem
|
|
2101
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
2102
|
+
path: _path + ".value",
|
|
2103
|
+
expected: "(Array<string> | undefined)",
|
|
2104
|
+
value: input.value
|
|
2105
|
+
}, errorFactory);
|
|
2106
|
+
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
2107
|
+
path: _path + "",
|
|
2108
|
+
expected: "AssetDomainEmbeddingProvidedRecord",
|
|
2109
|
+
value: input
|
|
2110
|
+
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
2111
|
+
path: _path + "",
|
|
2112
|
+
expected: "AssetDomainEmbeddingProvidedRecord",
|
|
2113
|
+
value: input
|
|
2114
|
+
}, errorFactory);
|
|
2115
|
+
})(input, "$input", true);
|
|
2116
|
+
return input;
|
|
2117
|
+
}; const stringify = input => {
|
|
2118
|
+
const $string = __typia.json.createAssertStringify.string;
|
|
2119
|
+
const $tail = __typia.json.createAssertStringify.tail;
|
|
2120
|
+
const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
2121
|
+
return $so0(input);
|
|
2122
|
+
}; return stringify(assert(input, errorFactory)); };
|
|
2123
|
+
export const isAssetDomainMediaProvidedRecord = input => {
|
|
2124
|
+
const $io0 = input => Object.keys(input).every(key => {
|
|
2125
|
+
const value = input[key];
|
|
2126
|
+
if (undefined === value)
|
|
2127
|
+
return true;
|
|
2128
|
+
return true;
|
|
2129
|
+
});
|
|
2130
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
2131
|
+
};
|
|
2132
|
+
export const assertAssetDomainMediaProvidedRecord = (input, errorFactory) => {
|
|
2133
|
+
const __is = input => {
|
|
2134
|
+
const $io0 = input => Object.keys(input).every(key => {
|
|
2135
|
+
const value = input[key];
|
|
2136
|
+
if (undefined === value)
|
|
2137
|
+
return true;
|
|
2138
|
+
return true;
|
|
2139
|
+
});
|
|
2140
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
2141
|
+
};
|
|
2142
|
+
if (false === __is(input))
|
|
2143
|
+
((input, _path, _exceptionable = true) => {
|
|
2144
|
+
const $guard = __typia.createAssert.guard;
|
|
2145
|
+
const $join = __typia.createAssert.join;
|
|
2146
|
+
const $ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
2147
|
+
const value = input[key];
|
|
2148
|
+
if (undefined === value)
|
|
2149
|
+
return true;
|
|
2150
|
+
return true;
|
|
2151
|
+
});
|
|
2152
|
+
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
2153
|
+
path: _path + "",
|
|
2154
|
+
expected: "AssetDomainMediaProvidedRecord",
|
|
2155
|
+
value: input
|
|
2156
|
+
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
2157
|
+
path: _path + "",
|
|
2158
|
+
expected: "AssetDomainMediaProvidedRecord",
|
|
2159
|
+
value: input
|
|
2160
|
+
}, errorFactory);
|
|
2161
|
+
})(input, "$input", true);
|
|
2162
|
+
return input;
|
|
2163
|
+
};
|
|
2164
|
+
export const randomAssetDomainMediaProvidedRecord = generator => {
|
|
2165
|
+
const $generator = __typia.createRandom.generator;
|
|
2166
|
+
const $ro0 = (_recursive = false, _depth = 0) => {
|
|
2167
|
+
const output = {};
|
|
2168
|
+
(generator?.array ?? $generator.array)(() => output[(generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()] = "any type used...", (generator?.integer ?? $generator.integer)(0, 3));
|
|
2169
|
+
return output;
|
|
2170
|
+
};
|
|
2171
|
+
return $ro0();
|
|
2172
|
+
};
|
|
2173
|
+
export const assertGuardAssetDomainMediaProvidedRecord = (input, errorFactory) => {
|
|
2174
|
+
const __is = input => {
|
|
2175
|
+
const $io0 = input => Object.keys(input).every(key => {
|
|
2176
|
+
const value = input[key];
|
|
2177
|
+
if (undefined === value)
|
|
2178
|
+
return true;
|
|
2179
|
+
return true;
|
|
2180
|
+
});
|
|
2181
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
2182
|
+
};
|
|
2183
|
+
if (false === __is(input))
|
|
2184
|
+
((input, _path, _exceptionable = true) => {
|
|
2185
|
+
const $guard = __typia.createAssertGuard.guard;
|
|
2186
|
+
const $join = __typia.createAssertGuard.join;
|
|
2187
|
+
const $ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
2188
|
+
const value = input[key];
|
|
2189
|
+
if (undefined === value)
|
|
2190
|
+
return true;
|
|
2191
|
+
return true;
|
|
2192
|
+
});
|
|
2193
|
+
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
2194
|
+
path: _path + "",
|
|
2195
|
+
expected: "AssetDomainMediaProvidedRecord",
|
|
2196
|
+
value: input
|
|
2197
|
+
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
2198
|
+
path: _path + "",
|
|
2199
|
+
expected: "AssetDomainMediaProvidedRecord",
|
|
2200
|
+
value: input
|
|
2201
|
+
}, errorFactory);
|
|
2202
|
+
})(input, "$input", true);
|
|
2203
|
+
};
|
|
2204
|
+
export const stringifyAssetDomainMediaProvidedRecord = input => {
|
|
2205
|
+
const $so0 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
2206
|
+
return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}}`;
|
|
2207
|
+
return $so0(input);
|
|
2208
|
+
};
|
|
2209
|
+
export const assertStringifyAssetDomainMediaProvidedRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
2210
|
+
const __is = input => {
|
|
2211
|
+
const $io0 = input => Object.keys(input).every(key => {
|
|
2212
|
+
const value = input[key];
|
|
2213
|
+
if (undefined === value)
|
|
2214
|
+
return true;
|
|
2215
|
+
return true;
|
|
2216
|
+
});
|
|
2217
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
2218
|
+
};
|
|
2219
|
+
if (false === __is(input))
|
|
2220
|
+
((input, _path, _exceptionable = true) => {
|
|
2221
|
+
const $guard = __typia.json.createAssertStringify.guard;
|
|
2222
|
+
const $join = __typia.json.createAssertStringify.join;
|
|
2223
|
+
const $ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
2224
|
+
const value = input[key];
|
|
2225
|
+
if (undefined === value)
|
|
2226
|
+
return true;
|
|
2227
|
+
return true;
|
|
2228
|
+
});
|
|
2229
|
+
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
2230
|
+
path: _path + "",
|
|
2231
|
+
expected: "AssetDomainMediaProvidedRecord",
|
|
2232
|
+
value: input
|
|
2233
|
+
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
2234
|
+
path: _path + "",
|
|
2235
|
+
expected: "AssetDomainMediaProvidedRecord",
|
|
2236
|
+
value: input
|
|
2237
|
+
}, errorFactory);
|
|
2238
|
+
})(input, "$input", true);
|
|
2239
|
+
return input;
|
|
2240
|
+
}; const stringify = input => {
|
|
2241
|
+
const $so0 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
2242
|
+
return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}}`;
|
|
2243
|
+
return $so0(input);
|
|
2244
|
+
}; return stringify(assert(input, errorFactory)); };
|