MCPcopy Create free account
hub / github.com/decaporg/decap-cms / responseParser

Function responseParser

packages/decap-cms-lib-util/src/backendUtil.ts:65–71  ·  view source on GitHub ↗
(options: {
  expectingOk?: boolean;
  format: string;
  apiName: string;
})

Source from the content-addressed store, hash-verified

63}
64
65export function responseParser(options: {
66 expectingOk?: boolean;
67 format: string;
68 apiName: string;
69}) {
70 return (res: Response) => parseResponse(res, options);
71}
72
73export function parseLinkHeader(header: string | null) {
74 if (!header) {

Callers 3

APIClass · 0.90
APIClass · 0.90
APIClass · 0.90

Calls 1

parseResponseFunction · 0.70

Tested by

no test coverage detected