feat: add commandHandler

This commit is contained in:
wancat committed 2023-08-08 20:38:27 +08:00
1 parent 0de4b6ac9d
commit 094332da53
7 files changed
+66 -6

No files matched your search

+5 -1
View File
@@ -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(
+2
View File
@@ -14,6 +14,8 @@ const Session = model(
},
containerId: String,
finishedAt: Date,
progress: String,
completion: [String],
},
{ timestamps: true }
)