@types/hapi__glue
Advanced tools
Comparing version 6.1.6 to 6.1.7
@@ -11,20 +11,20 @@ // Type definitions for @hapi/glue 6.1 | ||
export interface Options { | ||
relativeTo: string; | ||
preConnections?: ((Server: Server, next: (err: any) => void) => void) | undefined; | ||
preRegister?: ((Server: Server, next: (err: any) => void) => void) | undefined; | ||
relativeTo: string; | ||
preConnections?: ((Server: Server, next: (err: any) => void) => void) | undefined; | ||
preRegister?: ((Server: Server, next: (err: any) => void) => void) | undefined; | ||
} | ||
export interface PluginObject { | ||
plugin: string | Plugin<any>; | ||
options?: any; | ||
routes?: any; | ||
plugin: string | Plugin<any>; | ||
options?: any; | ||
routes?: any; | ||
} | ||
export interface Manifest { | ||
server: ServerOptions; | ||
register?: { | ||
plugins: string[] | PluginObject[] | Array<(string|PluginObject)> | ||
} | undefined; | ||
server: ServerOptions; | ||
register?: { | ||
plugins: string[] | PluginObject[] | Array<(string | PluginObject)>; | ||
} | undefined; | ||
} | ||
export function compose(manifest: Manifest, options?: Options): Promise<Server>; |
{ | ||
"name": "@types/hapi__glue", | ||
"version": "6.1.6", | ||
"version": "6.1.7", | ||
"description": "TypeScript definitions for @hapi/glue", | ||
@@ -31,4 +31,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/hapi__glue", | ||
}, | ||
"typesPublisherContentHash": "4db0c93c4c6a59e3e5261e20ef712c783862c1cc3d485ce0e4d324c4235a0748", | ||
"typeScriptVersion": "4.2" | ||
"typesPublisherContentHash": "1dd6661b9e73f63d49514aa2fcf210782f15392cd1d76e548ef5900e78eaada6", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -21,18 +21,18 @@ # Installation | ||
export interface Options { | ||
relativeTo: string; | ||
preConnections?: ((Server: Server, next: (err: any) => void) => void) | undefined; | ||
preRegister?: ((Server: Server, next: (err: any) => void) => void) | undefined; | ||
relativeTo: string; | ||
preConnections?: ((Server: Server, next: (err: any) => void) => void) | undefined; | ||
preRegister?: ((Server: Server, next: (err: any) => void) => void) | undefined; | ||
} | ||
export interface PluginObject { | ||
plugin: string | Plugin<any>; | ||
options?: any; | ||
routes?: any; | ||
plugin: string | Plugin<any>; | ||
options?: any; | ||
routes?: any; | ||
} | ||
export interface Manifest { | ||
server: ServerOptions; | ||
register?: { | ||
plugins: string[] | PluginObject[] | Array<(string|PluginObject)> | ||
} | undefined; | ||
server: ServerOptions; | ||
register?: { | ||
plugins: string[] | PluginObject[] | Array<(string | PluginObject)>; | ||
} | undefined; | ||
} | ||
@@ -45,3 +45,3 @@ | ||
### Additional Details | ||
* Last updated: Wed, 21 Dec 2022 20:32:54 GMT | ||
* Last updated: Sat, 16 Sep 2023 08:06:32 GMT | ||
* Dependencies: [@types/hapi__hapi](https://npmjs.com/package/@types/hapi__hapi) | ||
@@ -48,0 +48,0 @@ * Global values: none |
4753