MCPcopy Create free account
hub / github.com/EsperoTech/yaade / getScript

Function getScript

client/src/api/index.tsx:172–173  ·  view source on GitHub ↗
(id: number)

Source from the content-addressed store, hash-verified

170 });
171
172const getScript = (id: number): Promise<Response> =>
173 fetch(BASE_PATH + `api/scripts/${id}`);
174
175const createScript = (collectionId: number, data: ScriptData): Promise<Response> =>
176 fetch(BASE_PATH + 'api/scripts', {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected