import { ObjectId } from "mongodb";

export interface DBSpyReportPlanet {
    id: ObjectId;
    scanned: boolean;
    scannedAt: Date;
    resources: Array<{ id: string, amount: number }>;
    buildings: Array<{ id: string, level: number }>;
    ships: Array<{ id: string, amount: number }>;
    defense: Array<{ id: string, amount: number }>;
}

export default interface DBSpyReport {
    _id: ObjectId;
    victimId: ObjectId;
    scannedAt: Date;
    research: Array<{ id: string, level: number }>;
    systemId: ObjectId;
    resources: Array<{ id: string, amount: number }>;
    structures: Array<{ id: string, level: number }>;
    ships: Array<{ id: string, amount: number }>;
    defense: Array<{ id: string, amount: number }>;
    planets: Array<DBSpyReportPlanet>;
}