UNPKG

@forklaunch/universal-sdk

Version:

Cross runtime fetch library for forklaunch router sdks

12 lines 573 B
import { OpenAPIObject } from 'openapi3-ts/oas31'; import { RegistryOptions, SdkPathMap } from '../types/sdk.types'; export declare function getSdkPathMap(registryOpenApiJson: Record<string, OpenAPIObject>): SdkPathMap; export declare function refreshOpenApi(host: string, registryOptions: RegistryOptions, existingRegistryOpenApiHash?: string): Promise<{ updateRequired: true; registryOpenApiJson: Record<string, OpenAPIObject>; registryOpenApiHash: string; sdkPathMap: SdkPathMap; } | { updateRequired: false; }>; //# sourceMappingURL=openApi.d.ts.map