@sustain/core
Version:
Sustain is a Framework that is barely used despedcies to make stable and sustainable apps
19 lines (18 loc) • 587 B
TypeScript
/**
* Create the http requests object to map it with the server instance
* @param metadatas
* @param payload
*/
export declare function buildHttpRequests(metadatas: any, payload: any): any;
/**
* Grap metadatas from the controller functions
* @param payload
* @param object of metadata
*/
export declare function prepareMetadata(payload: any): any;
/**
* Prepare controllers, it functions with they metadata
* @param controllers
* @return a list of methods {GET, POST, ...} and they routes
*/
export declare function loadControllers(controllers: any): any;