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

Interface IDiscussionDocument

api/server/models/Discussion.ts:19–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17});
18
19interface IDiscussionDocument extends mongoose.Document {
20 teamId: string;
21 discussionLeaderId: string;
22 discussionName: string;
23 discussionMemberIds: string[];
24 createdAt: Date;
25 lastUpdatedAt: Date;
26 isDiscussionArchived: boolean;
27 firstCommentId: string;
28 initialComments: any[];
29}
30
31mongoSchema.index({ _id: 1, discussionName: 1 }, { unique: true });
32mongoSchema.index({ teamId: 1, discussionName: 1 }, { unique: true });

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected