feat: add all source files - services, store, hooks, components, screens

This commit is contained in:
Developer
2026-03-05 18:02:54 +08:00
parent bbe0df6ed2
commit a0e53bd073
15 changed files with 755 additions and 0 deletions

49
services/types.ts Normal file
View File

@@ -0,0 +1,49 @@
export interface VideoItem {
bvid: string;
aid: number;
title: string;
pic: string;
owner: {
mid: number;
name: string;
face: string;
};
stat: {
view: number;
danmaku: number;
reply: number;
like: number;
coin: number;
favorite: number;
};
duration: number;
desc: string;
cid: number;
pages?: Array<{ cid: number; part: string }>;
}
export interface Comment {
rpid: number;
content: { message: string };
member: {
uname: string;
avatar: string;
};
like: number;
ctime: number;
replies: Comment[] | null;
}
export interface PlayUrlResponse {
durl: Array<{
url: string;
length: number;
size: number;
}>;
quality: number;
}
export interface QRCodeInfo {
url: string;
qrcode_key: string;
}