prismatic-io / spectral

Prismatic's typescript library for custom components
https://prismatic.io/docs/spectral/custom-component-library
35 stars 2 forks source link

Expose FlowExecutionContext types to better support abstracting action calls #259

Closed bkegley closed 1 month ago

bkegley commented 1 month ago

It's common for developers to want to abstract function calls using existing component actions. Extracting those types from the execution context was pretty difficult and required some inside knowledge about how module augmentation works. This exposes those types for use in these cases.