shoulda finished id, move route

This commit is contained in:
creations 2024-12-28 12:57:12 -05:00
parent 645e0a0d2b
commit 1cba63df34
Signed by: creations
GPG key ID: 8F553AA4320FC711
4 changed files with 118 additions and 8 deletions

35
types/booruResponses.d.ts vendored Normal file
View file

@ -0,0 +1,35 @@
type Data = {
post?: Post;
posts?: Post[];
[key: string]: unknown;
};
interface Rule34Post {
preview_url: string;
sample_url: string;
file_url: string;
directory: number;
hash: string;
width: number;
height: number;
id: number;
image: string;
change: number;
owner: string;
parent_id: number;
rating: string;
sample: boolean;
sample_height: number;
sample_width: number;
score: number;
tags: string;
source: string;
status: string;
has_notes: boolean;
comment_count: number;
}
type BooruPost = Rule34Post & {
post_url: string;
file_url: string;
};