• Migrate a single Item document to incorporate latest data model changes

    Parameters

    • itemData: object

      The item data to derive an update from

    • actor: Actor = null

      Parent actor document

    • Optional options: {
          _depth: undefined | number;
          item: undefined | Item;
      } = {}

      Additional options

      • _depth: undefined | number

        Internal only. Recursion depth tracking.

      • item: undefined | Item

        Item document

    Returns object

    • The updateData to apply

Generated using TypeDoc