UNPKG

@curvenote/cli

Version:
19 lines 710 B
import type { Logger } from 'myst-cli-utils'; import type { JsonObject } from '@curvenote/blocks'; import type { Response as FetchResponse } from 'node-fetch'; /** * This requires the body to be decoded as json and so is called later in the response handling chain * * @param log * @param response * @param body */ export declare function checkForCurvenoteAPIClientVersionRejection(log: Logger, response: FetchResponse, body: JsonObject): void; /** * This should be called immedately after the fetch * * @param log * @param response */ export declare function checkForPlatformAPIClientVersionRejection(log: Logger, response: FetchResponse): void; //# sourceMappingURL=checkVersionRejections.d.ts.map