/** * Types for module hook events fired across the application */ export type CommentAddedEvent = { projectId: string userId: string threadId: string messageId: string } export type CommentResolvedEvent = { projectId: string userId: string threadId: string } export type CommentReopenedEvent = { projectId: string userId: string threadId: string } export type CommentEditedEvent = { projectId: string userId: string threadId: string messageId: string } export type CommentDeletedEvent = { projectId: string userId: string threadId: string messageId: string } export type ThreadDeletedEvent = { projectId: string userId: string threadId: string } export type ProjectModifiedEvent = { projectId: string timestamp: number }