@nxtedition/types 23.0.40 → 23.0.42
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 +0 -33
- package/dist/app.js +1 -655
- package/dist/common/block.d.ts +6 -13
- package/dist/common/block.js +597 -1607
- package/dist/common/clone.d.ts +0 -19
- package/dist/common/clone.js +1 -602
- package/dist/common/date.d.ts +0 -7
- package/dist/common/date.js +1 -59
- package/dist/common/error.d.ts +0 -7
- package/dist/common/error.js +1 -404
- package/dist/common/file.d.ts +1 -21
- package/dist/common/file.js +782 -2521
- package/dist/common/index.d.ts +20 -26
- package/dist/common/index.js +20 -134
- package/dist/common/location.d.ts +0 -6
- package/dist/common/location.js +73 -238
- package/dist/common/lock.d.ts +1 -8
- package/dist/common/lock.js +1 -211
- package/dist/common/media.d.ts +0 -7
- package/dist/common/media.js +1 -83
- package/dist/common/nxtpression.d.ts +2 -9
- package/dist/common/nxtpression.js +1 -277
- package/dist/common/pipeline.d.ts +0 -7
- package/dist/common/pipeline.js +1 -97
- package/dist/common/promoted-tag.d.ts +0 -7
- package/dist/common/promoted-tag.js +1 -147
- package/dist/common/render-preset.d.ts +4 -17
- package/dist/common/render-preset.js +1 -1202
- package/dist/common/render-profile.d.ts +3 -19
- package/dist/common/render-profile.js +1 -1052
- package/dist/common/render-query.d.ts +2 -9
- package/dist/common/render-query.js +1 -1843
- package/dist/common/render-scene.d.ts +3 -16
- package/dist/common/render-scene.js +1 -2408
- package/dist/common/rule.d.ts +1 -7
- package/dist/common/rule.js +84 -254
- package/dist/common/search.d.ts +0 -25
- package/dist/common/search.js +1 -1591
- package/dist/common/settings.d.ts +113 -125
- package/dist/common/settings.js +1 -7504
- package/dist/common/subtitle-style.d.ts +25 -0
- package/dist/common/user-notification.d.ts +0 -7
- package/dist/common/user-notification.js +1 -85
- package/dist/index.d.ts +5 -108
- package/dist/index.js +5 -469
- package/dist/nxtpression.d.ts +538 -337
- package/dist/nxtpression.js +1 -323
- package/dist/records/domains/asset.d.ts +106 -0
- package/dist/records/domains/bundle.d.ts +12 -0
- package/dist/records/domains/bundle.js +1 -0
- package/dist/records/domains/clone.d.ts +7 -0
- package/dist/records/domains/clone.js +1 -0
- package/dist/records/domains/comment-reaction.d.ts +8 -0
- package/dist/records/domains/comment-reaction.js +1 -0
- package/dist/records/domains/comment-read-mark.d.ts +8 -0
- package/dist/records/domains/comment-read-mark.js +1 -0
- package/dist/records/domains/comment.d.ts +81 -0
- package/dist/records/domains/comment.js +19 -0
- package/dist/records/domains/connection.d.ts +77 -0
- package/dist/records/domains/connection.js +1 -0
- package/dist/records/domains/contact.d.ts +9 -0
- package/dist/records/domains/contact.js +1 -0
- package/dist/records/domains/deepstream.d.ts +8 -0
- package/dist/records/domains/deepstream.js +1 -0
- package/dist/records/domains/design.d.ts +11 -0
- package/dist/records/domains/design.js +1 -0
- package/dist/records/domains/edit.d.ts +10 -0
- package/dist/records/domains/edit.js +1 -0
- package/dist/records/domains/event.d.ts +66 -0
- package/dist/records/domains/event.js +1 -0
- package/dist/records/domains/file.d.ts +26 -0
- package/dist/records/domains/file.js +1 -0
- package/dist/records/domains/general.d.ts +41 -0
- package/dist/records/domains/general.js +1 -0
- package/dist/records/domains/index.d.ts +77 -0
- package/dist/records/domains/index.js +38 -0
- package/dist/records/domains/media.d.ts +64 -0
- package/dist/records/domains/media.js +1 -0
- package/dist/records/domains/monitor.d.ts +116 -0
- package/dist/records/domains/monitor.js +1 -0
- package/dist/records/domains/panel.d.ts +55 -0
- package/dist/records/domains/panel.js +1 -0
- package/dist/records/domains/permission.d.ts +25 -0
- package/dist/records/domains/permission.js +2 -0
- package/dist/records/domains/pipeline-preset.d.ts +10 -0
- package/dist/records/domains/pipeline-preset.js +1 -0
- package/dist/records/domains/pipeline.d.ts +17 -0
- package/dist/records/domains/pipeline.js +1 -0
- package/dist/records/domains/planning.d.ts +14 -0
- package/dist/records/domains/planning.js +1 -0
- package/dist/records/domains/prompter.d.ts +18 -0
- package/dist/records/domains/prompter.js +1 -0
- package/dist/records/domains/publish.d.ts +149 -0
- package/dist/records/domains/publish.js +1 -0
- package/dist/records/domains/published.d.ts +12 -0
- package/dist/records/domains/published.js +1 -0
- package/dist/records/domains/render-preset.d.ts +5 -0
- package/dist/records/domains/render-preset.js +1 -0
- package/dist/records/domains/render.d.ts +115 -0
- package/dist/records/domains/render.js +1 -0
- package/dist/records/domains/revs.d.ts +6 -0
- package/dist/records/domains/revs.js +1 -0
- package/dist/records/domains/role.d.ts +6 -0
- package/dist/records/domains/role.js +1 -0
- package/dist/records/domains/script.d.ts +101 -0
- package/dist/records/domains/script.js +1 -0
- package/dist/records/domains/search.d.ts +23 -0
- package/dist/records/domains/search.js +1 -0
- package/dist/records/domains/settings.d.ts +5 -0
- package/dist/records/domains/settings.js +1 -0
- package/dist/records/domains/storyboard.d.ts +10 -0
- package/dist/records/domains/storyboard.js +1 -0
- package/dist/records/domains/subtitle-style.d.ts +13 -0
- package/dist/records/domains/subtitle-style.js +1 -0
- package/dist/records/domains/subtitle.d.ts +12 -0
- package/dist/records/domains/subtitle.js +1 -0
- package/dist/records/domains/template.d.ts +11 -0
- package/dist/records/domains/template.js +1 -0
- package/dist/records/domains/user-notification-status.d.ts +30 -0
- package/dist/records/domains/user-notification-status.js +1 -0
- package/dist/records/domains/user-notification.d.ts +69 -0
- package/dist/records/domains/user-notification.js +1 -0
- package/dist/records/domains/user.d.ts +23 -0
- package/dist/records/domains/user.js +1 -0
- package/dist/records/exact/asset.d.ts +83 -0
- package/dist/records/exact/asset.js +1 -0
- package/dist/records/exact/index.d.ts +36 -0
- package/dist/records/exact/index.js +4 -0
- package/dist/records/exact/media.d.ts +52 -0
- package/dist/records/exact/media.js +1 -0
- package/dist/records/exact/monitor.d.ts +46 -0
- package/dist/records/exact/monitor.js +1 -0
- package/dist/records/exact/storage.d.ts +32 -0
- package/dist/records/exact/storage.js +1 -0
- package/dist/records/index.d.ts +10 -0
- package/dist/records/index.js +2 -0
- package/dist/records/utils.d.ts +7 -0
- package/dist/records/utils.js +1 -0
- package/dist/records/utils.tds.d.ts +1 -0
- package/dist/records/utils.tds.js +7 -0
- package/dist/records/validate/assert-guard.d.ts +4 -0
- package/dist/records/validate/assert-guard.js +16068 -0
- package/dist/records/validate/assert.d.ts +4 -0
- package/dist/records/validate/assert.js +16198 -0
- package/dist/records/validate/is.d.ts +4 -0
- package/dist/records/validate/is.js +1027 -0
- package/dist/records/validate/schemas.d.ts +9 -0
- package/dist/records/validate/schemas.js +12862 -0
- package/dist/records/validate/stringify.d.ts +4 -0
- package/dist/records/validate/stringify.js +1915 -0
- package/dist/records/validate/utils.d.ts +15 -0
- package/dist/records/validate/utils.js +26 -0
- package/dist/records/validate/validate-equals.d.ts +5 -0
- package/dist/records/validate/validate-equals.js +24363 -0
- package/dist/records/validate/validate.d.ts +5 -0
- package/dist/records/validate/validate.js +15127 -0
- package/dist/rpc.d.ts +5 -15
- package/dist/rpc.js +126 -511
- package/dist/tsdoc-metadata.json +1 -1
- package/package.json +25 -15
- package/dist/asset.d.ts +0 -72
- package/dist/domains/asset.d.ts +0 -227
- package/dist/domains/asset.js +0 -2672
- package/dist/domains/bundle.d.ts +0 -25
- package/dist/domains/bundle.js +0 -512
- package/dist/domains/clone.d.ts +0 -14
- package/dist/domains/clone.js +0 -192
- package/dist/domains/comment-reaction.d.ts +0 -15
- package/dist/domains/comment-reaction.js +0 -115
- package/dist/domains/comment-read-mark.d.ts +0 -15
- package/dist/domains/comment-read-mark.js +0 -115
- package/dist/domains/comment.d.ts +0 -153
- package/dist/domains/comment.js +0 -5906
- package/dist/domains/connection.d.ts +0 -141
- package/dist/domains/connection.js +0 -5860
- package/dist/domains/contact.d.ts +0 -16
- package/dist/domains/contact.js +0 -149
- package/dist/domains/deepstream.d.ts +0 -14
- package/dist/domains/deepstream.js +0 -139
- package/dist/domains/design.d.ts +0 -24
- package/dist/domains/design.js +0 -303
- package/dist/domains/edit.d.ts +0 -17
- package/dist/domains/edit.js +0 -224
- package/dist/domains/event.d.ts +0 -170
- package/dist/domains/event.js +0 -2779
- package/dist/domains/file.d.ts +0 -51
- package/dist/domains/file.js +0 -2506
- package/dist/domains/general.d.ts +0 -84
- package/dist/domains/general.js +0 -906
- package/dist/domains/index.d.ts +0 -75
- package/dist/domains/index.js +0 -37
- package/dist/domains/media.d.ts +0 -113
- package/dist/domains/media.js +0 -4642
- package/dist/domains/monitor.d.ts +0 -416
- package/dist/domains/monitor.js +0 -6382
- package/dist/domains/panel.d.ts +0 -371
- package/dist/domains/panel.js +0 -3198
- package/dist/domains/permission.d.ts +0 -61
- package/dist/domains/permission.js +0 -1926
- package/dist/domains/pipeline-preset.d.ts +0 -17
- package/dist/domains/pipeline-preset.js +0 -236
- package/dist/domains/pipeline.d.ts +0 -30
- package/dist/domains/pipeline.js +0 -460
- package/dist/domains/planning.d.ts +0 -33
- package/dist/domains/planning.js +0 -324
- package/dist/domains/publish.d.ts +0 -1452
- package/dist/domains/publish.js +0 -35415
- package/dist/domains/published.d.ts +0 -19
- package/dist/domains/published.js +0 -204
- package/dist/domains/render-preset.d.ts +0 -4
- package/dist/domains/render.d.ts +0 -158
- package/dist/domains/render.js +0 -4452
- package/dist/domains/revs.d.ts +0 -13
- package/dist/domains/revs.js +0 -125
- package/dist/domains/role.d.ts +0 -13
- package/dist/domains/role.js +0 -119
- package/dist/domains/script.d.ts +0 -263
- package/dist/domains/script.js +0 -6777
- package/dist/domains/search.d.ts +0 -16
- package/dist/domains/search.js +0 -168
- package/dist/domains/settings.d.ts +0 -12
- package/dist/domains/settings.js +0 -7180
- package/dist/domains/storyboard.d.ts +0 -14
- package/dist/domains/storyboard.js +0 -125
- package/dist/domains/subtitle-style.d.ts +0 -42
- package/dist/domains/subtitle-style.js +0 -574
- package/dist/domains/subtitle.d.ts +0 -19
- package/dist/domains/subtitle.js +0 -212
- package/dist/domains/template.d.ts +0 -23
- package/dist/domains/template.js +0 -372
- package/dist/domains/user-notification-status.d.ts +0 -55
- package/dist/domains/user-notification-status.js +0 -715
- package/dist/domains/user-notification.d.ts +0 -118
- package/dist/domains/user-notification.js +0 -3040
- package/dist/domains/user.d.ts +0 -48
- package/dist/domains/user.js +0 -481
- package/dist/monitor.d.ts +0 -71
- package/dist/monitor.js +0 -1942
- package/dist/schema.json +0 -9836
- package/dist/storage.d.ts +0 -51
- package/dist/storage.js +0 -1036
- /package/dist/{asset.js → common/subtitle-style.js} +0 -0
- /package/dist/{domains/render-preset.js → records/domains/asset.js} +0 -0
package/dist/index.js
CHANGED
|
@@ -1,469 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from './asset.js';
|
|
7
|
-
export * from './storage.js';
|
|
8
|
-
export * from './monitor.js';
|
|
9
|
-
export const isDomains = input => {
|
|
10
|
-
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?", ":event.overlay?", ":event.template?", ":event.duration?", ":event.props?", ":file.replicate", ":file.restrictions", ":file.stats?", ":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?", ":monitor.stats?", ":panel", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":render.stats?", ":render.query?", ":render.result?", ":render.schedulers?", ":revs?", ":role.tags", ":script", ":script?", ":script.revisions?", ":script.revision", ":script.revision?", ":script.content?", ":script.text?", ":script.children", ":search?", ":settings", ":storyboard", ":storyboard.pipelines", ":subtitle-style", ":subtitle", ":template", ":_user-notification-status", ":user-notification", ":user-notification.readAt", ":user", ":user.latestSeenNotification", ":user.receivedNotifications?", ":user.unseenNotifications?"]);
|
|
11
|
-
return true === $iv1.has(input);
|
|
12
|
-
};
|
|
13
|
-
export const assertDomains = (input, errorFactory) => {
|
|
14
|
-
const __is = input => {
|
|
15
|
-
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?", ":event.overlay?", ":event.template?", ":event.duration?", ":event.props?", ":file.replicate", ":file.restrictions", ":file.stats?", ":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?", ":monitor.stats?", ":panel", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":render.stats?", ":render.query?", ":render.result?", ":render.schedulers?", ":revs?", ":role.tags", ":script", ":script?", ":script.revisions?", ":script.revision", ":script.revision?", ":script.content?", ":script.text?", ":script.children", ":search?", ":settings", ":storyboard", ":storyboard.pipelines", ":subtitle-style", ":subtitle", ":template", ":_user-notification-status", ":user-notification", ":user-notification.readAt", ":user", ":user.latestSeenNotification", ":user.receivedNotifications?", ":user.unseenNotifications?"]);
|
|
16
|
-
return true === $iv1.has(input);
|
|
17
|
-
};
|
|
18
|
-
if (false === __is(input))
|
|
19
|
-
((input, _path, _exceptionable = true) => {
|
|
20
|
-
const $guard = __typia.createAssert.guard;
|
|
21
|
-
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?", ":event.overlay?", ":event.template?", ":event.duration?", ":event.props?", ":file.replicate", ":file.restrictions", ":file.stats?", ":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?", ":monitor.stats?", ":panel", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":render.stats?", ":render.query?", ":render.result?", ":render.schedulers?", ":revs?", ":role.tags", ":script", ":script?", ":script.revisions?", ":script.revision", ":script.revision?", ":script.content?", ":script.text?", ":script.children", ":search?", ":settings", ":storyboard", ":storyboard.pipelines", ":subtitle-style", ":subtitle", ":template", ":_user-notification-status", ":user-notification", ":user-notification.readAt", ":user", ":user.latestSeenNotification", ":user.receivedNotifications?", ":user.unseenNotifications?"]);
|
|
22
|
-
return true === $av1.has(input) || $guard(true, {
|
|
23
|
-
path: _path + "",
|
|
24
|
-
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?\" | \":event.duration?\" | \":event.overlay?\" | \":event.props?\" | \":event.template?\" | \":file.replicate\" | \":file.restrictions\" | \":file.stats?\" | \":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?\" | \":monitor.stats?\" | \":panel\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.accepts\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":render.query?\" | \":render.result?\" | \":render.schedulers?\" | \":render.stats?\" | \":revs?\" | \":role.tags\" | \":script\" | \":script.children\" | \":script.content?\" | \":script.revision\" | \":script.revision?\" | \":script.revisions?\" | \":script.text?\" | \":script?\" | \":search?\" | \":settings\" | \":storyboard\" | \":storyboard.pipelines\" | \":subtitle\" | \":subtitle-style\" | \":template\" | \":user\" | \":user-notification\" | \":user-notification.readAt\" | \":user.latestSeenNotification\" | \":user.receivedNotifications?\" | \":user.unseenNotifications?\" | \"comment-reaction\" | \"comment-read-mark\")",
|
|
25
|
-
value: input
|
|
26
|
-
}, errorFactory);
|
|
27
|
-
})(input, "$input", true);
|
|
28
|
-
return input;
|
|
29
|
-
};
|
|
30
|
-
export const randomDomains = generator => {
|
|
31
|
-
const $pick = __typia.createRandom.pick;
|
|
32
|
-
return $pick([
|
|
33
|
-
() => ":bundle",
|
|
34
|
-
() => ":bundle.revisions",
|
|
35
|
-
() => ":connection",
|
|
36
|
-
() => ":connection.methods?",
|
|
37
|
-
() => ":connection.stats?",
|
|
38
|
-
() => ":publish",
|
|
39
|
-
() => ":publish.stats?",
|
|
40
|
-
() => ":publish.methods?",
|
|
41
|
-
() => ":publish.accepts",
|
|
42
|
-
() => ":published",
|
|
43
|
-
() => ":asset.title?",
|
|
44
|
-
() => ":asset.types?",
|
|
45
|
-
() => ":asset.assignees?",
|
|
46
|
-
() => ":asset.refs?",
|
|
47
|
-
() => ":asset.tags?",
|
|
48
|
-
() => ":asset.fileRefs?",
|
|
49
|
-
() => ":asset.created?",
|
|
50
|
-
() => ":asset.modified?",
|
|
51
|
-
() => ":asset.status?",
|
|
52
|
-
() => ":asset.icon?",
|
|
53
|
-
() => ":asset.deadlines?",
|
|
54
|
-
() => ":asset.publish?",
|
|
55
|
-
() => ":asset.published?",
|
|
56
|
-
() => ":asset.duration?",
|
|
57
|
-
() => ":asset.locations?",
|
|
58
|
-
() => ":asset.controllers?",
|
|
59
|
-
() => ":asset.embedding?",
|
|
60
|
-
() => ":asset.media?",
|
|
61
|
-
() => ":asset.presence?",
|
|
62
|
-
() => ":asset.comments?",
|
|
63
|
-
() => ":clone",
|
|
64
|
-
() => "comment-reaction",
|
|
65
|
-
() => "comment-read-mark",
|
|
66
|
-
() => ":comment",
|
|
67
|
-
() => ":comment.reactions?",
|
|
68
|
-
() => ":comment.replies?",
|
|
69
|
-
() => ":comment.readMarks?",
|
|
70
|
-
() => ":contact",
|
|
71
|
-
() => ":deepstream.replicate",
|
|
72
|
-
() => ":edit",
|
|
73
|
-
() => ":event",
|
|
74
|
-
() => ":event._template?",
|
|
75
|
-
() => ":event.overlay?",
|
|
76
|
-
() => ":event.template?",
|
|
77
|
-
() => ":event.duration?",
|
|
78
|
-
() => ":event.props?",
|
|
79
|
-
() => ":file.replicate",
|
|
80
|
-
() => ":file.restrictions",
|
|
81
|
-
() => ":file.stats?",
|
|
82
|
-
() => ":general.title",
|
|
83
|
-
() => ":general.tags",
|
|
84
|
-
() => ":general.created",
|
|
85
|
-
() => ":general.poster",
|
|
86
|
-
() => ":general.status",
|
|
87
|
-
() => ":general.description",
|
|
88
|
-
() => ":media.source",
|
|
89
|
-
() => ":media.consolidate",
|
|
90
|
-
() => ":media.renders?",
|
|
91
|
-
() => ":media.transcriptChanges",
|
|
92
|
-
() => ":media.font",
|
|
93
|
-
() => ":media.restrictions?",
|
|
94
|
-
() => ":media.probe?",
|
|
95
|
-
() => ":media.updateSubtitles?",
|
|
96
|
-
() => ":media.updateGraphics?",
|
|
97
|
-
() => ":monitor.stats?",
|
|
98
|
-
() => ":panel",
|
|
99
|
-
() => ":permission?",
|
|
100
|
-
() => ":permission",
|
|
101
|
-
() => ":pipeline-preset",
|
|
102
|
-
() => ":pipeline",
|
|
103
|
-
() => ":pipeline.items",
|
|
104
|
-
() => ":planning",
|
|
105
|
-
() => ":planning.assignees",
|
|
106
|
-
() => ":planning.deadline",
|
|
107
|
-
() => ":render-preset",
|
|
108
|
-
() => ":render.stats?",
|
|
109
|
-
() => ":render.query?",
|
|
110
|
-
() => ":render.result?",
|
|
111
|
-
() => ":render.schedulers?",
|
|
112
|
-
() => ":revs?",
|
|
113
|
-
() => ":role.tags",
|
|
114
|
-
() => ":script",
|
|
115
|
-
() => ":script?",
|
|
116
|
-
() => ":script.revisions?",
|
|
117
|
-
() => ":script.revision",
|
|
118
|
-
() => ":script.revision?",
|
|
119
|
-
() => ":script.content?",
|
|
120
|
-
() => ":script.text?",
|
|
121
|
-
() => ":script.children",
|
|
122
|
-
() => ":search?",
|
|
123
|
-
() => ":settings",
|
|
124
|
-
() => ":storyboard",
|
|
125
|
-
() => ":storyboard.pipelines",
|
|
126
|
-
() => ":subtitle-style",
|
|
127
|
-
() => ":subtitle",
|
|
128
|
-
() => ":template",
|
|
129
|
-
() => ":_user-notification-status",
|
|
130
|
-
() => ":user-notification",
|
|
131
|
-
() => ":user-notification.readAt",
|
|
132
|
-
() => ":user",
|
|
133
|
-
() => ":user.latestSeenNotification",
|
|
134
|
-
() => ":user.receivedNotifications?",
|
|
135
|
-
() => ":user.unseenNotifications?"
|
|
136
|
-
])();
|
|
137
|
-
};
|
|
138
|
-
export const assertGuardDomains = (input, errorFactory) => {
|
|
139
|
-
const __is = input => {
|
|
140
|
-
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?", ":event.overlay?", ":event.template?", ":event.duration?", ":event.props?", ":file.replicate", ":file.restrictions", ":file.stats?", ":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?", ":monitor.stats?", ":panel", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":render.stats?", ":render.query?", ":render.result?", ":render.schedulers?", ":revs?", ":role.tags", ":script", ":script?", ":script.revisions?", ":script.revision", ":script.revision?", ":script.content?", ":script.text?", ":script.children", ":search?", ":settings", ":storyboard", ":storyboard.pipelines", ":subtitle-style", ":subtitle", ":template", ":_user-notification-status", ":user-notification", ":user-notification.readAt", ":user", ":user.latestSeenNotification", ":user.receivedNotifications?", ":user.unseenNotifications?"]);
|
|
141
|
-
return true === $iv1.has(input);
|
|
142
|
-
};
|
|
143
|
-
if (false === __is(input))
|
|
144
|
-
((input, _path, _exceptionable = true) => {
|
|
145
|
-
const $guard = __typia.createAssertGuard.guard;
|
|
146
|
-
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?", ":event.overlay?", ":event.template?", ":event.duration?", ":event.props?", ":file.replicate", ":file.restrictions", ":file.stats?", ":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?", ":monitor.stats?", ":panel", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":render.stats?", ":render.query?", ":render.result?", ":render.schedulers?", ":revs?", ":role.tags", ":script", ":script?", ":script.revisions?", ":script.revision", ":script.revision?", ":script.content?", ":script.text?", ":script.children", ":search?", ":settings", ":storyboard", ":storyboard.pipelines", ":subtitle-style", ":subtitle", ":template", ":_user-notification-status", ":user-notification", ":user-notification.readAt", ":user", ":user.latestSeenNotification", ":user.receivedNotifications?", ":user.unseenNotifications?"]);
|
|
147
|
-
return true === $av1.has(input) || $guard(true, {
|
|
148
|
-
path: _path + "",
|
|
149
|
-
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?\" | \":event.duration?\" | \":event.overlay?\" | \":event.props?\" | \":event.template?\" | \":file.replicate\" | \":file.restrictions\" | \":file.stats?\" | \":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?\" | \":monitor.stats?\" | \":panel\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.accepts\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":render.query?\" | \":render.result?\" | \":render.schedulers?\" | \":render.stats?\" | \":revs?\" | \":role.tags\" | \":script\" | \":script.children\" | \":script.content?\" | \":script.revision\" | \":script.revision?\" | \":script.revisions?\" | \":script.text?\" | \":script?\" | \":search?\" | \":settings\" | \":storyboard\" | \":storyboard.pipelines\" | \":subtitle\" | \":subtitle-style\" | \":template\" | \":user\" | \":user-notification\" | \":user-notification.readAt\" | \":user.latestSeenNotification\" | \":user.receivedNotifications?\" | \":user.unseenNotifications?\" | \"comment-reaction\" | \"comment-read-mark\")",
|
|
150
|
-
value: input
|
|
151
|
-
}, errorFactory);
|
|
152
|
-
})(input, "$input", true);
|
|
153
|
-
};
|
|
154
|
-
export const stringifyDomains = input => {
|
|
155
|
-
const $string = __typia.json.createStringify.string;
|
|
156
|
-
const $throws = __typia.json.createStringify.throws;
|
|
157
|
-
return (() => {
|
|
158
|
-
if ("string" === typeof input)
|
|
159
|
-
return $string(input);
|
|
160
|
-
if ("string" === typeof input)
|
|
161
|
-
return "\"" + input + "\"";
|
|
162
|
-
$throws({
|
|
163
|
-
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?\" | \":event.duration?\" | \":event.overlay?\" | \":event.props?\" | \":event.template?\" | \":file.replicate\" | \":file.restrictions\" | \":file.stats?\" | \":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?\" | \":monitor.stats?\" | \":panel\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.accepts\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":render.query?\" | \":render.result?\" | \":render.schedulers?\" | \":render.stats?\" | \":revs?\" | \":role.tags\" | \":script\" | \":script.children\" | \":script.content?\" | \":script.revision\" | \":script.revision?\" | \":script.revisions?\" | \":script.text?\" | \":script?\" | \":search?\" | \":settings\" | \":storyboard\" | \":storyboard.pipelines\" | \":subtitle\" | \":subtitle-style\" | \":template\" | \":user\" | \":user-notification\" | \":user-notification.readAt\" | \":user.latestSeenNotification\" | \":user.receivedNotifications?\" | \":user.unseenNotifications?\" | \"comment-reaction\" | \"comment-read-mark\")",
|
|
164
|
-
value: input
|
|
165
|
-
});
|
|
166
|
-
})();
|
|
167
|
-
};
|
|
168
|
-
export const assertStringifyDomains = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
169
|
-
const __is = input => {
|
|
170
|
-
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?", ":event.overlay?", ":event.template?", ":event.duration?", ":event.props?", ":file.replicate", ":file.restrictions", ":file.stats?", ":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?", ":monitor.stats?", ":panel", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":render.stats?", ":render.query?", ":render.result?", ":render.schedulers?", ":revs?", ":role.tags", ":script", ":script?", ":script.revisions?", ":script.revision", ":script.revision?", ":script.content?", ":script.text?", ":script.children", ":search?", ":settings", ":storyboard", ":storyboard.pipelines", ":subtitle-style", ":subtitle", ":template", ":_user-notification-status", ":user-notification", ":user-notification.readAt", ":user", ":user.latestSeenNotification", ":user.receivedNotifications?", ":user.unseenNotifications?"]);
|
|
171
|
-
return true === $iv1.has(input);
|
|
172
|
-
};
|
|
173
|
-
if (false === __is(input))
|
|
174
|
-
((input, _path, _exceptionable = true) => {
|
|
175
|
-
const $guard = __typia.json.createAssertStringify.guard;
|
|
176
|
-
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?", ":event.overlay?", ":event.template?", ":event.duration?", ":event.props?", ":file.replicate", ":file.restrictions", ":file.stats?", ":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?", ":monitor.stats?", ":panel", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":render.stats?", ":render.query?", ":render.result?", ":render.schedulers?", ":revs?", ":role.tags", ":script", ":script?", ":script.revisions?", ":script.revision", ":script.revision?", ":script.content?", ":script.text?", ":script.children", ":search?", ":settings", ":storyboard", ":storyboard.pipelines", ":subtitle-style", ":subtitle", ":template", ":_user-notification-status", ":user-notification", ":user-notification.readAt", ":user", ":user.latestSeenNotification", ":user.receivedNotifications?", ":user.unseenNotifications?"]);
|
|
177
|
-
return true === $av1.has(input) || $guard(true, {
|
|
178
|
-
path: _path + "",
|
|
179
|
-
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?\" | \":event.duration?\" | \":event.overlay?\" | \":event.props?\" | \":event.template?\" | \":file.replicate\" | \":file.restrictions\" | \":file.stats?\" | \":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?\" | \":monitor.stats?\" | \":panel\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.accepts\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":render.query?\" | \":render.result?\" | \":render.schedulers?\" | \":render.stats?\" | \":revs?\" | \":role.tags\" | \":script\" | \":script.children\" | \":script.content?\" | \":script.revision\" | \":script.revision?\" | \":script.revisions?\" | \":script.text?\" | \":script?\" | \":search?\" | \":settings\" | \":storyboard\" | \":storyboard.pipelines\" | \":subtitle\" | \":subtitle-style\" | \":template\" | \":user\" | \":user-notification\" | \":user-notification.readAt\" | \":user.latestSeenNotification\" | \":user.receivedNotifications?\" | \":user.unseenNotifications?\" | \"comment-reaction\" | \"comment-read-mark\")",
|
|
180
|
-
value: input
|
|
181
|
-
}, errorFactory);
|
|
182
|
-
})(input, "$input", true);
|
|
183
|
-
return input;
|
|
184
|
-
}; const stringify = input => {
|
|
185
|
-
const $string = __typia.json.createAssertStringify.string;
|
|
186
|
-
const $throws = __typia.json.createAssertStringify.throws;
|
|
187
|
-
return (() => {
|
|
188
|
-
if ("string" === typeof input)
|
|
189
|
-
return $string(input);
|
|
190
|
-
if ("string" === typeof input)
|
|
191
|
-
return "\"" + input + "\"";
|
|
192
|
-
$throws({
|
|
193
|
-
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?\" | \":event.duration?\" | \":event.overlay?\" | \":event.props?\" | \":event.template?\" | \":file.replicate\" | \":file.restrictions\" | \":file.stats?\" | \":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?\" | \":monitor.stats?\" | \":panel\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.accepts\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":render.query?\" | \":render.result?\" | \":render.schedulers?\" | \":render.stats?\" | \":revs?\" | \":role.tags\" | \":script\" | \":script.children\" | \":script.content?\" | \":script.revision\" | \":script.revision?\" | \":script.revisions?\" | \":script.text?\" | \":script?\" | \":search?\" | \":settings\" | \":storyboard\" | \":storyboard.pipelines\" | \":subtitle\" | \":subtitle-style\" | \":template\" | \":user\" | \":user-notification\" | \":user-notification.readAt\" | \":user.latestSeenNotification\" | \":user.receivedNotifications?\" | \":user.unseenNotifications?\" | \"comment-reaction\" | \"comment-read-mark\")",
|
|
194
|
-
value: input
|
|
195
|
-
});
|
|
196
|
-
})();
|
|
197
|
-
}; return stringify(assert(input, errorFactory)); };
|
|
198
|
-
export * from './nxtpression.js';
|
|
199
|
-
export const isFontFace = input => {
|
|
200
|
-
const $io0 = input => "string" === typeof input.name && "string" === typeof input.family && "string" === typeof input.asset && "string" === typeof input.url && "number" === typeof input.weight && ("italic" === input.style || "normal" === input.style) && (Array.isArray(input.ranges) && input.ranges.every(elem => Array.isArray(elem) && (elem.length === 2 && "number" === typeof elem[0] && "number" === typeof elem[1])));
|
|
201
|
-
return "object" === typeof input && null !== input && $io0(input);
|
|
202
|
-
};
|
|
203
|
-
export const assertFontFace = (input, errorFactory) => {
|
|
204
|
-
const __is = input => {
|
|
205
|
-
const $io0 = input => "string" === typeof input.name && "string" === typeof input.family && "string" === typeof input.asset && "string" === typeof input.url && "number" === typeof input.weight && ("italic" === input.style || "normal" === input.style) && (Array.isArray(input.ranges) && input.ranges.every(elem => Array.isArray(elem) && (elem.length === 2 && "number" === typeof elem[0] && "number" === typeof elem[1])));
|
|
206
|
-
return "object" === typeof input && null !== input && $io0(input);
|
|
207
|
-
};
|
|
208
|
-
if (false === __is(input))
|
|
209
|
-
((input, _path, _exceptionable = true) => {
|
|
210
|
-
const $guard = __typia.createAssert.guard;
|
|
211
|
-
const $ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.name || $guard(_exceptionable, {
|
|
212
|
-
path: _path + ".name",
|
|
213
|
-
expected: "string",
|
|
214
|
-
value: input.name
|
|
215
|
-
}, errorFactory)) && ("string" === typeof input.family || $guard(_exceptionable, {
|
|
216
|
-
path: _path + ".family",
|
|
217
|
-
expected: "string",
|
|
218
|
-
value: input.family
|
|
219
|
-
}, errorFactory)) && ("string" === typeof input.asset || $guard(_exceptionable, {
|
|
220
|
-
path: _path + ".asset",
|
|
221
|
-
expected: "string",
|
|
222
|
-
value: input.asset
|
|
223
|
-
}, errorFactory)) && ("string" === typeof input.url || $guard(_exceptionable, {
|
|
224
|
-
path: _path + ".url",
|
|
225
|
-
expected: "string",
|
|
226
|
-
value: input.url
|
|
227
|
-
}, errorFactory)) && ("number" === typeof input.weight || $guard(_exceptionable, {
|
|
228
|
-
path: _path + ".weight",
|
|
229
|
-
expected: "number",
|
|
230
|
-
value: input.weight
|
|
231
|
-
}, errorFactory)) && ("italic" === input.style || "normal" === input.style || $guard(_exceptionable, {
|
|
232
|
-
path: _path + ".style",
|
|
233
|
-
expected: "(\"italic\" | \"normal\")",
|
|
234
|
-
value: input.style
|
|
235
|
-
}, errorFactory)) && ((Array.isArray(input.ranges) || $guard(_exceptionable, {
|
|
236
|
-
path: _path + ".ranges",
|
|
237
|
-
expected: "Array<Range>",
|
|
238
|
-
value: input.ranges
|
|
239
|
-
}, errorFactory)) && input.ranges.every((elem, _index1) => (Array.isArray(elem) || $guard(_exceptionable, {
|
|
240
|
-
path: _path + ".ranges[" + _index1 + "]",
|
|
241
|
-
expected: "Range",
|
|
242
|
-
value: elem
|
|
243
|
-
}, errorFactory)) && ((elem.length === 2 || $guard(_exceptionable, {
|
|
244
|
-
path: _path + ".ranges[" + _index1 + "]",
|
|
245
|
-
expected: "[number, number]",
|
|
246
|
-
value: elem
|
|
247
|
-
}, errorFactory)) && ("number" === typeof elem[0] || $guard(_exceptionable, {
|
|
248
|
-
path: _path + ".ranges[" + _index1 + "][0]",
|
|
249
|
-
expected: "number",
|
|
250
|
-
value: elem[0]
|
|
251
|
-
}, errorFactory)) && ("number" === typeof elem[1] || $guard(_exceptionable, {
|
|
252
|
-
path: _path + ".ranges[" + _index1 + "][1]",
|
|
253
|
-
expected: "number",
|
|
254
|
-
value: elem[1]
|
|
255
|
-
}, errorFactory))) || $guard(_exceptionable, {
|
|
256
|
-
path: _path + ".ranges[" + _index1 + "]",
|
|
257
|
-
expected: "Range",
|
|
258
|
-
value: elem
|
|
259
|
-
}, errorFactory)) || $guard(_exceptionable, {
|
|
260
|
-
path: _path + ".ranges",
|
|
261
|
-
expected: "Array<Range>",
|
|
262
|
-
value: input.ranges
|
|
263
|
-
}, errorFactory));
|
|
264
|
-
return ("object" === typeof input && null !== input || $guard(true, {
|
|
265
|
-
path: _path + "",
|
|
266
|
-
expected: "FontFace",
|
|
267
|
-
value: input
|
|
268
|
-
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
269
|
-
path: _path + "",
|
|
270
|
-
expected: "FontFace",
|
|
271
|
-
value: input
|
|
272
|
-
}, errorFactory);
|
|
273
|
-
})(input, "$input", true);
|
|
274
|
-
return input;
|
|
275
|
-
};
|
|
276
|
-
export const randomFontFace = generator => {
|
|
277
|
-
const $generator = __typia.createRandom.generator;
|
|
278
|
-
const $pick = __typia.createRandom.pick;
|
|
279
|
-
const $ro0 = (_recursive = false, _depth = 0) => ({
|
|
280
|
-
name: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
|
|
281
|
-
family: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
|
|
282
|
-
asset: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
|
|
283
|
-
url: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
|
|
284
|
-
weight: (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100),
|
|
285
|
-
style: $pick([
|
|
286
|
-
() => "italic",
|
|
287
|
-
() => "normal"
|
|
288
|
-
])(),
|
|
289
|
-
ranges: (generator?.array ?? $generator.array)(() => [
|
|
290
|
-
(generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100),
|
|
291
|
-
(generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
292
|
-
])
|
|
293
|
-
});
|
|
294
|
-
return $ro0();
|
|
295
|
-
};
|
|
296
|
-
export const assertGuardFontFace = (input, errorFactory) => {
|
|
297
|
-
const __is = input => {
|
|
298
|
-
const $io0 = input => "string" === typeof input.name && "string" === typeof input.family && "string" === typeof input.asset && "string" === typeof input.url && "number" === typeof input.weight && ("italic" === input.style || "normal" === input.style) && (Array.isArray(input.ranges) && input.ranges.every(elem => Array.isArray(elem) && (elem.length === 2 && "number" === typeof elem[0] && "number" === typeof elem[1])));
|
|
299
|
-
return "object" === typeof input && null !== input && $io0(input);
|
|
300
|
-
};
|
|
301
|
-
if (false === __is(input))
|
|
302
|
-
((input, _path, _exceptionable = true) => {
|
|
303
|
-
const $guard = __typia.createAssertGuard.guard;
|
|
304
|
-
const $ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.name || $guard(_exceptionable, {
|
|
305
|
-
path: _path + ".name",
|
|
306
|
-
expected: "string",
|
|
307
|
-
value: input.name
|
|
308
|
-
}, errorFactory)) && ("string" === typeof input.family || $guard(_exceptionable, {
|
|
309
|
-
path: _path + ".family",
|
|
310
|
-
expected: "string",
|
|
311
|
-
value: input.family
|
|
312
|
-
}, errorFactory)) && ("string" === typeof input.asset || $guard(_exceptionable, {
|
|
313
|
-
path: _path + ".asset",
|
|
314
|
-
expected: "string",
|
|
315
|
-
value: input.asset
|
|
316
|
-
}, errorFactory)) && ("string" === typeof input.url || $guard(_exceptionable, {
|
|
317
|
-
path: _path + ".url",
|
|
318
|
-
expected: "string",
|
|
319
|
-
value: input.url
|
|
320
|
-
}, errorFactory)) && ("number" === typeof input.weight || $guard(_exceptionable, {
|
|
321
|
-
path: _path + ".weight",
|
|
322
|
-
expected: "number",
|
|
323
|
-
value: input.weight
|
|
324
|
-
}, errorFactory)) && ("italic" === input.style || "normal" === input.style || $guard(_exceptionable, {
|
|
325
|
-
path: _path + ".style",
|
|
326
|
-
expected: "(\"italic\" | \"normal\")",
|
|
327
|
-
value: input.style
|
|
328
|
-
}, errorFactory)) && ((Array.isArray(input.ranges) || $guard(_exceptionable, {
|
|
329
|
-
path: _path + ".ranges",
|
|
330
|
-
expected: "Array<Range>",
|
|
331
|
-
value: input.ranges
|
|
332
|
-
}, errorFactory)) && input.ranges.every((elem, _index1) => (Array.isArray(elem) || $guard(_exceptionable, {
|
|
333
|
-
path: _path + ".ranges[" + _index1 + "]",
|
|
334
|
-
expected: "Range",
|
|
335
|
-
value: elem
|
|
336
|
-
}, errorFactory)) && ((elem.length === 2 || $guard(_exceptionable, {
|
|
337
|
-
path: _path + ".ranges[" + _index1 + "]",
|
|
338
|
-
expected: "[number, number]",
|
|
339
|
-
value: elem
|
|
340
|
-
}, errorFactory)) && ("number" === typeof elem[0] || $guard(_exceptionable, {
|
|
341
|
-
path: _path + ".ranges[" + _index1 + "][0]",
|
|
342
|
-
expected: "number",
|
|
343
|
-
value: elem[0]
|
|
344
|
-
}, errorFactory)) && ("number" === typeof elem[1] || $guard(_exceptionable, {
|
|
345
|
-
path: _path + ".ranges[" + _index1 + "][1]",
|
|
346
|
-
expected: "number",
|
|
347
|
-
value: elem[1]
|
|
348
|
-
}, errorFactory))) || $guard(_exceptionable, {
|
|
349
|
-
path: _path + ".ranges[" + _index1 + "]",
|
|
350
|
-
expected: "Range",
|
|
351
|
-
value: elem
|
|
352
|
-
}, errorFactory)) || $guard(_exceptionable, {
|
|
353
|
-
path: _path + ".ranges",
|
|
354
|
-
expected: "Array<Range>",
|
|
355
|
-
value: input.ranges
|
|
356
|
-
}, errorFactory));
|
|
357
|
-
return ("object" === typeof input && null !== input || $guard(true, {
|
|
358
|
-
path: _path + "",
|
|
359
|
-
expected: "FontFace",
|
|
360
|
-
value: input
|
|
361
|
-
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
362
|
-
path: _path + "",
|
|
363
|
-
expected: "FontFace",
|
|
364
|
-
value: input
|
|
365
|
-
}, errorFactory);
|
|
366
|
-
})(input, "$input", true);
|
|
367
|
-
};
|
|
368
|
-
export const stringifyFontFace = input => {
|
|
369
|
-
const $string = __typia.json.createStringify.string;
|
|
370
|
-
const $throws = __typia.json.createStringify.throws;
|
|
371
|
-
const $so0 = input => `{"name":${$string(input.name)},"family":${$string(input.family)},"asset":${$string(input.asset)},"url":${$string(input.url)},"weight":${input.weight},"style":${(() => {
|
|
372
|
-
if ("string" === typeof input.style)
|
|
373
|
-
return $string(input.style);
|
|
374
|
-
if ("string" === typeof input.style)
|
|
375
|
-
return "\"" + input.style + "\"";
|
|
376
|
-
$throws({
|
|
377
|
-
expected: "(\"italic\" | \"normal\")",
|
|
378
|
-
value: input.style
|
|
379
|
-
});
|
|
380
|
-
})()},"ranges":${`[${input.ranges.map(elem => `[${elem[0]},${elem[1]}]`).join(",")}]`}}`;
|
|
381
|
-
return $so0(input);
|
|
382
|
-
};
|
|
383
|
-
export const assertStringifyFontFace = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
384
|
-
const __is = input => {
|
|
385
|
-
const $io0 = input => "string" === typeof input.name && "string" === typeof input.family && "string" === typeof input.asset && "string" === typeof input.url && ("number" === typeof input.weight && !Number.isNaN(input.weight)) && ("italic" === input.style || "normal" === input.style) && (Array.isArray(input.ranges) && input.ranges.every(elem => Array.isArray(elem) && (elem.length === 2 && ("number" === typeof elem[0] && !Number.isNaN(elem[0])) && ("number" === typeof elem[1] && !Number.isNaN(elem[1])))));
|
|
386
|
-
return "object" === typeof input && null !== input && $io0(input);
|
|
387
|
-
};
|
|
388
|
-
if (false === __is(input))
|
|
389
|
-
((input, _path, _exceptionable = true) => {
|
|
390
|
-
const $guard = __typia.json.createAssertStringify.guard;
|
|
391
|
-
const $ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.name || $guard(_exceptionable, {
|
|
392
|
-
path: _path + ".name",
|
|
393
|
-
expected: "string",
|
|
394
|
-
value: input.name
|
|
395
|
-
}, errorFactory)) && ("string" === typeof input.family || $guard(_exceptionable, {
|
|
396
|
-
path: _path + ".family",
|
|
397
|
-
expected: "string",
|
|
398
|
-
value: input.family
|
|
399
|
-
}, errorFactory)) && ("string" === typeof input.asset || $guard(_exceptionable, {
|
|
400
|
-
path: _path + ".asset",
|
|
401
|
-
expected: "string",
|
|
402
|
-
value: input.asset
|
|
403
|
-
}, errorFactory)) && ("string" === typeof input.url || $guard(_exceptionable, {
|
|
404
|
-
path: _path + ".url",
|
|
405
|
-
expected: "string",
|
|
406
|
-
value: input.url
|
|
407
|
-
}, errorFactory)) && ("number" === typeof input.weight && !Number.isNaN(input.weight) || $guard(_exceptionable, {
|
|
408
|
-
path: _path + ".weight",
|
|
409
|
-
expected: "number",
|
|
410
|
-
value: input.weight
|
|
411
|
-
}, errorFactory)) && ("italic" === input.style || "normal" === input.style || $guard(_exceptionable, {
|
|
412
|
-
path: _path + ".style",
|
|
413
|
-
expected: "(\"italic\" | \"normal\")",
|
|
414
|
-
value: input.style
|
|
415
|
-
}, errorFactory)) && ((Array.isArray(input.ranges) || $guard(_exceptionable, {
|
|
416
|
-
path: _path + ".ranges",
|
|
417
|
-
expected: "Array<Range>",
|
|
418
|
-
value: input.ranges
|
|
419
|
-
}, errorFactory)) && input.ranges.every((elem, _index1) => (Array.isArray(elem) || $guard(_exceptionable, {
|
|
420
|
-
path: _path + ".ranges[" + _index1 + "]",
|
|
421
|
-
expected: "Range",
|
|
422
|
-
value: elem
|
|
423
|
-
}, errorFactory)) && ((elem.length === 2 || $guard(_exceptionable, {
|
|
424
|
-
path: _path + ".ranges[" + _index1 + "]",
|
|
425
|
-
expected: "[number, number]",
|
|
426
|
-
value: elem
|
|
427
|
-
}, errorFactory)) && ("number" === typeof elem[0] && !Number.isNaN(elem[0]) || $guard(_exceptionable, {
|
|
428
|
-
path: _path + ".ranges[" + _index1 + "][0]",
|
|
429
|
-
expected: "number",
|
|
430
|
-
value: elem[0]
|
|
431
|
-
}, errorFactory)) && ("number" === typeof elem[1] && !Number.isNaN(elem[1]) || $guard(_exceptionable, {
|
|
432
|
-
path: _path + ".ranges[" + _index1 + "][1]",
|
|
433
|
-
expected: "number",
|
|
434
|
-
value: elem[1]
|
|
435
|
-
}, errorFactory))) || $guard(_exceptionable, {
|
|
436
|
-
path: _path + ".ranges[" + _index1 + "]",
|
|
437
|
-
expected: "Range",
|
|
438
|
-
value: elem
|
|
439
|
-
}, errorFactory)) || $guard(_exceptionable, {
|
|
440
|
-
path: _path + ".ranges",
|
|
441
|
-
expected: "Array<Range>",
|
|
442
|
-
value: input.ranges
|
|
443
|
-
}, errorFactory));
|
|
444
|
-
return ("object" === typeof input && null !== input || $guard(true, {
|
|
445
|
-
path: _path + "",
|
|
446
|
-
expected: "FontFace",
|
|
447
|
-
value: input
|
|
448
|
-
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
449
|
-
path: _path + "",
|
|
450
|
-
expected: "FontFace",
|
|
451
|
-
value: input
|
|
452
|
-
}, errorFactory);
|
|
453
|
-
})(input, "$input", true);
|
|
454
|
-
return input;
|
|
455
|
-
}; const stringify = input => {
|
|
456
|
-
const $string = __typia.json.createAssertStringify.string;
|
|
457
|
-
const $throws = __typia.json.createAssertStringify.throws;
|
|
458
|
-
const $so0 = input => `{"name":${$string(input.name)},"family":${$string(input.family)},"asset":${$string(input.asset)},"url":${$string(input.url)},"weight":${input.weight},"style":${(() => {
|
|
459
|
-
if ("string" === typeof input.style)
|
|
460
|
-
return $string(input.style);
|
|
461
|
-
if ("string" === typeof input.style)
|
|
462
|
-
return "\"" + input.style + "\"";
|
|
463
|
-
$throws({
|
|
464
|
-
expected: "(\"italic\" | \"normal\")",
|
|
465
|
-
value: input.style
|
|
466
|
-
});
|
|
467
|
-
})()},"ranges":${`[${input.ranges.map(elem => `[${elem[0]},${elem[1]}]`).join(",")}]`}}`;
|
|
468
|
-
return $so0(input);
|
|
469
|
-
}; return stringify(assert(input, errorFactory)); };
|
|
1
|
+
export * from "./common/index.js";
|
|
2
|
+
export * from "./app.js";
|
|
3
|
+
export * from "./rpc.js";
|
|
4
|
+
export * from "./records/index.js";
|
|
5
|
+
export * from "./nxtpression.js";
|