fleet/frontend/interfaces/macadmins.ts

24 lines
586 B
TypeScript
Raw Normal View History

import { IMdmAggregateStatus, IMdmSolution } from "./mdm";
2022-02-08 05:03:01 +00:00
export interface IMunkiVersionsAggregate {
2022-02-08 05:03:01 +00:00
version: string;
hosts_count: number;
}
export interface IMunkiIssuesAggregate {
id: number;
name: string;
type: "error" | "warning";
hosts_count: number;
}
2022-02-08 05:03:01 +00:00
export interface IMacadminAggregate {
macadmins: {
counts_updated_at: string;
munki_versions: IMunkiVersionsAggregate[];
munki_issues: IMunkiIssuesAggregate[];
mobile_device_management_enrollment_status: IMdmAggregateStatus;
mobile_device_management_solution: IMdmSolution[] | null;
2022-02-08 05:03:01 +00:00
};
}