• 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

    • Optionaloptions: { _depth?: number; item?: Item; marker?: boolean } = {}

      Additional options

      • Optional_depth?: number

        Internal only. Recursion depth tracking.

      • Optionalitem?: Item

        Item document

      • Optionalmarker?: boolean

        Add migration marker

    Returns object

    • The updateData to apply