2023-01-04 18:39:39 +00:00
|
|
|
import PATHS from "router/paths";
|
|
|
|
|
|
|
|
import { ISideNavItem } from "../components/SideNav/SideNav";
|
|
|
|
import { IAppConfigFormProps } from "./cards/constants";
|
|
|
|
|
|
|
|
import Info from "./cards/Info";
|
|
|
|
import WebAddress from "./cards/WebAddress";
|
|
|
|
import Sso from "./cards/Sso";
|
|
|
|
import Smtp from "./cards/Smtp";
|
|
|
|
import HostStatusWebhook from "./cards/HostStatusWebhook";
|
|
|
|
import Statistics from "./cards/Statistics";
|
|
|
|
import FleetDesktop from "./cards/FleetDesktop";
|
|
|
|
import Advanced from "./cards/Advanced";
|
|
|
|
import Agents from "./cards/Agents";
|
|
|
|
|
|
|
|
const ORG_SETTINGS_NAV_ITEMS: ISideNavItem<IAppConfigFormProps>[] = [
|
|
|
|
{
|
|
|
|
title: "Organization info",
|
|
|
|
urlSection: "organization",
|
2023-08-11 13:32:02 +00:00
|
|
|
path: PATHS.ADMIN_ORGANIZATION_INFO,
|
2023-01-04 18:39:39 +00:00
|
|
|
Card: Info,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: "Fleet web address",
|
|
|
|
urlSection: "webaddress",
|
2023-08-11 13:32:02 +00:00
|
|
|
path: PATHS.ADMIN_ORGANIZATION_WEBADDRESS,
|
2023-01-04 18:39:39 +00:00
|
|
|
Card: WebAddress,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: "Single sign-on options",
|
|
|
|
urlSection: "sso",
|
2023-08-11 13:32:02 +00:00
|
|
|
path: PATHS.ADMIN_ORGANIZATION_SSO,
|
2023-01-04 18:39:39 +00:00
|
|
|
Card: Sso,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: "SMTP options",
|
|
|
|
urlSection: "smtp",
|
2023-08-11 13:32:02 +00:00
|
|
|
path: PATHS.ADMIN_ORGANIZATION_SMTP,
|
2023-01-04 18:39:39 +00:00
|
|
|
Card: Smtp,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: "Agent options",
|
|
|
|
urlSection: "agents",
|
2023-08-11 13:32:02 +00:00
|
|
|
path: PATHS.ADMIN_ORGANIZATION_AGENTS,
|
2023-01-04 18:39:39 +00:00
|
|
|
Card: Agents,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: "Host status webhook",
|
|
|
|
urlSection: "host-status-webhook",
|
2023-08-11 13:32:02 +00:00
|
|
|
path: PATHS.ADMIN_ORGANIZATION_HOST_STATUS_WEBHOOK,
|
2023-01-04 18:39:39 +00:00
|
|
|
Card: HostStatusWebhook,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: "Usage statistics",
|
|
|
|
urlSection: "statistics",
|
2023-08-11 13:32:02 +00:00
|
|
|
path: PATHS.ADMIN_ORGANIZATION_STATISTICS,
|
2023-01-04 18:39:39 +00:00
|
|
|
Card: Statistics,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: "Fleet Desktop",
|
|
|
|
urlSection: "fleet-desktop",
|
2023-08-11 13:32:02 +00:00
|
|
|
path: PATHS.ADMIN_ORGANIZATION_FLEET_DESKTOP,
|
2023-01-04 18:39:39 +00:00
|
|
|
// isPremium: true,
|
|
|
|
Card: FleetDesktop,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: "Advanced options",
|
|
|
|
urlSection: "advanced",
|
2023-08-11 13:32:02 +00:00
|
|
|
path: PATHS.ADMIN_ORGANIZATION_ADVANCED,
|
2023-01-04 18:39:39 +00:00
|
|
|
Card: Advanced,
|
|
|
|
},
|
|
|
|
];
|
|
|
|
|
|
|
|
export default ORG_SETTINGS_NAV_ITEMS;
|