perf: improve board optimistic updates

This commit is contained in:
Henry
2025-02-06 22:45:55 +00:00
parent b1fa8a529d
commit fe45c31795
4 changed files with 181 additions and 161 deletions

View File

@@ -667,7 +667,9 @@ export const cardRouter = createTRPCRouter({
.input(
z.object({
cardPublicId: z.string().min(12),
currentListPublicId: z.string().min(12),
newListPublicId: z.string().min(12),
currentIndex: z.number(),
newIndex: z.number().optional(),
}),
)