@volcengine/amk-editor 0.0.1-beta.4 → 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 +27 -123
- package/dist/export-modal-view.d.ts +2 -1
- package/dist/export-modal.d.ts +2 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1815 -1228
- package/dist/types.d.ts +8 -0
- package/dist/veveditor.css +13 -6
- package/package.json +2 -2
package/dist/types.d.ts
CHANGED
|
@@ -57,6 +57,13 @@ export interface AmkEditorHeaderConfig {
|
|
|
57
57
|
onBack?: () => void;
|
|
58
58
|
onClose?: () => void;
|
|
59
59
|
}
|
|
60
|
+
export interface AmkEditorExportConfig {
|
|
61
|
+
/**
|
|
62
|
+
* 导出弹窗是否展示「视频画质增强」。
|
|
63
|
+
* 默认 false(不展示);设为 true 后用户可在弹窗内开关增强。
|
|
64
|
+
*/
|
|
65
|
+
qualityEnhancement?: boolean;
|
|
66
|
+
}
|
|
60
67
|
export interface ExportVideoParams {
|
|
61
68
|
videoName: string;
|
|
62
69
|
qualityEnhancement: boolean;
|
|
@@ -123,6 +130,7 @@ export interface AmkEditorOptions extends AmkInheritedVeVeditorOptions {
|
|
|
123
130
|
projectId: string;
|
|
124
131
|
endpoint: string;
|
|
125
132
|
header?: AmkEditorHeaderConfig;
|
|
133
|
+
export?: AmkEditorExportConfig;
|
|
126
134
|
getLicenseUrl?: string | (() => string | Promise<string>);
|
|
127
135
|
decode?: AmkEditorDecodeOptions;
|
|
128
136
|
}
|