import { RequestStartMiddleware } from '../../filter' ; import { Response } from '../../types' ; /**
 * initializes dino property on express response.locals for every request start.
 * must be registered as first builtin RequestStart middleware
 */ export class DinoStartMiddleware extends RequestStartMiddleware { invoke ( req , res , next ) { res . locals . dino = { } ; next ( ) ; } }