mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-24 16:17:57 -05:00
commit
6d35712424
2 changed files with 55 additions and 6 deletions
|
@ -2,11 +2,21 @@ module.exports =
|
||||||
"application:idle-changed":
|
"application:idle-changed":
|
||||||
{} # TODO schema
|
{} # TODO schema
|
||||||
|
|
||||||
|
"fbapi-loaded":
|
||||||
|
{} # TODO schema
|
||||||
|
|
||||||
"logging-in-with-facebook":
|
"logging-in-with-facebook":
|
||||||
{} # TODO schema
|
{} # TODO schema
|
||||||
|
|
||||||
"facebook-logged-in":
|
"facebook-logged-in":
|
||||||
{} # TODO schema
|
title: "Facebook logged in"
|
||||||
|
$schema: "http://json-schema.org/draft-04/schema#"
|
||||||
|
description: "Published when you successfully logged in with facebook"
|
||||||
|
type: "object"
|
||||||
|
properties:
|
||||||
|
response:
|
||||||
|
type: "string"
|
||||||
|
required: ["response"]
|
||||||
|
|
||||||
"gapi-loaded":
|
"gapi-loaded":
|
||||||
{} # TODO schema
|
{} # TODO schema
|
||||||
|
@ -15,4 +25,11 @@ module.exports =
|
||||||
{} # TODO schema
|
{} # TODO schema
|
||||||
|
|
||||||
"gplus-logged-in":
|
"gplus-logged-in":
|
||||||
{} # TODO schema
|
title: "G+ logged in"
|
||||||
|
$schema: "http://json-schema.org/draft-04/schema#"
|
||||||
|
description: "Published when you successfully logged in with G+"
|
||||||
|
type: "object"
|
||||||
|
properties:
|
||||||
|
authResult:
|
||||||
|
type: "string"
|
||||||
|
required: ["authResult"]
|
||||||
|
|
|
@ -27,13 +27,45 @@ module.exports =
|
||||||
$ref: "bus"
|
$ref: "bus"
|
||||||
|
|
||||||
"bus:new-message":
|
"bus:new-message":
|
||||||
{} # TODO schema
|
title: "Message sent"
|
||||||
|
$schema: "http://json-schema.org/draft-04/schema#"
|
||||||
|
description: "A new message was sent"
|
||||||
|
type: "object"
|
||||||
|
properties:
|
||||||
|
message:
|
||||||
|
type: "string"
|
||||||
|
bus:
|
||||||
|
$ref: "bus"
|
||||||
|
|
||||||
"bus:player-joined":
|
"bus:player-joined":
|
||||||
{} # TODO schema
|
title: "Player joined"
|
||||||
|
$schema: "http://json-schema.org/draft-04/schema#"
|
||||||
|
description: "A new player has joined"
|
||||||
|
type: "object"
|
||||||
|
properties:
|
||||||
|
player:
|
||||||
|
type: "object"
|
||||||
|
bus:
|
||||||
|
$ref: "bus"
|
||||||
|
|
||||||
"bus:player-left":
|
"bus:player-left":
|
||||||
{} # TODO schema
|
title: "Player left"
|
||||||
|
$schema: "http://json-schema.org/draft-04/schema#"
|
||||||
|
description: "A player has left"
|
||||||
|
type: "object"
|
||||||
|
properties:
|
||||||
|
player:
|
||||||
|
type: "object"
|
||||||
|
bus:
|
||||||
|
$ref: "bus"
|
||||||
|
|
||||||
"bus:player-states-changed":
|
"bus:player-states-changed":
|
||||||
{} # TODO schema
|
title: "Player state changes"
|
||||||
|
$schema: "http://json-schema.org/draft-04/schema#"
|
||||||
|
description: "State of the players has changed"
|
||||||
|
type: "object"
|
||||||
|
properties:
|
||||||
|
player:
|
||||||
|
type: "array"
|
||||||
|
bus:
|
||||||
|
$ref: "bus"
|
||||||
|
|
Loading…
Reference in a new issue