mirror of
https://github.com/djdevin/recflare.git
synced 2026-10-26 15:38:52 -07:00
[api] adjust to match images v5 derived shape
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user