feat(Message): add and handle isEdited property when edited/continued as this can include user input

This commit is contained in:
Daniel Avila 2023-09-07 06:37:04 -04:00 committed by Danny Avila
parent cc260105ec
commit 327a69dba3
11 changed files with 17 additions and 41 deletions

View file

@ -55,6 +55,10 @@ const messageSchema = mongoose.Schema(
required: true,
default: false,
},
isEdited: {
type: Boolean,
default: false,
},
unfinished: {
type: Boolean,
default: false,