diff --git a/server/interfaces/models/IBook.ts b/server/interfaces/models/IBook.ts index e54e9c2..76e858c 100644 --- a/server/interfaces/models/IBook.ts +++ b/server/interfaces/models/IBook.ts @@ -1,9 +1,10 @@ +import { ObjectID } from "bson"; import { IModel } from "./IModel"; export interface IBook { _id: string; title: string; - authors: string[]; + authors: string[] | ObjectID[]; genres: string[]; location: string; owner: string;