kairos-lib 0.0.1
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 +7 -0
- package/dist/lib/encode-decode.d.ts +7 -0
- package/dist/lib/encode-decode.d.ts.map +1 -0
- package/dist/lib/encode-decode.js +32 -0
- package/dist/lib/encode-decode.js.map +1 -0
- package/dist/lib/lib.d.ts +2 -0
- package/dist/lib/lib.d.ts.map +1 -0
- package/dist/lib/lib.js +7 -0
- package/dist/lib/lib.js.map +1 -0
- package/dist/lib/omit-readonly.d.ts +23 -0
- package/dist/lib/omit-readonly.d.ts.map +1 -0
- package/dist/lib/omit-readonly.js +3 -0
- package/dist/lib/omit-readonly.js.map +1 -0
- package/dist/lib/reference.d.ts +165 -0
- package/dist/lib/reference.d.ts.map +1 -0
- package/dist/lib/reference.js +437 -0
- package/dist/lib/reference.js.map +1 -0
- package/dist/main.d.ts +5 -0
- package/dist/main.d.ts.map +1 -0
- package/dist/main.js +8 -0
- package/dist/main.js.map +1 -0
- package/dist/types/audio-mixer.d.ts +11 -0
- package/dist/types/audio-mixer.d.ts.map +1 -0
- package/dist/types/audio-mixer.js +3 -0
- package/dist/types/audio-mixer.js.map +1 -0
- package/dist/types/audio-player.d.ts +8 -0
- package/dist/types/audio-player.d.ts.map +1 -0
- package/dist/types/audio-player.js +3 -0
- package/dist/types/audio-player.js.map +1 -0
- package/dist/types/auxes.d.ts +31 -0
- package/dist/types/auxes.d.ts.map +1 -0
- package/dist/types/auxes.js +18 -0
- package/dist/types/auxes.js.map +1 -0
- package/dist/types/clip-player.d.ts +35 -0
- package/dist/types/clip-player.d.ts.map +1 -0
- package/dist/types/clip-player.js +16 -0
- package/dist/types/clip-player.js.map +1 -0
- package/dist/types/effects.d.ts +859 -0
- package/dist/types/effects.d.ts.map +1 -0
- package/dist/types/effects.js +70 -0
- package/dist/types/effects.js.map +1 -0
- package/dist/types/gfx-channel.d.ts +8 -0
- package/dist/types/gfx-channel.d.ts.map +1 -0
- package/dist/types/gfx-channel.js +3 -0
- package/dist/types/gfx-channel.js.map +1 -0
- package/dist/types/gfx-scene.d.ts +42 -0
- package/dist/types/gfx-scene.d.ts.map +1 -0
- package/dist/types/gfx-scene.js +3 -0
- package/dist/types/gfx-scene.js.map +1 -0
- package/dist/types/image-store.d.ts +39 -0
- package/dist/types/image-store.d.ts.map +1 -0
- package/dist/types/image-store.js +12 -0
- package/dist/types/image-store.js.map +1 -0
- package/dist/types/input.d.ts +44 -0
- package/dist/types/input.d.ts.map +1 -0
- package/dist/types/input.js +18 -0
- package/dist/types/input.js.map +1 -0
- package/dist/types/lib-types.d.ts +29 -0
- package/dist/types/lib-types.d.ts.map +1 -0
- package/dist/types/lib-types.js +16 -0
- package/dist/types/lib-types.js.map +1 -0
- package/dist/types/macro.d.ts +14 -0
- package/dist/types/macro.d.ts.map +1 -0
- package/dist/types/macro.js +12 -0
- package/dist/types/macro.js.map +1 -0
- package/dist/types/main.d.ts +16 -0
- package/dist/types/main.d.ts.map +1 -0
- package/dist/types/main.js +19 -0
- package/dist/types/main.js.map +1 -0
- package/dist/types/media.d.ts +8 -0
- package/dist/types/media.d.ts.map +1 -0
- package/dist/types/media.js +3 -0
- package/dist/types/media.js.map +1 -0
- package/dist/types/ramrec-player.d.ts +8 -0
- package/dist/types/ramrec-player.d.ts.map +1 -0
- package/dist/types/ramrec-player.js +3 -0
- package/dist/types/ramrec-player.js.map +1 -0
- package/dist/types/scene.d.ts +421 -0
- package/dist/types/scene.d.ts.map +1 -0
- package/dist/types/scene.js +122 -0
- package/dist/types/scene.js.map +1 -0
- package/dist/types/sources.d.ts +23 -0
- package/dist/types/sources.d.ts.map +1 -0
- package/dist/types/sources.js +13 -0
- package/dist/types/sources.js.map +1 -0
- package/package.json +31 -0
|
@@ -0,0 +1,421 @@
|
|
|
1
|
+
import { OmitReadonly } from '../lib/omit-readonly.js';
|
|
2
|
+
import { SceneTransitionRef, SourceRef } from '../lib/reference.js';
|
|
3
|
+
import { ColorRGB, DissolveMode, Resolution } from './lib-types.js';
|
|
4
|
+
export interface SceneObject {
|
|
5
|
+
/**
|
|
6
|
+
* Enable or disable “Advanced resolution control” settings for individual X/Y Canvas
|
|
7
|
+
* Size. This setting can be applied per Scene. The default setting is “Disabled” in
|
|
8
|
+
* which case the check box appears unticked.
|
|
9
|
+
*/
|
|
10
|
+
advancedResolutionControl: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* When enabling the “Advanced resolution control” after unfolding the “Advanced”
|
|
13
|
+
* controls and tick the check box, the X - and Y-Resolution sliders allow to determine
|
|
14
|
+
* the individual resolution per Scene. This setting is independent from the selected
|
|
15
|
+
* sources within the Scene -internal sources as well as external sources, and from
|
|
16
|
+
* the designated outputs. In order to adjust the individual X/Y settings, the according
|
|
17
|
+
* slider, the numeric entry box or the arrow up/down icons can be used.
|
|
18
|
+
* [ integer, min: 16, max: 3840 ]
|
|
19
|
+
*/
|
|
20
|
+
readonly resolutionX: number;
|
|
21
|
+
/**
|
|
22
|
+
* When enabling the “Advanced resolution control” after unfolding the “Advanced”
|
|
23
|
+
* controls and tick the check box, the X - and Y-Resolution sliders allow to determine
|
|
24
|
+
* the individual resolution per Scene. This setting is independent from the selected
|
|
25
|
+
* sources within the Scene -internal sources as well as external sources, and from
|
|
26
|
+
* the designated outputs. In order to adjust the individual X/Y settings, the according
|
|
27
|
+
* slider, the numeric entry box or the arrow up/down icons can be used.
|
|
28
|
+
* [ integer, min: 10, max: 2160 ]
|
|
29
|
+
*/
|
|
30
|
+
readonly resolutionY: number;
|
|
31
|
+
/**
|
|
32
|
+
* Tally is monitoring if the selected Scene fulfills a certain predefined Tally condition,
|
|
33
|
+
* like for example:
|
|
34
|
+
* – Red for OnAir Tally
|
|
35
|
+
* – Yellow for Preview Tally
|
|
36
|
+
* – Green for Monitor Tally
|
|
37
|
+
* – Blue for Audience Tally
|
|
38
|
+
* – Magenta for Audio Source Tally
|
|
39
|
+
* – etc.
|
|
40
|
+
* In order to specify certain Tally conditions, select the “Aux” menu from the “Config”
|
|
41
|
+
* tray and configure the individual Aux outputs 1-16 to the desired Tally
|
|
42
|
+
* color/functionality. “Red” is default for “On Air” Tally and “Yellow” is default for
|
|
43
|
+
* Preview (PVW) Tally.
|
|
44
|
+
* [ integer ]
|
|
45
|
+
*/
|
|
46
|
+
readonly tally: number;
|
|
47
|
+
/**
|
|
48
|
+
* The “Color” setting allows the User to define a specific Scene color which is
|
|
49
|
+
* automatically applied to be used for the background color of the selected Scene.
|
|
50
|
+
* When clicking the area right next to the “Color” setting, a pop-up window allows to
|
|
51
|
+
* pick a color from the palette,“Pick Screen Color” or enter a HTML color code, RGB
|
|
52
|
+
* or HSL-values into the designated field. Also “Custom colors” can be saved within
|
|
53
|
+
* the pop-up dialog.
|
|
54
|
+
* @example rgb(255,0,0)
|
|
55
|
+
*/
|
|
56
|
+
color: ColorRGB;
|
|
57
|
+
/**
|
|
58
|
+
* The drop down menu next to “Resolution” allows to determine the designated
|
|
59
|
+
* Scene-Resolution. The selectable defaults are “1280x720p”, “1920x1080p” and
|
|
60
|
+
* “3840x2160”. */
|
|
61
|
+
resolution: Resolution;
|
|
62
|
+
/** list[ObjectID] */
|
|
63
|
+
nextTransition: SceneTransitionRef[];
|
|
64
|
+
/** [ integer ,min: 0, max: 9999 ] */
|
|
65
|
+
allDuration: number;
|
|
66
|
+
/** float */
|
|
67
|
+
allFader: number;
|
|
68
|
+
/** [ ObjectID ] */
|
|
69
|
+
nextTransitionType: string;
|
|
70
|
+
faderReverse: boolean;
|
|
71
|
+
faderSync: boolean;
|
|
72
|
+
/** */
|
|
73
|
+
limitOffAction: SceneLimitOffAction;
|
|
74
|
+
/** [ integer, min: 0, max: 9999 ] */
|
|
75
|
+
limitReturnTime: number;
|
|
76
|
+
/** ObjectID */
|
|
77
|
+
keyPreview: string;
|
|
78
|
+
}
|
|
79
|
+
export interface SceneLayerObject {
|
|
80
|
+
/**
|
|
81
|
+
* The Opacity setting allows the User to adjust the Transparency level (opposite of
|
|
82
|
+
* Opacity) for the selected Layer. In order to adjust the level for Opacity, the
|
|
83
|
+
* according slider, the numeric entry box or the arrow up/down icons can be used.
|
|
84
|
+
* The control range for “Opacity” is from 0,00% to 100,00% and default is 100.00%.
|
|
85
|
+
* [ float, min: 0, max: 1 ]
|
|
86
|
+
*/
|
|
87
|
+
opacity: number;
|
|
88
|
+
/**
|
|
89
|
+
* Source A/B source selection allows the User to select a source for the appropriate
|
|
90
|
+
* bus, regardless if the source is already part of “Source Options” in this Layer and/or
|
|
91
|
+
* Background or not. Next to the Source A/B source selection items, the actual
|
|
92
|
+
* selected source is displayed. Clicking on the symbol (Pen) right next to the setting,
|
|
93
|
+
* will open the according Input selection menu to select from all available listed
|
|
94
|
+
* external as well as internal sources.
|
|
95
|
+
* [ ObjectID ]
|
|
96
|
+
*/
|
|
97
|
+
sourceA: SourceRef;
|
|
98
|
+
/**
|
|
99
|
+
* Source A/B source selection allows the User to select a source for the appropriate
|
|
100
|
+
* bus, regardless if the source is already part of “Source Options” in this Layer and/or
|
|
101
|
+
* Background or not. Next to the Source A/B source selection items, the actual
|
|
102
|
+
* selected source is displayed. Clicking on the symbol (Pen) right next to the setting,
|
|
103
|
+
* will open the according Input selection menu to select from all available listed
|
|
104
|
+
* external as well as internal sources.
|
|
105
|
+
* [ ObjectID, read_only ]
|
|
106
|
+
*/
|
|
107
|
+
readonly sourceB: SourceRef | string;
|
|
108
|
+
/** [ ObjectID ] */
|
|
109
|
+
sourcePgm: SourceRef;
|
|
110
|
+
/**
|
|
111
|
+
* [ ObjectID ] */
|
|
112
|
+
sourcePst: SourceRef;
|
|
113
|
+
/**
|
|
114
|
+
* [ enum, read_only, min: 0, max: 1 ]
|
|
115
|
+
*/
|
|
116
|
+
readonly activeBus: SceneLayerActiveBus;
|
|
117
|
+
/**
|
|
118
|
+
* In “PGM/PST mode” the User can choose the behaviour for PGM/PST or A/B buses
|
|
119
|
+
* after next transition for Backgrounds and Layers (once “Preset enabled” is
|
|
120
|
+
* activated) based on 3 individual settings.
|
|
121
|
+
* In “PGM/PST mode” the User can choose the behaviour for PGM/PST or A/B buses
|
|
122
|
+
* after next transition for Backgrounds and Layers (once “Preset enabled” is
|
|
123
|
+
* activated) based on 3 individual settings. The different selections can be achieved
|
|
124
|
+
* by clicking the arrow down icon at the pull down menu next to the “PGM/PST mode”
|
|
125
|
+
* selection. Swap = is Default behaviour. The former PST/B-bus source becomes the
|
|
126
|
+
* PGM/A-bus source after the next transition. And PGM/A-bus becomes PST/B-bus
|
|
127
|
+
* source. Next = After the next transition the former PST/B-bus becomes PGM/A-bus,
|
|
128
|
+
* and the former PST/B-bus source will increase +1 according to the “Source
|
|
129
|
+
* Options” list. The intention is to mimic a “Studio Automation” system. However, the
|
|
130
|
+
* User always can do a temporary overwrite, simulating that the “Next Story” or in
|
|
131
|
+
* general the next source is not “Ready” yet. When the last PST/B-bus crosspoint is
|
|
132
|
+
* reached and taken to PGM/A-bus, there’s no automatic crosspoint change anymore
|
|
133
|
+
* and the sequence is stopped. Next+Loop = Is the same behaviour like described for
|
|
134
|
+
* “Next”, but after the final PST/B-bus crosspoint is reached and taken to PGM/A-bus,
|
|
135
|
+
* the PST/B-bus crosspoint will select the first listed source again and start to loop
|
|
136
|
+
* from the beginning. This sequence will loop/cycle endless until the User is changing
|
|
137
|
+
* the “PGM/PST mode” back to “Swap” or “Next”. Also in “Next+Loop” the User
|
|
138
|
+
* always can do a temporary overwrite in order to simulate that the “Next Story” or
|
|
139
|
+
* “Source” in general is not “Ready” yet.
|
|
140
|
+
* [ enum, min: 0, max: 3 ]
|
|
141
|
+
*/
|
|
142
|
+
pgmPstMode: SceneLayerPgmPstMode;
|
|
143
|
+
/**
|
|
144
|
+
* In “Source Options” the User can determine which sources in a specific Scene
|
|
145
|
+
* and/or Layer are relevant to the composite, and probably needs to be changeable
|
|
146
|
+
* on the fly in direct access.
|
|
147
|
+
* The function “Source Options” is available -apart from Layer settings- at various
|
|
148
|
+
* different locations within the system, and is responsible for the User specific
|
|
149
|
+
* customisation of direct accessible sources/crosspoints per A/B-bus. “Source
|
|
150
|
+
* Options” also can be applied to -for example- individual output destinations, such as
|
|
151
|
+
* Multiviewers and Aux-Out, etc. If B-Bus is enabled the available “Source Options”
|
|
152
|
+
* are equal to the selection made for A-Bus. For some buses it might be useful not
|
|
153
|
+
* having a single Source Option at all, like for instance the CG source -when only a
|
|
154
|
+
* single GFX system is available- there won’t be any other substitute or plan-B
|
|
155
|
+
* available, in case the main CG fails. However, in order to create a specific list of
|
|
156
|
+
* “Source Options”, click on the symbol (Pen) right next to the “Source Options” item,
|
|
157
|
+
* and the according pop-up menu task is started. Here single sources or groups of
|
|
158
|
+
* sources can be added and/or subtracted from the designated source option list.
|
|
159
|
+
* Also the order of appearance within the “Source Options” list can be edited.
|
|
160
|
+
* [ list[ObjectID] ] */
|
|
161
|
+
sourceOptions: SourceRef[];
|
|
162
|
+
/**
|
|
163
|
+
* [ enum, read_only, min: 0, max: 3 ]
|
|
164
|
+
*/
|
|
165
|
+
readonly state: SceneLayerState;
|
|
166
|
+
/**
|
|
167
|
+
* In “Mode” selection the User can choose how to affect a selected source in terms of
|
|
168
|
+
* size in order to fit into the actual Scene resolution (Canvas Size).
|
|
169
|
+
* Changing the “Mode” selection the User can determine to pre-process a selected
|
|
170
|
+
* source in terms of Size and Aspect Ratio to fit into the actual adjusted Scene
|
|
171
|
+
* resolution (Canvas Size). There are 4 settings available to select from by clicking
|
|
172
|
+
* the arrow down icon at the pull-down menu, next to the “Mode” selection. KeepSize
|
|
173
|
+
* = Source remains unaffected in terms of Size and Aspect Ratio. The source is
|
|
174
|
+
* presented center-cut within the Scene resolution settings. Aspect ratio in this case
|
|
175
|
+
* remains unaffected. However, if the source resolution is smaller than the actual
|
|
176
|
+
* Scene resolution, the uncovered Canvas area appears transparent. If the source
|
|
177
|
+
* resolution is larger than the targeted Scene resolution, the Canvas will crop the
|
|
178
|
+
* source accordingly in center-cut condition. FitScene = Will Auto-Size and AutoAspect the selected source in order to fit exactly into the targeted Scene resolution.
|
|
179
|
+
* Be aware of that this operational mode can cause unwanted geometric distortions,
|
|
180
|
+
* e.g. by stretching a selected source circle shape into an ellipse.
|
|
181
|
+
* FitSceneKeepAspect = This function will proportionally zoom the selected and
|
|
182
|
+
* center source until the left-right or top-bottom edge equals the Scene resolution
|
|
183
|
+
* without changing the source Aspect-Ratio. Again, an uncovered target area appears
|
|
184
|
+
* transparent in the actual Canvas. This method, unlike the “Fit Scene” mode,
|
|
185
|
+
* prevents from causing unwanted distortions to the selected source. Auto = is
|
|
186
|
+
* Default setting. This setting will auto-select the most appropriate mode from
|
|
187
|
+
* “KeepSize”, “FitScene” or “FitSceneKeepAspect” to start with.
|
|
188
|
+
* [ enum, min: 0, max: 3 ]
|
|
189
|
+
*/
|
|
190
|
+
mode: SceneLayerMode;
|
|
191
|
+
/**
|
|
192
|
+
* [ bool, read_only ]
|
|
193
|
+
*/
|
|
194
|
+
readonly fxEnabled: boolean;
|
|
195
|
+
/**
|
|
196
|
+
* The B-Bus can be enabled per Layer and Background Layer. Default for Layer =
|
|
197
|
+
* Disabled. Default for Background Layer = Enabled. When B-Bus is enabled the
|
|
198
|
+
* check box appears ticked.
|
|
199
|
+
* Enable the B-Bus on a Layer allows the User to apply A-B transtions (Mix, Wipe,
|
|
200
|
+
* DVE, etc.) like on PGM/PST without routing another Scene to the A-Bus source and
|
|
201
|
+
* performing the transition upstream. However, it is also valid to disable the B-Bus on
|
|
202
|
+
* Background Layer, since there’s probably/absolutely no need to perform any other
|
|
203
|
+
* transition apart from “Cut” in the created Scene. When B-Bus is enabled the check
|
|
204
|
+
* box appears ticked.
|
|
205
|
+
* [ bool ]
|
|
206
|
+
*/
|
|
207
|
+
presetEnabled: boolean;
|
|
208
|
+
/**
|
|
209
|
+
* The “Color” setting allows the User to define a specific color per Layer within the
|
|
210
|
+
* selected Scene. When clicking the area right next to the “Color” setting, a pop-up
|
|
211
|
+
* window allows to pick a color from the palette, Use “Pick Screen Color” or enter a
|
|
212
|
+
* HTML color code, RGB or HSL-values into the designated field. Also “Custom
|
|
213
|
+
* colors” can be saved within the pop-up dialog.
|
|
214
|
+
* @example rgb(255,0,0)
|
|
215
|
+
*/
|
|
216
|
+
color: ColorRGB;
|
|
217
|
+
/**
|
|
218
|
+
* The “Clean mask” selection allows to configure up to 8 different Clean Feed circuits
|
|
219
|
+
* per Layer, which later on can be applied as single or combined circuits to individual
|
|
220
|
+
* Aux-Output signals as well as individual Multiviewer-Outputs/tiles.
|
|
221
|
+
* When a specific Output configuration is needed where certain e.g. GFX elements
|
|
222
|
+
* are not supposed to be visible, the “Clean mask” setting will help to make the right
|
|
223
|
+
* adjustments. Here the User can determine a Bit-mask using Bit 1-8 in order to
|
|
224
|
+
* decide if the selected Layer is visible in the selected “Clean mask” or not - multi
|
|
225
|
+
* selections can be applied. Selecting a Bit within the mask will decide that -unlike the
|
|
226
|
+
* PGM-Out of the hosting Scene- this Layer won’t be visible on an Output where this
|
|
227
|
+
* Bit-Mask -in the designated Output menu (Aux, MV-Layout)- is enabled. An Output
|
|
228
|
+
* also has the ability to combine/cascade multiple Clean masks. The selection “none”
|
|
229
|
+
* indicates that the “Clean mask” for this Layer is disabled entirely. Clicking on the
|
|
230
|
+
* symbol (Pen) right next to the setting, will open the drop-down menu, where the
|
|
231
|
+
* individual Bits 1-8 can be selected for Clean Feed circuits. Again, multi selections
|
|
232
|
+
* can be applied. The “Clean mask” field is than indicating which “Clean mask” Bit is
|
|
233
|
+
* enabled e.g. “1,4,7”. Those Bits can also be unselected individually, or use the
|
|
234
|
+
* function “Clear” in the drop-down Menu in order to unselect all “Clean mask” Bits.
|
|
235
|
+
* [ integer ]
|
|
236
|
+
*/
|
|
237
|
+
cleanMask: number;
|
|
238
|
+
/**
|
|
239
|
+
* [ integer ]
|
|
240
|
+
*/
|
|
241
|
+
sourceCleanMask: number;
|
|
242
|
+
/**
|
|
243
|
+
* “Dissolve enabled” allows to do direct dissolves to the next selected source on the
|
|
244
|
+
* designated bus, whereby the dissolve type “Mix” is default. When function “Dissolve
|
|
245
|
+
* enabled” is activated, the check box appears ticked.
|
|
246
|
+
* [ bool ]
|
|
247
|
+
*/
|
|
248
|
+
dissolveEnabled: boolean;
|
|
249
|
+
/**
|
|
250
|
+
* The “Dissolve time” setting allows the user to set the transition duration rate for bus
|
|
251
|
+
* dissolve, used when “Dissolve enabled” is activated. The control range for “Dissolve
|
|
252
|
+
* time” is in frames, ranging from 0 to 100. Adjustments can be done using the
|
|
253
|
+
* according slider, the numeric entry box or the arrow up/down icons. Default = 50
|
|
254
|
+
* frames.
|
|
255
|
+
* [ integer, min: 0, max: 9999 ]
|
|
256
|
+
*/
|
|
257
|
+
dissolveTime: number;
|
|
258
|
+
/**
|
|
259
|
+
* When “Dissolve effect” other than “Mix” is selected, the transition type “Wipe”,
|
|
260
|
+
* “DVE” or “User” can be forced to run always in “Normal”, “Reverse” or “Cross”
|
|
261
|
+
* (Normal/Reverse) direction. The drop-down menu is used to make the required
|
|
262
|
+
* selection.
|
|
263
|
+
* [ enum ]
|
|
264
|
+
*/
|
|
265
|
+
dissolveMode: DissolveMode;
|
|
266
|
+
/**
|
|
267
|
+
* [ enum ]
|
|
268
|
+
*/
|
|
269
|
+
blendMode: SceneLayerBlendMode;
|
|
270
|
+
}
|
|
271
|
+
export interface SceneTransitionObject {
|
|
272
|
+
/**
|
|
273
|
+
* [ float, min: 0, max: 1 ]
|
|
274
|
+
*/
|
|
275
|
+
readonly progress: number;
|
|
276
|
+
/**
|
|
277
|
+
* [ integer, min: 0, max: 9999 ]
|
|
278
|
+
*/
|
|
279
|
+
readonly progressFrames: number;
|
|
280
|
+
/**
|
|
281
|
+
* [ integer, min: 0, max: 9999 ]
|
|
282
|
+
*/
|
|
283
|
+
duration: number;
|
|
284
|
+
}
|
|
285
|
+
export interface SceneTransitionMixEffectObject {
|
|
286
|
+
curve: SceneCurve;
|
|
287
|
+
readonly effect: string;
|
|
288
|
+
effectName: string;
|
|
289
|
+
}
|
|
290
|
+
export interface SceneSnapshotObject {
|
|
291
|
+
/**
|
|
292
|
+
* [ enum, read_only ] */
|
|
293
|
+
readonly status: SceneSnapshotStatus;
|
|
294
|
+
/**
|
|
295
|
+
* [ ColorRGB ]
|
|
296
|
+
*/
|
|
297
|
+
color: ColorRGB;
|
|
298
|
+
/**
|
|
299
|
+
* [ int, min: 0, max: 9999 ]
|
|
300
|
+
*/
|
|
301
|
+
dissolveTime: number;
|
|
302
|
+
enableCurve: boolean;
|
|
303
|
+
curve: SceneCurve;
|
|
304
|
+
/**
|
|
305
|
+
* [enum, min: 0, max: 2 ]
|
|
306
|
+
*/
|
|
307
|
+
priorityRecall: SceneSnapshotPriorityRecall;
|
|
308
|
+
}
|
|
309
|
+
export declare enum SceneLimitOffAction {
|
|
310
|
+
None = "None",
|
|
311
|
+
ToBegin = "ToBegin",
|
|
312
|
+
ToEnd = "ToEnd"
|
|
313
|
+
}
|
|
314
|
+
export declare enum SceneLayerActiveBus {
|
|
315
|
+
ABus = "A-Bus",
|
|
316
|
+
BBus = "B-Bus"
|
|
317
|
+
}
|
|
318
|
+
export declare enum SceneLayerPgmPstMode {
|
|
319
|
+
Swap = "Swap",
|
|
320
|
+
Next = "Next",
|
|
321
|
+
NextLoop = "NextLoop",
|
|
322
|
+
Follow = "Follow"
|
|
323
|
+
}
|
|
324
|
+
export declare enum SceneLayerState {
|
|
325
|
+
Off = "Off",
|
|
326
|
+
On = "On",
|
|
327
|
+
FadeIn = "FadeIn",
|
|
328
|
+
FadeOut = "FadeOut"
|
|
329
|
+
}
|
|
330
|
+
export declare enum SceneLayerMode {
|
|
331
|
+
FitScene = "FitScene",
|
|
332
|
+
FitSceneKeepAspect = "FitSceneKeepAspect",
|
|
333
|
+
KeepSize = "KeepSize",
|
|
334
|
+
Auto = "Auto"
|
|
335
|
+
}
|
|
336
|
+
export declare enum SceneLayerBlendMode {
|
|
337
|
+
Default = "Default",
|
|
338
|
+
Normal = "Normal",
|
|
339
|
+
Lighten = "Lighten",
|
|
340
|
+
Darken = "Darken",
|
|
341
|
+
Multiply = "Multiply",
|
|
342
|
+
Average = "Average",
|
|
343
|
+
Add = "Add",
|
|
344
|
+
Substract = "Substract",
|
|
345
|
+
Difference = "Difference",
|
|
346
|
+
Negation = "Negation",
|
|
347
|
+
Exclusion = "Exclusion",
|
|
348
|
+
Screen = "Screen",
|
|
349
|
+
Overlay = "Overlay",
|
|
350
|
+
SoftLight = "SoftLight",
|
|
351
|
+
HardLight = "HardLight",
|
|
352
|
+
ColorDodge = "ColorDodge",
|
|
353
|
+
ColorBurn = "ColorBurn",
|
|
354
|
+
LinearDodge = "LinearDodge",
|
|
355
|
+
LinearBurn = "LinearBurn",
|
|
356
|
+
LinearLight = "LinearLight",
|
|
357
|
+
VividLight = "VividLight",
|
|
358
|
+
PinLight = "PinLight",
|
|
359
|
+
HardMix = "HardMix",
|
|
360
|
+
Reflect = "Reflect",
|
|
361
|
+
Glow = "Glow",
|
|
362
|
+
Phoenix = "Phoenix"
|
|
363
|
+
}
|
|
364
|
+
export declare enum SceneSnapshotStatus {
|
|
365
|
+
Stopped = "Stopped",
|
|
366
|
+
Playing = "Playing"
|
|
367
|
+
}
|
|
368
|
+
export declare enum SceneCurve {
|
|
369
|
+
Linear = "Linear",
|
|
370
|
+
QuadIn = "QuadIn",
|
|
371
|
+
QuadOut = "QuadOut",
|
|
372
|
+
QuadInOut = "QuadInOut",
|
|
373
|
+
QuadOutIn = "QuadOutIn",
|
|
374
|
+
CubicIn = "CubicIn",
|
|
375
|
+
CubicOut = "CubicOut",
|
|
376
|
+
CubicInOut = "CubicInOut",
|
|
377
|
+
CubicOutIn = "CubicOutIn",
|
|
378
|
+
QuartIn = "QuartIn",
|
|
379
|
+
QuartOut = "QuartOut",
|
|
380
|
+
QuartInOut = "QuartInOut",
|
|
381
|
+
QuartOutIn = "QuartOutIn",
|
|
382
|
+
QuintIn = "QuintIn",
|
|
383
|
+
QuintOut = "QuintOut",
|
|
384
|
+
QuintInOut = "QuintInOut",
|
|
385
|
+
QuintOutIn = "QuintOutIn",
|
|
386
|
+
SineIn = "SineIn",
|
|
387
|
+
SineOut = "SineOut",
|
|
388
|
+
SineInOut = "SineInOut",
|
|
389
|
+
SineOutIn = "SineOutIn",
|
|
390
|
+
ExpoIn = "ExpoIn",
|
|
391
|
+
ExpoOut = "ExpoOut",
|
|
392
|
+
ExpoInOut = "ExpoInOut",
|
|
393
|
+
ExpoOutIn = "ExpoOutIn",
|
|
394
|
+
CircularIn = "CircularIn",
|
|
395
|
+
CircularOut = "CircularOut",
|
|
396
|
+
CircularInOut = "CircularInOut",
|
|
397
|
+
CircularOutIn = "CircularOutIn",
|
|
398
|
+
ElasticIn = "ElasticIn",
|
|
399
|
+
ElasticOut = "ElasticOut",
|
|
400
|
+
ElasticInOut = "ElasticInOut",
|
|
401
|
+
ElasticOutIn = "ElasticOutIn",
|
|
402
|
+
BackIn = "BackIn",
|
|
403
|
+
BackOut = "BackOut",
|
|
404
|
+
BackInOut = "BackInOut",
|
|
405
|
+
BackOutIn = "BackOutIn",
|
|
406
|
+
BounceIn = "BounceIn",
|
|
407
|
+
BounceOut = "BounceOut",
|
|
408
|
+
BounceInOut = "BounceInOut",
|
|
409
|
+
BounceOutIn = "BounceOutIn"
|
|
410
|
+
}
|
|
411
|
+
export declare enum SceneSnapshotPriorityRecall {
|
|
412
|
+
Off = "Off",
|
|
413
|
+
Pre = "Pre",
|
|
414
|
+
Post = "Post"
|
|
415
|
+
}
|
|
416
|
+
export type UpdateSceneObject = OmitReadonly<SceneObject>;
|
|
417
|
+
export type UpdateSceneLayerObject = OmitReadonly<SceneLayerObject>;
|
|
418
|
+
export type UpdateSceneTransitionObject = OmitReadonly<SceneTransitionObject>;
|
|
419
|
+
export type UpdateSceneTransitionMixEffectObject = OmitReadonly<SceneTransitionMixEffectObject>;
|
|
420
|
+
export type UpdateSceneSnapshotObject = OmitReadonly<SceneSnapshotObject>;
|
|
421
|
+
//# sourceMappingURL=scene.d.ts.map
|
|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,CAAC,CAAA"}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SceneSnapshotPriorityRecall = exports.SceneCurve = exports.SceneSnapshotStatus = exports.SceneLayerBlendMode = exports.SceneLayerMode = exports.SceneLayerState = exports.SceneLayerPgmPstMode = exports.SceneLayerActiveBus = exports.SceneLimitOffAction = void 0;
|
|
4
|
+
// ------------------------- enums -----------------------------
|
|
5
|
+
var SceneLimitOffAction;
|
|
6
|
+
(function (SceneLimitOffAction) {
|
|
7
|
+
SceneLimitOffAction["None"] = "None";
|
|
8
|
+
SceneLimitOffAction["ToBegin"] = "ToBegin";
|
|
9
|
+
SceneLimitOffAction["ToEnd"] = "ToEnd";
|
|
10
|
+
})(SceneLimitOffAction || (exports.SceneLimitOffAction = SceneLimitOffAction = {}));
|
|
11
|
+
var SceneLayerActiveBus;
|
|
12
|
+
(function (SceneLayerActiveBus) {
|
|
13
|
+
SceneLayerActiveBus["ABus"] = "A-Bus";
|
|
14
|
+
SceneLayerActiveBus["BBus"] = "B-Bus";
|
|
15
|
+
})(SceneLayerActiveBus || (exports.SceneLayerActiveBus = SceneLayerActiveBus = {}));
|
|
16
|
+
var SceneLayerPgmPstMode;
|
|
17
|
+
(function (SceneLayerPgmPstMode) {
|
|
18
|
+
SceneLayerPgmPstMode["Swap"] = "Swap";
|
|
19
|
+
SceneLayerPgmPstMode["Next"] = "Next";
|
|
20
|
+
SceneLayerPgmPstMode["NextLoop"] = "NextLoop";
|
|
21
|
+
SceneLayerPgmPstMode["Follow"] = "Follow";
|
|
22
|
+
})(SceneLayerPgmPstMode || (exports.SceneLayerPgmPstMode = SceneLayerPgmPstMode = {}));
|
|
23
|
+
var SceneLayerState;
|
|
24
|
+
(function (SceneLayerState) {
|
|
25
|
+
SceneLayerState["Off"] = "Off";
|
|
26
|
+
SceneLayerState["On"] = "On";
|
|
27
|
+
SceneLayerState["FadeIn"] = "FadeIn";
|
|
28
|
+
SceneLayerState["FadeOut"] = "FadeOut";
|
|
29
|
+
})(SceneLayerState || (exports.SceneLayerState = SceneLayerState = {}));
|
|
30
|
+
var SceneLayerMode;
|
|
31
|
+
(function (SceneLayerMode) {
|
|
32
|
+
SceneLayerMode["FitScene"] = "FitScene";
|
|
33
|
+
SceneLayerMode["FitSceneKeepAspect"] = "FitSceneKeepAspect";
|
|
34
|
+
SceneLayerMode["KeepSize"] = "KeepSize";
|
|
35
|
+
SceneLayerMode["Auto"] = "Auto";
|
|
36
|
+
})(SceneLayerMode || (exports.SceneLayerMode = SceneLayerMode = {}));
|
|
37
|
+
var SceneLayerBlendMode;
|
|
38
|
+
(function (SceneLayerBlendMode) {
|
|
39
|
+
SceneLayerBlendMode["Default"] = "Default";
|
|
40
|
+
SceneLayerBlendMode["Normal"] = "Normal";
|
|
41
|
+
SceneLayerBlendMode["Lighten"] = "Lighten";
|
|
42
|
+
SceneLayerBlendMode["Darken"] = "Darken";
|
|
43
|
+
SceneLayerBlendMode["Multiply"] = "Multiply";
|
|
44
|
+
SceneLayerBlendMode["Average"] = "Average";
|
|
45
|
+
SceneLayerBlendMode["Add"] = "Add";
|
|
46
|
+
SceneLayerBlendMode["Substract"] = "Substract";
|
|
47
|
+
SceneLayerBlendMode["Difference"] = "Difference";
|
|
48
|
+
SceneLayerBlendMode["Negation"] = "Negation";
|
|
49
|
+
SceneLayerBlendMode["Exclusion"] = "Exclusion";
|
|
50
|
+
SceneLayerBlendMode["Screen"] = "Screen";
|
|
51
|
+
SceneLayerBlendMode["Overlay"] = "Overlay";
|
|
52
|
+
SceneLayerBlendMode["SoftLight"] = "SoftLight";
|
|
53
|
+
SceneLayerBlendMode["HardLight"] = "HardLight";
|
|
54
|
+
SceneLayerBlendMode["ColorDodge"] = "ColorDodge";
|
|
55
|
+
SceneLayerBlendMode["ColorBurn"] = "ColorBurn";
|
|
56
|
+
SceneLayerBlendMode["LinearDodge"] = "LinearDodge";
|
|
57
|
+
SceneLayerBlendMode["LinearBurn"] = "LinearBurn";
|
|
58
|
+
SceneLayerBlendMode["LinearLight"] = "LinearLight";
|
|
59
|
+
SceneLayerBlendMode["VividLight"] = "VividLight";
|
|
60
|
+
SceneLayerBlendMode["PinLight"] = "PinLight";
|
|
61
|
+
SceneLayerBlendMode["HardMix"] = "HardMix";
|
|
62
|
+
SceneLayerBlendMode["Reflect"] = "Reflect";
|
|
63
|
+
SceneLayerBlendMode["Glow"] = "Glow";
|
|
64
|
+
SceneLayerBlendMode["Phoenix"] = "Phoenix";
|
|
65
|
+
})(SceneLayerBlendMode || (exports.SceneLayerBlendMode = SceneLayerBlendMode = {}));
|
|
66
|
+
var SceneSnapshotStatus;
|
|
67
|
+
(function (SceneSnapshotStatus) {
|
|
68
|
+
SceneSnapshotStatus["Stopped"] = "Stopped";
|
|
69
|
+
SceneSnapshotStatus["Playing"] = "Playing";
|
|
70
|
+
})(SceneSnapshotStatus || (exports.SceneSnapshotStatus = SceneSnapshotStatus = {}));
|
|
71
|
+
var SceneCurve;
|
|
72
|
+
(function (SceneCurve) {
|
|
73
|
+
// Used both in snapshots and transitions
|
|
74
|
+
SceneCurve["Linear"] = "Linear";
|
|
75
|
+
SceneCurve["QuadIn"] = "QuadIn";
|
|
76
|
+
SceneCurve["QuadOut"] = "QuadOut";
|
|
77
|
+
SceneCurve["QuadInOut"] = "QuadInOut";
|
|
78
|
+
SceneCurve["QuadOutIn"] = "QuadOutIn";
|
|
79
|
+
SceneCurve["CubicIn"] = "CubicIn";
|
|
80
|
+
SceneCurve["CubicOut"] = "CubicOut";
|
|
81
|
+
SceneCurve["CubicInOut"] = "CubicInOut";
|
|
82
|
+
SceneCurve["CubicOutIn"] = "CubicOutIn";
|
|
83
|
+
SceneCurve["QuartIn"] = "QuartIn";
|
|
84
|
+
SceneCurve["QuartOut"] = "QuartOut";
|
|
85
|
+
SceneCurve["QuartInOut"] = "QuartInOut";
|
|
86
|
+
SceneCurve["QuartOutIn"] = "QuartOutIn";
|
|
87
|
+
SceneCurve["QuintIn"] = "QuintIn";
|
|
88
|
+
SceneCurve["QuintOut"] = "QuintOut";
|
|
89
|
+
SceneCurve["QuintInOut"] = "QuintInOut";
|
|
90
|
+
SceneCurve["QuintOutIn"] = "QuintOutIn";
|
|
91
|
+
SceneCurve["SineIn"] = "SineIn";
|
|
92
|
+
SceneCurve["SineOut"] = "SineOut";
|
|
93
|
+
SceneCurve["SineInOut"] = "SineInOut";
|
|
94
|
+
SceneCurve["SineOutIn"] = "SineOutIn";
|
|
95
|
+
SceneCurve["ExpoIn"] = "ExpoIn";
|
|
96
|
+
SceneCurve["ExpoOut"] = "ExpoOut";
|
|
97
|
+
SceneCurve["ExpoInOut"] = "ExpoInOut";
|
|
98
|
+
SceneCurve["ExpoOutIn"] = "ExpoOutIn";
|
|
99
|
+
SceneCurve["CircularIn"] = "CircularIn";
|
|
100
|
+
SceneCurve["CircularOut"] = "CircularOut";
|
|
101
|
+
SceneCurve["CircularInOut"] = "CircularInOut";
|
|
102
|
+
SceneCurve["CircularOutIn"] = "CircularOutIn";
|
|
103
|
+
SceneCurve["ElasticIn"] = "ElasticIn";
|
|
104
|
+
SceneCurve["ElasticOut"] = "ElasticOut";
|
|
105
|
+
SceneCurve["ElasticInOut"] = "ElasticInOut";
|
|
106
|
+
SceneCurve["ElasticOutIn"] = "ElasticOutIn";
|
|
107
|
+
SceneCurve["BackIn"] = "BackIn";
|
|
108
|
+
SceneCurve["BackOut"] = "BackOut";
|
|
109
|
+
SceneCurve["BackInOut"] = "BackInOut";
|
|
110
|
+
SceneCurve["BackOutIn"] = "BackOutIn";
|
|
111
|
+
SceneCurve["BounceIn"] = "BounceIn";
|
|
112
|
+
SceneCurve["BounceOut"] = "BounceOut";
|
|
113
|
+
SceneCurve["BounceInOut"] = "BounceInOut";
|
|
114
|
+
SceneCurve["BounceOutIn"] = "BounceOutIn";
|
|
115
|
+
})(SceneCurve || (exports.SceneCurve = SceneCurve = {}));
|
|
116
|
+
var SceneSnapshotPriorityRecall;
|
|
117
|
+
(function (SceneSnapshotPriorityRecall) {
|
|
118
|
+
SceneSnapshotPriorityRecall["Off"] = "Off";
|
|
119
|
+
SceneSnapshotPriorityRecall["Pre"] = "Pre";
|
|
120
|
+
SceneSnapshotPriorityRecall["Post"] = "Post";
|
|
121
|
+
})(SceneSnapshotPriorityRecall || (exports.SceneSnapshotPriorityRecall = SceneSnapshotPriorityRecall = {}));
|
|
122
|
+
//# sourceMappingURL=scene.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scene.js","sourceRoot":"","sources":["../../src/types/scene.ts"],"names":[],"mappings":";;;AAoVA,gEAAgE;AAChE,IAAY,mBAIX;AAJD,WAAY,mBAAmB;IAC9B,oCAAa,CAAA;IACb,0CAAmB,CAAA;IACnB,sCAAe,CAAA;AAChB,CAAC,EAJW,mBAAmB,mCAAnB,mBAAmB,QAI9B;AACD,IAAY,mBAGX;AAHD,WAAY,mBAAmB;IAC9B,qCAAc,CAAA;IACd,qCAAc,CAAA;AACf,CAAC,EAHW,mBAAmB,mCAAnB,mBAAmB,QAG9B;AACD,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC/B,qCAAa,CAAA;IACb,qCAAa,CAAA;IACb,6CAAqB,CAAA;IACrB,yCAAiB,CAAA;AAClB,CAAC,EALW,oBAAoB,oCAApB,oBAAoB,QAK/B;AACD,IAAY,eAKX;AALD,WAAY,eAAe;IAC1B,8BAAW,CAAA;IACX,4BAAS,CAAA;IACT,oCAAiB,CAAA;IACjB,sCAAmB,CAAA;AACpB,CAAC,EALW,eAAe,+BAAf,eAAe,QAK1B;AACD,IAAY,cAKX;AALD,WAAY,cAAc;IACzB,uCAAqB,CAAA;IACrB,2DAAyC,CAAA;IACzC,uCAAqB,CAAA;IACrB,+BAAa,CAAA;AACd,CAAC,EALW,cAAc,8BAAd,cAAc,QAKzB;AACD,IAAY,mBA2BX;AA3BD,WAAY,mBAAmB;IAC9B,0CAAmB,CAAA;I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A;IACvB,qCAAuB,CAAA;IACvB,uCAAyB,CAAA;IACzB,yCAA2B,CAAA;IAC3B,6CAA+B,CAAA;IAC/B,6CAA+B,CAAA;IAC/B,qCAAuB,CAAA;IACvB,uCAAyB,CAAA;IACzB,2CAA6B,CAAA;IAC7B,2CAA6B,CAAA;IAC7B,+BAAiB,CAAA;IACjB,iCAAmB,CAAA;IACnB,qCAAuB,CAAA;IACvB,qCAAuB,CAAA;IACvB,mCAAqB,CAAA;IACrB,qCAAuB,CAAA;IACvB,yCAA2B,CAAA;IAC3B,yCAA2B,CAAA;AAC5B,CAAC,EA3CW,UAAU,0BAAV,UAAU,QA2CrB;AACD,IAAY,2BAIX;AAJD,WAAY,2BAA2B;IACtC,0CAAW,CAAA;IACX,0CAAW,CAAA;IACX,4CAAa,CAAA;AACd,CAAC,EAJW,2BAA2B,2CAA3B,2BAA2B,QAItC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { OmitReadonly } from '../lib/omit-readonly.js';
|
|
2
|
+
import { ColorRGB, Resolution } from './lib-types.js';
|
|
3
|
+
export interface FxInputObject {
|
|
4
|
+
name: string;
|
|
5
|
+
colorOverwrite: boolean;
|
|
6
|
+
readonly color: ColorRGB;
|
|
7
|
+
scaleMode: ScaleMode;
|
|
8
|
+
resolution: Resolution;
|
|
9
|
+
advancedResolutionControl: boolean;
|
|
10
|
+
/** [int, read_only, min: 16, max: 3840 ] */
|
|
11
|
+
readonly resolutionX: number;
|
|
12
|
+
/** [int, read_only, min: 10, max: 2160 ] */
|
|
13
|
+
readonly resolutionY: number;
|
|
14
|
+
}
|
|
15
|
+
export declare enum ScaleMode {
|
|
16
|
+
Stretch = "Stretch",
|
|
17
|
+
KeepAspect = "KeepAspect",
|
|
18
|
+
KeepSize = "KeepSize",
|
|
19
|
+
Auto = "Auto",
|
|
20
|
+
None = "None"
|
|
21
|
+
}
|
|
22
|
+
export type UpdateFxInputObject = OmitReadonly<FxInputObject>;
|
|
23
|
+
//# sourceMappingURL=sources.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sources.d.ts","sourceRoot":"","sources":["../../src/types/sources.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AACtD,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAErD,MAAM,WAAW,aAAa;IAC7B,IAAI,EAAE,MAAM,CAAA;IACZ,cAAc,EAAE,OAAO,CAAA;IACvB,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAA;IAGxB,SAAS,EAAE,SAAS,CAAA;IACpB,UAAU,EAAE,UAAU,CAAA;IACtB,yBAAyB,EAAE,OAAO,CAAA;IAClC,4CAA4C;IAC5C,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;IAC5B,4CAA4C;IAC5C,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;CAC5B;AAED,oBAAY,SAAS;IACpB,OAAO,YAAY;IACnB,UAAU,eAAe;IACzB,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,IAAI,SAAS;CACb;AAGD,MAAM,MAAM,mBAAmB,GAAG,YAAY,CAAC,aAAa,CAAC,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ScaleMode = void 0;
|
|
4
|
+
// ------------------------- enums -----------------------------
|
|
5
|
+
var ScaleMode;
|
|
6
|
+
(function (ScaleMode) {
|
|
7
|
+
ScaleMode["Stretch"] = "Stretch";
|
|
8
|
+
ScaleMode["KeepAspect"] = "KeepAspect";
|
|
9
|
+
ScaleMode["KeepSize"] = "KeepSize";
|
|
10
|
+
ScaleMode["Auto"] = "Auto";
|
|
11
|
+
ScaleMode["None"] = "None";
|
|
12
|
+
})(ScaleMode || (exports.ScaleMode = ScaleMode = {}));
|
|
13
|
+
//# sourceMappingURL=sources.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sources.js","sourceRoot":"","sources":["../../src/types/sources.ts"],"names":[],"mappings":";;;AAiBA,gEAAgE;AAChE,IAAY,SAMX;AAND,WAAY,SAAS;IACpB,gCAAmB,CAAA;IACnB,sCAAyB,CAAA;IACzB,kCAAqB,CAAA;IACrB,0BAAa,CAAA;IACb,0BAAa,CAAA;AACd,CAAC,EANW,SAAS,yBAAT,SAAS,QAMpB"}
|
package/package.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "kairos-lib",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"packageManager": "yarn@4.10.3",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/Sofie-Automation/sofie-kairos-connection.git",
|
|
9
|
+
"directory": "packages/kairos-lib"
|
|
10
|
+
},
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://github.com/Sofie-Automation/sofie-kairos-connection/issues"
|
|
13
|
+
},
|
|
14
|
+
"homepage": "https://github.com/Sofie-Automation/sofie-kairos-connection#readme",
|
|
15
|
+
"exports": {
|
|
16
|
+
".": {
|
|
17
|
+
"import": "./dist/main.js",
|
|
18
|
+
"require": "./dist/main.js"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"engines": {
|
|
22
|
+
"node": ">= 20"
|
|
23
|
+
},
|
|
24
|
+
"files": [
|
|
25
|
+
"/CHANGELOG.md",
|
|
26
|
+
"/dist"
|
|
27
|
+
],
|
|
28
|
+
"dependencies": {
|
|
29
|
+
"tslib": "^2.8.1"
|
|
30
|
+
}
|
|
31
|
+
}
|