feat: added controller request handler types
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
export type AnimeAboutInfoQueryParams = {
|
||||
id?: string;
|
||||
};
|
||||
@@ -0,0 +1,7 @@
|
||||
export type CategoryAnimePathParams = {
|
||||
category?: string;
|
||||
};
|
||||
|
||||
export type CategoryAnimeQueryParams = {
|
||||
page?: string;
|
||||
};
|
||||
@@ -0,0 +1,7 @@
|
||||
export type GenreAnimePathParams = {
|
||||
name?: string;
|
||||
};
|
||||
|
||||
export type GenreAnimeQueryParams = {
|
||||
page?: string;
|
||||
};
|
||||
@@ -0,0 +1,4 @@
|
||||
export type AnimeSearchQueryParams = {
|
||||
q?: string;
|
||||
page?: string;
|
||||
};
|
||||
@@ -0,0 +1,16 @@
|
||||
import { AnimeSearchQueryParams } from "./animeSearch";
|
||||
import { AnimeAboutInfoQueryParams } from "./animeAboutInfo";
|
||||
import { GenreAnimePathParams, GenreAnimeQueryParams } from "./animeGenre";
|
||||
import {
|
||||
CategoryAnimePathParams,
|
||||
CategoryAnimeQueryParams,
|
||||
} from "./animeCategory";
|
||||
|
||||
export {
|
||||
GenreAnimePathParams,
|
||||
GenreAnimeQueryParams,
|
||||
AnimeSearchQueryParams,
|
||||
CategoryAnimePathParams,
|
||||
CategoryAnimeQueryParams,
|
||||
AnimeAboutInfoQueryParams,
|
||||
};
|
||||
Reference in New Issue
Block a user