feat: add art component

This commit is contained in:
2026-02-04 13:40:52 -08:00
parent d338c8b52f
commit cbd6499079
12 changed files with 1162 additions and 0 deletions
+1
View File
@@ -6,5 +6,6 @@
export * from "./lib/game.types";
export * from "./lib/book.types";
export * from "./lib/music.types";
export * from "./lib/art.types";
export type * from "./lib/auth.types";
export * from "./lib/comment.types";
+24
View File
@@ -0,0 +1,24 @@
/**
* @copyright 2026 NHCarrigan
* @license Naomi's Public License
*/
export interface Art {
id: string;
title: string;
artist: string;
description?: string;
imageUrl: string;
dateAdded: Date;
createdAt: Date;
updatedAt: Date;
}
export interface CreateArtDto {
title: string;
artist: string;
description?: string;
imageUrl: string;
}
export interface UpdateArtDto extends Partial<CreateArtDto> {}
+1
View File
@@ -18,6 +18,7 @@ export interface Comment {
gameId?: string;
bookId?: string;
musicId?: string;
artId?: string;
createdAt: Date;
updatedAt: Date;
}