• Migrates a single action within an item.

    Parameters

    • action: object

      The action's data, which also serves as the update data to pass on.

    • updateData: object

      Item update data

    • Optionaloptions: { item?: Item; itemData: object } = {}

      Additional options

      • Optionalitem?: Item

        Parent item document this action is in.

      • itemData: object

        Parent item data

    Returns object

    The resulting action data.