2014-08-27 15:24:03 -04:00
|
|
|
c = require 'schemas/schemas'
|
|
|
|
|
2014-04-11 08:22:49 -04:00
|
|
|
module.exports =
|
2014-08-27 15:24:03 -04:00
|
|
|
'application:idle-changed': c.object {},
|
|
|
|
idle: {type: 'boolean'}
|
|
|
|
|
|
|
|
'audio-player:loaded': c.object {required: ['sender']},
|
|
|
|
sender: {type: 'object'}
|
2014-04-11 08:22:49 -04:00
|
|
|
|
2014-08-27 15:24:03 -04:00
|
|
|
'audio-player:play-sound': c.object {required: ['trigger']},
|
|
|
|
trigger: {type: 'string'}
|
|
|
|
volume: {type: 'number', minimum: 0, maximum: 1}
|
2014-04-11 08:22:49 -04:00
|
|
|
|
2014-08-27 15:24:03 -04:00
|
|
|
'music-player:play-music': c.object {required: ['play']},
|
|
|
|
play: {type: 'boolean'}
|
|
|
|
file: {type: 'string'}
|
2014-04-11 08:22:49 -04:00
|
|
|
|
2014-08-27 15:24:03 -04:00
|
|
|
'modal:opened': c.object {}
|
2014-07-13 19:07:15 -04:00
|
|
|
|
2014-08-27 15:24:03 -04:00
|
|
|
'modal:closed': c.object {}
|
2014-04-11 08:22:49 -04:00
|
|
|
|
2014-08-27 15:24:03 -04:00
|
|
|
'router:navigate': c.object {required: ['route']},
|
|
|
|
route: {type: 'string'}
|
|
|
|
view: {type: 'object'}
|
|
|
|
viewClass: {type: 'object'}
|
|
|
|
viewArgs: {type: 'array'}
|
2014-04-11 08:22:49 -04:00
|
|
|
|
2014-08-27 15:24:03 -04:00
|
|
|
'achievements:new': c.object {required: 'earnedAchievements'},
|
|
|
|
earnedAchievements: {type: 'object'}
|
2014-08-28 12:27:42 -04:00
|
|
|
|
|
|
|
'ladder:game-submitted': c.object {required: ['session', 'level']},
|
|
|
|
session: {type: 'object'}
|
|
|
|
level: {type: 'object'}
|