Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "Pdf/index"

Index

Variables

GENERATING_STATE_CHECK_ATTEMPTS

GENERATING_STATE_CHECK_ATTEMPTS: 60 = 60

GENERATING_STATE_REFRESH_INTERVAL

GENERATING_STATE_REFRESH_INTERVAL: 5000 = 5000

imageSize

imageSize: string = "150x120"

Functions

addMissingAddressesToDestinationsPlaces

  • addMissingAddressesToDestinationsPlaces(destinationIdsWithPlaces: Map<string, Place[]>): Promise<Map<string, Place[]>>

buildDestinationsAndPlaces

  • buildDestinationsAndPlaces(placeIdsAndPlacesFromTrip: Map<string, Place>): Promise<object>
  • Parameters

    • placeIdsAndPlacesFromTrip: Map<string, Place>

    Returns Promise<object>

createDestinationData

  • createDestinationData(destinationId: string, destinationIdsWithPlaces: Map<string, Place[]>, destinationIdsWithDestinations: Map<string, Place>, placeIdsWithPlaceType: Map<string, PlaceSource>, query: PdfQuery): Promise<PdfDestination>

filterUnnecessaryDestinations

  • filterUnnecessaryDestinations(destinationIdsWithDestinations: Map<string, Place>, destinationIdsWithPlaces: Map<string, Place[]>): Promise<object>
  • Parameters

    • destinationIdsWithDestinations: Map<string, Place>
    • destinationIdsWithPlaces: Map<string, Place[]>

    Returns Promise<object>

findAndSetMissingAddresses

  • findAndSetMissingAddresses(places: Place[]): Promise<Place[]>

generateDestinationMaps

  • generateDestinationMaps(destinationPlaces: Place[], placeIdsWithPlaceType: Map<string, PlaceSource>, query: PdfQuery): Promise<object>

generatePdf

getAndFilterDestinationIds

  • getAndFilterDestinationIds(destinationIdsWithPlaces: Map<string, Place[]>): Promise<string[]>
  • Parameters

    • destinationIdsWithPlaces: Map<string, Place[]>

    Returns Promise<string[]>

getHomeDestinationId

  • getHomeDestinationId(homePlaceId: string | null): Promise<string | null>
  • Parameters

    • homePlaceId: string | null

    Returns Promise<string | null>

getPdfData

getSuitableCollectionForDestination

  • getSuitableCollectionForDestination(collectionsForDestination: Collection[]): Place[]

Generated using TypeDoc