All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 50s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
23 lines
390 B
TypeScript
23 lines
390 B
TypeScript
export interface Comment {
|
|
id: string;
|
|
dumpId: string;
|
|
userId: string;
|
|
parentId?: string;
|
|
body: string;
|
|
createdAt: Date;
|
|
updatedAt?: Date;
|
|
deleted: boolean;
|
|
likeCount: number;
|
|
authorUsername: string;
|
|
authorAvatarMime?: string;
|
|
}
|
|
|
|
export interface CreateCommentRequest {
|
|
body: string;
|
|
parentId?: string;
|
|
}
|
|
|
|
export interface UpdateCommentRequest {
|
|
body: string;
|
|
}
|