Shows: add images
This commit is contained in:
parent
0b3de6803e
commit
dddbf846d4
2 changed files with 2 additions and 0 deletions
|
|
@ -6,4 +6,5 @@ export class ShowDto {
|
|||
episodes: number;
|
||||
description: string;
|
||||
genres: string[];
|
||||
images: string[];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,4 +7,5 @@ export const ShowSchema = new Schema({
|
|||
episodes: { type: Number, required: true },
|
||||
description: { type: String, required: true },
|
||||
genres: [{ type: String, required: true }],
|
||||
images: [{ type: String, required: true }],
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue