Constructors

Properties

canHaveOperations: ((activity) => boolean) = canHaveOperations

Type declaration

    • (activity): boolean
    • can the activity have operations

      Parameters

      Returns boolean

check: ((activity) => void) = check

Type declaration

    • (activity): void
    • perform multiple integrity checks and throw an Error if not fullfilled

      Parameters

      Returns void

generateId: ((activity, routeId, index) => string) = generateId

Type declaration

    • (activity, routeId, index): string
    • generate activity id

      Parameters

      • activity: ARActivity
      • routeId: string
      • index: number

        //usable within a map function (for example) to differenciate id for activity with same sites

      Returns string

getEndDate: ((activity) => Date) = getEndDate

Type declaration

    • (activity): Date
    • return activity end Date

      Parameters

      Returns Date

getOperations: ((activity, arState) => AROperation[]) = getOperations

Type declaration

getRouteId: ((activityId) => undefined | string) = getRouteId

Type declaration

    • (activityId): undefined | string
    • get routeId from activity

      Parameters

      • activityId: string

      Returns undefined | string

getStartDate: ((activity) => Date) = getStartDate

Type declaration

    • (activity): Date
    • return activity start Date

      Parameters

      Returns Date

Generated using TypeDoc