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

9 lines
293 B
TypeScript
Raw Normal View History

2020-04-17 11:27:56 +02:00
import { Request, Response } from 'express';
2020-04-16 09:44:43 +02:00
export interface CrudHandler {
2020-05-02 21:48:22 +02:00
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>;
2020-04-16 09:44:43 +02:00
}