mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
Fix whitespace and formatting in User model schema
This commit is contained in:
parent
d990430449
commit
0bc7675f9d
@ -4,66 +4,65 @@ export default {
|
||||
schema: {
|
||||
username: {
|
||||
type: String,
|
||||
required: true
|
||||
required: true,
|
||||
},
|
||||
password: {
|
||||
type: String,
|
||||
required: true,
|
||||
select: false
|
||||
select: false,
|
||||
},
|
||||
email: {
|
||||
type: String,
|
||||
required: true,
|
||||
select: false
|
||||
select: false,
|
||||
},
|
||||
description: {
|
||||
type: String,
|
||||
default: null
|
||||
default: null,
|
||||
},
|
||||
created_at: {
|
||||
type: String
|
||||
type: String,
|
||||
},
|
||||
public_name: {
|
||||
type: String,
|
||||
default: null
|
||||
default: null,
|
||||
},
|
||||
cover: {
|
||||
type: String,
|
||||
default: null
|
||||
default: null,
|
||||
},
|
||||
avatar: {
|
||||
type:
|
||||
String,
|
||||
default: null
|
||||
type: String,
|
||||
default: null,
|
||||
},
|
||||
roles: {
|
||||
type: Array,
|
||||
default: []
|
||||
default: [],
|
||||
},
|
||||
verified: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
default: false,
|
||||
},
|
||||
badges: {
|
||||
type: Array,
|
||||
default: []
|
||||
default: [],
|
||||
},
|
||||
links: {
|
||||
type: Array,
|
||||
default: []
|
||||
default: [],
|
||||
},
|
||||
location: {
|
||||
type: String,
|
||||
default: null
|
||||
default: null,
|
||||
},
|
||||
birthday: {
|
||||
type: Date,
|
||||
default: null,
|
||||
select: false
|
||||
select: false,
|
||||
},
|
||||
accept_tos: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
default: false,
|
||||
},
|
||||
activated: {
|
||||
type: Boolean,
|
||||
@ -71,7 +70,7 @@ export default {
|
||||
},
|
||||
disabled: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
default: false,
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user