Foundry Virtual Tabletop - API Documentation - Version 14
    Preparing search index...

    Interface AdventureImportOptions

    Options which customize how the adventure import process is orchestrated. Modules can use the preImportAdventure hook to extend these options by adding preImport or postImport callbacks.

    interface AdventureImportOptions {
        dialog?: boolean;
        importFields?: string[];
        postImport?: AdventurePostImportCallback[];
        preImport?: AdventurePreImportCallback[];
    }
    Index

    Properties

    dialog?: boolean

    Display a warning dialog if existing documents would be overwritten

    importFields?: string[]

    A subset of adventure fields to import

    An array of awaited post-import callbacks

    An array of awaited pre-import callbacks