mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
feat(core): Add workflow diffs feature to license checks (no-changelog) (#18130)
This commit is contained in:
@@ -153,6 +153,7 @@ export interface FrontendSettings {
|
||||
workerView: boolean;
|
||||
advancedPermissions: boolean;
|
||||
apiKeyScopes: boolean;
|
||||
workflowDiffs: boolean;
|
||||
projects: {
|
||||
team: {
|
||||
limit: number;
|
||||
|
||||
@@ -159,6 +159,10 @@ export class LicenseState {
|
||||
return this.isLicensed('feat:insights:viewHourlyData');
|
||||
}
|
||||
|
||||
isWorkflowDiffsLicensed() {
|
||||
return this.isLicensed('feat:workflowDiffs');
|
||||
}
|
||||
|
||||
// --------------------
|
||||
// integers
|
||||
// --------------------
|
||||
|
||||
@@ -35,6 +35,7 @@ export const LICENSE_FEATURES = {
|
||||
INSIGHTS_VIEW_DASHBOARD: 'feat:insights:viewDashboard',
|
||||
INSIGHTS_VIEW_HOURLY_DATA: 'feat:insights:viewHourlyData',
|
||||
API_KEY_SCOPES: 'feat:apiKeyScopes',
|
||||
WORKFLOW_DIFFS: 'feat:workflowDiffs',
|
||||
} as const;
|
||||
|
||||
export const LICENSE_QUOTAS = {
|
||||
|
||||
Reference in New Issue
Block a user