UNPKG

alapa

Version:

A cutting-edge web development framework designed to revolutionize the way developers build modern web applications.

13 lines (12 loc) 580 B
import { ResourcefulOptions } from "../../interface/resourceful"; import { IRouter } from "../../interface/router"; import "reflect-metadata"; /** * Creates resourceful routes for a given controller. * * @param path - The base path for the resource. * @param controllerClass - The controller class to handle requests. * @param route - The router instance to attach the routes to. * @param options - Options for configuring the routes. */ export declare const makeResourcefulRoute: (path: string, controllerClass: any, route: IRouter, options?: ResourcefulOptions) => void;