{"action":"created","comment":{"url":"https://api.github.com/repos/DenisGayda/messenger/pulls/comments/175743864","pull_request_review_id":105321654,"id":175743864,"diff_hunk":"@@ -14,27 +16,27 @@ import {FormControl} from '@angular/forms';\n @Injectable()\n export class UsersComponent implements OnInit {\n \n-  users: MyUser[] = [];\n-  usersStart: MyUser[] = [];\n-  currentUser: MyUser;\n+  users: IMyUser[] = [];\n+  usersStart: IMyUser[] = [];\n+  currentUser: IMyUser;\n   find = new FormControl();\n \n   constructor(public db: DbService, private storeService: StoreService, private router: Router, private titleService: Title) {\n   }\n \n   ngOnInit() {\n     this.titleService.setTitle('Пользователи');\n-    this.db.selectDB<MyUser>('users').subscribe(users => {\n+    this.db.selectDB<IMyUser>('users').subscribe(users => {\n         this.usersStart = users;\n         this.users = users;\n       }\n     );\n-    this.storeService.user.subscribe((user: MyUser) => {\n+    this.storeService.user.subscribe((user: IMyUser) => {\n       this.currentUser = user;\n     });\n \n     this.find.valueChanges.subscribe(find => {","path":"src/app/users/users.component.ts","position":41,"original_position":41,"commit_id":"c173f3e9bd7095bd5970a15bd7d22036a8583ee6","original_commit_id":"c173f3e9bd7095bd5970a15bd7d22036a8583ee6","user":{"login":"DenisGayda","id":18559077,"avatar_url":"https://avatars2.githubusercontent.com/u/18559077?v=4","gravatar_id":"","url":"https://api.github.com/users/DenisGayda","html_url":"https://github.com/DenisGayda","followers_url":"https://api.github.com/users/DenisGayda/followers","following_url":"https://api.github.com/users/DenisGayda/following{/other_user}","gists_url":"https://api.github.com/users/DenisGayda/gists{/gist_id}","starred_url":"https://api.github.com/users/DenisGayda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DenisGayda/subscriptions","organizations_url":"https://api.github.com/users/DenisGayda/orgs","repos_url":"https://api.github.com/users/DenisGayda/repos","events_url":"https://api.github.com/users/DenisGayda/events{/privacy}","received_events_url":"https://api.github.com/users/DenisGayda/received_events","type":"User","site_admin":false},"body":"Создадим задачу на это","created_at":"2018-03-20T12:17:10Z","updated_at":"2018-03-20T12:17:10Z","html_url":"https://github.com/DenisGayda/messenger/pull/3#discussion_r175743864","pull_request_url":"https://api.github.com/repos/DenisGayda/messenger/pulls/3","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/DenisGayda/messenger/pulls/comments/175743864"},"html":{"href":"https://github.com/DenisGayda/messenger/pull/3#discussion_r175743864"},"pull_request":{"href":"https://api.github.com/repos/DenisGayda/messenger/pulls/3"}},"in_reply_to_id":175742682},"pull_request":{"url":"https://api.github.com/repos/DenisGayda/messenger/pulls/3","id":176165625,"html_url":"https://github.com/DenisGayda/messenger/pull/3","diff_url":"https://github.com/DenisGayda/messenger/pull/3.diff","patch_url":"https://github.com/DenisGayda/messenger/pull/3.patch","issue_url":"https://api.github.com/repos/DenisGayda/messenger/issues/3","number":3,"state":"open","locked":false,"title":"TS-4 разобрался с интерфейсами","user":{"login":"MarkoFirst","id":25689913,"avatar_url":"https://avatars3.githubusercontent.com/u/25689913?v=4","gravatar_id":"","url":"https://api.github.com/users/MarkoFirst","html_url":"https://github.com/MarkoFirst","followers_url":"https://api.github.com/users/MarkoFirst/followers","following_url":"https://api.github.com/users/MarkoFirst/following{/other_user}","gists_url":"https://api.github.com/users/MarkoFirst/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkoFirst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkoFirst/subscriptions","organizations_url":"https://api.github.com/users/MarkoFirst/orgs","repos_url":"https://api.github.com/users/MarkoFirst/repos","events_url":"https://api.github.com/users/MarkoFirst/events{/privacy}","received_events_url":"https://api.github.com/users/MarkoFirst/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-03-20T11:49:41Z","updated_at":"2018-03-20T12:17:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fe766938a95cf69f2ffc1e4ff263e9481af22740","assignee":null,"assignees":[],"requested_reviewers":[{"login":"DenisGayda","id":18559077,"avatar_url":"https://avatars2.githubusercontent.com/u/18559077?v=4","gravatar_id":"","url":"https://api.github.com/users/DenisGayda","html_url":"https://github.com/DenisGayda","followers_url":"https://api.github.com/users/DenisGayda/followers","following_url":"https://api.github.com/users/DenisGayda/following{/other_user}","gists_url":"https://api.github.com/users/DenisGayda/gists{/gist_id}","starred_url":"https://api.github.com/users/DenisGayda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DenisGayda/subscriptions","organizations_url":"https://api.github.com/users/DenisGayda/orgs","repos_url":"https://api.github.com/users/DenisGayda/repos","events_url":"https://api.github.com/users/DenisGayda/events{/privacy}","received_events_url":"https://api.github.com/users/DenisGayda/received_events","type":"User","site_admin":false},{"login":"cruhare","id":23285611,"avatar_url":"https://avatars0.githubusercontent.com/u/23285611?v=4","gravatar_id":"","url":"https://api.github.com/users/cruhare","html_url":"https://github.com/cruhare","followers_url":"https://api.github.com/users/cruhare/followers","following_url":"https://api.github.com/users/cruhare/following{/other_user}","gists_url":"https://api.github.com/users/cruhare/gists{/gist_id}","starred_url":"https://api.github.com/users/cruhare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cruhare/subscriptions","organizations_url":"https://api.github.com/users/cruhare/orgs","repos_url":"https://api.github.com/users/cruhare/repos","events_url":"https://api.github.com/users/cruhare/events{/privacy}","received_events_url":"https://api.github.com/users/cruhare/received_events","type":"User","site_admin":false},{"login":"AnastasiaTischenko","id":27934566,"avatar_url":"https://avatars3.githubusercontent.com/u/27934566?v=4","gravatar_id":"","url":"https://api.github.com/users/AnastasiaTischenko","html_url":"https://github.com/AnastasiaTischenko","followers_url":"https://api.github.com/users/AnastasiaTischenko/followers","following_url":"https://api.github.com/users/AnastasiaTischenko/following{/other_user}","gists_url":"https://api.github.com/users/AnastasiaTischenko/gists{/gist_id}","starred_url":"https://api.github.com/users/AnastasiaTischenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnastasiaTischenko/subscriptions","organizations_url":"https://api.github.com/users/AnastasiaTischenko/orgs","repos_url":"https://api.github.com/users/AnastasiaTischenko/repos","events_url":"https://api.github.com/users/AnastasiaTischenko/events{/privacy}","received_events_url":"https://api.github.com/users/AnastasiaTischenko/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/DenisGayda/messenger/pulls/3/commits","review_comments_url":"https://api.github.com/repos/DenisGayda/messenger/pulls/3/comments","review_comment_url":"https://api.github.com/repos/DenisGayda/messenger/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DenisGayda/messenger/issues/3/comments","statuses_url":"https://api.github.com/repos/DenisGayda/messenger/statuses/c173f3e9bd7095bd5970a15bd7d22036a8583ee6","head":{"label":"DenisGayda:TS-4","ref":"TS-4","sha":"c173f3e9bd7095bd5970a15bd7d22036a8583ee6","user":{"login":"DenisGayda","id":18559077,"avatar_url":"https://avatars2.githubusercontent.com/u/18559077?v=4","gravatar_id":"","url":"https://api.github.com/users/DenisGayda","html_url":"https://github.com/DenisGayda","followers_url":"https://api.github.com/users/DenisGayda/followers","following_url":"https://api.github.com/users/DenisGayda/following{/other_user}","gists_url":"https://api.github.com/users/DenisGayda/gists{/gist_id}","starred_url":"https://api.github.com/users/DenisGayda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DenisGayda/subscriptions","organizations_url":"https://api.github.com/users/DenisGayda/orgs","repos_url":"https://api.github.com/users/DenisGayda/repos","events_url":"https://api.github.com/users/DenisGayda/events{/privacy}","received_events_url":"https://api.github.com/users/DenisGayda/received_events","type":"User","site_admin":false},"repo":{"id":125997043,"name":"messenger","full_name":"DenisGayda/messenger","owner":{"login":"DenisGayda","id":18559077,"avatar_url":"https://avatars2.githubusercontent.com/u/18559077?v=4","gravatar_id":"","url":"https://api.github.com/users/DenisGayda","html_url":"https://github.com/DenisGayda","followers_url":"https://api.github.com/users/DenisGayda/followers","following_url":"https://api.github.com/users/DenisGayda/following{/other_user}","gists_url":"https://api.github.com/users/DenisGayda/gists{/gist_id}","starred_url":"https://api.github.com/users/DenisGayda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DenisGayda/subscriptions","organizations_url":"https://api.github.com/users/DenisGayda/orgs","repos_url":"https://api.github.com/users/DenisGayda/repos","events_url":"https://api.github.com/users/DenisGayda/events{/privacy}","received_events_url":"https://api.github.com/users/DenisGayda/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DenisGayda/messenger","description":null,"fork":false,"url":"https://api.github.com/repos/DenisGayda/messenger","forks_url":"https://api.github.com/repos/DenisGayda/messenger/forks","keys_url":"https://api.github.com/repos/DenisGayda/messenger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DenisGayda/messenger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DenisGayda/messenger/teams","hooks_url":"https://api.github.com/repos/DenisGayda/messenger/hooks","issue_events_url":"https://api.github.com/repos/DenisGayda/messenger/issues/events{/number}","events_url":"https://api.github.com/repos/DenisGayda/messenger/events","assignees_url":"https://api.github.com/repos/DenisGayda/messenger/assignees{/user}","branches_url":"https://api.github.com/repos/DenisGayda/messenger/branches{/branch}","tags_url":"https://api.github.com/repos/DenisGayda/messenger/tags","blobs_url":"https://api.github.com/repos/DenisGayda/messenger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DenisGayda/messenger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DenisGayda/messenger/git/refs{/sha}","trees_url":"https://api.github.com/repos/DenisGayda/messenger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DenisGayda/messenger/statuses/{sha}","languages_url":"https://api.github.com/repos/DenisGayda/messenger/languages","stargazers_url":"https://api.github.com/repos/DenisGayda/messenger/stargazers","contributors_url":"https://api.github.com/repos/DenisGayda/messenger/contributors","subscribers_url":"https://api.github.com/repos/DenisGayda/messenger/subscribers","subscription_url":"https://api.github.com/repos/DenisGayda/messenger/subscription","commits_url":"https://api.github.com/repos/DenisGayda/messenger/commits{/sha}","git_commits_url":"https://api.github.com/repos/DenisGayda/messenger/git/commits{/sha}","comments_url":"https://api.github.com/repos/DenisGayda/messenger/comments{/number}","issue_comment_url":"https://api.github.com/repos/DenisGayda/messenger/issues/comments{/number}","contents_url":"https://api.github.com/repos/DenisGayda/messenger/contents/{+path}","compare_url":"https://api.github.com/repos/DenisGayda/messenger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DenisGayda/messenger/merges","archive_url":"https://api.github.com/repos/DenisGayda/messenger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DenisGayda/messenger/downloads","issues_url":"https://api.github.com/repos/DenisGayda/messenger/issues{/number}","pulls_url":"https://api.github.com/repos/DenisGayda/messenger/pulls{/number}","milestones_url":"https://api.github.com/repos/DenisGayda/messenger/milestones{/number}","notifications_url":"https://api.github.com/repos/DenisGayda/messenger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DenisGayda/messenger/labels{/name}","releases_url":"https://api.github.com/repos/DenisGayda/messenger/releases{/id}","deployments_url":"https://api.github.com/repos/DenisGayda/messenger/deployments","created_at":"2018-03-20T10:00:19Z","updated_at":"2018-03-20T12:14:23Z","pushed_at":"2018-03-20T12:14:22Z","git_url":"git://github.com/DenisGayda/messenger.git","ssh_url":"git@github.com:DenisGayda/messenger.git","clone_url":"https://github.com/DenisGayda/messenger.git","svn_url":"https://github.com/DenisGayda/messenger","homepage":null,"size":118,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"DenisGayda:master","ref":"master","sha":"468334ecdc86aa551ca67c2eea1fa212de7bbd85","user":{"login":"DenisGayda","id":18559077,"avatar_url":"https://avatars2.githubusercontent.com/u/18559077?v=4","gravatar_id":"","url":"https://api.github.com/users/DenisGayda","html_url":"https://github.com/DenisGayda","followers_url":"https://api.github.com/users/DenisGayda/followers","following_url":"https://api.github.com/users/DenisGayda/following{/other_user}","gists_url":"https://api.github.com/users/DenisGayda/gists{/gist_id}","starred_url":"https://api.github.com/users/DenisGayda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DenisGayda/subscriptions","organizations_url":"https://api.github.com/users/DenisGayda/orgs","repos_url":"https://api.github.com/users/DenisGayda/repos","events_url":"https://api.github.com/users/DenisGayda/events{/privacy}","received_events_url":"https://api.github.com/users/DenisGayda/received_events","type":"User","site_admin":false},"repo":{"id":125997043,"name":"messenger","full_name":"DenisGayda/messenger","owner":{"login":"DenisGayda","id":18559077,"avatar_url":"https://avatars2.githubusercontent.com/u/18559077?v=4","gravatar_id":"","url":"https://api.github.com/users/DenisGayda","html_url":"https://github.com/DenisGayda","followers_url":"https://api.github.com/users/DenisGayda/followers","following_url":"https://api.github.com/users/DenisGayda/following{/other_user}","gists_url":"https://api.github.com/users/DenisGayda/gists{/gist_id}","starred_url":"https://api.github.com/users/DenisGayda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DenisGayda/subscriptions","organizations_url":"https://api.github.com/users/DenisGayda/orgs","repos_url":"https://api.github.com/users/DenisGayda/repos","events_url":"https://api.github.com/users/DenisGayda/events{/privacy}","received_events_url":"https://api.github.com/users/DenisGayda/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DenisGayda/messenger","description":null,"fork":false,"url":"https://api.github.com/repos/DenisGayda/messenger","forks_url":"https://api.github.com/repos/DenisGayda/messenger/forks","keys_url":"https://api.github.com/repos/DenisGayda/messenger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DenisGayda/messenger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DenisGayda/messenger/teams","hooks_url":"https://api.github.com/repos/DenisGayda/messenger/hooks","issue_events_url":"https://api.github.com/repos/DenisGayda/messenger/issues/events{/number}","events_url":"https://api.github.com/repos/DenisGayda/messenger/events","assignees_url":"https://api.github.com/repos/DenisGayda/messenger/assignees{/user}","branches_url":"https://api.github.com/repos/DenisGayda/messenger/branches{/branch}","tags_url":"https://api.github.com/repos/DenisGayda/messenger/tags","blobs_url":"https://api.github.com/repos/DenisGayda/messenger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DenisGayda/messenger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DenisGayda/messenger/git/refs{/sha}","trees_url":"https://api.github.com/repos/DenisGayda/messenger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DenisGayda/messenger/statuses/{sha}","languages_url":"https://api.github.com/repos/DenisGayda/messenger/languages","stargazers_url":"https://api.github.com/repos/DenisGayda/messenger/stargazers","contributors_url":"https://api.github.com/repos/DenisGayda/messenger/contributors","subscribers_url":"https://api.github.com/repos/DenisGayda/messenger/subscribers","subscription_url":"https://api.github.com/repos/DenisGayda/messenger/subscription","commits_url":"https://api.github.com/repos/DenisGayda/messenger/commits{/sha}","git_commits_url":"https://api.github.com/repos/DenisGayda/messenger/git/commits{/sha}","comments_url":"https://api.github.com/repos/DenisGayda/messenger/comments{/number}","issue_comment_url":"https://api.github.com/repos/DenisGayda/messenger/issues/comments{/number}","contents_url":"https://api.github.com/repos/DenisGayda/messenger/contents/{+path}","compare_url":"https://api.github.com/repos/DenisGayda/messenger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DenisGayda/messenger/merges","archive_url":"https://api.github.com/repos/DenisGayda/messenger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DenisGayda/messenger/downloads","issues_url":"https://api.github.com/repos/DenisGayda/messenger/issues{/number}","pulls_url":"https://api.github.com/repos/DenisGayda/messenger/pulls{/number}","milestones_url":"https://api.github.com/repos/DenisGayda/messenger/milestones{/number}","notifications_url":"https://api.github.com/repos/DenisGayda/messenger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DenisGayda/messenger/labels{/name}","releases_url":"https://api.github.com/repos/DenisGayda/messenger/releases{/id}","deployments_url":"https://api.github.com/repos/DenisGayda/messenger/deployments","created_at":"2018-03-20T10:00:19Z","updated_at":"2018-03-20T12:14:23Z","pushed_at":"2018-03-20T12:14:22Z","git_url":"git://github.com/DenisGayda/messenger.git","ssh_url":"git@github.com:DenisGayda/messenger.git","clone_url":"https://github.com/DenisGayda/messenger.git","svn_url":"https://github.com/DenisGayda/messenger","homepage":null,"size":118,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DenisGayda/messenger/pulls/3"},"html":{"href":"https://github.com/DenisGayda/messenger/pull/3"},"issue":{"href":"https://api.github.com/repos/DenisGayda/messenger/issues/3"},"comments":{"href":"https://api.github.com/repos/DenisGayda/messenger/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/DenisGayda/messenger/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/DenisGayda/messenger/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DenisGayda/messenger/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/DenisGayda/messenger/statuses/c173f3e9bd7095bd5970a15bd7d22036a8583ee6"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"DenisGayda"}}