Skip to content

PURISTA API


PURISTA API / @purista/httpserver / serviceCommandsToRestApiSubscriptionBuilder

Variable: serviceCommandsToRestApiSubscriptionBuilder

const serviceCommandsToRestApiSubscriptionBuilder: SubscriptionDefinitionBuilder<HttpServerClass<{ apiMountPath: string; compressOptions?: any; cookieSecret?: string; corsOptions?: any; domain: string; enableCompress: boolean; enableCors: boolean; enableHealthz: boolean; enableHelmet: boolean; fastify: any; healthzFunction?: $InferOuterFunctionType<ZodTuple<readonly [ZodAny, ZodAny], null>, ZodPromise<ZodVoid>>; helmetOptions?: { enableCSPNonces?: boolean; global?: boolean; }; host: string; logLevel: "error" | "info" | "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; }>, SubscriptionDefinitionBuilderTypes<any, any, any, any, any, any, EmptyObject, InvokeList, StreamInvokeList, Record<string, Schema>, QueueInvokeList>>

Defined in: httpserver/src/service/httpServer/v1/subscription/serviceCommandsToRestApi/serviceCommandsToRestApiSubscriptionBuilder.ts:36