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: Actor<"base" | ModuleSubType> | Item<"base" | ModuleSubType>

        Document to consolidate data for.

      Returns Promise<
          undefined
          | Actor<"base" | ModuleSubType>
          | Item<"base" | ModuleSubType>,
      >

      • Result of update() call.