MCPcopy Create free account
hub / github.com/async-labs/async / addFile

Method addFile

api/server/models/Message.ts:124–124  ·  view source on GitHub ↗
({
    userId,
    messageId,
    fileName,
    fileUrl,
  }: {
    userId: string;
    messageId: string;
    fileName: string;
    fileUrl: string;
  })

Source from the content-addressed store, hash-verified

122 }): Promise<void>;
123
124 addFile({
125 userId,
126 messageId,
127 fileName,

Callers

nothing calls this directly

Implementers 1

MessageClassapi/server/models/Message.ts

Calls

no outgoing calls

Tested by

no test coverage detected