• A hook event that fires when Adventure data is being prepared for import. Modules may return false from this hook to take over handling of the import workflow. preImportAdventure

    Parameters

    • adventure: Adventure

      The Adventure document from which content is being imported

    • formData: object

      Processed data from the importer form

    • toCreate: Record<string, object[]>

      Adventure data which needs to be created in the World

    • toUpdate: Record<string, object[]>

      Adventure data which needs to be updated in the World

    Returns boolean | void

    False to prevent the core software from handling the import