How to wire the generated resources into the developer's blueprint, where
source is the contents of their sanity.blueprint.ts.
Wiring needs exactly one resources array literal among the object
arguments of the file's defineBlueprint(...) calls. None, or more than one,
yields manual. Comments, strings, template literals, regular expressions
and resources arrays outside those calls are left alone.
Wiring requires a value import of workflowResources from
./workflows.blueprint (with an optional .ts extension) and a
...workflowResources spread. Missing imports or spreads are inserted.
Other bindings of workflowResources require manual wiring.
Pass a TypeScript 6 compiler API as compiler when the installed
typescript package is absent or does not expose that API. Without one,
wiring throws an error explaining the required compiler.
How to wire the generated resources into the developer's blueprint, where
sourceis the contents of theirsanity.blueprint.ts.Wiring needs exactly one
resourcesarray literal among the object arguments of the file'sdefineBlueprint(...)calls. None, or more than one, yieldsmanual. Comments, strings, template literals, regular expressions and resources arrays outside those calls are left alone.Wiring requires a value import of
workflowResourcesfrom./workflows.blueprint(with an optional.tsextension) and a...workflowResourcesspread. Missing imports or spreads are inserted. Other bindings ofworkflowResourcesrequire manual wiring. Pass a TypeScript 6 compiler API ascompilerwhen the installedtypescriptpackage is absent or does not expose that API. Without one, wiring throws an error explaining the required compiler.