Skip to content

Commit

Permalink
chore(ws-core): add init_fail message type.
Browse files Browse the repository at this point in the history
  • Loading branch information
DxCx authored Mar 19, 2017
1 parent da8e48a commit 8592048
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export const RGQL_MSG_STOP = 'stop';
export const RGQL_MSG_KEEPALIVE = 'keepalive';
export const RGQL_MSG_INIT = 'init';
export const RGQL_MSG_INIT_SUCCESS = 'init_success';
export const RGQL_MSG_INIT_FAIL = 'init_fail';
export type RGQLMessageType = (
'error' |
'complete' |
Expand All @@ -17,7 +18,8 @@ export type RGQLMessageType = (
'stop' |
'keepalive' |
'init' |
'init_success'
'init_success' |
'init_fail'
);

export type RGQLPayloadError = Error;
Expand Down

0 comments on commit 8592048

Please sign in to comment.