30 lines
773 B
TypeScript
30 lines
773 B
TypeScript
import { PERMS } from "@/lib/permission-slugs";
|
|
import {
|
|
anyCapability,
|
|
type HousekeepingDomainManifest,
|
|
} from "../../foundation/contracts";
|
|
import { SYSTEM_ROUTES } from "./routes";
|
|
|
|
export const systemManifest = {
|
|
id: "system",
|
|
labelKey: "pages.housekeeping.domains.system.title",
|
|
descriptionKey: "pages.housekeeping.domains.system.description",
|
|
iconId: "settings",
|
|
canonicalHref: "/ase/system",
|
|
capability: anyCapability(
|
|
PERMS.SETTINGS_VIEW,
|
|
PERMS.LOGS_VIEW,
|
|
PERMS.ANALYTICS_VIEW,
|
|
PERMS.DEVOPS_VIEW,
|
|
PERMS.NOTIFICATIONS_VIEW,
|
|
PERMS.PERMISSIONS_MANAGE,
|
|
PERMS.RCON_EXECUTE,
|
|
PERMS.SETTINGS_EDIT,
|
|
PERMS.NOTIFICATIONS_EDIT,
|
|
),
|
|
routes: SYSTEM_ROUTES,
|
|
searchProviders: [],
|
|
inboxSources: [],
|
|
widgets: [],
|
|
} satisfies HousekeepingDomainManifest;
|