Home > @datashaper/workflow > readStep
Factory function to create new verb configs with as many reasonable defaults as possible.
Signature:
export declare function readStep<T extends object | unknown = any>({ verb, args, id, input }: StepInput<T>, previous?: Step | undefined): Step<T>;| Parameter | Type | Description |
|---|---|---|
| { verb, args, id, input } | StepInput<T> | |
| previous | Step | undefined | (Optional) |
Returns:
Step<T>