Parent Directory
|
Revision Log
|
Patch
revision 423 by rakin, Mon Jul 29 17:30:09 2024 UTC | revision 430 by rakin, Mon Jul 29 17:30:12 2024 UTC | |
---|---|---|
# | Line 5 export interface IQueuedJob extends Docu | Line 5 export interface IQueuedJob extends Docu |
5 | data?: { [key: string | number]: any }; | data?: { [key: string | number]: any }; |
6 | runOn: Date; | runOn: Date; |
7 | createdAt: Date; | createdAt: Date; |
8 | guild?: string; | |
9 | } | } |
10 | ||
11 | const schema = new mongoose.Schema({ | const schema = new mongoose.Schema({ |
# | Line 25 const schema = new mongoose.Schema({ | Line 26 const schema = new mongoose.Schema({ |
26 | className: { | className: { |
27 | type: String, | type: String, |
28 | required: true | required: true |
29 | } | }, |
30 | guild: String | |
31 | }); | }); |
32 | ||
33 | export default mongoose.model('QueuedJob', schema); | export default mongoose.model('QueuedJob', schema); |
|
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |