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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 421 by rakin, Mon Jul 29 17:30:09 2024 UTC revision 423 by rakin, Mon Jul 29 17:30:09 2024 UTC
# Line 3  import mongoose, { Document } from "mong Line 3  import mongoose, { Document } from "mong
3  export interface IQueuedJob extends Document {  export interface IQueuedJob extends Document {
4      uuid: string;      uuid: string;
5      data?: { [key: string | number]: any };      data?: { [key: string | number]: any };
6      runOn: number;      runOn: Date;
7      createdAt: Date;      createdAt: Date;
8  }  }
9    
# Line 15  const schema = new mongoose.Schema({ Line 15  const schema = new mongoose.Schema({
15      },      },
16      data: mongoose.Schema.Types.Mixed,      data: mongoose.Schema.Types.Mixed,
17      runOn: {      runOn: {
18          type: Number,          type: Date,
19          required: true          required: true
20      },      },
21      createdAt: {      createdAt: {

Legend:
Removed from v.421  
changed lines
  Added in v.423

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26