• Migrate a single Actor document to incorporate latest data model changes Return an Object of updateData to be applied

    Parameters

    • actorData: ActorData

      The actor data to derive an update from

    • token: TokenDocument
    • Optionaloptions: { actor?: Actor; marker?: boolean } = {}

      Additional options

      • Optionalactor?: Actor

        Associated actor document

      • Optionalmarker?: boolean

        Add migration marker

    Returns object

    • The updateData to apply