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

Method getChatList

api/server/models/Chat.ts:34–34  ·  view source on GitHub ↗
({ userId, teamId }: { userId: string; teamId: string })

Source from the content-addressed store, hash-verified

32
33interface IChatModel extends mongoose.Model<IChatDocument> {
34 getChatList({ userId, teamId }: { userId: string; teamId: string }): Promise<IChatDocument[]>;
35
36 createOrUpdate({
37 chatParticipantIds,

Callers 2

loadChatsDataFunction · 0.65
team-member.tsFile · 0.65

Implementers 1

ChatClassapi/server/models/Chat.ts

Calls

no outgoing calls

Tested by

no test coverage detected