/[sudobot]/trunk/src/models/Ballot.ts
ViewVC logotype

Diff of /trunk/src/models/Ballot.ts

Parent Directory Parent Directory | Revision Log Revision Log | View Patch 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,

Legend:
Removed from v.328  
changed lines
  Added in v.331

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26