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

Interface IMessageDocument

api/server/models/Message.ts:25–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23});
24
25interface IMessageDocument extends mongoose.Document {
26 chatId: string;
27 createdUserId: string;
28 content: string;
29 htmlContent: string;
30 isEdited: boolean;
31 createdAt: Date;
32 lastEditedAt: Date;
33 files: [
34 {
35 fileName: string;
36 fileUrl: string;
37 addedAt: Date;
38 },
39 ];
40 parentMessageId: string;
41}
42
43interface IMessageModel extends mongoose.Model<IMessageDocument> {
44 getList({

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected