freeCodeCamp/common/models/story.json

70 lines
1.2 KiB
JSON
Raw Normal View History

{
2015-06-03 23:48:17 +00:00
"name": "story",
"base": "PersistedModel",
"trackChanges": false,
"idInjection": true,
"properties": {
"name": {
"type": "string",
"unique": true
},
"headline": {
"type": "string",
"unique": false
},
"timePosted": {
"type": "number",
2015-06-02 23:58:12 +00:00
"default": "0"
},
"link": {
"type": "string",
"unique": false
},
"metaDescription": {
"type": "string",
"default": "",
"unique": false
},
"description": {
"type": "string",
"unique": false
},
"originalStoryAuthorEmail": {
"type": "string",
"default": ""
},
"rank": {
"type": "number",
"default": "-Infinity"
},
"upVotes": {
"type": "array",
"default": []
},
"author": {},
"comments": {
"type": "array",
"default": []
},
"image": {
"type": "string",
"default": ""
},
"storyLink": {
"type": "string",
"default": ""
2015-06-02 23:58:12 +00:00
},
"difficulty": "string",
"description": "array",
"tests": "array",
"challengeSeed": "array",
"MDNlinks": {
"type": "array"
}
},
"validations": [],
"relations": {},
"acls": [],
"methods": []
}