Skip to content

PURISTA API


PURISTA API / @purista/httpserver / httpServerV1ServiceBuilder

Variable: httpServerV1ServiceBuilder

const httpServerV1ServiceBuilder: ServiceBuilder<SetNewTypeValue<SetNewTypeValues<ServiceBuilderTypes, { ConfigInputType: { apiMountPath?: string; compressOptions?: any; cookieSecret?: string; corsOptions?: any; domain?: string; enableCompress?: boolean; enableCors?: boolean; enableHealthz?: boolean; enableHelmet?: boolean; fastify?: any; healthzFunction?: (...args) => Promise<void>; helmetOptions?: { enableCSPNonces?: boolean; global?: boolean; }; host?: string; logLevel?: "info" | "error" | "warn" | "debug" | "trace" | "fatal"; openApi?: { components?: any; enabled?: boolean; externalDocs?: { description?: string; url: string; }; info: { contact?: { email?: ... | ...; name?: ... | ...; url?: ... | ...; }; description?: string; license?: { name: string; url?: ... | ...; }; termsOfService?: string; title?: string; version?: string; }; path?: string; paths?: Record<string, Record<string, any>>; security?: any[]; servers?: object[]; tags?: object[]; }; port?: number; traceHeaderField?: string; uploadDir?: string; }; ConfigType: { apiMountPath: string; compressOptions?: any; cookieSecret?: string; corsOptions?: any; domain: string; enableCompress: boolean; enableCors: boolean; enableHealthz: boolean; enableHelmet: boolean; fastify?: any; healthzFunction?: (...args) => Promise<void>; helmetOptions?: { enableCSPNonces?: boolean; global?: boolean; }; host: string; logLevel: "info" | "error" | "warn" | "debug" | "trace" | "fatal"; openApi?: { components?: any; enabled: boolean; externalDocs?: { description?: string; url: string; }; info: { contact?: { email?: ... | ...; name?: ... | ...; url?: ... | ...; }; description: string; license?: { name: string; url?: ... | ...; }; termsOfService?: string; title: string; version: string; }; path: string; paths?: Record<string, Record<string, any>>; security?: any[]; servers?: object[]; tags?: object[]; }; port: number; traceHeaderField: string; uploadDir?: string; }; ServiceClassType: Service<ServiceClassTypes<{ apiMountPath: string; compressOptions?: any; cookieSecret?: string; corsOptions?: any; domain: string; enableCompress: boolean; enableCors: boolean; enableHealthz: boolean; enableHelmet: boolean; fastify?: any; healthzFunction?: (...args) => Promise<void>; helmetOptions?: { enableCSPNonces?: boolean; global?: boolean; }; host: string; logLevel: "info" | "error" | "warn" | "debug" | "trace" | "fatal"; openApi?: { components?: any; enabled: boolean; externalDocs?: { description?: ...; url: ...; }; info: { contact?: ... | ...; description: string; license?: ... | ...; termsOfService?: ... | ...; title: string; version: string; }; path: string; paths?: Record<..., ...>; security?: ...[]; servers?: ...[]; tags?: ...[]; }; port: number; traceHeaderField: string; uploadDir?: string; }, EmptyObject>>; }>, "ServiceClassType", HttpServerClass<{ apiMountPath: string; compressOptions?: any; cookieSecret?: string; corsOptions?: any; domain: string; enableCompress: boolean; enableCors: boolean; enableHealthz: boolean; enableHelmet: boolean; fastify?: any; healthzFunction?: (...args) => Promise<void>; helmetOptions?: { enableCSPNonces?: boolean; global?: boolean; }; host: string; logLevel: "info" | "error" | "warn" | "debug" | "trace" | "fatal"; openApi?: { components?: any; enabled: boolean; externalDocs?: { description?: string; url: string; }; info: { contact?: { email?: string; name?: string; url?: string; }; description: string; license?: { name: string; url?: string; }; termsOfService?: string; title: string; version: string; }; path: string; paths?: Record<string, Record<string, any>>; security?: any[]; servers?: object[]; tags?: object[]; }; port: number; traceHeaderField: string; uploadDir?: string; }>>>

Defined in: packages/httpserver/src/service/httpServer/v1/httpServerV1ServiceBuilder.ts:15