Pathfinder 1e for Foundry VTT
    Preparing search index...

    Function consolidate

    • Consolidate Datamodel

      Commits document data to ensure it is the truth. This removes hidden old data and prunes other excess data.

      Parameters

      • doc: any

        Document to consolidate data for.

      Returns Promise<any>

      • Result of update() call.