feat: bunch of work done here, got comments and edit and delete

This commit is contained in:
2026-02-04 13:00:16 -08:00
parent b6d66d34cb
commit 318f3bc500
19 changed files with 1868 additions and 117 deletions
+2 -1
View File
@@ -6,4 +6,5 @@
export * from "./lib/game.types";
export * from "./lib/book.types";
export * from "./lib/music.types";
export type * from "./lib/auth.types";
export type * from "./lib/auth.types";
export * from "./lib/comment.types";
+27
View File
@@ -0,0 +1,27 @@
/**
* @copyright 2026 NHCarrigan
* @license Naomi's Public License
* @author Naomi Carrigan
*/
export interface CommentUser {
id: string;
username: string;
avatar?: string;
}
export interface Comment {
id: string;
content: string;
userId: string;
user: CommentUser;
gameId?: string;
bookId?: string;
musicId?: string;
createdAt: Date;
updatedAt: Date;
}
export interface CreateCommentDto {
content: string;
}