chore: video test code

This commit is contained in:
jialin
2026-01-13 18:43:11 +08:00
parent 342d977fe4
commit 5ff26e1ce8
19 changed files with 159 additions and 235 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
import { ParamsSchema } from './types';
export interface ImageSizeItem {
export interface SizeOption {
label: string;
value: string;
width: number;
@@ -504,7 +504,7 @@ export const ImageAdvancedParamsConfig: ParamsSchema[] = [
}
];
export const ImageCustomSizeConfig: ParamsSchema[] = [
export const CustomSizeConfig: ParamsSchema[] = [
{
type: 'Slider',
name: 'width',
@@ -1,7 +1,7 @@
import { ImageSizeItem } from './params-config';
import { SizeOption } from './params-config';
import { ParamsSchema } from './types';
export const videoSizeOptions: ImageSizeItem[] = [
export const videoSizeOptions: SizeOption[] = [
{ label: '720x1280', value: '720x1280', width: 720, height: 1280 },
{ label: '1280x720', value: '1280x720', width: 1280, height: 720 },
{ label: '1024x1792', value: '1024x1792', width: 1024, height: 1792 },