Flatten user object
This commit is contained in:
@ -21,91 +21,87 @@
|
|||||||
"type": "array",
|
"type": "array",
|
||||||
"default": []
|
"default": []
|
||||||
},
|
},
|
||||||
"profile": {
|
"username": {
|
||||||
"username": {
|
"type": "string",
|
||||||
"type": "string",
|
"sparse": true,
|
||||||
"sparse": true,
|
"lowercase": true,
|
||||||
"lowercase": true,
|
"trim": true
|
||||||
"trim": true
|
|
||||||
},
|
|
||||||
"bio": {
|
|
||||||
"type": "string",
|
|
||||||
"default": ""
|
|
||||||
},
|
|
||||||
"name": {
|
|
||||||
"type": "string",
|
|
||||||
"default": ""
|
|
||||||
},
|
|
||||||
"gender": {
|
|
||||||
"type": "string",
|
|
||||||
"default": ""
|
|
||||||
},
|
|
||||||
"location": {
|
|
||||||
"type": "string",
|
|
||||||
"default": ""
|
|
||||||
},
|
|
||||||
"picture": {
|
|
||||||
"type": "string",
|
|
||||||
"default": ""
|
|
||||||
},
|
|
||||||
"linkedinProfile": {
|
|
||||||
"type": "string",
|
|
||||||
"default": ""
|
|
||||||
},
|
|
||||||
"githubProfile": {
|
|
||||||
"type": "string",
|
|
||||||
"default": ""
|
|
||||||
},
|
|
||||||
"codepenProfile": {
|
|
||||||
"type": "string",
|
|
||||||
"default": ""
|
|
||||||
},
|
|
||||||
"twitterHandle": {
|
|
||||||
"type": "string",
|
|
||||||
"default": ""
|
|
||||||
},
|
|
||||||
"facebookProfile": {
|
|
||||||
"type": "string",
|
|
||||||
"default": ""
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"portfolio": {
|
"bio": {
|
||||||
"website1Link": {
|
"type": "string",
|
||||||
"type": "string",
|
"default": ""
|
||||||
"default": ""
|
},
|
||||||
},
|
"name": {
|
||||||
"website1Title": {
|
"type": "string",
|
||||||
"type": "string",
|
"default": ""
|
||||||
"default": ""
|
},
|
||||||
},
|
"gender": {
|
||||||
"website1Image": {
|
"type": "string",
|
||||||
"type": "string",
|
"default": ""
|
||||||
"default": ""
|
},
|
||||||
},
|
"location": {
|
||||||
"website2Link": {
|
"type": "string",
|
||||||
"type": "string",
|
"default": ""
|
||||||
"default": ""
|
},
|
||||||
},
|
"picture": {
|
||||||
"website2Title": {
|
"type": "string",
|
||||||
"type": "string",
|
"default": ""
|
||||||
"default": ""
|
},
|
||||||
},
|
"linkedinProfile": {
|
||||||
"website2Image": {
|
"type": "string",
|
||||||
"type": "string",
|
"default": ""
|
||||||
"default": ""
|
},
|
||||||
},
|
"githubProfile": {
|
||||||
"website3Link": {
|
"type": "string",
|
||||||
"type": "string",
|
"default": ""
|
||||||
"default": ""
|
},
|
||||||
},
|
"codepenProfile": {
|
||||||
"website3Title": {
|
"type": "string",
|
||||||
"type": "string",
|
"default": ""
|
||||||
"default": ""
|
},
|
||||||
},
|
"twitterHandle": {
|
||||||
"website3Image": {
|
"type": "string",
|
||||||
"type": "string",
|
"default": ""
|
||||||
"default": ""
|
},
|
||||||
}
|
"facebookProfile": {
|
||||||
|
"type": "string",
|
||||||
|
"default": ""
|
||||||
|
},
|
||||||
|
"website1Link": {
|
||||||
|
"type": "string",
|
||||||
|
"default": ""
|
||||||
|
},
|
||||||
|
"website1Title": {
|
||||||
|
"type": "string",
|
||||||
|
"default": ""
|
||||||
|
},
|
||||||
|
"website1Image": {
|
||||||
|
"type": "string",
|
||||||
|
"default": ""
|
||||||
|
},
|
||||||
|
"website2Link": {
|
||||||
|
"type": "string",
|
||||||
|
"default": ""
|
||||||
|
},
|
||||||
|
"website2Title": {
|
||||||
|
"type": "string",
|
||||||
|
"default": ""
|
||||||
|
},
|
||||||
|
"website2Image": {
|
||||||
|
"type": "string",
|
||||||
|
"default": ""
|
||||||
|
},
|
||||||
|
"website3Link": {
|
||||||
|
"type": "string",
|
||||||
|
"default": ""
|
||||||
|
},
|
||||||
|
"website3Title": {
|
||||||
|
"type": "string",
|
||||||
|
"default": ""
|
||||||
|
},
|
||||||
|
"website3Image": {
|
||||||
|
"type": "string",
|
||||||
|
"default": ""
|
||||||
},
|
},
|
||||||
"resetPasswordToken": "string",
|
"resetPasswordToken": "string",
|
||||||
"sentSlackInvite": false,
|
"sentSlackInvite": false,
|
||||||
|
Reference in New Issue
Block a user