import { Shelf } from "./shelf";

export interface Category { //_id is not needed as it is created by default
    name: string,
    icon: string,
    shelves?: Array<Shelf>,
    isArchived: boolean,
}

export interface MongoCategory extends Omit<Category, 'shelves'> {
    shelves?: Array<string>, // Shelf IDs
}