update UI, Runtime API, metadata handling, and others

This commit is contained in:
Hiroyasu Nishiyama
2021-01-27 22:27:54 +09:00
parent d51aefa156
commit 4a1d66f210
9 changed files with 900 additions and 420 deletions

View File

@@ -83,7 +83,7 @@ function createNodeApi(node) {
httpAdmin: runtime.adminApp,
server: runtime.server
}
copyObjectProperties(runtime.nodes,red.nodes,["createNode","getNode","eachNode","addCredentials","getCredentials","deleteCredentials", "listNPMModules"]);
copyObjectProperties(runtime.nodes,red.nodes,["createNode","getNode","eachNode","addCredentials","getCredentials","deleteCredentials"]);
red.nodes.registerType = function(type,constructor,opts) {
runtime.nodes.registerType(node.id,type,constructor,opts);
}