UNPKG

express-post-task-scheduler

Version:

A lightweight npm package to create and manage scheduled tasks using Express middleware. Configure tasks via POST requests and execute them at specified times seamlessly.

7 lines (6 loc) 263 B
import { IDataValidatorReturnType } from "../@types"; /** * To validate the request body's data is array and all the ids are unique * @param data The data array of the request body */ export declare function dataValidator(data: any): IDataValidatorReturnType;