From 32606867bfdd7591dc71496a342b91781d18ffb8 Mon Sep 17 00:00:00 2001 From: xiaoxia Date: Mon, 14 Sep 2026 20:45:13 +0800 Subject: [PATCH] refactor: delete intro-outro.ts (#1899 #1900) --- .../editing-planner/types/intro-outro.ts | 33 ------------------- 1 file changed, 33 deletions(-) delete mode 100644 apps/web/src/pages/editing-planner/types/intro-outro.ts 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 }, -}