aboutsummaryrefslogtreecommitdiff
path: root/src/models/controllers
diff options
context:
space:
mode:
authorRitesh Ghosh <[email protected]>2023-12-17 19:45:22 +0530
committerGitHub <[email protected]>2023-12-17 19:45:22 +0530
commit948183d279e0a020a10011f99e9e5fbb7c8b3ef8 (patch)
tree29c3db39ad6778fdd8a676d0ae97ffe656df9bef /src/models/controllers
parent750386f04c5aec410ae54b1f2d0119271842c4da (diff)
parent8826dd276fe4a5ccab2b074d77191b81b265e528 (diff)
downloadaniwatch-api-948183d279e0a020a10011f99e9e5fbb7c8b3ef8.tar.xz
aniwatch-api-948183d279e0a020a10011f99e9e5fbb7c8b3ef8.zip
Merge pull request #13 from ghoshRitesh12/est-schedule
Add Estimated Schedule feature
Diffstat (limited to 'src/models/controllers')
-rw-r--r--src/models/controllers/estimatedSchedule.ts3
-rw-r--r--src/models/controllers/index.ts2
2 files changed, 5 insertions, 0 deletions
diff --git a/src/models/controllers/estimatedSchedule.ts b/src/models/controllers/estimatedSchedule.ts
new file mode 100644
index 0000000..e732aaa
--- /dev/null
+++ b/src/models/controllers/estimatedSchedule.ts
@@ -0,0 +1,3 @@
+export type EstimatedScheduleQueryParams = {
+ date?: string;
+};
diff --git a/src/models/controllers/index.ts b/src/models/controllers/index.ts
index df9beff..fab25b6 100644
--- a/src/models/controllers/index.ts
+++ b/src/models/controllers/index.ts
@@ -15,6 +15,7 @@ import type { AnimeEpisodePathParams } from "./animeEpisodes.js";
import type { EpisodeServersQueryParams } from "./episodeServers.js";
import type { AnimeAboutInfoQueryParams } from "./animeAboutInfo.js";
import type { AnimeEpisodeSrcsQueryParams } from "./animeEpisodeSrcs.js";
+import type { EstimatedScheduleQueryParams } from "./estimatedSchedule.js";
import type { AnimeSearchSuggestQueryParams } from "./animeSearchSuggestion.js";
export type {
@@ -29,5 +30,6 @@ export type {
AnimeAboutInfoQueryParams,
EpisodeServersQueryParams,
AnimeEpisodeSrcsQueryParams,
+ EstimatedScheduleQueryParams,
AnimeSearchSuggestQueryParams,
};