]>
Commit | Line | Data |
---|---|---|
c729caf6 C |
1 | export interface VideoEditorCreateEdition { |
2 | tasks: VideoEditorTask[] | |
3 | } | |
4 | ||
5 | export type VideoEditorTask = | |
6 | VideoEditorTaskCut | | |
7 | VideoEditorTaskIntro | | |
8 | VideoEditorTaskOutro | | |
9 | VideoEditorTaskWatermark | |
10 | ||
11 | export interface VideoEditorTaskCut { | |
12 | name: 'cut' | |
13 | ||
14 | options: { | |
15 | start?: number | |
16 | end?: number | |
17 | } | |
18 | } | |
19 | ||
20 | export interface VideoEditorTaskIntro { | |
21 | name: 'add-intro' | |
22 | ||
23 | options: { | |
24 | file: Blob | string | |
25 | } | |
26 | } | |
27 | ||
28 | export interface VideoEditorTaskOutro { | |
29 | name: 'add-outro' | |
30 | ||
31 | options: { | |
32 | file: Blob | string | |
33 | } | |
34 | } | |
35 | ||
36 | export interface VideoEditorTaskWatermark { | |
37 | name: 'add-watermark' | |
38 | ||
39 | options: { | |
40 | file: Blob | string | |
41 | } | |
42 | } |