Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace ExportOps

Index

Functions

deserializeExportProfileProperties

  • Given an export with stringified old/new profile properties, this method will re-'inflate' them, ie turning date strings back to date objects. To be used in the getter, this method cannot be async.

    Parameters

    • serializedStringifiedProperties: string

    Returns ExportProfileProperties

processPendingExportsForDestination

  • processPendingExportsForDestination(destination: Destination, limit?: number): Promise<number>
  • Parameters

    Returns Promise<number>

totals

  • totals(where?: { destinationGuid?: string; profileGuid?: string }): Promise<{ all: number; completed: number; created: number; error: number; started: number }>
  • Count up the exports in each state, optionally filtered for a profile or destination

    Parameters

    • Default value where: { destinationGuid?: string; profileGuid?: string } = {}
      • Optional destinationGuid?: string
      • Optional profileGuid?: string

    Returns Promise<{ all: number; completed: number; created: number; error: number; started: number }>

Generated using TypeDoc