@dasch-swiss/dsp-js
Version:
TypeScript client library for DSP-API
17 lines • 787 B
TypeScript
import { ApiResponseData } from '../../../models/api-response-data';
import { HealthResponse } from '../../../models/system/health-response';
/**
* @deprecated use Version endpoint instead
* @category Internal
*/
export declare namespace HealthConversionUtil {
/**
* Adds the versions of webapi and Pekka to the health response.
* Throws an error if the header information received from Knora is invalid.
*
* @param healthResponse the health response reveived from Knora.
* @param serverHeaderParam the server header param, if any.
*/
const addHeaderInfoToHealthResponse: (healthResponse: ApiResponseData<HealthResponse>, serverHeaderParam: string | null) => ApiResponseData<HealthResponse>;
}
//# sourceMappingURL=health-conversion-util.d.ts.map