import { type ApiEndpoint } from "https://deno.land/x/netzo@0.4.40/plugins/api/plugin.ts";
definition: { name: string; idField?: string; resource: Resource; hooks?: { all?: Middleware[]; find?: Middleware[]; get?: Middleware[]; create?: Middleware[]; update?: Middleware[]; patch?: Middleware[]; remove?: Middleware[]; }; }