@umbraco-cms/backoffice
    Preparing search index...

    Type Alias DispatchTransactionProps

    Props passed to the dispatchTransaction hook in extensions.

    type DispatchTransactionProps = {
        next: (transaction: Transaction) => void;
        transaction: Transaction;
    }
    Index

    Properties

    Properties

    next: (transaction: Transaction) => void

    A function that should be called to pass the transaction down to the next extension (or eventually to the editor).

    Type Declaration

      • (transaction: Transaction): void
      • Parameters

        • transaction: Transaction

          The transaction to dispatch

        Returns void

    transaction: Transaction

    The transaction that is about to be dispatched.