@manta-eu/react/hooks/useActionGraph
Reference for @manta-eu/react/hooks/useActionGraph as it is on main.
Type Aliases
UseActionGraphOptions
UseActionGraphOptions =
Omit<GraphRunOptions,"graphql"|"readOptions">
Variables
actionGraphMutationKey
constactionGraphMutationKey: readonly ["ExecuteActionGraph"]
Functions
useActionGraph()
useActionGraph(
options?):UseMutationResult<GraphRun,Error, readonlyGraphOp[]>
Sends a change of several entities as one plan and reads back what each op did; results[i] is ops[i].
Parameters
options?
Returns
UseMutationResult<GraphRun, Error, readonly GraphOp[]>