This commit is contained in:
2023-05-19 12:00:46 +08:00
parent fa9294b1d8
commit b178fc10d0
2 changed files with 3 additions and 3 deletions

View File

@@ -90,7 +90,7 @@ export class Client {
/**
* Fetch metadata via API
* @param gids A list of Gallery ID and token
* @returns
* @returns
*/
async fetchGalleryMetadataByAPI(...gids: GID[]) {
if (gids.length > 25) throw Error("Load limiting is reached.");

View File

@@ -4,7 +4,7 @@ export type GalleryMetadataTorrentInfo = {
name: string;
tsize: string;
fsize: string;
}
};
export type GalleryMetadataSingle = {
gid: number;
@@ -27,7 +27,7 @@ export type GalleryMetadataSingle = {
parent_key: string | undefined;
first_gid: string | undefined;
first_key: string | undefined;
}
};
class GalleryMetadata {
obj;