Sanity Library Reference Docs
    Preparing search index...

    Type Alias ArrayActionNameBeta

    ArrayActionName:
        | "add"
        | "addBefore"
        | "addAfter"
        | "remove"
        | "duplicate"
        | "copy"

    Types of array actions that can be performed

    Type declaration

    • "add"

      Add any item to the array at any position

    • "addBefore"

      Add item after an existing item

    • "addAfter"

      Add item after an existing item

    • "remove"

      Remove any item

    • "duplicate"

      Duplicate item

    • "copy"

      Copy item