Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "lib/middlewares"

Index

Functions

Const authCheck

  • authCheck(request: Request<ParamsDictionary, any, any, ParsedQs>, response: Response<any>, next: NextFunction): Promise<void>
  • Parameters

    • request: Request<ParamsDictionary, any, any, ParsedQs>
    • response: Response<any>
    • next: NextFunction

    Returns Promise<void>

Const deviceCheck

  • deviceCheck(request: Request<ParamsDictionary, any, any, ParsedQs>, response: Response<any>, next: NextFunction): Promise<void>
  • Middleware that checks for existing devices Needs the asyncMiddlewareWrapper to work

    Parameters

    • request: Request<ParamsDictionary, any, any, ParsedQs>
    • response: Response<any>
    • next: NextFunction

    Returns Promise<void>

Const projectCheck

  • projectCheck(request: Request<ParamsDictionary, any, any, ParsedQs>, response: Response<any>, next: NextFunction): Promise<void>
  • Parameters

    • request: Request<ParamsDictionary, any, any, ParsedQs>
    • response: Response<any>
    • next: NextFunction

    Returns Promise<void>

Const recordCheck

  • recordCheck(request: Request<ParamsDictionary, any, any, ParsedQs>, response: Response<any>, next: NextFunction): Promise<void>
  • Middleware that checks for existing records Needs the asyncMiddlewareWrapper to work

    Parameters

    • request: Request<ParamsDictionary, any, any, ParsedQs>
    • response: Response<any>
    • next: NextFunction

    Returns Promise<void>

Generated using TypeDoc