This repository has been archived on 2020-08-13. You can view files and clone it, but cannot push or open issues or pull requests.
requestor/lib/CrudHandler.ts
2020-05-02 21:48:22 +02:00

9 lines
293 B
TypeScript

import { Request, Response } from 'express';
export interface CrudHandler {
create(req: Request, res: Response): Promise<void>;
read(req: Request, res: Response): Promise<void>;
update(req: Request, res: Response): Promise<void>;
delete(req: Request, res: Response): Promise<void>;
}