Type alias BasicContext<C, B, Q, P, D>

BasicContext<C, B, Q, P, D>: {
    afters: Middleware<AfterContext<C, B, Q, P, D>>[];
    befores: Middleware<BeforeContext<C, B, Q, P, D>>[];
    errors: Middleware<ErrorContext<C, B, Q, P, D>>[];
    finals: Middleware<FinalContext<C, B, Q, P, D>>[];
    log: boolean;
    message: string;
    normal: boolean;
} & C & UniApp.RequestOptions

Type Parameters

  • C = Record<any, any>

  • B = Record<any, any>

  • Q = Record<any, any>

  • P = Record<any, any>

  • D = any

Type declaration

  • afters: Middleware<AfterContext<C, B, Q, P, D>>[]
  • befores: Middleware<BeforeContext<C, B, Q, P, D>>[]
  • errors: Middleware<ErrorContext<C, B, Q, P, D>>[]
  • finals: Middleware<FinalContext<C, B, Q, P, D>>[]
  • log: boolean
  • message: string
  • normal: boolean

Generated using TypeDoc