MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / artifactToResponse

Function artifactToResponse

packages/core/api/src/handlers/artifacts.ts:31–35  ·  view source on GitHub ↗
(a: Artifact)

Source from the content-addressed store, hash-verified

29});
30
31const artifactToResponse = (a: Artifact) => ({
32 ...summaryToResponse(a),
33 code: a.code,
34 bindings: a.bindings,
35});
36
37export const ArtifactsHandlers = HttpApiBuilder.group(ExecutorApi, "artifacts", (handlers) =>
38 handlers

Callers 1

artifacts.tsFile · 0.85

Calls 1

summaryToResponseFunction · 0.85

Tested by

no test coverage detected