Sanity App SDK
    Preparing search index...

    Interface ApplyDocumentActionsOptionsBeta

    interface ApplyDocumentActionsOptions {
        actions: Action[];
        disableBatching?: boolean;
        resource?: DocumentResource;
        transactionId?: string;
    }
    Index

    Properties

    actions: Action[]

    List of actions to apply. Accepts both document actions and release lifecycle actions because they share the same transaction pipeline.

    disableBatching?: boolean

    Set this to true to prevent this action from being batched with others.

    resource?: DocumentResource

    The resource to which the documents being acted on belong.

    transactionId?: string

    Optionally provide an ID to be used as this transaction ID