declare type TCamera = {
  site: string;
  cameras: {
    host: string;
    username: string;
    password: string;
    type: TCameraTypes;
  }[];
};

declare type TCameraConfig = {
  host: string;
  username: string;
  password: string;
  type: TCameraTypes;
};

declare type TCameraTypes = "ip" | "exit" | "entry" | "both";

declare type TSiteCamera = {
  _id?: string;
  site: string;
  host: string;
  username: string;
  password: string;
  type: "ip" | "anpr";
  category: "standard" | "resident" | "visitor";
  direction: "entry" | "exit" | "both" | "none";
  name?: string;
  guardPost: number | null;
  status: string;
};
