test prod emby

This commit is contained in:
mtvpls
2026-01-12 23:54:22 +08:00
parent 3f610124e7
commit 033eae152b
6 changed files with 82 additions and 25 deletions
+14
View File
@@ -127,6 +127,20 @@ export interface IStorage {
getUserMovieRequests(userName: string): Promise<string[]>;
addUserMovieRequest(userName: string, requestId: string): Promise<void>;
removeUserMovieRequest(userName: string, requestId: string): Promise<void>;
// 新版用户存储(V2)- 可选方法
getUserInfoV2?(userName: string): Promise<{
role: 'owner' | 'admin' | 'user';
banned: boolean;
tags?: string[];
oidcSub?: string;
enabledApis?: string[];
created_at: number;
playrecord_migrated?: boolean;
favorite_migrated?: boolean;
skip_migrated?: boolean;
last_movie_request_time?: number;
} | null>;
}
// 搜索结果数据结构