diff --git a/CONTRACT.md b/CONTRACT.md index f752601..4148142 100644 --- a/CONTRACT.md +++ b/CONTRACT.md @@ -13,6 +13,7 @@ Hand-maintained for Phase 6; the `## Inputs` table is generated from | `data.flow` | `input_q` | `{ value: number, unit: string }` | Converts to m³/h and pushes into `flow.manual.atequipment`. Blends with measured-child flow in `getEffectiveFlow()`. | | `set.mode` | `setMode` | string | Delegated to `source.setMode()` if defined. Reserved for future use. | | `set.model-prediction` | `model_prediction` | numeric | Delegated to `source.setModelPrediction()` if defined. Reserved for future use. | +| `child.register` | `registerChild` | `string` — the child node's Node-RED id | Resolves the child via `RED.nodes.getNode` and registers it through `childRegistrationUtils` at the supplied `msg.positionVsParent`. | Aliases log a one-time deprecation warning the first time they fire.