bili-fav-collector
Advanced tools
Comparing version 0.0.0 to 0.0.1
@@ -0,2 +1,81 @@ | ||
interface ContentDetail { | ||
id: number; | ||
type: number; | ||
title: string; | ||
cover: string; | ||
intro: string; | ||
page: number; | ||
duration: number; | ||
upper: { | ||
mid: number; | ||
name: string; | ||
face: string; | ||
}; | ||
attr: number; | ||
cnt_info: { | ||
collect: number; | ||
play: number; | ||
danmaku?: number; | ||
}; | ||
link: string; | ||
ctime: number; | ||
pubtime: number; | ||
fav_time: number; | ||
bv_id: string; | ||
bvid: string; | ||
season: null; | ||
} | ||
interface Info { | ||
id: number; | ||
fid: number; | ||
mid: number; | ||
attr: number; | ||
title: string; | ||
cover: string; | ||
upper: { | ||
mid: number; | ||
name: string; | ||
face: string; | ||
followed: boolean; | ||
vip_type: number; | ||
vip_statue: number; | ||
}; | ||
cover_type: number; | ||
cnt_info: { | ||
collect: number; | ||
play: number; | ||
thumb_up: number; | ||
share: number; | ||
}; | ||
type: number; | ||
intro: string; | ||
ctime: number; | ||
mtime: number; | ||
state: number; | ||
fav_state: number; | ||
like_state: number; | ||
media_count: number; | ||
} | ||
interface ResponseData { | ||
code: number; | ||
message: string; | ||
data: { | ||
info: Info; | ||
medias: ContentDetail[]; | ||
has_more: boolean; | ||
}; | ||
} | ||
export { } | ||
declare class BiliBiliFavoriteClient { | ||
private readonly upMid; | ||
private readonly cookie; | ||
constructor(upMid: number, cookie: string); | ||
getFolderDetail(folderId: number, pageSize: number): Promise<ResponseData>; | ||
getAllFoldersContent(): Promise<{ | ||
info: Info; | ||
medias: ContentDetail[]; | ||
has_more: boolean; | ||
}[][]>; | ||
} | ||
export { BiliBiliFavoriteClient }; |
{ | ||
"name": "bili-fav-collector", | ||
"type": "module", | ||
"version": "0.0.0", | ||
"version": "0.0.1", | ||
"packageManager": "pnpm@8.11.0", | ||
@@ -6,0 +6,0 @@ "description": "Bili Bili UP主收藏夹工具", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16233
252