{"action":"created","comment":{"url":"https://api.github.com/repos/AmyAssist/Amy-Web/pulls/comments/218434938","pull_request_review_id":156370780,"id":218434938,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxODQzNDkzOA==","diff_hunk":"@@ -0,0 +1,137 @@\n+import { Component, OnInit } from '@angular/core';\n+import { MatToolbarModule } from '@angular/material/toolbar';\n+import { TimerDataService } from '../../Services/timer-data.service';\n+import { Timer } from '../../Objects/timer';\n+import { LocalDateTime } from '../../../../Objects/LocalDateTime';\n+\n+/*\n+  Component for the timer-plugin. It recieves data from the backend with a custom timer-dataservices and displays the data over\n+  the html-template.\n+*/\n+@Component({\n+  selector: 'app-timer',\n+  templateUrl: './timer.component.html',\n+  styleUrls: ['./timer.component.css']\n+})\n+\n+export class TimerComponent implements OnInit {\n+\n+  timerData: Timer[];\n+  oneTimerData: Timer;\n+  selectedTimer: Timer;\n+  date: Date;\n+  hour: number;\n+  minute: number;\n+  second: number;\n+  /*\n+    Providing the data-service for the clock-component\n+  */\n+  constructor(private readonly clockService: TimerDataService) { }\n+\n+  ngOnInit() {\n+    this.timerData = new Array<Timer>();\n+    this.getTimers();\n+    setInterval(() => this.date = new Date(), 1000);\n+  }\n+\n+  /*\n+    Fetching all timers from the service\n+  */\n+  getTimers() {\n+    this.clockService.getTimers()\n+      .subscribe((data: Timer[]) => this.timerData = [...data]);\n+  }\n+\n+  getSpecificTimer() {\n+    this.clockService.getSpecificTimer().subscribe((data: Timer) => this.oneTimerData = data);\n+  }\n+\n+  /*\n+    Sending a timer to the service that sets it.\n+  */\n+  setTimer(hour: number, minute: number, second: number) {\n+    const timer = new Timer();\n+\n+    if (second > 59) {\n+      minute = minute + Math.floor(second / 60);\n+      second = second % 60;\n+    }\n+    if (minute > 59) {\n+      hour = hour + Math.floor(minute / 60);\n+      minute = minute % 60;\n+    }\n+    timer.timerTime = this.toLocalDateTime(hour, minute, second).toString();\n+    this.clockService.setNewTimer(timer).subscribe(data => {\n+      this.getTimers();\n+    });\n+  }\n+\n+  private toLocalDateTime(hour: number, minute: number, second: number) {\n+    const date = new Date();\n+    date.setHours(date.getHours() + hour);\n+    date.setMinutes(date.getMinutes() + minute);\n+    date.setSeconds(date.getSeconds() + second);\n+    return new LocalDateTime(date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds());\n+  }\n+\n+  deleteTimer(id: number) {\n+    this.clockService.deleteTimer(id).subscribe(data => {\n+      this.getTimers();\n+    });\n+  }\n+\n+  showEditFields(timer: Timer) {\n+    this.selectedTimer = timer;\n+  }\n+\n+  activatedeactivateTimer(timer: Timer) {\n+    this.clockService.activatedeactivateTimer(timer.id, timer).subscribe(data => {\n+      timer.active = !timer.active;\n+      this.getTimers();\n+    });\n+  }\n+\n+  timerTimeString(timer: Timer): string {\n+    const countDownDate = new Date(timer.timerTime).getTime();\n+\n+    if (!timer.active) {\n+      const timerString = timer.remainingTime.split(/[.T]/);\n+      const firstString = timerString[1];\n+\n+      const hourString = firstString.split('H');\n+      var hours = 0;\n+      var remainingString = hourString[0];\n+      if (hourString.length === 2) {\n+        hours = Number.parseInt(hourString[0]);\n+        remainingString = hourString[1];\n+      }\n+\n+      const minuteString = remainingString.split('M');\n+      var minutes = 0;\n+      var seconds = Number.parseInt(minuteString[0]);\n+      if (minuteString.length === 2) {\n+        minutes = Number.parseInt(minuteString[0]);\n+        seconds = Number.parseInt(minuteString[1]);\n+      }\n+\n+      var days = 0;\n+      if (hours > 23) {\n+        days = Math.floor(hours / 24);\n+        hours = hours % 24;\n+      }\n+\n+    } else {\n+      const now = new Date().getTime();\n+      const distance = countDownDate - now;\n+      var days = Math.floor(distance / (1000 * 60 * 60 * 24));","path":"src/app/Plugins/Timer/Components/timer/timer.component.ts","position":126,"original_position":126,"commit_id":"ad60347a36c3f3ce7efa8740b74f24f2b182a0e8","original_commit_id":"ad60347a36c3f3ce7efa8740b74f24f2b182a0e8","user":{"login":"sonarcloud[bot]","id":39514782,"node_id":"MDM6Qm90Mzk1MTQ3ODI=","avatar_url":"https://avatars2.githubusercontent.com/in/12526?v=4","gravatar_id":"","url":"https://api.github.com/users/sonarcloud%5Bbot%5D","html_url":"https://github.com/apps/sonarcloud","followers_url":"https://api.github.com/users/sonarcloud%5Bbot%5D/followers","following_url":"https://api.github.com/users/sonarcloud%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/sonarcloud%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/sonarcloud%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonarcloud%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/sonarcloud%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/sonarcloud%5Bbot%5D/repos","events_url":"https://api.github.com/users/sonarcloud%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/sonarcloud%5Bbot%5D/received_events","type":"Bot","site_admin":false},"body":"![Code Smell](https://sonarsource.github.io/sonar-github/code_smell.png 'Code Smell') Code Smell: Duplicate variable: 'days' ([typescript:S2814](https://sonarcloud.io/organizations/amyassist/rules#rule_key=typescript%3AS2814))\n\n[See it in SonarCloud](https://sonarcloud.io/project/issues?id=de.unistuttgart.iaas.amyassist%3Aamy-web&pullRequest=125&issues=AWXoL5mxOlZ5QoPzhkAR&open=AWXoL5mxOlZ5QoPzhkAR)\n\n[ISSUE_KEY]: AWXoL5mxOlZ5QoPzhkAR","created_at":"2018-09-18T13:38:47Z","updated_at":"2018-09-18T13:38:48Z","html_url":"https://github.com/AmyAssist/Amy-Web/pull/125#discussion_r218434938","pull_request_url":"https://api.github.com/repos/AmyAssist/Amy-Web/pulls/125","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/AmyAssist/Amy-Web/pulls/comments/218434938"},"html":{"href":"https://github.com/AmyAssist/Amy-Web/pull/125#discussion_r218434938"},"pull_request":{"href":"https://api.github.com/repos/AmyAssist/Amy-Web/pulls/125"}}},"pull_request":{"url":"https://api.github.com/repos/AmyAssist/Amy-Web/pulls/125","id":216020278,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE2MDIwMjc4","html_url":"https://github.com/AmyAssist/Amy-Web/pull/125","diff_url":"https://github.com/AmyAssist/Amy-Web/pull/125.diff","patch_url":"https://github.com/AmyAssist/Amy-Web/pull/125.patch","issue_url":"https://api.github.com/repos/AmyAssist/Amy-Web/issues/125","number":125,"state":"open","locked":false,"title":"Timerrefactor","user":{"login":"PatrickGe","id":39056320,"node_id":"MDQ6VXNlcjM5MDU2MzIw","avatar_url":"https://avatars3.githubusercontent.com/u/39056320?v=4","gravatar_id":"","url":"https://api.github.com/users/PatrickGe","html_url":"https://github.com/PatrickGe","followers_url":"https://api.github.com/users/PatrickGe/followers","following_url":"https://api.github.com/users/PatrickGe/following{/other_user}","gists_url":"https://api.github.com/users/PatrickGe/gists{/gist_id}","starred_url":"https://api.github.com/users/PatrickGe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PatrickGe/subscriptions","organizations_url":"https://api.github.com/users/PatrickGe/orgs","repos_url":"https://api.github.com/users/PatrickGe/repos","events_url":"https://api.github.com/users/PatrickGe/events{/privacy}","received_events_url":"https://api.github.com/users/PatrickGe/received_events","type":"User","site_admin":false},"body":"adding the timer to the WebApp","created_at":"2018-09-17T15:20:59Z","updated_at":"2018-09-18T13:38:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"efa60d7c065c464e077e430b519d20f67e6e4291","assignee":{"login":"PatrickGe","id":39056320,"node_id":"MDQ6VXNlcjM5MDU2MzIw","avatar_url":"https://avatars3.githubusercontent.com/u/39056320?v=4","gravatar_id":"","url":"https://api.github.com/users/PatrickGe","html_url":"https://github.com/PatrickGe","followers_url":"https://api.github.com/users/PatrickGe/followers","following_url":"https://api.github.com/users/PatrickGe/following{/other_user}","gists_url":"https://api.github.com/users/PatrickGe/gists{/gist_id}","starred_url":"https://api.github.com/users/PatrickGe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PatrickGe/subscriptions","organizations_url":"https://api.github.com/users/PatrickGe/orgs","repos_url":"https://api.github.com/users/PatrickGe/repos","events_url":"https://api.github.com/users/PatrickGe/events{/privacy}","received_events_url":"https://api.github.com/users/PatrickGe/received_events","type":"User","site_admin":false},"assignees":[{"login":"PatrickGe","id":39056320,"node_id":"MDQ6VXNlcjM5MDU2MzIw","avatar_url":"https://avatars3.githubusercontent.com/u/39056320?v=4","gravatar_id":"","url":"https://api.github.com/users/PatrickGe","html_url":"https://github.com/PatrickGe","followers_url":"https://api.github.com/users/PatrickGe/followers","following_url":"https://api.github.com/users/PatrickGe/following{/other_user}","gists_url":"https://api.github.com/users/PatrickGe/gists{/gist_id}","starred_url":"https://api.github.com/users/PatrickGe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PatrickGe/subscriptions","organizations_url":"https://api.github.com/users/PatrickGe/orgs","repos_url":"https://api.github.com/users/PatrickGe/repos","events_url":"https://api.github.com/users/PatrickGe/events{/privacy}","received_events_url":"https://api.github.com/users/PatrickGe/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/AmyAssist/Amy-Web/pulls/125/commits","review_comments_url":"https://api.github.com/repos/AmyAssist/Amy-Web/pulls/125/comments","review_comment_url":"https://api.github.com/repos/AmyAssist/Amy-Web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AmyAssist/Amy-Web/issues/125/comments","statuses_url":"https://api.github.com/repos/AmyAssist/Amy-Web/statuses/ad60347a36c3f3ce7efa8740b74f24f2b182a0e8","head":{"label":"AmyAssist:timerrefactor","ref":"timerrefactor","sha":"ad60347a36c3f3ce7efa8740b74f24f2b182a0e8","user":{"login":"AmyAssist","id":39340355,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5MzQwMzU1","avatar_url":"https://avatars0.githubusercontent.com/u/39340355?v=4","gravatar_id":"","url":"https://api.github.com/users/AmyAssist","html_url":"https://github.com/AmyAssist","followers_url":"https://api.github.com/users/AmyAssist/followers","following_url":"https://api.github.com/users/AmyAssist/following{/other_user}","gists_url":"https://api.github.com/users/AmyAssist/gists{/gist_id}","starred_url":"https://api.github.com/users/AmyAssist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmyAssist/subscriptions","organizations_url":"https://api.github.com/users/AmyAssist/orgs","repos_url":"https://api.github.com/users/AmyAssist/repos","events_url":"https://api.github.com/users/AmyAssist/events{/privacy}","received_events_url":"https://api.github.com/users/AmyAssist/received_events","type":"Organization","site_admin":false},"repo":{"id":134667931,"node_id":"MDEwOlJlcG9zaXRvcnkxMzQ2Njc5MzE=","name":"Amy-Web","full_name":"AmyAssist/Amy-Web","private":false,"owner":{"login":"AmyAssist","id":39340355,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5MzQwMzU1","avatar_url":"https://avatars0.githubusercontent.com/u/39340355?v=4","gravatar_id":"","url":"https://api.github.com/users/AmyAssist","html_url":"https://github.com/AmyAssist","followers_url":"https://api.github.com/users/AmyAssist/followers","following_url":"https://api.github.com/users/AmyAssist/following{/other_user}","gists_url":"https://api.github.com/users/AmyAssist/gists{/gist_id}","starred_url":"https://api.github.com/users/AmyAssist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmyAssist/subscriptions","organizations_url":"https://api.github.com/users/AmyAssist/orgs","repos_url":"https://api.github.com/users/AmyAssist/repos","events_url":"https://api.github.com/users/AmyAssist/events{/privacy}","received_events_url":"https://api.github.com/users/AmyAssist/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/AmyAssist/Amy-Web","description":"Web-App","fork":false,"url":"https://api.github.com/repos/AmyAssist/Amy-Web","forks_url":"https://api.github.com/repos/AmyAssist/Amy-Web/forks","keys_url":"https://api.github.com/repos/AmyAssist/Amy-Web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AmyAssist/Amy-Web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AmyAssist/Amy-Web/teams","hooks_url":"https://api.github.com/repos/AmyAssist/Amy-Web/hooks","issue_events_url":"https://api.github.com/repos/AmyAssist/Amy-Web/issues/events{/number}","events_url":"https://api.github.com/repos/AmyAssist/Amy-Web/events","assignees_url":"https://api.github.com/repos/AmyAssist/Amy-Web/assignees{/user}","branches_url":"https://api.github.com/repos/AmyAssist/Amy-Web/branches{/branch}","tags_url":"https://api.github.com/repos/AmyAssist/Amy-Web/tags","blobs_url":"https://api.github.com/repos/AmyAssist/Amy-Web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AmyAssist/Amy-Web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AmyAssist/Amy-Web/git/refs{/sha}","trees_url":"https://api.github.com/repos/AmyAssist/Amy-Web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AmyAssist/Amy-Web/statuses/{sha}","languages_url":"https://api.github.com/repos/AmyAssist/Amy-Web/languages","stargazers_url":"https://api.github.com/repos/AmyAssist/Amy-Web/stargazers","contributors_url":"https://api.github.com/repos/AmyAssist/Amy-Web/contributors","subscribers_url":"https://api.github.com/repos/AmyAssist/Amy-Web/subscribers","subscription_url":"https://api.github.com/repos/AmyAssist/Amy-Web/subscription","commits_url":"https://api.github.com/repos/AmyAssist/Amy-Web/commits{/sha}","git_commits_url":"https://api.github.com/repos/AmyAssist/Amy-Web/git/commits{/sha}","comments_url":"https://api.github.com/repos/AmyAssist/Amy-Web/comments{/number}","issue_comment_url":"https://api.github.com/repos/AmyAssist/Amy-Web/issues/comments{/number}","contents_url":"https://api.github.com/repos/AmyAssist/Amy-Web/contents/{+path}","compare_url":"https://api.github.com/repos/AmyAssist/Amy-Web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AmyAssist/Amy-Web/merges","archive_url":"https://api.github.com/repos/AmyAssist/Amy-Web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AmyAssist/Amy-Web/downloads","issues_url":"https://api.github.com/repos/AmyAssist/Amy-Web/issues{/number}","pulls_url":"https://api.github.com/repos/AmyAssist/Amy-Web/pulls{/number}","milestones_url":"https://api.github.com/repos/AmyAssist/Amy-Web/milestones{/number}","notifications_url":"https://api.github.com/repos/AmyAssist/Amy-Web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AmyAssist/Amy-Web/labels{/name}","releases_url":"https://api.github.com/repos/AmyAssist/Amy-Web/releases{/id}","deployments_url":"https://api.github.com/repos/AmyAssist/Amy-Web/deployments","created_at":"2018-05-24T05:57:27Z","updated_at":"2018-09-17T19:00:14Z","pushed_at":"2018-09-18T13:31:07Z","git_url":"git://github.com/AmyAssist/Amy-Web.git","ssh_url":"git@github.com:AmyAssist/Amy-Web.git","clone_url":"https://github.com/AmyAssist/Amy-Web.git","svn_url":"https://github.com/AmyAssist/Amy-Web","homepage":"https://amyassist.github.io/Amy-Web/","size":3159,"stargazers_count":5,"watchers_count":5,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":19,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":19,"watchers":5,"default_branch":"master"}},"base":{"label":"AmyAssist:master","ref":"master","sha":"63daf864c84c6e32d8cff3fb7e10adc9259d281e","user":{"login":"AmyAssist","id":39340355,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5MzQwMzU1","avatar_url":"https://avatars0.githubusercontent.com/u/39340355?v=4","gravatar_id":"","url":"https://api.github.com/users/AmyAssist","html_url":"https://github.com/AmyAssist","followers_url":"https://api.github.com/users/AmyAssist/followers","following_url":"https://api.github.com/users/AmyAssist/following{/other_user}","gists_url":"https://api.github.com/users/AmyAssist/gists{/gist_id}","starred_url":"https://api.github.com/users/AmyAssist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmyAssist/subscriptions","organizations_url":"https://api.github.com/users/AmyAssist/orgs","repos_url":"https://api.github.com/users/AmyAssist/repos","events_url":"https://api.github.com/users/AmyAssist/events{/privacy}","received_events_url":"https://api.github.com/users/AmyAssist/received_events","type":"Organization","site_admin":false},"repo":{"id":134667931,"node_id":"MDEwOlJlcG9zaXRvcnkxMzQ2Njc5MzE=","name":"Amy-Web","full_name":"AmyAssist/Amy-Web","private":false,"owner":{"login":"AmyAssist","id":39340355,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5MzQwMzU1","avatar_url":"https://avatars0.githubusercontent.com/u/39340355?v=4","gravatar_id":"","url":"https://api.github.com/users/AmyAssist","html_url":"https://github.com/AmyAssist","followers_url":"https://api.github.com/users/AmyAssist/followers","following_url":"https://api.github.com/users/AmyAssist/following{/other_user}","gists_url":"https://api.github.com/users/AmyAssist/gists{/gist_id}","starred_url":"https://api.github.com/users/AmyAssist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmyAssist/subscriptions","organizations_url":"https://api.github.com/users/AmyAssist/orgs","repos_url":"https://api.github.com/users/AmyAssist/repos","events_url":"https://api.github.com/users/AmyAssist/events{/privacy}","received_events_url":"https://api.github.com/users/AmyAssist/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/AmyAssist/Amy-Web","description":"Web-App","fork":false,"url":"https://api.github.com/repos/AmyAssist/Amy-Web","forks_url":"https://api.github.com/repos/AmyAssist/Amy-Web/forks","keys_url":"https://api.github.com/repos/AmyAssist/Amy-Web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AmyAssist/Amy-Web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AmyAssist/Amy-Web/teams","hooks_url":"https://api.github.com/repos/AmyAssist/Amy-Web/hooks","issue_events_url":"https://api.github.com/repos/AmyAssist/Amy-Web/issues/events{/number}","events_url":"https://api.github.com/repos/AmyAssist/Amy-Web/events","assignees_url":"https://api.github.com/repos/AmyAssist/Amy-Web/assignees{/user}","branches_url":"https://api.github.com/repos/AmyAssist/Amy-Web/branches{/branch}","tags_url":"https://api.github.com/repos/AmyAssist/Amy-Web/tags","blobs_url":"https://api.github.com/repos/AmyAssist/Amy-Web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AmyAssist/Amy-Web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AmyAssist/Amy-Web/git/refs{/sha}","trees_url":"https://api.github.com/repos/AmyAssist/Amy-Web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AmyAssist/Amy-Web/statuses/{sha}","languages_url":"https://api.github.com/repos/AmyAssist/Amy-Web/languages","stargazers_url":"https://api.github.com/repos/AmyAssist/Amy-Web/stargazers","contributors_url":"https://api.github.com/repos/AmyAssist/Amy-Web/contributors","subscribers_url":"https://api.github.com/repos/AmyAssist/Amy-Web/subscribers","subscription_url":"https://api.github.com/repos/AmyAssist/Amy-Web/subscription","commits_url":"https://api.github.com/repos/AmyAssist/Amy-Web/commits{/sha}","git_commits_url":"https://api.github.com/repos/AmyAssist/Amy-Web/git/commits{/sha}","comments_url":"https://api.github.com/repos/AmyAssist/Amy-Web/comments{/number}","issue_comment_url":"https://api.github.com/repos/AmyAssist/Amy-Web/issues/comments{/number}","contents_url":"https://api.github.com/repos/AmyAssist/Amy-Web/contents/{+path}","compare_url":"https://api.github.com/repos/AmyAssist/Amy-Web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AmyAssist/Amy-Web/merges","archive_url":"https://api.github.com/repos/AmyAssist/Amy-Web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AmyAssist/Amy-Web/downloads","issues_url":"https://api.github.com/repos/AmyAssist/Amy-Web/issues{/number}","pulls_url":"https://api.github.com/repos/AmyAssist/Amy-Web/pulls{/number}","milestones_url":"https://api.github.com/repos/AmyAssist/Amy-Web/milestones{/number}","notifications_url":"https://api.github.com/repos/AmyAssist/Amy-Web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AmyAssist/Amy-Web/labels{/name}","releases_url":"https://api.github.com/repos/AmyAssist/Amy-Web/releases{/id}","deployments_url":"https://api.github.com/repos/AmyAssist/Amy-Web/deployments","created_at":"2018-05-24T05:57:27Z","updated_at":"2018-09-17T19:00:14Z","pushed_at":"2018-09-18T13:31:07Z","git_url":"git://github.com/AmyAssist/Amy-Web.git","ssh_url":"git@github.com:AmyAssist/Amy-Web.git","clone_url":"https://github.com/AmyAssist/Amy-Web.git","svn_url":"https://github.com/AmyAssist/Amy-Web","homepage":"https://amyassist.github.io/Amy-Web/","size":3159,"stargazers_count":5,"watchers_count":5,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":19,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":19,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AmyAssist/Amy-Web/pulls/125"},"html":{"href":"https://github.com/AmyAssist/Amy-Web/pull/125"},"issue":{"href":"https://api.github.com/repos/AmyAssist/Amy-Web/issues/125"},"comments":{"href":"https://api.github.com/repos/AmyAssist/Amy-Web/issues/125/comments"},"review_comments":{"href":"https://api.github.com/repos/AmyAssist/Amy-Web/pulls/125/comments"},"review_comment":{"href":"https://api.github.com/repos/AmyAssist/Amy-Web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AmyAssist/Amy-Web/pulls/125/commits"},"statuses":{"href":"https://api.github.com/repos/AmyAssist/Amy-Web/statuses/ad60347a36c3f3ce7efa8740b74f24f2b182a0e8"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"sonarcloud"}}