import { ObjectId } from "mongodb";

export default interface DBBuilding {
    _id: ObjectId;
    id: string;
    category: string;
    requirements: {
        buildings: Array<{ id: string, level: number }>,
        research: Array<{ id: string, level: number }>,
        resources: Array<{ id: string, amount: number }>,
    };
    energy: number;
    time: number;
    multiplier: number;
}