feat(api): expose updatedAt in watching titles
This commit is contained in:
@@ -35,6 +35,7 @@ const GetWatchingTitlesQuery = graphql(`
|
|||||||
id
|
id
|
||||||
progress
|
progress
|
||||||
status
|
status
|
||||||
|
updatedAt
|
||||||
}
|
}
|
||||||
nextAiringEpisode {
|
nextAiringEpisode {
|
||||||
timeUntilAiring
|
timeUntilAiring
|
||||||
@@ -122,6 +123,7 @@ type GetWatchingTitles = {
|
|||||||
| "DROPPED"
|
| "DROPPED"
|
||||||
| "PAUSED"
|
| "PAUSED"
|
||||||
| null;
|
| null;
|
||||||
|
updatedAt: number;
|
||||||
} | null;
|
} | null;
|
||||||
nextAiringEpisode: {
|
nextAiringEpisode: {
|
||||||
timeUntilAiring: number;
|
timeUntilAiring: number;
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ export const Title = z.object({
|
|||||||
status: z.nullable(WatchStatus),
|
status: z.nullable(WatchStatus),
|
||||||
progress: NullableNumberSchema,
|
progress: NullableNumberSchema,
|
||||||
id: z.number().int(),
|
id: z.number().int(),
|
||||||
|
updatedAt: z.number().int().openapi({ format: "int64" }),
|
||||||
}),
|
}),
|
||||||
),
|
),
|
||||||
countryOfOrigin: countryCodeSchema,
|
countryOfOrigin: countryCodeSchema,
|
||||||
|
|||||||
Reference in New Issue
Block a user