MCPcopy Create free account
hub / github.com/Effect-TS/effect / toJSON

Method toJSON

packages/platform/node/src/NodeMultipart.ts:151–159  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

149 }
150
151 toJSON(): unknown {
152 return {
153 _id: "@effect/platform/Multipart/Part",
154 _tag: "File",
155 key: this.key,
156 name: this.name,
157 contentType: this.contentType
158 }
159 }
160}
161
162function convertError(cause: MultipartParser.MultipartError): Multipart.MultipartError {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected