• Retrieves documents from specified packs based on document name and type.

    Parameters

    • packNames: string[]

      The compendium pack names to search.

    • options: { docType?: string; documentName?: string } = ...

      Filtering options.

      • OptionaldocType?: string

        Optional document subtype to filter by.

      • OptionaldocumentName?: string

        The document type the pack must hold (e.g. "Item").

    Returns Promise<any[]>

    The matching documents as plain objects.