Type Alias BatchesQuery

BatchesQuery: {
    afterEnqueuedAt?: Date;
    afterFinishedAt?: Date;
    afterStartedAt?: Date;
    batchUids?: number[];
    beforeEnqueuedAt?: Date;
    beforeFinishedAt?: Date;
    beforeStartedAt?: Date;
    canceledBy?: number[];
    from?: number;
    indexUids?: string[];
    limit?: number;
    statuses?: TaskStatus[];
    types?: TaskTypes[];
    uids?: number[];
}

Type declaration

  • OptionalafterEnqueuedAt?: Date
  • OptionalafterFinishedAt?: Date
  • OptionalafterStartedAt?: Date
  • OptionalbatchUids?: number[]
  • OptionalbeforeEnqueuedAt?: Date
  • OptionalbeforeFinishedAt?: Date
  • OptionalbeforeStartedAt?: Date
  • OptionalcanceledBy?: number[]
  • Optionalfrom?: number
  • OptionalindexUids?: string[]
  • Optionallimit?: number
  • Optionalstatuses?: TaskStatus[]
  • Optionaltypes?: TaskTypes[]
  • Optionaluids?: number[]

    The batch should contain the specified task UIDs