{"action":"created","comment":{"url":"https://api.github.com/repos/repux/shiprace_app/pulls/comments/225896847","pull_request_review_id":165594035,"id":225896847,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNTg5Njg0Nw==","diff_hunk":"@@ -23,8 +33,13 @@ export class User {\n   @OneToMany(() => Shop, shop => shop.owner)\n   ownedShops: Shop[];\n \n-  @Column({ default: false })\n-  isAdmin: boolean;\n+  @Column('enum', { enum: UserStatus, default: UserStatus.Active })\n+  @ApiModelProperty()\n+  status: UserStatus;\n+\n+  @Column('enum', { enum: UserType, default: UserType.Undefined })","path":"backend/src/modules/shared/entities/user.entity.ts","position":29,"original_position":29,"commit_id":"97285de7a8abcc134241e6caca6f26f12f86ced3","original_commit_id":"7a716706f9435c7b19396e6cef20b7bd2e1c59b6","user":{"login":"kduralek","id":2384340,"node_id":"MDQ6VXNlcjIzODQzNDA=","avatar_url":"https://avatars0.githubusercontent.com/u/2384340?v=4","gravatar_id":"","url":"https://api.github.com/users/kduralek","html_url":"https://github.com/kduralek","followers_url":"https://api.github.com/users/kduralek/followers","following_url":"https://api.github.com/users/kduralek/following{/other_user}","gists_url":"https://api.github.com/users/kduralek/gists{/gist_id}","starred_url":"https://api.github.com/users/kduralek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kduralek/subscriptions","organizations_url":"https://api.github.com/users/kduralek/orgs","repos_url":"https://api.github.com/users/kduralek/repos","events_url":"https://api.github.com/users/kduralek/events{/privacy}","received_events_url":"https://api.github.com/users/kduralek/received_events","type":"User","site_admin":false},"body":"I would stay as it is for now :)","created_at":"2018-10-17T12:08:24Z","updated_at":"2018-10-17T12:08:24Z","html_url":"https://github.com/repux/shiprace_app/pull/17#discussion_r225896847","pull_request_url":"https://api.github.com/repos/repux/shiprace_app/pulls/17","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/repux/shiprace_app/pulls/comments/225896847"},"html":{"href":"https://github.com/repux/shiprace_app/pull/17#discussion_r225896847"},"pull_request":{"href":"https://api.github.com/repos/repux/shiprace_app/pulls/17"}},"in_reply_to_id":225866630},"pull_request":{"url":"https://api.github.com/repos/repux/shiprace_app/pulls/17","id":223544238,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIzNTQ0MjM4","html_url":"https://github.com/repux/shiprace_app/pull/17","diff_url":"https://github.com/repux/shiprace_app/pull/17.diff","patch_url":"https://github.com/repux/shiprace_app/pull/17.patch","issue_url":"https://api.github.com/repos/repux/shiprace_app/issues/17","number":17,"state":"open","locked":false,"title":"feat: User types","user":{"login":"kduralek","id":2384340,"node_id":"MDQ6VXNlcjIzODQzNDA=","avatar_url":"https://avatars0.githubusercontent.com/u/2384340?v=4","gravatar_id":"","url":"https://api.github.com/users/kduralek","html_url":"https://github.com/kduralek","followers_url":"https://api.github.com/users/kduralek/followers","following_url":"https://api.github.com/users/kduralek/following{/other_user}","gists_url":"https://api.github.com/users/kduralek/gists{/gist_id}","starred_url":"https://api.github.com/users/kduralek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kduralek/subscriptions","organizations_url":"https://api.github.com/users/kduralek/orgs","repos_url":"https://api.github.com/users/kduralek/repos","events_url":"https://api.github.com/users/kduralek/events{/privacy}","received_events_url":"https://api.github.com/users/kduralek/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-17T10:12:23Z","updated_at":"2018-10-17T12:08:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8a4e9a7a906fefe6c1a18381a0d64bd26f7fb0c3","assignee":null,"assignees":[],"requested_reviewers":[{"login":"przemczan","id":5823506,"node_id":"MDQ6VXNlcjU4MjM1MDY=","avatar_url":"https://avatars3.githubusercontent.com/u/5823506?v=4","gravatar_id":"","url":"https://api.github.com/users/przemczan","html_url":"https://github.com/przemczan","followers_url":"https://api.github.com/users/przemczan/followers","following_url":"https://api.github.com/users/przemczan/following{/other_user}","gists_url":"https://api.github.com/users/przemczan/gists{/gist_id}","starred_url":"https://api.github.com/users/przemczan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/przemczan/subscriptions","organizations_url":"https://api.github.com/users/przemczan/orgs","repos_url":"https://api.github.com/users/przemczan/repos","events_url":"https://api.github.com/users/przemczan/events{/privacy}","received_events_url":"https://api.github.com/users/przemczan/received_events","type":"User","site_admin":false},{"login":"gbar-repux","id":20282240,"node_id":"MDQ6VXNlcjIwMjgyMjQw","avatar_url":"https://avatars0.githubusercontent.com/u/20282240?v=4","gravatar_id":"","url":"https://api.github.com/users/gbar-repux","html_url":"https://github.com/gbar-repux","followers_url":"https://api.github.com/users/gbar-repux/followers","following_url":"https://api.github.com/users/gbar-repux/following{/other_user}","gists_url":"https://api.github.com/users/gbar-repux/gists{/gist_id}","starred_url":"https://api.github.com/users/gbar-repux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbar-repux/subscriptions","organizations_url":"https://api.github.com/users/gbar-repux/orgs","repos_url":"https://api.github.com/users/gbar-repux/repos","events_url":"https://api.github.com/users/gbar-repux/events{/privacy}","received_events_url":"https://api.github.com/users/gbar-repux/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/repux/shiprace_app/pulls/17/commits","review_comments_url":"https://api.github.com/repos/repux/shiprace_app/pulls/17/comments","review_comment_url":"https://api.github.com/repos/repux/shiprace_app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/repux/shiprace_app/issues/17/comments","statuses_url":"https://api.github.com/repos/repux/shiprace_app/statuses/97285de7a8abcc134241e6caca6f26f12f86ced3","head":{"label":"repux:feature/REPUX-797-user-types","ref":"feature/REPUX-797-user-types","sha":"97285de7a8abcc134241e6caca6f26f12f86ced3","user":{"login":"repux","id":33956979,"node_id":"MDQ6VXNlcjMzOTU2OTc5","avatar_url":"https://avatars1.githubusercontent.com/u/33956979?v=4","gravatar_id":"","url":"https://api.github.com/users/repux","html_url":"https://github.com/repux","followers_url":"https://api.github.com/users/repux/followers","following_url":"https://api.github.com/users/repux/following{/other_user}","gists_url":"https://api.github.com/users/repux/gists{/gist_id}","starred_url":"https://api.github.com/users/repux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/repux/subscriptions","organizations_url":"https://api.github.com/users/repux/orgs","repos_url":"https://api.github.com/users/repux/repos","events_url":"https://api.github.com/users/repux/events{/privacy}","received_events_url":"https://api.github.com/users/repux/received_events","type":"User","site_admin":false},"repo":{"id":150551652,"node_id":"MDEwOlJlcG9zaXRvcnkxNTA1NTE2NTI=","name":"shiprace_app","full_name":"repux/shiprace_app","private":false,"owner":{"login":"repux","id":33956979,"node_id":"MDQ6VXNlcjMzOTU2OTc5","avatar_url":"https://avatars1.githubusercontent.com/u/33956979?v=4","gravatar_id":"","url":"https://api.github.com/users/repux","html_url":"https://github.com/repux","followers_url":"https://api.github.com/users/repux/followers","following_url":"https://api.github.com/users/repux/following{/other_user}","gists_url":"https://api.github.com/users/repux/gists{/gist_id}","starred_url":"https://api.github.com/users/repux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/repux/subscriptions","organizations_url":"https://api.github.com/users/repux/orgs","repos_url":"https://api.github.com/users/repux/repos","events_url":"https://api.github.com/users/repux/events{/privacy}","received_events_url":"https://api.github.com/users/repux/received_events","type":"User","site_admin":false},"html_url":"https://github.com/repux/shiprace_app","description":null,"fork":false,"url":"https://api.github.com/repos/repux/shiprace_app","forks_url":"https://api.github.com/repos/repux/shiprace_app/forks","keys_url":"https://api.github.com/repos/repux/shiprace_app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/repux/shiprace_app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/repux/shiprace_app/teams","hooks_url":"https://api.github.com/repos/repux/shiprace_app/hooks","issue_events_url":"https://api.github.com/repos/repux/shiprace_app/issues/events{/number}","events_url":"https://api.github.com/repos/repux/shiprace_app/events","assignees_url":"https://api.github.com/repos/repux/shiprace_app/assignees{/user}","branches_url":"https://api.github.com/repos/repux/shiprace_app/branches{/branch}","tags_url":"https://api.github.com/repos/repux/shiprace_app/tags","blobs_url":"https://api.github.com/repos/repux/shiprace_app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/repux/shiprace_app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/repux/shiprace_app/git/refs{/sha}","trees_url":"https://api.github.com/repos/repux/shiprace_app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/repux/shiprace_app/statuses/{sha}","languages_url":"https://api.github.com/repos/repux/shiprace_app/languages","stargazers_url":"https://api.github.com/repos/repux/shiprace_app/stargazers","contributors_url":"https://api.github.com/repos/repux/shiprace_app/contributors","subscribers_url":"https://api.github.com/repos/repux/shiprace_app/subscribers","subscription_url":"https://api.github.com/repos/repux/shiprace_app/subscription","commits_url":"https://api.github.com/repos/repux/shiprace_app/commits{/sha}","git_commits_url":"https://api.github.com/repos/repux/shiprace_app/git/commits{/sha}","comments_url":"https://api.github.com/repos/repux/shiprace_app/comments{/number}","issue_comment_url":"https://api.github.com/repos/repux/shiprace_app/issues/comments{/number}","contents_url":"https://api.github.com/repos/repux/shiprace_app/contents/{+path}","compare_url":"https://api.github.com/repos/repux/shiprace_app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/repux/shiprace_app/merges","archive_url":"https://api.github.com/repos/repux/shiprace_app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/repux/shiprace_app/downloads","issues_url":"https://api.github.com/repos/repux/shiprace_app/issues{/number}","pulls_url":"https://api.github.com/repos/repux/shiprace_app/pulls{/number}","milestones_url":"https://api.github.com/repos/repux/shiprace_app/milestones{/number}","notifications_url":"https://api.github.com/repos/repux/shiprace_app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/repux/shiprace_app/labels{/name}","releases_url":"https://api.github.com/repos/repux/shiprace_app/releases{/id}","deployments_url":"https://api.github.com/repos/repux/shiprace_app/deployments","created_at":"2018-09-27T08:07:41Z","updated_at":"2018-10-16T12:50:26Z","pushed_at":"2018-10-17T12:07:31Z","git_url":"git://github.com/repux/shiprace_app.git","ssh_url":"git@github.com:repux/shiprace_app.git","clone_url":"https://github.com/repux/shiprace_app.git","svn_url":"https://github.com/repux/shiprace_app","homepage":null,"size":339,"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":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"repux:master","ref":"master","sha":"bea111904b8cda8733ca5185cf35924a8658dba5","user":{"login":"repux","id":33956979,"node_id":"MDQ6VXNlcjMzOTU2OTc5","avatar_url":"https://avatars1.githubusercontent.com/u/33956979?v=4","gravatar_id":"","url":"https://api.github.com/users/repux","html_url":"https://github.com/repux","followers_url":"https://api.github.com/users/repux/followers","following_url":"https://api.github.com/users/repux/following{/other_user}","gists_url":"https://api.github.com/users/repux/gists{/gist_id}","starred_url":"https://api.github.com/users/repux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/repux/subscriptions","organizations_url":"https://api.github.com/users/repux/orgs","repos_url":"https://api.github.com/users/repux/repos","events_url":"https://api.github.com/users/repux/events{/privacy}","received_events_url":"https://api.github.com/users/repux/received_events","type":"User","site_admin":false},"repo":{"id":150551652,"node_id":"MDEwOlJlcG9zaXRvcnkxNTA1NTE2NTI=","name":"shiprace_app","full_name":"repux/shiprace_app","private":false,"owner":{"login":"repux","id":33956979,"node_id":"MDQ6VXNlcjMzOTU2OTc5","avatar_url":"https://avatars1.githubusercontent.com/u/33956979?v=4","gravatar_id":"","url":"https://api.github.com/users/repux","html_url":"https://github.com/repux","followers_url":"https://api.github.com/users/repux/followers","following_url":"https://api.github.com/users/repux/following{/other_user}","gists_url":"https://api.github.com/users/repux/gists{/gist_id}","starred_url":"https://api.github.com/users/repux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/repux/subscriptions","organizations_url":"https://api.github.com/users/repux/orgs","repos_url":"https://api.github.com/users/repux/repos","events_url":"https://api.github.com/users/repux/events{/privacy}","received_events_url":"https://api.github.com/users/repux/received_events","type":"User","site_admin":false},"html_url":"https://github.com/repux/shiprace_app","description":null,"fork":false,"url":"https://api.github.com/repos/repux/shiprace_app","forks_url":"https://api.github.com/repos/repux/shiprace_app/forks","keys_url":"https://api.github.com/repos/repux/shiprace_app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/repux/shiprace_app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/repux/shiprace_app/teams","hooks_url":"https://api.github.com/repos/repux/shiprace_app/hooks","issue_events_url":"https://api.github.com/repos/repux/shiprace_app/issues/events{/number}","events_url":"https://api.github.com/repos/repux/shiprace_app/events","assignees_url":"https://api.github.com/repos/repux/shiprace_app/assignees{/user}","branches_url":"https://api.github.com/repos/repux/shiprace_app/branches{/branch}","tags_url":"https://api.github.com/repos/repux/shiprace_app/tags","blobs_url":"https://api.github.com/repos/repux/shiprace_app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/repux/shiprace_app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/repux/shiprace_app/git/refs{/sha}","trees_url":"https://api.github.com/repos/repux/shiprace_app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/repux/shiprace_app/statuses/{sha}","languages_url":"https://api.github.com/repos/repux/shiprace_app/languages","stargazers_url":"https://api.github.com/repos/repux/shiprace_app/stargazers","contributors_url":"https://api.github.com/repos/repux/shiprace_app/contributors","subscribers_url":"https://api.github.com/repos/repux/shiprace_app/subscribers","subscription_url":"https://api.github.com/repos/repux/shiprace_app/subscription","commits_url":"https://api.github.com/repos/repux/shiprace_app/commits{/sha}","git_commits_url":"https://api.github.com/repos/repux/shiprace_app/git/commits{/sha}","comments_url":"https://api.github.com/repos/repux/shiprace_app/comments{/number}","issue_comment_url":"https://api.github.com/repos/repux/shiprace_app/issues/comments{/number}","contents_url":"https://api.github.com/repos/repux/shiprace_app/contents/{+path}","compare_url":"https://api.github.com/repos/repux/shiprace_app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/repux/shiprace_app/merges","archive_url":"https://api.github.com/repos/repux/shiprace_app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/repux/shiprace_app/downloads","issues_url":"https://api.github.com/repos/repux/shiprace_app/issues{/number}","pulls_url":"https://api.github.com/repos/repux/shiprace_app/pulls{/number}","milestones_url":"https://api.github.com/repos/repux/shiprace_app/milestones{/number}","notifications_url":"https://api.github.com/repos/repux/shiprace_app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/repux/shiprace_app/labels{/name}","releases_url":"https://api.github.com/repos/repux/shiprace_app/releases{/id}","deployments_url":"https://api.github.com/repos/repux/shiprace_app/deployments","created_at":"2018-09-27T08:07:41Z","updated_at":"2018-10-16T12:50:26Z","pushed_at":"2018-10-17T12:07:31Z","git_url":"git://github.com/repux/shiprace_app.git","ssh_url":"git@github.com:repux/shiprace_app.git","clone_url":"https://github.com/repux/shiprace_app.git","svn_url":"https://github.com/repux/shiprace_app","homepage":null,"size":339,"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":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/repux/shiprace_app/pulls/17"},"html":{"href":"https://github.com/repux/shiprace_app/pull/17"},"issue":{"href":"https://api.github.com/repos/repux/shiprace_app/issues/17"},"comments":{"href":"https://api.github.com/repos/repux/shiprace_app/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/repux/shiprace_app/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/repux/shiprace_app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/repux/shiprace_app/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/repux/shiprace_app/statuses/97285de7a8abcc134241e6caca6f26f12f86ced3"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"kduralek"}}