mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
lint
This commit is contained in:
@@ -36,11 +36,10 @@ const ActivityStatisticsResponseSchema = z
|
|||||||
})
|
})
|
||||||
.meta({ id: 'ActivityStatisticsResponseDto' });
|
.meta({ id: 'ActivityStatisticsResponseDto' });
|
||||||
|
|
||||||
const ActivitySchema = z
|
const ActivitySchema = z.object({
|
||||||
.object({
|
albumId: z.uuidv4().describe('Album ID'),
|
||||||
albumId: z.uuidv4().describe('Album ID'),
|
assetId: z.uuidv4().optional().describe('Asset ID (if activity is for an asset)'),
|
||||||
assetId: z.uuidv4().optional().describe('Asset ID (if activity is for an asset)'),
|
});
|
||||||
});
|
|
||||||
|
|
||||||
const ActivitySearchSchema = ActivitySchema.extend({
|
const ActivitySearchSchema = ActivitySchema.extend({
|
||||||
type: ReactionTypeSchema.optional(),
|
type: ReactionTypeSchema.optional(),
|
||||||
|
|||||||
Reference in New Issue
Block a user