@nxtedition/types 1.3.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,33 @@
1
+ import { type AssertionGuard as __AssertionGuard } from "typia";
2
+ export interface PlanningDomainRecords {
3
+ ":planning": PlanningRecord;
4
+ ":planning.assignees": PlanningAssigneesRecord;
5
+ ":planning.deadline": PlanningDeadlineRecord;
6
+ }
7
+ export interface PlanningRecord {
8
+ deadline?: string | null;
9
+ }
10
+ export declare const isPlanningRecord: (input: unknown) => input is PlanningRecord;
11
+ export declare const assertPlanningRecord: (input: unknown) => PlanningRecord;
12
+ export declare const randomPlanningRecord: () => PlanningRecord;
13
+ export declare const assertGuardPlanningRecord: __AssertionGuard<PlanningRecord>;
14
+ export declare const stringifyPlanningRecord: (input: PlanningRecord) => string;
15
+ export declare const assertStringifyPlanningRecord: (input: unknown) => string;
16
+ export interface PlanningAssigneesRecord {
17
+ value: string[];
18
+ }
19
+ export declare const isPlanningAssigneesRecord: (input: unknown) => input is PlanningAssigneesRecord;
20
+ export declare const assertPlanningAssigneesRecord: (input: unknown) => PlanningAssigneesRecord;
21
+ export declare const randomPlanningAssigneesRecord: () => PlanningAssigneesRecord;
22
+ export declare const assertGuardPlanningAssigneesRecord: __AssertionGuard<PlanningAssigneesRecord>;
23
+ export declare const stringifyPlanningAssigneesRecord: (input: PlanningAssigneesRecord) => string;
24
+ export declare const assertStringifyPlanningAssigneesRecord: (input: unknown) => string;
25
+ export interface PlanningDeadlineRecord {
26
+ value: string | null;
27
+ }
28
+ export declare const isPlanningDeadlineRecord: (input: unknown) => input is PlanningDeadlineRecord;
29
+ export declare const assertPlanningDeadlineRecord: (input: unknown) => PlanningDeadlineRecord;
30
+ export declare const randomPlanningDeadlineRecord: () => PlanningDeadlineRecord;
31
+ export declare const assertGuardPlanningDeadlineRecord: __AssertionGuard<PlanningDeadlineRecord>;
32
+ export declare const stringifyPlanningDeadlineRecord: (input: PlanningDeadlineRecord) => string;
33
+ export declare const assertStringifyPlanningDeadlineRecord: (input: unknown) => string;
@@ -0,0 +1,318 @@
1
+ import __typia from "typia";
2
+ export const isPlanningRecord = input => {
3
+ const $io0 = input => null === input.deadline || undefined === input.deadline || "string" === typeof input.deadline;
4
+ return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
5
+ };
6
+ export const assertPlanningRecord = (input, errorFactory) => {
7
+ const __is = input => {
8
+ const $io0 = input => null === input.deadline || undefined === input.deadline || "string" === typeof input.deadline;
9
+ return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
10
+ };
11
+ if (false === __is(input))
12
+ ((input, _path, _exceptionable = true) => {
13
+ const $guard = __typia.createAssert.guard;
14
+ const $ao0 = (input, _path, _exceptionable = true) => null === input.deadline || undefined === input.deadline || "string" === typeof input.deadline || $guard(_exceptionable, {
15
+ path: _path + ".deadline",
16
+ expected: "(null | string | undefined)",
17
+ value: input.deadline
18
+ }, errorFactory);
19
+ return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
20
+ path: _path + "",
21
+ expected: "PlanningRecord",
22
+ value: input
23
+ }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
24
+ path: _path + "",
25
+ expected: "PlanningRecord",
26
+ value: input
27
+ }, errorFactory);
28
+ })(input, "$input", true);
29
+ return input;
30
+ };
31
+ export const randomPlanningRecord = generator => {
32
+ const $generator = __typia.createRandom.generator;
33
+ const $pick = __typia.createRandom.pick;
34
+ const $ro0 = (_recursive = false, _depth = 0) => ({
35
+ deadline: $pick([
36
+ () => undefined,
37
+ () => null,
38
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
39
+ ])()
40
+ });
41
+ return $ro0();
42
+ };
43
+ export const assertGuardPlanningRecord = (input, errorFactory) => {
44
+ const __is = input => {
45
+ const $io0 = input => null === input.deadline || undefined === input.deadline || "string" === typeof input.deadline;
46
+ return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
47
+ };
48
+ if (false === __is(input))
49
+ ((input, _path, _exceptionable = true) => {
50
+ const $guard = __typia.createAssertGuard.guard;
51
+ const $ao0 = (input, _path, _exceptionable = true) => null === input.deadline || undefined === input.deadline || "string" === typeof input.deadline || $guard(_exceptionable, {
52
+ path: _path + ".deadline",
53
+ expected: "(null | string | undefined)",
54
+ value: input.deadline
55
+ }, errorFactory);
56
+ return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
57
+ path: _path + "",
58
+ expected: "PlanningRecord",
59
+ value: input
60
+ }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
61
+ path: _path + "",
62
+ expected: "PlanningRecord",
63
+ value: input
64
+ }, errorFactory);
65
+ })(input, "$input", true);
66
+ };
67
+ export const stringifyPlanningRecord = input => {
68
+ const $string = __typia.json.createStringify.string;
69
+ const $tail = __typia.json.createStringify.tail;
70
+ const $so0 = input => `{${$tail(`${undefined === input.deadline ? "" : `"deadline":${undefined !== input.deadline ? null !== input.deadline ? $string(input.deadline) : "null" : undefined}`}`)}}`;
71
+ return $so0(input);
72
+ };
73
+ export const assertStringifyPlanningRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
74
+ const __is = input => {
75
+ const $io0 = input => null === input.deadline || undefined === input.deadline || "string" === typeof input.deadline;
76
+ return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
77
+ };
78
+ if (false === __is(input))
79
+ ((input, _path, _exceptionable = true) => {
80
+ const $guard = __typia.json.createAssertStringify.guard;
81
+ const $ao0 = (input, _path, _exceptionable = true) => null === input.deadline || undefined === input.deadline || "string" === typeof input.deadline || $guard(_exceptionable, {
82
+ path: _path + ".deadline",
83
+ expected: "(null | string | undefined)",
84
+ value: input.deadline
85
+ }, errorFactory);
86
+ return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
87
+ path: _path + "",
88
+ expected: "PlanningRecord",
89
+ value: input
90
+ }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
91
+ path: _path + "",
92
+ expected: "PlanningRecord",
93
+ value: input
94
+ }, errorFactory);
95
+ })(input, "$input", true);
96
+ return input;
97
+ }; const stringify = input => {
98
+ const $string = __typia.json.createAssertStringify.string;
99
+ const $tail = __typia.json.createAssertStringify.tail;
100
+ const $so0 = input => `{${$tail(`${undefined === input.deadline ? "" : `"deadline":${undefined !== input.deadline ? null !== input.deadline ? $string(input.deadline) : "null" : undefined}`}`)}}`;
101
+ return $so0(input);
102
+ }; return stringify(assert(input, errorFactory)); };
103
+ export const isPlanningAssigneesRecord = input => {
104
+ const $io0 = input => Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
105
+ return "object" === typeof input && null !== input && $io0(input);
106
+ };
107
+ export const assertPlanningAssigneesRecord = (input, errorFactory) => {
108
+ const __is = input => {
109
+ const $io0 = input => Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
110
+ return "object" === typeof input && null !== input && $io0(input);
111
+ };
112
+ if (false === __is(input))
113
+ ((input, _path, _exceptionable = true) => {
114
+ const $guard = __typia.createAssert.guard;
115
+ const $ao0 = (input, _path, _exceptionable = true) => (Array.isArray(input.value) || $guard(_exceptionable, {
116
+ path: _path + ".value",
117
+ expected: "Array<string>",
118
+ value: input.value
119
+ }, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
120
+ path: _path + ".value[" + _index1 + "]",
121
+ expected: "string",
122
+ value: elem
123
+ }, errorFactory)) || $guard(_exceptionable, {
124
+ path: _path + ".value",
125
+ expected: "Array<string>",
126
+ value: input.value
127
+ }, errorFactory);
128
+ return ("object" === typeof input && null !== input || $guard(true, {
129
+ path: _path + "",
130
+ expected: "PlanningAssigneesRecord",
131
+ value: input
132
+ }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
133
+ path: _path + "",
134
+ expected: "PlanningAssigneesRecord",
135
+ value: input
136
+ }, errorFactory);
137
+ })(input, "$input", true);
138
+ return input;
139
+ };
140
+ export const randomPlanningAssigneesRecord = generator => {
141
+ const $generator = __typia.createRandom.generator;
142
+ const $ro0 = (_recursive = false, _depth = 0) => ({
143
+ value: (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
144
+ });
145
+ return $ro0();
146
+ };
147
+ export const assertGuardPlanningAssigneesRecord = (input, errorFactory) => {
148
+ const __is = input => {
149
+ const $io0 = input => Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
150
+ return "object" === typeof input && null !== input && $io0(input);
151
+ };
152
+ if (false === __is(input))
153
+ ((input, _path, _exceptionable = true) => {
154
+ const $guard = __typia.createAssertGuard.guard;
155
+ const $ao0 = (input, _path, _exceptionable = true) => (Array.isArray(input.value) || $guard(_exceptionable, {
156
+ path: _path + ".value",
157
+ expected: "Array<string>",
158
+ value: input.value
159
+ }, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
160
+ path: _path + ".value[" + _index1 + "]",
161
+ expected: "string",
162
+ value: elem
163
+ }, errorFactory)) || $guard(_exceptionable, {
164
+ path: _path + ".value",
165
+ expected: "Array<string>",
166
+ value: input.value
167
+ }, errorFactory);
168
+ return ("object" === typeof input && null !== input || $guard(true, {
169
+ path: _path + "",
170
+ expected: "PlanningAssigneesRecord",
171
+ value: input
172
+ }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
173
+ path: _path + "",
174
+ expected: "PlanningAssigneesRecord",
175
+ value: input
176
+ }, errorFactory);
177
+ })(input, "$input", true);
178
+ };
179
+ export const stringifyPlanningAssigneesRecord = input => {
180
+ const $string = __typia.json.createStringify.string;
181
+ const $so0 = input => `{"value":${`[${input.value.map(elem => $string(elem)).join(",")}]`}}`;
182
+ return $so0(input);
183
+ };
184
+ export const assertStringifyPlanningAssigneesRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
185
+ const __is = input => {
186
+ const $io0 = input => Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
187
+ return "object" === typeof input && null !== input && $io0(input);
188
+ };
189
+ if (false === __is(input))
190
+ ((input, _path, _exceptionable = true) => {
191
+ const $guard = __typia.json.createAssertStringify.guard;
192
+ const $ao0 = (input, _path, _exceptionable = true) => (Array.isArray(input.value) || $guard(_exceptionable, {
193
+ path: _path + ".value",
194
+ expected: "Array<string>",
195
+ value: input.value
196
+ }, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
197
+ path: _path + ".value[" + _index1 + "]",
198
+ expected: "string",
199
+ value: elem
200
+ }, errorFactory)) || $guard(_exceptionable, {
201
+ path: _path + ".value",
202
+ expected: "Array<string>",
203
+ value: input.value
204
+ }, errorFactory);
205
+ return ("object" === typeof input && null !== input || $guard(true, {
206
+ path: _path + "",
207
+ expected: "PlanningAssigneesRecord",
208
+ value: input
209
+ }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
210
+ path: _path + "",
211
+ expected: "PlanningAssigneesRecord",
212
+ value: input
213
+ }, errorFactory);
214
+ })(input, "$input", true);
215
+ return input;
216
+ }; const stringify = input => {
217
+ const $string = __typia.json.createAssertStringify.string;
218
+ const $so0 = input => `{"value":${`[${input.value.map(elem => $string(elem)).join(",")}]`}}`;
219
+ return $so0(input);
220
+ }; return stringify(assert(input, errorFactory)); };
221
+ export const isPlanningDeadlineRecord = input => {
222
+ const $io0 = input => null === input.value || "string" === typeof input.value;
223
+ return "object" === typeof input && null !== input && $io0(input);
224
+ };
225
+ export const assertPlanningDeadlineRecord = (input, errorFactory) => {
226
+ const __is = input => {
227
+ const $io0 = input => null === input.value || "string" === typeof input.value;
228
+ return "object" === typeof input && null !== input && $io0(input);
229
+ };
230
+ if (false === __is(input))
231
+ ((input, _path, _exceptionable = true) => {
232
+ const $guard = __typia.createAssert.guard;
233
+ const $ao0 = (input, _path, _exceptionable = true) => null === input.value || "string" === typeof input.value || $guard(_exceptionable, {
234
+ path: _path + ".value",
235
+ expected: "(null | string)",
236
+ value: input.value
237
+ }, errorFactory);
238
+ return ("object" === typeof input && null !== input || $guard(true, {
239
+ path: _path + "",
240
+ expected: "PlanningDeadlineRecord",
241
+ value: input
242
+ }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
243
+ path: _path + "",
244
+ expected: "PlanningDeadlineRecord",
245
+ value: input
246
+ }, errorFactory);
247
+ })(input, "$input", true);
248
+ return input;
249
+ };
250
+ export const randomPlanningDeadlineRecord = generator => {
251
+ const $generator = __typia.createRandom.generator;
252
+ const $pick = __typia.createRandom.pick;
253
+ const $ro0 = (_recursive = false, _depth = 0) => ({
254
+ value: $pick([
255
+ () => null,
256
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
257
+ ])()
258
+ });
259
+ return $ro0();
260
+ };
261
+ export const assertGuardPlanningDeadlineRecord = (input, errorFactory) => {
262
+ const __is = input => {
263
+ const $io0 = input => null === input.value || "string" === typeof input.value;
264
+ return "object" === typeof input && null !== input && $io0(input);
265
+ };
266
+ if (false === __is(input))
267
+ ((input, _path, _exceptionable = true) => {
268
+ const $guard = __typia.createAssertGuard.guard;
269
+ const $ao0 = (input, _path, _exceptionable = true) => null === input.value || "string" === typeof input.value || $guard(_exceptionable, {
270
+ path: _path + ".value",
271
+ expected: "(null | string)",
272
+ value: input.value
273
+ }, errorFactory);
274
+ return ("object" === typeof input && null !== input || $guard(true, {
275
+ path: _path + "",
276
+ expected: "PlanningDeadlineRecord",
277
+ value: input
278
+ }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
279
+ path: _path + "",
280
+ expected: "PlanningDeadlineRecord",
281
+ value: input
282
+ }, errorFactory);
283
+ })(input, "$input", true);
284
+ };
285
+ export const stringifyPlanningDeadlineRecord = input => {
286
+ const $string = __typia.json.createStringify.string;
287
+ const $so0 = input => `{"value":${null !== input.value ? $string(input.value) : "null"}}`;
288
+ return $so0(input);
289
+ };
290
+ export const assertStringifyPlanningDeadlineRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
291
+ const __is = input => {
292
+ const $io0 = input => null === input.value || "string" === typeof input.value;
293
+ return "object" === typeof input && null !== input && $io0(input);
294
+ };
295
+ if (false === __is(input))
296
+ ((input, _path, _exceptionable = true) => {
297
+ const $guard = __typia.json.createAssertStringify.guard;
298
+ const $ao0 = (input, _path, _exceptionable = true) => null === input.value || "string" === typeof input.value || $guard(_exceptionable, {
299
+ path: _path + ".value",
300
+ expected: "(null | string)",
301
+ value: input.value
302
+ }, errorFactory);
303
+ return ("object" === typeof input && null !== input || $guard(true, {
304
+ path: _path + "",
305
+ expected: "PlanningDeadlineRecord",
306
+ value: input
307
+ }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
308
+ path: _path + "",
309
+ expected: "PlanningDeadlineRecord",
310
+ value: input
311
+ }, errorFactory);
312
+ })(input, "$input", true);
313
+ return input;
314
+ }; const stringify = input => {
315
+ const $string = __typia.json.createAssertStringify.string;
316
+ const $so0 = input => `{"value":${null !== input.value ? $string(input.value) : "null"}}`;
317
+ return $so0(input);
318
+ }; return stringify(assert(input, errorFactory)); };
@@ -43,7 +43,7 @@ export const isSettingsRecord = input => {
43
43
  const $io33 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
44
44
  const $io34 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io35(input.adobe);
45
45
  const $io35 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
46
- const $io36 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs);
46
+ const $io36 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu);
47
47
  return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
