agenda-admin
Version:
A dashboard for agenda.js
11 lines (10 loc) • 330 B
TypeScript
import { Document } from 'mongodb';
import { StatusType } from '../types';
export declare const buildGetJobsQuery: (requestQuery: {
name: string | null;
property: string | null;
value: string | null;
status: StatusType | null;
sortBy: 'lastRunAt' | 'nextRunAt';
sortType: 'desc' | 'asc';
}) => Document[];