mirror of
https://github.com/lifegpc/eh-downloader.git
synced 2026-07-08 01:31:00 +08:00
deno fmt
This commit is contained in:
@@ -90,7 +90,7 @@ export class Client {
|
|||||||
/**
|
/**
|
||||||
* Fetch metadata via API
|
* Fetch metadata via API
|
||||||
* @param gids A list of Gallery ID and token
|
* @param gids A list of Gallery ID and token
|
||||||
* @returns
|
* @returns
|
||||||
*/
|
*/
|
||||||
async fetchGalleryMetadataByAPI(...gids: GID[]) {
|
async fetchGalleryMetadataByAPI(...gids: GID[]) {
|
||||||
if (gids.length > 25) throw Error("Load limiting is reached.");
|
if (gids.length > 25) throw Error("Load limiting is reached.");
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ export type GalleryMetadataTorrentInfo = {
|
|||||||
name: string;
|
name: string;
|
||||||
tsize: string;
|
tsize: string;
|
||||||
fsize: string;
|
fsize: string;
|
||||||
}
|
};
|
||||||
|
|
||||||
export type GalleryMetadataSingle = {
|
export type GalleryMetadataSingle = {
|
||||||
gid: number;
|
gid: number;
|
||||||
@@ -27,7 +27,7 @@ export type GalleryMetadataSingle = {
|
|||||||
parent_key: string | undefined;
|
parent_key: string | undefined;
|
||||||
first_gid: string | undefined;
|
first_gid: string | undefined;
|
||||||
first_key: string | undefined;
|
first_key: string | undefined;
|
||||||
}
|
};
|
||||||
|
|
||||||
class GalleryMetadata {
|
class GalleryMetadata {
|
||||||
obj;
|
obj;
|
||||||
|
|||||||
Reference in New Issue
Block a user