Manta Developers
GitHub
Menu

@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

const actionGraphMutationKey: readonly ["ExecuteActionGraph"]

Functions

useActionGraph()

useActionGraph(options?): UseMutationResult<GraphRun, Error, readonly GraphOp[]>

Sends a change of several entities as one plan and reads back what each op did; results[i] is ops[i].

Parameters

options?

UseActionGraphOptions = {}

Returns

UseMutationResult<GraphRun, Error, readonly GraphOp[]>