refactor(core): Forbid raw enums (no-changelog)

This commit is contained in:
Michael Kret
2023-04-21 14:23:15 +03:00
committed by GitHub
parent da31925083
commit 0e93fe064e
39 changed files with 119 additions and 115 deletions

View File

@@ -68,7 +68,7 @@ export const WORKFLOW_REACTIVATE_MAX_TIMEOUT = 24 * 60 * 60 * 1000; // 1 day
export const SETTINGS_LICENSE_CERT_KEY = 'license.cert';
export enum LICENSE_FEATURES {
export const enum LICENSE_FEATURES {
SHARING = 'feat:sharing',
LDAP = 'feat:ldap',
SAML = 'feat:saml',
@@ -78,7 +78,7 @@ export enum LICENSE_FEATURES {
VERSION_CONTROL = 'feat:versionControl',
}
export enum LICENSE_QUOTAS {
export const enum LICENSE_QUOTAS {
TRIGGER_LIMIT = 'quota:activeWorkflows',
VARIABLES_LIMIT = 'quota:maxVariables',
}