import { Request } from 'express'; import { InternalIdentity } from '../../Contracts/InternalDataModels/Identity'; /** * Extends the base HttpRequest object to include a users identity. */ export interface IHttpRequestWithIdentity extends Request { /** * Contains the requesting users identity. */ identity: InternalIdentity; }