import { Document, Model } from "mongoose"; import { tID } from "../globals"; import { IProduct } from "./product.interfaces"; export interface ICategory extends Document { _id?: tID; id?: tID; name: string; image: string; products: (tID | IProduct)[]; } export interface CategoryModel extends Model { }