comments.create
Type: mutation
Module: convex/comments.ts
Arguments
Section titled “Arguments”{ orgId: string, programId: Id<"programs">, entityType: v.union( "requirement", "risk", "task", "skill", "gate", "integration", ), entityId: string, content: string, parentId: Id<"comments"> /* optional */, }Add a comment to an entity. Supports threaded replies via parentId. @param orgId - Organization ID @param programId - Program the entity belongs to @param entityType - Type of entity being commented on @param entityId - Entity ID @param content - Comment text @param parentId - Optional parent comment for threading