UNPKG

@usebruno/converters

Version:

The converters package is responsible for converting collections from one format to a Bruno collection. It can be used as a standalone package or as a part of the Bruno framework.

5 lines 509 B
import type { HttpRequestBody, GraphQLBody, BrunoHttpRequestBody } from '../types'; export declare const fromOpenCollectionBody: (body: HttpRequestBody | GraphQLBody | undefined, requestType?: string) => BrunoHttpRequestBody; export declare const toOpenCollectionBody: (body: BrunoHttpRequestBody | null | undefined) => HttpRequestBody | undefined; export declare const toOpenCollectionGraphqlBody: (body: BrunoHttpRequestBody | null | undefined) => GraphQLBody | undefined; //# sourceMappingURL=body.d.ts.map