declare type TPeople = {
  _id?: string
  name?: string;
  block?: number | string;
  level?: string;
  unit?: string
  companyName?: sring[];
  unitName?: string;
  contact?: string;
  plateNumber?: string;
  nric?: string;
  contact?: string;
  remarks?: string;
  start?: string;
  end?: string;
  org?: string;
  site?: string,
  type?: TPeopleType;
  plates?: TPlateNumber[]
  email?: string;
  files?: { name: string, id: string }[];
  isOwner?: boolean;
};

declare type TPlateNumber = { plateNumber: string, recNo: string, _id?: string, status: "active" | "deleted" | "pending", type: TVehicleType };


declare type TPeoplePayload = Pick<TGuest, "name" | "block" | "level" | "unit" | "unitName" | "contact" | "plateNumber" | "nric" | "contact" | "remarks" | "org" | "site" | "start" | "end" | "type" | "isOwner"> & { status?: string }

declare type TPeopleType = "guest" | "resident" | "tenant"
