Allow NONE filter value to shared reports and add shared-report tests

This commit is contained in:
Gregor Vostrak
2026-02-02 20:42:07 +01:00
parent 18989a9a8e
commit 09c3205680
7 changed files with 651 additions and 10 deletions

View File

@@ -444,10 +444,10 @@ const ReportStoreRequest = z
active: z.union([z.boolean(), z.null()]).optional(),
member_ids: z.union([z.array(z.string().uuid()), z.null()]).optional(),
billable: z.union([z.boolean(), z.null()]).optional(),
client_ids: z.union([z.array(z.string().uuid()), z.null()]).optional(),
project_ids: z.union([z.array(z.string().uuid()), z.null()]).optional(),
tag_ids: z.union([z.array(z.string().uuid()), z.null()]).optional(),
task_ids: z.union([z.array(z.string().uuid()), z.null()]).optional(),
client_ids: z.union([z.array(z.string()), z.null()]).optional(),
project_ids: z.union([z.array(z.string()), z.null()]).optional(),
tag_ids: z.union([z.array(z.string()), z.null()]).optional(),
task_ids: z.union([z.array(z.string()), z.null()]).optional(),
group: TimeEntryAggregationType,
sub_group: TimeEntryAggregationType,
history_group: TimeEntryAggregationTypeInterval,