diff --git a/apps/web/src/pages/editing-planner/types/intro-outro.ts b/apps/web/src/pages/editing-planner/types/intro-outro.ts deleted file mode 100644 index f0c53f934..000000000 --- a/apps/web/src/pages/editing-planner/types/intro-outro.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * 片头片尾配置类型 - */ -import type { TransitionType } from "./transition" - -/** 片头片尾素材类型 */ -export type IntroOutroKind = "none" | "video" | "image" - -/** 片头/片尾单项配置 */ -export interface IntroOutroItem { - /** 素材类型 */ - kind: IntroOutroKind - /** 素材 URL */ - url?: string - /** 显示时长(秒) */ - duration: number - /** 过渡动画 */ - transition?: TransitionType - /** 过渡时长(秒) */ - transition_duration?: number -} - -/** 片头片尾完整配置 */ -export interface IntroOutroConfig { - intro: IntroOutroItem - outro: IntroOutroItem -} - -/** 默认片头片尾配置 */ -export const DEFAULT_INTRO_OUTRO: IntroOutroConfig = { - intro: { kind: "none", duration: 3 }, - outro: { kind: "none", duration: 3 }, -}