{"action":"created","comment":{"url":"https://api.github.com/repos/mage/mage/pulls/comments/121581326","pull_request_review_id":43619009,"id":121581326,"diff_hunk":"@@ -400,6 +400,225 @@ declare class Logger {\n     emergency: Log;\n }\n \n+/**\n+ * MMRP Envelopes are used to encapsulate data to\n+ * be sent between MAGE nodes.\n+ *\n+ * @class MmrpEnvelope\n+ */\n+declare class MmrpEnvelope {\n+    constructor(eventName: string, messages: string | Buffer | string[] | Buffer[], route: string[], returnRoute: string[], flags: any);\n+\n+    /**\n+     *\n+     *\n+     * @param {string} uri\n+     * @param {string} clusterId\n+     * @param {any} cb\n+     *\n+     * @memberof MmrpEnvelope\n+     */\n+    setMessage(uri: string, clusterId: string, callback: Function): void;\n+\n+    /**\n+     *\n+     *\n+     * @param {(string | Buffer)} message\n+     *\n+     * @memberof MmrpEnvelope\n+     */\n+    addMessage(message: string | Buffer): void;\n+\n+    /**\n+     *\n+     *\n+     * @param {(string | string[])} route\n+     *\n+     * @memberof MmrpEnvelope\n+     */\n+    setRoute(route: string | string[]): void;\n+\n+    /**\n+     *\n+     *\n+     * @param {string} route\n+     *\n+     * @memberof MmrpEnvelope\n+     */\n+    injectRoute(route: string): void;\n+\n+    /**\n+     *\n+     *\n+     * @param {*} identity\n+     *\n+     * @memberof MmrpEnvelope\n+     */\n+    consumeRoute(identity: any): void;\n+\n+    /**\n+     *\n+     *\n+     * @returns {boolean}\n+     *\n+     * @memberof MmrpEnvelope\n+     */\n+    routeRemains(): boolean;\n+\n+    /**\n+     *\n+     *\n+     * @returns {string}\n+     *\n+     * @memberof MmrpEnvelope\n+     */\n+    getFinalDestination(): string;\n+\n+    /**\n+     *","path":"types.d.ts","position":79,"original_position":79,"commit_id":"92a073608f8502ff569c15da925ae2253e2661ee","original_commit_id":"92a073608f8502ff569c15da925ae2253e2661ee","user":{"login":"ronkorving","id":631240,"avatar_url":"https://avatars3.githubusercontent.com/u/631240?v=3","gravatar_id":"","url":"https://api.github.com/users/ronkorving","html_url":"https://github.com/ronkorving","followers_url":"https://api.github.com/users/ronkorving/followers","following_url":"https://api.github.com/users/ronkorving/following{/other_user}","gists_url":"https://api.github.com/users/ronkorving/gists{/gist_id}","starred_url":"https://api.github.com/users/ronkorving/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ronkorving/subscriptions","organizations_url":"https://api.github.com/users/ronkorving/orgs","repos_url":"https://api.github.com/users/ronkorving/repos","events_url":"https://api.github.com/users/ronkorving/events{/privacy}","received_events_url":"https://api.github.com/users/ronkorving/received_events","type":"User","site_admin":false},"body":"Returns true if this envelope tracks and contains the sender's route, false otherwise.","created_at":"2017-06-13T04:45:05Z","updated_at":"2017-06-13T04:45:05Z","html_url":"https://github.com/mage/mage/pull/69#discussion_r121581326","pull_request_url":"https://api.github.com/repos/mage/mage/pulls/69","_links":{"self":{"href":"https://api.github.com/repos/mage/mage/pulls/comments/121581326"},"html":{"href":"https://github.com/mage/mage/pull/69#discussion_r121581326"},"pull_request":{"href":"https://api.github.com/repos/mage/mage/pulls/69"}}},"pull_request":{"url":"https://api.github.com/repos/mage/mage/pulls/69","id":125177428,"html_url":"https://github.com/mage/mage/pull/69","diff_url":"https://github.com/mage/mage/pull/69.diff","patch_url":"https://github.com/mage/mage/pull/69.patch","issue_url":"https://api.github.com/repos/mage/mage/issues/69","number":69,"state":"open","locked":false,"title":"types: MsgServer, MsgStream, MMRP","user":{"login":"stelcheck","id":592432,"avatar_url":"https://avatars3.githubusercontent.com/u/592432?v=3","gravatar_id":"","url":"https://api.github.com/users/stelcheck","html_url":"https://github.com/stelcheck","followers_url":"https://api.github.com/users/stelcheck/followers","following_url":"https://api.github.com/users/stelcheck/following{/other_user}","gists_url":"https://api.github.com/users/stelcheck/gists{/gist_id}","starred_url":"https://api.github.com/users/stelcheck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stelcheck/subscriptions","organizations_url":"https://api.github.com/users/stelcheck/orgs","repos_url":"https://api.github.com/users/stelcheck/repos","events_url":"https://api.github.com/users/stelcheck/events{/privacy}","received_events_url":"https://api.github.com/users/stelcheck/received_events","type":"User","site_admin":false},"body":"Type information required for user-land usage of the msgServer\r\nAPI.","created_at":"2017-06-12T16:28:37Z","updated_at":"2017-06-13T04:45:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"44f0c1a1b0fc7b50075a07d72b30704057555968","assignee":null,"assignees":[],"requested_reviewers":[{"login":"christopherobin","id":308493,"avatar_url":"https://avatars1.githubusercontent.com/u/308493?v=3","gravatar_id":"","url":"https://api.github.com/users/christopherobin","html_url":"https://github.com/christopherobin","followers_url":"https://api.github.com/users/christopherobin/followers","following_url":"https://api.github.com/users/christopherobin/following{/other_user}","gists_url":"https://api.github.com/users/christopherobin/gists{/gist_id}","starred_url":"https://api.github.com/users/christopherobin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christopherobin/subscriptions","organizations_url":"https://api.github.com/users/christopherobin/orgs","repos_url":"https://api.github.com/users/christopherobin/repos","events_url":"https://api.github.com/users/christopherobin/events{/privacy}","received_events_url":"https://api.github.com/users/christopherobin/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/mage/mage/pulls/69/commits","review_comments_url":"https://api.github.com/repos/mage/mage/pulls/69/comments","review_comment_url":"https://api.github.com/repos/mage/mage/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mage/mage/issues/69/comments","statuses_url":"https://api.github.com/repos/mage/mage/statuses/92a073608f8502ff569c15da925ae2253e2661ee","head":{"label":"stelcheck:features/mmrp-types","ref":"features/mmrp-types","sha":"92a073608f8502ff569c15da925ae2253e2661ee","user":{"login":"stelcheck","id":592432,"avatar_url":"https://avatars3.githubusercontent.com/u/592432?v=3","gravatar_id":"","url":"https://api.github.com/users/stelcheck","html_url":"https://github.com/stelcheck","followers_url":"https://api.github.com/users/stelcheck/followers","following_url":"https://api.github.com/users/stelcheck/following{/other_user}","gists_url":"https://api.github.com/users/stelcheck/gists{/gist_id}","starred_url":"https://api.github.com/users/stelcheck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stelcheck/subscriptions","organizations_url":"https://api.github.com/users/stelcheck/orgs","repos_url":"https://api.github.com/users/stelcheck/repos","events_url":"https://api.github.com/users/stelcheck/events{/privacy}","received_events_url":"https://api.github.com/users/stelcheck/received_events","type":"User","site_admin":false},"repo":{"id":88972078,"name":"mage","full_name":"stelcheck/mage","owner":{"login":"stelcheck","id":592432,"avatar_url":"https://avatars3.githubusercontent.com/u/592432?v=3","gravatar_id":"","url":"https://api.github.com/users/stelcheck","html_url":"https://github.com/stelcheck","followers_url":"https://api.github.com/users/stelcheck/followers","following_url":"https://api.github.com/users/stelcheck/following{/other_user}","gists_url":"https://api.github.com/users/stelcheck/gists{/gist_id}","starred_url":"https://api.github.com/users/stelcheck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stelcheck/subscriptions","organizations_url":"https://api.github.com/users/stelcheck/orgs","repos_url":"https://api.github.com/users/stelcheck/repos","events_url":"https://api.github.com/users/stelcheck/events{/privacy}","received_events_url":"https://api.github.com/users/stelcheck/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stelcheck/mage","description":"Game Server Framework","fork":true,"url":"https://api.github.com/repos/stelcheck/mage","forks_url":"https://api.github.com/repos/stelcheck/mage/forks","keys_url":"https://api.github.com/repos/stelcheck/mage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stelcheck/mage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stelcheck/mage/teams","hooks_url":"https://api.github.com/repos/stelcheck/mage/hooks","issue_events_url":"https://api.github.com/repos/stelcheck/mage/issues/events{/number}","events_url":"https://api.github.com/repos/stelcheck/mage/events","assignees_url":"https://api.github.com/repos/stelcheck/mage/assignees{/user}","branches_url":"https://api.github.com/repos/stelcheck/mage/branches{/branch}","tags_url":"https://api.github.com/repos/stelcheck/mage/tags","blobs_url":"https://api.github.com/repos/stelcheck/mage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stelcheck/mage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stelcheck/mage/git/refs{/sha}","trees_url":"https://api.github.com/repos/stelcheck/mage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stelcheck/mage/statuses/{sha}","languages_url":"https://api.github.com/repos/stelcheck/mage/languages","stargazers_url":"https://api.github.com/repos/stelcheck/mage/stargazers","contributors_url":"https://api.github.com/repos/stelcheck/mage/contributors","subscribers_url":"https://api.github.com/repos/stelcheck/mage/subscribers","subscription_url":"https://api.github.com/repos/stelcheck/mage/subscription","commits_url":"https://api.github.com/repos/stelcheck/mage/commits{/sha}","git_commits_url":"https://api.github.com/repos/stelcheck/mage/git/commits{/sha}","comments_url":"https://api.github.com/repos/stelcheck/mage/comments{/number}","issue_comment_url":"https://api.github.com/repos/stelcheck/mage/issues/comments{/number}","contents_url":"https://api.github.com/repos/stelcheck/mage/contents/{+path}","compare_url":"https://api.github.com/repos/stelcheck/mage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stelcheck/mage/merges","archive_url":"https://api.github.com/repos/stelcheck/mage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stelcheck/mage/downloads","issues_url":"https://api.github.com/repos/stelcheck/mage/issues{/number}","pulls_url":"https://api.github.com/repos/stelcheck/mage/pulls{/number}","milestones_url":"https://api.github.com/repos/stelcheck/mage/milestones{/number}","notifications_url":"https://api.github.com/repos/stelcheck/mage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stelcheck/mage/labels{/name}","releases_url":"https://api.github.com/repos/stelcheck/mage/releases{/id}","deployments_url":"https://api.github.com/repos/stelcheck/mage/deployments","created_at":"2017-04-21T10:20:56Z","updated_at":"2017-04-21T10:27:03Z","pushed_at":"2017-06-12T16:27:45Z","git_url":"git://github.com/stelcheck/mage.git","ssh_url":"git@github.com:stelcheck/mage.git","clone_url":"https://github.com/stelcheck/mage.git","svn_url":"https://github.com/stelcheck/mage","homepage":"https://wizcorp.jp/mage/","size":899,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mage:master","ref":"master","sha":"bfe97468769391bfe12c9ed58646f3276340843b","user":{"login":"mage","id":5233560,"avatar_url":"https://avatars3.githubusercontent.com/u/5233560?v=3","gravatar_id":"","url":"https://api.github.com/users/mage","html_url":"https://github.com/mage","followers_url":"https://api.github.com/users/mage/followers","following_url":"https://api.github.com/users/mage/following{/other_user}","gists_url":"https://api.github.com/users/mage/gists{/gist_id}","starred_url":"https://api.github.com/users/mage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mage/subscriptions","organizations_url":"https://api.github.com/users/mage/orgs","repos_url":"https://api.github.com/users/mage/repos","events_url":"https://api.github.com/users/mage/events{/privacy}","received_events_url":"https://api.github.com/users/mage/received_events","type":"Organization","site_admin":false},"repo":{"id":88970576,"name":"mage","full_name":"mage/mage","owner":{"login":"mage","id":5233560,"avatar_url":"https://avatars3.githubusercontent.com/u/5233560?v=3","gravatar_id":"","url":"https://api.github.com/users/mage","html_url":"https://github.com/mage","followers_url":"https://api.github.com/users/mage/followers","following_url":"https://api.github.com/users/mage/following{/other_user}","gists_url":"https://api.github.com/users/mage/gists{/gist_id}","starred_url":"https://api.github.com/users/mage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mage/subscriptions","organizations_url":"https://api.github.com/users/mage/orgs","repos_url":"https://api.github.com/users/mage/repos","events_url":"https://api.github.com/users/mage/events{/privacy}","received_events_url":"https://api.github.com/users/mage/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mage/mage","description":"Game Server Framework","fork":false,"url":"https://api.github.com/repos/mage/mage","forks_url":"https://api.github.com/repos/mage/mage/forks","keys_url":"https://api.github.com/repos/mage/mage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mage/mage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mage/mage/teams","hooks_url":"https://api.github.com/repos/mage/mage/hooks","issue_events_url":"https://api.github.com/repos/mage/mage/issues/events{/number}","events_url":"https://api.github.com/repos/mage/mage/events","assignees_url":"https://api.github.com/repos/mage/mage/assignees{/user}","branches_url":"https://api.github.com/repos/mage/mage/branches{/branch}","tags_url":"https://api.github.com/repos/mage/mage/tags","blobs_url":"https://api.github.com/repos/mage/mage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mage/mage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mage/mage/git/refs{/sha}","trees_url":"https://api.github.com/repos/mage/mage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mage/mage/statuses/{sha}","languages_url":"https://api.github.com/repos/mage/mage/languages","stargazers_url":"https://api.github.com/repos/mage/mage/stargazers","contributors_url":"https://api.github.com/repos/mage/mage/contributors","subscribers_url":"https://api.github.com/repos/mage/mage/subscribers","subscription_url":"https://api.github.com/repos/mage/mage/subscription","commits_url":"https://api.github.com/repos/mage/mage/commits{/sha}","git_commits_url":"https://api.github.com/repos/mage/mage/git/commits{/sha}","comments_url":"https://api.github.com/repos/mage/mage/comments{/number}","issue_comment_url":"https://api.github.com/repos/mage/mage/issues/comments{/number}","contents_url":"https://api.github.com/repos/mage/mage/contents/{+path}","compare_url":"https://api.github.com/repos/mage/mage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mage/mage/merges","archive_url":"https://api.github.com/repos/mage/mage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mage/mage/downloads","issues_url":"https://api.github.com/repos/mage/mage/issues{/number}","pulls_url":"https://api.github.com/repos/mage/mage/pulls{/number}","milestones_url":"https://api.github.com/repos/mage/mage/milestones{/number}","notifications_url":"https://api.github.com/repos/mage/mage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mage/mage/labels{/name}","releases_url":"https://api.github.com/repos/mage/mage/releases{/id}","deployments_url":"https://api.github.com/repos/mage/mage/deployments","created_at":"2017-04-21T10:03:25Z","updated_at":"2017-06-02T09:02:42Z","pushed_at":"2017-06-13T04:33:16Z","git_url":"git://github.com/mage/mage.git","ssh_url":"git@github.com:mage/mage.git","clone_url":"https://github.com/mage/mage.git","svn_url":"https://github.com/mage/mage","homepage":"https://mage.github.io/mage/","size":722,"stargazers_count":17,"watchers_count":17,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":5,"mirror_url":null,"open_issues_count":21,"forks":5,"open_issues":21,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mage/mage/pulls/69"},"html":{"href":"https://github.com/mage/mage/pull/69"},"issue":{"href":"https://api.github.com/repos/mage/mage/issues/69"},"comments":{"href":"https://api.github.com/repos/mage/mage/issues/69/comments"},"review_comments":{"href":"https://api.github.com/repos/mage/mage/pulls/69/comments"},"review_comment":{"href":"https://api.github.com/repos/mage/mage/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mage/mage/pulls/69/commits"},"statuses":{"href":"https://api.github.com/repos/mage/mage/statuses/92a073608f8502ff569c15da925ae2253e2661ee"}}}}
{"actor":{"display_login":"ronkorving"}}