register_dependency
Declare that a repo consumes an API surface (e.g., http:GET /orders/:id) so changes to it are delivered to that repo; optionally name the producing repo to map dependencies.
Instructions
Declare that this repo consumes a surface (for example http:GET /orders/:id), so changes to that surface are delivered to this repo. producedRepoId optionally names the producing repo. Repeating the same declaration is harmless. Changes to a declared surface then reach this repo through notify and its inbox. Use consumers to see who depends on a surface.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| producedRepoId | No | Optional id of the repo that produces the surface, when known. | |
| producedSurface | Yes | Surface this repo depends on, for example http:GET /orders/:id. |