Skip to content

subtasks.reorder

Type: mutation Module: convex/subtasks.ts

{
taskId: Id<"tasks">,
subtaskIds: Id<"subtasks">[],
}

Reorder subtasks within a task by providing the new ID sequence. @param taskId - Parent task @param subtaskIds - Ordered array of subtask IDs