feat(api): expose updatedAt in watching titles

This commit is contained in:
2025-11-29 09:02:51 -05:00
parent 3bc1f9f2b7
commit 40fa0080b5
2 changed files with 3 additions and 0 deletions

View File

@@ -35,6 +35,7 @@ const GetWatchingTitlesQuery = graphql(`
id
progress
status
updatedAt
}
nextAiringEpisode {
timeUntilAiring
@@ -122,6 +123,7 @@ type GetWatchingTitles = {
| "DROPPED"
| "PAUSED"
| null;
updatedAt: number;
} | null;
nextAiringEpisode: {
timeUntilAiring: number;

View File

@@ -18,6 +18,7 @@ export const Title = z.object({
status: z.nullable(WatchStatus),
progress: NullableNumberSchema,
id: z.number().int(),
updatedAt: z.number().int().openapi({ format: "int64" }),
}),
),
countryOfOrigin: countryCodeSchema,