Просмотр исходного кода

🔥 (dashboard-v6): 删掉两个没有任何引用的组件

- components/channel/ChannelList.tsx(调 v2 progress?view=channel)
- components/anthology/AnthologyInfoEdit.tsx(调 v2 channel?view=studio)

它们是 v6 里仅剩的旧 channel 调用,删掉后 channel 可以彻底切到 v3。api/progress.ts 里只给
ChannelList 用的两个类型一并删除。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
visuddhinanda 1 день назад
Родитель
Сommit
a23fe4325e
1 измененных файлов с 0 добавлено и 26 удалено
  1. 0 26
      dashboard-v6/src/api/progress.ts

+ 0 - 26
dashboard-v6/src/api/progress.ts

@@ -1,32 +1,6 @@
 import type { IStudio } from "./Auth";
-import type { TChannelType } from "./channel";
 import type { TagNode } from "./tag";
 
-export interface IApiResponseChannelListData {
-  channel_id: string;
-  count: number;
-  channel: {
-    id: number;
-    type: TChannelType;
-    owner_uid: string;
-    editor_id: number;
-    name: string;
-    summary: string;
-    lang: string;
-    status: number;
-    setting: string;
-    created_at: string;
-    updated_at: string;
-    uid: string;
-  };
-  studio: IStudio;
-}
-export interface IApiResponseChannelList {
-  ok: boolean;
-  message: string;
-  data: { rows: IApiResponseChannelListData[]; count: number };
-}
-
 //=========
 
 export interface IChapterData {