import { IResponse } from "../api/IResponse" ; import { IConfiguration } from "../configuration/IConfiguration" ; export interface IRoute { /**
     * The path to use for routing.
     */ path : string ; /**
     * The http method.
     */ method : "get" | "post" | "put" | "delete" ; /**
     * Folder within the routes folder.
     */ folder ? : string ; /**
     * The name of the function to load.
     */ func ? : string ; /**
     * The body is separate data so don't merge with params.
     */ dataBody ? : boolean ; /**
     * The response is data so look for contentType, filename and data.
     */ dataResponse ? : boolean ; /**
     * Skip authentication for this path.
     */ skipAuth ? : boolean ; param config param params param body param header inline ? ( config , params , body ? , headers ? ) : Promise < IResponse > ; }