handle drag n drop

This commit is contained in:
2026-03-02 09:09:00 +01:00
parent f3b645ac53
commit 22067c4904
8 changed files with 195 additions and 96 deletions

View File

@@ -13,7 +13,7 @@ export const updateTimelineItem = createServerFn({ method: "POST" })
start: z.string().transform((s) => new Date(s)),
end: z
.string()
.nullable()
.nullish()
.transform((s) => (s ? new Date(s) : null)),
timelineGroupId: z.string().uuid(),
lane: z.number().int().min(1),