@l2studio/nhentai-tags
Version:
A tags chinese database of nhentai.net
23 lines (22 loc) • 863 B
TypeScript
export declare type Namespace = 'tags' | 'artists' | 'parodies' | 'characters' | 'groups' | 'languages' | 'categories';
export declare type Entry = {
id: number;
text: string;
};
export declare type EntryWithNamespace = Entry & {
namespace: Namespace;
};
export declare type TagsTable = {
tags: Record<string, Entry | undefined>;
artists: Record<string, Entry | undefined>;
parodies: Record<string, Entry | undefined>;
characters: Record<string, Entry | undefined>;
groups: Record<string, Entry | undefined>;
languages: Record<string, Entry | undefined>;
categories: Record<string, Entry | undefined>;
resolve(name: string): EntryWithNamespace[] | undefined;
};
declare const tagsTable: TagsTable;
export declare const version = "0.3.5";
export declare const date: Date;
export default tagsTable;