mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-23 23:58:02 -05:00
33 lines
941 B
CoffeeScript
33 lines
941 B
CoffeeScript
c = require 'schemas/schemas'
|
|
|
|
module.exports =
|
|
'application:idle-changed': c.object {},
|
|
idle: {type: 'boolean'}
|
|
|
|
'audio-player:loaded': c.object {required: ['sender']},
|
|
sender: {type: 'object'}
|
|
|
|
'audio-player:play-sound': c.object {required: ['trigger']},
|
|
trigger: {type: 'string'}
|
|
volume: {type: 'number', minimum: 0, maximum: 1}
|
|
|
|
'music-player:play-music': c.object {required: ['play']},
|
|
play: {type: 'boolean'}
|
|
file: {type: 'string'}
|
|
|
|
'modal:opened': c.object {}
|
|
|
|
'modal:closed': c.object {}
|
|
|
|
'router:navigate': c.object {required: ['route']},
|
|
route: {type: 'string'}
|
|
view: {type: 'object'}
|
|
viewClass: {type: 'function'}
|
|
viewArgs: {type: 'array'}
|
|
|
|
'achievements:new': c.object {required: 'earnedAchievements'},
|
|
earnedAchievements: {type: 'object'}
|
|
|
|
'ladder:game-submitted': c.object {required: ['session', 'level']},
|
|
session: {type: 'object'}
|
|
level: {type: 'object'}
|