UNPKG

@citrineos/util

Version:

The OCPP util module which supplies helpful utilities like cache and queue connectors, etc.

6 lines (5 loc) 407 B
import type { SystemConfig } from '@citrineos/base'; import type { FastifyInstance, FastifyRequest } from 'fastify'; export declare const getHeaderValue: (headers: string[], key: string) => string | undefined; export declare const getAuthorizationTokenFromRequest: (request: FastifyRequest) => string; export declare function initSwagger(systemConfig: SystemConfig, server: FastifyInstance): Promise<void>;