48
48
  };
49
49
  export const assertSettingsRecord = (input, errorFactory) => {
@@ -91,7 +91,7 @@ export const assertSettingsRecord = (input, errorFactory) => {
91
91
  const $io33 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
92
92
  const $io34 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io35(input.adobe);
93
93
  const $io35 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
94
- const $io36 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs);
94
+ const $io36 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu);
95
95
  return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
96
96
  };
97
97
  if (false === __is(input))
@@ -765,6 +765,22 @@ export const assertSettingsRecord = (input, errorFactory) => {
765
765
  path: _path + ".hlsjs",
766
766
  expected: "(boolean | undefined)",
767
767
  value: input.hlsjs
768
+ }, errorFactory)) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders || $guard(_exceptionable, {
769
+ path: _path + ".resetRenders",
770
+ expected: "(boolean | undefined)",
771
+ value: input.resetRenders
772
+ }, errorFactory)) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus || $guard(_exceptionable, {
773
+ path: _path + ".assetStatus",
774
+ expected: "(boolean | undefined)",
775
+ value: input.assetStatus
776
+ }, errorFactory)) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia || $guard(_exceptionable, {
777
+ path: _path + ".consolidateMedia",
778
+ expected: "(boolean | undefined)",
779
+ value: input.consolidateMedia
780
+ }, errorFactory)) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu || $guard(_exceptionable, {
781
+ path: _path + ".hideInAssetMenu",
782
+ expected: "(boolean | undefined)",
783
+ value: input.hideInAssetMenu
768
784
  }, errorFactory));
