Parent Directory
|
Revision Log
|
Patch
revision 328 by rakin, Mon Jul 29 17:29:34 2024 UTC | revision 331 by rakin, Mon Jul 29 17:29:35 2024 UTC | |
---|---|---|
# | Line 1 | Line 1 |
1 | import { Schema, model, Document } from 'mongoose'; | import { Schema, model, Document } from 'mongoose'; |
2 | ||
export interface IBallot extends Document { | ||
user: string; | ||
reason?: string; | ||
mentions: Array<object>; | ||
guild_id: string; | ||
createdAt: Date; | ||
} | ||
3 | const schema = new Schema({ | const schema = new Schema({ |
4 | content: { | content: { |
5 | type: String, | type: String, |
|
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |