You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

22 lines
1.1 KiB

// Generated by dts-bundle v0.7.3
declare module '@noderun/hapi-router' {
class routePlugin {
name: string;
version: string;
register(server: any, options: any): void;
}
const plugin: routePlugin;
export { plugin };
export * from "@noderun/hapi-router/util/decorators";
}
declare module '@noderun/hapi-router/util/decorators' {
export function method(opts?: string | Array<string>): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => void;
export function route(route?: string): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => void;
export function config(options: Object): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => void;
export function auth(isAuth?: boolean): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => void;
export function validate(validate: Object): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => void;
export function swagger(desc: any, notes: any, tags: any): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => void;
}