update docker compose and add typedef for user
Compare changes
Files
4+ 35
− 5
@@ -22,10 +22,15 @@ const rolesSchema = mongoose.Schema(
@@ -22,10 +22,15 @@ const rolesSchema = mongoose.Schema(
@@ -126,7 +131,32 @@ userSchema.pre('save', async function (next) {
@@ -126,7 +131,32 @@ userSchema.pre('save', async function (next) {