@video-editor/shared 0.0.1-beta.32 → 0.0.1-beta.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +6 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -71,8 +71,6 @@ declare interface IFramesSegment extends ISegment<'frames'> {
|
|
|
71
71
|
opacity?: number;
|
|
72
72
|
fillMode?: IFillMode;
|
|
73
73
|
animation?: IAnimation;
|
|
74
|
-
transitionIn?: ITransition;
|
|
75
|
-
transitionOut?: ITransition;
|
|
76
74
|
palette?: IPalette;
|
|
77
75
|
background?: `rgba(${number},${number},${number},${number})`;
|
|
78
76
|
}
|
|
@@ -202,6 +200,11 @@ export declare interface ITransition {
|
|
|
202
200
|
duration: number;
|
|
203
201
|
}
|
|
204
202
|
|
|
203
|
+
export declare interface ITransitionEdge extends ITransition {
|
|
204
|
+
fromSegmentId: string;
|
|
205
|
+
toSegmentId: string;
|
|
206
|
+
}
|
|
207
|
+
|
|
205
208
|
export declare interface IVideoFramesSegment extends IFramesSegment {
|
|
206
209
|
type: 'video';
|
|
207
210
|
fromTime?: number;
|
|
@@ -221,6 +224,7 @@ export declare interface IVideoProtocol {
|
|
|
221
224
|
height: number;
|
|
222
225
|
fps: number;
|
|
223
226
|
tracks: TrackUnion[];
|
|
227
|
+
transitions?: ITransitionEdge[];
|
|
224
228
|
extra?: ProtocolExtra | null;
|
|
225
229
|
}
|
|
226
230
|
|