feat(core): Add versionControl feature flag (#6000)

add versionControl feature flag
This commit is contained in:
Michael Auerswald
2023-04-18 13:29:26 +02:00
committed by GitHub
parent 0c10fbc83f
commit 33299ca61a
7 changed files with 18 additions and 0 deletions

View File

@@ -128,6 +128,10 @@ export class License {
return this.isFeatureEnabled(LICENSE_FEATURES.VARIABLES);
}
isVersionControlEnabled() {
return this.isFeatureEnabled(LICENSE_FEATURES.VERSION_CONTROL);
}
getCurrentEntitlements() {
return this.manager?.getCurrentEntitlements() ?? [];
}