agenda-admin
Version:
A dashboard for agenda.js
15 lines (14 loc) • 423 B
TypeScript
import { StatusType } from '../types';
export declare const buildJobQuery: ({ name, property, value, status, sortBy, sortType, }: {
name: string | null;
property: string | null;
value: string | null;
status: StatusType | null;
sortBy: 'lastRunAt' | 'nextRunAt';
sortType: 'desc' | 'asc';
}) => {
query: any;
statusFilter: any;
sortBy: "lastRunAt" | "nextRunAt";
sortType: number;
};