codecombat/app/schemas/subscriptions/tome.coffee

96 lines
1.9 KiB
CoffeeScript
Raw Normal View History

module.exports =
2014-06-30 22:16:26 -04:00
'tome:cast-spell':
{} # TODO schema
# TODO do we really need both 'cast-spell' and 'cast-spells'?
2014-06-30 22:16:26 -04:00
'tome:cast-spells':
{} # TODO schema
2014-06-30 22:16:26 -04:00
'tome:manual-cast':
{} # TODO schema
2014-06-30 22:16:26 -04:00
'tome:spell-created':
{} # TODO schema
2014-06-30 22:16:26 -04:00
'tome:spell-debug-property-hovered':
{} # TODO schema
2014-06-30 22:16:26 -04:00
'tome:toggle-spell-list':
{} # TODO schema
2014-06-30 22:16:26 -04:00
'tome:reload-code':
{} # TODO schema
2014-06-30 22:16:26 -04:00
'tome:palette-hovered':
{} # TODO schema
2014-06-30 22:16:26 -04:00
'tome:palette-pin-toggled':
{} # TODO schema
2014-06-30 22:16:26 -04:00
'tome:palette-clicked':
{} # TODO schema
2014-06-30 22:16:26 -04:00
'tome:spell-statement-index-updated':
{} # TODO schema
# TODO proposition: refactor 'tome' into spell events
2014-06-30 22:16:26 -04:00
'spell-beautify':
{} # TODO schema
2014-06-30 22:16:26 -04:00
'spell-step-forward':
{} # TODO schema
2014-06-30 22:16:26 -04:00
'spell-step-backward':
{} # TODO schema
2014-06-30 22:16:26 -04:00
'tome:spell-loaded':
{} # TODO schema
2014-06-30 22:16:26 -04:00
'tome:cast-spell':
{} # TODO schema
2014-06-30 22:16:26 -04:00
'tome:spell-changed':
{} # TODO schema
2014-06-30 22:16:26 -04:00
'tome:editing-ended':
{} # TODO schema
2014-06-30 22:16:26 -04:00
'tome:editing-began':
{} # TODO schema
2014-06-30 22:16:26 -04:00
'tome:problems-updated':
{} # TODO schema
2014-06-30 22:16:26 -04:00
'tome:thang-list-entry-popover-shown':
{} # TODO schema
2014-06-30 22:16:26 -04:00
'tome:spell-shown':
{} # TODO schema
2014-06-30 22:16:26 -04:00
'tome:focus-editor':
{} # TODO schema
2014-06-30 22:16:26 -04:00
'tome:change-language':
title: 'Tome Change Language'
$schema: 'http://json-schema.org/draft-04/schema#'
description: 'Published when the Tome should update its programming language.'
type: 'object'
additionalProperties: false
properties:
language:
2014-06-30 22:16:26 -04:00
type: 'string'
required: ['language']
'tome:spell-changed-language':
title: 'Spell Changed Language'
$schema: 'http://json-schema.org/draft-04/schema#'
description: 'Published when an individual spell has updated its code language.'
type: 'object'
additionalProperties: false
properties:
spell:
2014-06-30 22:16:26 -04:00
type: 'object'
language:
2014-06-30 22:16:26 -04:00
type: 'string'
required: ['spell']