updated endpoint options
This commit is contained in:
parent
88db424a1f
commit
62e77bc429
@ -22,12 +22,6 @@ export type RegistryOptions = {
|
|||||||
path: string
|
path: string
|
||||||
}
|
}
|
||||||
|
|
||||||
export type EndpointOptions = {
|
|
||||||
path: string,
|
|
||||||
name: string,
|
|
||||||
loadOrder?: number
|
|
||||||
}
|
|
||||||
|
|
||||||
type HttpOptions = {
|
type HttpOptions = {
|
||||||
port: number
|
port: number
|
||||||
} & http.ServerOptions
|
} & http.ServerOptions
|
||||||
@ -167,4 +161,9 @@ export type SessionLimit = {
|
|||||||
reset: number
|
reset: number
|
||||||
}
|
}
|
||||||
|
|
||||||
export type AuthFunction = (req: Request, res: Response, next: NextFunction) => void
|
export type EndpointOptions = {
|
||||||
|
path: string,
|
||||||
|
name: string,
|
||||||
|
auth?: MiddlewareFunction | true | null,
|
||||||
|
loadOrder?: number
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user