mirror of
https://github.com/immich-app/immich
synced 2026-08-22 13:13:05 +00:00
move setLocale and add comment
This commit is contained in:
parent
b430f5188b
commit
439b7fe3be
6 changed files with 41 additions and 20 deletions
|
|
@ -131,9 +131,17 @@ export const AlbumResponseSchema = z
|
|||
.optional()
|
||||
.describe('Last modified asset timestamp'),
|
||||
// TODO: use `isoDatetimeToDate` when using `ZodSerializerDto` on the controllers.
|
||||
startDate: z.string().meta({ format: 'date-time' }).optional().describe('Start date (earliest asset)'),
|
||||
startDate: z
|
||||
.string()
|
||||
.meta({ format: 'date-time' })
|
||||
.optional()
|
||||
.describe('UTC representation of (local) start date (earliest asset)'),
|
||||
// TODO: use `isoDatetimeToDate` when using `ZodSerializerDto` on the controllers.
|
||||
endDate: z.string().meta({ format: 'date-time' }).optional().describe('End date (latest asset)'),
|
||||
endDate: z
|
||||
.string()
|
||||
.meta({ format: 'date-time' })
|
||||
.optional()
|
||||
.describe('UTC representation of (local) end date (latest asset)'),
|
||||
isActivityEnabled: z.boolean().describe('Activity feed enabled'),
|
||||
order: AssetOrderSchema.optional(),
|
||||
contributorCounts: z.array(ContributorCountResponseSchema).optional(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue