diff --git a/wiki/Reference-Contracts.md b/wiki/Reference-Contracts.md index e90e651..ee1353d 100644 --- a/wiki/Reference-Contracts.md +++ b/wiki/Reference-Contracts.md @@ -15,11 +15,11 @@ The registry lives in `src/commands/index.js`. dashboardAPI has **one** canonical input topic. - + | 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 | — | — |