38 lines
1.0 KiB
TypeScript
38 lines
1.0 KiB
TypeScript
import { PERMS } from "@/lib/permission-slugs";
|
|
import {
|
|
anyCapability,
|
|
type HousekeepingDomainManifest,
|
|
} from "../../foundation/contracts";
|
|
import { CONTENT_INBOX_SOURCES } from "./inbox";
|
|
import { CONTENT_ROUTES } from "./routes";
|
|
import { CONTENT_SEARCH_PROVIDERS } from "./search";
|
|
import { CONTENT_WIDGETS } from "./widgets";
|
|
|
|
export const contentManifest = {
|
|
id: "content",
|
|
labelKey: "pages.housekeeping.domains.content.title",
|
|
descriptionKey: "pages.housekeeping.domains.content.description",
|
|
iconId: "file-text",
|
|
canonicalHref: "/ase/content",
|
|
capability: anyCapability(
|
|
PERMS.NEWS_VIEW,
|
|
PERMS.PAGES_VIEW,
|
|
PERMS.BANNERS_VIEW,
|
|
PERMS.EVENTS_VIEW,
|
|
PERMS.POLLS_VIEW,
|
|
PERMS.PREFIXES_VIEW,
|
|
PERMS.NEWS_EDIT,
|
|
PERMS.PAGES_EDIT,
|
|
PERMS.BANNERS_EDIT,
|
|
PERMS.EVENTS_EDIT,
|
|
PERMS.POLLS_EDIT,
|
|
PERMS.PREFIXES_EDIT,
|
|
PERMS.SETTINGS_VIEW,
|
|
PERMS.SETTINGS_EDIT,
|
|
),
|
|
routes: CONTENT_ROUTES,
|
|
searchProviders: CONTENT_SEARCH_PROVIDERS,
|
|
inboxSources: CONTENT_INBOX_SOURCES,
|
|
widgets: CONTENT_WIDGETS,
|
|
} satisfies HousekeepingDomainManifest;
|