MCPcopy Create free account
hub / github.com/ShipSecAI/studio / uploadFile

Method uploadFile

packages/component-sdk/src/interfaces.ts:42–42  ·  view source on GitHub ↗

* Upload a file * @param fileId Unique identifier for the file (UUID) * @param fileName Original name of the file * @param buffer File content * @param mimeType MIME type of the file

(
    fileId: string,
    fileName: string,
    buffer: Buffer,
    mimeType: string,
  )

Source from the content-addressed store, hash-verified

40 * @param mimeType MIME type of the file
41 */
42 uploadFile(
43 fileId: string,
44 fileName: string,
45 buffer: Buffer,

Callers 9

api.tsFile · 0.65
archiveWithContextMethod · 0.65
uploadFileMethod · 0.65
uploadFileMethod · 0.65
runActionFunction · 0.65
runComponentActivityFunction · 0.65
processAndSendMethod · 0.65

Implementers 3

FileStorageAdapterworker/src/adapters/file-storage.adapt
ShipSecApiClientpackages/backend-client/src/api-client
StorageServicebackend/src/storage/storage.service.ts

Calls

no outgoing calls

Tested by

no test coverage detected