mirror of
https://github.com/lifegpc/eh-downloader.git
synced 2026-06-06 05:38:44 +08:00
13 lines
302 B
TypeScript
13 lines
302 B
TypeScript
import type { ExtendedPMeta, GMeta, Tag } from "../db.ts";
|
|
import { JSONResult } from "./utils.ts";
|
|
|
|
export type GalleryData = {
|
|
meta: GMeta;
|
|
tags: Tag[];
|
|
pages: ExtendedPMeta[];
|
|
};
|
|
|
|
export type GalleryResult = JSONResult<GalleryData>;
|
|
|
|
export type GalleryListResult = JSONResult<GMeta[]>;
|