Add is_nsfw and is_ad flag

This commit is contained in:
2023-06-22 19:21:02 +08:00
parent 168ceb0a50
commit ee1daa103e
3 changed files with 83 additions and 5 deletions

View File

@@ -1,10 +1,10 @@
import { GMeta, PMeta, Tag } from "../db.ts";
import { ExtendedPMeta, GMeta, Tag } from "../db.ts";
import { JSONResult } from "./utils.ts";
export type GalleryData = {
meta: GMeta;
tags: Tag[];
pages: PMeta[];
pages: ExtendedPMeta[];
};
export type GalleryResult = JSONResult<GalleryData>;