generated from nhcarrigan/template
feat: add art component
This commit is contained in:
@@ -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> {}
|
||||
@@ -18,6 +18,7 @@ export interface Comment {
|
||||
gameId?: string;
|
||||
bookId?: string;
|
||||
musicId?: string;
|
||||
artId?: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user