2015-06-02 23:57:57 +00:00
|
|
|
{
|
2015-06-03 23:48:17 +00:00
|
|
|
"name": "user",
|
|
|
|
"base": "User",
|
2015-06-02 23:57:57 +00:00
|
|
|
"trackChanges": false,
|
|
|
|
"idInjection": true,
|
|
|
|
"properties": {
|
|
|
|
"email": {
|
|
|
|
"type": "string",
|
|
|
|
"lowercase": true,
|
|
|
|
"trim": true,
|
|
|
|
"sparse": true
|
|
|
|
},
|
|
|
|
"password": "string",
|
|
|
|
"facebook": "string",
|
|
|
|
"twitter": "string",
|
|
|
|
"google": "string",
|
|
|
|
"github": "string",
|
|
|
|
"linkedin": "string",
|
|
|
|
"tokens": "array",
|
|
|
|
"progressTimestamps": {
|
|
|
|
"type": "array",
|
|
|
|
"default": []
|
|
|
|
},
|
|
|
|
"profile": {
|
|
|
|
"username": {
|
|
|
|
"type": "string",
|
|
|
|
"sparse": true,
|
|
|
|
"lowercase": 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": {
|
|
|
|
"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",
|
|
|
|
"sentSlackInvite": false,
|
|
|
|
"resetPasswordExpires": "string",
|
|
|
|
"uncompletedBonfires": "array",
|
|
|
|
"completedBonfires": [{
|
|
|
|
"_id": "string",
|
|
|
|
"name": "string",
|
|
|
|
"completedWith": "string",
|
|
|
|
"completedDate": "string",
|
|
|
|
"solution": "string"
|
|
|
|
}],
|
|
|
|
"uncompletedCoursewares": "array",
|
|
|
|
"completedCoursewares": [{
|
|
|
|
"completedDate": {
|
|
|
|
"type": "string",
|
|
|
|
"defaultFn": "now"
|
|
|
|
},
|
|
|
|
"_id": "string",
|
|
|
|
"name": "string",
|
|
|
|
"completedWith": "string",
|
|
|
|
"solution": "string",
|
|
|
|
"githubLink": "string",
|
|
|
|
"verified": "boolean"
|
|
|
|
}],
|
|
|
|
"completedFieldGuides": [],
|
|
|
|
"uncompletedFieldGuides": [],
|
|
|
|
"currentStreak": {
|
|
|
|
"type": "number",
|
|
|
|
"default": 0
|
|
|
|
},
|
|
|
|
"longestStreak": {
|
|
|
|
"type": "number",
|
|
|
|
"default": 0
|
|
|
|
},
|
|
|
|
"needsSomeDataModeled": { "type": "boolean", "default": false},
|
|
|
|
|
|
|
|
"needsMigration": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true
|
|
|
|
},
|
|
|
|
"sendMonthlyEmail": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true
|
|
|
|
},
|
|
|
|
"challengesHash": {},
|
|
|
|
"currentChallenge": {},
|
|
|
|
"completedChallenges": [{
|
|
|
|
"completedDate": "number",
|
|
|
|
"_id": "string",
|
|
|
|
"name": "string",
|
|
|
|
"completedWith": "string",
|
|
|
|
"solution": "string",
|
|
|
|
"githubLink": "string",
|
|
|
|
"verified": "boolean",
|
|
|
|
"challengeType": {
|
|
|
|
"type": "number",
|
|
|
|
"default": 0
|
|
|
|
}
|
|
|
|
}],
|
|
|
|
"uncompletedChallenges": "array"
|
|
|
|
},
|
|
|
|
"validations": [],
|
|
|
|
"relations": {},
|
|
|
|
"acls": [],
|
|
|
|
"methods": []
|
|
|
|
}
|