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
+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;
}