aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRitesh Ghosh <[email protected]>2024-07-14 00:09:11 +0530
committerRitesh Ghosh <[email protected]>2024-07-14 00:09:11 +0530
commit3f0b367ae027370a81df716eb75c05703a1af905 (patch)
treebbcbc8edbf7aa59b9002f64eaaefc6052aafdfdd
parent68aba1d6bc86f65f5f84ad3b2a79883f1c745ab9 (diff)
downloadaniwatch-api-3f0b367ae027370a81df716eb75c05703a1af905.tar.xz
aniwatch-api-3f0b367ae027370a81df716eb75c05703a1af905.zip
feat: add `airingTimestamp` and `secondsUntilAiring` to `/anime/schedule` endpoint
-rw-r--r--src/types/parsers/estimatedSchedule.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/types/parsers/estimatedSchedule.ts b/src/types/parsers/estimatedSchedule.ts
index f62dd14..6207904 100644
--- a/src/types/parsers/estimatedSchedule.ts
+++ b/src/types/parsers/estimatedSchedule.ts
@@ -3,6 +3,8 @@ type EstimatedSchedule = {
time: string | null;
name: string | null;
jname: string | null;
+ airingTimestamp: number;
+ secondsUntilAiring: number;
};
export type ScrapedEstimatedSchedule = {