import { CommentItem } from '@/models/comment' export interface CommentItemResponse { id: number, user: number, username: string, document: number, document_text: string, text: string, created_at: string } export interface CommentItemListRepository { listAll(projectId: string, q: string): Promise list(projectId: string, docId: string): Promise create(projectId: string, docId: string, text: string): Promise update(projectId: string, docId: string, item: CommentItem): Promise delete(projectId: string, docId: string, commentId: number): Promise deleteBulk(projectId: string, items: number[]): Promise }