• Migrate compendiums.

    Parameters

    • Optional packIds: null | (string | WorldCollection<any, any>)[] = null

      Array of pack IDs or packs to migrate. If null, all packs will be migrated.

    • Optional options: {
          dialog: undefined | object;
          noHooks: any;
          state: undefined | MigrationState;
          unlock: undefined | boolean;
      } = {}

      Additional options to pass along.

      • dialog: undefined | object

        Display migration dialog. Falsy disables.

      • noHooks: any
      • state: undefined | MigrationState

        Migration state tracker

      • unlock: undefined | boolean

        If false, locked compendiums are ignored.

    Returns Promise<void>

    • Promise that resolves once all migrations are complete.

    See

    migrateCompendium

    Throws

    • If defined pack is not found.

Generated using TypeDoc