mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-23 15:48:11 -05:00
Add a value 'hidden' for campaign's type property (#3819)
Nick would have to manually remove the defaulted ‘hero’ type from new campaigns to make sure it wasn’t included in various campaign related queries until we were ready. Now we can set this to hidden in the campaign editor.
This commit is contained in:
parent
96cbcfada2
commit
adda9747e9
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ _.extend CampaignSchema.properties, {
|
|||
i18n: {type: 'object', title: 'i18n', format: 'i18n', props: ['name', 'fullName', 'description']}
|
||||
fullName: { type: 'string', title: 'Full Name', description: 'Ex.: "Kithgard Dungeon"' }
|
||||
description: { type: 'string', format: 'string', description: 'How long it takes and what players learn.' }
|
||||
type: c.shortString(title: 'Type', description: 'What kind of campaign this is.', 'enum': ['hero', 'course'])
|
||||
type: c.shortString(title: 'Type', description: 'What kind of campaign this is.', 'enum': ['hero', 'course','hidden'])
|
||||
|
||||
ambientSound: c.object {},
|
||||
mp3: { type: 'string', format: 'sound-file' }
|
||||
|
|
Loading…
Reference in a new issue