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

Contents of /trunk/src/models/Timeout.ts

Parent Directory Parent Directory | Revision Log Revision Log


Revision 344 - (show annotations)
Mon Jul 29 17:29:40 2024 UTC (8 months, 1 week ago) by rakin
File MIME type: application/typescript
File size: 512 byte(s)
chore: eslint autofix
1 import { Schema, model } from 'mongoose';
2
3 const schema = new Schema({
4 time: {
5 type: String,
6 required: true
7 },
8 filePath: {
9 type: String,
10 required: true
11 },
12 params: {
13 type: String,
14 required: true
15 },
16 guild_id: {
17 type: String,
18 required: true
19 },
20 cmd: {
21 type: String,
22 required: true,
23 },
24 createdAt: {
25 type: Date,
26 required: true
27 }
28 });
29
30 export default model('Timeout', schema);

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26