refactor(api): align timeline project read routing

This commit is contained in:
2026-03-31 18:49:51 +02:00
parent 850ea864f4
commit 1c5c203a89
5 changed files with 46 additions and 5 deletions
@@ -3,6 +3,7 @@ import {
buildTimelineEntriesDetailInput,
TimelineDetailFiltersSchema,
TimelineProjectContextDetailSchema,
TimelineProjectIdSchema,
} from "../router/timeline-read-shared.js";
describe("timeline read shared", () => {
@@ -68,5 +69,11 @@ describe("timeline read shared", () => {
endDate: "2026-04-20",
durationDays: undefined,
});
expect(TimelineProjectIdSchema.parse({
projectId: "project_1",
})).toEqual({
projectId: "project_1",
});
});
});