769
785
  return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
770
786
  path: _path + "",
@@ -1256,6 +1272,22 @@ export const randomSettingsRecord = generator => {
1256
1272
  hlsjs: $pick([
1257
1273
  () => undefined,
1258
1274
  () => (generator?.boolean ?? $generator.boolean)()
1275
+ ])(),
1276
+ resetRenders: $pick([
1277
+ () => undefined,
1278
+ () => (generator?.boolean ?? $generator.boolean)()
1279
+ ])(),
1280
+ assetStatus: $pick([
1281
+ () => undefined,
1282
+ () => (generator?.boolean ?? $generator.boolean)()
1283
+ ])(),
1284
+ consolidateMedia: $pick([
1285
+ () => undefined,
1286
+ () => (generator?.boolean ?? $generator.boolean)()
1287
+ ])(),
1288
+ hideInAssetMenu: $pick([
1289
+ () => undefined,
1290
+ () => (generator?.boolean ?? $generator.boolean)()
1259
1291
  ])()
1260
1292
  });
1261
1293
  return $ro0();
@@ -1305,7 +1337,7 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
1305
1337
  const $io33 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
1306
1338
  const $io34 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io35(input.adobe);
1307
1339
  const $io35 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
1308
- const $io36 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs);
1340
+ const $io36 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu);
1309
1341
  return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
