mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-14 05:55:00 -04:00
Updating user_code_problem schema types
This commit is contained in:
parent
9b79e2ca27
commit
9752c4b18a
1 changed files with 10 additions and 10 deletions
|
@ -9,16 +9,16 @@ _.extend UserCodeProblemSchema.properties,
|
|||
creator: c.objectId(links: [{rel: 'extra', href: '/db/user/{($)}'}])
|
||||
created: c.date({title: 'Created', readOnly: true})
|
||||
|
||||
code: String
|
||||
codeSnippet: String
|
||||
errHint: String
|
||||
errId: String
|
||||
errLevel: String
|
||||
errMessage: String
|
||||
errRange: []
|
||||
errType: String
|
||||
language: String
|
||||
levelID: String
|
||||
code: {type: 'string'}
|
||||
codeSnippet: {type: 'string'}
|
||||
errHint: {type: 'string'}
|
||||
errId: {type: 'string'}
|
||||
errLevel: {type: 'string'}
|
||||
errMessage: {type: 'string'}
|
||||
errRange: {type: 'array'}
|
||||
errType: {type: 'string'}
|
||||
language: {type: 'string'}
|
||||
levelID: {type: 'string'}
|
||||
|
||||
c.extendBasicProperties UserCodeProblemSchema, 'user.code.problem'
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue