refactor(api): align timeline project read routing
This commit is contained in:
@@ -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",
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user