@nxtedition/types 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +62 -0
- package/dist/common/block.d.ts +25 -0
- package/dist/common/block.js +571 -0
- package/dist/common/index.d.ts +32 -0
- package/dist/common/index.js +565 -0
- package/dist/common/lock.d.ts +12 -0
- package/dist/common/lock.js +152 -0
- package/dist/common/settings.d.ts +150 -0
- package/dist/common/settings.js +2642 -0
- package/dist/domains/asset.d.ts +23 -0
- package/dist/domains/asset.js +225 -0
- package/dist/domains/connection.d.ts +62 -0
- package/dist/domains/connection.js +1167 -0
- package/dist/domains/event.d.ts +18 -0
- package/dist/domains/event.js +165 -0
- package/dist/domains/general.d.ts +23 -0
- package/dist/domains/general.js +225 -0
- package/dist/domains/index.d.ts +25 -0
- package/dist/domains/index.js +12 -0
- package/dist/domains/media.d.ts +32 -0
- package/dist/domains/media.js +465 -0
- package/dist/domains/permission.d.ts +24 -0
- package/dist/domains/permission.js +375 -0
- package/dist/domains/publish.d.ts +213 -0
- package/dist/domains/publish.js +9664 -0
- package/dist/domains/role.d.ts +13 -0
- package/dist/domains/role.js +119 -0
- package/dist/domains/script.d.ts +13 -0
- package/dist/domains/script.js +125 -0
- package/dist/domains/search.d.ts +13 -0
- package/dist/domains/search.js +119 -0
- package/dist/domains/settings.d.ts +13 -0
- package/dist/domains/settings.js +2765 -0
- package/dist/domains/template.d.ts +23 -0
- package/dist/domains/template.js +372 -0
- package/dist/index.d.ts +24 -0
- package/dist/index.js +2 -0
- package/package.json +34 -0
|
@@ -0,0 +1,2642 @@
|
|
|
1
|
+
import __typia from "typia";
|
|
2
|
+
export const isSettings = input => {
|
|
3
|
+
const $io0 = input => (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io1(input.module)) && ("object" === typeof input.browser && null !== input.browser && $io5(input.browser)) && ("object" === typeof input.toolbarTags && null !== input.toolbarTags && $io7(input.toolbarTags)) && ("object" === typeof input.deadlines && null !== input.deadlines && $io8(input.deadlines)) && ("object" === typeof input.assignees && null !== input.assignees && $io9(input.assignees)) && ("object" === typeof input.clock && null !== input.clock && $io10(input.clock)) && ("object" === typeof input.swarm && null !== input.swarm && "string" === typeof input.swarm.color) && ("object" === typeof input.dashboard && null !== input.dashboard && ("number" === typeof input.dashboard.maxMru && "number" === typeof input.dashboard.maxTabs)) && ("object" === typeof input.script && null !== input.script && $io13(input.script)) && ("object" === typeof input.rundown && null !== input.rundown && "boolean" === typeof input.rundown.eventThumbnails) && ("object" === typeof input.gallery && null !== input.gallery && "boolean" === typeof input.gallery.dimOnBlur) && "boolean" === typeof input.history && true && ("object" === typeof input.media && null !== input.media && $io17(input.media)) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && ("object" === typeof input.storyboard && null !== input.storyboard && $io26(input.storyboard)) && ("object" === typeof input.plugins && null !== input.plugins && $io33(input.plugins)) && "boolean" === typeof input.crashScreen && "boolean" === typeof input.debug && ("object" === typeof input.flags && null !== input.flags && ("boolean" === typeof input.flags.utils && "boolean" === typeof input.flags.history && "boolean" === typeof input.flags.refs && "boolean" === typeof input.flags.access && "boolean" === typeof input.flags.files && "boolean" === typeof input.flags["export"] && "boolean" === typeof input.flags.json && "boolean" === typeof input.flags.hlsjs));
|
|
4
|
+
const $io1 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io2(input.tabs);
|
|
5
|
+
const $io2 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && $io3(input.settingsPanelStore)) && Object.keys(input).every(key => {
|
|
6
|
+
if (["settingsPanelStore"].some(prop => key === prop))
|
|
7
|
+
return true;
|
|
8
|
+
const value = input[key];
|
|
9
|
+
if (undefined === value)
|
|
10
|
+
return true;
|
|
11
|
+
return "object" === typeof value && null !== value && "string" === typeof value.activeTab;
|
|
12
|
+
});
|
|
13
|
+
const $io3 = input => "string" === typeof input.activeTab && (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex);
|
|
14
|
+
const $io5 = input => "object" === typeof input.createMenu && null !== input.createMenu && $io6(input.createMenu);
|
|
15
|
+
const $io6 = input => Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem);
|
|
16
|
+
const $io7 = input => Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem);
|
|
17
|
+
const $io8 = input => Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
18
|
+
const $io9 = input => Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
19
|
+
const $io10 = input => "boolean" === typeof input.enable && "boolean" === typeof input.show24Hours && "boolean" === typeof input.showAmPm && "boolean" === typeof input.showSeconds && "boolean" === typeof input.showDayOfWeek && "boolean" === typeof input.showDate && (undefined === input.format || "string" === typeof input.format);
|
|
20
|
+
const $io13 = input => "object" === typeof input.createMenu && null !== input.createMenu && "boolean" === typeof input.createMenu.showPreview;
|
|
21
|
+
const $io17 = input => (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io18(input.guide)) && "number" === typeof input.stepManyFrames && "number" === typeof input.liveZoomDuration && "string" === typeof input.importTitleTemplate && ("object" === typeof input.tile && null !== input.tile && ("string" === typeof input.tile.preview && "boolean" === typeof input.tile.showRenderProgress)) && "string" === typeof input.timecodeReference && "number" === typeof input.maxSubclipDuration && "number" === typeof input.rewindStep && "number" === typeof input.forwardStep && "string" === typeof input.interlacedPlayback && (Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && ("object" === typeof input.subtitles && null !== input.subtitles && ("number" === typeof input.subtitles.spacing && "number" === typeof input.subtitles.maxCharactersPerLine)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && "string" === typeof input.initialVolume && (Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io21(elem))) && "boolean" === typeof input.download && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io22(input.transcribe));
|
|
22
|
+
const $io18 = input => undefined === input.mask || "boolean" === typeof input.mask;
|
|
23
|
+
const $io21 = input => "string" === typeof input.label && "string" === typeof input.aspectRatio;
|
|
24
|
+
const $io22 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && $io23(input.subtitleDisclaimer);
|
|
25
|
+
const $io23 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io24(input.defaultValue));
|
|
26
|
+
const $io24 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io25(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
|
|
27
|
+
const $io25 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
28
|
+
const $io26 = input => "object" === typeof input.assets && null !== input.assets && $io27(input.assets) && ("object" === typeof input.pipeline && null !== input.pipeline && $io30(input.pipeline)) && ("object" === typeof input.item && null !== input.item && "number" === typeof input.item.maxHeight);
|
|
29
|
+
const $io27 = input => "object" === typeof input.story && null !== input.story && $io28(input.story);
|
|
30
|
+
const $io28 = input => "object" === typeof input.excerpt && null !== input.excerpt && ("number" === typeof input.excerpt.maxLines && "string" === typeof input.excerpt.mode);
|
|
31
|
+
const $io30 = input => "object" === typeof input.search && null !== input.search && "number" === typeof input.search.maxItemsDisplayed;
|
|
32
|
+
const $io33 = input => "object" === typeof input.adobe && null !== input.adobe && "boolean" === typeof input.adobe.useProxies;
|
|
33
|
+
return "object" === typeof input && null !== input && $io0(input);
|
|
34
|
+
};
|
|
35
|
+
export const assertSettings = (input, errorFactory) => {
|
|
36
|
+
const __is = input => {
|
|
37
|
+
const $io0 = input => (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io1(input.module)) && ("object" === typeof input.browser && null !== input.browser && $io5(input.browser)) && ("object" === typeof input.toolbarTags && null !== input.toolbarTags && $io7(input.toolbarTags)) && ("object" === typeof input.deadlines && null !== input.deadlines && $io8(input.deadlines)) && ("object" === typeof input.assignees && null !== input.assignees && $io9(input.assignees)) && ("object" === typeof input.clock && null !== input.clock && $io10(input.clock)) && ("object" === typeof input.swarm && null !== input.swarm && "string" === typeof input.swarm.color) && ("object" === typeof input.dashboard && null !== input.dashboard && ("number" === typeof input.dashboard.maxMru && "number" === typeof input.dashboard.maxTabs)) && ("object" === typeof input.script && null !== input.script && $io13(input.script)) && ("object" === typeof input.rundown && null !== input.rundown && "boolean" === typeof input.rundown.eventThumbnails) && ("object" === typeof input.gallery && null !== input.gallery && "boolean" === typeof input.gallery.dimOnBlur) && "boolean" === typeof input.history && true && ("object" === typeof input.media && null !== input.media && $io17(input.media)) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && ("object" === typeof input.storyboard && null !== input.storyboard && $io26(input.storyboard)) && ("object" === typeof input.plugins && null !== input.plugins && $io33(input.plugins)) && "boolean" === typeof input.crashScreen && "boolean" === typeof input.debug && ("object" === typeof input.flags && null !== input.flags && ("boolean" === typeof input.flags.utils && "boolean" === typeof input.flags.history && "boolean" === typeof input.flags.refs && "boolean" === typeof input.flags.access && "boolean" === typeof input.flags.files && "boolean" === typeof input.flags["export"] && "boolean" === typeof input.flags.json && "boolean" === typeof input.flags.hlsjs));
|
|
38
|
+
const $io1 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io2(input.tabs);
|
|
39
|
+
const $io2 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && $io3(input.settingsPanelStore)) && Object.keys(input).every(key => {
|
|
40
|
+
if (["settingsPanelStore"].some(prop => key === prop))
|
|
41
|
+
return true;
|
|
42
|
+
const value = input[key];
|
|
43
|
+
if (undefined === value)
|
|
44
|
+
return true;
|
|
45
|
+
return "object" === typeof value && null !== value && "string" === typeof value.activeTab;
|
|
46
|
+
});
|
|
47
|
+
const $io3 = input => "string" === typeof input.activeTab && (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex);
|
|
48
|
+
const $io5 = input => "object" === typeof input.createMenu && null !== input.createMenu && $io6(input.createMenu);
|
|
49
|
+
const $io6 = input => Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem);
|
|
50
|
+
const $io7 = input => Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem);
|
|
51
|
+
const $io8 = input => Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
52
|
+
const $io9 = input => Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
53
|
+
const $io10 = input => "boolean" === typeof input.enable && "boolean" === typeof input.show24Hours && "boolean" === typeof input.showAmPm && "boolean" === typeof input.showSeconds && "boolean" === typeof input.showDayOfWeek && "boolean" === typeof input.showDate && (undefined === input.format || "string" === typeof input.format);
|
|
54
|
+
const $io13 = input => "object" === typeof input.createMenu && null !== input.createMenu && "boolean" === typeof input.createMenu.showPreview;
|
|
55
|
+
const $io17 = input => (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io18(input.guide)) && "number" === typeof input.stepManyFrames && "number" === typeof input.liveZoomDuration && "string" === typeof input.importTitleTemplate && ("object" === typeof input.tile && null !== input.tile && ("string" === typeof input.tile.preview && "boolean" === typeof input.tile.showRenderProgress)) && "string" === typeof input.timecodeReference && "number" === typeof input.maxSubclipDuration && "number" === typeof input.rewindStep && "number" === typeof input.forwardStep && "string" === typeof input.interlacedPlayback && (Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && ("object" === typeof input.subtitles && null !== input.subtitles && ("number" === typeof input.subtitles.spacing && "number" === typeof input.subtitles.maxCharactersPerLine)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && "string" === typeof input.initialVolume && (Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io21(elem))) && "boolean" === typeof input.download && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io22(input.transcribe));
|
|
56
|
+
const $io18 = input => undefined === input.mask || "boolean" === typeof input.mask;
|
|
57
|
+
const $io21 = input => "string" === typeof input.label && "string" === typeof input.aspectRatio;
|
|
58
|
+
const $io22 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && $io23(input.subtitleDisclaimer);
|
|
59
|
+
const $io23 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io24(input.defaultValue));
|
|
60
|
+
const $io24 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io25(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
|
|
61
|
+
const $io25 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
62
|
+
const $io26 = input => "object" === typeof input.assets && null !== input.assets && $io27(input.assets) && ("object" === typeof input.pipeline && null !== input.pipeline && $io30(input.pipeline)) && ("object" === typeof input.item && null !== input.item && "number" === typeof input.item.maxHeight);
|
|
63
|
+
const $io27 = input => "object" === typeof input.story && null !== input.story && $io28(input.story);
|
|
64
|
+
const $io28 = input => "object" === typeof input.excerpt && null !== input.excerpt && ("number" === typeof input.excerpt.maxLines && "string" === typeof input.excerpt.mode);
|
|
65
|
+
const $io30 = input => "object" === typeof input.search && null !== input.search && "number" === typeof input.search.maxItemsDisplayed;
|
|
66
|
+
const $io33 = input => "object" === typeof input.adobe && null !== input.adobe && "boolean" === typeof input.adobe.useProxies;
|
|
67
|
+
return "object" === typeof input && null !== input && $io0(input);
|
|
68
|
+
};
|
|
69
|
+
if (false === __is(input))
|
|
70
|
+
((input, _path, _exceptionable = true) => {
|
|
71
|
+
const $guard = __typia.createAssert.guard;
|
|
72
|
+
const $join = __typia.createAssert.join;
|
|
73
|
+
const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.module || ("object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) || $guard(_exceptionable, {
|
|
74
|
+
path: _path + ".module",
|
|
75
|
+
expected: "(__type | undefined)",
|
|
76
|
+
value: input.module
|
|
77
|
+
}, errorFactory)) && $ao1(input.module, _path + ".module", true && _exceptionable) || $guard(_exceptionable, {
|
|
78
|
+
path: _path + ".module",
|
|
79
|
+
expected: "(__type | undefined)",
|
|
80
|
+
value: input.module
|
|
81
|
+
}, errorFactory)) && (("object" === typeof input.browser && null !== input.browser || $guard(_exceptionable, {
|
|
82
|
+
path: _path + ".browser",
|
|
83
|
+
expected: "__type.o1",
|
|
84
|
+
value: input.browser
|
|
85
|
+
}, errorFactory)) && $ao5(input.browser, _path + ".browser", true && _exceptionable) || $guard(_exceptionable, {
|
|
86
|
+
path: _path + ".browser",
|
|
87
|
+
expected: "__type.o1",
|
|
88
|
+
value: input.browser
|
|
89
|
+
}, errorFactory)) && (("object" === typeof input.toolbarTags && null !== input.toolbarTags || $guard(_exceptionable, {
|
|
90
|
+
path: _path + ".toolbarTags",
|
|
91
|
+
expected: "__type.o3",
|
|
92
|
+
value: input.toolbarTags
|
|
93
|
+
}, errorFactory)) && $ao7(input.toolbarTags, _path + ".toolbarTags", true && _exceptionable) || $guard(_exceptionable, {
|
|
94
|
+
path: _path + ".toolbarTags",
|
|
95
|
+
expected: "__type.o3",
|
|
96
|
+
value: input.toolbarTags
|
|
97
|
+
}, errorFactory)) && (("object" === typeof input.deadlines && null !== input.deadlines || $guard(_exceptionable, {
|
|
98
|
+
path: _path + ".deadlines",
|
|
99
|
+
expected: "__type.o4",
|
|
100
|
+
value: input.deadlines
|
|
101
|
+
}, errorFactory)) && $ao8(input.deadlines, _path + ".deadlines", true && _exceptionable) || $guard(_exceptionable, {
|
|
102
|
+
path: _path + ".deadlines",
|
|
103
|
+
expected: "__type.o4",
|
|
104
|
+
value: input.deadlines
|
|
105
|
+
}, errorFactory)) && (("object" === typeof input.assignees && null !== input.assignees || $guard(_exceptionable, {
|
|
106
|
+
path: _path + ".assignees",
|
|
107
|
+
expected: "__type.o5",
|
|
108
|
+
value: input.assignees
|
|
109
|
+
}, errorFactory)) && $ao9(input.assignees, _path + ".assignees", true && _exceptionable) || $guard(_exceptionable, {
|
|
110
|
+
path: _path + ".assignees",
|
|
111
|
+
expected: "__type.o5",
|
|
112
|
+
value: input.assignees
|
|
113
|
+
}, errorFactory)) && (("object" === typeof input.clock && null !== input.clock || $guard(_exceptionable, {
|
|
114
|
+
path: _path + ".clock",
|
|
115
|
+
expected: "__type.o6",
|
|
116
|
+
value: input.clock
|
|
117
|
+
}, errorFactory)) && $ao10(input.clock, _path + ".clock", true && _exceptionable) || $guard(_exceptionable, {
|
|
118
|
+
path: _path + ".clock",
|
|
119
|
+
expected: "__type.o6",
|
|
120
|
+
value: input.clock
|
|
121
|
+
}, errorFactory)) && (("object" === typeof input.swarm && null !== input.swarm || $guard(_exceptionable, {
|
|
122
|
+
path: _path + ".swarm",
|
|
123
|
+
expected: "__type.o7",
|
|
124
|
+
value: input.swarm
|
|
125
|
+
}, errorFactory)) && $ao11(input.swarm, _path + ".swarm", true && _exceptionable) || $guard(_exceptionable, {
|
|
126
|
+
path: _path + ".swarm",
|
|
127
|
+
expected: "__type.o7",
|
|
128
|
+
value: input.swarm
|
|
129
|
+
}, errorFactory)) && (("object" === typeof input.dashboard && null !== input.dashboard || $guard(_exceptionable, {
|
|
130
|
+
path: _path + ".dashboard",
|
|
131
|
+
expected: "__type.o8",
|
|
132
|
+
value: input.dashboard
|
|
133
|
+
}, errorFactory)) && $ao12(input.dashboard, _path + ".dashboard", true && _exceptionable) || $guard(_exceptionable, {
|
|
134
|
+
path: _path + ".dashboard",
|
|
135
|
+
expected: "__type.o8",
|
|
136
|
+
value: input.dashboard
|
|
137
|
+
}, errorFactory)) && (("object" === typeof input.script && null !== input.script || $guard(_exceptionable, {
|
|
138
|
+
path: _path + ".script",
|
|
139
|
+
expected: "__type.o9",
|
|
140
|
+
value: input.script
|
|
141
|
+
}, errorFactory)) && $ao13(input.script, _path + ".script", true && _exceptionable) || $guard(_exceptionable, {
|
|
142
|
+
path: _path + ".script",
|
|
143
|
+
expected: "__type.o9",
|
|
144
|
+
value: input.script
|
|
145
|
+
}, errorFactory)) && (("object" === typeof input.rundown && null !== input.rundown || $guard(_exceptionable, {
|
|
146
|
+
path: _path + ".rundown",
|
|
147
|
+
expected: "__type.o11",
|
|
148
|
+
value: input.rundown
|
|
149
|
+
}, errorFactory)) && $ao15(input.rundown, _path + ".rundown", true && _exceptionable) || $guard(_exceptionable, {
|
|
150
|
+
path: _path + ".rundown",
|
|
151
|
+
expected: "__type.o11",
|
|
152
|
+
value: input.rundown
|
|
153
|
+
}, errorFactory)) && (("object" === typeof input.gallery && null !== input.gallery || $guard(_exceptionable, {
|
|
154
|
+
path: _path + ".gallery",
|
|
155
|
+
expected: "__type.o12",
|
|
156
|
+
value: input.gallery
|
|
157
|
+
}, errorFactory)) && $ao16(input.gallery, _path + ".gallery", true && _exceptionable) || $guard(_exceptionable, {
|
|
158
|
+
path: _path + ".gallery",
|
|
159
|
+
expected: "__type.o12",
|
|
160
|
+
value: input.gallery
|
|
161
|
+
}, errorFactory)) && ("boolean" === typeof input.history || $guard(_exceptionable, {
|
|
162
|
+
path: _path + ".history",
|
|
163
|
+
expected: "boolean",
|
|
164
|
+
value: input.history
|
|
165
|
+
}, errorFactory)) && true && (("object" === typeof input.media && null !== input.media || $guard(_exceptionable, {
|
|
166
|
+
path: _path + ".media",
|
|
167
|
+
expected: "__type.o13",
|
|
168
|
+
value: input.media
|
|
169
|
+
}, errorFactory)) && $ao17(input.media, _path + ".media", true && _exceptionable) || $guard(_exceptionable, {
|
|
170
|
+
path: _path + ".media",
|
|
171
|
+
expected: "__type.o13",
|
|
172
|
+
value: input.media
|
|
173
|
+
}, errorFactory)) && (undefined === input.predefinedTags || (Array.isArray(input.predefinedTags) || $guard(_exceptionable, {
|
|
174
|
+
path: _path + ".predefinedTags",
|
|
175
|
+
expected: "(Array<string> | undefined)",
|
|
176
|
+
value: input.predefinedTags
|
|
177
|
+
}, errorFactory)) && input.predefinedTags.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
|
|
178
|
+
path: _path + ".predefinedTags[" + _index1 + "]",
|
|
179
|
+
expected: "string",
|
|
180
|
+
value: elem
|
|
181
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
182
|
+
path: _path + ".predefinedTags",
|
|
183
|
+
expected: "(Array<string> | undefined)",
|
|
184
|
+
value: input.predefinedTags
|
|
185
|
+
}, errorFactory)) && (("object" === typeof input.storyboard && null !== input.storyboard || $guard(_exceptionable, {
|
|
186
|
+
path: _path + ".storyboard",
|
|
187
|
+
expected: "__type.o22",
|
|
188
|
+
value: input.storyboard
|
|
189
|
+
}, errorFactory)) && $ao26(input.storyboard, _path + ".storyboard", true && _exceptionable) || $guard(_exceptionable, {
|
|
190
|
+
path: _path + ".storyboard",
|
|
191
|
+
expected: "__type.o22",
|
|
192
|
+
value: input.storyboard
|
|
193
|
+
}, errorFactory)) && (("object" === typeof input.plugins && null !== input.plugins || $guard(_exceptionable, {
|
|
194
|
+
path: _path + ".plugins",
|
|
195
|
+
expected: "__type.o29",
|
|
196
|
+
value: input.plugins
|
|
197
|
+
}, errorFactory)) && $ao33(input.plugins, _path + ".plugins", true && _exceptionable) || $guard(_exceptionable, {
|
|
198
|
+
path: _path + ".plugins",
|
|
199
|
+
expected: "__type.o29",
|
|
200
|
+
value: input.plugins
|
|
201
|
+
}, errorFactory)) && ("boolean" === typeof input.crashScreen || $guard(_exceptionable, {
|
|
202
|
+
path: _path + ".crashScreen",
|
|
203
|
+
expected: "boolean",
|
|
204
|
+
value: input.crashScreen
|
|
205
|
+
}, errorFactory)) && ("boolean" === typeof input.debug || $guard(_exceptionable, {
|
|
206
|
+
path: _path + ".debug",
|
|
207
|
+
expected: "boolean",
|
|
208
|
+
value: input.debug
|
|
209
|
+
}, errorFactory)) && (("object" === typeof input.flags && null !== input.flags || $guard(_exceptionable, {
|
|
210
|
+
path: _path + ".flags",
|
|
211
|
+
expected: "__type.o31",
|
|
212
|
+
value: input.flags
|
|
213
|
+
}, errorFactory)) && $ao35(input.flags, _path + ".flags", true && _exceptionable) || $guard(_exceptionable, {
|
|
214
|
+
path: _path + ".flags",
|
|
215
|
+
expected: "__type.o31",
|
|
216
|
+
value: input.flags
|
|
217
|
+
}, errorFactory));
|
|
218
|
+
const $ao1 = (input, _path, _exceptionable = true) => undefined === input.tabs || ("object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) || $guard(_exceptionable, {
|
|
219
|
+
path: _path + ".tabs",
|
|
220
|
+
expected: "(Record<string, ModuleTabsSettingsValue> & { settingsPanelStore?: (ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }) | undefined; } | undefined)",
|
|
221
|
+
value: input.tabs
|
|
222
|
+
}, errorFactory)) && $ao2(input.tabs, _path + ".tabs", true && _exceptionable) || $guard(_exceptionable, {
|
|
223
|
+
path: _path + ".tabs",
|
|
224
|
+
expected: "(Record<string, ModuleTabsSettingsValue> & { settingsPanelStore?: (ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }) | undefined; } | undefined)",
|
|
225
|
+
value: input.tabs
|
|
226
|
+
}, errorFactory);
|
|
227
|
+
const $ao2 = (input, _path, _exceptionable = true) => (undefined === input.settingsPanelStore || ("object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore || $guard(_exceptionable, {
|
|
228
|
+
path: _path + ".settingsPanelStore",
|
|
229
|
+
expected: "(ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; } | undefined)",
|
|
230
|
+
value: input.settingsPanelStore
|
|
231
|
+
}, errorFactory)) && $ao3(input.settingsPanelStore, _path + ".settingsPanelStore", true && _exceptionable) || $guard(_exceptionable, {
|
|
232
|
+
path: _path + ".settingsPanelStore",
|
|
233
|
+
expected: "(ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; } | undefined)",
|
|
234
|
+
value: input.settingsPanelStore
|
|
235
|
+
}, errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
|
|
236
|
+
if (["settingsPanelStore"].some(prop => key === prop))
|
|
237
|
+
return true;
|
|
238
|
+
const value = input[key];
|
|
239
|
+
if (undefined === value)
|
|
240
|
+
return true;
|
|
241
|
+
return ("object" === typeof value && null !== value || $guard(_exceptionable, {
|
|
242
|
+
path: _path + $join(key),
|
|
243
|
+
expected: "ModuleTabsSettingsValue",
|
|
244
|
+
value: value
|
|
245
|
+
}, errorFactory)) && $ao4(value, _path + $join(key), true && _exceptionable) || $guard(_exceptionable, {
|
|
246
|
+
path: _path + $join(key),
|
|
247
|
+
expected: "ModuleTabsSettingsValue",
|
|
248
|
+
value: value
|
|
249
|
+
}, errorFactory);
|
|
250
|
+
}));
|
|
251
|
+
const $ao3 = (input, _path, _exceptionable = true) => ("string" === typeof input.activeTab || $guard(_exceptionable, {
|
|
252
|
+
path: _path + ".activeTab",
|
|
253
|
+
expected: "string",
|
|
254
|
+
value: input.activeTab
|
|
255
|
+
}, errorFactory)) && (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex || $guard(_exceptionable, {
|
|
256
|
+
path: _path + ".activeSectionIndex",
|
|
257
|
+
expected: "(number | undefined)",
|
|
258
|
+
value: input.activeSectionIndex
|
|
259
|
+
}, errorFactory));
|
|
260
|
+
const $ao4 = (input, _path, _exceptionable = true) => "string" === typeof input.activeTab || $guard(_exceptionable, {
|
|
261
|
+
path: _path + ".activeTab",
|
|
262
|
+
expected: "string",
|
|
263
|
+
value: input.activeTab
|
|
264
|
+
}, errorFactory);
|
|
265
|
+
const $ao5 = (input, _path, _exceptionable = true) => ("object" === typeof input.createMenu && null !== input.createMenu || $guard(_exceptionable, {
|
|
266
|
+
path: _path + ".createMenu",
|
|
267
|
+
expected: "__type.o2",
|
|
268
|
+
value: input.createMenu
|
|
269
|
+
}, errorFactory)) && $ao6(input.createMenu, _path + ".createMenu", true && _exceptionable) || $guard(_exceptionable, {
|
|
270
|
+
path: _path + ".createMenu",
|
|
271
|
+
expected: "__type.o2",
|
|
272
|
+
value: input.createMenu
|
|
273
|
+
}, errorFactory);
|
|
274
|
+
const $ao6 = (input, _path, _exceptionable = true) => (Array.isArray(input.sortOrder) || $guard(_exceptionable, {
|
|
275
|
+
path: _path + ".sortOrder",
|
|
276
|
+
expected: "Array<string>",
|
|
277
|
+
value: input.sortOrder
|
|
278
|
+
}, errorFactory)) && input.sortOrder.every((elem, _index2) => "string" === typeof elem || $guard(_exceptionable, {
|
|
279
|
+
path: _path + ".sortOrder[" + _index2 + "]",
|
|
280
|
+
expected: "string",
|
|
281
|
+
value: elem
|
|
282
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
283
|
+
path: _path + ".sortOrder",
|
|
284
|
+
expected: "Array<string>",
|
|
285
|
+
value: input.sortOrder
|
|
286
|
+
}, errorFactory);
|
|
287
|
+
const $ao7 = (input, _path, _exceptionable = true) => (Array.isArray(input.exclude) || $guard(_exceptionable, {
|
|
288
|
+
path: _path + ".exclude",
|
|
289
|
+
expected: "Array<string>",
|
|
290
|
+
value: input.exclude
|
|
291
|
+
}, errorFactory)) && input.exclude.every((elem, _index3) => "string" === typeof elem || $guard(_exceptionable, {
|
|
292
|
+
path: _path + ".exclude[" + _index3 + "]",
|
|
293
|
+
expected: "string",
|
|
294
|
+
value: elem
|
|
295
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
296
|
+
path: _path + ".exclude",
|
|
297
|
+
expected: "Array<string>",
|
|
298
|
+
value: input.exclude
|
|
299
|
+
}, errorFactory);
|
|
300
|
+
const $ao8 = (input, _path, _exceptionable = true) => (Array.isArray(input.include) || $guard(_exceptionable, {
|
|
301
|
+
path: _path + ".include",
|
|
302
|
+
expected: "Array<string>",
|
|
303
|
+
value: input.include
|
|
304
|
+
}, errorFactory)) && input.include.every((elem, _index4) => "string" === typeof elem || $guard(_exceptionable, {
|
|
305
|
+
path: _path + ".include[" + _index4 + "]",
|
|
306
|
+
expected: "string",
|
|
307
|
+
value: elem
|
|
308
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
309
|
+
path: _path + ".include",
|
|
310
|
+
expected: "Array<string>",
|
|
311
|
+
value: input.include
|
|
312
|
+
}, errorFactory);
|
|
313
|
+
const $ao9 = (input, _path, _exceptionable = true) => (Array.isArray(input.include) || $guard(_exceptionable, {
|
|
314
|
+
path: _path + ".include",
|
|
315
|
+
expected: "Array<string>",
|
|
316
|
+
value: input.include
|
|
317
|
+
}, errorFactory)) && input.include.every((elem, _index5) => "string" === typeof elem || $guard(_exceptionable, {
|
|
318
|
+
path: _path + ".include[" + _index5 + "]",
|
|
319
|
+
expected: "string",
|
|
320
|
+
value: elem
|
|
321
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
322
|
+
path: _path + ".include",
|
|
323
|
+
expected: "Array<string>",
|
|
324
|
+
value: input.include
|
|
325
|
+
}, errorFactory);
|
|
326
|
+
const $ao10 = (input, _path, _exceptionable = true) => ("boolean" === typeof input.enable || $guard(_exceptionable, {
|
|
327
|
+
path: _path + ".enable",
|
|
328
|
+
expected: "boolean",
|
|
329
|
+
value: input.enable
|
|
330
|
+
}, errorFactory)) && ("boolean" === typeof input.show24Hours || $guard(_exceptionable, {
|
|
331
|
+
path: _path + ".show24Hours",
|
|
332
|
+
expected: "boolean",
|
|
333
|
+
value: input.show24Hours
|
|
334
|
+
}, errorFactory)) && ("boolean" === typeof input.showAmPm || $guard(_exceptionable, {
|
|
335
|
+
path: _path + ".showAmPm",
|
|
336
|
+
expected: "boolean",
|
|
337
|
+
value: input.showAmPm
|
|
338
|
+
}, errorFactory)) && ("boolean" === typeof input.showSeconds || $guard(_exceptionable, {
|
|
339
|
+
path: _path + ".showSeconds",
|
|
340
|
+
expected: "boolean",
|
|
341
|
+
value: input.showSeconds
|
|
342
|
+
}, errorFactory)) && ("boolean" === typeof input.showDayOfWeek || $guard(_exceptionable, {
|
|
343
|
+
path: _path + ".showDayOfWeek",
|
|
344
|
+
expected: "boolean",
|
|
345
|
+
value: input.showDayOfWeek
|
|
346
|
+
}, errorFactory)) && ("boolean" === typeof input.showDate || $guard(_exceptionable, {
|
|
347
|
+
path: _path + ".showDate",
|
|
348
|
+
expected: "boolean",
|
|
349
|
+
value: input.showDate
|
|
350
|
+
}, errorFactory)) && (undefined === input.format || "string" === typeof input.format || $guard(_exceptionable, {
|
|
351
|
+
path: _path + ".format",
|
|
352
|
+
expected: "(string | undefined)",
|
|
353
|
+
value: input.format
|
|
354
|
+
}, errorFactory));
|
|
355
|
+
const $ao11 = (input, _path, _exceptionable = true) => "string" === typeof input.color || $guard(_exceptionable, {
|
|
356
|
+
path: _path + ".color",
|
|
357
|
+
expected: "string",
|
|
358
|
+
value: input.color
|
|
359
|
+
}, errorFactory);
|
|
360
|
+
const $ao12 = (input, _path, _exceptionable = true) => ("number" === typeof input.maxMru || $guard(_exceptionable, {
|
|
361
|
+
path: _path + ".maxMru",
|
|
362
|
+
expected: "number",
|
|
363
|
+
value: input.maxMru
|
|
364
|
+
}, errorFactory)) && ("number" === typeof input.maxTabs || $guard(_exceptionable, {
|
|
365
|
+
path: _path + ".maxTabs",
|
|
366
|
+
expected: "number",
|
|
367
|
+
value: input.maxTabs
|
|
368
|
+
}, errorFactory));
|
|
369
|
+
const $ao13 = (input, _path, _exceptionable = true) => ("object" === typeof input.createMenu && null !== input.createMenu || $guard(_exceptionable, {
|
|
370
|
+
path: _path + ".createMenu",
|
|
371
|
+
expected: "__type.o10",
|
|
372
|
+
value: input.createMenu
|
|
373
|
+
}, errorFactory)) && $ao14(input.createMenu, _path + ".createMenu", true && _exceptionable) || $guard(_exceptionable, {
|
|
374
|
+
path: _path + ".createMenu",
|
|
375
|
+
expected: "__type.o10",
|
|
376
|
+
value: input.createMenu
|
|
377
|
+
}, errorFactory);
|
|
378
|
+
const $ao14 = (input, _path, _exceptionable = true) => "boolean" === typeof input.showPreview || $guard(_exceptionable, {
|
|
379
|
+
path: _path + ".showPreview",
|
|
380
|
+
expected: "boolean",
|
|
381
|
+
value: input.showPreview
|
|
382
|
+
}, errorFactory);
|
|
383
|
+
const $ao15 = (input, _path, _exceptionable = true) => "boolean" === typeof input.eventThumbnails || $guard(_exceptionable, {
|
|
384
|
+
path: _path + ".eventThumbnails",
|
|
385
|
+
expected: "boolean",
|
|
386
|
+
value: input.eventThumbnails
|
|
387
|
+
}, errorFactory);
|
|
388
|
+
const $ao16 = (input, _path, _exceptionable = true) => "boolean" === typeof input.dimOnBlur || $guard(_exceptionable, {
|
|
389
|
+
path: _path + ".dimOnBlur",
|
|
390
|
+
expected: "boolean",
|
|
391
|
+
value: input.dimOnBlur
|
|
392
|
+
}, errorFactory);
|
|
393
|
+
const $ao17 = (input, _path, _exceptionable = true) => (undefined === input.guide || ("object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) || $guard(_exceptionable, {
|
|
394
|
+
path: _path + ".guide",
|
|
395
|
+
expected: "(__type.o14 | undefined)",
|
|
396
|
+
value: input.guide
|
|
397
|
+
}, errorFactory)) && $ao18(input.guide, _path + ".guide", true && _exceptionable) || $guard(_exceptionable, {
|
|
398
|
+
path: _path + ".guide",
|
|
399
|
+
expected: "(__type.o14 | undefined)",
|
|
400
|
+
value: input.guide
|
|
401
|
+
}, errorFactory)) && ("number" === typeof input.stepManyFrames || $guard(_exceptionable, {
|
|
402
|
+
path: _path + ".stepManyFrames",
|
|
403
|
+
expected: "number",
|
|
404
|
+
value: input.stepManyFrames
|
|
405
|
+
}, errorFactory)) && ("number" === typeof input.liveZoomDuration || $guard(_exceptionable, {
|
|
406
|
+
path: _path + ".liveZoomDuration",
|
|
407
|
+
expected: "number",
|
|
408
|
+
value: input.liveZoomDuration
|
|
409
|
+
}, errorFactory)) && ("string" === typeof input.importTitleTemplate || $guard(_exceptionable, {
|
|
410
|
+
path: _path + ".importTitleTemplate",
|
|
411
|
+
expected: "string",
|
|
412
|
+
value: input.importTitleTemplate
|
|
413
|
+
}, errorFactory)) && (("object" === typeof input.tile && null !== input.tile || $guard(_exceptionable, {
|
|
414
|
+
path: _path + ".tile",
|
|
415
|
+
expected: "__type.o15",
|
|
416
|
+
value: input.tile
|
|
417
|
+
}, errorFactory)) && $ao19(input.tile, _path + ".tile", true && _exceptionable) || $guard(_exceptionable, {
|
|
418
|
+
path: _path + ".tile",
|
|
419
|
+
expected: "__type.o15",
|
|
420
|
+
value: input.tile
|
|
421
|
+
}, errorFactory)) && ("string" === typeof input.timecodeReference || $guard(_exceptionable, {
|
|
422
|
+
path: _path + ".timecodeReference",
|
|
423
|
+
expected: "string",
|
|
424
|
+
value: input.timecodeReference
|
|
425
|
+
}, errorFactory)) && ("number" === typeof input.maxSubclipDuration || $guard(_exceptionable, {
|
|
426
|
+
path: _path + ".maxSubclipDuration",
|
|
427
|
+
expected: "number",
|
|
428
|
+
value: input.maxSubclipDuration
|
|
429
|
+
}, errorFactory)) && ("number" === typeof input.rewindStep || $guard(_exceptionable, {
|
|
430
|
+
path: _path + ".rewindStep",
|
|
431
|
+
expected: "number",
|
|
432
|
+
value: input.rewindStep
|
|
433
|
+
}, errorFactory)) && ("number" === typeof input.forwardStep || $guard(_exceptionable, {
|
|
434
|
+
path: _path + ".forwardStep",
|
|
435
|
+
expected: "number",
|
|
436
|
+
value: input.forwardStep
|
|
437
|
+
}, errorFactory)) && ("string" === typeof input.interlacedPlayback || $guard(_exceptionable, {
|
|
438
|
+
path: _path + ".interlacedPlayback",
|
|
439
|
+
expected: "string",
|
|
440
|
+
value: input.interlacedPlayback
|
|
441
|
+
}, errorFactory)) && ((Array.isArray(input.playbackRates) || $guard(_exceptionable, {
|
|
442
|
+
path: _path + ".playbackRates",
|
|
443
|
+
expected: "Array<number>",
|
|
444
|
+
value: input.playbackRates
|
|
445
|
+
}, errorFactory)) && input.playbackRates.every((elem, _index6) => "number" === typeof elem || $guard(_exceptionable, {
|
|
446
|
+
path: _path + ".playbackRates[" + _index6 + "]",
|
|
447
|
+
expected: "number",
|
|
448
|
+
value: elem
|
|
449
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
450
|
+
path: _path + ".playbackRates",
|
|
451
|
+
expected: "Array<number>",
|
|
452
|
+
value: input.playbackRates
|
|
453
|
+
}, errorFactory)) && (("object" === typeof input.subtitles && null !== input.subtitles || $guard(_exceptionable, {
|
|
454
|
+
path: _path + ".subtitles",
|
|
455
|
+
expected: "__type.o16",
|
|
456
|
+
value: input.subtitles
|
|
457
|
+
}, errorFactory)) && $ao20(input.subtitles, _path + ".subtitles", true && _exceptionable) || $guard(_exceptionable, {
|
|
458
|
+
path: _path + ".subtitles",
|
|
459
|
+
expected: "__type.o16",
|
|
460
|
+
value: input.subtitles
|
|
461
|
+
}, errorFactory)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId || $guard(_exceptionable, {
|
|
462
|
+
path: _path + ".subtitleTemplateId",
|
|
463
|
+
expected: "(string | undefined)",
|
|
464
|
+
value: input.subtitleTemplateId
|
|
465
|
+
}, errorFactory)) && ("string" === typeof input.initialVolume || $guard(_exceptionable, {
|
|
466
|
+
path: _path + ".initialVolume",
|
|
467
|
+
expected: "string",
|
|
468
|
+
value: input.initialVolume
|
|
469
|
+
}, errorFactory)) && ((Array.isArray(input.guides) || $guard(_exceptionable, {
|
|
470
|
+
path: _path + ".guides",
|
|
471
|
+
expected: "Array<__type>",
|
|
472
|
+
value: input.guides
|
|
473
|
+
}, errorFactory)) && input.guides.every((elem, _index7) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
474
|
+
path: _path + ".guides[" + _index7 + "]",
|
|
475
|
+
expected: "__type.o17",
|
|
476
|
+
value: elem
|
|
477
|
+
}, errorFactory)) && $ao21(elem, _path + ".guides[" + _index7 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
478
|
+
path: _path + ".guides[" + _index7 + "]",
|
|
479
|
+
expected: "__type.o17",
|
|
480
|
+
value: elem
|
|
481
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
482
|
+
path: _path + ".guides",
|
|
483
|
+
expected: "Array<__type>",
|
|
484
|
+
value: input.guides
|
|
485
|
+
}, errorFactory)) && ("boolean" === typeof input.download || $guard(_exceptionable, {
|
|
486
|
+
path: _path + ".download",
|
|
487
|
+
expected: "boolean",
|
|
488
|
+
value: input.download
|
|
489
|
+
}, errorFactory)) && (undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) || $guard(_exceptionable, {
|
|
490
|
+
path: _path + ".transcribe",
|
|
491
|
+
expected: "(__type.o18 | undefined)",
|
|
492
|
+
value: input.transcribe
|
|
493
|
+
}, errorFactory)) && $ao22(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
|
|
494
|
+
path: _path + ".transcribe",
|
|
495
|
+
expected: "(__type.o18 | undefined)",
|
|
496
|
+
value: input.transcribe
|
|
497
|
+
}, errorFactory));
|
|
498
|
+
const $ao18 = (input, _path, _exceptionable = true) => undefined === input.mask || "boolean" === typeof input.mask || $guard(_exceptionable, {
|
|
499
|
+
path: _path + ".mask",
|
|
500
|
+
expected: "(boolean | undefined)",
|
|
501
|
+
value: input.mask
|
|
502
|
+
}, errorFactory);
|
|
503
|
+
const $ao19 = (input, _path, _exceptionable = true) => ("string" === typeof input.preview || $guard(_exceptionable, {
|
|
504
|
+
path: _path + ".preview",
|
|
505
|
+
expected: "string",
|
|
506
|
+
value: input.preview
|
|
507
|
+
}, errorFactory)) && ("boolean" === typeof input.showRenderProgress || $guard(_exceptionable, {
|
|
508
|
+
path: _path + ".showRenderProgress",
|
|
509
|
+
expected: "boolean",
|
|
510
|
+
value: input.showRenderProgress
|
|
511
|
+
}, errorFactory));
|
|
512
|
+
const $ao20 = (input, _path, _exceptionable = true) => ("number" === typeof input.spacing || $guard(_exceptionable, {
|
|
513
|
+
path: _path + ".spacing",
|
|
514
|
+
expected: "number",
|
|
515
|
+
value: input.spacing
|
|
516
|
+
}, errorFactory)) && ("number" === typeof input.maxCharactersPerLine || $guard(_exceptionable, {
|
|
517
|
+
path: _path + ".maxCharactersPerLine",
|
|
518
|
+
expected: "number",
|
|
519
|
+
value: input.maxCharactersPerLine
|
|
520
|
+
}, errorFactory));
|
|
521
|
+
const $ao21 = (input, _path, _exceptionable = true) => ("string" === typeof input.label || $guard(_exceptionable, {
|
|
522
|
+
path: _path + ".label",
|
|
523
|
+
expected: "string",
|
|
524
|
+
value: input.label
|
|
525
|
+
}, errorFactory)) && ("string" === typeof input.aspectRatio || $guard(_exceptionable, {
|
|
526
|
+
path: _path + ".aspectRatio",
|
|
527
|
+
expected: "string",
|
|
528
|
+
value: input.aspectRatio
|
|
529
|
+
}, errorFactory));
|
|
530
|
+
const $ao22 = (input, _path, _exceptionable = true) => undefined === input.subtitleDisclaimer || ("object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) || $guard(_exceptionable, {
|
|
531
|
+
path: _path + ".subtitleDisclaimer",
|
|
532
|
+
expected: "(__type.o19 | undefined)",
|
|
533
|
+
value: input.subtitleDisclaimer
|
|
534
|
+
}, errorFactory)) && $ao23(input.subtitleDisclaimer, _path + ".subtitleDisclaimer", true && _exceptionable) || $guard(_exceptionable, {
|
|
535
|
+
path: _path + ".subtitleDisclaimer",
|
|
536
|
+
expected: "(__type.o19 | undefined)",
|
|
537
|
+
value: input.subtitleDisclaimer
|
|
538
|
+
}, errorFactory);
|
|
539
|
+
const $ao23 = (input, _path, _exceptionable = true) => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable || $guard(_exceptionable, {
|
|
540
|
+
path: _path + ".isUserConfigurable",
|
|
541
|
+
expected: "(boolean | undefined)",
|
|
542
|
+
value: input.isUserConfigurable
|
|
543
|
+
}, errorFactory)) && (undefined === input.defaultValue || ("object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) || $guard(_exceptionable, {
|
|
544
|
+
path: _path + ".defaultValue",
|
|
545
|
+
expected: "(__type.o20 | undefined)",
|
|
546
|
+
value: input.defaultValue
|
|
547
|
+
}, errorFactory)) && $ao24(input.defaultValue, _path + ".defaultValue", true && _exceptionable) || $guard(_exceptionable, {
|
|
548
|
+
path: _path + ".defaultValue",
|
|
549
|
+
expected: "(__type.o20 | undefined)",
|
|
550
|
+
value: input.defaultValue
|
|
551
|
+
}, errorFactory));
|
|
552
|
+
const $ao24 = (input, _path, _exceptionable = true) => (undefined === input.enabled || false === input.enabled || $guard(_exceptionable, {
|
|
553
|
+
path: _path + ".enabled",
|
|
554
|
+
expected: "(false | undefined)",
|
|
555
|
+
value: input.enabled
|
|
556
|
+
}, errorFactory)) && (undefined === input.text || (Array.isArray(input.text) || $guard(_exceptionable, {
|
|
557
|
+
path: _path + ".text",
|
|
558
|
+
expected: "(Array<__type>.o1 | undefined)",
|
|
559
|
+
value: input.text
|
|
560
|
+
}, errorFactory)) && input.text.every((elem, _index8) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
561
|
+
path: _path + ".text[" + _index8 + "]",
|
|
562
|
+
expected: "__type.o21",
|
|
563
|
+
value: elem
|
|
564
|
+
}, errorFactory)) && $ao25(elem, _path + ".text[" + _index8 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
565
|
+
path: _path + ".text[" + _index8 + "]",
|
|
566
|
+
expected: "__type.o21",
|
|
567
|
+
value: elem
|
|
568
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
569
|
+
path: _path + ".text",
|
|
570
|
+
expected: "(Array<__type>.o1 | undefined)",
|
|
571
|
+
value: input.text
|
|
572
|
+
}, errorFactory)) && (undefined === input.offset || "number" === typeof input.offset || $guard(_exceptionable, {
|
|
573
|
+
path: _path + ".offset",
|
|
574
|
+
expected: "(number | undefined)",
|
|
575
|
+
value: input.offset
|
|
576
|
+
}, errorFactory)) && (undefined === input.duration || "number" === typeof input.duration || $guard(_exceptionable, {
|
|
577
|
+
path: _path + ".duration",
|
|
578
|
+
expected: "(number | undefined)",
|
|
579
|
+
value: input.duration
|
|
580
|
+
}, errorFactory));
|
|
581
|
+
const $ao25 = (input, _path, _exceptionable = true) => ("string" === typeof input.language || $guard(_exceptionable, {
|
|
582
|
+
path: _path + ".language",
|
|
583
|
+
expected: "string",
|
|
584
|
+
value: input.language
|
|
585
|
+
}, errorFactory)) && ("string" === typeof input.value || $guard(_exceptionable, {
|
|
586
|
+
path: _path + ".value",
|
|
587
|
+
expected: "string",
|
|
588
|
+
value: input.value
|
|
589
|
+
}, errorFactory));
|
|
590
|
+
const $ao26 = (input, _path, _exceptionable = true) => (("object" === typeof input.assets && null !== input.assets || $guard(_exceptionable, {
|
|
591
|
+
path: _path + ".assets",
|
|
592
|
+
expected: "__type.o23",
|
|
593
|
+
value: input.assets
|
|
594
|
+
}, errorFactory)) && $ao27(input.assets, _path + ".assets", true && _exceptionable) || $guard(_exceptionable, {
|
|
595
|
+
path: _path + ".assets",
|
|
596
|
+
expected: "__type.o23",
|
|
597
|
+
value: input.assets
|
|
598
|
+
}, errorFactory)) && (("object" === typeof input.pipeline && null !== input.pipeline || $guard(_exceptionable, {
|
|
599
|
+
path: _path + ".pipeline",
|
|
600
|
+
expected: "__type.o26",
|
|
601
|
+
value: input.pipeline
|
|
602
|
+
}, errorFactory)) && $ao30(input.pipeline, _path + ".pipeline", true && _exceptionable) || $guard(_exceptionable, {
|
|
603
|
+
path: _path + ".pipeline",
|
|
604
|
+
expected: "__type.o26",
|
|
605
|
+
value: input.pipeline
|
|
606
|
+
}, errorFactory)) && (("object" === typeof input.item && null !== input.item || $guard(_exceptionable, {
|
|
607
|
+
path: _path + ".item",
|
|
608
|
+
expected: "__type.o28",
|
|
609
|
+
value: input.item
|
|
610
|
+
}, errorFactory)) && $ao32(input.item, _path + ".item", true && _exceptionable) || $guard(_exceptionable, {
|
|
611
|
+
path: _path + ".item",
|
|
612
|
+
expected: "__type.o28",
|
|
613
|
+
value: input.item
|
|
614
|
+
}, errorFactory));
|
|
615
|
+
const $ao27 = (input, _path, _exceptionable = true) => ("object" === typeof input.story && null !== input.story || $guard(_exceptionable, {
|
|
616
|
+
path: _path + ".story",
|
|
617
|
+
expected: "__type.o24",
|
|
618
|
+
value: input.story
|
|
619
|
+
}, errorFactory)) && $ao28(input.story, _path + ".story", true && _exceptionable) || $guard(_exceptionable, {
|
|
620
|
+
path: _path + ".story",
|
|
621
|
+
expected: "__type.o24",
|
|
622
|
+
value: input.story
|
|
623
|
+
}, errorFactory);
|
|
624
|
+
const $ao28 = (input, _path, _exceptionable = true) => ("object" === typeof input.excerpt && null !== input.excerpt || $guard(_exceptionable, {
|
|
625
|
+
path: _path + ".excerpt",
|
|
626
|
+
expected: "__type.o25",
|
|
627
|
+
value: input.excerpt
|
|
628
|
+
}, errorFactory)) && $ao29(input.excerpt, _path + ".excerpt", true && _exceptionable) || $guard(_exceptionable, {
|
|
629
|
+
path: _path + ".excerpt",
|
|
630
|
+
expected: "__type.o25",
|
|
631
|
+
value: input.excerpt
|
|
632
|
+
}, errorFactory);
|
|
633
|
+
const $ao29 = (input, _path, _exceptionable = true) => ("number" === typeof input.maxLines || $guard(_exceptionable, {
|
|
634
|
+
path: _path + ".maxLines",
|
|
635
|
+
expected: "number",
|
|
636
|
+
value: input.maxLines
|
|
637
|
+
}, errorFactory)) && ("string" === typeof input.mode || $guard(_exceptionable, {
|
|
638
|
+
path: _path + ".mode",
|
|
639
|
+
expected: "string",
|
|
640
|
+
value: input.mode
|
|
641
|
+
}, errorFactory));
|
|
642
|
+
const $ao30 = (input, _path, _exceptionable = true) => ("object" === typeof input.search && null !== input.search || $guard(_exceptionable, {
|
|
643
|
+
path: _path + ".search",
|
|
644
|
+
expected: "__type.o27",
|
|
645
|
+
value: input.search
|
|
646
|
+
}, errorFactory)) && $ao31(input.search, _path + ".search", true && _exceptionable) || $guard(_exceptionable, {
|
|
647
|
+
path: _path + ".search",
|
|
648
|
+
expected: "__type.o27",
|
|
649
|
+
value: input.search
|
|
650
|
+
}, errorFactory);
|
|
651
|
+
const $ao31 = (input, _path, _exceptionable = true) => "number" === typeof input.maxItemsDisplayed || $guard(_exceptionable, {
|
|
652
|
+
path: _path + ".maxItemsDisplayed",
|
|
653
|
+
expected: "number",
|
|
654
|
+
value: input.maxItemsDisplayed
|
|
655
|
+
}, errorFactory);
|
|
656
|
+
const $ao32 = (input, _path, _exceptionable = true) => "number" === typeof input.maxHeight || $guard(_exceptionable, {
|
|
657
|
+
path: _path + ".maxHeight",
|
|
658
|
+
expected: "number",
|
|
659
|
+
value: input.maxHeight
|
|
660
|
+
}, errorFactory);
|
|
661
|
+
const $ao33 = (input, _path, _exceptionable = true) => ("object" === typeof input.adobe && null !== input.adobe || $guard(_exceptionable, {
|
|
662
|
+
path: _path + ".adobe",
|
|
663
|
+
expected: "__type.o30",
|
|
664
|
+
value: input.adobe
|
|
665
|
+
}, errorFactory)) && $ao34(input.adobe, _path + ".adobe", true && _exceptionable) || $guard(_exceptionable, {
|
|
666
|
+
path: _path + ".adobe",
|
|
667
|
+
expected: "__type.o30",
|
|
668
|
+
value: input.adobe
|
|
669
|
+
}, errorFactory);
|
|
670
|
+
const $ao34 = (input, _path, _exceptionable = true) => "boolean" === typeof input.useProxies || $guard(_exceptionable, {
|
|
671
|
+
path: _path + ".useProxies",
|
|
672
|
+
expected: "boolean",
|
|
673
|
+
value: input.useProxies
|
|
674
|
+
}, errorFactory);
|
|
675
|
+
const $ao35 = (input, _path, _exceptionable = true) => ("boolean" === typeof input.utils || $guard(_exceptionable, {
|
|
676
|
+
path: _path + ".utils",
|
|
677
|
+
expected: "boolean",
|
|
678
|
+
value: input.utils
|
|
679
|
+
}, errorFactory)) && ("boolean" === typeof input.history || $guard(_exceptionable, {
|
|
680
|
+
path: _path + ".history",
|
|
681
|
+
expected: "boolean",
|
|
682
|
+
value: input.history
|
|
683
|
+
}, errorFactory)) && ("boolean" === typeof input.refs || $guard(_exceptionable, {
|
|
684
|
+
path: _path + ".refs",
|
|
685
|
+
expected: "boolean",
|
|
686
|
+
value: input.refs
|
|
687
|
+
}, errorFactory)) && ("boolean" === typeof input.access || $guard(_exceptionable, {
|
|
688
|
+
path: _path + ".access",
|
|
689
|
+
expected: "boolean",
|
|
690
|
+
value: input.access
|
|
691
|
+
}, errorFactory)) && ("boolean" === typeof input.files || $guard(_exceptionable, {
|
|
692
|
+
path: _path + ".files",
|
|
693
|
+
expected: "boolean",
|
|
694
|
+
value: input.files
|
|
695
|
+
}, errorFactory)) && ("boolean" === typeof input["export"] || $guard(_exceptionable, {
|
|
696
|
+
path: _path + "[\"export\"]",
|
|
697
|
+
expected: "boolean",
|
|
698
|
+
value: input["export"]
|
|
699
|
+
}, errorFactory)) && ("boolean" === typeof input.json || $guard(_exceptionable, {
|
|
700
|
+
path: _path + ".json",
|
|
701
|
+
expected: "boolean",
|
|
702
|
+
value: input.json
|
|
703
|
+
}, errorFactory)) && ("boolean" === typeof input.hlsjs || $guard(_exceptionable, {
|
|
704
|
+
path: _path + ".hlsjs",
|
|
705
|
+
expected: "boolean",
|
|
706
|
+
value: input.hlsjs
|
|
707
|
+
}, errorFactory));
|
|
708
|
+
return ("object" === typeof input && null !== input || $guard(true, {
|
|
709
|
+
path: _path + "",
|
|
710
|
+
expected: "Settings",
|
|
711
|
+
value: input
|
|
712
|
+
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
713
|
+
path: _path + "",
|
|
714
|
+
expected: "Settings",
|
|
715
|
+
value: input
|
|
716
|
+
}, errorFactory);
|
|
717
|
+
})(input, "$input", true);
|
|
718
|
+
return input;
|
|
719
|
+
};
|
|
720
|
+
export const randomSettings = generator => {
|
|
721
|
+
const $pick = __typia.createRandom.pick;
|
|
722
|
+
const $generator = __typia.createRandom.generator;
|
|
723
|
+
const $ro0 = (_recursive = false, _depth = 0) => ({
|
|
724
|
+
module: $pick([
|
|
725
|
+
() => undefined,
|
|
726
|
+
() => $ro1(_recursive, _recursive ? 1 + _depth : _depth)
|
|
727
|
+
])(),
|
|
728
|
+
browser: $ro5(_recursive, _recursive ? 1 + _depth : _depth),
|
|
729
|
+
toolbarTags: $ro7(_recursive, _recursive ? 1 + _depth : _depth),
|
|
730
|
+
deadlines: $ro8(_recursive, _recursive ? 1 + _depth : _depth),
|
|
731
|
+
assignees: $ro9(_recursive, _recursive ? 1 + _depth : _depth),
|
|
732
|
+
clock: $ro10(_recursive, _recursive ? 1 + _depth : _depth),
|
|
733
|
+
swarm: $ro11(_recursive, _recursive ? 1 + _depth : _depth),
|
|
734
|
+
dashboard: $ro12(_recursive, _recursive ? 1 + _depth : _depth),
|
|
735
|
+
script: $ro13(_recursive, _recursive ? 1 + _depth : _depth),
|
|
736
|
+
rundown: $ro15(_recursive, _recursive ? 1 + _depth : _depth),
|
|
737
|
+
gallery: $ro16(_recursive, _recursive ? 1 + _depth : _depth),
|
|
738
|
+
history: (generator?.boolean ?? $generator.boolean)(),
|
|
739
|
+
keymap: "any type used...",
|
|
740
|
+
media: $ro17(_recursive, _recursive ? 1 + _depth : _depth),
|
|
741
|
+
predefinedTags: $pick([
|
|
742
|
+
() => undefined,
|
|
743
|
+
() => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
|
|
744
|
+
])(),
|
|
745
|
+
storyboard: $ro26(_recursive, _recursive ? 1 + _depth : _depth),
|
|
746
|
+
plugins: $ro33(_recursive, _recursive ? 1 + _depth : _depth),
|
|
747
|
+
crashScreen: (generator?.boolean ?? $generator.boolean)(),
|
|
748
|
+
debug: (generator?.boolean ?? $generator.boolean)(),
|
|
749
|
+
flags: $ro35(_recursive, _recursive ? 1 + _depth : _depth)
|
|
750
|
+
});
|
|
751
|
+
const $ro1 = (_recursive = false, _depth = 0) => ({
|
|
752
|
+
tabs: $pick([
|
|
753
|
+
() => undefined,
|
|
754
|
+
() => $ro2(_recursive, _recursive ? 1 + _depth : _depth)
|
|
755
|
+
])()
|
|
756
|
+
});
|
|
757
|
+
const $ro2 = (_recursive = false, _depth = 0) => {
|
|
758
|
+
const output = {
|
|
759
|
+
settingsPanelStore: $pick([
|
|
760
|
+
() => undefined,
|
|
761
|
+
() => $ro3(_recursive, _recursive ? 1 + _depth : _depth)
|
|
762
|
+
])()
|
|
763
|
+
};
|
|
764
|
+
(generator?.array ?? $generator.array)(() => output[(generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()] = $ro4(_recursive, _recursive ? 1 + _depth : _depth), (generator?.integer ?? $generator.integer)(0, 3));
|
|
765
|
+
return output;
|
|
766
|
+
};
|
|
767
|
+
const $ro3 = (_recursive = false, _depth = 0) => ({
|
|
768
|
+
activeTab: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
|
|
769
|
+
activeSectionIndex: $pick([
|
|
770
|
+
() => undefined,
|
|
771
|
+
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
772
|
+
])()
|
|
773
|
+
});
|
|
774
|
+
const $ro4 = (_recursive = false, _depth = 0) => ({
|
|
775
|
+
activeTab: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
776
|
+
});
|
|
777
|
+
const $ro5 = (_recursive = false, _depth = 0) => ({
|
|
778
|
+
createMenu: $ro6(_recursive, _recursive ? 1 + _depth : _depth)
|
|
779
|
+
});
|
|
780
|
+
const $ro6 = (_recursive = false, _depth = 0) => ({
|
|
781
|
+
sortOrder: (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
|
|
782
|
+
});
|
|
783
|
+
const $ro7 = (_recursive = false, _depth = 0) => ({
|
|
784
|
+
exclude: (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
|
|
785
|
+
});
|
|
786
|
+
const $ro8 = (_recursive = false, _depth = 0) => ({
|
|
787
|
+
include: (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
|
|
788
|
+
});
|
|
789
|
+
const $ro9 = (_recursive = false, _depth = 0) => ({
|
|
790
|
+
include: (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
|
|
791
|
+
});
|
|
792
|
+
const $ro10 = (_recursive = false, _depth = 0) => ({
|
|
793
|
+
enable: (generator?.boolean ?? $generator.boolean)(),
|
|
794
|
+
show24Hours: (generator?.boolean ?? $generator.boolean)(),
|
|
795
|
+
showAmPm: (generator?.boolean ?? $generator.boolean)(),
|
|
796
|
+
showSeconds: (generator?.boolean ?? $generator.boolean)(),
|
|
797
|
+
showDayOfWeek: (generator?.boolean ?? $generator.boolean)(),
|
|
798
|
+
showDate: (generator?.boolean ?? $generator.boolean)(),
|
|
799
|
+
format: $pick([
|
|
800
|
+
() => undefined,
|
|
801
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
802
|
+
])()
|
|
803
|
+
});
|
|
804
|
+
const $ro11 = (_recursive = false, _depth = 0) => ({
|
|
805
|
+
color: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
806
|
+
});
|
|
807
|
+
const $ro12 = (_recursive = false, _depth = 0) => ({
|
|
808
|
+
maxMru: (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100),
|
|
809
|
+
maxTabs: (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
810
|
+
});
|
|
811
|
+
const $ro13 = (_recursive = false, _depth = 0) => ({
|
|
812
|
+
createMenu: $ro14(_recursive, _recursive ? 1 + _depth : _depth)
|
|
813
|
+
});
|
|
814
|
+
const $ro14 = (_recursive = false, _depth = 0) => ({
|
|
815
|
+
showPreview: (generator?.boolean ?? $generator.boolean)()
|
|
816
|
+
});
|
|
817
|
+
const $ro15 = (_recursive = false, _depth = 0) => ({
|
|
818
|
+
eventThumbnails: (generator?.boolean ?? $generator.boolean)()
|
|
819
|
+
});
|
|
820
|
+
const $ro16 = (_recursive = false, _depth = 0) => ({
|
|
821
|
+
dimOnBlur: (generator?.boolean ?? $generator.boolean)()
|
|
822
|
+
});
|
|
823
|
+
const $ro17 = (_recursive = false, _depth = 0) => ({
|
|
824
|
+
guide: $pick([
|
|
825
|
+
() => undefined,
|
|
826
|
+
() => $ro18(_recursive, _recursive ? 1 + _depth : _depth)
|
|
827
|
+
])(),
|
|
828
|
+
stepManyFrames: (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100),
|
|
829
|
+
liveZoomDuration: (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100),
|
|
830
|
+
importTitleTemplate: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
|
|
831
|
+
tile: $ro19(_recursive, _recursive ? 1 + _depth : _depth),
|
|
832
|
+
timecodeReference: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
|
|
833
|
+
maxSubclipDuration: (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100),
|
|
834
|
+
rewindStep: (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100),
|
|
835
|
+
forwardStep: (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100),
|
|
836
|
+
interlacedPlayback: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
|
|
837
|
+
playbackRates: (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)),
|
|
838
|
+
subtitles: $ro20(_recursive, _recursive ? 1 + _depth : _depth),
|
|
839
|
+
subtitleTemplateId: $pick([
|
|
840
|
+
() => undefined,
|
|
841
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
842
|
+
])(),
|
|
843
|
+
initialVolume: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
|
|
844
|
+
guides: (generator?.array ?? $generator.array)(() => $ro21(_recursive, _recursive ? 1 + _depth : _depth)),
|
|
845
|
+
download: (generator?.boolean ?? $generator.boolean)(),
|
|
846
|
+
transcribe: $pick([
|
|
847
|
+
() => undefined,
|
|
848
|
+
() => $ro22(_recursive, _recursive ? 1 + _depth : _depth)
|
|
849
|
+
])()
|
|
850
|
+
});
|
|
851
|
+
const $ro18 = (_recursive = false, _depth = 0) => ({
|
|
852
|
+
mask: $pick([
|
|
853
|
+
() => undefined,
|
|
854
|
+
() => (generator?.boolean ?? $generator.boolean)()
|
|
855
|
+
])()
|
|
856
|
+
});
|
|
857
|
+
const $ro19 = (_recursive = false, _depth = 0) => ({
|
|
858
|
+
preview: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
|
|
859
|
+
showRenderProgress: (generator?.boolean ?? $generator.boolean)()
|
|
860
|
+
});
|
|
861
|
+
const $ro20 = (_recursive = false, _depth = 0) => ({
|
|
862
|
+
spacing: (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100),
|
|
863
|
+
maxCharactersPerLine: (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
864
|
+
});
|
|
865
|
+
const $ro21 = (_recursive = false, _depth = 0) => ({
|
|
866
|
+
label: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
|
|
867
|
+
aspectRatio: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
868
|
+
});
|
|
869
|
+
const $ro22 = (_recursive = false, _depth = 0) => ({
|
|
870
|
+
subtitleDisclaimer: $pick([
|
|
871
|
+
() => undefined,
|
|
872
|
+
() => $ro23(_recursive, _recursive ? 1 + _depth : _depth)
|
|
873
|
+
])()
|
|
874
|
+
});
|
|
875
|
+
const $ro23 = (_recursive = false, _depth = 0) => ({
|
|
876
|
+
isUserConfigurable: $pick([
|
|
877
|
+
() => undefined,
|
|
878
|
+
() => (generator?.boolean ?? $generator.boolean)()
|
|
879
|
+
])(),
|
|
880
|
+
defaultValue: $pick([
|
|
881
|
+
() => undefined,
|
|
882
|
+
() => $ro24(_recursive, _recursive ? 1 + _depth : _depth)
|
|
883
|
+
])()
|
|
884
|
+
});
|
|
885
|
+
const $ro24 = (_recursive = false, _depth = 0) => ({
|
|
886
|
+
enabled: $pick([
|
|
887
|
+
() => undefined,
|
|
888
|
+
() => false
|
|
889
|
+
])(),
|
|
890
|
+
text: $pick([
|
|
891
|
+
() => undefined,
|
|
892
|
+
() => (generator?.array ?? $generator.array)(() => $ro25(_recursive, _recursive ? 1 + _depth : _depth))
|
|
893
|
+
])(),
|
|
894
|
+
offset: $pick([
|
|
895
|
+
() => undefined,
|
|
896
|
+
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
897
|
+
])(),
|
|
898
|
+
duration: $pick([
|
|
899
|
+
() => undefined,
|
|
900
|
+
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
901
|
+
])()
|
|
902
|
+
});
|
|
903
|
+
const $ro25 = (_recursive = false, _depth = 0) => ({
|
|
904
|
+
language: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
|
|
905
|
+
value: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
906
|
+
});
|
|
907
|
+
const $ro26 = (_recursive = false, _depth = 0) => ({
|
|
908
|
+
assets: $ro27(_recursive, _recursive ? 1 + _depth : _depth),
|
|
909
|
+
pipeline: $ro30(_recursive, _recursive ? 1 + _depth : _depth),
|
|
910
|
+
item: $ro32(_recursive, _recursive ? 1 + _depth : _depth)
|
|
911
|
+
});
|
|
912
|
+
const $ro27 = (_recursive = false, _depth = 0) => ({
|
|
913
|
+
story: $ro28(_recursive, _recursive ? 1 + _depth : _depth)
|
|
914
|
+
});
|
|
915
|
+
const $ro28 = (_recursive = false, _depth = 0) => ({
|
|
916
|
+
excerpt: $ro29(_recursive, _recursive ? 1 + _depth : _depth)
|
|
917
|
+
});
|
|
918
|
+
const $ro29 = (_recursive = false, _depth = 0) => ({
|
|
919
|
+
maxLines: (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100),
|
|
920
|
+
mode: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
921
|
+
});
|
|
922
|
+
const $ro30 = (_recursive = false, _depth = 0) => ({
|
|
923
|
+
search: $ro31(_recursive, _recursive ? 1 + _depth : _depth)
|
|
924
|
+
});
|
|
925
|
+
const $ro31 = (_recursive = false, _depth = 0) => ({
|
|
926
|
+
maxItemsDisplayed: (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
927
|
+
});
|
|
928
|
+
const $ro32 = (_recursive = false, _depth = 0) => ({
|
|
929
|
+
maxHeight: (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
930
|
+
});
|
|
931
|
+
const $ro33 = (_recursive = false, _depth = 0) => ({
|
|
932
|
+
adobe: $ro34(_recursive, _recursive ? 1 + _depth : _depth)
|
|
933
|
+
});
|
|
934
|
+
const $ro34 = (_recursive = false, _depth = 0) => ({
|
|
935
|
+
useProxies: (generator?.boolean ?? $generator.boolean)()
|
|
936
|
+
});
|
|
937
|
+
const $ro35 = (_recursive = false, _depth = 0) => ({
|
|
938
|
+
utils: (generator?.boolean ?? $generator.boolean)(),
|
|
939
|
+
history: (generator?.boolean ?? $generator.boolean)(),
|
|
940
|
+
refs: (generator?.boolean ?? $generator.boolean)(),
|
|
941
|
+
access: (generator?.boolean ?? $generator.boolean)(),
|
|
942
|
+
files: (generator?.boolean ?? $generator.boolean)(),
|
|
943
|
+
"export": (generator?.boolean ?? $generator.boolean)(),
|
|
944
|
+
json: (generator?.boolean ?? $generator.boolean)(),
|
|
945
|
+
hlsjs: (generator?.boolean ?? $generator.boolean)()
|
|
946
|
+
});
|
|
947
|
+
return $ro0();
|
|
948
|
+
};
|
|
949
|
+
export const assertGuardSettings = (input, errorFactory) => {
|
|
950
|
+
const __is = input => {
|
|
951
|
+
const $io0 = input => (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io1(input.module)) && ("object" === typeof input.browser && null !== input.browser && $io5(input.browser)) && ("object" === typeof input.toolbarTags && null !== input.toolbarTags && $io7(input.toolbarTags)) && ("object" === typeof input.deadlines && null !== input.deadlines && $io8(input.deadlines)) && ("object" === typeof input.assignees && null !== input.assignees && $io9(input.assignees)) && ("object" === typeof input.clock && null !== input.clock && $io10(input.clock)) && ("object" === typeof input.swarm && null !== input.swarm && "string" === typeof input.swarm.color) && ("object" === typeof input.dashboard && null !== input.dashboard && ("number" === typeof input.dashboard.maxMru && "number" === typeof input.dashboard.maxTabs)) && ("object" === typeof input.script && null !== input.script && $io13(input.script)) && ("object" === typeof input.rundown && null !== input.rundown && "boolean" === typeof input.rundown.eventThumbnails) && ("object" === typeof input.gallery && null !== input.gallery && "boolean" === typeof input.gallery.dimOnBlur) && "boolean" === typeof input.history && true && ("object" === typeof input.media && null !== input.media && $io17(input.media)) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && ("object" === typeof input.storyboard && null !== input.storyboard && $io26(input.storyboard)) && ("object" === typeof input.plugins && null !== input.plugins && $io33(input.plugins)) && "boolean" === typeof input.crashScreen && "boolean" === typeof input.debug && ("object" === typeof input.flags && null !== input.flags && ("boolean" === typeof input.flags.utils && "boolean" === typeof input.flags.history && "boolean" === typeof input.flags.refs && "boolean" === typeof input.flags.access && "boolean" === typeof input.flags.files && "boolean" === typeof input.flags["export"] && "boolean" === typeof input.flags.json && "boolean" === typeof input.flags.hlsjs));
|
|
952
|
+
const $io1 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io2(input.tabs);
|
|
953
|
+
const $io2 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && $io3(input.settingsPanelStore)) && Object.keys(input).every(key => {
|
|
954
|
+
if (["settingsPanelStore"].some(prop => key === prop))
|
|
955
|
+
return true;
|
|
956
|
+
const value = input[key];
|
|
957
|
+
if (undefined === value)
|
|
958
|
+
return true;
|
|
959
|
+
return "object" === typeof value && null !== value && "string" === typeof value.activeTab;
|
|
960
|
+
});
|
|
961
|
+
const $io3 = input => "string" === typeof input.activeTab && (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex);
|
|
962
|
+
const $io5 = input => "object" === typeof input.createMenu && null !== input.createMenu && $io6(input.createMenu);
|
|
963
|
+
const $io6 = input => Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem);
|
|
964
|
+
const $io7 = input => Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem);
|
|
965
|
+
const $io8 = input => Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
966
|
+
const $io9 = input => Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
967
|
+
const $io10 = input => "boolean" === typeof input.enable && "boolean" === typeof input.show24Hours && "boolean" === typeof input.showAmPm && "boolean" === typeof input.showSeconds && "boolean" === typeof input.showDayOfWeek && "boolean" === typeof input.showDate && (undefined === input.format || "string" === typeof input.format);
|
|
968
|
+
const $io13 = input => "object" === typeof input.createMenu && null !== input.createMenu && "boolean" === typeof input.createMenu.showPreview;
|
|
969
|
+
const $io17 = input => (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io18(input.guide)) && "number" === typeof input.stepManyFrames && "number" === typeof input.liveZoomDuration && "string" === typeof input.importTitleTemplate && ("object" === typeof input.tile && null !== input.tile && ("string" === typeof input.tile.preview && "boolean" === typeof input.tile.showRenderProgress)) && "string" === typeof input.timecodeReference && "number" === typeof input.maxSubclipDuration && "number" === typeof input.rewindStep && "number" === typeof input.forwardStep && "string" === typeof input.interlacedPlayback && (Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && ("object" === typeof input.subtitles && null !== input.subtitles && ("number" === typeof input.subtitles.spacing && "number" === typeof input.subtitles.maxCharactersPerLine)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && "string" === typeof input.initialVolume && (Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io21(elem))) && "boolean" === typeof input.download && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io22(input.transcribe));
|
|
970
|
+
const $io18 = input => undefined === input.mask || "boolean" === typeof input.mask;
|
|
971
|
+
const $io21 = input => "string" === typeof input.label && "string" === typeof input.aspectRatio;
|
|
972
|
+
const $io22 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && $io23(input.subtitleDisclaimer);
|
|
973
|
+
const $io23 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io24(input.defaultValue));
|
|
974
|
+
const $io24 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io25(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
|
|
975
|
+
const $io25 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
976
|
+
const $io26 = input => "object" === typeof input.assets && null !== input.assets && $io27(input.assets) && ("object" === typeof input.pipeline && null !== input.pipeline && $io30(input.pipeline)) && ("object" === typeof input.item && null !== input.item && "number" === typeof input.item.maxHeight);
|
|
977
|
+
const $io27 = input => "object" === typeof input.story && null !== input.story && $io28(input.story);
|
|
978
|
+
const $io28 = input => "object" === typeof input.excerpt && null !== input.excerpt && ("number" === typeof input.excerpt.maxLines && "string" === typeof input.excerpt.mode);
|
|
979
|
+
const $io30 = input => "object" === typeof input.search && null !== input.search && "number" === typeof input.search.maxItemsDisplayed;
|
|
980
|
+
const $io33 = input => "object" === typeof input.adobe && null !== input.adobe && "boolean" === typeof input.adobe.useProxies;
|
|
981
|
+
return "object" === typeof input && null !== input && $io0(input);
|
|
982
|
+
};
|
|
983
|
+
if (false === __is(input))
|
|
984
|
+
((input, _path, _exceptionable = true) => {
|
|
985
|
+
const $guard = __typia.createAssertGuard.guard;
|
|
986
|
+
const $join = __typia.createAssertGuard.join;
|
|
987
|
+
const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.module || ("object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) || $guard(_exceptionable, {
|
|
988
|
+
path: _path + ".module",
|
|
989
|
+
expected: "(__type | undefined)",
|
|
990
|
+
value: input.module
|
|
991
|
+
}, errorFactory)) && $ao1(input.module, _path + ".module", true && _exceptionable) || $guard(_exceptionable, {
|
|
992
|
+
path: _path + ".module",
|
|
993
|
+
expected: "(__type | undefined)",
|
|
994
|
+
value: input.module
|
|
995
|
+
}, errorFactory)) && (("object" === typeof input.browser && null !== input.browser || $guard(_exceptionable, {
|
|
996
|
+
path: _path + ".browser",
|
|
997
|
+
expected: "__type.o1",
|
|
998
|
+
value: input.browser
|
|
999
|
+
}, errorFactory)) && $ao5(input.browser, _path + ".browser", true && _exceptionable) || $guard(_exceptionable, {
|
|
1000
|
+
path: _path + ".browser",
|
|
1001
|
+
expected: "__type.o1",
|
|
1002
|
+
value: input.browser
|
|
1003
|
+
}, errorFactory)) && (("object" === typeof input.toolbarTags && null !== input.toolbarTags || $guard(_exceptionable, {
|
|
1004
|
+
path: _path + ".toolbarTags",
|
|
1005
|
+
expected: "__type.o3",
|
|
1006
|
+
value: input.toolbarTags
|
|
1007
|
+
}, errorFactory)) && $ao7(input.toolbarTags, _path + ".toolbarTags", true && _exceptionable) || $guard(_exceptionable, {
|
|
1008
|
+
path: _path + ".toolbarTags",
|
|
1009
|
+
expected: "__type.o3",
|
|
1010
|
+
value: input.toolbarTags
|
|
1011
|
+
}, errorFactory)) && (("object" === typeof input.deadlines && null !== input.deadlines || $guard(_exceptionable, {
|
|
1012
|
+
path: _path + ".deadlines",
|
|
1013
|
+
expected: "__type.o4",
|
|
1014
|
+
value: input.deadlines
|
|
1015
|
+
}, errorFactory)) && $ao8(input.deadlines, _path + ".deadlines", true && _exceptionable) || $guard(_exceptionable, {
|
|
1016
|
+
path: _path + ".deadlines",
|
|
1017
|
+
expected: "__type.o4",
|
|
1018
|
+
value: input.deadlines
|
|
1019
|
+
}, errorFactory)) && (("object" === typeof input.assignees && null !== input.assignees || $guard(_exceptionable, {
|
|
1020
|
+
path: _path + ".assignees",
|
|
1021
|
+
expected: "__type.o5",
|
|
1022
|
+
value: input.assignees
|
|
1023
|
+
}, errorFactory)) && $ao9(input.assignees, _path + ".assignees", true && _exceptionable) || $guard(_exceptionable, {
|
|
1024
|
+
path: _path + ".assignees",
|
|
1025
|
+
expected: "__type.o5",
|
|
1026
|
+
value: input.assignees
|
|
1027
|
+
}, errorFactory)) && (("object" === typeof input.clock && null !== input.clock || $guard(_exceptionable, {
|
|
1028
|
+
path: _path + ".clock",
|
|
1029
|
+
expected: "__type.o6",
|
|
1030
|
+
value: input.clock
|
|
1031
|
+
}, errorFactory)) && $ao10(input.clock, _path + ".clock", true && _exceptionable) || $guard(_exceptionable, {
|
|
1032
|
+
path: _path + ".clock",
|
|
1033
|
+
expected: "__type.o6",
|
|
1034
|
+
value: input.clock
|
|
1035
|
+
}, errorFactory)) && (("object" === typeof input.swarm && null !== input.swarm || $guard(_exceptionable, {
|
|
1036
|
+
path: _path + ".swarm",
|
|
1037
|
+
expected: "__type.o7",
|
|
1038
|
+
value: input.swarm
|
|
1039
|
+
}, errorFactory)) && $ao11(input.swarm, _path + ".swarm", true && _exceptionable) || $guard(_exceptionable, {
|
|
1040
|
+
path: _path + ".swarm",
|
|
1041
|
+
expected: "__type.o7",
|
|
1042
|
+
value: input.swarm
|
|
1043
|
+
}, errorFactory)) && (("object" === typeof input.dashboard && null !== input.dashboard || $guard(_exceptionable, {
|
|
1044
|
+
path: _path + ".dashboard",
|
|
1045
|
+
expected: "__type.o8",
|
|
1046
|
+
value: input.dashboard
|
|
1047
|
+
}, errorFactory)) && $ao12(input.dashboard, _path + ".dashboard", true && _exceptionable) || $guard(_exceptionable, {
|
|
1048
|
+
path: _path + ".dashboard",
|
|
1049
|
+
expected: "__type.o8",
|
|
1050
|
+
value: input.dashboard
|
|
1051
|
+
}, errorFactory)) && (("object" === typeof input.script && null !== input.script || $guard(_exceptionable, {
|
|
1052
|
+
path: _path + ".script",
|
|
1053
|
+
expected: "__type.o9",
|
|
1054
|
+
value: input.script
|
|
1055
|
+
}, errorFactory)) && $ao13(input.script, _path + ".script", true && _exceptionable) || $guard(_exceptionable, {
|
|
1056
|
+
path: _path + ".script",
|
|
1057
|
+
expected: "__type.o9",
|
|
1058
|
+
value: input.script
|
|
1059
|
+
}, errorFactory)) && (("object" === typeof input.rundown && null !== input.rundown || $guard(_exceptionable, {
|
|
1060
|
+
path: _path + ".rundown",
|
|
1061
|
+
expected: "__type.o11",
|
|
1062
|
+
value: input.rundown
|
|
1063
|
+
}, errorFactory)) && $ao15(input.rundown, _path + ".rundown", true && _exceptionable) || $guard(_exceptionable, {
|
|
1064
|
+
path: _path + ".rundown",
|
|
1065
|
+
expected: "__type.o11",
|
|
1066
|
+
value: input.rundown
|
|
1067
|
+
}, errorFactory)) && (("object" === typeof input.gallery && null !== input.gallery || $guard(_exceptionable, {
|
|
1068
|
+
path: _path + ".gallery",
|
|
1069
|
+
expected: "__type.o12",
|
|
1070
|
+
value: input.gallery
|
|
1071
|
+
}, errorFactory)) && $ao16(input.gallery, _path + ".gallery", true && _exceptionable) || $guard(_exceptionable, {
|
|
1072
|
+
path: _path + ".gallery",
|
|
1073
|
+
expected: "__type.o12",
|
|
1074
|
+
value: input.gallery
|
|
1075
|
+
}, errorFactory)) && ("boolean" === typeof input.history || $guard(_exceptionable, {
|
|
1076
|
+
path: _path + ".history",
|
|
1077
|
+
expected: "boolean",
|
|
1078
|
+
value: input.history
|
|
1079
|
+
}, errorFactory)) && true && (("object" === typeof input.media && null !== input.media || $guard(_exceptionable, {
|
|
1080
|
+
path: _path + ".media",
|
|
1081
|
+
expected: "__type.o13",
|
|
1082
|
+
value: input.media
|
|
1083
|
+
}, errorFactory)) && $ao17(input.media, _path + ".media", true && _exceptionable) || $guard(_exceptionable, {
|
|
1084
|
+
path: _path + ".media",
|
|
1085
|
+
expected: "__type.o13",
|
|
1086
|
+
value: input.media
|
|
1087
|
+
}, errorFactory)) && (undefined === input.predefinedTags || (Array.isArray(input.predefinedTags) || $guard(_exceptionable, {
|
|
1088
|
+
path: _path + ".predefinedTags",
|
|
1089
|
+
expected: "(Array<string> | undefined)",
|
|
1090
|
+
value: input.predefinedTags
|
|
1091
|
+
}, errorFactory)) && input.predefinedTags.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
|
|
1092
|
+
path: _path + ".predefinedTags[" + _index1 + "]",
|
|
1093
|
+
expected: "string",
|
|
1094
|
+
value: elem
|
|
1095
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
1096
|
+
path: _path + ".predefinedTags",
|
|
1097
|
+
expected: "(Array<string> | undefined)",
|
|
1098
|
+
value: input.predefinedTags
|
|
1099
|
+
}, errorFactory)) && (("object" === typeof input.storyboard && null !== input.storyboard || $guard(_exceptionable, {
|
|
1100
|
+
path: _path + ".storyboard",
|
|
1101
|
+
expected: "__type.o22",
|
|
1102
|
+
value: input.storyboard
|
|
1103
|
+
}, errorFactory)) && $ao26(input.storyboard, _path + ".storyboard", true && _exceptionable) || $guard(_exceptionable, {
|
|
1104
|
+
path: _path + ".storyboard",
|
|
1105
|
+
expected: "__type.o22",
|
|
1106
|
+
value: input.storyboard
|
|
1107
|
+
}, errorFactory)) && (("object" === typeof input.plugins && null !== input.plugins || $guard(_exceptionable, {
|
|
1108
|
+
path: _path + ".plugins",
|
|
1109
|
+
expected: "__type.o29",
|
|
1110
|
+
value: input.plugins
|
|
1111
|
+
}, errorFactory)) && $ao33(input.plugins, _path + ".plugins", true && _exceptionable) || $guard(_exceptionable, {
|
|
1112
|
+
path: _path + ".plugins",
|
|
1113
|
+
expected: "__type.o29",
|
|
1114
|
+
value: input.plugins
|
|
1115
|
+
}, errorFactory)) && ("boolean" === typeof input.crashScreen || $guard(_exceptionable, {
|
|
1116
|
+
path: _path + ".crashScreen",
|
|
1117
|
+
expected: "boolean",
|
|
1118
|
+
value: input.crashScreen
|
|
1119
|
+
}, errorFactory)) && ("boolean" === typeof input.debug || $guard(_exceptionable, {
|
|
1120
|
+
path: _path + ".debug",
|
|
1121
|
+
expected: "boolean",
|
|
1122
|
+
value: input.debug
|
|
1123
|
+
}, errorFactory)) && (("object" === typeof input.flags && null !== input.flags || $guard(_exceptionable, {
|
|
1124
|
+
path: _path + ".flags",
|
|
1125
|
+
expected: "__type.o31",
|
|
1126
|
+
value: input.flags
|
|
1127
|
+
}, errorFactory)) && $ao35(input.flags, _path + ".flags", true && _exceptionable) || $guard(_exceptionable, {
|
|
1128
|
+
path: _path + ".flags",
|
|
1129
|
+
expected: "__type.o31",
|
|
1130
|
+
value: input.flags
|
|
1131
|
+
}, errorFactory));
|
|
1132
|
+
const $ao1 = (input, _path, _exceptionable = true) => undefined === input.tabs || ("object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) || $guard(_exceptionable, {
|
|
1133
|
+
path: _path + ".tabs",
|
|
1134
|
+
expected: "(Record<string, ModuleTabsSettingsValue> & { settingsPanelStore?: (ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }) | undefined; } | undefined)",
|
|
1135
|
+
value: input.tabs
|
|
1136
|
+
}, errorFactory)) && $ao2(input.tabs, _path + ".tabs", true && _exceptionable) || $guard(_exceptionable, {
|
|
1137
|
+
path: _path + ".tabs",
|
|
1138
|
+
expected: "(Record<string, ModuleTabsSettingsValue> & { settingsPanelStore?: (ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }) | undefined; } | undefined)",
|
|
1139
|
+
value: input.tabs
|
|
1140
|
+
}, errorFactory);
|
|
1141
|
+
const $ao2 = (input, _path, _exceptionable = true) => (undefined === input.settingsPanelStore || ("object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore || $guard(_exceptionable, {
|
|
1142
|
+
path: _path + ".settingsPanelStore",
|
|
1143
|
+
expected: "(ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; } | undefined)",
|
|
1144
|
+
value: input.settingsPanelStore
|
|
1145
|
+
}, errorFactory)) && $ao3(input.settingsPanelStore, _path + ".settingsPanelStore", true && _exceptionable) || $guard(_exceptionable, {
|
|
1146
|
+
path: _path + ".settingsPanelStore",
|
|
1147
|
+
expected: "(ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; } | undefined)",
|
|
1148
|
+
value: input.settingsPanelStore
|
|
1149
|
+
}, errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
|
|
1150
|
+
if (["settingsPanelStore"].some(prop => key === prop))
|
|
1151
|
+
return true;
|
|
1152
|
+
const value = input[key];
|
|
1153
|
+
if (undefined === value)
|
|
1154
|
+
return true;
|
|
1155
|
+
return ("object" === typeof value && null !== value || $guard(_exceptionable, {
|
|
1156
|
+
path: _path + $join(key),
|
|
1157
|
+
expected: "ModuleTabsSettingsValue",
|
|
1158
|
+
value: value
|
|
1159
|
+
}, errorFactory)) && $ao4(value, _path + $join(key), true && _exceptionable) || $guard(_exceptionable, {
|
|
1160
|
+
path: _path + $join(key),
|
|
1161
|
+
expected: "ModuleTabsSettingsValue",
|
|
1162
|
+
value: value
|
|
1163
|
+
}, errorFactory);
|
|
1164
|
+
}));
|
|
1165
|
+
const $ao3 = (input, _path, _exceptionable = true) => ("string" === typeof input.activeTab || $guard(_exceptionable, {
|
|
1166
|
+
path: _path + ".activeTab",
|
|
1167
|
+
expected: "string",
|
|
1168
|
+
value: input.activeTab
|
|
1169
|
+
}, errorFactory)) && (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex || $guard(_exceptionable, {
|
|
1170
|
+
path: _path + ".activeSectionIndex",
|
|
1171
|
+
expected: "(number | undefined)",
|
|
1172
|
+
value: input.activeSectionIndex
|
|
1173
|
+
}, errorFactory));
|
|
1174
|
+
const $ao4 = (input, _path, _exceptionable = true) => "string" === typeof input.activeTab || $guard(_exceptionable, {
|
|
1175
|
+
path: _path + ".activeTab",
|
|
1176
|
+
expected: "string",
|
|
1177
|
+
value: input.activeTab
|
|
1178
|
+
}, errorFactory);
|
|
1179
|
+
const $ao5 = (input, _path, _exceptionable = true) => ("object" === typeof input.createMenu && null !== input.createMenu || $guard(_exceptionable, {
|
|
1180
|
+
path: _path + ".createMenu",
|
|
1181
|
+
expected: "__type.o2",
|
|
1182
|
+
value: input.createMenu
|
|
1183
|
+
}, errorFactory)) && $ao6(input.createMenu, _path + ".createMenu", true && _exceptionable) || $guard(_exceptionable, {
|
|
1184
|
+
path: _path + ".createMenu",
|
|
1185
|
+
expected: "__type.o2",
|
|
1186
|
+
value: input.createMenu
|
|
1187
|
+
}, errorFactory);
|
|
1188
|
+
const $ao6 = (input, _path, _exceptionable = true) => (Array.isArray(input.sortOrder) || $guard(_exceptionable, {
|
|
1189
|
+
path: _path + ".sortOrder",
|
|
1190
|
+
expected: "Array<string>",
|
|
1191
|
+
value: input.sortOrder
|
|
1192
|
+
}, errorFactory)) && input.sortOrder.every((elem, _index2) => "string" === typeof elem || $guard(_exceptionable, {
|
|
1193
|
+
path: _path + ".sortOrder[" + _index2 + "]",
|
|
1194
|
+
expected: "string",
|
|
1195
|
+
value: elem
|
|
1196
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
1197
|
+
path: _path + ".sortOrder",
|
|
1198
|
+
expected: "Array<string>",
|
|
1199
|
+
value: input.sortOrder
|
|
1200
|
+
}, errorFactory);
|
|
1201
|
+
const $ao7 = (input, _path, _exceptionable = true) => (Array.isArray(input.exclude) || $guard(_exceptionable, {
|
|
1202
|
+
path: _path + ".exclude",
|
|
1203
|
+
expected: "Array<string>",
|
|
1204
|
+
value: input.exclude
|
|
1205
|
+
}, errorFactory)) && input.exclude.every((elem, _index3) => "string" === typeof elem || $guard(_exceptionable, {
|
|
1206
|
+
path: _path + ".exclude[" + _index3 + "]",
|
|
1207
|
+
expected: "string",
|
|
1208
|
+
value: elem
|
|
1209
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
1210
|
+
path: _path + ".exclude",
|
|
1211
|
+
expected: "Array<string>",
|
|
1212
|
+
value: input.exclude
|
|
1213
|
+
}, errorFactory);
|
|
1214
|
+
const $ao8 = (input, _path, _exceptionable = true) => (Array.isArray(input.include) || $guard(_exceptionable, {
|
|
1215
|
+
path: _path + ".include",
|
|
1216
|
+
expected: "Array<string>",
|
|
1217
|
+
value: input.include
|
|
1218
|
+
}, errorFactory)) && input.include.every((elem, _index4) => "string" === typeof elem || $guard(_exceptionable, {
|
|
1219
|
+
path: _path + ".include[" + _index4 + "]",
|
|
1220
|
+
expected: "string",
|
|
1221
|
+
value: elem
|
|
1222
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
1223
|
+
path: _path + ".include",
|
|
1224
|
+
expected: "Array<string>",
|
|
1225
|
+
value: input.include
|
|
1226
|
+
}, errorFactory);
|
|
1227
|
+
const $ao9 = (input, _path, _exceptionable = true) => (Array.isArray(input.include) || $guard(_exceptionable, {
|
|
1228
|
+
path: _path + ".include",
|
|
1229
|
+
expected: "Array<string>",
|
|
1230
|
+
value: input.include
|
|
1231
|
+
}, errorFactory)) && input.include.every((elem, _index5) => "string" === typeof elem || $guard(_exceptionable, {
|
|
1232
|
+
path: _path + ".include[" + _index5 + "]",
|
|
1233
|
+
expected: "string",
|
|
1234
|
+
value: elem
|
|
1235
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
1236
|
+
path: _path + ".include",
|
|
1237
|
+
expected: "Array<string>",
|
|
1238
|
+
value: input.include
|
|
1239
|
+
}, errorFactory);
|
|
1240
|
+
const $ao10 = (input, _path, _exceptionable = true) => ("boolean" === typeof input.enable || $guard(_exceptionable, {
|
|
1241
|
+
path: _path + ".enable",
|
|
1242
|
+
expected: "boolean",
|
|
1243
|
+
value: input.enable
|
|
1244
|
+
}, errorFactory)) && ("boolean" === typeof input.show24Hours || $guard(_exceptionable, {
|
|
1245
|
+
path: _path + ".show24Hours",
|
|
1246
|
+
expected: "boolean",
|
|
1247
|
+
value: input.show24Hours
|
|
1248
|
+
}, errorFactory)) && ("boolean" === typeof input.showAmPm || $guard(_exceptionable, {
|
|
1249
|
+
path: _path + ".showAmPm",
|
|
1250
|
+
expected: "boolean",
|
|
1251
|
+
value: input.showAmPm
|
|
1252
|
+
}, errorFactory)) && ("boolean" === typeof input.showSeconds || $guard(_exceptionable, {
|
|
1253
|
+
path: _path + ".showSeconds",
|
|
1254
|
+
expected: "boolean",
|
|
1255
|
+
value: input.showSeconds
|
|
1256
|
+
}, errorFactory)) && ("boolean" === typeof input.showDayOfWeek || $guard(_exceptionable, {
|
|
1257
|
+
path: _path + ".showDayOfWeek",
|
|
1258
|
+
expected: "boolean",
|
|
1259
|
+
value: input.showDayOfWeek
|
|
1260
|
+
}, errorFactory)) && ("boolean" === typeof input.showDate || $guard(_exceptionable, {
|
|
1261
|
+
path: _path + ".showDate",
|
|
1262
|
+
expected: "boolean",
|
|
1263
|
+
value: input.showDate
|
|
1264
|
+
}, errorFactory)) && (undefined === input.format || "string" === typeof input.format || $guard(_exceptionable, {
|
|
1265
|
+
path: _path + ".format",
|
|
1266
|
+
expected: "(string | undefined)",
|
|
1267
|
+
value: input.format
|
|
1268
|
+
}, errorFactory));
|
|
1269
|
+
const $ao11 = (input, _path, _exceptionable = true) => "string" === typeof input.color || $guard(_exceptionable, {
|
|
1270
|
+
path: _path + ".color",
|
|
1271
|
+
expected: "string",
|
|
1272
|
+
value: input.color
|
|
1273
|
+
}, errorFactory);
|
|
1274
|
+
const $ao12 = (input, _path, _exceptionable = true) => ("number" === typeof input.maxMru || $guard(_exceptionable, {
|
|
1275
|
+
path: _path + ".maxMru",
|
|
1276
|
+
expected: "number",
|
|
1277
|
+
value: input.maxMru
|
|
1278
|
+
}, errorFactory)) && ("number" === typeof input.maxTabs || $guard(_exceptionable, {
|
|
1279
|
+
path: _path + ".maxTabs",
|
|
1280
|
+
expected: "number",
|
|
1281
|
+
value: input.maxTabs
|
|
1282
|
+
}, errorFactory));
|
|
1283
|
+
const $ao13 = (input, _path, _exceptionable = true) => ("object" === typeof input.createMenu && null !== input.createMenu || $guard(_exceptionable, {
|
|
1284
|
+
path: _path + ".createMenu",
|
|
1285
|
+
expected: "__type.o10",
|
|
1286
|
+
value: input.createMenu
|
|
1287
|
+
}, errorFactory)) && $ao14(input.createMenu, _path + ".createMenu", true && _exceptionable) || $guard(_exceptionable, {
|
|
1288
|
+
path: _path + ".createMenu",
|
|
1289
|
+
expected: "__type.o10",
|
|
1290
|
+
value: input.createMenu
|
|
1291
|
+
}, errorFactory);
|
|
1292
|
+
const $ao14 = (input, _path, _exceptionable = true) => "boolean" === typeof input.showPreview || $guard(_exceptionable, {
|
|
1293
|
+
path: _path + ".showPreview",
|
|
1294
|
+
expected: "boolean",
|
|
1295
|
+
value: input.showPreview
|
|
1296
|
+
}, errorFactory);
|
|
1297
|
+
const $ao15 = (input, _path, _exceptionable = true) => "boolean" === typeof input.eventThumbnails || $guard(_exceptionable, {
|
|
1298
|
+
path: _path + ".eventThumbnails",
|
|
1299
|
+
expected: "boolean",
|
|
1300
|
+
value: input.eventThumbnails
|
|
1301
|
+
}, errorFactory);
|
|
1302
|
+
const $ao16 = (input, _path, _exceptionable = true) => "boolean" === typeof input.dimOnBlur || $guard(_exceptionable, {
|
|
1303
|
+
path: _path + ".dimOnBlur",
|
|
1304
|
+
expected: "boolean",
|
|
1305
|
+
value: input.dimOnBlur
|
|
1306
|
+
}, errorFactory);
|
|
1307
|
+
const $ao17 = (input, _path, _exceptionable = true) => (undefined === input.guide || ("object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) || $guard(_exceptionable, {
|
|
1308
|
+
path: _path + ".guide",
|
|
1309
|
+
expected: "(__type.o14 | undefined)",
|
|
1310
|
+
value: input.guide
|
|
1311
|
+
}, errorFactory)) && $ao18(input.guide, _path + ".guide", true && _exceptionable) || $guard(_exceptionable, {
|
|
1312
|
+
path: _path + ".guide",
|
|
1313
|
+
expected: "(__type.o14 | undefined)",
|
|
1314
|
+
value: input.guide
|
|
1315
|
+
}, errorFactory)) && ("number" === typeof input.stepManyFrames || $guard(_exceptionable, {
|
|
1316
|
+
path: _path + ".stepManyFrames",
|
|
1317
|
+
expected: "number",
|
|
1318
|
+
value: input.stepManyFrames
|
|
1319
|
+
}, errorFactory)) && ("number" === typeof input.liveZoomDuration || $guard(_exceptionable, {
|
|
1320
|
+
path: _path + ".liveZoomDuration",
|
|
1321
|
+
expected: "number",
|
|
1322
|
+
value: input.liveZoomDuration
|
|
1323
|
+
}, errorFactory)) && ("string" === typeof input.importTitleTemplate || $guard(_exceptionable, {
|
|
1324
|
+
path: _path + ".importTitleTemplate",
|
|
1325
|
+
expected: "string",
|
|
1326
|
+
value: input.importTitleTemplate
|
|
1327
|
+
}, errorFactory)) && (("object" === typeof input.tile && null !== input.tile || $guard(_exceptionable, {
|
|
1328
|
+
path: _path + ".tile",
|
|
1329
|
+
expected: "__type.o15",
|
|
1330
|
+
value: input.tile
|
|
1331
|
+
}, errorFactory)) && $ao19(input.tile, _path + ".tile", true && _exceptionable) || $guard(_exceptionable, {
|
|
1332
|
+
path: _path + ".tile",
|
|
1333
|
+
expected: "__type.o15",
|
|
1334
|
+
value: input.tile
|
|
1335
|
+
}, errorFactory)) && ("string" === typeof input.timecodeReference || $guard(_exceptionable, {
|
|
1336
|
+
path: _path + ".timecodeReference",
|
|
1337
|
+
expected: "string",
|
|
1338
|
+
value: input.timecodeReference
|
|
1339
|
+
}, errorFactory)) && ("number" === typeof input.maxSubclipDuration || $guard(_exceptionable, {
|
|
1340
|
+
path: _path + ".maxSubclipDuration",
|
|
1341
|
+
expected: "number",
|
|
1342
|
+
value: input.maxSubclipDuration
|
|
1343
|
+
}, errorFactory)) && ("number" === typeof input.rewindStep || $guard(_exceptionable, {
|
|
1344
|
+
path: _path + ".rewindStep",
|
|
1345
|
+
expected: "number",
|
|
1346
|
+
value: input.rewindStep
|
|
1347
|
+
}, errorFactory)) && ("number" === typeof input.forwardStep || $guard(_exceptionable, {
|
|
1348
|
+
path: _path + ".forwardStep",
|
|
1349
|
+
expected: "number",
|
|
1350
|
+
value: input.forwardStep
|
|
1351
|
+
}, errorFactory)) && ("string" === typeof input.interlacedPlayback || $guard(_exceptionable, {
|
|
1352
|
+
path: _path + ".interlacedPlayback",
|
|
1353
|
+
expected: "string",
|
|
1354
|
+
value: input.interlacedPlayback
|
|
1355
|
+
}, errorFactory)) && ((Array.isArray(input.playbackRates) || $guard(_exceptionable, {
|
|
1356
|
+
path: _path + ".playbackRates",
|
|
1357
|
+
expected: "Array<number>",
|
|
1358
|
+
value: input.playbackRates
|
|
1359
|
+
}, errorFactory)) && input.playbackRates.every((elem, _index6) => "number" === typeof elem || $guard(_exceptionable, {
|
|
1360
|
+
path: _path + ".playbackRates[" + _index6 + "]",
|
|
1361
|
+
expected: "number",
|
|
1362
|
+
value: elem
|
|
1363
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
1364
|
+
path: _path + ".playbackRates",
|
|
1365
|
+
expected: "Array<number>",
|
|
1366
|
+
value: input.playbackRates
|
|
1367
|
+
}, errorFactory)) && (("object" === typeof input.subtitles && null !== input.subtitles || $guard(_exceptionable, {
|
|
1368
|
+
path: _path + ".subtitles",
|
|
1369
|
+
expected: "__type.o16",
|
|
1370
|
+
value: input.subtitles
|
|
1371
|
+
}, errorFactory)) && $ao20(input.subtitles, _path + ".subtitles", true && _exceptionable) || $guard(_exceptionable, {
|
|
1372
|
+
path: _path + ".subtitles",
|
|
1373
|
+
expected: "__type.o16",
|
|
1374
|
+
value: input.subtitles
|
|
1375
|
+
}, errorFactory)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId || $guard(_exceptionable, {
|
|
1376
|
+
path: _path + ".subtitleTemplateId",
|
|
1377
|
+
expected: "(string | undefined)",
|
|
1378
|
+
value: input.subtitleTemplateId
|
|
1379
|
+
}, errorFactory)) && ("string" === typeof input.initialVolume || $guard(_exceptionable, {
|
|
1380
|
+
path: _path + ".initialVolume",
|
|
1381
|
+
expected: "string",
|
|
1382
|
+
value: input.initialVolume
|
|
1383
|
+
}, errorFactory)) && ((Array.isArray(input.guides) || $guard(_exceptionable, {
|
|
1384
|
+
path: _path + ".guides",
|
|
1385
|
+
expected: "Array<__type>",
|
|
1386
|
+
value: input.guides
|
|
1387
|
+
}, errorFactory)) && input.guides.every((elem, _index7) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
1388
|
+
path: _path + ".guides[" + _index7 + "]",
|
|
1389
|
+
expected: "__type.o17",
|
|
1390
|
+
value: elem
|
|
1391
|
+
}, errorFactory)) && $ao21(elem, _path + ".guides[" + _index7 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
1392
|
+
path: _path + ".guides[" + _index7 + "]",
|
|
1393
|
+
expected: "__type.o17",
|
|
1394
|
+
value: elem
|
|
1395
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
1396
|
+
path: _path + ".guides",
|
|
1397
|
+
expected: "Array<__type>",
|
|
1398
|
+
value: input.guides
|
|
1399
|
+
}, errorFactory)) && ("boolean" === typeof input.download || $guard(_exceptionable, {
|
|
1400
|
+
path: _path + ".download",
|
|
1401
|
+
expected: "boolean",
|
|
1402
|
+
value: input.download
|
|
1403
|
+
}, errorFactory)) && (undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) || $guard(_exceptionable, {
|
|
1404
|
+
path: _path + ".transcribe",
|
|
1405
|
+
expected: "(__type.o18 | undefined)",
|
|
1406
|
+
value: input.transcribe
|
|
1407
|
+
}, errorFactory)) && $ao22(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
|
|
1408
|
+
path: _path + ".transcribe",
|
|
1409
|
+
expected: "(__type.o18 | undefined)",
|
|
1410
|
+
value: input.transcribe
|
|
1411
|
+
}, errorFactory));
|
|
1412
|
+
const $ao18 = (input, _path, _exceptionable = true) => undefined === input.mask || "boolean" === typeof input.mask || $guard(_exceptionable, {
|
|
1413
|
+
path: _path + ".mask",
|
|
1414
|
+
expected: "(boolean | undefined)",
|
|
1415
|
+
value: input.mask
|
|
1416
|
+
}, errorFactory);
|
|
1417
|
+
const $ao19 = (input, _path, _exceptionable = true) => ("string" === typeof input.preview || $guard(_exceptionable, {
|
|
1418
|
+
path: _path + ".preview",
|
|
1419
|
+
expected: "string",
|
|
1420
|
+
value: input.preview
|
|
1421
|
+
}, errorFactory)) && ("boolean" === typeof input.showRenderProgress || $guard(_exceptionable, {
|
|
1422
|
+
path: _path + ".showRenderProgress",
|
|
1423
|
+
expected: "boolean",
|
|
1424
|
+
value: input.showRenderProgress
|
|
1425
|
+
}, errorFactory));
|
|
1426
|
+
const $ao20 = (input, _path, _exceptionable = true) => ("number" === typeof input.spacing || $guard(_exceptionable, {
|
|
1427
|
+
path: _path + ".spacing",
|
|
1428
|
+
expected: "number",
|
|
1429
|
+
value: input.spacing
|
|
1430
|
+
}, errorFactory)) && ("number" === typeof input.maxCharactersPerLine || $guard(_exceptionable, {
|
|
1431
|
+
path: _path + ".maxCharactersPerLine",
|
|
1432
|
+
expected: "number",
|
|
1433
|
+
value: input.maxCharactersPerLine
|
|
1434
|
+
}, errorFactory));
|
|
1435
|
+
const $ao21 = (input, _path, _exceptionable = true) => ("string" === typeof input.label || $guard(_exceptionable, {
|
|
1436
|
+
path: _path + ".label",
|
|
1437
|
+
expected: "string",
|
|
1438
|
+
value: input.label
|
|
1439
|
+
}, errorFactory)) && ("string" === typeof input.aspectRatio || $guard(_exceptionable, {
|
|
1440
|
+
path: _path + ".aspectRatio",
|
|
1441
|
+
expected: "string",
|
|
1442
|
+
value: input.aspectRatio
|
|
1443
|
+
}, errorFactory));
|
|
1444
|
+
const $ao22 = (input, _path, _exceptionable = true) => undefined === input.subtitleDisclaimer || ("object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) || $guard(_exceptionable, {
|
|
1445
|
+
path: _path + ".subtitleDisclaimer",
|
|
1446
|
+
expected: "(__type.o19 | undefined)",
|
|
1447
|
+
value: input.subtitleDisclaimer
|
|
1448
|
+
}, errorFactory)) && $ao23(input.subtitleDisclaimer, _path + ".subtitleDisclaimer", true && _exceptionable) || $guard(_exceptionable, {
|
|
1449
|
+
path: _path + ".subtitleDisclaimer",
|
|
1450
|
+
expected: "(__type.o19 | undefined)",
|
|
1451
|
+
value: input.subtitleDisclaimer
|
|
1452
|
+
}, errorFactory);
|
|
1453
|
+
const $ao23 = (input, _path, _exceptionable = true) => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable || $guard(_exceptionable, {
|
|
1454
|
+
path: _path + ".isUserConfigurable",
|
|
1455
|
+
expected: "(boolean | undefined)",
|
|
1456
|
+
value: input.isUserConfigurable
|
|
1457
|
+
}, errorFactory)) && (undefined === input.defaultValue || ("object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) || $guard(_exceptionable, {
|
|
1458
|
+
path: _path + ".defaultValue",
|
|
1459
|
+
expected: "(__type.o20 | undefined)",
|
|
1460
|
+
value: input.defaultValue
|
|
1461
|
+
}, errorFactory)) && $ao24(input.defaultValue, _path + ".defaultValue", true && _exceptionable) || $guard(_exceptionable, {
|
|
1462
|
+
path: _path + ".defaultValue",
|
|
1463
|
+
expected: "(__type.o20 | undefined)",
|
|
1464
|
+
value: input.defaultValue
|
|
1465
|
+
}, errorFactory));
|
|
1466
|
+
const $ao24 = (input, _path, _exceptionable = true) => (undefined === input.enabled || false === input.enabled || $guard(_exceptionable, {
|
|
1467
|
+
path: _path + ".enabled",
|
|
1468
|
+
expected: "(false | undefined)",
|
|
1469
|
+
value: input.enabled
|
|
1470
|
+
}, errorFactory)) && (undefined === input.text || (Array.isArray(input.text) || $guard(_exceptionable, {
|
|
1471
|
+
path: _path + ".text",
|
|
1472
|
+
expected: "(Array<__type>.o1 | undefined)",
|
|
1473
|
+
value: input.text
|
|
1474
|
+
}, errorFactory)) && input.text.every((elem, _index8) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
1475
|
+
path: _path + ".text[" + _index8 + "]",
|
|
1476
|
+
expected: "__type.o21",
|
|
1477
|
+
value: elem
|
|
1478
|
+
}, errorFactory)) && $ao25(elem, _path + ".text[" + _index8 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
1479
|
+
path: _path + ".text[" + _index8 + "]",
|
|
1480
|
+
expected: "__type.o21",
|
|
1481
|
+
value: elem
|
|
1482
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
1483
|
+
path: _path + ".text",
|
|
1484
|
+
expected: "(Array<__type>.o1 | undefined)",
|
|
1485
|
+
value: input.text
|
|
1486
|
+
}, errorFactory)) && (undefined === input.offset || "number" === typeof input.offset || $guard(_exceptionable, {
|
|
1487
|
+
path: _path + ".offset",
|
|
1488
|
+
expected: "(number | undefined)",
|
|
1489
|
+
value: input.offset
|
|
1490
|
+
}, errorFactory)) && (undefined === input.duration || "number" === typeof input.duration || $guard(_exceptionable, {
|
|
1491
|
+
path: _path + ".duration",
|
|
1492
|
+
expected: "(number | undefined)",
|
|
1493
|
+
value: input.duration
|
|
1494
|
+
}, errorFactory));
|
|
1495
|
+
const $ao25 = (input, _path, _exceptionable = true) => ("string" === typeof input.language || $guard(_exceptionable, {
|
|
1496
|
+
path: _path + ".language",
|
|
1497
|
+
expected: "string",
|
|
1498
|
+
value: input.language
|
|
1499
|
+
}, errorFactory)) && ("string" === typeof input.value || $guard(_exceptionable, {
|
|
1500
|
+
path: _path + ".value",
|
|
1501
|
+
expected: "string",
|
|
1502
|
+
value: input.value
|
|
1503
|
+
}, errorFactory));
|
|
1504
|
+
const $ao26 = (input, _path, _exceptionable = true) => (("object" === typeof input.assets && null !== input.assets || $guard(_exceptionable, {
|
|
1505
|
+
path: _path + ".assets",
|
|
1506
|
+
expected: "__type.o23",
|
|
1507
|
+
value: input.assets
|
|
1508
|
+
}, errorFactory)) && $ao27(input.assets, _path + ".assets", true && _exceptionable) || $guard(_exceptionable, {
|
|
1509
|
+
path: _path + ".assets",
|
|
1510
|
+
expected: "__type.o23",
|
|
1511
|
+
value: input.assets
|
|
1512
|
+
}, errorFactory)) && (("object" === typeof input.pipeline && null !== input.pipeline || $guard(_exceptionable, {
|
|
1513
|
+
path: _path + ".pipeline",
|
|
1514
|
+
expected: "__type.o26",
|
|
1515
|
+
value: input.pipeline
|
|
1516
|
+
}, errorFactory)) && $ao30(input.pipeline, _path + ".pipeline", true && _exceptionable) || $guard(_exceptionable, {
|
|
1517
|
+
path: _path + ".pipeline",
|
|
1518
|
+
expected: "__type.o26",
|
|
1519
|
+
value: input.pipeline
|
|
1520
|
+
}, errorFactory)) && (("object" === typeof input.item && null !== input.item || $guard(_exceptionable, {
|
|
1521
|
+
path: _path + ".item",
|
|
1522
|
+
expected: "__type.o28",
|
|
1523
|
+
value: input.item
|
|
1524
|
+
}, errorFactory)) && $ao32(input.item, _path + ".item", true && _exceptionable) || $guard(_exceptionable, {
|
|
1525
|
+
path: _path + ".item",
|
|
1526
|
+
expected: "__type.o28",
|
|
1527
|
+
value: input.item
|
|
1528
|
+
}, errorFactory));
|
|
1529
|
+
const $ao27 = (input, _path, _exceptionable = true) => ("object" === typeof input.story && null !== input.story || $guard(_exceptionable, {
|
|
1530
|
+
path: _path + ".story",
|
|
1531
|
+
expected: "__type.o24",
|
|
1532
|
+
value: input.story
|
|
1533
|
+
}, errorFactory)) && $ao28(input.story, _path + ".story", true && _exceptionable) || $guard(_exceptionable, {
|
|
1534
|
+
path: _path + ".story",
|
|
1535
|
+
expected: "__type.o24",
|
|
1536
|
+
value: input.story
|
|
1537
|
+
}, errorFactory);
|
|
1538
|
+
const $ao28 = (input, _path, _exceptionable = true) => ("object" === typeof input.excerpt && null !== input.excerpt || $guard(_exceptionable, {
|
|
1539
|
+
path: _path + ".excerpt",
|
|
1540
|
+
expected: "__type.o25",
|
|
1541
|
+
value: input.excerpt
|
|
1542
|
+
}, errorFactory)) && $ao29(input.excerpt, _path + ".excerpt", true && _exceptionable) || $guard(_exceptionable, {
|
|
1543
|
+
path: _path + ".excerpt",
|
|
1544
|
+
expected: "__type.o25",
|
|
1545
|
+
value: input.excerpt
|
|
1546
|
+
}, errorFactory);
|
|
1547
|
+
const $ao29 = (input, _path, _exceptionable = true) => ("number" === typeof input.maxLines || $guard(_exceptionable, {
|
|
1548
|
+
path: _path + ".maxLines",
|
|
1549
|
+
expected: "number",
|
|
1550
|
+
value: input.maxLines
|
|
1551
|
+
}, errorFactory)) && ("string" === typeof input.mode || $guard(_exceptionable, {
|
|
1552
|
+
path: _path + ".mode",
|
|
1553
|
+
expected: "string",
|
|
1554
|
+
value: input.mode
|
|
1555
|
+
}, errorFactory));
|
|
1556
|
+
const $ao30 = (input, _path, _exceptionable = true) => ("object" === typeof input.search && null !== input.search || $guard(_exceptionable, {
|
|
1557
|
+
path: _path + ".search",
|
|
1558
|
+
expected: "__type.o27",
|
|
1559
|
+
value: input.search
|
|
1560
|
+
}, errorFactory)) && $ao31(input.search, _path + ".search", true && _exceptionable) || $guard(_exceptionable, {
|
|
1561
|
+
path: _path + ".search",
|
|
1562
|
+
expected: "__type.o27",
|
|
1563
|
+
value: input.search
|
|
1564
|
+
}, errorFactory);
|
|
1565
|
+
const $ao31 = (input, _path, _exceptionable = true) => "number" === typeof input.maxItemsDisplayed || $guard(_exceptionable, {
|
|
1566
|
+
path: _path + ".maxItemsDisplayed",
|
|
1567
|
+
expected: "number",
|
|
1568
|
+
value: input.maxItemsDisplayed
|
|
1569
|
+
}, errorFactory);
|
|
1570
|
+
const $ao32 = (input, _path, _exceptionable = true) => "number" === typeof input.maxHeight || $guard(_exceptionable, {
|
|
1571
|
+
path: _path + ".maxHeight",
|
|
1572
|
+
expected: "number",
|
|
1573
|
+
value: input.maxHeight
|
|
1574
|
+
}, errorFactory);
|
|
1575
|
+
const $ao33 = (input, _path, _exceptionable = true) => ("object" === typeof input.adobe && null !== input.adobe || $guard(_exceptionable, {
|
|
1576
|
+
path: _path + ".adobe",
|
|
1577
|
+
expected: "__type.o30",
|
|
1578
|
+
value: input.adobe
|
|
1579
|
+
}, errorFactory)) && $ao34(input.adobe, _path + ".adobe", true && _exceptionable) || $guard(_exceptionable, {
|
|
1580
|
+
path: _path + ".adobe",
|
|
1581
|
+
expected: "__type.o30",
|
|
1582
|
+
value: input.adobe
|
|
1583
|
+
}, errorFactory);
|
|
1584
|
+
const $ao34 = (input, _path, _exceptionable = true) => "boolean" === typeof input.useProxies || $guard(_exceptionable, {
|
|
1585
|
+
path: _path + ".useProxies",
|
|
1586
|
+
expected: "boolean",
|
|
1587
|
+
value: input.useProxies
|
|
1588
|
+
}, errorFactory);
|
|
1589
|
+
const $ao35 = (input, _path, _exceptionable = true) => ("boolean" === typeof input.utils || $guard(_exceptionable, {
|
|
1590
|
+
path: _path + ".utils",
|
|
1591
|
+
expected: "boolean",
|
|
1592
|
+
value: input.utils
|
|
1593
|
+
}, errorFactory)) && ("boolean" === typeof input.history || $guard(_exceptionable, {
|
|
1594
|
+
path: _path + ".history",
|
|
1595
|
+
expected: "boolean",
|
|
1596
|
+
value: input.history
|
|
1597
|
+
}, errorFactory)) && ("boolean" === typeof input.refs || $guard(_exceptionable, {
|
|
1598
|
+
path: _path + ".refs",
|
|
1599
|
+
expected: "boolean",
|
|
1600
|
+
value: input.refs
|
|
1601
|
+
}, errorFactory)) && ("boolean" === typeof input.access || $guard(_exceptionable, {
|
|
1602
|
+
path: _path + ".access",
|
|
1603
|
+
expected: "boolean",
|
|
1604
|
+
value: input.access
|
|
1605
|
+
}, errorFactory)) && ("boolean" === typeof input.files || $guard(_exceptionable, {
|
|
1606
|
+
path: _path + ".files",
|
|
1607
|
+
expected: "boolean",
|
|
1608
|
+
value: input.files
|
|
1609
|
+
}, errorFactory)) && ("boolean" === typeof input["export"] || $guard(_exceptionable, {
|
|
1610
|
+
path: _path + "[\"export\"]",
|
|
1611
|
+
expected: "boolean",
|
|
1612
|
+
value: input["export"]
|
|
1613
|
+
}, errorFactory)) && ("boolean" === typeof input.json || $guard(_exceptionable, {
|
|
1614
|
+
path: _path + ".json",
|
|
1615
|
+
expected: "boolean",
|
|
1616
|
+
value: input.json
|
|
1617
|
+
}, errorFactory)) && ("boolean" === typeof input.hlsjs || $guard(_exceptionable, {
|
|
1618
|
+
path: _path + ".hlsjs",
|
|
1619
|
+
expected: "boolean",
|
|
1620
|
+
value: input.hlsjs
|
|
1621
|
+
}, errorFactory));
|
|
1622
|
+
return ("object" === typeof input && null !== input || $guard(true, {
|
|
1623
|
+
path: _path + "",
|
|
1624
|
+
expected: "Settings",
|
|
1625
|
+
value: input
|
|
1626
|
+
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
1627
|
+
path: _path + "",
|
|
1628
|
+
expected: "Settings",
|
|
1629
|
+
value: input
|
|
1630
|
+
}, errorFactory);
|
|
1631
|
+
})(input, "$input", true);
|
|
1632
|
+
};
|
|
1633
|
+
export const stringifySettings = input => {
|
|
1634
|
+
const $io1 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io2(input.tabs);
|
|
1635
|
+
const $io2 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && $io3(input.settingsPanelStore)) && Object.keys(input).every(key => {
|
|
1636
|
+
if (["settingsPanelStore"].some(prop => key === prop))
|
|
1637
|
+
return true;
|
|
1638
|
+
const value = input[key];
|
|
1639
|
+
if (undefined === value)
|
|
1640
|
+
return true;
|
|
1641
|
+
return "object" === typeof value && null !== value && $io4(value);
|
|
1642
|
+
});
|
|
1643
|
+
const $io3 = input => "string" === typeof input.activeTab && (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex);
|
|
1644
|
+
const $io4 = input => "string" === typeof input.activeTab;
|
|
1645
|
+
const $io5 = input => "object" === typeof input.createMenu && null !== input.createMenu && $io6(input.createMenu);
|
|
1646
|
+
const $io6 = input => Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem);
|
|
1647
|
+
const $io7 = input => Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem);
|
|
1648
|
+
const $io8 = input => Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
1649
|
+
const $io9 = input => Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
1650
|
+
const $io10 = input => "boolean" === typeof input.enable && "boolean" === typeof input.show24Hours && "boolean" === typeof input.showAmPm && "boolean" === typeof input.showSeconds && "boolean" === typeof input.showDayOfWeek && "boolean" === typeof input.showDate && (undefined === input.format || "string" === typeof input.format);
|
|
1651
|
+
const $io11 = input => "string" === typeof input.color;
|
|
1652
|
+
const $io12 = input => "number" === typeof input.maxMru && "number" === typeof input.maxTabs;
|
|
1653
|
+
const $io13 = input => "object" === typeof input.createMenu && null !== input.createMenu && $io14(input.createMenu);
|
|
1654
|
+
const $io14 = input => "boolean" === typeof input.showPreview;
|
|
1655
|
+
const $io15 = input => "boolean" === typeof input.eventThumbnails;
|
|
1656
|
+
const $io16 = input => "boolean" === typeof input.dimOnBlur;
|
|
1657
|
+
const $io17 = input => (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io18(input.guide)) && "number" === typeof input.stepManyFrames && "number" === typeof input.liveZoomDuration && "string" === typeof input.importTitleTemplate && ("object" === typeof input.tile && null !== input.tile && $io19(input.tile)) && "string" === typeof input.timecodeReference && "number" === typeof input.maxSubclipDuration && "number" === typeof input.rewindStep && "number" === typeof input.forwardStep && "string" === typeof input.interlacedPlayback && (Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && ("object" === typeof input.subtitles && null !== input.subtitles && $io20(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && "string" === typeof input.initialVolume && (Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io21(elem))) && "boolean" === typeof input.download && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io22(input.transcribe));
|
|
1658
|
+
const $io18 = input => undefined === input.mask || "boolean" === typeof input.mask;
|
|
1659
|
+
const $io19 = input => "string" === typeof input.preview && "boolean" === typeof input.showRenderProgress;
|
|
1660
|
+
const $io20 = input => "number" === typeof input.spacing && "number" === typeof input.maxCharactersPerLine;
|
|
1661
|
+
const $io21 = input => "string" === typeof input.label && "string" === typeof input.aspectRatio;
|
|
1662
|
+
const $io22 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && $io23(input.subtitleDisclaimer);
|
|
1663
|
+
const $io23 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io24(input.defaultValue));
|
|
1664
|
+
const $io24 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io25(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
|
|
1665
|
+
const $io25 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
1666
|
+
const $io26 = input => "object" === typeof input.assets && null !== input.assets && $io27(input.assets) && ("object" === typeof input.pipeline && null !== input.pipeline && $io30(input.pipeline)) && ("object" === typeof input.item && null !== input.item && $io32(input.item));
|
|
1667
|
+
const $io27 = input => "object" === typeof input.story && null !== input.story && $io28(input.story);
|
|
1668
|
+
const $io28 = input => "object" === typeof input.excerpt && null !== input.excerpt && $io29(input.excerpt);
|
|
1669
|
+
const $io29 = input => "number" === typeof input.maxLines && "string" === typeof input.mode;
|
|
1670
|
+
const $io30 = input => "object" === typeof input.search && null !== input.search && $io31(input.search);
|
|
1671
|
+
const $io31 = input => "number" === typeof input.maxItemsDisplayed;
|
|
1672
|
+
const $io32 = input => "number" === typeof input.maxHeight;
|
|
1673
|
+
const $io33 = input => "object" === typeof input.adobe && null !== input.adobe && $io34(input.adobe);
|
|
1674
|
+
const $io34 = input => "boolean" === typeof input.useProxies;
|
|
1675
|
+
const $io35 = input => "boolean" === typeof input.utils && "boolean" === typeof input.history && "boolean" === typeof input.refs && "boolean" === typeof input.access && "boolean" === typeof input.files && "boolean" === typeof input["export"] && "boolean" === typeof input.json && "boolean" === typeof input.hlsjs;
|
|
1676
|
+
const $string = __typia.json.createStringify.string;
|
|
1677
|
+
const $tail = __typia.json.createStringify.tail;
|
|
1678
|
+
const $so0 = input => `{${undefined === input.module ? "" : `"module":${undefined !== input.module ? $so1(input.module) : undefined},`}${undefined === input.keymap || "function" === typeof input.keymap ? "" : `"keymap":${undefined !== input.keymap ? JSON.stringify(input.keymap) : undefined},`}${undefined === input.predefinedTags ? "" : `"predefinedTags":${undefined !== input.predefinedTags ? `[${input.predefinedTags.map(elem => $string(elem)).join(",")}]` : undefined},`}"browser":${$so5(input.browser)},"toolbarTags":${$so7(input.toolbarTags)},"deadlines":${$so8(input.deadlines)},"assignees":${$so9(input.assignees)},"clock":${$so10(input.clock)},"swarm":${`{"color":${$string(input.swarm.color)}}`},"dashboard":${`{"maxMru":${input.dashboard.maxMru},"maxTabs":${input.dashboard.maxTabs}}`},"script":${$so13(input.script)},"rundown":${`{"eventThumbnails":${input.rundown.eventThumbnails}}`},"gallery":${`{"dimOnBlur":${input.gallery.dimOnBlur}}`},"history":${input.history},"media":${$so17(input.media)},"storyboard":${$so26(input.storyboard)},"plugins":${$so33(input.plugins)},"crashScreen":${input.crashScreen},"debug":${input.debug},"flags":${`{"utils":${input.flags.utils},"history":${input.flags.history},"refs":${input.flags.refs},"access":${input.flags.access},"files":${input.flags.files},"export":${input.flags["export"]},"json":${input.flags.json},"hlsjs":${input.flags.hlsjs}}`}}`;
|
|
1679
|
+
const $so1 = input => `{${$tail(`${undefined === input.tabs ? "" : `"tabs":${undefined !== input.tabs ? $so2(input.tabs) : undefined}`}`)}}`;
|
|
1680
|
+
const $so2 = input => `{${$tail(`${undefined === input.settingsPanelStore ? "" : `"settingsPanelStore":${undefined !== input.settingsPanelStore ? $so3(input.settingsPanelStore) : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
1681
|
+
return ""; if (["settingsPanelStore"].some(regular => regular === key))
|
|
1682
|
+
return ""; return `${JSON.stringify(key)}:${`{"activeTab":${$string(value.activeTab)}}`}`; }).filter(str => "" !== str).join(",")}`)}}`;
|
|
1683
|
+
const $so3 = input => `{${undefined === input.activeSectionIndex ? "" : `"activeSectionIndex":${undefined !== input.activeSectionIndex ? input.activeSectionIndex : undefined},`}"activeTab":${$string(input.activeTab)}}`;
|
|
1684
|
+
const $so5 = input => `{"createMenu":${$so6(input.createMenu)}}`;
|
|
1685
|
+
const $so6 = input => `{"sortOrder":${`[${input.sortOrder.map(elem => $string(elem)).join(",")}]`}}`;
|
|
1686
|
+
const $so7 = input => `{"exclude":${`[${input.exclude.map(elem => $string(elem)).join(",")}]`}}`;
|
|
1687
|
+
const $so8 = input => `{"include":${`[${input.include.map(elem => $string(elem)).join(",")}]`}}`;
|
|
1688
|
+
const $so9 = input => `{"include":${`[${input.include.map(elem => $string(elem)).join(",")}]`}}`;
|
|
1689
|
+
const $so10 = input => `{${undefined === input.format ? "" : `"format":${undefined !== input.format ? $string(input.format) : undefined},`}"enable":${input.enable},"show24Hours":${input.show24Hours},"showAmPm":${input.showAmPm},"showSeconds":${input.showSeconds},"showDayOfWeek":${input.showDayOfWeek},"showDate":${input.showDate}}`;
|
|
1690
|
+
const $so13 = input => `{"createMenu":${`{"showPreview":${input.createMenu.showPreview}}`}}`;
|
|
1691
|
+
const $so17 = input => `{${undefined === input.guide ? "" : `"guide":${undefined !== input.guide ? $so18(input.guide) : undefined},`}${undefined === input.subtitleTemplateId ? "" : `"subtitleTemplateId":${undefined !== input.subtitleTemplateId ? $string(input.subtitleTemplateId) : undefined},`}${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? $so22(input.transcribe) : undefined},`}"stepManyFrames":${input.stepManyFrames},"liveZoomDuration":${input.liveZoomDuration},"importTitleTemplate":${$string(input.importTitleTemplate)},"tile":${`{"preview":${$string(input.tile.preview)},"showRenderProgress":${input.tile.showRenderProgress}}`},"timecodeReference":${$string(input.timecodeReference)},"maxSubclipDuration":${input.maxSubclipDuration},"rewindStep":${input.rewindStep},"forwardStep":${input.forwardStep},"interlacedPlayback":${$string(input.interlacedPlayback)},"playbackRates":${`[${input.playbackRates.map(elem => elem).join(",")}]`},"subtitles":${`{"spacing":${input.subtitles.spacing},"maxCharactersPerLine":${input.subtitles.maxCharactersPerLine}}`},"initialVolume":${$string(input.initialVolume)},"guides":${`[${input.guides.map(elem => `{"label":${$string(elem.label)},"aspectRatio":${$string(elem.aspectRatio)}}`).join(",")}]`},"download":${input.download}}`;
|
|
1692
|
+
const $so18 = input => `{${$tail(`${undefined === input.mask ? "" : `"mask":${undefined !== input.mask ? input.mask : undefined}`}`)}}`;
|
|
1693
|
+
const $so22 = input => `{${$tail(`${undefined === input.subtitleDisclaimer ? "" : `"subtitleDisclaimer":${undefined !== input.subtitleDisclaimer ? $so23(input.subtitleDisclaimer) : undefined}`}`)}}`;
|
|
1694
|
+
const $so23 = input => `{${$tail(`${undefined === input.isUserConfigurable ? "" : `"isUserConfigurable":${undefined !== input.isUserConfigurable ? input.isUserConfigurable : undefined},`}${undefined === input.defaultValue ? "" : `"defaultValue":${undefined !== input.defaultValue ? $so24(input.defaultValue) : undefined}`}`)}}`;
|
|
1695
|
+
const $so24 = input => `{${$tail(`${undefined === input.enabled ? "" : `"enabled":${undefined !== input.enabled ? input.enabled : undefined},`}${undefined === input.text ? "" : `"text":${undefined !== input.text ? `[${input.text.map(elem => `{"language":${$string(elem.language)},"value":${$string(elem.value)}}`).join(",")}]` : undefined},`}${undefined === input.offset ? "" : `"offset":${undefined !== input.offset ? input.offset : undefined},`}${undefined === input.duration ? "" : `"duration":${undefined !== input.duration ? input.duration : undefined}`}`)}}`;
|
|
1696
|
+
const $so26 = input => `{"assets":${$so27(input.assets)},"pipeline":${$so30(input.pipeline)},"item":${`{"maxHeight":${input.item.maxHeight}}`}}`;
|
|
1697
|
+
const $so27 = input => `{"story":${$so28(input.story)}}`;
|
|
1698
|
+
const $so28 = input => `{"excerpt":${`{"maxLines":${input.excerpt.maxLines},"mode":${$string(input.excerpt.mode)}}`}}`;
|
|
1699
|
+
const $so30 = input => `{"search":${`{"maxItemsDisplayed":${input.search.maxItemsDisplayed}}`}}`;
|
|
1700
|
+
const $so33 = input => `{"adobe":${`{"useProxies":${input.adobe.useProxies}}`}}`;
|
|
1701
|
+
return $so0(input);
|
|
1702
|
+
};
|
|
1703
|
+
export const assertStringifySettings = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
1704
|
+
const __is = input => {
|
|
1705
|
+
const $io0 = input => (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io1(input.module)) && ("object" === typeof input.browser && null !== input.browser && $io5(input.browser)) && ("object" === typeof input.toolbarTags && null !== input.toolbarTags && $io7(input.toolbarTags)) && ("object" === typeof input.deadlines && null !== input.deadlines && $io8(input.deadlines)) && ("object" === typeof input.assignees && null !== input.assignees && $io9(input.assignees)) && ("object" === typeof input.clock && null !== input.clock && $io10(input.clock)) && ("object" === typeof input.swarm && null !== input.swarm && "string" === typeof input.swarm.color) && ("object" === typeof input.dashboard && null !== input.dashboard && ("number" === typeof input.dashboard.maxMru && !Number.isNaN(input.dashboard.maxMru) && ("number" === typeof input.dashboard.maxTabs && !Number.isNaN(input.dashboard.maxTabs)))) && ("object" === typeof input.script && null !== input.script && $io13(input.script)) && ("object" === typeof input.rundown && null !== input.rundown && "boolean" === typeof input.rundown.eventThumbnails) && ("object" === typeof input.gallery && null !== input.gallery && "boolean" === typeof input.gallery.dimOnBlur) && "boolean" === typeof input.history && true && ("object" === typeof input.media && null !== input.media && $io17(input.media)) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && ("object" === typeof input.storyboard && null !== input.storyboard && $io26(input.storyboard)) && ("object" === typeof input.plugins && null !== input.plugins && $io33(input.plugins)) && "boolean" === typeof input.crashScreen && "boolean" === typeof input.debug && ("object" === typeof input.flags && null !== input.flags && ("boolean" === typeof input.flags.utils && "boolean" === typeof input.flags.history && "boolean" === typeof input.flags.refs && "boolean" === typeof input.flags.access && "boolean" === typeof input.flags.files && "boolean" === typeof input.flags["export"] && "boolean" === typeof input.flags.json && "boolean" === typeof input.flags.hlsjs));
|
|
1706
|
+
const $io1 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io2(input.tabs);
|
|
1707
|
+
const $io2 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && $io3(input.settingsPanelStore)) && Object.keys(input).every(key => {
|
|
1708
|
+
if (["settingsPanelStore"].some(prop => key === prop))
|
|
1709
|
+
return true;
|
|
1710
|
+
const value = input[key];
|
|
1711
|
+
if (undefined === value)
|
|
1712
|
+
return true;
|
|
1713
|
+
return "object" === typeof value && null !== value && "string" === typeof value.activeTab;
|
|
1714
|
+
});
|
|
1715
|
+
const $io3 = input => "string" === typeof input.activeTab && (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex && !Number.isNaN(input.activeSectionIndex));
|
|
1716
|
+
const $io5 = input => "object" === typeof input.createMenu && null !== input.createMenu && $io6(input.createMenu);
|
|
1717
|
+
const $io6 = input => Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem);
|
|
1718
|
+
const $io7 = input => Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem);
|
|
1719
|
+
const $io8 = input => Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
1720
|
+
const $io9 = input => Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
1721
|
+
const $io10 = input => "boolean" === typeof input.enable && "boolean" === typeof input.show24Hours && "boolean" === typeof input.showAmPm && "boolean" === typeof input.showSeconds && "boolean" === typeof input.showDayOfWeek && "boolean" === typeof input.showDate && (undefined === input.format || "string" === typeof input.format);
|
|
1722
|
+
const $io13 = input => "object" === typeof input.createMenu && null !== input.createMenu && "boolean" === typeof input.createMenu.showPreview;
|
|
1723
|
+
const $io17 = input => (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io18(input.guide)) && ("number" === typeof input.stepManyFrames && !Number.isNaN(input.stepManyFrames)) && ("number" === typeof input.liveZoomDuration && !Number.isNaN(input.liveZoomDuration)) && "string" === typeof input.importTitleTemplate && ("object" === typeof input.tile && null !== input.tile && ("string" === typeof input.tile.preview && "boolean" === typeof input.tile.showRenderProgress)) && "string" === typeof input.timecodeReference && ("number" === typeof input.maxSubclipDuration && !Number.isNaN(input.maxSubclipDuration)) && ("number" === typeof input.rewindStep && !Number.isNaN(input.rewindStep)) && ("number" === typeof input.forwardStep && !Number.isNaN(input.forwardStep)) && "string" === typeof input.interlacedPlayback && (Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem && !Number.isNaN(elem))) && ("object" === typeof input.subtitles && null !== input.subtitles && ("number" === typeof input.subtitles.spacing && !Number.isNaN(input.subtitles.spacing) && ("number" === typeof input.subtitles.maxCharactersPerLine && !Number.isNaN(input.subtitles.maxCharactersPerLine)))) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && "string" === typeof input.initialVolume && (Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io21(elem))) && "boolean" === typeof input.download && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io22(input.transcribe));
|
|
1724
|
+
const $io18 = input => undefined === input.mask || "boolean" === typeof input.mask;
|
|
1725
|
+
const $io21 = input => "string" === typeof input.label && "string" === typeof input.aspectRatio;
|
|
1726
|
+
const $io22 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && $io23(input.subtitleDisclaimer);
|
|
1727
|
+
const $io23 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io24(input.defaultValue));
|
|
1728
|
+
const $io24 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io25(elem))) && (undefined === input.offset || "number" === typeof input.offset && !Number.isNaN(input.offset)) && (undefined === input.duration || "number" === typeof input.duration && !Number.isNaN(input.duration));
|
|
1729
|
+
const $io25 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
1730
|
+
const $io26 = input => "object" === typeof input.assets && null !== input.assets && $io27(input.assets) && ("object" === typeof input.pipeline && null !== input.pipeline && $io30(input.pipeline)) && ("object" === typeof input.item && null !== input.item && ("number" === typeof input.item.maxHeight && !Number.isNaN(input.item.maxHeight)));
|
|
1731
|
+
const $io27 = input => "object" === typeof input.story && null !== input.story && $io28(input.story);
|
|
1732
|
+
const $io28 = input => "object" === typeof input.excerpt && null !== input.excerpt && ("number" === typeof input.excerpt.maxLines && !Number.isNaN(input.excerpt.maxLines) && "string" === typeof input.excerpt.mode);
|
|
1733
|
+
const $io30 = input => "object" === typeof input.search && null !== input.search && ("number" === typeof input.search.maxItemsDisplayed && !Number.isNaN(input.search.maxItemsDisplayed));
|
|
1734
|
+
const $io33 = input => "object" === typeof input.adobe && null !== input.adobe && "boolean" === typeof input.adobe.useProxies;
|
|
1735
|
+
return "object" === typeof input && null !== input && $io0(input);
|
|
1736
|
+
};
|
|
1737
|
+
if (false === __is(input))
|
|
1738
|
+
((input, _path, _exceptionable = true) => {
|
|
1739
|
+
const $guard = __typia.json.createAssertStringify.guard;
|
|
1740
|
+
const $join = __typia.json.createAssertStringify.join;
|
|
1741
|
+
const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.module || ("object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) || $guard(_exceptionable, {
|
|
1742
|
+
path: _path + ".module",
|
|
1743
|
+
expected: "(__type | undefined)",
|
|
1744
|
+
value: input.module
|
|
1745
|
+
}, errorFactory)) && $ao1(input.module, _path + ".module", true && _exceptionable) || $guard(_exceptionable, {
|
|
1746
|
+
path: _path + ".module",
|
|
1747
|
+
expected: "(__type | undefined)",
|
|
1748
|
+
value: input.module
|
|
1749
|
+
}, errorFactory)) && (("object" === typeof input.browser && null !== input.browser || $guard(_exceptionable, {
|
|
1750
|
+
path: _path + ".browser",
|
|
1751
|
+
expected: "__type.o1",
|
|
1752
|
+
value: input.browser
|
|
1753
|
+
}, errorFactory)) && $ao5(input.browser, _path + ".browser", true && _exceptionable) || $guard(_exceptionable, {
|
|
1754
|
+
path: _path + ".browser",
|
|
1755
|
+
expected: "__type.o1",
|
|
1756
|
+
value: input.browser
|
|
1757
|
+
}, errorFactory)) && (("object" === typeof input.toolbarTags && null !== input.toolbarTags || $guard(_exceptionable, {
|
|
1758
|
+
path: _path + ".toolbarTags",
|
|
1759
|
+
expected: "__type.o3",
|
|
1760
|
+
value: input.toolbarTags
|
|
1761
|
+
}, errorFactory)) && $ao7(input.toolbarTags, _path + ".toolbarTags", true && _exceptionable) || $guard(_exceptionable, {
|
|
1762
|
+
path: _path + ".toolbarTags",
|
|
1763
|
+
expected: "__type.o3",
|
|
1764
|
+
value: input.toolbarTags
|
|
1765
|
+
}, errorFactory)) && (("object" === typeof input.deadlines && null !== input.deadlines || $guard(_exceptionable, {
|
|
1766
|
+
path: _path + ".deadlines",
|
|
1767
|
+
expected: "__type.o4",
|
|
1768
|
+
value: input.deadlines
|
|
1769
|
+
}, errorFactory)) && $ao8(input.deadlines, _path + ".deadlines", true && _exceptionable) || $guard(_exceptionable, {
|
|
1770
|
+
path: _path + ".deadlines",
|
|
1771
|
+
expected: "__type.o4",
|
|
1772
|
+
value: input.deadlines
|
|
1773
|
+
}, errorFactory)) && (("object" === typeof input.assignees && null !== input.assignees || $guard(_exceptionable, {
|
|
1774
|
+
path: _path + ".assignees",
|
|
1775
|
+
expected: "__type.o5",
|
|
1776
|
+
value: input.assignees
|
|
1777
|
+
}, errorFactory)) && $ao9(input.assignees, _path + ".assignees", true && _exceptionable) || $guard(_exceptionable, {
|
|
1778
|
+
path: _path + ".assignees",
|
|
1779
|
+
expected: "__type.o5",
|
|
1780
|
+
value: input.assignees
|
|
1781
|
+
}, errorFactory)) && (("object" === typeof input.clock && null !== input.clock || $guard(_exceptionable, {
|
|
1782
|
+
path: _path + ".clock",
|
|
1783
|
+
expected: "__type.o6",
|
|
1784
|
+
value: input.clock
|
|
1785
|
+
}, errorFactory)) && $ao10(input.clock, _path + ".clock", true && _exceptionable) || $guard(_exceptionable, {
|
|
1786
|
+
path: _path + ".clock",
|
|
1787
|
+
expected: "__type.o6",
|
|
1788
|
+
value: input.clock
|
|
1789
|
+
}, errorFactory)) && (("object" === typeof input.swarm && null !== input.swarm || $guard(_exceptionable, {
|
|
1790
|
+
path: _path + ".swarm",
|
|
1791
|
+
expected: "__type.o7",
|
|
1792
|
+
value: input.swarm
|
|
1793
|
+
}, errorFactory)) && $ao11(input.swarm, _path + ".swarm", true && _exceptionable) || $guard(_exceptionable, {
|
|
1794
|
+
path: _path + ".swarm",
|
|
1795
|
+
expected: "__type.o7",
|
|
1796
|
+
value: input.swarm
|
|
1797
|
+
}, errorFactory)) && (("object" === typeof input.dashboard && null !== input.dashboard || $guard(_exceptionable, {
|
|
1798
|
+
path: _path + ".dashboard",
|
|
1799
|
+
expected: "__type.o8",
|
|
1800
|
+
value: input.dashboard
|
|
1801
|
+
}, errorFactory)) && $ao12(input.dashboard, _path + ".dashboard", true && _exceptionable) || $guard(_exceptionable, {
|
|
1802
|
+
path: _path + ".dashboard",
|
|
1803
|
+
expected: "__type.o8",
|
|
1804
|
+
value: input.dashboard
|
|
1805
|
+
}, errorFactory)) && (("object" === typeof input.script && null !== input.script || $guard(_exceptionable, {
|
|
1806
|
+
path: _path + ".script",
|
|
1807
|
+
expected: "__type.o9",
|
|
1808
|
+
value: input.script
|
|
1809
|
+
}, errorFactory)) && $ao13(input.script, _path + ".script", true && _exceptionable) || $guard(_exceptionable, {
|
|
1810
|
+
path: _path + ".script",
|
|
1811
|
+
expected: "__type.o9",
|
|
1812
|
+
value: input.script
|
|
1813
|
+
}, errorFactory)) && (("object" === typeof input.rundown && null !== input.rundown || $guard(_exceptionable, {
|
|
1814
|
+
path: _path + ".rundown",
|
|
1815
|
+
expected: "__type.o11",
|
|
1816
|
+
value: input.rundown
|
|
1817
|
+
}, errorFactory)) && $ao15(input.rundown, _path + ".rundown", true && _exceptionable) || $guard(_exceptionable, {
|
|
1818
|
+
path: _path + ".rundown",
|
|
1819
|
+
expected: "__type.o11",
|
|
1820
|
+
value: input.rundown
|
|
1821
|
+
}, errorFactory)) && (("object" === typeof input.gallery && null !== input.gallery || $guard(_exceptionable, {
|
|
1822
|
+
path: _path + ".gallery",
|
|
1823
|
+
expected: "__type.o12",
|
|
1824
|
+
value: input.gallery
|
|
1825
|
+
}, errorFactory)) && $ao16(input.gallery, _path + ".gallery", true && _exceptionable) || $guard(_exceptionable, {
|
|
1826
|
+
path: _path + ".gallery",
|
|
1827
|
+
expected: "__type.o12",
|
|
1828
|
+
value: input.gallery
|
|
1829
|
+
}, errorFactory)) && ("boolean" === typeof input.history || $guard(_exceptionable, {
|
|
1830
|
+
path: _path + ".history",
|
|
1831
|
+
expected: "boolean",
|
|
1832
|
+
value: input.history
|
|
1833
|
+
}, errorFactory)) && true && (("object" === typeof input.media && null !== input.media || $guard(_exceptionable, {
|
|
1834
|
+
path: _path + ".media",
|
|
1835
|
+
expected: "__type.o13",
|
|
1836
|
+
value: input.media
|
|
1837
|
+
}, errorFactory)) && $ao17(input.media, _path + ".media", true && _exceptionable) || $guard(_exceptionable, {
|
|
1838
|
+
path: _path + ".media",
|
|
1839
|
+
expected: "__type.o13",
|
|
1840
|
+
value: input.media
|
|
1841
|
+
}, errorFactory)) && (undefined === input.predefinedTags || (Array.isArray(input.predefinedTags) || $guard(_exceptionable, {
|
|
1842
|
+
path: _path + ".predefinedTags",
|
|
1843
|
+
expected: "(Array<string> | undefined)",
|
|
1844
|
+
value: input.predefinedTags
|
|
1845
|
+
}, errorFactory)) && input.predefinedTags.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
|
|
1846
|
+
path: _path + ".predefinedTags[" + _index1 + "]",
|
|
1847
|
+
expected: "string",
|
|
1848
|
+
value: elem
|
|
1849
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
1850
|
+
path: _path + ".predefinedTags",
|
|
1851
|
+
expected: "(Array<string> | undefined)",
|
|
1852
|
+
value: input.predefinedTags
|
|
1853
|
+
}, errorFactory)) && (("object" === typeof input.storyboard && null !== input.storyboard || $guard(_exceptionable, {
|
|
1854
|
+
path: _path + ".storyboard",
|
|
1855
|
+
expected: "__type.o22",
|
|
1856
|
+
value: input.storyboard
|
|
1857
|
+
}, errorFactory)) && $ao26(input.storyboard, _path + ".storyboard", true && _exceptionable) || $guard(_exceptionable, {
|
|
1858
|
+
path: _path + ".storyboard",
|
|
1859
|
+
expected: "__type.o22",
|
|
1860
|
+
value: input.storyboard
|
|
1861
|
+
}, errorFactory)) && (("object" === typeof input.plugins && null !== input.plugins || $guard(_exceptionable, {
|
|
1862
|
+
path: _path + ".plugins",
|
|
1863
|
+
expected: "__type.o29",
|
|
1864
|
+
value: input.plugins
|
|
1865
|
+
}, errorFactory)) && $ao33(input.plugins, _path + ".plugins", true && _exceptionable) || $guard(_exceptionable, {
|
|
1866
|
+
path: _path + ".plugins",
|
|
1867
|
+
expected: "__type.o29",
|
|
1868
|
+
value: input.plugins
|
|
1869
|
+
}, errorFactory)) && ("boolean" === typeof input.crashScreen || $guard(_exceptionable, {
|
|
1870
|
+
path: _path + ".crashScreen",
|
|
1871
|
+
expected: "boolean",
|
|
1872
|
+
value: input.crashScreen
|
|
1873
|
+
}, errorFactory)) && ("boolean" === typeof input.debug || $guard(_exceptionable, {
|
|
1874
|
+
path: _path + ".debug",
|
|
1875
|
+
expected: "boolean",
|
|
1876
|
+
value: input.debug
|
|
1877
|
+
}, errorFactory)) && (("object" === typeof input.flags && null !== input.flags || $guard(_exceptionable, {
|
|
1878
|
+
path: _path + ".flags",
|
|
1879
|
+
expected: "__type.o31",
|
|
1880
|
+
value: input.flags
|
|
1881
|
+
}, errorFactory)) && $ao35(input.flags, _path + ".flags", true && _exceptionable) || $guard(_exceptionable, {
|
|
1882
|
+
path: _path + ".flags",
|
|
1883
|
+
expected: "__type.o31",
|
|
1884
|
+
value: input.flags
|
|
1885
|
+
}, errorFactory));
|
|
1886
|
+
const $ao1 = (input, _path, _exceptionable = true) => undefined === input.tabs || ("object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) || $guard(_exceptionable, {
|
|
1887
|
+
path: _path + ".tabs",
|
|
1888
|
+
expected: "(Record<string, ModuleTabsSettingsValue> & { settingsPanelStore?: (ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }) | undefined; } | undefined)",
|
|
1889
|
+
value: input.tabs
|
|
1890
|
+
}, errorFactory)) && $ao2(input.tabs, _path + ".tabs", true && _exceptionable) || $guard(_exceptionable, {
|
|
1891
|
+
path: _path + ".tabs",
|
|
1892
|
+
expected: "(Record<string, ModuleTabsSettingsValue> & { settingsPanelStore?: (ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }) | undefined; } | undefined)",
|
|
1893
|
+
value: input.tabs
|
|
1894
|
+
}, errorFactory);
|
|
1895
|
+
const $ao2 = (input, _path, _exceptionable = true) => (undefined === input.settingsPanelStore || ("object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore || $guard(_exceptionable, {
|
|
1896
|
+
path: _path + ".settingsPanelStore",
|
|
1897
|
+
expected: "(ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; } | undefined)",
|
|
1898
|
+
value: input.settingsPanelStore
|
|
1899
|
+
}, errorFactory)) && $ao3(input.settingsPanelStore, _path + ".settingsPanelStore", true && _exceptionable) || $guard(_exceptionable, {
|
|
1900
|
+
path: _path + ".settingsPanelStore",
|
|
1901
|
+
expected: "(ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; } | undefined)",
|
|
1902
|
+
value: input.settingsPanelStore
|
|
1903
|
+
}, errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
|
|
1904
|
+
if (["settingsPanelStore"].some(prop => key === prop))
|
|
1905
|
+
return true;
|
|
1906
|
+
const value = input[key];
|
|
1907
|
+
if (undefined === value)
|
|
1908
|
+
return true;
|
|
1909
|
+
return ("object" === typeof value && null !== value || $guard(_exceptionable, {
|
|
1910
|
+
path: _path + $join(key),
|
|
1911
|
+
expected: "ModuleTabsSettingsValue",
|
|
1912
|
+
value: value
|
|
1913
|
+
}, errorFactory)) && $ao4(value, _path + $join(key), true && _exceptionable) || $guard(_exceptionable, {
|
|
1914
|
+
path: _path + $join(key),
|
|
1915
|
+
expected: "ModuleTabsSettingsValue",
|
|
1916
|
+
value: value
|
|
1917
|
+
}, errorFactory);
|
|
1918
|
+
}));
|
|
1919
|
+
const $ao3 = (input, _path, _exceptionable = true) => ("string" === typeof input.activeTab || $guard(_exceptionable, {
|
|
1920
|
+
path: _path + ".activeTab",
|
|
1921
|
+
expected: "string",
|
|
1922
|
+
value: input.activeTab
|
|
1923
|
+
}, errorFactory)) && (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex && !Number.isNaN(input.activeSectionIndex) || $guard(_exceptionable, {
|
|
1924
|
+
path: _path + ".activeSectionIndex",
|
|
1925
|
+
expected: "(number | undefined)",
|
|
1926
|
+
value: input.activeSectionIndex
|
|
1927
|
+
}, errorFactory));
|
|
1928
|
+
const $ao4 = (input, _path, _exceptionable = true) => "string" === typeof input.activeTab || $guard(_exceptionable, {
|
|
1929
|
+
path: _path + ".activeTab",
|
|
1930
|
+
expected: "string",
|
|
1931
|
+
value: input.activeTab
|
|
1932
|
+
}, errorFactory);
|
|
1933
|
+
const $ao5 = (input, _path, _exceptionable = true) => ("object" === typeof input.createMenu && null !== input.createMenu || $guard(_exceptionable, {
|
|
1934
|
+
path: _path + ".createMenu",
|
|
1935
|
+
expected: "__type.o2",
|
|
1936
|
+
value: input.createMenu
|
|
1937
|
+
}, errorFactory)) && $ao6(input.createMenu, _path + ".createMenu", true && _exceptionable) || $guard(_exceptionable, {
|
|
1938
|
+
path: _path + ".createMenu",
|
|
1939
|
+
expected: "__type.o2",
|
|
1940
|
+
value: input.createMenu
|
|
1941
|
+
}, errorFactory);
|
|
1942
|
+
const $ao6 = (input, _path, _exceptionable = true) => (Array.isArray(input.sortOrder) || $guard(_exceptionable, {
|
|
1943
|
+
path: _path + ".sortOrder",
|
|
1944
|
+
expected: "Array<string>",
|
|
1945
|
+
value: input.sortOrder
|
|
1946
|
+
}, errorFactory)) && input.sortOrder.every((elem, _index2) => "string" === typeof elem || $guard(_exceptionable, {
|
|
1947
|
+
path: _path + ".sortOrder[" + _index2 + "]",
|
|
1948
|
+
expected: "string",
|
|
1949
|
+
value: elem
|
|
1950
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
1951
|
+
path: _path + ".sortOrder",
|
|
1952
|
+
expected: "Array<string>",
|
|
1953
|
+
value: input.sortOrder
|
|
1954
|
+
}, errorFactory);
|
|
1955
|
+
const $ao7 = (input, _path, _exceptionable = true) => (Array.isArray(input.exclude) || $guard(_exceptionable, {
|
|
1956
|
+
path: _path + ".exclude",
|
|
1957
|
+
expected: "Array<string>",
|
|
1958
|
+
value: input.exclude
|
|
1959
|
+
}, errorFactory)) && input.exclude.every((elem, _index3) => "string" === typeof elem || $guard(_exceptionable, {
|
|
1960
|
+
path: _path + ".exclude[" + _index3 + "]",
|
|
1961
|
+
expected: "string",
|
|
1962
|
+
value: elem
|
|
1963
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
1964
|
+
path: _path + ".exclude",
|
|
1965
|
+
expected: "Array<string>",
|
|
1966
|
+
value: input.exclude
|
|
1967
|
+
}, errorFactory);
|
|
1968
|
+
const $ao8 = (input, _path, _exceptionable = true) => (Array.isArray(input.include) || $guard(_exceptionable, {
|
|
1969
|
+
path: _path + ".include",
|
|
1970
|
+
expected: "Array<string>",
|
|
1971
|
+
value: input.include
|
|
1972
|
+
}, errorFactory)) && input.include.every((elem, _index4) => "string" === typeof elem || $guard(_exceptionable, {
|
|
1973
|
+
path: _path + ".include[" + _index4 + "]",
|
|
1974
|
+
expected: "string",
|
|
1975
|
+
value: elem
|
|
1976
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
1977
|
+
path: _path + ".include",
|
|
1978
|
+
expected: "Array<string>",
|
|
1979
|
+
value: input.include
|
|
1980
|
+
}, errorFactory);
|
|
1981
|
+
const $ao9 = (input, _path, _exceptionable = true) => (Array.isArray(input.include) || $guard(_exceptionable, {
|
|
1982
|
+
path: _path + ".include",
|
|
1983
|
+
expected: "Array<string>",
|
|
1984
|
+
value: input.include
|
|
1985
|
+
}, errorFactory)) && input.include.every((elem, _index5) => "string" === typeof elem || $guard(_exceptionable, {
|
|
1986
|
+
path: _path + ".include[" + _index5 + "]",
|
|
1987
|
+
expected: "string",
|
|
1988
|
+
value: elem
|
|
1989
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
1990
|
+
path: _path + ".include",
|
|
1991
|
+
expected: "Array<string>",
|
|
1992
|
+
value: input.include
|
|
1993
|
+
}, errorFactory);
|
|
1994
|
+
const $ao10 = (input, _path, _exceptionable = true) => ("boolean" === typeof input.enable || $guard(_exceptionable, {
|
|
1995
|
+
path: _path + ".enable",
|
|
1996
|
+
expected: "boolean",
|
|
1997
|
+
value: input.enable
|
|
1998
|
+
}, errorFactory)) && ("boolean" === typeof input.show24Hours || $guard(_exceptionable, {
|
|
1999
|
+
path: _path + ".show24Hours",
|
|
2000
|
+
expected: "boolean",
|
|
2001
|
+
value: input.show24Hours
|
|
2002
|
+
}, errorFactory)) && ("boolean" === typeof input.showAmPm || $guard(_exceptionable, {
|
|
2003
|
+
path: _path + ".showAmPm",
|
|
2004
|
+
expected: "boolean",
|
|
2005
|
+
value: input.showAmPm
|
|
2006
|
+
}, errorFactory)) && ("boolean" === typeof input.showSeconds || $guard(_exceptionable, {
|
|
2007
|
+
path: _path + ".showSeconds",
|
|
2008
|
+
expected: "boolean",
|
|
2009
|
+
value: input.showSeconds
|
|
2010
|
+
}, errorFactory)) && ("boolean" === typeof input.showDayOfWeek || $guard(_exceptionable, {
|
|
2011
|
+
path: _path + ".showDayOfWeek",
|
|
2012
|
+
expected: "boolean",
|
|
2013
|
+
value: input.showDayOfWeek
|
|
2014
|
+
}, errorFactory)) && ("boolean" === typeof input.showDate || $guard(_exceptionable, {
|
|
2015
|
+
path: _path + ".showDate",
|
|
2016
|
+
expected: "boolean",
|
|
2017
|
+
value: input.showDate
|
|
2018
|
+
}, errorFactory)) && (undefined === input.format || "string" === typeof input.format || $guard(_exceptionable, {
|
|
2019
|
+
path: _path + ".format",
|
|
2020
|
+
expected: "(string | undefined)",
|
|
2021
|
+
value: input.format
|
|
2022
|
+
}, errorFactory));
|
|
2023
|
+
const $ao11 = (input, _path, _exceptionable = true) => "string" === typeof input.color || $guard(_exceptionable, {
|
|
2024
|
+
path: _path + ".color",
|
|
2025
|
+
expected: "string",
|
|
2026
|
+
value: input.color
|
|
2027
|
+
}, errorFactory);
|
|
2028
|
+
const $ao12 = (input, _path, _exceptionable = true) => ("number" === typeof input.maxMru && !Number.isNaN(input.maxMru) || $guard(_exceptionable, {
|
|
2029
|
+
path: _path + ".maxMru",
|
|
2030
|
+
expected: "number",
|
|
2031
|
+
value: input.maxMru
|
|
2032
|
+
}, errorFactory)) && ("number" === typeof input.maxTabs && !Number.isNaN(input.maxTabs) || $guard(_exceptionable, {
|
|
2033
|
+
path: _path + ".maxTabs",
|
|
2034
|
+
expected: "number",
|
|
2035
|
+
value: input.maxTabs
|
|
2036
|
+
}, errorFactory));
|
|
2037
|
+
const $ao13 = (input, _path, _exceptionable = true) => ("object" === typeof input.createMenu && null !== input.createMenu || $guard(_exceptionable, {
|
|
2038
|
+
path: _path + ".createMenu",
|
|
2039
|
+
expected: "__type.o10",
|
|
2040
|
+
value: input.createMenu
|
|
2041
|
+
}, errorFactory)) && $ao14(input.createMenu, _path + ".createMenu", true && _exceptionable) || $guard(_exceptionable, {
|
|
2042
|
+
path: _path + ".createMenu",
|
|
2043
|
+
expected: "__type.o10",
|
|
2044
|
+
value: input.createMenu
|
|
2045
|
+
}, errorFactory);
|
|
2046
|
+
const $ao14 = (input, _path, _exceptionable = true) => "boolean" === typeof input.showPreview || $guard(_exceptionable, {
|
|
2047
|
+
path: _path + ".showPreview",
|
|
2048
|
+
expected: "boolean",
|
|
2049
|
+
value: input.showPreview
|
|
2050
|
+
}, errorFactory);
|
|
2051
|
+
const $ao15 = (input, _path, _exceptionable = true) => "boolean" === typeof input.eventThumbnails || $guard(_exceptionable, {
|
|
2052
|
+
path: _path + ".eventThumbnails",
|
|
2053
|
+
expected: "boolean",
|
|
2054
|
+
value: input.eventThumbnails
|
|
2055
|
+
}, errorFactory);
|
|
2056
|
+
const $ao16 = (input, _path, _exceptionable = true) => "boolean" === typeof input.dimOnBlur || $guard(_exceptionable, {
|
|
2057
|
+
path: _path + ".dimOnBlur",
|
|
2058
|
+
expected: "boolean",
|
|
2059
|
+
value: input.dimOnBlur
|
|
2060
|
+
}, errorFactory);
|
|
2061
|
+
const $ao17 = (input, _path, _exceptionable = true) => (undefined === input.guide || ("object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) || $guard(_exceptionable, {
|
|
2062
|
+
path: _path + ".guide",
|
|
2063
|
+
expected: "(__type.o14 | undefined)",
|
|
2064
|
+
value: input.guide
|
|
2065
|
+
}, errorFactory)) && $ao18(input.guide, _path + ".guide", true && _exceptionable) || $guard(_exceptionable, {
|
|
2066
|
+
path: _path + ".guide",
|
|
2067
|
+
expected: "(__type.o14 | undefined)",
|
|
2068
|
+
value: input.guide
|
|
2069
|
+
}, errorFactory)) && ("number" === typeof input.stepManyFrames && !Number.isNaN(input.stepManyFrames) || $guard(_exceptionable, {
|
|
2070
|
+
path: _path + ".stepManyFrames",
|
|
2071
|
+
expected: "number",
|
|
2072
|
+
value: input.stepManyFrames
|
|
2073
|
+
}, errorFactory)) && ("number" === typeof input.liveZoomDuration && !Number.isNaN(input.liveZoomDuration) || $guard(_exceptionable, {
|
|
2074
|
+
path: _path + ".liveZoomDuration",
|
|
2075
|
+
expected: "number",
|
|
2076
|
+
value: input.liveZoomDuration
|
|
2077
|
+
}, errorFactory)) && ("string" === typeof input.importTitleTemplate || $guard(_exceptionable, {
|
|
2078
|
+
path: _path + ".importTitleTemplate",
|
|
2079
|
+
expected: "string",
|
|
2080
|
+
value: input.importTitleTemplate
|
|
2081
|
+
}, errorFactory)) && (("object" === typeof input.tile && null !== input.tile || $guard(_exceptionable, {
|
|
2082
|
+
path: _path + ".tile",
|
|
2083
|
+
expected: "__type.o15",
|
|
2084
|
+
value: input.tile
|
|
2085
|
+
}, errorFactory)) && $ao19(input.tile, _path + ".tile", true && _exceptionable) || $guard(_exceptionable, {
|
|
2086
|
+
path: _path + ".tile",
|
|
2087
|
+
expected: "__type.o15",
|
|
2088
|
+
value: input.tile
|
|
2089
|
+
}, errorFactory)) && ("string" === typeof input.timecodeReference || $guard(_exceptionable, {
|
|
2090
|
+
path: _path + ".timecodeReference",
|
|
2091
|
+
expected: "string",
|
|
2092
|
+
value: input.timecodeReference
|
|
2093
|
+
}, errorFactory)) && ("number" === typeof input.maxSubclipDuration && !Number.isNaN(input.maxSubclipDuration) || $guard(_exceptionable, {
|
|
2094
|
+
path: _path + ".maxSubclipDuration",
|
|
2095
|
+
expected: "number",
|
|
2096
|
+
value: input.maxSubclipDuration
|
|
2097
|
+
}, errorFactory)) && ("number" === typeof input.rewindStep && !Number.isNaN(input.rewindStep) || $guard(_exceptionable, {
|
|
2098
|
+
path: _path + ".rewindStep",
|
|
2099
|
+
expected: "number",
|
|
2100
|
+
value: input.rewindStep
|
|
2101
|
+
}, errorFactory)) && ("number" === typeof input.forwardStep && !Number.isNaN(input.forwardStep) || $guard(_exceptionable, {
|
|
2102
|
+
path: _path + ".forwardStep",
|
|
2103
|
+
expected: "number",
|
|
2104
|
+
value: input.forwardStep
|
|
2105
|
+
}, errorFactory)) && ("string" === typeof input.interlacedPlayback || $guard(_exceptionable, {
|
|
2106
|
+
path: _path + ".interlacedPlayback",
|
|
2107
|
+
expected: "string",
|
|
2108
|
+
value: input.interlacedPlayback
|
|
2109
|
+
}, errorFactory)) && ((Array.isArray(input.playbackRates) || $guard(_exceptionable, {
|
|
2110
|
+
path: _path + ".playbackRates",
|
|
2111
|
+
expected: "Array<number>",
|
|
2112
|
+
value: input.playbackRates
|
|
2113
|
+
}, errorFactory)) && input.playbackRates.every((elem, _index6) => "number" === typeof elem && !Number.isNaN(elem) || $guard(_exceptionable, {
|
|
2114
|
+
path: _path + ".playbackRates[" + _index6 + "]",
|
|
2115
|
+
expected: "number",
|
|
2116
|
+
value: elem
|
|
2117
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
2118
|
+
path: _path + ".playbackRates",
|
|
2119
|
+
expected: "Array<number>",
|
|
2120
|
+
value: input.playbackRates
|
|
2121
|
+
}, errorFactory)) && (("object" === typeof input.subtitles && null !== input.subtitles || $guard(_exceptionable, {
|
|
2122
|
+
path: _path + ".subtitles",
|
|
2123
|
+
expected: "__type.o16",
|
|
2124
|
+
value: input.subtitles
|
|
2125
|
+
}, errorFactory)) && $ao20(input.subtitles, _path + ".subtitles", true && _exceptionable) || $guard(_exceptionable, {
|
|
2126
|
+
path: _path + ".subtitles",
|
|
2127
|
+
expected: "__type.o16",
|
|
2128
|
+
value: input.subtitles
|
|
2129
|
+
}, errorFactory)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId || $guard(_exceptionable, {
|
|
2130
|
+
path: _path + ".subtitleTemplateId",
|
|
2131
|
+
expected: "(string | undefined)",
|
|
2132
|
+
value: input.subtitleTemplateId
|
|
2133
|
+
}, errorFactory)) && ("string" === typeof input.initialVolume || $guard(_exceptionable, {
|
|
2134
|
+
path: _path + ".initialVolume",
|
|
2135
|
+
expected: "string",
|
|
2136
|
+
value: input.initialVolume
|
|
2137
|
+
}, errorFactory)) && ((Array.isArray(input.guides) || $guard(_exceptionable, {
|
|
2138
|
+
path: _path + ".guides",
|
|
2139
|
+
expected: "Array<__type>",
|
|
2140
|
+
value: input.guides
|
|
2141
|
+
}, errorFactory)) && input.guides.every((elem, _index7) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
2142
|
+
path: _path + ".guides[" + _index7 + "]",
|
|
2143
|
+
expected: "__type.o17",
|
|
2144
|
+
value: elem
|
|
2145
|
+
}, errorFactory)) && $ao21(elem, _path + ".guides[" + _index7 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
2146
|
+
path: _path + ".guides[" + _index7 + "]",
|
|
2147
|
+
expected: "__type.o17",
|
|
2148
|
+
value: elem
|
|
2149
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
2150
|
+
path: _path + ".guides",
|
|
2151
|
+
expected: "Array<__type>",
|
|
2152
|
+
value: input.guides
|
|
2153
|
+
}, errorFactory)) && ("boolean" === typeof input.download || $guard(_exceptionable, {
|
|
2154
|
+
path: _path + ".download",
|
|
2155
|
+
expected: "boolean",
|
|
2156
|
+
value: input.download
|
|
2157
|
+
}, errorFactory)) && (undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) || $guard(_exceptionable, {
|
|
2158
|
+
path: _path + ".transcribe",
|
|
2159
|
+
expected: "(__type.o18 | undefined)",
|
|
2160
|
+
value: input.transcribe
|
|
2161
|
+
}, errorFactory)) && $ao22(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
|
|
2162
|
+
path: _path + ".transcribe",
|
|
2163
|
+
expected: "(__type.o18 | undefined)",
|
|
2164
|
+
value: input.transcribe
|
|
2165
|
+
}, errorFactory));
|
|
2166
|
+
const $ao18 = (input, _path, _exceptionable = true) => undefined === input.mask || "boolean" === typeof input.mask || $guard(_exceptionable, {
|
|
2167
|
+
path: _path + ".mask",
|
|
2168
|
+
expected: "(boolean | undefined)",
|
|
2169
|
+
value: input.mask
|
|
2170
|
+
}, errorFactory);
|
|
2171
|
+
const $ao19 = (input, _path, _exceptionable = true) => ("string" === typeof input.preview || $guard(_exceptionable, {
|
|
2172
|
+
path: _path + ".preview",
|
|
2173
|
+
expected: "string",
|
|
2174
|
+
value: input.preview
|
|
2175
|
+
}, errorFactory)) && ("boolean" === typeof input.showRenderProgress || $guard(_exceptionable, {
|
|
2176
|
+
path: _path + ".showRenderProgress",
|
|
2177
|
+
expected: "boolean",
|
|
2178
|
+
value: input.showRenderProgress
|
|
2179
|
+
}, errorFactory));
|
|
2180
|
+
const $ao20 = (input, _path, _exceptionable = true) => ("number" === typeof input.spacing && !Number.isNaN(input.spacing) || $guard(_exceptionable, {
|
|
2181
|
+
path: _path + ".spacing",
|
|
2182
|
+
expected: "number",
|
|
2183
|
+
value: input.spacing
|
|
2184
|
+
}, errorFactory)) && ("number" === typeof input.maxCharactersPerLine && !Number.isNaN(input.maxCharactersPerLine) || $guard(_exceptionable, {
|
|
2185
|
+
path: _path + ".maxCharactersPerLine",
|
|
2186
|
+
expected: "number",
|
|
2187
|
+
value: input.maxCharactersPerLine
|
|
2188
|
+
}, errorFactory));
|
|
2189
|
+
const $ao21 = (input, _path, _exceptionable = true) => ("string" === typeof input.label || $guard(_exceptionable, {
|
|
2190
|
+
path: _path + ".label",
|
|
2191
|
+
expected: "string",
|
|
2192
|
+
value: input.label
|
|
2193
|
+
}, errorFactory)) && ("string" === typeof input.aspectRatio || $guard(_exceptionable, {
|
|
2194
|
+
path: _path + ".aspectRatio",
|
|
2195
|
+
expected: "string",
|
|
2196
|
+
value: input.aspectRatio
|
|
2197
|
+
}, errorFactory));
|
|
2198
|
+
const $ao22 = (input, _path, _exceptionable = true) => undefined === input.subtitleDisclaimer || ("object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) || $guard(_exceptionable, {
|
|
2199
|
+
path: _path + ".subtitleDisclaimer",
|
|
2200
|
+
expected: "(__type.o19 | undefined)",
|
|
2201
|
+
value: input.subtitleDisclaimer
|
|
2202
|
+
}, errorFactory)) && $ao23(input.subtitleDisclaimer, _path + ".subtitleDisclaimer", true && _exceptionable) || $guard(_exceptionable, {
|
|
2203
|
+
path: _path + ".subtitleDisclaimer",
|
|
2204
|
+
expected: "(__type.o19 | undefined)",
|
|
2205
|
+
value: input.subtitleDisclaimer
|
|
2206
|
+
}, errorFactory);
|
|
2207
|
+
const $ao23 = (input, _path, _exceptionable = true) => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable || $guard(_exceptionable, {
|
|
2208
|
+
path: _path + ".isUserConfigurable",
|
|
2209
|
+
expected: "(boolean | undefined)",
|
|
2210
|
+
value: input.isUserConfigurable
|
|
2211
|
+
}, errorFactory)) && (undefined === input.defaultValue || ("object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) || $guard(_exceptionable, {
|
|
2212
|
+
path: _path + ".defaultValue",
|
|
2213
|
+
expected: "(__type.o20 | undefined)",
|
|
2214
|
+
value: input.defaultValue
|
|
2215
|
+
}, errorFactory)) && $ao24(input.defaultValue, _path + ".defaultValue", true && _exceptionable) || $guard(_exceptionable, {
|
|
2216
|
+
path: _path + ".defaultValue",
|
|
2217
|
+
expected: "(__type.o20 | undefined)",
|
|
2218
|
+
value: input.defaultValue
|
|
2219
|
+
}, errorFactory));
|
|
2220
|
+
const $ao24 = (input, _path, _exceptionable = true) => (undefined === input.enabled || false === input.enabled || $guard(_exceptionable, {
|
|
2221
|
+
path: _path + ".enabled",
|
|
2222
|
+
expected: "(false | undefined)",
|
|
2223
|
+
value: input.enabled
|
|
2224
|
+
}, errorFactory)) && (undefined === input.text || (Array.isArray(input.text) || $guard(_exceptionable, {
|
|
2225
|
+
path: _path + ".text",
|
|
2226
|
+
expected: "(Array<__type>.o1 | undefined)",
|
|
2227
|
+
value: input.text
|
|
2228
|
+
}, errorFactory)) && input.text.every((elem, _index8) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
2229
|
+
path: _path + ".text[" + _index8 + "]",
|
|
2230
|
+
expected: "__type.o21",
|
|
2231
|
+
value: elem
|
|
2232
|
+
}, errorFactory)) && $ao25(elem, _path + ".text[" + _index8 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
2233
|
+
path: _path + ".text[" + _index8 + "]",
|
|
2234
|
+
expected: "__type.o21",
|
|
2235
|
+
value: elem
|
|
2236
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
2237
|
+
path: _path + ".text",
|
|
2238
|
+
expected: "(Array<__type>.o1 | undefined)",
|
|
2239
|
+
value: input.text
|
|
2240
|
+
}, errorFactory)) && (undefined === input.offset || "number" === typeof input.offset && !Number.isNaN(input.offset) || $guard(_exceptionable, {
|
|
2241
|
+
path: _path + ".offset",
|
|
2242
|
+
expected: "(number | undefined)",
|
|
2243
|
+
value: input.offset
|
|
2244
|
+
}, errorFactory)) && (undefined === input.duration || "number" === typeof input.duration && !Number.isNaN(input.duration) || $guard(_exceptionable, {
|
|
2245
|
+
path: _path + ".duration",
|
|
2246
|
+
expected: "(number | undefined)",
|
|
2247
|
+
value: input.duration
|
|
2248
|
+
}, errorFactory));
|
|
2249
|
+
const $ao25 = (input, _path, _exceptionable = true) => ("string" === typeof input.language || $guard(_exceptionable, {
|
|
2250
|
+
path: _path + ".language",
|
|
2251
|
+
expected: "string",
|
|
2252
|
+
value: input.language
|
|
2253
|
+
}, errorFactory)) && ("string" === typeof input.value || $guard(_exceptionable, {
|
|
2254
|
+
path: _path + ".value",
|
|
2255
|
+
expected: "string",
|
|
2256
|
+
value: input.value
|
|
2257
|
+
}, errorFactory));
|
|
2258
|
+
const $ao26 = (input, _path, _exceptionable = true) => (("object" === typeof input.assets && null !== input.assets || $guard(_exceptionable, {
|
|
2259
|
+
path: _path + ".assets",
|
|
2260
|
+
expected: "__type.o23",
|
|
2261
|
+
value: input.assets
|
|
2262
|
+
}, errorFactory)) && $ao27(input.assets, _path + ".assets", true && _exceptionable) || $guard(_exceptionable, {
|
|
2263
|
+
path: _path + ".assets",
|
|
2264
|
+
expected: "__type.o23",
|
|
2265
|
+
value: input.assets
|
|
2266
|
+
}, errorFactory)) && (("object" === typeof input.pipeline && null !== input.pipeline || $guard(_exceptionable, {
|
|
2267
|
+
path: _path + ".pipeline",
|
|
2268
|
+
expected: "__type.o26",
|
|
2269
|
+
value: input.pipeline
|
|
2270
|
+
}, errorFactory)) && $ao30(input.pipeline, _path + ".pipeline", true && _exceptionable) || $guard(_exceptionable, {
|
|
2271
|
+
path: _path + ".pipeline",
|
|
2272
|
+
expected: "__type.o26",
|
|
2273
|
+
value: input.pipeline
|
|
2274
|
+
}, errorFactory)) && (("object" === typeof input.item && null !== input.item || $guard(_exceptionable, {
|
|
2275
|
+
path: _path + ".item",
|
|
2276
|
+
expected: "__type.o28",
|
|
2277
|
+
value: input.item
|
|
2278
|
+
}, errorFactory)) && $ao32(input.item, _path + ".item", true && _exceptionable) || $guard(_exceptionable, {
|
|
2279
|
+
path: _path + ".item",
|
|
2280
|
+
expected: "__type.o28",
|
|
2281
|
+
value: input.item
|
|
2282
|
+
}, errorFactory));
|
|
2283
|
+
const $ao27 = (input, _path, _exceptionable = true) => ("object" === typeof input.story && null !== input.story || $guard(_exceptionable, {
|
|
2284
|
+
path: _path + ".story",
|
|
2285
|
+
expected: "__type.o24",
|
|
2286
|
+
value: input.story
|
|
2287
|
+
}, errorFactory)) && $ao28(input.story, _path + ".story", true && _exceptionable) || $guard(_exceptionable, {
|
|
2288
|
+
path: _path + ".story",
|
|
2289
|
+
expected: "__type.o24",
|
|
2290
|
+
value: input.story
|
|
2291
|
+
}, errorFactory);
|
|
2292
|
+
const $ao28 = (input, _path, _exceptionable = true) => ("object" === typeof input.excerpt && null !== input.excerpt || $guard(_exceptionable, {
|
|
2293
|
+
path: _path + ".excerpt",
|
|
2294
|
+
expected: "__type.o25",
|
|
2295
|
+
value: input.excerpt
|
|
2296
|
+
}, errorFactory)) && $ao29(input.excerpt, _path + ".excerpt", true && _exceptionable) || $guard(_exceptionable, {
|
|
2297
|
+
path: _path + ".excerpt",
|
|
2298
|
+
expected: "__type.o25",
|
|
2299
|
+
value: input.excerpt
|
|
2300
|
+
}, errorFactory);
|
|
2301
|
+
const $ao29 = (input, _path, _exceptionable = true) => ("number" === typeof input.maxLines && !Number.isNaN(input.maxLines) || $guard(_exceptionable, {
|
|
2302
|
+
path: _path + ".maxLines",
|
|
2303
|
+
expected: "number",
|
|
2304
|
+
value: input.maxLines
|
|
2305
|
+
}, errorFactory)) && ("string" === typeof input.mode || $guard(_exceptionable, {
|
|
2306
|
+
path: _path + ".mode",
|
|
2307
|
+
expected: "string",
|
|
2308
|
+
value: input.mode
|
|
2309
|
+
}, errorFactory));
|
|
2310
|
+
const $ao30 = (input, _path, _exceptionable = true) => ("object" === typeof input.search && null !== input.search || $guard(_exceptionable, {
|
|
2311
|
+
path: _path + ".search",
|
|
2312
|
+
expected: "__type.o27",
|
|
2313
|
+
value: input.search
|
|
2314
|
+
}, errorFactory)) && $ao31(input.search, _path + ".search", true && _exceptionable) || $guard(_exceptionable, {
|
|
2315
|
+
path: _path + ".search",
|
|
2316
|
+
expected: "__type.o27",
|
|
2317
|
+
value: input.search
|
|
2318
|
+
}, errorFactory);
|
|
2319
|
+
const $ao31 = (input, _path, _exceptionable = true) => "number" === typeof input.maxItemsDisplayed && !Number.isNaN(input.maxItemsDisplayed) || $guard(_exceptionable, {
|
|
2320
|
+
path: _path + ".maxItemsDisplayed",
|
|
2321
|
+
expected: "number",
|
|
2322
|
+
value: input.maxItemsDisplayed
|
|
2323
|
+
}, errorFactory);
|
|
2324
|
+
const $ao32 = (input, _path, _exceptionable = true) => "number" === typeof input.maxHeight && !Number.isNaN(input.maxHeight) || $guard(_exceptionable, {
|
|
2325
|
+
path: _path + ".maxHeight",
|
|
2326
|
+
expected: "number",
|
|
2327
|
+
value: input.maxHeight
|
|
2328
|
+
}, errorFactory);
|
|
2329
|
+
const $ao33 = (input, _path, _exceptionable = true) => ("object" === typeof input.adobe && null !== input.adobe || $guard(_exceptionable, {
|
|
2330
|
+
path: _path + ".adobe",
|
|
2331
|
+
expected: "__type.o30",
|
|
2332
|
+
value: input.adobe
|
|
2333
|
+
}, errorFactory)) && $ao34(input.adobe, _path + ".adobe", true && _exceptionable) || $guard(_exceptionable, {
|
|
2334
|
+
path: _path + ".adobe",
|
|
2335
|
+
expected: "__type.o30",
|
|
2336
|
+
value: input.adobe
|
|
2337
|
+
}, errorFactory);
|
|
2338
|
+
const $ao34 = (input, _path, _exceptionable = true) => "boolean" === typeof input.useProxies || $guard(_exceptionable, {
|
|
2339
|
+
path: _path + ".useProxies",
|
|
2340
|
+
expected: "boolean",
|
|
2341
|
+
value: input.useProxies
|
|
2342
|
+
}, errorFactory);
|
|
2343
|
+
const $ao35 = (input, _path, _exceptionable = true) => ("boolean" === typeof input.utils || $guard(_exceptionable, {
|
|
2344
|
+
path: _path + ".utils",
|
|
2345
|
+
expected: "boolean",
|
|
2346
|
+
value: input.utils
|
|
2347
|
+
}, errorFactory)) && ("boolean" === typeof input.history || $guard(_exceptionable, {
|
|
2348
|
+
path: _path + ".history",
|
|
2349
|
+
expected: "boolean",
|
|
2350
|
+
value: input.history
|
|
2351
|
+
}, errorFactory)) && ("boolean" === typeof input.refs || $guard(_exceptionable, {
|
|
2352
|
+
path: _path + ".refs",
|
|
2353
|
+
expected: "boolean",
|
|
2354
|
+
value: input.refs
|
|
2355
|
+
}, errorFactory)) && ("boolean" === typeof input.access || $guard(_exceptionable, {
|
|
2356
|
+
path: _path + ".access",
|
|
2357
|
+
expected: "boolean",
|
|
2358
|
+
value: input.access
|
|
2359
|
+
}, errorFactory)) && ("boolean" === typeof input.files || $guard(_exceptionable, {
|
|
2360
|
+
path: _path + ".files",
|
|
2361
|
+
expected: "boolean",
|
|
2362
|
+
value: input.files
|
|
2363
|
+
}, errorFactory)) && ("boolean" === typeof input["export"] || $guard(_exceptionable, {
|
|
2364
|
+
path: _path + "[\"export\"]",
|
|
2365
|
+
expected: "boolean",
|
|
2366
|
+
value: input["export"]
|
|
2367
|
+
}, errorFactory)) && ("boolean" === typeof input.json || $guard(_exceptionable, {
|
|
2368
|
+
path: _path + ".json",
|
|
2369
|
+
expected: "boolean",
|
|
2370
|
+
value: input.json
|
|
2371
|
+
}, errorFactory)) && ("boolean" === typeof input.hlsjs || $guard(_exceptionable, {
|
|
2372
|
+
path: _path + ".hlsjs",
|
|
2373
|
+
expected: "boolean",
|
|
2374
|
+
value: input.hlsjs
|
|
2375
|
+
}, errorFactory));
|
|
2376
|
+
return ("object" === typeof input && null !== input || $guard(true, {
|
|
2377
|
+
path: _path + "",
|
|
2378
|
+
expected: "Settings",
|
|
2379
|
+
value: input
|
|
2380
|
+
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
2381
|
+
path: _path + "",
|
|
2382
|
+
expected: "Settings",
|
|
2383
|
+
value: input
|
|
2384
|
+
}, errorFactory);
|
|
2385
|
+
})(input, "$input", true);
|
|
2386
|
+
return input;
|
|
2387
|
+
}; const stringify = input => {
|
|
2388
|
+
const $io1 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io2(input.tabs);
|
|
2389
|
+
const $io2 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && $io3(input.settingsPanelStore)) && Object.keys(input).every(key => {
|
|
2390
|
+
if (["settingsPanelStore"].some(prop => key === prop))
|
|
2391
|
+
return true;
|
|
2392
|
+
const value = input[key];
|
|
2393
|
+
if (undefined === value)
|
|
2394
|
+
return true;
|
|
2395
|
+
return "object" === typeof value && null !== value && $io4(value);
|
|
2396
|
+
});
|
|
2397
|
+
const $io3 = input => "string" === typeof input.activeTab && (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex);
|
|
2398
|
+
const $io4 = input => "string" === typeof input.activeTab;
|
|
2399
|
+
const $io5 = input => "object" === typeof input.createMenu && null !== input.createMenu && $io6(input.createMenu);
|
|
2400
|
+
const $io6 = input => Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem);
|
|
2401
|
+
const $io7 = input => Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem);
|
|
2402
|
+
const $io8 = input => Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
2403
|
+
const $io9 = input => Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
2404
|
+
const $io10 = input => "boolean" === typeof input.enable && "boolean" === typeof input.show24Hours && "boolean" === typeof input.showAmPm && "boolean" === typeof input.showSeconds && "boolean" === typeof input.showDayOfWeek && "boolean" === typeof input.showDate && (undefined === input.format || "string" === typeof input.format);
|
|
2405
|
+
const $io11 = input => "string" === typeof input.color;
|
|
2406
|
+
const $io12 = input => "number" === typeof input.maxMru && "number" === typeof input.maxTabs;
|
|
2407
|
+
const $io13 = input => "object" === typeof input.createMenu && null !== input.createMenu && $io14(input.createMenu);
|
|
2408
|
+
const $io14 = input => "boolean" === typeof input.showPreview;
|
|
2409
|
+
const $io15 = input => "boolean" === typeof input.eventThumbnails;
|
|
2410
|
+
const $io16 = input => "boolean" === typeof input.dimOnBlur;
|
|
2411
|
+
const $io17 = input => (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io18(input.guide)) && "number" === typeof input.stepManyFrames && "number" === typeof input.liveZoomDuration && "string" === typeof input.importTitleTemplate && ("object" === typeof input.tile && null !== input.tile && $io19(input.tile)) && "string" === typeof input.timecodeReference && "number" === typeof input.maxSubclipDuration && "number" === typeof input.rewindStep && "number" === typeof input.forwardStep && "string" === typeof input.interlacedPlayback && (Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && ("object" === typeof input.subtitles && null !== input.subtitles && $io20(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && "string" === typeof input.initialVolume && (Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io21(elem))) && "boolean" === typeof input.download && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io22(input.transcribe));
|
|
2412
|
+
const $io18 = input => undefined === input.mask || "boolean" === typeof input.mask;
|
|
2413
|
+
const $io19 = input => "string" === typeof input.preview && "boolean" === typeof input.showRenderProgress;
|
|
2414
|
+
const $io20 = input => "number" === typeof input.spacing && "number" === typeof input.maxCharactersPerLine;
|
|
2415
|
+
const $io21 = input => "string" === typeof input.label && "string" === typeof input.aspectRatio;
|
|
2416
|
+
const $io22 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && $io23(input.subtitleDisclaimer);
|
|
2417
|
+
const $io23 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io24(input.defaultValue));
|
|
2418
|
+
const $io24 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io25(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
|
|
2419
|
+
const $io25 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
2420
|
+
const $io26 = input => "object" === typeof input.assets && null !== input.assets && $io27(input.assets) && ("object" === typeof input.pipeline && null !== input.pipeline && $io30(input.pipeline)) && ("object" === typeof input.item && null !== input.item && $io32(input.item));
|
|
2421
|
+
const $io27 = input => "object" === typeof input.story && null !== input.story && $io28(input.story);
|
|
2422
|
+
const $io28 = input => "object" === typeof input.excerpt && null !== input.excerpt && $io29(input.excerpt);
|
|
2423
|
+
const $io29 = input => "number" === typeof input.maxLines && "string" === typeof input.mode;
|
|
2424
|
+
const $io30 = input => "object" === typeof input.search && null !== input.search && $io31(input.search);
|
|
2425
|
+
const $io31 = input => "number" === typeof input.maxItemsDisplayed;
|
|
2426
|
+
const $io32 = input => "number" === typeof input.maxHeight;
|
|
2427
|
+
const $io33 = input => "object" === typeof input.adobe && null !== input.adobe && $io34(input.adobe);
|
|
2428
|
+
const $io34 = input => "boolean" === typeof input.useProxies;
|
|
2429
|
+
const $io35 = input => "boolean" === typeof input.utils && "boolean" === typeof input.history && "boolean" === typeof input.refs && "boolean" === typeof input.access && "boolean" === typeof input.files && "boolean" === typeof input["export"] && "boolean" === typeof input.json && "boolean" === typeof input.hlsjs;
|
|
2430
|
+
const $string = __typia.json.createAssertStringify.string;
|
|
2431
|
+
const $tail = __typia.json.createAssertStringify.tail;
|
|
2432
|
+
const $so0 = input => `{${undefined === input.module ? "" : `"module":${undefined !== input.module ? $so1(input.module) : undefined},`}${undefined === input.keymap || "function" === typeof input.keymap ? "" : `"keymap":${undefined !== input.keymap ? JSON.stringify(input.keymap) : undefined},`}${undefined === input.predefinedTags ? "" : `"predefinedTags":${undefined !== input.predefinedTags ? `[${input.predefinedTags.map(elem => $string(elem)).join(",")}]` : undefined},`}"browser":${$so5(input.browser)},"toolbarTags":${$so7(input.toolbarTags)},"deadlines":${$so8(input.deadlines)},"assignees":${$so9(input.assignees)},"clock":${$so10(input.clock)},"swarm":${`{"color":${$string(input.swarm.color)}}`},"dashboard":${`{"maxMru":${input.dashboard.maxMru},"maxTabs":${input.dashboard.maxTabs}}`},"script":${$so13(input.script)},"rundown":${`{"eventThumbnails":${input.rundown.eventThumbnails}}`},"gallery":${`{"dimOnBlur":${input.gallery.dimOnBlur}}`},"history":${input.history},"media":${$so17(input.media)},"storyboard":${$so26(input.storyboard)},"plugins":${$so33(input.plugins)},"crashScreen":${input.crashScreen},"debug":${input.debug},"flags":${`{"utils":${input.flags.utils},"history":${input.flags.history},"refs":${input.flags.refs},"access":${input.flags.access},"files":${input.flags.files},"export":${input.flags["export"]},"json":${input.flags.json},"hlsjs":${input.flags.hlsjs}}`}}`;
|
|
2433
|
+
const $so1 = input => `{${$tail(`${undefined === input.tabs ? "" : `"tabs":${undefined !== input.tabs ? $so2(input.tabs) : undefined}`}`)}}`;
|
|
2434
|
+
const $so2 = input => `{${$tail(`${undefined === input.settingsPanelStore ? "" : `"settingsPanelStore":${undefined !== input.settingsPanelStore ? $so3(input.settingsPanelStore) : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
2435
|
+
return ""; if (["settingsPanelStore"].some(regular => regular === key))
|
|
2436
|
+
return ""; return `${JSON.stringify(key)}:${`{"activeTab":${$string(value.activeTab)}}`}`; }).filter(str => "" !== str).join(",")}`)}}`;
|
|
2437
|
+
const $so3 = input => `{${undefined === input.activeSectionIndex ? "" : `"activeSectionIndex":${undefined !== input.activeSectionIndex ? input.activeSectionIndex : undefined},`}"activeTab":${$string(input.activeTab)}}`;
|
|
2438
|
+
const $so5 = input => `{"createMenu":${$so6(input.createMenu)}}`;
|
|
2439
|
+
const $so6 = input => `{"sortOrder":${`[${input.sortOrder.map(elem => $string(elem)).join(",")}]`}}`;
|
|
2440
|
+
const $so7 = input => `{"exclude":${`[${input.exclude.map(elem => $string(elem)).join(",")}]`}}`;
|
|
2441
|
+
const $so8 = input => `{"include":${`[${input.include.map(elem => $string(elem)).join(",")}]`}}`;
|
|
2442
|
+
const $so9 = input => `{"include":${`[${input.include.map(elem => $string(elem)).join(",")}]`}}`;
|
|
2443
|
+
const $so10 = input => `{${undefined === input.format ? "" : `"format":${undefined !== input.format ? $string(input.format) : undefined},`}"enable":${input.enable},"show24Hours":${input.show24Hours},"showAmPm":${input.showAmPm},"showSeconds":${input.showSeconds},"showDayOfWeek":${input.showDayOfWeek},"showDate":${input.showDate}}`;
|
|
2444
|
+
const $so13 = input => `{"createMenu":${`{"showPreview":${input.createMenu.showPreview}}`}}`;
|
|
2445
|
+
const $so17 = input => `{${undefined === input.guide ? "" : `"guide":${undefined !== input.guide ? $so18(input.guide) : undefined},`}${undefined === input.subtitleTemplateId ? "" : `"subtitleTemplateId":${undefined !== input.subtitleTemplateId ? $string(input.subtitleTemplateId) : undefined},`}${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? $so22(input.transcribe) : undefined},`}"stepManyFrames":${input.stepManyFrames},"liveZoomDuration":${input.liveZoomDuration},"importTitleTemplate":${$string(input.importTitleTemplate)},"tile":${`{"preview":${$string(input.tile.preview)},"showRenderProgress":${input.tile.showRenderProgress}}`},"timecodeReference":${$string(input.timecodeReference)},"maxSubclipDuration":${input.maxSubclipDuration},"rewindStep":${input.rewindStep},"forwardStep":${input.forwardStep},"interlacedPlayback":${$string(input.interlacedPlayback)},"playbackRates":${`[${input.playbackRates.map(elem => elem).join(",")}]`},"subtitles":${`{"spacing":${input.subtitles.spacing},"maxCharactersPerLine":${input.subtitles.maxCharactersPerLine}}`},"initialVolume":${$string(input.initialVolume)},"guides":${`[${input.guides.map(elem => `{"label":${$string(elem.label)},"aspectRatio":${$string(elem.aspectRatio)}}`).join(",")}]`},"download":${input.download}}`;
|
|
2446
|
+
const $so18 = input => `{${$tail(`${undefined === input.mask ? "" : `"mask":${undefined !== input.mask ? input.mask : undefined}`}`)}}`;
|
|
2447
|
+
const $so22 = input => `{${$tail(`${undefined === input.subtitleDisclaimer ? "" : `"subtitleDisclaimer":${undefined !== input.subtitleDisclaimer ? $so23(input.subtitleDisclaimer) : undefined}`}`)}}`;
|
|
2448
|
+
const $so23 = input => `{${$tail(`${undefined === input.isUserConfigurable ? "" : `"isUserConfigurable":${undefined !== input.isUserConfigurable ? input.isUserConfigurable : undefined},`}${undefined === input.defaultValue ? "" : `"defaultValue":${undefined !== input.defaultValue ? $so24(input.defaultValue) : undefined}`}`)}}`;
|
|
2449
|
+
const $so24 = input => `{${$tail(`${undefined === input.enabled ? "" : `"enabled":${undefined !== input.enabled ? input.enabled : undefined},`}${undefined === input.text ? "" : `"text":${undefined !== input.text ? `[${input.text.map(elem => `{"language":${$string(elem.language)},"value":${$string(elem.value)}}`).join(",")}]` : undefined},`}${undefined === input.offset ? "" : `"offset":${undefined !== input.offset ? input.offset : undefined},`}${undefined === input.duration ? "" : `"duration":${undefined !== input.duration ? input.duration : undefined}`}`)}}`;
|
|
2450
|
+
const $so26 = input => `{"assets":${$so27(input.assets)},"pipeline":${$so30(input.pipeline)},"item":${`{"maxHeight":${input.item.maxHeight}}`}}`;
|
|
2451
|
+
const $so27 = input => `{"story":${$so28(input.story)}}`;
|
|
2452
|
+
const $so28 = input => `{"excerpt":${`{"maxLines":${input.excerpt.maxLines},"mode":${$string(input.excerpt.mode)}}`}}`;
|
|
2453
|
+
const $so30 = input => `{"search":${`{"maxItemsDisplayed":${input.search.maxItemsDisplayed}}`}}`;
|
|
2454
|
+
const $so33 = input => `{"adobe":${`{"useProxies":${input.adobe.useProxies}}`}}`;
|
|
2455
|
+
return $so0(input);
|
|
2456
|
+
}; return stringify(assert(input, errorFactory)); };
|
|
2457
|
+
export const isSettingsPaths = input => {
|
|
2458
|
+
return null !== input && undefined !== input && ("module" === input || "browser" === input || "toolbarTags" === input || "deadlines" === input || "assignees" === input || "clock" === input || "swarm" === input || "dashboard" === input || "script" === input || "rundown" === input || "gallery" === input || "history" === input || "keymap" === input || "media" === input || "predefinedTags" === input || "storyboard" === input || "plugins" === input || "crashScreen" === input || "debug" === input || "flags" === input || "module.tabs" === input || "browser.createMenu" === input || "browser.createMenu.sortOrder" === input || "toolbarTags.exclude" === input || "deadlines.include" === input || "assignees.include" === input || "clock.enable" === input || "clock.show24Hours" === input || "clock.showAmPm" === input || "clock.showSeconds" === input || "clock.showDayOfWeek" === input || "clock.showDate" === input || "clock.format" === input || "swarm.color" === input || "dashboard.maxMru" === input || "dashboard.maxTabs" === input || "script.createMenu" === input || "script.createMenu.showPreview" === input || "rundown.eventThumbnails" === input || "gallery.dimOnBlur" === input || "media.guide" === input || "media.stepManyFrames" === input || "media.liveZoomDuration" === input || "media.importTitleTemplate" === input || "media.tile" === input || "media.timecodeReference" === input || "media.maxSubclipDuration" === input || "media.rewindStep" === input || "media.forwardStep" === input || "media.interlacedPlayback" === input || "media.playbackRates" === input || "media.subtitles" === input || "media.subtitleTemplateId" === input || "media.initialVolume" === input || "media.guides" === input || "media.download" === input || "media.transcribe" === input || "media.guide.mask" === input || "media.tile.preview" === input || "media.tile.showRenderProgress" === input || "media.subtitles.spacing" === input || "media.subtitles.maxCharactersPerLine" === input || "media.transcribe.subtitleDisclaimer" === input || "media.transcribe.subtitleDisclaimer.isUserConfigurable" === input || "media.transcribe.subtitleDisclaimer.defaultValue" === input || "media.transcribe.subtitleDisclaimer.defaultValue.enabled" === input || "media.transcribe.subtitleDisclaimer.defaultValue.text" === input || "media.transcribe.subtitleDisclaimer.defaultValue.offset" === input || "media.transcribe.subtitleDisclaimer.defaultValue.duration" === input || "storyboard.assets" === input || "storyboard.pipeline" === input || "storyboard.item" === input || "storyboard.assets.story" === input || "storyboard.assets.story.excerpt" === input || "storyboard.assets.story.excerpt.maxLines" === input || "storyboard.assets.story.excerpt.mode" === input || "storyboard.pipeline.search" === input || "storyboard.pipeline.search.maxItemsDisplayed" === input || "storyboard.item.maxHeight" === input || "plugins.adobe" === input || "plugins.adobe.useProxies" === input || "flags.history" === input || "flags.utils" === input || "flags.refs" === input || "flags.access" === input || "flags.files" === input || "flags.export" === input || "flags.json" === input || "flags.hlsjs" === input || "string" === typeof input && (RegExp(/^module\.tabs\.(.*)/).test(input) || RegExp(/^browser\.createMenu\.sortOrder\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^toolbarTags\.exclude\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^deadlines\.include\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^assignees\.include\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^media\.playbackRates\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^media\.guides\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^media\.guides\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\.label$/).test(input) || RegExp(/^media\.guides\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\.aspectRatio$/).test(input) || RegExp(/^media\.transcribe\.subtitleDisclaimer\.defaultValue\.text\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^media\.transcribe\.subtitleDisclaimer\.defaultValue\.text\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\.language$/).test(input) || RegExp(/^media\.transcribe\.subtitleDisclaimer\.defaultValue\.text\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\.value$/).test(input) || RegExp(/^predefinedTags\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input)));
|
|
2459
|
+
};
|
|
2460
|
+
export const assertSettingsPaths = (input, errorFactory) => {
|
|
2461
|
+
const __is = input => {
|
|
2462
|
+
return null !== input && undefined !== input && ("module" === input || "browser" === input || "toolbarTags" === input || "deadlines" === input || "assignees" === input || "clock" === input || "swarm" === input || "dashboard" === input || "script" === input || "rundown" === input || "gallery" === input || "history" === input || "keymap" === input || "media" === input || "predefinedTags" === input || "storyboard" === input || "plugins" === input || "crashScreen" === input || "debug" === input || "flags" === input || "module.tabs" === input || "browser.createMenu" === input || "browser.createMenu.sortOrder" === input || "toolbarTags.exclude" === input || "deadlines.include" === input || "assignees.include" === input || "clock.enable" === input || "clock.show24Hours" === input || "clock.showAmPm" === input || "clock.showSeconds" === input || "clock.showDayOfWeek" === input || "clock.showDate" === input || "clock.format" === input || "swarm.color" === input || "dashboard.maxMru" === input || "dashboard.maxTabs" === input || "script.createMenu" === input || "script.createMenu.showPreview" === input || "rundown.eventThumbnails" === input || "gallery.dimOnBlur" === input || "media.guide" === input || "media.stepManyFrames" === input || "media.liveZoomDuration" === input || "media.importTitleTemplate" === input || "media.tile" === input || "media.timecodeReference" === input || "media.maxSubclipDuration" === input || "media.rewindStep" === input || "media.forwardStep" === input || "media.interlacedPlayback" === input || "media.playbackRates" === input || "media.subtitles" === input || "media.subtitleTemplateId" === input || "media.initialVolume" === input || "media.guides" === input || "media.download" === input || "media.transcribe" === input || "media.guide.mask" === input || "media.tile.preview" === input || "media.tile.showRenderProgress" === input || "media.subtitles.spacing" === input || "media.subtitles.maxCharactersPerLine" === input || "media.transcribe.subtitleDisclaimer" === input || "media.transcribe.subtitleDisclaimer.isUserConfigurable" === input || "media.transcribe.subtitleDisclaimer.defaultValue" === input || "media.transcribe.subtitleDisclaimer.defaultValue.enabled" === input || "media.transcribe.subtitleDisclaimer.defaultValue.text" === input || "media.transcribe.subtitleDisclaimer.defaultValue.offset" === input || "media.transcribe.subtitleDisclaimer.defaultValue.duration" === input || "storyboard.assets" === input || "storyboard.pipeline" === input || "storyboard.item" === input || "storyboard.assets.story" === input || "storyboard.assets.story.excerpt" === input || "storyboard.assets.story.excerpt.maxLines" === input || "storyboard.assets.story.excerpt.mode" === input || "storyboard.pipeline.search" === input || "storyboard.pipeline.search.maxItemsDisplayed" === input || "storyboard.item.maxHeight" === input || "plugins.adobe" === input || "plugins.adobe.useProxies" === input || "flags.history" === input || "flags.utils" === input || "flags.refs" === input || "flags.access" === input || "flags.files" === input || "flags.export" === input || "flags.json" === input || "flags.hlsjs" === input || "string" === typeof input && (RegExp(/^module\.tabs\.(.*)/).test(input) || RegExp(/^browser\.createMenu\.sortOrder\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^toolbarTags\.exclude\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^deadlines\.include\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^assignees\.include\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^media\.playbackRates\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^media\.guides\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^media\.guides\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\.label$/).test(input) || RegExp(/^media\.guides\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\.aspectRatio$/).test(input) || RegExp(/^media\.transcribe\.subtitleDisclaimer\.defaultValue\.text\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^media\.transcribe\.subtitleDisclaimer\.defaultValue\.text\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\.language$/).test(input) || RegExp(/^media\.transcribe\.subtitleDisclaimer\.defaultValue\.text\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\.value$/).test(input) || RegExp(/^predefinedTags\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input)));
|
|
2463
|
+
};
|
|
2464
|
+
if (false === __is(input))
|
|
2465
|
+
((input, _path, _exceptionable = true) => {
|
|
2466
|
+
const $guard = __typia.createAssert.guard;
|
|
2467
|
+
return (null !== input || $guard(true, {
|
|
2468
|
+
path: _path + "",
|
|
2469
|
+
expected: "(\"assignees\" | \"assignees.include\" | \"browser\" | \"browser.createMenu\" | \"browser.createMenu.sortOrder\" | \"clock\" | \"clock.enable\" | \"clock.format\" | \"clock.show24Hours\" | \"clock.showAmPm\" | \"clock.showDate\" | \"clock.showDayOfWeek\" | \"clock.showSeconds\" | \"crashScreen\" | \"dashboard\" | \"dashboard.maxMru\" | \"dashboard.maxTabs\" | \"deadlines\" | \"deadlines.include\" | \"debug\" | \"flags\" | \"flags.access\" | \"flags.export\" | \"flags.files\" | \"flags.history\" | \"flags.hlsjs\" | \"flags.json\" | \"flags.refs\" | \"flags.utils\" | \"gallery\" | \"gallery.dimOnBlur\" | \"history\" | \"keymap\" | \"media\" | \"media.download\" | \"media.forwardStep\" | \"media.guide\" | \"media.guide.mask\" | \"media.guides\" | \"media.importTitleTemplate\" | \"media.initialVolume\" | \"media.interlacedPlayback\" | \"media.liveZoomDuration\" | \"media.maxSubclipDuration\" | \"media.playbackRates\" | \"media.rewindStep\" | \"media.stepManyFrames\" | \"media.subtitleTemplateId\" | \"media.subtitles\" | \"media.subtitles.maxCharactersPerLine\" | \"media.subtitles.spacing\" | \"media.tile\" | \"media.tile.preview\" | \"media.tile.showRenderProgress\" | \"media.timecodeReference\" | \"media.transcribe\" | \"media.transcribe.subtitleDisclaimer\" | \"media.transcribe.subtitleDisclaimer.defaultValue\" | \"media.transcribe.subtitleDisclaimer.defaultValue.duration\" | \"media.transcribe.subtitleDisclaimer.defaultValue.enabled\" | \"media.transcribe.subtitleDisclaimer.defaultValue.offset\" | \"media.transcribe.subtitleDisclaimer.defaultValue.text\" | \"media.transcribe.subtitleDisclaimer.isUserConfigurable\" | \"module\" | \"module.tabs\" | \"plugins\" | \"plugins.adobe\" | \"plugins.adobe.useProxies\" | \"predefinedTags\" | \"rundown\" | \"rundown.eventThumbnails\" | \"script\" | \"script.createMenu\" | \"script.createMenu.showPreview\" | \"storyboard\" | \"storyboard.assets\" | \"storyboard.assets.story\" | \"storyboard.assets.story.excerpt\" | \"storyboard.assets.story.excerpt.maxLines\" | \"storyboard.assets.story.excerpt.mode\" | \"storyboard.item\" | \"storyboard.item.maxHeight\" | \"storyboard.pipeline\" | \"storyboard.pipeline.search\" | \"storyboard.pipeline.search.maxItemsDisplayed\" | \"swarm\" | \"swarm.color\" | \"toolbarTags\" | \"toolbarTags.exclude\" | `[object Object]${number}[object Object]` | `[object Object]${number}[object Object]` | `[object Object]${number}[object Object]` | `[object Object]${number}[object Object]` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${string}`)",
|
|
2470
|
+
value: input
|
|
2471
|
+
}, errorFactory)) && (undefined !== input || $guard(true, {
|
|
2472
|
+
path: _path + "",
|
|
2473
|
+
expected: "(\"assignees\" | \"assignees.include\" | \"browser\" | \"browser.createMenu\" | \"browser.createMenu.sortOrder\" | \"clock\" | \"clock.enable\" | \"clock.format\" | \"clock.show24Hours\" | \"clock.showAmPm\" | \"clock.showDate\" | \"clock.showDayOfWeek\" | \"clock.showSeconds\" | \"crashScreen\" | \"dashboard\" | \"dashboard.maxMru\" | \"dashboard.maxTabs\" | \"deadlines\" | \"deadlines.include\" | \"debug\" | \"flags\" | \"flags.access\" | \"flags.export\" | \"flags.files\" | \"flags.history\" | \"flags.hlsjs\" | \"flags.json\" | \"flags.refs\" | \"flags.utils\" | \"gallery\" | \"gallery.dimOnBlur\" | \"history\" | \"keymap\" | \"media\" | \"media.download\" | \"media.forwardStep\" | \"media.guide\" | \"media.guide.mask\" | \"media.guides\" | \"media.importTitleTemplate\" | \"media.initialVolume\" | \"media.interlacedPlayback\" | \"media.liveZoomDuration\" | \"media.maxSubclipDuration\" | \"media.playbackRates\" | \"media.rewindStep\" | \"media.stepManyFrames\" | \"media.subtitleTemplateId\" | \"media.subtitles\" | \"media.subtitles.maxCharactersPerLine\" | \"media.subtitles.spacing\" | \"media.tile\" | \"media.tile.preview\" | \"media.tile.showRenderProgress\" | \"media.timecodeReference\" | \"media.transcribe\" | \"media.transcribe.subtitleDisclaimer\" | \"media.transcribe.subtitleDisclaimer.defaultValue\" | \"media.transcribe.subtitleDisclaimer.defaultValue.duration\" | \"media.transcribe.subtitleDisclaimer.defaultValue.enabled\" | \"media.transcribe.subtitleDisclaimer.defaultValue.offset\" | \"media.transcribe.subtitleDisclaimer.defaultValue.text\" | \"media.transcribe.subtitleDisclaimer.isUserConfigurable\" | \"module\" | \"module.tabs\" | \"plugins\" | \"plugins.adobe\" | \"plugins.adobe.useProxies\" | \"predefinedTags\" | \"rundown\" | \"rundown.eventThumbnails\" | \"script\" | \"script.createMenu\" | \"script.createMenu.showPreview\" | \"storyboard\" | \"storyboard.assets\" | \"storyboard.assets.story\" | \"storyboard.assets.story.excerpt\" | \"storyboard.assets.story.excerpt.maxLines\" | \"storyboard.assets.story.excerpt.mode\" | \"storyboard.item\" | \"storyboard.item.maxHeight\" | \"storyboard.pipeline\" | \"storyboard.pipeline.search\" | \"storyboard.pipeline.search.maxItemsDisplayed\" | \"swarm\" | \"swarm.color\" | \"toolbarTags\" | \"toolbarTags.exclude\" | `[object Object]${number}[object Object]` | `[object Object]${number}[object Object]` | `[object Object]${number}[object Object]` | `[object Object]${number}[object Object]` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${string}`)",
|
|
2474
|
+
value: input
|
|
2475
|
+
}, errorFactory)) && ("module" === input || "browser" === input || "toolbarTags" === input || "deadlines" === input || "assignees" === input || "clock" === input || "swarm" === input || "dashboard" === input || "script" === input || "rundown" === input || "gallery" === input || "history" === input || "keymap" === input || "media" === input || "predefinedTags" === input || "storyboard" === input || "plugins" === input || "crashScreen" === input || "debug" === input || "flags" === input || "module.tabs" === input || "browser.createMenu" === input || "browser.createMenu.sortOrder" === input || "toolbarTags.exclude" === input || "deadlines.include" === input || "assignees.include" === input || "clock.enable" === input || "clock.show24Hours" === input || "clock.showAmPm" === input || "clock.showSeconds" === input || "clock.showDayOfWeek" === input || "clock.showDate" === input || "clock.format" === input || "swarm.color" === input || "dashboard.maxMru" === input || "dashboard.maxTabs" === input || "script.createMenu" === input || "script.createMenu.showPreview" === input || "rundown.eventThumbnails" === input || "gallery.dimOnBlur" === input || "media.guide" === input || "media.stepManyFrames" === input || "media.liveZoomDuration" === input || "media.importTitleTemplate" === input || "media.tile" === input || "media.timecodeReference" === input || "media.maxSubclipDuration" === input || "media.rewindStep" === input || "media.forwardStep" === input || "media.interlacedPlayback" === input || "media.playbackRates" === input || "media.subtitles" === input || "media.subtitleTemplateId" === input || "media.initialVolume" === input || "media.guides" === input || "media.download" === input || "media.transcribe" === input || "media.guide.mask" === input || "media.tile.preview" === input || "media.tile.showRenderProgress" === input || "media.subtitles.spacing" === input || "media.subtitles.maxCharactersPerLine" === input || "media.transcribe.subtitleDisclaimer" === input || "media.transcribe.subtitleDisclaimer.isUserConfigurable" === input || "media.transcribe.subtitleDisclaimer.defaultValue" === input || "media.transcribe.subtitleDisclaimer.defaultValue.enabled" === input || "media.transcribe.subtitleDisclaimer.defaultValue.text" === input || "media.transcribe.subtitleDisclaimer.defaultValue.offset" === input || "media.transcribe.subtitleDisclaimer.defaultValue.duration" === input || "storyboard.assets" === input || "storyboard.pipeline" === input || "storyboard.item" === input || "storyboard.assets.story" === input || "storyboard.assets.story.excerpt" === input || "storyboard.assets.story.excerpt.maxLines" === input || "storyboard.assets.story.excerpt.mode" === input || "storyboard.pipeline.search" === input || "storyboard.pipeline.search.maxItemsDisplayed" === input || "storyboard.item.maxHeight" === input || "plugins.adobe" === input || "plugins.adobe.useProxies" === input || "flags.history" === input || "flags.utils" === input || "flags.refs" === input || "flags.access" === input || "flags.files" === input || "flags.export" === input || "flags.json" === input || "flags.hlsjs" === input || "string" === typeof input && (RegExp(/^module\.tabs\.(.*)/).test(input) || RegExp(/^browser\.createMenu\.sortOrder\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^toolbarTags\.exclude\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^deadlines\.include\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^assignees\.include\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^media\.playbackRates\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^media\.guides\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^media\.guides\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\.label$/).test(input) || RegExp(/^media\.guides\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\.aspectRatio$/).test(input) || RegExp(/^media\.transcribe\.subtitleDisclaimer\.defaultValue\.text\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^media\.transcribe\.subtitleDisclaimer\.defaultValue\.text\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\.language$/).test(input) || RegExp(/^media\.transcribe\.subtitleDisclaimer\.defaultValue\.text\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\.value$/).test(input) || RegExp(/^predefinedTags\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input)) || $guard(true, {
|
|
2476
|
+
path: _path + "",
|
|
2477
|
+
expected: "(\"assignees\" | \"assignees.include\" | \"browser\" | \"browser.createMenu\" | \"browser.createMenu.sortOrder\" | \"clock\" | \"clock.enable\" | \"clock.format\" | \"clock.show24Hours\" | \"clock.showAmPm\" | \"clock.showDate\" | \"clock.showDayOfWeek\" | \"clock.showSeconds\" | \"crashScreen\" | \"dashboard\" | \"dashboard.maxMru\" | \"dashboard.maxTabs\" | \"deadlines\" | \"deadlines.include\" | \"debug\" | \"flags\" | \"flags.access\" | \"flags.export\" | \"flags.files\" | \"flags.history\" | \"flags.hlsjs\" | \"flags.json\" | \"flags.refs\" | \"flags.utils\" | \"gallery\" | \"gallery.dimOnBlur\" | \"history\" | \"keymap\" | \"media\" | \"media.download\" | \"media.forwardStep\" | \"media.guide\" | \"media.guide.mask\" | \"media.guides\" | \"media.importTitleTemplate\" | \"media.initialVolume\" | \"media.interlacedPlayback\" | \"media.liveZoomDuration\" | \"media.maxSubclipDuration\" | \"media.playbackRates\" | \"media.rewindStep\" | \"media.stepManyFrames\" | \"media.subtitleTemplateId\" | \"media.subtitles\" | \"media.subtitles.maxCharactersPerLine\" | \"media.subtitles.spacing\" | \"media.tile\" | \"media.tile.preview\" | \"media.tile.showRenderProgress\" | \"media.timecodeReference\" | \"media.transcribe\" | \"media.transcribe.subtitleDisclaimer\" | \"media.transcribe.subtitleDisclaimer.defaultValue\" | \"media.transcribe.subtitleDisclaimer.defaultValue.duration\" | \"media.transcribe.subtitleDisclaimer.defaultValue.enabled\" | \"media.transcribe.subtitleDisclaimer.defaultValue.offset\" | \"media.transcribe.subtitleDisclaimer.defaultValue.text\" | \"media.transcribe.subtitleDisclaimer.isUserConfigurable\" | \"module\" | \"module.tabs\" | \"plugins\" | \"plugins.adobe\" | \"plugins.adobe.useProxies\" | \"predefinedTags\" | \"rundown\" | \"rundown.eventThumbnails\" | \"script\" | \"script.createMenu\" | \"script.createMenu.showPreview\" | \"storyboard\" | \"storyboard.assets\" | \"storyboard.assets.story\" | \"storyboard.assets.story.excerpt\" | \"storyboard.assets.story.excerpt.maxLines\" | \"storyboard.assets.story.excerpt.mode\" | \"storyboard.item\" | \"storyboard.item.maxHeight\" | \"storyboard.pipeline\" | \"storyboard.pipeline.search\" | \"storyboard.pipeline.search.maxItemsDisplayed\" | \"swarm\" | \"swarm.color\" | \"toolbarTags\" | \"toolbarTags.exclude\" | `[object Object]${number}[object Object]` | `[object Object]${number}[object Object]` | `[object Object]${number}[object Object]` | `[object Object]${number}[object Object]` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${string}`)",
|
|
2478
|
+
value: input
|
|
2479
|
+
}, errorFactory));
|
|
2480
|
+
})(input, "$input", true);
|
|
2481
|
+
return input;
|
|
2482
|
+
};
|
|
2483
|
+
export const randomSettingsPaths = generator => {
|
|
2484
|
+
const $generator = __typia.createRandom.generator;
|
|
2485
|
+
const $pick = __typia.createRandom.pick;
|
|
2486
|
+
return $pick([
|
|
2487
|
+
() => "module",
|
|
2488
|
+
() => "browser",
|
|
2489
|
+
() => "toolbarTags",
|
|
2490
|
+
() => "deadlines",
|
|
2491
|
+
() => "assignees",
|
|
2492
|
+
() => "clock",
|
|
2493
|
+
() => "swarm",
|
|
2494
|
+
() => "dashboard",
|
|
2495
|
+
() => "script",
|
|
2496
|
+
() => "rundown",
|
|
2497
|
+
() => "gallery",
|
|
2498
|
+
() => "history",
|
|
2499
|
+
() => "keymap",
|
|
2500
|
+
() => "media",
|
|
2501
|
+
() => "predefinedTags",
|
|
2502
|
+
() => "storyboard",
|
|
2503
|
+
() => "plugins",
|
|
2504
|
+
() => "crashScreen",
|
|
2505
|
+
() => "debug",
|
|
2506
|
+
() => "flags",
|
|
2507
|
+
() => "module.tabs",
|
|
2508
|
+
() => "browser.createMenu",
|
|
2509
|
+
() => "browser.createMenu.sortOrder",
|
|
2510
|
+
() => "toolbarTags.exclude",
|
|
2511
|
+
() => "deadlines.include",
|
|
2512
|
+
() => "assignees.include",
|
|
2513
|
+
() => "clock.enable",
|
|
2514
|
+
() => "clock.show24Hours",
|
|
2515
|
+
() => "clock.showAmPm",
|
|
2516
|
+
() => "clock.showSeconds",
|
|
2517
|
+
() => "clock.showDayOfWeek",
|
|
2518
|
+
() => "clock.showDate",
|
|
2519
|
+
() => "clock.format",
|
|
2520
|
+
() => "swarm.color",
|
|
2521
|
+
() => "dashboard.maxMru",
|
|
2522
|
+
() => "dashboard.maxTabs",
|
|
2523
|
+
() => "script.createMenu",
|
|
2524
|
+
() => "script.createMenu.showPreview",
|
|
2525
|
+
() => "rundown.eventThumbnails",
|
|
2526
|
+
() => "gallery.dimOnBlur",
|
|
2527
|
+
() => "media.guide",
|
|
2528
|
+
() => "media.stepManyFrames",
|
|
2529
|
+
() => "media.liveZoomDuration",
|
|
2530
|
+
() => "media.importTitleTemplate",
|
|
2531
|
+
() => "media.tile",
|
|
2532
|
+
() => "media.timecodeReference",
|
|
2533
|
+
() => "media.maxSubclipDuration",
|
|
2534
|
+
() => "media.rewindStep",
|
|
2535
|
+
() => "media.forwardStep",
|
|
2536
|
+
() => "media.interlacedPlayback",
|
|
2537
|
+
() => "media.playbackRates",
|
|
2538
|
+
() => "media.subtitles",
|
|
2539
|
+
() => "media.subtitleTemplateId",
|
|
2540
|
+
() => "media.initialVolume",
|
|
2541
|
+
() => "media.guides",
|
|
2542
|
+
() => "media.download",
|
|
2543
|
+
() => "media.transcribe",
|
|
2544
|
+
() => "media.guide.mask",
|
|
2545
|
+
() => "media.tile.preview",
|
|
2546
|
+
() => "media.tile.showRenderProgress",
|
|
2547
|
+
() => "media.subtitles.spacing",
|
|
2548
|
+
() => "media.subtitles.maxCharactersPerLine",
|
|
2549
|
+
() => "media.transcribe.subtitleDisclaimer",
|
|
2550
|
+
() => "media.transcribe.subtitleDisclaimer.isUserConfigurable",
|
|
2551
|
+
() => "media.transcribe.subtitleDisclaimer.defaultValue",
|
|
2552
|
+
() => "media.transcribe.subtitleDisclaimer.defaultValue.enabled",
|
|
2553
|
+
() => "media.transcribe.subtitleDisclaimer.defaultValue.text",
|
|
2554
|
+
() => "media.transcribe.subtitleDisclaimer.defaultValue.offset",
|
|
2555
|
+
() => "media.transcribe.subtitleDisclaimer.defaultValue.duration",
|
|
2556
|
+
() => "storyboard.assets",
|
|
2557
|
+
() => "storyboard.pipeline",
|
|
2558
|
+
() => "storyboard.item",
|
|
2559
|
+
() => "storyboard.assets.story",
|
|
2560
|
+
() => "storyboard.assets.story.excerpt",
|
|
2561
|
+
() => "storyboard.assets.story.excerpt.maxLines",
|
|
2562
|
+
() => "storyboard.assets.story.excerpt.mode",
|
|
2563
|
+
() => "storyboard.pipeline.search",
|
|
2564
|
+
() => "storyboard.pipeline.search.maxItemsDisplayed",
|
|
2565
|
+
() => "storyboard.item.maxHeight",
|
|
2566
|
+
() => "plugins.adobe",
|
|
2567
|
+
() => "plugins.adobe.useProxies",
|
|
2568
|
+
() => "flags.history",
|
|
2569
|
+
() => "flags.utils",
|
|
2570
|
+
() => "flags.refs",
|
|
2571
|
+
() => "flags.access",
|
|
2572
|
+
() => "flags.files",
|
|
2573
|
+
() => "flags.export",
|
|
2574
|
+
() => "flags.json",
|
|
2575
|
+
() => "flags.hlsjs",
|
|
2576
|
+
() => `module.tabs.${(generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()}`,
|
|
2577
|
+
() => `browser.createMenu.sortOrder.${(generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)}`,
|
|
2578
|
+
() => `toolbarTags.exclude.${(generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)}`,
|
|
2579
|
+
() => `deadlines.include.${(generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)}`,
|
|
2580
|
+
() => `assignees.include.${(generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)}`,
|
|
2581
|
+
() => `media.playbackRates.${(generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)}`,
|
|
2582
|
+
() => `media.guides.${(generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)}`,
|
|
2583
|
+
() => `media.guides.${(generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)}.label`,
|
|
2584
|
+
() => `media.guides.${(generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)}.aspectRatio`,
|
|
2585
|
+
() => `media.transcribe.subtitleDisclaimer.defaultValue.text.${(generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)}`,
|
|
2586
|
+
() => `media.transcribe.subtitleDisclaimer.defaultValue.text.${(generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)}.language`,
|
|
2587
|
+
() => `media.transcribe.subtitleDisclaimer.defaultValue.text.${(generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)}.value`,
|
|
2588
|
+
() => `predefinedTags.${(generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)}`
|
|
2589
|
+
])();
|
|
2590
|
+
};
|
|
2591
|
+
export const assertGuardSettingsPaths = (input, errorFactory) => {
|
|
2592
|
+
const __is = input => {
|
|
2593
|
+
return null !== input && undefined !== input && ("module" === input || "browser" === input || "toolbarTags" === input || "deadlines" === input || "assignees" === input || "clock" === input || "swarm" === input || "dashboard" === input || "script" === input || "rundown" === input || "gallery" === input || "history" === input || "keymap" === input || "media" === input || "predefinedTags" === input || "storyboard" === input || "plugins" === input || "crashScreen" === input || "debug" === input || "flags" === input || "module.tabs" === input || "browser.createMenu" === input || "browser.createMenu.sortOrder" === input || "toolbarTags.exclude" === input || "deadlines.include" === input || "assignees.include" === input || "clock.enable" === input || "clock.show24Hours" === input || "clock.showAmPm" === input || "clock.showSeconds" === input || "clock.showDayOfWeek" === input || "clock.showDate" === input || "clock.format" === input || "swarm.color" === input || "dashboard.maxMru" === input || "dashboard.maxTabs" === input || "script.createMenu" === input || "script.createMenu.showPreview" === input || "rundown.eventThumbnails" === input || "gallery.dimOnBlur" === input || "media.guide" === input || "media.stepManyFrames" === input || "media.liveZoomDuration" === input || "media.importTitleTemplate" === input || "media.tile" === input || "media.timecodeReference" === input || "media.maxSubclipDuration" === input || "media.rewindStep" === input || "media.forwardStep" === input || "media.interlacedPlayback" === input || "media.playbackRates" === input || "media.subtitles" === input || "media.subtitleTemplateId" === input || "media.initialVolume" === input || "media.guides" === input || "media.download" === input || "media.transcribe" === input || "media.guide.mask" === input || "media.tile.preview" === input || "media.tile.showRenderProgress" === input || "media.subtitles.spacing" === input || "media.subtitles.maxCharactersPerLine" === input || "media.transcribe.subtitleDisclaimer" === input || "media.transcribe.subtitleDisclaimer.isUserConfigurable" === input || "media.transcribe.subtitleDisclaimer.defaultValue" === input || "media.transcribe.subtitleDisclaimer.defaultValue.enabled" === input || "media.transcribe.subtitleDisclaimer.defaultValue.text" === input || "media.transcribe.subtitleDisclaimer.defaultValue.offset" === input || "media.transcribe.subtitleDisclaimer.defaultValue.duration" === input || "storyboard.assets" === input || "storyboard.pipeline" === input || "storyboard.item" === input || "storyboard.assets.story" === input || "storyboard.assets.story.excerpt" === input || "storyboard.assets.story.excerpt.maxLines" === input || "storyboard.assets.story.excerpt.mode" === input || "storyboard.pipeline.search" === input || "storyboard.pipeline.search.maxItemsDisplayed" === input || "storyboard.item.maxHeight" === input || "plugins.adobe" === input || "plugins.adobe.useProxies" === input || "flags.history" === input || "flags.utils" === input || "flags.refs" === input || "flags.access" === input || "flags.files" === input || "flags.export" === input || "flags.json" === input || "flags.hlsjs" === input || "string" === typeof input && (RegExp(/^module\.tabs\.(.*)/).test(input) || RegExp(/^browser\.createMenu\.sortOrder\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^toolbarTags\.exclude\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^deadlines\.include\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^assignees\.include\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^media\.playbackRates\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^media\.guides\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^media\.guides\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\.label$/).test(input) || RegExp(/^media\.guides\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\.aspectRatio$/).test(input) || RegExp(/^media\.transcribe\.subtitleDisclaimer\.defaultValue\.text\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^media\.transcribe\.subtitleDisclaimer\.defaultValue\.text\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\.language$/).test(input) || RegExp(/^media\.transcribe\.subtitleDisclaimer\.defaultValue\.text\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\.value$/).test(input) || RegExp(/^predefinedTags\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input)));
|
|
2594
|
+
};
|
|
2595
|
+
if (false === __is(input))
|
|
2596
|
+
((input, _path, _exceptionable = true) => {
|
|
2597
|
+
const $guard = __typia.createAssertGuard.guard;
|
|
2598
|
+
return (null !== input || $guard(true, {
|
|
2599
|
+
path: _path + "",
|
|
2600
|
+
expected: "(\"assignees\" | \"assignees.include\" | \"browser\" | \"browser.createMenu\" | \"browser.createMenu.sortOrder\" | \"clock\" | \"clock.enable\" | \"clock.format\" | \"clock.show24Hours\" | \"clock.showAmPm\" | \"clock.showDate\" | \"clock.showDayOfWeek\" | \"clock.showSeconds\" | \"crashScreen\" | \"dashboard\" | \"dashboard.maxMru\" | \"dashboard.maxTabs\" | \"deadlines\" | \"deadlines.include\" | \"debug\" | \"flags\" | \"flags.access\" | \"flags.export\" | \"flags.files\" | \"flags.history\" | \"flags.hlsjs\" | \"flags.json\" | \"flags.refs\" | \"flags.utils\" | \"gallery\" | \"gallery.dimOnBlur\" | \"history\" | \"keymap\" | \"media\" | \"media.download\" | \"media.forwardStep\" | \"media.guide\" | \"media.guide.mask\" | \"media.guides\" | \"media.importTitleTemplate\" | \"media.initialVolume\" | \"media.interlacedPlayback\" | \"media.liveZoomDuration\" | \"media.maxSubclipDuration\" | \"media.playbackRates\" | \"media.rewindStep\" | \"media.stepManyFrames\" | \"media.subtitleTemplateId\" | \"media.subtitles\" | \"media.subtitles.maxCharactersPerLine\" | \"media.subtitles.spacing\" | \"media.tile\" | \"media.tile.preview\" | \"media.tile.showRenderProgress\" | \"media.timecodeReference\" | \"media.transcribe\" | \"media.transcribe.subtitleDisclaimer\" | \"media.transcribe.subtitleDisclaimer.defaultValue\" | \"media.transcribe.subtitleDisclaimer.defaultValue.duration\" | \"media.transcribe.subtitleDisclaimer.defaultValue.enabled\" | \"media.transcribe.subtitleDisclaimer.defaultValue.offset\" | \"media.transcribe.subtitleDisclaimer.defaultValue.text\" | \"media.transcribe.subtitleDisclaimer.isUserConfigurable\" | \"module\" | \"module.tabs\" | \"plugins\" | \"plugins.adobe\" | \"plugins.adobe.useProxies\" | \"predefinedTags\" | \"rundown\" | \"rundown.eventThumbnails\" | \"script\" | \"script.createMenu\" | \"script.createMenu.showPreview\" | \"storyboard\" | \"storyboard.assets\" | \"storyboard.assets.story\" | \"storyboard.assets.story.excerpt\" | \"storyboard.assets.story.excerpt.maxLines\" | \"storyboard.assets.story.excerpt.mode\" | \"storyboard.item\" | \"storyboard.item.maxHeight\" | \"storyboard.pipeline\" | \"storyboard.pipeline.search\" | \"storyboard.pipeline.search.maxItemsDisplayed\" | \"swarm\" | \"swarm.color\" | \"toolbarTags\" | \"toolbarTags.exclude\" | `[object Object]${number}[object Object]` | `[object Object]${number}[object Object]` | `[object Object]${number}[object Object]` | `[object Object]${number}[object Object]` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${string}`)",
|
|
2601
|
+
value: input
|
|
2602
|
+
}, errorFactory)) && (undefined !== input || $guard(true, {
|
|
2603
|
+
path: _path + "",
|
|
2604
|
+
expected: "(\"assignees\" | \"assignees.include\" | \"browser\" | \"browser.createMenu\" | \"browser.createMenu.sortOrder\" | \"clock\" | \"clock.enable\" | \"clock.format\" | \"clock.show24Hours\" | \"clock.showAmPm\" | \"clock.showDate\" | \"clock.showDayOfWeek\" | \"clock.showSeconds\" | \"crashScreen\" | \"dashboard\" | \"dashboard.maxMru\" | \"dashboard.maxTabs\" | \"deadlines\" | \"deadlines.include\" | \"debug\" | \"flags\" | \"flags.access\" | \"flags.export\" | \"flags.files\" | \"flags.history\" | \"flags.hlsjs\" | \"flags.json\" | \"flags.refs\" | \"flags.utils\" | \"gallery\" | \"gallery.dimOnBlur\" | \"history\" | \"keymap\" | \"media\" | \"media.download\" | \"media.forwardStep\" | \"media.guide\" | \"media.guide.mask\" | \"media.guides\" | \"media.importTitleTemplate\" | \"media.initialVolume\" | \"media.interlacedPlayback\" | \"media.liveZoomDuration\" | \"media.maxSubclipDuration\" | \"media.playbackRates\" | \"media.rewindStep\" | \"media.stepManyFrames\" | \"media.subtitleTemplateId\" | \"media.subtitles\" | \"media.subtitles.maxCharactersPerLine\" | \"media.subtitles.spacing\" | \"media.tile\" | \"media.tile.preview\" | \"media.tile.showRenderProgress\" | \"media.timecodeReference\" | \"media.transcribe\" | \"media.transcribe.subtitleDisclaimer\" | \"media.transcribe.subtitleDisclaimer.defaultValue\" | \"media.transcribe.subtitleDisclaimer.defaultValue.duration\" | \"media.transcribe.subtitleDisclaimer.defaultValue.enabled\" | \"media.transcribe.subtitleDisclaimer.defaultValue.offset\" | \"media.transcribe.subtitleDisclaimer.defaultValue.text\" | \"media.transcribe.subtitleDisclaimer.isUserConfigurable\" | \"module\" | \"module.tabs\" | \"plugins\" | \"plugins.adobe\" | \"plugins.adobe.useProxies\" | \"predefinedTags\" | \"rundown\" | \"rundown.eventThumbnails\" | \"script\" | \"script.createMenu\" | \"script.createMenu.showPreview\" | \"storyboard\" | \"storyboard.assets\" | \"storyboard.assets.story\" | \"storyboard.assets.story.excerpt\" | \"storyboard.assets.story.excerpt.maxLines\" | \"storyboard.assets.story.excerpt.mode\" | \"storyboard.item\" | \"storyboard.item.maxHeight\" | \"storyboard.pipeline\" | \"storyboard.pipeline.search\" | \"storyboard.pipeline.search.maxItemsDisplayed\" | \"swarm\" | \"swarm.color\" | \"toolbarTags\" | \"toolbarTags.exclude\" | `[object Object]${number}[object Object]` | `[object Object]${number}[object Object]` | `[object Object]${number}[object Object]` | `[object Object]${number}[object Object]` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${string}`)",
|
|
2605
|
+
value: input
|
|
2606
|
+
}, errorFactory)) && ("module" === input || "browser" === input || "toolbarTags" === input || "deadlines" === input || "assignees" === input || "clock" === input || "swarm" === input || "dashboard" === input || "script" === input || "rundown" === input || "gallery" === input || "history" === input || "keymap" === input || "media" === input || "predefinedTags" === input || "storyboard" === input || "plugins" === input || "crashScreen" === input || "debug" === input || "flags" === input || "module.tabs" === input || "browser.createMenu" === input || "browser.createMenu.sortOrder" === input || "toolbarTags.exclude" === input || "deadlines.include" === input || "assignees.include" === input || "clock.enable" === input || "clock.show24Hours" === input || "clock.showAmPm" === input || "clock.showSeconds" === input || "clock.showDayOfWeek" === input || "clock.showDate" === input || "clock.format" === input || "swarm.color" === input || "dashboard.maxMru" === input || "dashboard.maxTabs" === input || "script.createMenu" === input || "script.createMenu.showPreview" === input || "rundown.eventThumbnails" === input || "gallery.dimOnBlur" === input || "media.guide" === input || "media.stepManyFrames" === input || "media.liveZoomDuration" === input || "media.importTitleTemplate" === input || "media.tile" === input || "media.timecodeReference" === input || "media.maxSubclipDuration" === input || "media.rewindStep" === input || "media.forwardStep" === input || "media.interlacedPlayback" === input || "media.playbackRates" === input || "media.subtitles" === input || "media.subtitleTemplateId" === input || "media.initialVolume" === input || "media.guides" === input || "media.download" === input || "media.transcribe" === input || "media.guide.mask" === input || "media.tile.preview" === input || "media.tile.showRenderProgress" === input || "media.subtitles.spacing" === input || "media.subtitles.maxCharactersPerLine" === input || "media.transcribe.subtitleDisclaimer" === input || "media.transcribe.subtitleDisclaimer.isUserConfigurable" === input || "media.transcribe.subtitleDisclaimer.defaultValue" === input || "media.transcribe.subtitleDisclaimer.defaultValue.enabled" === input || "media.transcribe.subtitleDisclaimer.defaultValue.text" === input || "media.transcribe.subtitleDisclaimer.defaultValue.offset" === input || "media.transcribe.subtitleDisclaimer.defaultValue.duration" === input || "storyboard.assets" === input || "storyboard.pipeline" === input || "storyboard.item" === input || "storyboard.assets.story" === input || "storyboard.assets.story.excerpt" === input || "storyboard.assets.story.excerpt.maxLines" === input || "storyboard.assets.story.excerpt.mode" === input || "storyboard.pipeline.search" === input || "storyboard.pipeline.search.maxItemsDisplayed" === input || "storyboard.item.maxHeight" === input || "plugins.adobe" === input || "plugins.adobe.useProxies" === input || "flags.history" === input || "flags.utils" === input || "flags.refs" === input || "flags.access" === input || "flags.files" === input || "flags.export" === input || "flags.json" === input || "flags.hlsjs" === input || "string" === typeof input && (RegExp(/^module\.tabs\.(.*)/).test(input) || RegExp(/^browser\.createMenu\.sortOrder\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^toolbarTags\.exclude\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^deadlines\.include\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^assignees\.include\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^media\.playbackRates\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^media\.guides\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^media\.guides\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\.label$/).test(input) || RegExp(/^media\.guides\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\.aspectRatio$/).test(input) || RegExp(/^media\.transcribe\.subtitleDisclaimer\.defaultValue\.text\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^media\.transcribe\.subtitleDisclaimer\.defaultValue\.text\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\.language$/).test(input) || RegExp(/^media\.transcribe\.subtitleDisclaimer\.defaultValue\.text\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\.value$/).test(input) || RegExp(/^predefinedTags\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input)) || $guard(true, {
|
|
2607
|
+
path: _path + "",
|
|
2608
|
+
expected: "(\"assignees\" | \"assignees.include\" | \"browser\" | \"browser.createMenu\" | \"browser.createMenu.sortOrder\" | \"clock\" | \"clock.enable\" | \"clock.format\" | \"clock.show24Hours\" | \"clock.showAmPm\" | \"clock.showDate\" | \"clock.showDayOfWeek\" | \"clock.showSeconds\" | \"crashScreen\" | \"dashboard\" | \"dashboard.maxMru\" | \"dashboard.maxTabs\" | \"deadlines\" | \"deadlines.include\" | \"debug\" | \"flags\" | \"flags.access\" | \"flags.export\" | \"flags.files\" | \"flags.history\" | \"flags.hlsjs\" | \"flags.json\" | \"flags.refs\" | \"flags.utils\" | \"gallery\" | \"gallery.dimOnBlur\" | \"history\" | \"keymap\" | \"media\" | \"media.download\" | \"media.forwardStep\" | \"media.guide\" | \"media.guide.mask\" | \"media.guides\" | \"media.importTitleTemplate\" | \"media.initialVolume\" | \"media.interlacedPlayback\" | \"media.liveZoomDuration\" | \"media.maxSubclipDuration\" | \"media.playbackRates\" | \"media.rewindStep\" | \"media.stepManyFrames\" | \"media.subtitleTemplateId\" | \"media.subtitles\" | \"media.subtitles.maxCharactersPerLine\" | \"media.subtitles.spacing\" | \"media.tile\" | \"media.tile.preview\" | \"media.tile.showRenderProgress\" | \"media.timecodeReference\" | \"media.transcribe\" | \"media.transcribe.subtitleDisclaimer\" | \"media.transcribe.subtitleDisclaimer.defaultValue\" | \"media.transcribe.subtitleDisclaimer.defaultValue.duration\" | \"media.transcribe.subtitleDisclaimer.defaultValue.enabled\" | \"media.transcribe.subtitleDisclaimer.defaultValue.offset\" | \"media.transcribe.subtitleDisclaimer.defaultValue.text\" | \"media.transcribe.subtitleDisclaimer.isUserConfigurable\" | \"module\" | \"module.tabs\" | \"plugins\" | \"plugins.adobe\" | \"plugins.adobe.useProxies\" | \"predefinedTags\" | \"rundown\" | \"rundown.eventThumbnails\" | \"script\" | \"script.createMenu\" | \"script.createMenu.showPreview\" | \"storyboard\" | \"storyboard.assets\" | \"storyboard.assets.story\" | \"storyboard.assets.story.excerpt\" | \"storyboard.assets.story.excerpt.maxLines\" | \"storyboard.assets.story.excerpt.mode\" | \"storyboard.item\" | \"storyboard.item.maxHeight\" | \"storyboard.pipeline\" | \"storyboard.pipeline.search\" | \"storyboard.pipeline.search.maxItemsDisplayed\" | \"swarm\" | \"swarm.color\" | \"toolbarTags\" | \"toolbarTags.exclude\" | `[object Object]${number}[object Object]` | `[object Object]${number}[object Object]` | `[object Object]${number}[object Object]` | `[object Object]${number}[object Object]` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${string}`)",
|
|
2609
|
+
value: input
|
|
2610
|
+
}, errorFactory));
|
|
2611
|
+
})(input, "$input", true);
|
|
2612
|
+
};
|
|
2613
|
+
export const stringifySettingsPaths = input => {
|
|
2614
|
+
const $string = __typia.json.createStringify.string;
|
|
2615
|
+
return $string(input);
|
|
2616
|
+
};
|
|
2617
|
+
export const assertStringifySettingsPaths = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
2618
|
+
const __is = input => {
|
|
2619
|
+
return null !== input && undefined !== input && ("module" === input || "browser" === input || "toolbarTags" === input || "deadlines" === input || "assignees" === input || "clock" === input || "swarm" === input || "dashboard" === input || "script" === input || "rundown" === input || "gallery" === input || "history" === input || "keymap" === input || "media" === input || "predefinedTags" === input || "storyboard" === input || "plugins" === input || "crashScreen" === input || "debug" === input || "flags" === input || "module.tabs" === input || "browser.createMenu" === input || "browser.createMenu.sortOrder" === input || "toolbarTags.exclude" === input || "deadlines.include" === input || "assignees.include" === input || "clock.enable" === input || "clock.show24Hours" === input || "clock.showAmPm" === input || "clock.showSeconds" === input || "clock.showDayOfWeek" === input || "clock.showDate" === input || "clock.format" === input || "swarm.color" === input || "dashboard.maxMru" === input || "dashboard.maxTabs" === input || "script.createMenu" === input || "script.createMenu.showPreview" === input || "rundown.eventThumbnails" === input || "gallery.dimOnBlur" === input || "media.guide" === input || "media.stepManyFrames" === input || "media.liveZoomDuration" === input || "media.importTitleTemplate" === input || "media.tile" === input || "media.timecodeReference" === input || "media.maxSubclipDuration" === input || "media.rewindStep" === input || "media.forwardStep" === input || "media.interlacedPlayback" === input || "media.playbackRates" === input || "media.subtitles" === input || "media.subtitleTemplateId" === input || "media.initialVolume" === input || "media.guides" === input || "media.download" === input || "media.transcribe" === input || "media.guide.mask" === input || "media.tile.preview" === input || "media.tile.showRenderProgress" === input || "media.subtitles.spacing" === input || "media.subtitles.maxCharactersPerLine" === input || "media.transcribe.subtitleDisclaimer" === input || "media.transcribe.subtitleDisclaimer.isUserConfigurable" === input || "media.transcribe.subtitleDisclaimer.defaultValue" === input || "media.transcribe.subtitleDisclaimer.defaultValue.enabled" === input || "media.transcribe.subtitleDisclaimer.defaultValue.text" === input || "media.transcribe.subtitleDisclaimer.defaultValue.offset" === input || "media.transcribe.subtitleDisclaimer.defaultValue.duration" === input || "storyboard.assets" === input || "storyboard.pipeline" === input || "storyboard.item" === input || "storyboard.assets.story" === input || "storyboard.assets.story.excerpt" === input || "storyboard.assets.story.excerpt.maxLines" === input || "storyboard.assets.story.excerpt.mode" === input || "storyboard.pipeline.search" === input || "storyboard.pipeline.search.maxItemsDisplayed" === input || "storyboard.item.maxHeight" === input || "plugins.adobe" === input || "plugins.adobe.useProxies" === input || "flags.history" === input || "flags.utils" === input || "flags.refs" === input || "flags.access" === input || "flags.files" === input || "flags.export" === input || "flags.json" === input || "flags.hlsjs" === input || "string" === typeof input && (RegExp(/^module\.tabs\.(.*)/).test(input) || RegExp(/^browser\.createMenu\.sortOrder\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^toolbarTags\.exclude\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^deadlines\.include\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^assignees\.include\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^media\.playbackRates\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^media\.guides\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^media\.guides\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\.label$/).test(input) || RegExp(/^media\.guides\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\.aspectRatio$/).test(input) || RegExp(/^media\.transcribe\.subtitleDisclaimer\.defaultValue\.text\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^media\.transcribe\.subtitleDisclaimer\.defaultValue\.text\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\.language$/).test(input) || RegExp(/^media\.transcribe\.subtitleDisclaimer\.defaultValue\.text\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\.value$/).test(input) || RegExp(/^predefinedTags\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input)));
|
|
2620
|
+
};
|
|
2621
|
+
if (false === __is(input))
|
|
2622
|
+
((input, _path, _exceptionable = true) => {
|
|
2623
|
+
const $guard = __typia.json.createAssertStringify.guard;
|
|
2624
|
+
return (null !== input || $guard(true, {
|
|
2625
|
+
path: _path + "",
|
|
2626
|
+
expected: "(\"assignees\" | \"assignees.include\" | \"browser\" | \"browser.createMenu\" | \"browser.createMenu.sortOrder\" | \"clock\" | \"clock.enable\" | \"clock.format\" | \"clock.show24Hours\" | \"clock.showAmPm\" | \"clock.showDate\" | \"clock.showDayOfWeek\" | \"clock.showSeconds\" | \"crashScreen\" | \"dashboard\" | \"dashboard.maxMru\" | \"dashboard.maxTabs\" | \"deadlines\" | \"deadlines.include\" | \"debug\" | \"flags\" | \"flags.access\" | \"flags.export\" | \"flags.files\" | \"flags.history\" | \"flags.hlsjs\" | \"flags.json\" | \"flags.refs\" | \"flags.utils\" | \"gallery\" | \"gallery.dimOnBlur\" | \"history\" | \"keymap\" | \"media\" | \"media.download\" | \"media.forwardStep\" | \"media.guide\" | \"media.guide.mask\" | \"media.guides\" | \"media.importTitleTemplate\" | \"media.initialVolume\" | \"media.interlacedPlayback\" | \"media.liveZoomDuration\" | \"media.maxSubclipDuration\" | \"media.playbackRates\" | \"media.rewindStep\" | \"media.stepManyFrames\" | \"media.subtitleTemplateId\" | \"media.subtitles\" | \"media.subtitles.maxCharactersPerLine\" | \"media.subtitles.spacing\" | \"media.tile\" | \"media.tile.preview\" | \"media.tile.showRenderProgress\" | \"media.timecodeReference\" | \"media.transcribe\" | \"media.transcribe.subtitleDisclaimer\" | \"media.transcribe.subtitleDisclaimer.defaultValue\" | \"media.transcribe.subtitleDisclaimer.defaultValue.duration\" | \"media.transcribe.subtitleDisclaimer.defaultValue.enabled\" | \"media.transcribe.subtitleDisclaimer.defaultValue.offset\" | \"media.transcribe.subtitleDisclaimer.defaultValue.text\" | \"media.transcribe.subtitleDisclaimer.isUserConfigurable\" | \"module\" | \"module.tabs\" | \"plugins\" | \"plugins.adobe\" | \"plugins.adobe.useProxies\" | \"predefinedTags\" | \"rundown\" | \"rundown.eventThumbnails\" | \"script\" | \"script.createMenu\" | \"script.createMenu.showPreview\" | \"storyboard\" | \"storyboard.assets\" | \"storyboard.assets.story\" | \"storyboard.assets.story.excerpt\" | \"storyboard.assets.story.excerpt.maxLines\" | \"storyboard.assets.story.excerpt.mode\" | \"storyboard.item\" | \"storyboard.item.maxHeight\" | \"storyboard.pipeline\" | \"storyboard.pipeline.search\" | \"storyboard.pipeline.search.maxItemsDisplayed\" | \"swarm\" | \"swarm.color\" | \"toolbarTags\" | \"toolbarTags.exclude\" | `[object Object]${number}[object Object]` | `[object Object]${number}[object Object]` | `[object Object]${number}[object Object]` | `[object Object]${number}[object Object]` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${string}`)",
|
|
2627
|
+
value: input
|
|
2628
|
+
}, errorFactory)) && (undefined !== input || $guard(true, {
|
|
2629
|
+
path: _path + "",
|
|
2630
|
+
expected: "(\"assignees\" | \"assignees.include\" | \"browser\" | \"browser.createMenu\" | \"browser.createMenu.sortOrder\" | \"clock\" | \"clock.enable\" | \"clock.format\" | \"clock.show24Hours\" | \"clock.showAmPm\" | \"clock.showDate\" | \"clock.showDayOfWeek\" | \"clock.showSeconds\" | \"crashScreen\" | \"dashboard\" | \"dashboard.maxMru\" | \"dashboard.maxTabs\" | \"deadlines\" | \"deadlines.include\" | \"debug\" | \"flags\" | \"flags.access\" | \"flags.export\" | \"flags.files\" | \"flags.history\" | \"flags.hlsjs\" | \"flags.json\" | \"flags.refs\" | \"flags.utils\" | \"gallery\" | \"gallery.dimOnBlur\" | \"history\" | \"keymap\" | \"media\" | \"media.download\" | \"media.forwardStep\" | \"media.guide\" | \"media.guide.mask\" | \"media.guides\" | \"media.importTitleTemplate\" | \"media.initialVolume\" | \"media.interlacedPlayback\" | \"media.liveZoomDuration\" | \"media.maxSubclipDuration\" | \"media.playbackRates\" | \"media.rewindStep\" | \"media.stepManyFrames\" | \"media.subtitleTemplateId\" | \"media.subtitles\" | \"media.subtitles.maxCharactersPerLine\" | \"media.subtitles.spacing\" | \"media.tile\" | \"media.tile.preview\" | \"media.tile.showRenderProgress\" | \"media.timecodeReference\" | \"media.transcribe\" | \"media.transcribe.subtitleDisclaimer\" | \"media.transcribe.subtitleDisclaimer.defaultValue\" | \"media.transcribe.subtitleDisclaimer.defaultValue.duration\" | \"media.transcribe.subtitleDisclaimer.defaultValue.enabled\" | \"media.transcribe.subtitleDisclaimer.defaultValue.offset\" | \"media.transcribe.subtitleDisclaimer.defaultValue.text\" | \"media.transcribe.subtitleDisclaimer.isUserConfigurable\" | \"module\" | \"module.tabs\" | \"plugins\" | \"plugins.adobe\" | \"plugins.adobe.useProxies\" | \"predefinedTags\" | \"rundown\" | \"rundown.eventThumbnails\" | \"script\" | \"script.createMenu\" | \"script.createMenu.showPreview\" | \"storyboard\" | \"storyboard.assets\" | \"storyboard.assets.story\" | \"storyboard.assets.story.excerpt\" | \"storyboard.assets.story.excerpt.maxLines\" | \"storyboard.assets.story.excerpt.mode\" | \"storyboard.item\" | \"storyboard.item.maxHeight\" | \"storyboard.pipeline\" | \"storyboard.pipeline.search\" | \"storyboard.pipeline.search.maxItemsDisplayed\" | \"swarm\" | \"swarm.color\" | \"toolbarTags\" | \"toolbarTags.exclude\" | `[object Object]${number}[object Object]` | `[object Object]${number}[object Object]` | `[object Object]${number}[object Object]` | `[object Object]${number}[object Object]` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${string}`)",
|
|
2631
|
+
value: input
|
|
2632
|
+
}, errorFactory)) && ("module" === input || "browser" === input || "toolbarTags" === input || "deadlines" === input || "assignees" === input || "clock" === input || "swarm" === input || "dashboard" === input || "script" === input || "rundown" === input || "gallery" === input || "history" === input || "keymap" === input || "media" === input || "predefinedTags" === input || "storyboard" === input || "plugins" === input || "crashScreen" === input || "debug" === input || "flags" === input || "module.tabs" === input || "browser.createMenu" === input || "browser.createMenu.sortOrder" === input || "toolbarTags.exclude" === input || "deadlines.include" === input || "assignees.include" === input || "clock.enable" === input || "clock.show24Hours" === input || "clock.showAmPm" === input || "clock.showSeconds" === input || "clock.showDayOfWeek" === input || "clock.showDate" === input || "clock.format" === input || "swarm.color" === input || "dashboard.maxMru" === input || "dashboard.maxTabs" === input || "script.createMenu" === input || "script.createMenu.showPreview" === input || "rundown.eventThumbnails" === input || "gallery.dimOnBlur" === input || "media.guide" === input || "media.stepManyFrames" === input || "media.liveZoomDuration" === input || "media.importTitleTemplate" === input || "media.tile" === input || "media.timecodeReference" === input || "media.maxSubclipDuration" === input || "media.rewindStep" === input || "media.forwardStep" === input || "media.interlacedPlayback" === input || "media.playbackRates" === input || "media.subtitles" === input || "media.subtitleTemplateId" === input || "media.initialVolume" === input || "media.guides" === input || "media.download" === input || "media.transcribe" === input || "media.guide.mask" === input || "media.tile.preview" === input || "media.tile.showRenderProgress" === input || "media.subtitles.spacing" === input || "media.subtitles.maxCharactersPerLine" === input || "media.transcribe.subtitleDisclaimer" === input || "media.transcribe.subtitleDisclaimer.isUserConfigurable" === input || "media.transcribe.subtitleDisclaimer.defaultValue" === input || "media.transcribe.subtitleDisclaimer.defaultValue.enabled" === input || "media.transcribe.subtitleDisclaimer.defaultValue.text" === input || "media.transcribe.subtitleDisclaimer.defaultValue.offset" === input || "media.transcribe.subtitleDisclaimer.defaultValue.duration" === input || "storyboard.assets" === input || "storyboard.pipeline" === input || "storyboard.item" === input || "storyboard.assets.story" === input || "storyboard.assets.story.excerpt" === input || "storyboard.assets.story.excerpt.maxLines" === input || "storyboard.assets.story.excerpt.mode" === input || "storyboard.pipeline.search" === input || "storyboard.pipeline.search.maxItemsDisplayed" === input || "storyboard.item.maxHeight" === input || "plugins.adobe" === input || "plugins.adobe.useProxies" === input || "flags.history" === input || "flags.utils" === input || "flags.refs" === input || "flags.access" === input || "flags.files" === input || "flags.export" === input || "flags.json" === input || "flags.hlsjs" === input || "string" === typeof input && (RegExp(/^module\.tabs\.(.*)/).test(input) || RegExp(/^browser\.createMenu\.sortOrder\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^toolbarTags\.exclude\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^deadlines\.include\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^assignees\.include\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^media\.playbackRates\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^media\.guides\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^media\.guides\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\.label$/).test(input) || RegExp(/^media\.guides\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\.aspectRatio$/).test(input) || RegExp(/^media\.transcribe\.subtitleDisclaimer\.defaultValue\.text\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input) || RegExp(/^media\.transcribe\.subtitleDisclaimer\.defaultValue\.text\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\.language$/).test(input) || RegExp(/^media\.transcribe\.subtitleDisclaimer\.defaultValue\.text\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\.value$/).test(input) || RegExp(/^predefinedTags\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input)) || $guard(true, {
|
|
2633
|
+
path: _path + "",
|
|
2634
|
+
expected: "(\"assignees\" | \"assignees.include\" | \"browser\" | \"browser.createMenu\" | \"browser.createMenu.sortOrder\" | \"clock\" | \"clock.enable\" | \"clock.format\" | \"clock.show24Hours\" | \"clock.showAmPm\" | \"clock.showDate\" | \"clock.showDayOfWeek\" | \"clock.showSeconds\" | \"crashScreen\" | \"dashboard\" | \"dashboard.maxMru\" | \"dashboard.maxTabs\" | \"deadlines\" | \"deadlines.include\" | \"debug\" | \"flags\" | \"flags.access\" | \"flags.export\" | \"flags.files\" | \"flags.history\" | \"flags.hlsjs\" | \"flags.json\" | \"flags.refs\" | \"flags.utils\" | \"gallery\" | \"gallery.dimOnBlur\" | \"history\" | \"keymap\" | \"media\" | \"media.download\" | \"media.forwardStep\" | \"media.guide\" | \"media.guide.mask\" | \"media.guides\" | \"media.importTitleTemplate\" | \"media.initialVolume\" | \"media.interlacedPlayback\" | \"media.liveZoomDuration\" | \"media.maxSubclipDuration\" | \"media.playbackRates\" | \"media.rewindStep\" | \"media.stepManyFrames\" | \"media.subtitleTemplateId\" | \"media.subtitles\" | \"media.subtitles.maxCharactersPerLine\" | \"media.subtitles.spacing\" | \"media.tile\" | \"media.tile.preview\" | \"media.tile.showRenderProgress\" | \"media.timecodeReference\" | \"media.transcribe\" | \"media.transcribe.subtitleDisclaimer\" | \"media.transcribe.subtitleDisclaimer.defaultValue\" | \"media.transcribe.subtitleDisclaimer.defaultValue.duration\" | \"media.transcribe.subtitleDisclaimer.defaultValue.enabled\" | \"media.transcribe.subtitleDisclaimer.defaultValue.offset\" | \"media.transcribe.subtitleDisclaimer.defaultValue.text\" | \"media.transcribe.subtitleDisclaimer.isUserConfigurable\" | \"module\" | \"module.tabs\" | \"plugins\" | \"plugins.adobe\" | \"plugins.adobe.useProxies\" | \"predefinedTags\" | \"rundown\" | \"rundown.eventThumbnails\" | \"script\" | \"script.createMenu\" | \"script.createMenu.showPreview\" | \"storyboard\" | \"storyboard.assets\" | \"storyboard.assets.story\" | \"storyboard.assets.story.excerpt\" | \"storyboard.assets.story.excerpt.maxLines\" | \"storyboard.assets.story.excerpt.mode\" | \"storyboard.item\" | \"storyboard.item.maxHeight\" | \"storyboard.pipeline\" | \"storyboard.pipeline.search\" | \"storyboard.pipeline.search.maxItemsDisplayed\" | \"swarm\" | \"swarm.color\" | \"toolbarTags\" | \"toolbarTags.exclude\" | `[object Object]${number}[object Object]` | `[object Object]${number}[object Object]` | `[object Object]${number}[object Object]` | `[object Object]${number}[object Object]` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${number}` | `[object Object]${string}`)",
|
|
2635
|
+
value: input
|
|
2636
|
+
}, errorFactory));
|
|
2637
|
+
})(input, "$input", true);
|
|
2638
|
+
return input;
|
|
2639
|
+
}; const stringify = input => {
|
|
2640
|
+
const $string = __typia.json.createAssertStringify.string;
|
|
2641
|
+
return $string(input);
|
|
2642
|
+
}; return stringify(assert(input, errorFactory)); };
|