[api] adjust to match images v5 derived shape

This commit is contained in:
Devin Zuczek
2026-10-22 13:08:29 -04:00
parent 76db89c30c
commit 1d0e71d651
4 changed files with 86 additions and 18 deletions
+8
View File
@@ -1664,6 +1664,14 @@ export const ImagesPlayerDto = z.object({
RoomId: z.int().nullable(),
})
/**
* The bulk lookup's projection (`GET /api/images/v5/bulk`): {@link ImagesPlayerDto} plus a
* `ClubId`, always null.
*/
export const ImagesBulkDto = ImagesPlayerDto.extend({
ClubId: z.int().nullable().describe('Always null — images are not filed under clubs'),
})
/** One entry in the anonymous slideshow feed, joined to its creator and room. */
export const SlideshowImageDto = z.object({
SavedImageId: z.int(),