mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
feat(cli): Enable community nodes based on npm availability (#3871)
* ⚡ Detect npm availability * 📘 Expand interfaces * ⚡ Adjust store * 🎨 Replace button with warning
This commit is contained in:
@@ -719,6 +719,7 @@ export interface IN8nUISettings {
|
||||
};
|
||||
executionMode: string;
|
||||
communityNodesEnabled: boolean;
|
||||
isNpmAvailable: boolean;
|
||||
publicApi: {
|
||||
enabled: boolean;
|
||||
latestVersion: number;
|
||||
@@ -881,6 +882,7 @@ export interface IRootState {
|
||||
sidebarMenuItems: IMenuItem[];
|
||||
instanceId: string;
|
||||
nodeMetadata: {[nodeName: string]: INodeMetadata};
|
||||
isNpmAvailable: boolean;
|
||||
}
|
||||
|
||||
export interface ICommunityPackageMap {
|
||||
|
||||
Reference in New Issue
Block a user