MCPcopy
hub / github.com/all-in-aigc/aicover / respData

Function respData

lib/resp.ts:1–3  ·  view source on GitHub ↗
(data: any)

Source from the content-addressed store, hash-verified

1export function respData(data: any) {
2 return respJson(0, "ok", data || []);
3}
4
5export function respOk() {
6 return respJson(0, "ok");

Callers 4

POSTFunction · 0.90
POSTFunction · 0.90
POSTFunction · 0.90
POSTFunction · 0.90

Calls 1

respJsonFunction · 0.85

Tested by

no test coverage detected