@video-editor/shared 1.0.0-beta.1 → 1.0.0-beta.2
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 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
declare interface AudioSegment<T extends ITrackType> extends ISegment<T> {
|
|
2
2
|
segmentType: T;
|
|
3
3
|
url: string;
|
|
4
|
+
/** Stable library identity; `url` remains the last-known usable location. */
|
|
5
|
+
assetId?: string;
|
|
4
6
|
fromTime?: number;
|
|
5
7
|
volume?: number;
|
|
6
8
|
fadeInDuration?: number;
|
|
@@ -88,6 +90,8 @@ export declare type IFilterSegment = FilterSegment<'filter'>;
|
|
|
88
90
|
declare interface IFramesSegment extends ISegment<'frames'> {
|
|
89
91
|
type: 'image' | 'video' | '3D';
|
|
90
92
|
url: string;
|
|
93
|
+
/** Stable library identity; `url` remains the last-known usable location. */
|
|
94
|
+
assetId?: string;
|
|
91
95
|
transform?: ITransform;
|
|
92
96
|
opacity?: number;
|
|
93
97
|
fillMode?: IFillMode;
|
|
@@ -361,6 +365,8 @@ declare interface StickerSegment<T extends ITrackType> extends ISegment<T> {
|
|
|
361
365
|
segmentType: T;
|
|
362
366
|
format: 'img' | 'gif';
|
|
363
367
|
url: string;
|
|
368
|
+
/** Stable library identity; `url` remains the last-known usable location. */
|
|
369
|
+
assetId?: string;
|
|
364
370
|
fillMode?: IFillMode;
|
|
365
371
|
animation?: IAnimation;
|
|
366
372
|
transform?: ITransform;
|