mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
feat: add commandHandler
This commit is contained in:
1 parent
0de4b6ac9d
commit
094332da53
7 files changed
+66
-6
No files matched your search
@@ -1,7 +1,7 @@
|
||||
import { model, Schema } from 'mongoose'
|
||||
|
||||
const stageSchema = new Schema({
|
||||
name: {
|
||||
id: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
@@ -27,6 +27,10 @@ const stageSchema = new Schema({
|
||||
type: [String],
|
||||
required: true,
|
||||
},
|
||||
next: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
})
|
||||
|
||||
const Quest = model(
|
||||
|
||||
@@ -14,6 +14,8 @@ const Session = model(
|
||||
},
|
||||
containerId: String,
|
||||
finishedAt: Date,
|
||||
progress: String,
|
||||
completion: [String],
|
||||
},
|
||||
{ timestamps: true }
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user