Skip to content

documents.update

Type: mutation Module: convex/documents.ts

{
documentId: Id<"documents">,
category:
v.union(
"architecture" /* optional */,
v.literal("requirements",
"testing",
"deployment",
"meeting_notes",
"other",
),
),
description: string /* optional */,
}

Update document metadata (category, description). @param documentId - The document to update