The name of the document to find.
The compendium pack names to search.
Lookup options.
OptionaldocType?: stringOptional document subtype to filter by.
OptionaldocumentName?: stringThe document type the pack must hold.
OptionalkeepId?: booleanWhether to preserve the source _id (otherwise a new ID is assigned).
The matching document data prepared for import, or undefined if not found.
Retrieves a document from specified packs based on name and optional type.