diff --git a/src/scripts/interfaces.d.ts b/src/scripts/interfaces.d.ts index b99d670..854ca4a 100644 --- a/src/scripts/interfaces.d.ts +++ b/src/scripts/interfaces.d.ts @@ -57,7 +57,7 @@ export type TStatus = "Completed" | "Ongoing" | "Abandoned" | "Onhold"; /** * List of possible categories of a particular work. */ -export type TCategory = "games" | "comics" | "animations" | "assets"; +export type TCategory = "games" | "mods" | "comics" | "animations" | "assets"; /** * Collection of values defined for each @@ -253,4 +253,25 @@ export interface IAsset extends IBasic { * Collection of values extrapolated from the * F95 platform representing a particular work. */ -export interface IHandiwork extends IGame, IComic, IAnimation, IAsset { } \ No newline at end of file +export interface IHandiwork extends IGame, IComic, IAnimation, IAsset { } + +export interface IQuery { + /** + * Category of items to search among. + */ + category: TCategory, + /** + * Tags to be include in the search. + * Max. 5 tags + */ + includedTags: string[], + /** + * Prefixes to include in the search. + */ + includedPrefixes: string[], + /** + * Index of the page to be obtained. + * Between 1 and infinity. + */ + page: number, +} \ No newline at end of file