• 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: undefined | Item;
          itemData: object;
      } = {}

      Additional options

      • item: undefined | Item

        Parent item document this action is in.

      • itemData: object

        Parent item data

    Returns object

    The resulting action data.