CoolFace
Apppublic

strong-tie/inbound-calls

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
context.d.ts23 linesDownload Raw Back to types
1import { FastifyRouteConfig } from './route'2import { ContextConfigDefault } from './utils'3 4export interface FastifyContextConfig {5}6 7/**8 * Route context object. Properties defined here will be available in the route's handler9 */10export interface FastifyRequestContext<ContextConfig = ContextConfigDefault> {11  /**12   * @deprecated Use Request#routeOptions#config or Request#routeOptions#schema instead13   */14  config: FastifyContextConfig & FastifyRouteConfig & ContextConfig;15}16 17export interface FastifyReplyContext<ContextConfig = ContextConfigDefault> {18  /**19   * @deprecated Use Reply#routeOptions#config or Reply#routeOptions#schema instead20   */21  config: FastifyContextConfig & FastifyRouteConfig & ContextConfig;22}23