mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Add partial implementation of adding library sources via editor
This adds lots of commented out code that provides a settings panel to add new library sources. It is incomplete as it doesn't actually add/update the library sources on the runtime. For 1.3, I'm focussing on allowing additional sources get added via the settings file only. I've done enough work on the editor side to convince myself more work is needed than I can justify at this time on what is otherwise not going to be a widely used feature.
This commit is contained in:
committed by
Nick O'Leary
parent
8a076c01ab
commit
3f9a29730f
@@ -4,8 +4,19 @@
|
||||
name: "Local File-System Library",
|
||||
icon: "font-awesome/fa-hdd-o",
|
||||
defaults: {
|
||||
name: { value: "" },
|
||||
path: { value: ""}
|
||||
path: { value: ""},
|
||||
// secret: { type: "password" }
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
|
||||
RED.plugins.registerPlugin("node-red-library-dbstore", {
|
||||
type: "node-red-library-source",
|
||||
name: "Database Library",
|
||||
icon: "font-awesome/fa-database",
|
||||
defaults: {
|
||||
connection: { value: ""}
|
||||
}
|
||||
})
|
||||
</script>
|
Reference in New Issue
Block a user