Define routes, controllers of sessions

Work in progress, debugging
This commit is contained in:
wancat committed 2023-07-19 16:42:09 +08:00
1 parent 50443b96e0
commit 04edfdd0dc
13 files changed
+1835 -60

No files matched your search

+11 -6
View File
@@ -1,10 +1,15 @@
import { model } from 'mongoose'
import { Schema } from 'yaml'
export default model(
const Quest = model(
'Quest',
{
name: String,
description: String,
},
{ timestamp: true }
new Schema(
{
name: String,
description: String,
},
{ timestamp: true }
)
)
export default Quest