mirror of
https://github.com/outline/outline.git
synced 2026-11-22 05:51:43 +03:00
features
This commit is contained in:
2 files changed
+10
-2
No files matched your search
+5
-1
@@ -870,7 +870,7 @@ export enum Plan {
|
||||
Legacy = "legacy",
|
||||
}
|
||||
|
||||
/** Features that are only available on some plans. */
|
||||
/** Features that are potentially gated by entitlements. */
|
||||
export enum PlanFeature {
|
||||
/** Access to the workspace audit log. */
|
||||
AuditLog = "auditLog",
|
||||
@@ -878,6 +878,8 @@ export enum PlanFeature {
|
||||
AdvancedSecurity = "advancedSecurity",
|
||||
/** Inviting guest users. */
|
||||
Guests = "guests",
|
||||
/** Synchronization of groups with an external IDP */
|
||||
GroupSync = "groupSync",
|
||||
/** Integrations that are not included in every plan. */
|
||||
PremiumIntegrations = "premiumIntegrations",
|
||||
/** Management of API keys across the workspace. */
|
||||
@@ -888,4 +890,6 @@ export enum PlanFeature {
|
||||
AIAnswers = "aiAnswers",
|
||||
/** Serving the workspace from a custom domain. */
|
||||
CustomDomain = "customDomain",
|
||||
/** SAML authentication provider */
|
||||
SAML = "saml",
|
||||
}
|
||||
@@ -22,7 +22,11 @@ export class PlanHelper {
|
||||
/** The features that are included in each plan. */
|
||||
public static readonly features: Record<Plan, PlanFeature[]> = {
|
||||
[Plan.Community]: [],
|
||||
[Plan.Standard]: [PlanFeature.ContentManagement, PlanFeature.Guests],
|
||||
[Plan.Standard]: [
|
||||
PlanFeature.ContentManagement,
|
||||
PlanFeature.Guests,
|
||||
PlanFeature.AIAnswers,
|
||||
],
|
||||
[Plan.Business]: Object.values(PlanFeature),
|
||||
[Plan.Enterprise]: Object.values(PlanFeature),
|
||||
[Plan.Legacy]: Object.values(PlanFeature),
|
||||
|
||||
Reference in new issue
Block a user