mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 18:44:16 +00:00
extend user schema
This commit is contained in:
parent
30ec102304
commit
011f596033
@ -2,11 +2,14 @@ export default {
|
||||
refreshToken: { type: String, select: false },
|
||||
username: { type: String, required: true },
|
||||
password: { type: String, required: true, select: false },
|
||||
cover: { type: String },
|
||||
description: { type: String, },
|
||||
fullName: String,
|
||||
avatar: { type: String },
|
||||
email: String,
|
||||
roles: { type: Array, default: [] },
|
||||
verified: { type: Boolean, default: false },
|
||||
createdAt: { type: Date },
|
||||
birthday: { type: Date },
|
||||
createdAt: { type: String },
|
||||
badges: { type: Array, default: [] },
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user