"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ValidPermissions = exports.SystemPermissions = void 0;
const ProjectPermissions_1 = require("../../projects/_internal/ProjectPermissions");
const SitePermissions_1 = require("../../sites/_internal/SitePermissions");
const InitiativePermissions_1 = require("../../initiatives/_internal/InitiativePermissions");
const DiscussionsPermissions_1 = require("../../discussions/_internal/DiscussionsPermissions");
const ChannelPermissions_1 = require("../../channels/_internal/ChannelPermissions");
const ContentPermissions_1 = require("../../content/_internal/ContentPermissions");
const GroupPermissions_1 = require("../../groups/_internal/GroupPermissions");
const PagePermissions_1 = require("../../pages/_internal/PagePermissions");
const PlatformPermissions_1 = require("../PlatformPermissions");
const InitiativeTemplatePermissions_1 = require("../../initiative-templates/_internal/InitiativeTemplatePermissions");
const TemplatePermissions_1 = require("../../templates/_internal/TemplatePermissions");
const EventPermissions_1 = require("../../events/_internal/EventPermissions");
const UserPermissions_1 = require("../../users/_internal/UserPermissions");
/**
 * Defines the values for Permissions
 * It's critical that the arrays defined in the modules use `as const`
 * otherwise Permission devolves into just a string type
 */
exports.SystemPermissions = [
    "hub:release:2025R3",
    "hub:release:2026R1",
    "hub:release:2026R2",
    "hub:release:2026R3",
    "hub:gating:workspace:released",
    "hub:gating:configurableViews:released",
    "hub:gating:entity:slugs",
    "hub:feature:ai-assistant",
    "hub:platform:ai-assistant",
    "hub:feature:privacy",
    "hub:feature:workspace",
    "hub:feature:configurableViews",
    "hub:feature:user:preferences",
    "hub:card:follow",
    "hub:feature:workspace:user",
    "hub:feature:workspace:org",
    "hub:feature:keyboardshortcuts",
    "hub:feature:newentityview",
    "hub:feature:history",
    "hub:feature:catalogs", // DEPRECATED - TODO: remove at next major version
    "hub:feature:catalogs:edit:appearance",
    "hub:feature:gallery-card:enterprise",
    "hub:feature:inline-workspace",
    "hub:feature:pagescatalog",
    "hub:feature:discussions:subscription",
    "hub:license:hub-premium",
    "hub:license:hub-basic",
    "hub:license:enterprise-sites",
    "hub:availability:alpha",
    "hub:availability:beta",
    "hub:availability:general",
    "hub:environment:qaext",
    "hub:environment:devext",
    "hub:environment:production",
    "hub:environment:enterprise",
    "hub:card:embed",
];
/**
 * An array of all valid/supported permissions
 */
exports.ValidPermissions = [
    ...SitePermissions_1.SitePermissions,
    ...ProjectPermissions_1.ProjectPermissions,
    ...InitiativePermissions_1.InitiativePermissions,
    ...ContentPermissions_1.ContentPermissions,
    ...GroupPermissions_1.GroupPermissions,
    ...PagePermissions_1.PagePermissions,
    ...PlatformPermissions_1.PlatformPermissions,
    ...DiscussionsPermissions_1.DiscussionPermissions,
    ...InitiativeTemplatePermissions_1.InitiativeTemplatePermissions,
    ...TemplatePermissions_1.TemplatePermissions,
    ...exports.SystemPermissions,
    ...EventPermissions_1.EventPermissions,
    ...UserPermissions_1.UserPermissions,
    ...ChannelPermissions_1.ChannelPermissions,
];
//# sourceMappingURL=constants.js.map