{"action":"created","comment":{"url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/pulls/comments/215472410","pull_request_review_id":152744940,"id":215472410,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNTQ3MjQxMA==","diff_hunk":"@@ -1,11 +1,14 @@\n-const ChatPendingDM = require('./chat-pending-dm');\n+import ChatPendingDM from './chat-pending-dm';\n+import { ChatStore } from './chat-store';\n \n class ChatStorePending {\n-    constructor(store) {\n+    constructor(store: ChatStore) {\n         this.store = store;\n     }\n \n-    add(username, email, received, isAutoImport) {\n+    store: ChatStore;\n+\n+    add(username, email, received, isAutoImport = false) {","path":"src/models/chats/chat-store.pending.ts","position":14,"original_position":14,"commit_id":"4cb50b73b82e97d25f62deaef0362ec9c023c35d","original_commit_id":"cf5362cadb0d48ea614d9b0a1aaee9d8b4e50d8b","user":{"login":"anri-asaturov","id":1479005,"node_id":"MDQ6VXNlcjE0NzkwMDU=","avatar_url":"https://avatars3.githubusercontent.com/u/1479005?v=4","gravatar_id":"","url":"https://api.github.com/users/anri-asaturov","html_url":"https://github.com/anri-asaturov","followers_url":"https://api.github.com/users/anri-asaturov/followers","following_url":"https://api.github.com/users/anri-asaturov/following{/other_user}","gists_url":"https://api.github.com/users/anri-asaturov/gists{/gist_id}","starred_url":"https://api.github.com/users/anri-asaturov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anri-asaturov/subscriptions","organizations_url":"https://api.github.com/users/anri-asaturov/orgs","repos_url":"https://api.github.com/users/anri-asaturov/repos","events_url":"https://api.github.com/users/anri-asaturov/events{/privacy}","received_events_url":"https://api.github.com/users/anri-asaturov/received_events","type":"User","site_admin":false},"body":"done","created_at":"2018-09-06T01:32:18Z","updated_at":"2018-09-06T01:32:18Z","html_url":"https://github.com/PeerioTechnologies/peerio-icebear/pull/280#discussion_r215472410","pull_request_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/pulls/280","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/pulls/comments/215472410"},"html":{"href":"https://github.com/PeerioTechnologies/peerio-icebear/pull/280#discussion_r215472410"},"pull_request":{"href":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/pulls/280"}},"in_reply_to_id":215424049},"pull_request":{"url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/pulls/280","id":209185039,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5MTg1MDM5","html_url":"https://github.com/PeerioTechnologies/peerio-icebear/pull/280","diff_url":"https://github.com/PeerioTechnologies/peerio-icebear/pull/280.diff","patch_url":"https://github.com/PeerioTechnologies/peerio-icebear/pull/280.patch","issue_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/issues/280","number":280,"state":"open","locked":false,"title":"refactor: typescript","user":{"login":"anri-asaturov","id":1479005,"node_id":"MDQ6VXNlcjE0NzkwMDU=","avatar_url":"https://avatars3.githubusercontent.com/u/1479005?v=4","gravatar_id":"","url":"https://api.github.com/users/anri-asaturov","html_url":"https://github.com/anri-asaturov","followers_url":"https://api.github.com/users/anri-asaturov/followers","following_url":"https://api.github.com/users/anri-asaturov/following{/other_user}","gists_url":"https://api.github.com/users/anri-asaturov/gists{/gist_id}","starred_url":"https://api.github.com/users/anri-asaturov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anri-asaturov/subscriptions","organizations_url":"https://api.github.com/users/anri-asaturov/orgs","repos_url":"https://api.github.com/users/anri-asaturov/repos","events_url":"https://api.github.com/users/anri-asaturov/events{/privacy}","received_events_url":"https://api.github.com/users/anri-asaturov/received_events","type":"User","site_admin":false},"body":"TODO:\r\n1. Templated TinyDB calls\r\n2. Raw keg types (as received from server and cached)\r\n3. Deserialized payloads and props for all kegs\r\n4. Enable full strict mode and fix errors\r\n5. 'readonly' where possible\r\n6. make a type out of medcryptor roles (get an exact list and rules)\r\n7. replace 'any' with 'unknown' where applicable\r\n8. Message#richText type\r\n9. maybe bring back crypto/index","created_at":"2018-08-17T15:36:38Z","updated_at":"2018-09-06T01:32:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a19382efe69c4a51c35dc0c9dd5ef40a446c3d05","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/pulls/280/commits","review_comments_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/pulls/280/comments","review_comment_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/issues/280/comments","statuses_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/statuses/4cb50b73b82e97d25f62deaef0362ec9c023c35d","head":{"label":"PeerioTechnologies:more-typescript","ref":"more-typescript","sha":"4cb50b73b82e97d25f62deaef0362ec9c023c35d","user":{"login":"PeerioTechnologies","id":8494251,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg0OTQyNTE=","avatar_url":"https://avatars3.githubusercontent.com/u/8494251?v=4","gravatar_id":"","url":"https://api.github.com/users/PeerioTechnologies","html_url":"https://github.com/PeerioTechnologies","followers_url":"https://api.github.com/users/PeerioTechnologies/followers","following_url":"https://api.github.com/users/PeerioTechnologies/following{/other_user}","gists_url":"https://api.github.com/users/PeerioTechnologies/gists{/gist_id}","starred_url":"https://api.github.com/users/PeerioTechnologies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeerioTechnologies/subscriptions","organizations_url":"https://api.github.com/users/PeerioTechnologies/orgs","repos_url":"https://api.github.com/users/PeerioTechnologies/repos","events_url":"https://api.github.com/users/PeerioTechnologies/events{/privacy}","received_events_url":"https://api.github.com/users/PeerioTechnologies/received_events","type":"Organization","site_admin":false},"repo":{"id":63130290,"node_id":"MDEwOlJlcG9zaXRvcnk2MzEzMDI5MA==","name":"peerio-icebear","full_name":"PeerioTechnologies/peerio-icebear","owner":{"login":"PeerioTechnologies","id":8494251,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg0OTQyNTE=","avatar_url":"https://avatars3.githubusercontent.com/u/8494251?v=4","gravatar_id":"","url":"https://api.github.com/users/PeerioTechnologies","html_url":"https://github.com/PeerioTechnologies","followers_url":"https://api.github.com/users/PeerioTechnologies/followers","following_url":"https://api.github.com/users/PeerioTechnologies/following{/other_user}","gists_url":"https://api.github.com/users/PeerioTechnologies/gists{/gist_id}","starred_url":"https://api.github.com/users/PeerioTechnologies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeerioTechnologies/subscriptions","organizations_url":"https://api.github.com/users/PeerioTechnologies/orgs","repos_url":"https://api.github.com/users/PeerioTechnologies/repos","events_url":"https://api.github.com/users/PeerioTechnologies/events{/privacy}","received_events_url":"https://api.github.com/users/PeerioTechnologies/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PeerioTechnologies/peerio-icebear","description":"Peerio Icebear SDK is a client library supporting Peerio apps","fork":false,"url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear","forks_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/forks","keys_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/teams","hooks_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/hooks","issue_events_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/issues/events{/number}","events_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/events","assignees_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/assignees{/user}","branches_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/branches{/branch}","tags_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/tags","blobs_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/git/refs{/sha}","trees_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/statuses/{sha}","languages_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/languages","stargazers_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/stargazers","contributors_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/contributors","subscribers_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/subscribers","subscription_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/subscription","commits_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/commits{/sha}","git_commits_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/git/commits{/sha}","comments_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/comments{/number}","issue_comment_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/issues/comments{/number}","contents_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/contents/{+path}","compare_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/merges","archive_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/downloads","issues_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/issues{/number}","pulls_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/pulls{/number}","milestones_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/milestones{/number}","notifications_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/labels{/name}","releases_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/releases{/id}","deployments_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/deployments","created_at":"2016-07-12T05:52:13Z","updated_at":"2018-08-30T18:42:37Z","pushed_at":"2018-09-06T01:28:20Z","git_url":"git://github.com/PeerioTechnologies/peerio-icebear.git","ssh_url":"git@github.com:PeerioTechnologies/peerio-icebear.git","clone_url":"https://github.com/PeerioTechnologies/peerio-icebear.git","svn_url":"https://github.com/PeerioTechnologies/peerio-icebear","homepage":"https://peerio.com","size":6973,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":9,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":1,"open_issues":9,"watchers":3,"default_branch":"dev"}},"base":{"label":"PeerioTechnologies:dev","ref":"dev","sha":"c18cc81550da7b1349c2908a67ff8b9b5a2bd55f","user":{"login":"PeerioTechnologies","id":8494251,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg0OTQyNTE=","avatar_url":"https://avatars3.githubusercontent.com/u/8494251?v=4","gravatar_id":"","url":"https://api.github.com/users/PeerioTechnologies","html_url":"https://github.com/PeerioTechnologies","followers_url":"https://api.github.com/users/PeerioTechnologies/followers","following_url":"https://api.github.com/users/PeerioTechnologies/following{/other_user}","gists_url":"https://api.github.com/users/PeerioTechnologies/gists{/gist_id}","starred_url":"https://api.github.com/users/PeerioTechnologies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeerioTechnologies/subscriptions","organizations_url":"https://api.github.com/users/PeerioTechnologies/orgs","repos_url":"https://api.github.com/users/PeerioTechnologies/repos","events_url":"https://api.github.com/users/PeerioTechnologies/events{/privacy}","received_events_url":"https://api.github.com/users/PeerioTechnologies/received_events","type":"Organization","site_admin":false},"repo":{"id":63130290,"node_id":"MDEwOlJlcG9zaXRvcnk2MzEzMDI5MA==","name":"peerio-icebear","full_name":"PeerioTechnologies/peerio-icebear","owner":{"login":"PeerioTechnologies","id":8494251,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg0OTQyNTE=","avatar_url":"https://avatars3.githubusercontent.com/u/8494251?v=4","gravatar_id":"","url":"https://api.github.com/users/PeerioTechnologies","html_url":"https://github.com/PeerioTechnologies","followers_url":"https://api.github.com/users/PeerioTechnologies/followers","following_url":"https://api.github.com/users/PeerioTechnologies/following{/other_user}","gists_url":"https://api.github.com/users/PeerioTechnologies/gists{/gist_id}","starred_url":"https://api.github.com/users/PeerioTechnologies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeerioTechnologies/subscriptions","organizations_url":"https://api.github.com/users/PeerioTechnologies/orgs","repos_url":"https://api.github.com/users/PeerioTechnologies/repos","events_url":"https://api.github.com/users/PeerioTechnologies/events{/privacy}","received_events_url":"https://api.github.com/users/PeerioTechnologies/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PeerioTechnologies/peerio-icebear","description":"Peerio Icebear SDK is a client library supporting Peerio apps","fork":false,"url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear","forks_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/forks","keys_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/teams","hooks_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/hooks","issue_events_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/issues/events{/number}","events_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/events","assignees_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/assignees{/user}","branches_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/branches{/branch}","tags_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/tags","blobs_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/git/refs{/sha}","trees_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/statuses/{sha}","languages_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/languages","stargazers_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/stargazers","contributors_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/contributors","subscribers_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/subscribers","subscription_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/subscription","commits_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/commits{/sha}","git_commits_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/git/commits{/sha}","comments_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/comments{/number}","issue_comment_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/issues/comments{/number}","contents_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/contents/{+path}","compare_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/merges","archive_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/downloads","issues_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/issues{/number}","pulls_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/pulls{/number}","milestones_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/milestones{/number}","notifications_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/labels{/name}","releases_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/releases{/id}","deployments_url":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/deployments","created_at":"2016-07-12T05:52:13Z","updated_at":"2018-08-30T18:42:37Z","pushed_at":"2018-09-06T01:28:20Z","git_url":"git://github.com/PeerioTechnologies/peerio-icebear.git","ssh_url":"git@github.com:PeerioTechnologies/peerio-icebear.git","clone_url":"https://github.com/PeerioTechnologies/peerio-icebear.git","svn_url":"https://github.com/PeerioTechnologies/peerio-icebear","homepage":"https://peerio.com","size":6973,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":9,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":1,"open_issues":9,"watchers":3,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/pulls/280"},"html":{"href":"https://github.com/PeerioTechnologies/peerio-icebear/pull/280"},"issue":{"href":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/issues/280"},"comments":{"href":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/issues/280/comments"},"review_comments":{"href":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/pulls/280/comments"},"review_comment":{"href":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/pulls/280/commits"},"statuses":{"href":"https://api.github.com/repos/PeerioTechnologies/peerio-icebear/statuses/4cb50b73b82e97d25f62deaef0362ec9c023c35d"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"anri-asaturov"}}