import { Types } from "mongoose"; export interface ChartDeviceItemType { email: string, dateAt: Date, os: string, osSemVer: string, app: string, appSemVer: string, } export interface ChartDeviceStatsType { _id: Types.ObjectId, id?: string, dateAt: Date, departmentId: string, items: ChartDeviceItemType[], } export interface ChartUserType { _id: Types.ObjectId, id?: string, dateAt: Date, departmentId: string, agencyId?: string, agencyName?: string, agencyCode?: string, count: number, items: string[], } export interface ChartIncidentItemType { item: string, dateAt: Date, } export interface ChartManagedIncidentType { _id: Types.ObjectId, id?: string, dateAt: Date, departmentId: string, agencyId?: string, agencyName?: string, agencyCode?: string, userId: string, count: number, items: ChartIncidentItemType[] } export interface ChartIncidentType { _id: Types.ObjectId, id?: string, dateAt: Date, departmentId: string, count: number, items: ChartIncidentItemType[] }