Type Alias Functionref

Functionref:
    | string
    | {
        arguments?: unknown;
        invoke?: "SYNC"
        | "ASYNC";
        refName: "app.reload";
        selectionSet?: string;
    }

A reference to a function to invoke, either as a name string or a structured object.

Type Declaration

  • string
  • {
        arguments?: unknown;
        invoke?: "SYNC" | "ASYNC";
        refName: "app.reload";
        selectionSet?: string;
    }
    • Optionalarguments?: unknown

      Arguments to pass to the function.

    • Optionalinvoke?: "SYNC" | "ASYNC"

      Specifies whether the function is invoked synchronously or asynchronously.

    • refName: "app.reload"

      The name of the function to invoke.

    • OptionalselectionSet?: string

      A GraphQL selection set string. Only applicable when the function type is graphql.

{
* arguments: {
* "appId": "80c6f35f-c9d7-4488-bb5a-ad973b13ec00",
* "partial": false
* },
* refName: "app.reload"
* }