Compare commits
1 Commits
a9fc51d6f0
...
fb5a9ebff8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fb5a9ebff8 |
@@ -15,11 +15,11 @@
|
||||
|
||||
The registry lives in `src/commands/index.js`. dashboardAPI has **one** canonical input topic.
|
||||
|
||||
<!-- BEGIN AUTOGEN: topic-contract — populate via wiki-gen tool (TODO) -->
|
||||
<!-- BEGIN AUTOGEN: topic-contract -->
|
||||
|
||||
| Canonical topic | Aliases | Payload | Unit | Effect |
|
||||
|:---|:---|:---|:---|:---|
|
||||
| `child.register` | `registerChild` | `string` (child node id) **or** `{source: {...}}` **or** `{config: {...}}`; optional `msg.includeChildren: boolean` (default `true`) | — | Resolves the child source (`RED.nodes.getNode` → `node._flow.getNode` → inline payload), calls `source.generateDashboardsForGraph(child, {includeChildren})`, then emits one `topic: 'create'` HTTP-upsert message on Port 0 per generated dashboard. |
|
||||
|---|---|---|---|---|
|
||||
| `child.register` | `registerChild` | any | — | — |
|
||||
|
||||
<!-- END AUTOGEN: topic-contract -->
|
||||
|
||||
|
||||
Reference in New Issue
Block a user