@nxtedition/types 23.0.14 → 23.0.16
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/app.d.ts +11 -1
- package/dist/app.js +177 -10
- package/dist/domains/user-notification-status.d.ts +1 -1
- package/dist/index.js +13 -13
- package/dist/schema.json +26 -6
- package/package.json +1 -1
package/dist/app.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export interface ElectronHubApi {
|
|
|
17
17
|
controlDownloadItem: (...args: unknown[]) => void;
|
|
18
18
|
openInApp: (...args: unknown[]) => void;
|
|
19
19
|
installDavinciPlugin: (url: string) => Promise<void>;
|
|
20
|
-
clipboard:
|
|
20
|
+
clipboard: ElectronHubApiClipboard;
|
|
21
21
|
downloadFile: (options: DownloadFileOptions) => void;
|
|
22
22
|
showItemInFolder: (fullPath: string) => void;
|
|
23
23
|
openPath: (path: string) => void;
|
|
@@ -28,6 +28,16 @@ export declare const randomElectronHubApi: () => ElectronHubApi;
|
|
|
28
28
|
export declare const assertGuardElectronHubApi: __AssertionGuard<ElectronHubApi>;
|
|
29
29
|
export declare const stringifyElectronHubApi: (input: ElectronHubApi) => string;
|
|
30
30
|
export declare const assertStringifyElectronHubApi: (input: unknown) => string;
|
|
31
|
+
export interface ElectronHubApiClipboard {
|
|
32
|
+
readText: () => Promise<string>;
|
|
33
|
+
writeText: (text: string) => Promise<void>;
|
|
34
|
+
}
|
|
35
|
+
export declare const isElectronHubApiClipboard: (input: unknown) => input is ElectronHubApiClipboard;
|
|
36
|
+
export declare const assertElectronHubApiClipboard: (input: unknown) => ElectronHubApiClipboard;
|
|
37
|
+
export declare const randomElectronHubApiClipboard: () => ElectronHubApiClipboard;
|
|
38
|
+
export declare const assertGuardElectronHubApiClipboard: __AssertionGuard<ElectronHubApiClipboard>;
|
|
39
|
+
export declare const stringifyElectronHubApiClipboard: (input: ElectronHubApiClipboard) => string;
|
|
40
|
+
export declare const assertStringifyElectronHubApiClipboard: (input: unknown) => string;
|
|
31
41
|
export interface DownloadFileOptions {
|
|
32
42
|
/**
|
|
33
43
|
* URL of the resource to download.
|
package/dist/app.js
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import __typia from "typia";
|
|
2
2
|
export const isElectronHubApi = input => {
|
|
3
|
-
const $io0 = input => true && true && true && true && true && true && true && true && true && true && true &&
|
|
3
|
+
const $io0 = input => true && true && true && true && true && true && true && true && true && true && true && ("object" === typeof input.clipboard && null !== input.clipboard && $io1(input.clipboard)) && true && true && true;
|
|
4
|
+
const $io1 = input => true && true;
|
|
4
5
|
return "object" === typeof input && null !== input && $io0(input);
|
|
5
6
|
};
|
|
6
7
|
export const assertElectronHubApi = (input, errorFactory) => {
|
|
7
8
|
const __is = input => {
|
|
8
|
-
const $io0 = input => true && true && true && true && true && true && true && true && true && true && true &&
|
|
9
|
+
const $io0 = input => true && true && true && true && true && true && true && true && true && true && true && ("object" === typeof input.clipboard && null !== input.clipboard && $io1(input.clipboard)) && true && true && true;
|
|
10
|
+
const $io1 = input => true && true;
|
|
9
11
|
return "object" === typeof input && null !== input && $io0(input);
|
|
10
12
|
};
|
|
11
13
|
if (false === __is(input))
|
|
@@ -55,7 +57,15 @@ export const assertElectronHubApi = (input, errorFactory) => {
|
|
|
55
57
|
path: _path + ".installDavinciPlugin",
|
|
56
58
|
expected: "unknown",
|
|
57
59
|
value: input.installDavinciPlugin
|
|
58
|
-
}, errorFactory)) &&
|
|
60
|
+
}, errorFactory)) && (("object" === typeof input.clipboard && null !== input.clipboard || $guard(_exceptionable, {
|
|
61
|
+
path: _path + ".clipboard",
|
|
62
|
+
expected: "ElectronHubApiClipboard",
|
|
63
|
+
value: input.clipboard
|
|
64
|
+
}, errorFactory)) && $ao1(input.clipboard, _path + ".clipboard", true && _exceptionable) || $guard(_exceptionable, {
|
|
65
|
+
path: _path + ".clipboard",
|
|
66
|
+
expected: "ElectronHubApiClipboard",
|
|
67
|
+
value: input.clipboard
|
|
68
|
+
}, errorFactory)) && (true || $guard(_exceptionable, {
|
|
59
69
|
path: _path + ".downloadFile",
|
|
60
70
|
expected: "unknown",
|
|
61
71
|
value: input.downloadFile
|
|
@@ -68,6 +78,15 @@ export const assertElectronHubApi = (input, errorFactory) => {
|
|
|
68
78
|
expected: "unknown",
|
|
69
79
|
value: input.openPath
|
|
70
80
|
}, errorFactory));
|
|
81
|
+
const $ao1 = (input, _path, _exceptionable = true) => (true || $guard(_exceptionable, {
|
|
82
|
+
path: _path + ".readText",
|
|
83
|
+
expected: "unknown",
|
|
84
|
+
value: input.readText
|
|
85
|
+
}, errorFactory)) && (true || $guard(_exceptionable, {
|
|
86
|
+
path: _path + ".writeText",
|
|
87
|
+
expected: "unknown",
|
|
88
|
+
value: input.writeText
|
|
89
|
+
}, errorFactory));
|
|
71
90
|
return ("object" === typeof input && null !== input || $guard(true, {
|
|
72
91
|
path: _path + "",
|
|
73
92
|
expected: "ElectronHubApi",
|
|
@@ -93,16 +112,21 @@ export const randomElectronHubApi = generator => {
|
|
|
93
112
|
controlDownloadItem: undefined,
|
|
94
113
|
openInApp: undefined,
|
|
95
114
|
installDavinciPlugin: undefined,
|
|
96
|
-
clipboard:
|
|
115
|
+
clipboard: $ro1(_recursive, _recursive ? 1 + _depth : _depth),
|
|
97
116
|
downloadFile: undefined,
|
|
98
117
|
showItemInFolder: undefined,
|
|
99
118
|
openPath: undefined
|
|
100
119
|
});
|
|
120
|
+
const $ro1 = (_recursive = false, _depth = 0) => ({
|
|
121
|
+
readText: undefined,
|
|
122
|
+
writeText: undefined
|
|
123
|
+
});
|
|
101
124
|
return $ro0();
|
|
102
125
|
};
|
|
103
126
|
export const assertGuardElectronHubApi = (input, errorFactory) => {
|
|
104
127
|
const __is = input => {
|
|
105
|
-
const $io0 = input => true && true && true && true && true && true && true && true && true && true && true &&
|
|
128
|
+
const $io0 = input => true && true && true && true && true && true && true && true && true && true && true && ("object" === typeof input.clipboard && null !== input.clipboard && $io1(input.clipboard)) && true && true && true;
|
|
129
|
+
const $io1 = input => true && true;
|
|
106
130
|
return "object" === typeof input && null !== input && $io0(input);
|
|
107
131
|
};
|
|
108
132
|
if (false === __is(input))
|
|
@@ -152,7 +176,15 @@ export const assertGuardElectronHubApi = (input, errorFactory) => {
|
|
|
152
176
|
path: _path + ".installDavinciPlugin",
|
|
153
177
|
expected: "unknown",
|
|
154
178
|
value: input.installDavinciPlugin
|
|
155
|
-
}, errorFactory)) &&
|
|
179
|
+
}, errorFactory)) && (("object" === typeof input.clipboard && null !== input.clipboard || $guard(_exceptionable, {
|
|
180
|
+
path: _path + ".clipboard",
|
|
181
|
+
expected: "ElectronHubApiClipboard",
|
|
182
|
+
value: input.clipboard
|
|
183
|
+
}, errorFactory)) && $ao1(input.clipboard, _path + ".clipboard", true && _exceptionable) || $guard(_exceptionable, {
|
|
184
|
+
path: _path + ".clipboard",
|
|
185
|
+
expected: "ElectronHubApiClipboard",
|
|
186
|
+
value: input.clipboard
|
|
187
|
+
}, errorFactory)) && (true || $guard(_exceptionable, {
|
|
156
188
|
path: _path + ".downloadFile",
|
|
157
189
|
expected: "unknown",
|
|
158
190
|
value: input.downloadFile
|
|
@@ -165,6 +197,15 @@ export const assertGuardElectronHubApi = (input, errorFactory) => {
|
|
|
165
197
|
expected: "unknown",
|
|
166
198
|
value: input.openPath
|
|
167
199
|
}, errorFactory));
|
|
200
|
+
const $ao1 = (input, _path, _exceptionable = true) => (true || $guard(_exceptionable, {
|
|
201
|
+
path: _path + ".readText",
|
|
202
|
+
expected: "unknown",
|
|
203
|
+
value: input.readText
|
|
204
|
+
}, errorFactory)) && (true || $guard(_exceptionable, {
|
|
205
|
+
path: _path + ".writeText",
|
|
206
|
+
expected: "unknown",
|
|
207
|
+
value: input.writeText
|
|
208
|
+
}, errorFactory));
|
|
168
209
|
return ("object" === typeof input && null !== input || $guard(true, {
|
|
169
210
|
path: _path + "",
|
|
170
211
|
expected: "ElectronHubApi",
|
|
@@ -177,12 +218,15 @@ export const assertGuardElectronHubApi = (input, errorFactory) => {
|
|
|
177
218
|
})(input, "$input", true);
|
|
178
219
|
};
|
|
179
220
|
export const stringifyElectronHubApi = input => {
|
|
180
|
-
const $
|
|
221
|
+
const $io1 = input => true && true;
|
|
222
|
+
const $so0 = input => `{"clipboard":${$so1(input.clipboard)}}`;
|
|
223
|
+
const $so1 = input => "{}";
|
|
181
224
|
return $so0(input);
|
|
182
225
|
};
|
|
183
226
|
export const assertStringifyElectronHubApi = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
184
227
|
const __is = input => {
|
|
185
|
-
const $io0 = input => true && true && true && true && true && true && true && true && true && true && true &&
|
|
228
|
+
const $io0 = input => true && true && true && true && true && true && true && true && true && true && true && ("object" === typeof input.clipboard && null !== input.clipboard && $io1(input.clipboard)) && true && true && true;
|
|
229
|
+
const $io1 = input => true && true;
|
|
186
230
|
return "object" === typeof input && null !== input && $io0(input);
|
|
187
231
|
};
|
|
188
232
|
if (false === __is(input))
|
|
@@ -232,7 +276,15 @@ export const assertStringifyElectronHubApi = (input, errorFactory) => { const as
|
|
|
232
276
|
path: _path + ".installDavinciPlugin",
|
|
233
277
|
expected: "unknown",
|
|
234
278
|
value: input.installDavinciPlugin
|
|
235
|
-
}, errorFactory)) &&
|
|
279
|
+
}, errorFactory)) && (("object" === typeof input.clipboard && null !== input.clipboard || $guard(_exceptionable, {
|
|
280
|
+
path: _path + ".clipboard",
|
|
281
|
+
expected: "ElectronHubApiClipboard",
|
|
282
|
+
value: input.clipboard
|
|
283
|
+
}, errorFactory)) && $ao1(input.clipboard, _path + ".clipboard", true && _exceptionable) || $guard(_exceptionable, {
|
|
284
|
+
path: _path + ".clipboard",
|
|
285
|
+
expected: "ElectronHubApiClipboard",
|
|
286
|
+
value: input.clipboard
|
|
287
|
+
}, errorFactory)) && (true || $guard(_exceptionable, {
|
|
236
288
|
path: _path + ".downloadFile",
|
|
237
289
|
expected: "unknown",
|
|
238
290
|
value: input.downloadFile
|
|
@@ -245,6 +297,15 @@ export const assertStringifyElectronHubApi = (input, errorFactory) => { const as
|
|
|
245
297
|
expected: "unknown",
|
|
246
298
|
value: input.openPath
|
|
247
299
|
}, errorFactory));
|
|
300
|
+
const $ao1 = (input, _path, _exceptionable = true) => (true || $guard(_exceptionable, {
|
|
301
|
+
path: _path + ".readText",
|
|
302
|
+
expected: "unknown",
|
|
303
|
+
value: input.readText
|
|
304
|
+
}, errorFactory)) && (true || $guard(_exceptionable, {
|
|
305
|
+
path: _path + ".writeText",
|
|
306
|
+
expected: "unknown",
|
|
307
|
+
value: input.writeText
|
|
308
|
+
}, errorFactory));
|
|
248
309
|
return ("object" === typeof input && null !== input || $guard(true, {
|
|
249
310
|
path: _path + "",
|
|
250
311
|
expected: "ElectronHubApi",
|
|
@@ -257,7 +318,113 @@ export const assertStringifyElectronHubApi = (input, errorFactory) => { const as
|
|
|
257
318
|
})(input, "$input", true);
|
|
258
319
|
return input;
|
|
259
320
|
}; const stringify = input => {
|
|
260
|
-
const $
|
|
321
|
+
const $io1 = input => true && true;
|
|
322
|
+
const $so0 = input => `{"clipboard":${$so1(input.clipboard)}}`;
|
|
323
|
+
const $so1 = input => "{}";
|
|
324
|
+
return $so0(input);
|
|
325
|
+
}; return stringify(assert(input, errorFactory)); };
|
|
326
|
+
export const isElectronHubApiClipboard = input => {
|
|
327
|
+
const $io0 = input => true && true;
|
|
328
|
+
return "object" === typeof input && null !== input && $io0(input);
|
|
329
|
+
};
|
|
330
|
+
export const assertElectronHubApiClipboard = (input, errorFactory) => {
|
|
331
|
+
const __is = input => {
|
|
332
|
+
const $io0 = input => true && true;
|
|
333
|
+
return "object" === typeof input && null !== input && $io0(input);
|
|
334
|
+
};
|
|
335
|
+
if (false === __is(input))
|
|
336
|
+
((input, _path, _exceptionable = true) => {
|
|
337
|
+
const $guard = __typia.createAssert.guard;
|
|
338
|
+
const $ao0 = (input, _path, _exceptionable = true) => (true || $guard(_exceptionable, {
|
|
339
|
+
path: _path + ".readText",
|
|
340
|
+
expected: "unknown",
|
|
341
|
+
value: input.readText
|
|
342
|
+
}, errorFactory)) && (true || $guard(_exceptionable, {
|
|
343
|
+
path: _path + ".writeText",
|
|
344
|
+
expected: "unknown",
|
|
345
|
+
value: input.writeText
|
|
346
|
+
}, errorFactory));
|
|
347
|
+
return ("object" === typeof input && null !== input || $guard(true, {
|
|
348
|
+
path: _path + "",
|
|
349
|
+
expected: "ElectronHubApiClipboard",
|
|
350
|
+
value: input
|
|
351
|
+
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
352
|
+
path: _path + "",
|
|
353
|
+
expected: "ElectronHubApiClipboard",
|
|
354
|
+
value: input
|
|
355
|
+
}, errorFactory);
|
|
356
|
+
})(input, "$input", true);
|
|
357
|
+
return input;
|
|
358
|
+
};
|
|
359
|
+
export const randomElectronHubApiClipboard = generator => {
|
|
360
|
+
const $ro0 = (_recursive = false, _depth = 0) => ({
|
|
361
|
+
readText: undefined,
|
|
362
|
+
writeText: undefined
|
|
363
|
+
});
|
|
364
|
+
return $ro0();
|
|
365
|
+
};
|
|
366
|
+
export const assertGuardElectronHubApiClipboard = (input, errorFactory) => {
|
|
367
|
+
const __is = input => {
|
|
368
|
+
const $io0 = input => true && true;
|
|
369
|
+
return "object" === typeof input && null !== input && $io0(input);
|
|
370
|
+
};
|
|
371
|
+
if (false === __is(input))
|
|
372
|
+
((input, _path, _exceptionable = true) => {
|
|
373
|
+
const $guard = __typia.createAssertGuard.guard;
|
|
374
|
+
const $ao0 = (input, _path, _exceptionable = true) => (true || $guard(_exceptionable, {
|
|
375
|
+
path: _path + ".readText",
|
|
376
|
+
expected: "unknown",
|
|
377
|
+
value: input.readText
|
|
378
|
+
}, errorFactory)) && (true || $guard(_exceptionable, {
|
|
379
|
+
path: _path + ".writeText",
|
|
380
|
+
expected: "unknown",
|
|
381
|
+
value: input.writeText
|
|
382
|
+
}, errorFactory));
|
|
383
|
+
return ("object" === typeof input && null !== input || $guard(true, {
|
|
384
|
+
path: _path + "",
|
|
385
|
+
expected: "ElectronHubApiClipboard",
|
|
386
|
+
value: input
|
|
387
|
+
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
388
|
+
path: _path + "",
|
|
389
|
+
expected: "ElectronHubApiClipboard",
|
|
390
|
+
value: input
|
|
391
|
+
}, errorFactory);
|
|
392
|
+
})(input, "$input", true);
|
|
393
|
+
};
|
|
394
|
+
export const stringifyElectronHubApiClipboard = input => {
|
|
395
|
+
const $so0 = input => "{}";
|
|
396
|
+
return $so0(input);
|
|
397
|
+
};
|
|
398
|
+
export const assertStringifyElectronHubApiClipboard = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
399
|
+
const __is = input => {
|
|
400
|
+
const $io0 = input => true && true;
|
|
401
|
+
return "object" === typeof input && null !== input && $io0(input);
|
|
402
|
+
};
|
|
403
|
+
if (false === __is(input))
|
|
404
|
+
((input, _path, _exceptionable = true) => {
|
|
405
|
+
const $guard = __typia.json.createAssertStringify.guard;
|
|
406
|
+
const $ao0 = (input, _path, _exceptionable = true) => (true || $guard(_exceptionable, {
|
|
407
|
+
path: _path + ".readText",
|
|
408
|
+
expected: "unknown",
|
|
409
|
+
value: input.readText
|
|
410
|
+
}, errorFactory)) && (true || $guard(_exceptionable, {
|
|
411
|
+
path: _path + ".writeText",
|
|
412
|
+
expected: "unknown",
|
|
413
|
+
value: input.writeText
|
|
414
|
+
}, errorFactory));
|
|
415
|
+
return ("object" === typeof input && null !== input || $guard(true, {
|
|
416
|
+
path: _path + "",
|
|
417
|
+
expected: "ElectronHubApiClipboard",
|
|
418
|
+
value: input
|
|
419
|
+
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
420
|
+
path: _path + "",
|
|
421
|
+
expected: "ElectronHubApiClipboard",
|
|
422
|
+
value: input
|
|
423
|
+
}, errorFactory);
|
|
424
|
+
})(input, "$input", true);
|
|
425
|
+
return input;
|
|
426
|
+
}; const stringify = input => {
|
|
427
|
+
const $so0 = input => "{}";
|
|
261
428
|
return $so0(input);
|
|
262
429
|
}; return stringify(assert(input, errorFactory)); };
|
|
263
430
|
export const isDownloadFileOptions = input => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type AssertionGuard as __AssertionGuard } from "typia";
|
|
2
2
|
export interface UserNotificationStatusDomainRecords {
|
|
3
|
-
":
|
|
3
|
+
":_user-notification-status": UserNotificationStatusDomainRecord;
|
|
4
4
|
}
|
|
5
5
|
export interface UserNotificationStatusDomainRecord {
|
|
6
6
|
assignee?: UserNotificationStatusAssignee;
|
package/dist/index.js
CHANGED
|
@@ -5,21 +5,21 @@ export * from './app.js';
|
|
|
5
5
|
export * from './rpc.js';
|
|
6
6
|
export * from './asset.js';
|
|
7
7
|
export const isDomains = input => {
|
|
8
|
-
const $iv1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":publish.accepts", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.publish?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":asset.presence?", ":asset.comments?", ":clone", "comment-reaction", "comment-read-mark", ":comment", ":comment.reactions?", ":comment.replies?", ":comment.readMarks?", ":contact", ":deepstream.replicate", ":edit", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":media.probe?", ":media.updateSubtitles?", ":media.updateGraphics?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":subtitle-style", ":template", ":
|
|
8
|
+
const $iv1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":publish.accepts", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.publish?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":asset.presence?", ":asset.comments?", ":clone", "comment-reaction", "comment-read-mark", ":comment", ":comment.reactions?", ":comment.replies?", ":comment.readMarks?", ":contact", ":deepstream.replicate", ":edit", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":media.probe?", ":media.updateSubtitles?", ":media.updateGraphics?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":subtitle-style", ":template", ":_user-notification-status", ":user-notification", ":user-notification.readAt", ":user", ":user.latestSeenNotification", ":user.receivedNotifications?", ":user.unseenNotifications?"]);
|
|
9
9
|
return true === $iv1.has(input);
|
|
10
10
|
};
|
|
11
11
|
export const assertDomains = (input, errorFactory) => {
|
|
12
12
|
const __is = input => {
|
|
13
|
-
const $iv1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":publish.accepts", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.publish?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":asset.presence?", ":asset.comments?", ":clone", "comment-reaction", "comment-read-mark", ":comment", ":comment.reactions?", ":comment.replies?", ":comment.readMarks?", ":contact", ":deepstream.replicate", ":edit", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":media.probe?", ":media.updateSubtitles?", ":media.updateGraphics?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":subtitle-style", ":template", ":
|
|
13
|
+
const $iv1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":publish.accepts", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.publish?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":asset.presence?", ":asset.comments?", ":clone", "comment-reaction", "comment-read-mark", ":comment", ":comment.reactions?", ":comment.replies?", ":comment.readMarks?", ":contact", ":deepstream.replicate", ":edit", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":media.probe?", ":media.updateSubtitles?", ":media.updateGraphics?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":subtitle-style", ":template", ":_user-notification-status", ":user-notification", ":user-notification.readAt", ":user", ":user.latestSeenNotification", ":user.receivedNotifications?", ":user.unseenNotifications?"]);
|
|
14
14
|
return true === $iv1.has(input);
|
|
15
15
|
};
|
|
16
16
|
if (false === __is(input))
|
|
17
17
|
((input, _path, _exceptionable = true) => {
|
|
18
18
|
const $guard = __typia.createAssert.guard;
|
|
19
|
-
const $av1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":publish.accepts", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.publish?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":asset.presence?", ":asset.comments?", ":clone", "comment-reaction", "comment-read-mark", ":comment", ":comment.reactions?", ":comment.replies?", ":comment.readMarks?", ":contact", ":deepstream.replicate", ":edit", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":media.probe?", ":media.updateSubtitles?", ":media.updateGraphics?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":subtitle-style", ":template", ":
|
|
19
|
+
const $av1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":publish.accepts", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.publish?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":asset.presence?", ":asset.comments?", ":clone", "comment-reaction", "comment-read-mark", ":comment", ":comment.reactions?", ":comment.replies?", ":comment.readMarks?", ":contact", ":deepstream.replicate", ":edit", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":media.probe?", ":media.updateSubtitles?", ":media.updateGraphics?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":subtitle-style", ":template", ":_user-notification-status", ":user-notification", ":user-notification.readAt", ":user", ":user.latestSeenNotification", ":user.receivedNotifications?", ":user.unseenNotifications?"]);
|
|
20
20
|
return true === $av1.has(input) || $guard(true, {
|
|
21
21
|
path: _path + "",
|
|
22
|
-
expected: "(\":asset.assignees?\" | \":asset.comments?\" | \":asset.controllers?\" | \":asset.created?\" | \":asset.deadlines?\" | \":asset.duration?\" | \":asset.embedding?\" | \":asset.fileRefs?\" | \":asset.icon?\" | \":asset.locations?\" | \":asset.media?\" | \":asset.modified?\" | \":asset.presence?\" | \":asset.publish?\" | \":asset.published?\" | \":asset.refs?\" | \":asset.status?\" | \":asset.tags?\" | \":asset.title?\" | \":asset.types?\" | \":bundle\" | \":bundle.revisions\" | \":clone\" | \":comment\" | \":comment.reactions?\" | \":comment.readMarks?\" | \":comment.replies?\" | \":connection\" | \":connection.methods?\" | \":connection.stats?\" | \":contact\" | \":deepstream.replicate\" | \":edit\" | \":event\" | \":event._template?\" | \":file.replicate\" | \":file.restrictions\" | \":general.created\" | \":general.description\" | \":general.poster\" | \":general.status\" | \":general.tags\" | \":general.title\" | \":media.consolidate\" | \":media.font\" | \":media.probe?\" | \":media.renders?\" | \":media.restrictions?\" | \":media.source\" | \":media.transcriptChanges\" | \":media.updateGraphics?\" | \":media.updateSubtitles?\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.accepts\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":storyboard\" | \":storyboard.pipelines\" | \":subtitle-style\" | \":template\" | \":user\" | \":user-notification\" | \":user-notification
|
|
22
|
+
expected: "(\":_user-notification-status\" | \":asset.assignees?\" | \":asset.comments?\" | \":asset.controllers?\" | \":asset.created?\" | \":asset.deadlines?\" | \":asset.duration?\" | \":asset.embedding?\" | \":asset.fileRefs?\" | \":asset.icon?\" | \":asset.locations?\" | \":asset.media?\" | \":asset.modified?\" | \":asset.presence?\" | \":asset.publish?\" | \":asset.published?\" | \":asset.refs?\" | \":asset.status?\" | \":asset.tags?\" | \":asset.title?\" | \":asset.types?\" | \":bundle\" | \":bundle.revisions\" | \":clone\" | \":comment\" | \":comment.reactions?\" | \":comment.readMarks?\" | \":comment.replies?\" | \":connection\" | \":connection.methods?\" | \":connection.stats?\" | \":contact\" | \":deepstream.replicate\" | \":edit\" | \":event\" | \":event._template?\" | \":file.replicate\" | \":file.restrictions\" | \":general.created\" | \":general.description\" | \":general.poster\" | \":general.status\" | \":general.tags\" | \":general.title\" | \":media.consolidate\" | \":media.font\" | \":media.probe?\" | \":media.renders?\" | \":media.restrictions?\" | \":media.source\" | \":media.transcriptChanges\" | \":media.updateGraphics?\" | \":media.updateSubtitles?\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.accepts\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":storyboard\" | \":storyboard.pipelines\" | \":subtitle-style\" | \":template\" | \":user\" | \":user-notification\" | \":user-notification.readAt\" | \":user.latestSeenNotification\" | \":user.receivedNotifications?\" | \":user.unseenNotifications?\" | \"comment-reaction\" | \"comment-read-mark\")",
|
|
23
23
|
value: input
|
|
24
24
|
}, errorFactory);
|
|
25
25
|
})(input, "$input", true);
|
|
@@ -105,7 +105,7 @@ export const randomDomains = generator => {
|
|
|
105
105
|
() => ":storyboard.pipelines",
|
|
106
106
|
() => ":subtitle-style",
|
|
107
107
|
() => ":template",
|
|
108
|
-
() => ":
|
|
108
|
+
() => ":_user-notification-status",
|
|
109
109
|
() => ":user-notification",
|
|
110
110
|
() => ":user-notification.readAt",
|
|
111
111
|
() => ":user",
|
|
@@ -116,16 +116,16 @@ export const randomDomains = generator => {
|
|
|
116
116
|
};
|
|
117
117
|
export const assertGuardDomains = (input, errorFactory) => {
|
|
118
118
|
const __is = input => {
|
|
119
|
-
const $iv1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":publish.accepts", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.publish?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":asset.presence?", ":asset.comments?", ":clone", "comment-reaction", "comment-read-mark", ":comment", ":comment.reactions?", ":comment.replies?", ":comment.readMarks?", ":contact", ":deepstream.replicate", ":edit", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":media.probe?", ":media.updateSubtitles?", ":media.updateGraphics?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":subtitle-style", ":template", ":
|
|
119
|
+
const $iv1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":publish.accepts", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.publish?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":asset.presence?", ":asset.comments?", ":clone", "comment-reaction", "comment-read-mark", ":comment", ":comment.reactions?", ":comment.replies?", ":comment.readMarks?", ":contact", ":deepstream.replicate", ":edit", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":media.probe?", ":media.updateSubtitles?", ":media.updateGraphics?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":subtitle-style", ":template", ":_user-notification-status", ":user-notification", ":user-notification.readAt", ":user", ":user.latestSeenNotification", ":user.receivedNotifications?", ":user.unseenNotifications?"]);
|
|
120
120
|
return true === $iv1.has(input);
|
|
121
121
|
};
|
|
122
122
|
if (false === __is(input))
|
|
123
123
|
((input, _path, _exceptionable = true) => {
|
|
124
124
|
const $guard = __typia.createAssertGuard.guard;
|
|
125
|
-
const $av1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":publish.accepts", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.publish?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":asset.presence?", ":asset.comments?", ":clone", "comment-reaction", "comment-read-mark", ":comment", ":comment.reactions?", ":comment.replies?", ":comment.readMarks?", ":contact", ":deepstream.replicate", ":edit", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":media.probe?", ":media.updateSubtitles?", ":media.updateGraphics?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":subtitle-style", ":template", ":
|
|
125
|
+
const $av1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":publish.accepts", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.publish?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":asset.presence?", ":asset.comments?", ":clone", "comment-reaction", "comment-read-mark", ":comment", ":comment.reactions?", ":comment.replies?", ":comment.readMarks?", ":contact", ":deepstream.replicate", ":edit", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":media.probe?", ":media.updateSubtitles?", ":media.updateGraphics?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":subtitle-style", ":template", ":_user-notification-status", ":user-notification", ":user-notification.readAt", ":user", ":user.latestSeenNotification", ":user.receivedNotifications?", ":user.unseenNotifications?"]);
|
|
126
126
|
return true === $av1.has(input) || $guard(true, {
|
|
127
127
|
path: _path + "",
|
|
128
|
-
expected: "(\":asset.assignees?\" | \":asset.comments?\" | \":asset.controllers?\" | \":asset.created?\" | \":asset.deadlines?\" | \":asset.duration?\" | \":asset.embedding?\" | \":asset.fileRefs?\" | \":asset.icon?\" | \":asset.locations?\" | \":asset.media?\" | \":asset.modified?\" | \":asset.presence?\" | \":asset.publish?\" | \":asset.published?\" | \":asset.refs?\" | \":asset.status?\" | \":asset.tags?\" | \":asset.title?\" | \":asset.types?\" | \":bundle\" | \":bundle.revisions\" | \":clone\" | \":comment\" | \":comment.reactions?\" | \":comment.readMarks?\" | \":comment.replies?\" | \":connection\" | \":connection.methods?\" | \":connection.stats?\" | \":contact\" | \":deepstream.replicate\" | \":edit\" | \":event\" | \":event._template?\" | \":file.replicate\" | \":file.restrictions\" | \":general.created\" | \":general.description\" | \":general.poster\" | \":general.status\" | \":general.tags\" | \":general.title\" | \":media.consolidate\" | \":media.font\" | \":media.probe?\" | \":media.renders?\" | \":media.restrictions?\" | \":media.source\" | \":media.transcriptChanges\" | \":media.updateGraphics?\" | \":media.updateSubtitles?\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.accepts\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":storyboard\" | \":storyboard.pipelines\" | \":subtitle-style\" | \":template\" | \":user\" | \":user-notification\" | \":user-notification
|
|
128
|
+
expected: "(\":_user-notification-status\" | \":asset.assignees?\" | \":asset.comments?\" | \":asset.controllers?\" | \":asset.created?\" | \":asset.deadlines?\" | \":asset.duration?\" | \":asset.embedding?\" | \":asset.fileRefs?\" | \":asset.icon?\" | \":asset.locations?\" | \":asset.media?\" | \":asset.modified?\" | \":asset.presence?\" | \":asset.publish?\" | \":asset.published?\" | \":asset.refs?\" | \":asset.status?\" | \":asset.tags?\" | \":asset.title?\" | \":asset.types?\" | \":bundle\" | \":bundle.revisions\" | \":clone\" | \":comment\" | \":comment.reactions?\" | \":comment.readMarks?\" | \":comment.replies?\" | \":connection\" | \":connection.methods?\" | \":connection.stats?\" | \":contact\" | \":deepstream.replicate\" | \":edit\" | \":event\" | \":event._template?\" | \":file.replicate\" | \":file.restrictions\" | \":general.created\" | \":general.description\" | \":general.poster\" | \":general.status\" | \":general.tags\" | \":general.title\" | \":media.consolidate\" | \":media.font\" | \":media.probe?\" | \":media.renders?\" | \":media.restrictions?\" | \":media.source\" | \":media.transcriptChanges\" | \":media.updateGraphics?\" | \":media.updateSubtitles?\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.accepts\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":storyboard\" | \":storyboard.pipelines\" | \":subtitle-style\" | \":template\" | \":user\" | \":user-notification\" | \":user-notification.readAt\" | \":user.latestSeenNotification\" | \":user.receivedNotifications?\" | \":user.unseenNotifications?\" | \"comment-reaction\" | \"comment-read-mark\")",
|
|
129
129
|
value: input
|
|
130
130
|
}, errorFactory);
|
|
131
131
|
})(input, "$input", true);
|
|
@@ -139,23 +139,23 @@ export const stringifyDomains = input => {
|
|
|
139
139
|
if ("string" === typeof input)
|
|
140
140
|
return "\"" + input + "\"";
|
|
141
141
|
$throws({
|
|
142
|
-
expected: "(\":asset.assignees?\" | \":asset.comments?\" | \":asset.controllers?\" | \":asset.created?\" | \":asset.deadlines?\" | \":asset.duration?\" | \":asset.embedding?\" | \":asset.fileRefs?\" | \":asset.icon?\" | \":asset.locations?\" | \":asset.media?\" | \":asset.modified?\" | \":asset.presence?\" | \":asset.publish?\" | \":asset.published?\" | \":asset.refs?\" | \":asset.status?\" | \":asset.tags?\" | \":asset.title?\" | \":asset.types?\" | \":bundle\" | \":bundle.revisions\" | \":clone\" | \":comment\" | \":comment.reactions?\" | \":comment.readMarks?\" | \":comment.replies?\" | \":connection\" | \":connection.methods?\" | \":connection.stats?\" | \":contact\" | \":deepstream.replicate\" | \":edit\" | \":event\" | \":event._template?\" | \":file.replicate\" | \":file.restrictions\" | \":general.created\" | \":general.description\" | \":general.poster\" | \":general.status\" | \":general.tags\" | \":general.title\" | \":media.consolidate\" | \":media.font\" | \":media.probe?\" | \":media.renders?\" | \":media.restrictions?\" | \":media.source\" | \":media.transcriptChanges\" | \":media.updateGraphics?\" | \":media.updateSubtitles?\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.accepts\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":storyboard\" | \":storyboard.pipelines\" | \":subtitle-style\" | \":template\" | \":user\" | \":user-notification\" | \":user-notification
|
|
142
|
+
expected: "(\":_user-notification-status\" | \":asset.assignees?\" | \":asset.comments?\" | \":asset.controllers?\" | \":asset.created?\" | \":asset.deadlines?\" | \":asset.duration?\" | \":asset.embedding?\" | \":asset.fileRefs?\" | \":asset.icon?\" | \":asset.locations?\" | \":asset.media?\" | \":asset.modified?\" | \":asset.presence?\" | \":asset.publish?\" | \":asset.published?\" | \":asset.refs?\" | \":asset.status?\" | \":asset.tags?\" | \":asset.title?\" | \":asset.types?\" | \":bundle\" | \":bundle.revisions\" | \":clone\" | \":comment\" | \":comment.reactions?\" | \":comment.readMarks?\" | \":comment.replies?\" | \":connection\" | \":connection.methods?\" | \":connection.stats?\" | \":contact\" | \":deepstream.replicate\" | \":edit\" | \":event\" | \":event._template?\" | \":file.replicate\" | \":file.restrictions\" | \":general.created\" | \":general.description\" | \":general.poster\" | \":general.status\" | \":general.tags\" | \":general.title\" | \":media.consolidate\" | \":media.font\" | \":media.probe?\" | \":media.renders?\" | \":media.restrictions?\" | \":media.source\" | \":media.transcriptChanges\" | \":media.updateGraphics?\" | \":media.updateSubtitles?\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.accepts\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":storyboard\" | \":storyboard.pipelines\" | \":subtitle-style\" | \":template\" | \":user\" | \":user-notification\" | \":user-notification.readAt\" | \":user.latestSeenNotification\" | \":user.receivedNotifications?\" | \":user.unseenNotifications?\" | \"comment-reaction\" | \"comment-read-mark\")",
|
|
143
143
|
value: input
|
|
144
144
|
});
|
|
145
145
|
})();
|
|
146
146
|
};
|
|
147
147
|
export const assertStringifyDomains = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
148
148
|
const __is = input => {
|
|
149
|
-
const $iv1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":publish.accepts", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.publish?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":asset.presence?", ":asset.comments?", ":clone", "comment-reaction", "comment-read-mark", ":comment", ":comment.reactions?", ":comment.replies?", ":comment.readMarks?", ":contact", ":deepstream.replicate", ":edit", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":media.probe?", ":media.updateSubtitles?", ":media.updateGraphics?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":subtitle-style", ":template", ":
|
|
149
|
+
const $iv1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":publish.accepts", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.publish?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":asset.presence?", ":asset.comments?", ":clone", "comment-reaction", "comment-read-mark", ":comment", ":comment.reactions?", ":comment.replies?", ":comment.readMarks?", ":contact", ":deepstream.replicate", ":edit", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":media.probe?", ":media.updateSubtitles?", ":media.updateGraphics?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":subtitle-style", ":template", ":_user-notification-status", ":user-notification", ":user-notification.readAt", ":user", ":user.latestSeenNotification", ":user.receivedNotifications?", ":user.unseenNotifications?"]);
|
|
150
150
|
return true === $iv1.has(input);
|
|
151
151
|
};
|
|
152
152
|
if (false === __is(input))
|
|
153
153
|
((input, _path, _exceptionable = true) => {
|
|
154
154
|
const $guard = __typia.json.createAssertStringify.guard;
|
|
155
|
-
const $av1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":publish.accepts", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.publish?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":asset.presence?", ":asset.comments?", ":clone", "comment-reaction", "comment-read-mark", ":comment", ":comment.reactions?", ":comment.replies?", ":comment.readMarks?", ":contact", ":deepstream.replicate", ":edit", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":media.probe?", ":media.updateSubtitles?", ":media.updateGraphics?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":subtitle-style", ":template", ":
|
|
155
|
+
const $av1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":publish.accepts", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.publish?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":asset.presence?", ":asset.comments?", ":clone", "comment-reaction", "comment-read-mark", ":comment", ":comment.reactions?", ":comment.replies?", ":comment.readMarks?", ":contact", ":deepstream.replicate", ":edit", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":media.probe?", ":media.updateSubtitles?", ":media.updateGraphics?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":subtitle-style", ":template", ":_user-notification-status", ":user-notification", ":user-notification.readAt", ":user", ":user.latestSeenNotification", ":user.receivedNotifications?", ":user.unseenNotifications?"]);
|
|
156
156
|
return true === $av1.has(input) || $guard(true, {
|
|
157
157
|
path: _path + "",
|
|
158
|
-
expected: "(\":asset.assignees?\" | \":asset.comments?\" | \":asset.controllers?\" | \":asset.created?\" | \":asset.deadlines?\" | \":asset.duration?\" | \":asset.embedding?\" | \":asset.fileRefs?\" | \":asset.icon?\" | \":asset.locations?\" | \":asset.media?\" | \":asset.modified?\" | \":asset.presence?\" | \":asset.publish?\" | \":asset.published?\" | \":asset.refs?\" | \":asset.status?\" | \":asset.tags?\" | \":asset.title?\" | \":asset.types?\" | \":bundle\" | \":bundle.revisions\" | \":clone\" | \":comment\" | \":comment.reactions?\" | \":comment.readMarks?\" | \":comment.replies?\" | \":connection\" | \":connection.methods?\" | \":connection.stats?\" | \":contact\" | \":deepstream.replicate\" | \":edit\" | \":event\" | \":event._template?\" | \":file.replicate\" | \":file.restrictions\" | \":general.created\" | \":general.description\" | \":general.poster\" | \":general.status\" | \":general.tags\" | \":general.title\" | \":media.consolidate\" | \":media.font\" | \":media.probe?\" | \":media.renders?\" | \":media.restrictions?\" | \":media.source\" | \":media.transcriptChanges\" | \":media.updateGraphics?\" | \":media.updateSubtitles?\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.accepts\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":storyboard\" | \":storyboard.pipelines\" | \":subtitle-style\" | \":template\" | \":user\" | \":user-notification\" | \":user-notification
|
|
158
|
+
expected: "(\":_user-notification-status\" | \":asset.assignees?\" | \":asset.comments?\" | \":asset.controllers?\" | \":asset.created?\" | \":asset.deadlines?\" | \":asset.duration?\" | \":asset.embedding?\" | \":asset.fileRefs?\" | \":asset.icon?\" | \":asset.locations?\" | \":asset.media?\" | \":asset.modified?\" | \":asset.presence?\" | \":asset.publish?\" | \":asset.published?\" | \":asset.refs?\" | \":asset.status?\" | \":asset.tags?\" | \":asset.title?\" | \":asset.types?\" | \":bundle\" | \":bundle.revisions\" | \":clone\" | \":comment\" | \":comment.reactions?\" | \":comment.readMarks?\" | \":comment.replies?\" | \":connection\" | \":connection.methods?\" | \":connection.stats?\" | \":contact\" | \":deepstream.replicate\" | \":edit\" | \":event\" | \":event._template?\" | \":file.replicate\" | \":file.restrictions\" | \":general.created\" | \":general.description\" | \":general.poster\" | \":general.status\" | \":general.tags\" | \":general.title\" | \":media.consolidate\" | \":media.font\" | \":media.probe?\" | \":media.renders?\" | \":media.restrictions?\" | \":media.source\" | \":media.transcriptChanges\" | \":media.updateGraphics?\" | \":media.updateSubtitles?\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.accepts\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":storyboard\" | \":storyboard.pipelines\" | \":subtitle-style\" | \":template\" | \":user\" | \":user-notification\" | \":user-notification.readAt\" | \":user.latestSeenNotification\" | \":user.receivedNotifications?\" | \":user.unseenNotifications?\" | \"comment-reaction\" | \"comment-read-mark\")",
|
|
159
159
|
value: input
|
|
160
160
|
}, errorFactory);
|
|
161
161
|
})(input, "$input", true);
|
|
@@ -169,7 +169,7 @@ export const assertStringifyDomains = (input, errorFactory) => { const assert =
|
|
|
169
169
|
if ("string" === typeof input)
|
|
170
170
|
return "\"" + input + "\"";
|
|
171
171
|
$throws({
|
|
172
|
-
expected: "(\":asset.assignees?\" | \":asset.comments?\" | \":asset.controllers?\" | \":asset.created?\" | \":asset.deadlines?\" | \":asset.duration?\" | \":asset.embedding?\" | \":asset.fileRefs?\" | \":asset.icon?\" | \":asset.locations?\" | \":asset.media?\" | \":asset.modified?\" | \":asset.presence?\" | \":asset.publish?\" | \":asset.published?\" | \":asset.refs?\" | \":asset.status?\" | \":asset.tags?\" | \":asset.title?\" | \":asset.types?\" | \":bundle\" | \":bundle.revisions\" | \":clone\" | \":comment\" | \":comment.reactions?\" | \":comment.readMarks?\" | \":comment.replies?\" | \":connection\" | \":connection.methods?\" | \":connection.stats?\" | \":contact\" | \":deepstream.replicate\" | \":edit\" | \":event\" | \":event._template?\" | \":file.replicate\" | \":file.restrictions\" | \":general.created\" | \":general.description\" | \":general.poster\" | \":general.status\" | \":general.tags\" | \":general.title\" | \":media.consolidate\" | \":media.font\" | \":media.probe?\" | \":media.renders?\" | \":media.restrictions?\" | \":media.source\" | \":media.transcriptChanges\" | \":media.updateGraphics?\" | \":media.updateSubtitles?\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.accepts\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":storyboard\" | \":storyboard.pipelines\" | \":subtitle-style\" | \":template\" | \":user\" | \":user-notification\" | \":user-notification
|
|
172
|
+
expected: "(\":_user-notification-status\" | \":asset.assignees?\" | \":asset.comments?\" | \":asset.controllers?\" | \":asset.created?\" | \":asset.deadlines?\" | \":asset.duration?\" | \":asset.embedding?\" | \":asset.fileRefs?\" | \":asset.icon?\" | \":asset.locations?\" | \":asset.media?\" | \":asset.modified?\" | \":asset.presence?\" | \":asset.publish?\" | \":asset.published?\" | \":asset.refs?\" | \":asset.status?\" | \":asset.tags?\" | \":asset.title?\" | \":asset.types?\" | \":bundle\" | \":bundle.revisions\" | \":clone\" | \":comment\" | \":comment.reactions?\" | \":comment.readMarks?\" | \":comment.replies?\" | \":connection\" | \":connection.methods?\" | \":connection.stats?\" | \":contact\" | \":deepstream.replicate\" | \":edit\" | \":event\" | \":event._template?\" | \":file.replicate\" | \":file.restrictions\" | \":general.created\" | \":general.description\" | \":general.poster\" | \":general.status\" | \":general.tags\" | \":general.title\" | \":media.consolidate\" | \":media.font\" | \":media.probe?\" | \":media.renders?\" | \":media.restrictions?\" | \":media.source\" | \":media.transcriptChanges\" | \":media.updateGraphics?\" | \":media.updateSubtitles?\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.accepts\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":storyboard\" | \":storyboard.pipelines\" | \":subtitle-style\" | \":template\" | \":user\" | \":user-notification\" | \":user-notification.readAt\" | \":user.latestSeenNotification\" | \":user.receivedNotifications?\" | \":user.unseenNotifications?\" | \"comment-reaction\" | \"comment-read-mark\")",
|
|
173
173
|
value: input
|
|
174
174
|
});
|
|
175
175
|
})();
|
package/dist/schema.json
CHANGED
|
@@ -1101,6 +1101,9 @@
|
|
|
1101
1101
|
"DomainRecords": {
|
|
1102
1102
|
"additionalProperties": false,
|
|
1103
1103
|
"properties": {
|
|
1104
|
+
":_user-notification-status": {
|
|
1105
|
+
"$ref": "#/definitions/UserNotificationStatusDomainRecord"
|
|
1106
|
+
},
|
|
1104
1107
|
":asset.assignees?": {
|
|
1105
1108
|
"$ref": "#/definitions/AssetAssigneesProvidedRecord"
|
|
1106
1109
|
},
|
|
@@ -1341,9 +1344,6 @@
|
|
|
1341
1344
|
":user-notification": {
|
|
1342
1345
|
"$ref": "#/definitions/UserNotificationRecord"
|
|
1343
1346
|
},
|
|
1344
|
-
":user-notification-status": {
|
|
1345
|
-
"$ref": "#/definitions/UserNotificationStatusDomainRecord"
|
|
1346
|
-
},
|
|
1347
1347
|
":user-notification.readAt": {
|
|
1348
1348
|
"$ref": "#/definitions/UserNotificationDomainReadAtRecord"
|
|
1349
1349
|
},
|
|
@@ -1364,6 +1364,7 @@
|
|
|
1364
1364
|
}
|
|
1365
1365
|
},
|
|
1366
1366
|
"required": [
|
|
1367
|
+
":_user-notification-status",
|
|
1367
1368
|
":asset.assignees?",
|
|
1368
1369
|
":asset.comments?",
|
|
1369
1370
|
":asset.controllers?",
|
|
@@ -1442,7 +1443,6 @@
|
|
|
1442
1443
|
":template",
|
|
1443
1444
|
":user",
|
|
1444
1445
|
":user-notification",
|
|
1445
|
-
":user-notification-status",
|
|
1446
1446
|
":user-notification.readAt",
|
|
1447
1447
|
":user.latestSeenNotification",
|
|
1448
1448
|
":user.receivedNotifications?",
|
|
@@ -1469,6 +1469,7 @@
|
|
|
1469
1469
|
},
|
|
1470
1470
|
"Domains": {
|
|
1471
1471
|
"enum": [
|
|
1472
|
+
":_user-notification-status",
|
|
1472
1473
|
":asset.assignees?",
|
|
1473
1474
|
":asset.comments?",
|
|
1474
1475
|
":asset.controllers?",
|
|
@@ -1546,7 +1547,6 @@
|
|
|
1546
1547
|
":template",
|
|
1547
1548
|
":user",
|
|
1548
1549
|
":user-notification",
|
|
1549
|
-
":user-notification-status",
|
|
1550
1550
|
":user-notification.readAt",
|
|
1551
1551
|
":user.latestSeenNotification",
|
|
1552
1552
|
":user.receivedNotifications?",
|
|
@@ -1643,7 +1643,9 @@
|
|
|
1643
1643
|
"ElectronHubApi": {
|
|
1644
1644
|
"additionalProperties": false,
|
|
1645
1645
|
"properties": {
|
|
1646
|
-
"clipboard": {
|
|
1646
|
+
"clipboard": {
|
|
1647
|
+
"$ref": "#/definitions/ElectronHubApiClipboard"
|
|
1648
|
+
},
|
|
1647
1649
|
"controlDownloadItem": {
|
|
1648
1650
|
"additionalProperties": false,
|
|
1649
1651
|
"type": "object"
|
|
@@ -1720,6 +1722,24 @@
|
|
|
1720
1722
|
],
|
|
1721
1723
|
"type": "object"
|
|
1722
1724
|
},
|
|
1725
|
+
"ElectronHubApiClipboard": {
|
|
1726
|
+
"additionalProperties": false,
|
|
1727
|
+
"properties": {
|
|
1728
|
+
"readText": {
|
|
1729
|
+
"additionalProperties": false,
|
|
1730
|
+
"type": "object"
|
|
1731
|
+
},
|
|
1732
|
+
"writeText": {
|
|
1733
|
+
"additionalProperties": false,
|
|
1734
|
+
"type": "object"
|
|
1735
|
+
}
|
|
1736
|
+
},
|
|
1737
|
+
"required": [
|
|
1738
|
+
"readText",
|
|
1739
|
+
"writeText"
|
|
1740
|
+
],
|
|
1741
|
+
"type": "object"
|
|
1742
|
+
},
|
|
1723
1743
|
"EventDomainRecords": {
|
|
1724
1744
|
"additionalProperties": false,
|
|
1725
1745
|
"properties": {
|