const planLabels = { oss: "OSS", "cloud:team": "Team", "self-hosted:enterprise": "Enterprise (Self-Hosted)", } as const; export type Plan = keyof typeof planLabels; const entitlements = [ "search-contexts", "billing" ] as const; export type Entitlement = (typeof entitlements)[number]; export const entitlementsByPlan: Record = { oss: [], "cloud:team": ["billing"], "self-hosted:enterprise": ["search-contexts"], } as const;