UNPKG

agenda-admin

Version:
14 lines (13 loc) 450 B
import { NextFunction, Request, Response } from 'express'; import { StatusType } from '../types'; interface ReqQuery { sortBy: 'lastRunAt' | 'nextRunAt'; sortType: 'desc' | 'asc'; page: number; status: StatusType | null; name: string | null; property: string | null; value: any | null; } export declare const getJobs: (req: Request<any, any, any, ReqQuery>, res: Response, next: NextFunction) => Promise<void>; export {};