Labeled
An artifact and the pattern-set it declares — an index() entry.
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type | Description |
|---|---|---|
T | string | The id type. Defaults to string; pass a union or branded type to keep the returned ids typed. |
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
id | T | The artifact’s identifier, echoed back by the registry’s queries. |
patterns | Patterns | The path-pattern set this artifact governs (a single string or a set). |