mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-23 15:48:11 -05:00
Add array option to adjacentCampaigns.showIfUnlocked
This commit is contained in:
parent
3d8d0b96d3
commit
2584124017
1 changed files with 8 additions and 1 deletions
|
@ -42,7 +42,14 @@ _.extend CampaignSchema.properties, {
|
|||
position: c.point2d()
|
||||
rotation: { type: 'number', format: 'degrees' }
|
||||
color: { type: 'string' }
|
||||
showIfUnlocked: { type: 'string', links: [{rel: 'db', href: '/db/level/{($)}/version'}], format: 'latest-version-original-reference' }
|
||||
showIfUnlocked:
|
||||
oneOf: [
|
||||
{ type: 'string', links: [{rel: 'db', href: '/db/level/{($)}/version'}], format: 'latest-version-original-reference' }
|
||||
{
|
||||
type: 'array',
|
||||
items: { type: 'string', links: [{rel: 'db', href: '/db/level/{($)}/version'}], format: 'latest-version-original-reference' }
|
||||
}
|
||||
]
|
||||
}
|
||||
}}
|
||||
levelsUpdated: c.date()
|
||||
|
|
Loading…
Reference in a new issue