1310
1342
  };
1311
1343
  if (false === __is(input))
@@ -1979,6 +2011,22 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
1979
2011
  path: _path + ".hlsjs",
1980
2012
  expected: "(boolean | undefined)",
1981
2013
  value: input.hlsjs
2014
+ }, errorFactory)) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders || $guard(_exceptionable, {
2015
+ path: _path + ".resetRenders",
2016
+ expected: "(boolean | undefined)",
2017
+ value: input.resetRenders
2018
+ }, errorFactory)) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus || $guard(_exceptionable, {
2019
+ path: _path + ".assetStatus",
2020
+ expected: "(boolean | undefined)",
2021
+ value: input.assetStatus
2022
+ }, errorFactory)) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia || $guard(_exceptionable, {
2023
+ path: _path + ".consolidateMedia",
2024
+ expected: "(boolean | undefined)",
2025
+ value: input.consolidateMedia
2026
+ }, errorFactory)) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu || $guard(_exceptionable, {
2027
+ path: _path + ".hideInAssetMenu",
2028
+ expected: "(boolean | undefined)",
2029
+ value: input.hideInAssetMenu
1982
2030
  }, errorFactory));
1983
2031
  return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
1984
2032
  path: _path + "",
@@ -2034,7 +2082,7 @@ export const stringifySettingsRecord = input => {
2034
2082
  const $io33 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
2035
2083
  const $io34 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io35(input.adobe);
2036
2084
  const $io35 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
2037
- const $io36 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs);
2085
+ const $io36 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu);
2038
2086
  const $string = __typia.json.createStringify.string;
2039
2087
  const $tail = __typia.json.createStringify.tail;
2040
2088
  const $so0 = input => `{${$tail(`${undefined === input.module ? "" : `"module":${undefined !== input.module ? $so1(input.module) : undefined},`}${undefined === input.browser ? "" : `"browser":${undefined !== input.browser ? $so5(input.browser) : undefined},`}${undefined === input.toolbarTags ? "" : `"toolbarTags":${undefined !== input.toolbarTags ? $so7(input.toolbarTags) : undefined},`}${undefined === input.deadlines ? "" : `"deadlines":${undefined !== input.deadlines ? $so8(input.deadlines) : undefined},`}${undefined === input.assignees ? "" : `"assignees":${undefined !== input.assignees ? $so9(input.assignees) : undefined},`}${undefined === input.clock ? "" : `"clock":${undefined !== input.clock ? $so10(input.clock) : undefined},`}${undefined === input.swarm ? "" : `"swarm":${undefined !== input.swarm ? $so11(input.swarm) : undefined},`}${undefined === input.dashboard ? "" : `"dashboard":${undefined !== input.dashboard ? $so12(input.dashboard) : undefined},`}${undefined === input.script ? "" : `"script":${undefined !== input.script ? $so13(input.script) : undefined},`}${undefined === input.rundown ? "" : `"rundown":${undefined !== input.rundown ? $so16(input.rundown) : undefined},`}${undefined === input.gallery ? "" : `"gallery":${undefined !== input.gallery ? $so17(input.gallery) : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.keymap || "function" === typeof input.keymap ? "" : `"keymap":${undefined !== input.keymap ? JSON.stringify(input.keymap) : undefined},`}${undefined === input.media ? "" : `"media":${undefined !== input.media ? $so18(input.media) : undefined},`}${undefined === input.predefinedTags ? "" : `"predefinedTags":${undefined !== input.predefinedTags ? `[${input.predefinedTags.map(elem => $string(elem)).join(",")}]` : undefined},`}${undefined === input.storyboard ? "" : `"storyboard":${undefined !== input.storyboard ? $so27(input.storyboard) : undefined},`}${undefined === input.plugins ? "" : `"plugins":${undefined !== input.plugins ? $so34(input.plugins) : undefined},`}${undefined === input.crashScreen ? "" : `"crashScreen":${undefined !== input.crashScreen ? input.crashScreen : undefined},`}${undefined === input.debug ? "" : `"debug":${undefined !== input.debug ? input.debug : undefined},`}${undefined === input.flags ? "" : `"flags":${undefined !== input.flags ? $so36(input.flags) : undefined}`}`)}}`;
@@ -2073,7 +2121,7 @@ export const stringifySettingsRecord = input => {
2073
2121
  const $so33 = input => `{${$tail(`${undefined === input.maxHeight ? "" : `"maxHeight":${undefined !== input.maxHeight ? input.maxHeight : undefined}`}`)}}`;
2074
2122
  const $so34 = input => `{${$tail(`${undefined === input.adobe ? "" : `"adobe":${undefined !== input.adobe ? $so35(input.adobe) : undefined}`}`)}}`;
2075
2123
  const $so35 = input => `{${$tail(`${undefined === input.useProxies ? "" : `"useProxies":${undefined !== input.useProxies ? input.useProxies : undefined}`}`)}}`;
2076
- const $so36 = input => `{${$tail(`${undefined === input.utils ? "" : `"utils":${undefined !== input.utils ? input.utils : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.refs ? "" : `"refs":${undefined !== input.refs ? input.refs : undefined},`}${undefined === input.access ? "" : `"access":${undefined !== input.access ? input.access : undefined},`}${undefined === input.files ? "" : `"files":${undefined !== input.files ? input.files : undefined},`}${undefined === input["export"] ? "" : `"export":${undefined !== input["export"] ? input["export"] : undefined},`}${undefined === input.json ? "" : `"json":${undefined !== input.json ? input.json : undefined},`}${undefined === input.hlsjs ? "" : `"hlsjs":${undefined !== input.hlsjs ? input.hlsjs : undefined}`}`)}}`;
2124
+ const $so36 = input => `{${$tail(`${undefined === input.utils ? "" : `"utils":${undefined !== input.utils ? input.utils : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.refs ? "" : `"refs":${undefined !== input.refs ? input.refs : undefined},`}${undefined === input.access ? "" : `"access":${undefined !== input.access ? input.access : undefined},`}${undefined === input.files ? "" : `"files":${undefined !== input.files ? input.files : undefined},`}${undefined === input["export"] ? "" : `"export":${undefined !== input["export"] ? input["export"] : undefined},`}${undefined === input.json ? "" : `"json":${undefined !== input.json ? input.json : undefined},`}${undefined === input.hlsjs ? "" : `"hlsjs":${undefined !== input.hlsjs ? input.hlsjs : undefined},`}${undefined === input.resetRenders ? "" : `"resetRenders":${undefined !== input.resetRenders ? input.resetRenders : undefined},`}${undefined === input.assetStatus ? "" : `"assetStatus":${undefined !== input.assetStatus ? input.assetStatus : undefined},`}${undefined === input.consolidateMedia ? "" : `"consolidateMedia":${undefined !== input.consolidateMedia ? input.consolidateMedia : undefined},`}${undefined === input.hideInAssetMenu ? "" : `"hideInAssetMenu":${undefined !== input.hideInAssetMenu ? input.hideInAssetMenu : undefined}`}`)}}`;
2077
2125
  return $so0(input);
2078
2126
  };
2079
2127
  export const assertStringifySettingsRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
@@ -2121,7 +2169,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
2121
2169
  const $io33 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight && !Number.isNaN(input.maxHeight);
2122
2170
  const $io34 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io35(input.adobe);
2123
2171
  const $io35 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
2124
- const $io36 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs);
2172
+ const $io36 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu);
2125
2173
  return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
2126
2174
  };
2127
2175
  if (false === __is(input))
@@ -2795,6 +2843,22 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
2795
2843
  path: _path + ".hlsjs",
2796
2844
  expected: "(boolean | undefined)",
2797
2845
  value: input.hlsjs
2846
+ }, errorFactory)) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders || $guard(_exceptionable, {
2847
+ path: _path + ".resetRenders",
2848
+ expected: "(boolean | undefined)",
2849
+ value: input.resetRenders
2850
+ }, errorFactory)) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus || $guard(_exceptionable, {
2851
+ path: _path + ".assetStatus",
2852
+ expected: "(boolean | undefined)",
2853
+ value: input.assetStatus
2854
+ }, errorFactory)) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia || $guard(_exceptionable, {
2855
+ path: _path + ".consolidateMedia",
2856
+ expected: "(boolean | undefined)",
2857
+ value: input.consolidateMedia
2858
+ }, errorFactory)) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu || $guard(_exceptionable, {
2859
+ path: _path + ".hideInAssetMenu",
2860
+ expected: "(boolean | undefined)",
2861
+ value: input.hideInAssetMenu
2798
2862
  }, errorFactory));
2799
2863
  return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
2800
2864
  path: _path + "",
@@ -2850,7 +2914,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
2850
2914
  const $io33 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
2851
2915
  const $io34 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io35(input.adobe);
2852
2916
  const $io35 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
2853
- const $io36 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs);
2917
+ const $io36 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu);
2854
2918
  const $string = __typia.json.createAssertStringify.string;
2855
2919
  const $tail = __typia.json.createAssertStringify.tail;
2856
2920
  const $so0 = input => `{${$tail(`${undefined === input.module ? "" : `"module":${undefined !== input.module ? $so1(input.module) : undefined},`}${undefined === input.browser ? "" : `"browser":${undefined !== input.browser ? $so5(input.browser) : undefined},`}${undefined === input.toolbarTags ? "" : `"toolbarTags":${undefined !== input.toolbarTags ? $so7(input.toolbarTags) : undefined},`}${undefined === input.deadlines ? "" : `"deadlines":${undefined !== input.deadlines ? $so8(input.deadlines) : undefined},`}${undefined === input.assignees ? "" : `"assignees":${undefined !== input.assignees ? $so9(input.assignees) : undefined},`}${undefined === input.clock ? "" : `"clock":${undefined !== input.clock ? $so10(input.clock) : undefined},`}${undefined === input.swarm ? "" : `"swarm":${undefined !== input.swarm ? $so11(input.swarm) : undefined},`}${undefined === input.dashboard ? "" : `"dashboard":${undefined !== input.dashboard ? $so12(input.dashboard) : undefined},`}${undefined === input.script ? "" : `"script":${undefined !== input.script ? $so13(input.script) : undefined},`}${undefined === input.rundown ? "" : `"rundown":${undefined !== input.rundown ? $so16(input.rundown) : undefined},`}${undefined === input.gallery ? "" : `"gallery":${undefined !== input.gallery ? $so17(input.gallery) : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.keymap || "function" === typeof input.keymap ? "" : `"keymap":${undefined !== input.keymap ? JSON.stringify(input.keymap) : undefined},`}${undefined === input.media ? "" : `"media":${undefined !== input.media ? $so18(input.media) : undefined},`}${undefined === input.predefinedTags ? "" : `"predefinedTags":${undefined !== input.predefinedTags ? `[${input.predefinedTags.map(elem => $string(elem)).join(",")}]` : undefined},`}${undefined === input.storyboard ? "" : `"storyboard":${undefined !== input.storyboard ? $so27(input.storyboard) : undefined},`}${undefined === input.plugins ? "" : `"plugins":${undefined !== input.plugins ? $so34(input.plugins) : undefined},`}${undefined === input.crashScreen ? "" : `"crashScreen":${undefined !== input.crashScreen ? input.crashScreen : undefined},`}${undefined === input.debug ? "" : `"debug":${undefined !== input.debug ? input.debug : undefined},`}${undefined === input.flags ? "" : `"flags":${undefined !== input.flags ? $so36(input.flags) : undefined}`}`)}}`;
@@ -2889,6 +2953,6 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
2889
2953
  const $so33 = input => `{${$tail(`${undefined === input.maxHeight ? "" : `"maxHeight":${undefined !== input.maxHeight ? input.maxHeight : undefined}`}`)}}`;
2890
2954
  const $so34 = input => `{${$tail(`${undefined === input.adobe ? "" : `"adobe":${undefined !== input.adobe ? $so35(input.adobe) : undefined}`}`)}}`;
2891
2955
  const $so35 = input => `{${$tail(`${undefined === input.useProxies ? "" : `"useProxies":${undefined !== input.useProxies ? input.useProxies : undefined}`}`)}}`;
2892
- const $so36 = input => `{${$tail(`${undefined === input.utils ? "" : `"utils":${undefined !== input.utils ? input.utils : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.refs ? "" : `"refs":${undefined !== input.refs ? input.refs : undefined},`}${undefined === input.access ? "" : `"access":${undefined !== input.access ? input.access : undefined},`}${undefined === input.files ? "" : `"files":${undefined !== input.files ? input.files : undefined},`}${undefined === input["export"] ? "" : `"export":${undefined !== input["export"] ? input["export"] : undefined},`}${undefined === input.json ? "" : `"json":${undefined !== input.json ? input.json : undefined},`}${undefined === input.hlsjs ? "" : `"hlsjs":${undefined !== input.hlsjs ? input.hlsjs : undefined}`}`)}}`;
2956
+ const $so36 = input => `{${$tail(`${undefined === input.utils ? "" : `"utils":${undefined !== input.utils ? input.utils : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.refs ? "" : `"refs":${undefined !== input.refs ? input.refs : undefined},`}${undefined === input.access ? "" : `"access":${undefined !== input.access ? input.access : undefined},`}${undefined === input.files ? "" : `"files":${undefined !== input.files ? input.files : undefined},`}${undefined === input["export"] ? "" : `"export":${undefined !== input["export"] ? input["export"] : undefined},`}${undefined === input.json ? "" : `"json":${undefined !== input.json ? input.json : undefined},`}${undefined === input.hlsjs ? "" : `"hlsjs":${undefined !== input.hlsjs ? input.hlsjs : undefined},`}${undefined === input.resetRenders ? "" : `"resetRenders":${undefined !== input.resetRenders ? input.resetRenders : undefined},`}${undefined === input.assetStatus ? "" : `"assetStatus":${undefined !== input.assetStatus ? input.assetStatus : undefined},`}${undefined === input.consolidateMedia ? "" : `"consolidateMedia":${undefined !== input.consolidateMedia ? input.consolidateMedia : undefined},`}${undefined === input.hideInAssetMenu ? "" : `"hideInAssetMenu":${undefined !== input.hideInAssetMenu ? input.hideInAssetMenu : undefined}`}`)}}`;
2893
2957
  return $so0(input);
2894
2958
  }; return stringify(assert(input, errorFactory)); };
package/dist/index.d.ts CHANGED
@@ -21,4 +21,7 @@ export type Records = {
21
21
  };
22
22
  pick: string[];
23
23
  };
24
+ ":permission": {
25
+ rows: string[];
26
+ };
24
27
  };
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@nxtedition/types",
3
- "version": "1.3.0",
3
+ "version": "1.5.0",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "prepare": "ts-patch install && typia patch",
7
- "prebuild": "rimraf --glob dist/**/*",
7
+ "prebuild": "rimraf dist",
8
8
  "build": "tspc",
9
9
  "lint": "npx eslint ./src",
10
10
  "prepublishOnly": "yarn lint && yarn build && yarn test",