Extends the Metadata class from @decaf-ts/decoration with
Metadata.nodes() and Metadata.workflows() accessors that return all
@node-decorated and @graph-decorated constructors respectively.
This follows the existing override pattern used by core (core/src/overrides/)
and decorator-validation (decorator-validation/src/overrides/):
- This file declares the new static methods on the
Metadatanamespace viadeclare module(TypeScript declaration merging). - The companion
overrides.tsattaches the implementations to theMetadataclass at runtime via(Metadata as any).fn = .... - The
index.tsof this folder side-effect-importsoverrides.tsso the attachments run whenever the graph module is loaded. - The package's
sideEffectsarray inpackage.jsonincludes the compiled overrides entry points so bundlers preserve the side-effect imports.