add more custom item in index

This commit is contained in:
2024-04-14 16:54:57 +08:00
parent cbd2748c71
commit 9a44b5e89c
5 changed files with 329 additions and 6 deletions

View File

@@ -104,6 +104,7 @@ export interface UserSetting {
queue: Setting_Queue
point: Setting_Point
questionDisplay: Setting_QuestionDisplay
index: Setting_Index
enableFunctions: FunctionTypes[]
@@ -111,6 +112,13 @@ export interface UserSetting {
songListTemplate: string | null
scheduleTemplate: string | null
}
export interface Setting_Index {
videos: string[]
notification: string
links: {
[key: string]: string
}
}
export interface Setting_LiveRequest {
orderPrefix: string
sortType?: QueueSortType
@@ -474,7 +482,7 @@ export enum SongRequestFrom {
Danmaku,
SC,
Web,
Gift
Gift,
}
export enum QueueFrom {
Manual,
@@ -716,3 +724,11 @@ export enum PointFrom {
Manual,
Use,
}
export interface ResponseUserIndexModel{
notification: string
videos: VideoCollectVideo[]
links: {
[key: string]: string
}
}