2023-02-21 15:31:19 +00:00
|
|
|
import PATHS from "router/paths";
|
|
|
|
|
import { ISideNavItem } from "pages/admin/components/SideNav/SideNav";
|
2023-03-08 19:43:00 +00:00
|
|
|
import { IMdmProfile } from "interfaces/mdm";
|
2023-03-14 20:03:02 +00:00
|
|
|
|
|
|
|
|
import DiskEncryption from "./cards/DiskEncryption";
|
2023-02-21 15:31:19 +00:00
|
|
|
import CustomSettings from "./cards/CustomSettings";
|
|
|
|
|
|
2023-03-08 19:43:00 +00:00
|
|
|
interface IMacOSSettingsCardProps {
|
2023-03-14 20:03:02 +00:00
|
|
|
currentTeamId?: number;
|
2023-03-08 19:43:00 +00:00
|
|
|
profiles?: IMdmProfile[];
|
|
|
|
|
onProfileUpload?: () => void;
|
|
|
|
|
onProfileDelete?: () => void;
|
|
|
|
|
}
|
|
|
|
|
|
2023-03-14 20:03:02 +00:00
|
|
|
// TODO: types
|
2023-03-08 19:43:00 +00:00
|
|
|
const MAC_OS_SETTINGS_NAV_ITEMS: ISideNavItem<
|
|
|
|
|
IMacOSSettingsCardProps | any
|
|
|
|
|
>[] = [
|
2023-03-14 20:03:02 +00:00
|
|
|
{
|
|
|
|
|
title: "Disk encryption",
|
|
|
|
|
urlSection: "disk-encryption",
|
|
|
|
|
path: PATHS.CONTROLS_DISK_ENCRYPTION,
|
|
|
|
|
Card: DiskEncryption,
|
|
|
|
|
},
|
2023-02-21 15:31:19 +00:00
|
|
|
{
|
|
|
|
|
title: "Custom settings",
|
|
|
|
|
urlSection: "custom-settings",
|
|
|
|
|
path: PATHS.CONTROLS_CUSTOM_SETTINGS,
|
|
|
|
|
Card: CustomSettings,
|
|
|
|
|
},
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
export default MAC_OS_SETTINGS_NAV_ITEMS;
|