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

Method createOrUpdate

api/server/models/Chat.ts:36–36  ·  view source on GitHub ↗
({
    chatParticipantIds,
    userId,
    teamId,
    id,
    content,
  }: {
    chatParticipantIds: string[];
    userId: string;
    teamId: string;
    id: string;
    content: string;
  })

Source from the content-addressed store, hash-verified

34 getChatList({ userId, teamId }: { userId: string; teamId: string }): Promise<IChatDocument[]>;
35
36 createOrUpdate({
37 chatParticipantIds,
38 userId,
39 teamId,

Callers 1

team-member.tsFile · 0.65

Implementers 1

ChatClassapi/server/models/Chat.ts

Calls

no outgoing calls

Tested by

no test coverage detected