mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-05 19:20:12 +08:00
feat: default response to dialogue and spoken by Ada
This commit is contained in:
1 parent
21ca083628
commit
2e1fe369a4
1 file changed
+3
-1
@@ -3,10 +3,12 @@ import { model, Schema } from 'mongoose'
|
||||
const responseSchema = new Schema({
|
||||
type: {
|
||||
type: String,
|
||||
enum: ['narrative', 'dialogue'],
|
||||
default: 'dialogue',
|
||||
required: true,
|
||||
},
|
||||
content: [String],
|
||||
speaker: String,
|
||||
speaker: { type: String, default: 'Ada' },
|
||||
color: String,
|
||||
})
|
||||
|
||||
|
||||
Reference in new issue
Block a user