{"action":"created","comment":{"url":"https://api.github.com/repos/Ikagaka/shiorif/pulls/comments/88794661","pull_request_review_id":9358709,"id":88794661,"diff_hunk":"@@ -0,0 +1,226 @@\n+import * as ShioriJK from \"shiorijk\";\n+import {ShioriTransaction} from \"shiori_transaction\";\n+import {EventEmitter} from \"events\";\n+import {Shiori} from \"shioriloader\";\n+import {ShioriConverter} from \"shiori_converter\";\n+\n+/** The convenient SHIORI Shared Library Interface */\n+export class Shiorif extends EventEmitter {\n+  /**\n+   * convert array values to Reference* hash\n+   * @param headersArray header array values\n+   * @return headers hash\n+   */\n+  static referencesFromArray(headersArray: string[]) {\n+    const headers: {[name: string]: string} = {};\n+    headersArray.forEach((header, index) => {\n+      if (header != null) headers[`Reference${index}`] = header;\n+    });\n+    return headers;\n+  }\n+\n+  private readonly _shiori: Shiori;","path":"src/lib/shiorif.ts","position":22,"original_position":22,"commit_id":"76242a889d6fa5151cdc91b3ffea2b87a4dc6d3e","original_commit_id":"76242a889d6fa5151cdc91b3ffea2b87a4dc6d3e","user":{"login":"Narazaka","id":1712548,"avatar_url":"https://avatars.githubusercontent.com/u/1712548?v=3","gravatar_id":"","url":"https://api.github.com/users/Narazaka","html_url":"https://github.com/Narazaka","followers_url":"https://api.github.com/users/Narazaka/followers","following_url":"https://api.github.com/users/Narazaka/following{/other_user}","gists_url":"https://api.github.com/users/Narazaka/gists{/gist_id}","starred_url":"https://api.github.com/users/Narazaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Narazaka/subscriptions","organizations_url":"https://api.github.com/users/Narazaka/orgs","repos_url":"https://api.github.com/users/Narazaka/repos","events_url":"https://api.github.com/users/Narazaka/events{/privacy}","received_events_url":"https://api.github.com/users/Narazaka/received_events","type":"User","site_admin":false},"body":"__[tslint]__\n* variable name must be in camelcase or uppercase\n\n<!-- Comment by [SideCI](https://sideci.com) -->","created_at":"2016-11-20T06:45:18Z","updated_at":"2016-11-20T06:45:18Z","html_url":"https://github.com/Ikagaka/shiorif/pull/1#discussion_r88794661","pull_request_url":"https://api.github.com/repos/Ikagaka/shiorif/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/Ikagaka/shiorif/pulls/comments/88794661"},"html":{"href":"https://github.com/Ikagaka/shiorif/pull/1#discussion_r88794661"},"pull_request":{"href":"https://api.github.com/repos/Ikagaka/shiorif/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/Ikagaka/shiorif/pulls/1","id":94509228,"html_url":"https://github.com/Ikagaka/shiorif/pull/1","diff_url":"https://github.com/Ikagaka/shiorif/pull/1.diff","patch_url":"https://github.com/Ikagaka/shiorif/pull/1.patch","issue_url":"https://api.github.com/repos/Ikagaka/shiorif/issues/1","number":1,"state":"open","locked":false,"title":"to (re) typescript","user":{"login":"Narazaka","id":1712548,"avatar_url":"https://avatars.githubusercontent.com/u/1712548?v=3","gravatar_id":"","url":"https://api.github.com/users/Narazaka","html_url":"https://github.com/Narazaka","followers_url":"https://api.github.com/users/Narazaka/followers","following_url":"https://api.github.com/users/Narazaka/following{/other_user}","gists_url":"https://api.github.com/users/Narazaka/gists{/gist_id}","starred_url":"https://api.github.com/users/Narazaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Narazaka/subscriptions","organizations_url":"https://api.github.com/users/Narazaka/orgs","repos_url":"https://api.github.com/users/Narazaka/repos","events_url":"https://api.github.com/users/Narazaka/events{/privacy}","received_events_url":"https://api.github.com/users/Narazaka/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-20T06:42:02Z","updated_at":"2016-11-20T06:45:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2458e92897a4f3e8602670efcb53bb68dcd8db5f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Ikagaka/shiorif/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Ikagaka/shiorif/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Ikagaka/shiorif/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Ikagaka/shiorif/issues/1/comments","statuses_url":"https://api.github.com/repos/Ikagaka/shiorif/statuses/76242a889d6fa5151cdc91b3ffea2b87a4dc6d3e","head":{"label":"Ikagaka:ts","ref":"ts","sha":"76242a889d6fa5151cdc91b3ffea2b87a4dc6d3e","user":{"login":"Ikagaka","id":9678499,"avatar_url":"https://avatars.githubusercontent.com/u/9678499?v=3","gravatar_id":"","url":"https://api.github.com/users/Ikagaka","html_url":"https://github.com/Ikagaka","followers_url":"https://api.github.com/users/Ikagaka/followers","following_url":"https://api.github.com/users/Ikagaka/following{/other_user}","gists_url":"https://api.github.com/users/Ikagaka/gists{/gist_id}","starred_url":"https://api.github.com/users/Ikagaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ikagaka/subscriptions","organizations_url":"https://api.github.com/users/Ikagaka/orgs","repos_url":"https://api.github.com/users/Ikagaka/repos","events_url":"https://api.github.com/users/Ikagaka/events{/privacy}","received_events_url":"https://api.github.com/users/Ikagaka/received_events","type":"Organization","site_admin":false},"repo":{"id":44900375,"name":"shiorif","full_name":"Ikagaka/shiorif","owner":{"login":"Ikagaka","id":9678499,"avatar_url":"https://avatars.githubusercontent.com/u/9678499?v=3","gravatar_id":"","url":"https://api.github.com/users/Ikagaka","html_url":"https://github.com/Ikagaka","followers_url":"https://api.github.com/users/Ikagaka/followers","following_url":"https://api.github.com/users/Ikagaka/following{/other_user}","gists_url":"https://api.github.com/users/Ikagaka/gists{/gist_id}","starred_url":"https://api.github.com/users/Ikagaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ikagaka/subscriptions","organizations_url":"https://api.github.com/users/Ikagaka/orgs","repos_url":"https://api.github.com/users/Ikagaka/repos","events_url":"https://api.github.com/users/Ikagaka/events{/privacy}","received_events_url":"https://api.github.com/users/Ikagaka/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Ikagaka/shiorif","description":"The convenient SHIORI Shared Library Interface","fork":false,"url":"https://api.github.com/repos/Ikagaka/shiorif","forks_url":"https://api.github.com/repos/Ikagaka/shiorif/forks","keys_url":"https://api.github.com/repos/Ikagaka/shiorif/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ikagaka/shiorif/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ikagaka/shiorif/teams","hooks_url":"https://api.github.com/repos/Ikagaka/shiorif/hooks","issue_events_url":"https://api.github.com/repos/Ikagaka/shiorif/issues/events{/number}","events_url":"https://api.github.com/repos/Ikagaka/shiorif/events","assignees_url":"https://api.github.com/repos/Ikagaka/shiorif/assignees{/user}","branches_url":"https://api.github.com/repos/Ikagaka/shiorif/branches{/branch}","tags_url":"https://api.github.com/repos/Ikagaka/shiorif/tags","blobs_url":"https://api.github.com/repos/Ikagaka/shiorif/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ikagaka/shiorif/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ikagaka/shiorif/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ikagaka/shiorif/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ikagaka/shiorif/statuses/{sha}","languages_url":"https://api.github.com/repos/Ikagaka/shiorif/languages","stargazers_url":"https://api.github.com/repos/Ikagaka/shiorif/stargazers","contributors_url":"https://api.github.com/repos/Ikagaka/shiorif/contributors","subscribers_url":"https://api.github.com/repos/Ikagaka/shiorif/subscribers","subscription_url":"https://api.github.com/repos/Ikagaka/shiorif/subscription","commits_url":"https://api.github.com/repos/Ikagaka/shiorif/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ikagaka/shiorif/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ikagaka/shiorif/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ikagaka/shiorif/issues/comments{/number}","contents_url":"https://api.github.com/repos/Ikagaka/shiorif/contents/{+path}","compare_url":"https://api.github.com/repos/Ikagaka/shiorif/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ikagaka/shiorif/merges","archive_url":"https://api.github.com/repos/Ikagaka/shiorif/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ikagaka/shiorif/downloads","issues_url":"https://api.github.com/repos/Ikagaka/shiorif/issues{/number}","pulls_url":"https://api.github.com/repos/Ikagaka/shiorif/pulls{/number}","milestones_url":"https://api.github.com/repos/Ikagaka/shiorif/milestones{/number}","notifications_url":"https://api.github.com/repos/Ikagaka/shiorif/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ikagaka/shiorif/labels{/name}","releases_url":"https://api.github.com/repos/Ikagaka/shiorif/releases{/id}","deployments_url":"https://api.github.com/repos/Ikagaka/shiorif/deployments","created_at":"2015-10-25T07:19:06Z","updated_at":"2016-08-09T18:42:53Z","pushed_at":"2016-11-20T06:42:02Z","git_url":"git://github.com/Ikagaka/shiorif.git","ssh_url":"git@github.com:Ikagaka/shiorif.git","clone_url":"https://github.com/Ikagaka/shiorif.git","svn_url":"https://github.com/Ikagaka/shiorif","homepage":null,"size":227,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Ikagaka:master","ref":"master","sha":"62a66301040992a4e0ca7b0e344eba89ef67259c","user":{"login":"Ikagaka","id":9678499,"avatar_url":"https://avatars.githubusercontent.com/u/9678499?v=3","gravatar_id":"","url":"https://api.github.com/users/Ikagaka","html_url":"https://github.com/Ikagaka","followers_url":"https://api.github.com/users/Ikagaka/followers","following_url":"https://api.github.com/users/Ikagaka/following{/other_user}","gists_url":"https://api.github.com/users/Ikagaka/gists{/gist_id}","starred_url":"https://api.github.com/users/Ikagaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ikagaka/subscriptions","organizations_url":"https://api.github.com/users/Ikagaka/orgs","repos_url":"https://api.github.com/users/Ikagaka/repos","events_url":"https://api.github.com/users/Ikagaka/events{/privacy}","received_events_url":"https://api.github.com/users/Ikagaka/received_events","type":"Organization","site_admin":false},"repo":{"id":44900375,"name":"shiorif","full_name":"Ikagaka/shiorif","owner":{"login":"Ikagaka","id":9678499,"avatar_url":"https://avatars.githubusercontent.com/u/9678499?v=3","gravatar_id":"","url":"https://api.github.com/users/Ikagaka","html_url":"https://github.com/Ikagaka","followers_url":"https://api.github.com/users/Ikagaka/followers","following_url":"https://api.github.com/users/Ikagaka/following{/other_user}","gists_url":"https://api.github.com/users/Ikagaka/gists{/gist_id}","starred_url":"https://api.github.com/users/Ikagaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ikagaka/subscriptions","organizations_url":"https://api.github.com/users/Ikagaka/orgs","repos_url":"https://api.github.com/users/Ikagaka/repos","events_url":"https://api.github.com/users/Ikagaka/events{/privacy}","received_events_url":"https://api.github.com/users/Ikagaka/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Ikagaka/shiorif","description":"The convenient SHIORI Shared Library Interface","fork":false,"url":"https://api.github.com/repos/Ikagaka/shiorif","forks_url":"https://api.github.com/repos/Ikagaka/shiorif/forks","keys_url":"https://api.github.com/repos/Ikagaka/shiorif/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ikagaka/shiorif/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ikagaka/shiorif/teams","hooks_url":"https://api.github.com/repos/Ikagaka/shiorif/hooks","issue_events_url":"https://api.github.com/repos/Ikagaka/shiorif/issues/events{/number}","events_url":"https://api.github.com/repos/Ikagaka/shiorif/events","assignees_url":"https://api.github.com/repos/Ikagaka/shiorif/assignees{/user}","branches_url":"https://api.github.com/repos/Ikagaka/shiorif/branches{/branch}","tags_url":"https://api.github.com/repos/Ikagaka/shiorif/tags","blobs_url":"https://api.github.com/repos/Ikagaka/shiorif/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ikagaka/shiorif/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ikagaka/shiorif/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ikagaka/shiorif/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ikagaka/shiorif/statuses/{sha}","languages_url":"https://api.github.com/repos/Ikagaka/shiorif/languages","stargazers_url":"https://api.github.com/repos/Ikagaka/shiorif/stargazers","contributors_url":"https://api.github.com/repos/Ikagaka/shiorif/contributors","subscribers_url":"https://api.github.com/repos/Ikagaka/shiorif/subscribers","subscription_url":"https://api.github.com/repos/Ikagaka/shiorif/subscription","commits_url":"https://api.github.com/repos/Ikagaka/shiorif/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ikagaka/shiorif/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ikagaka/shiorif/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ikagaka/shiorif/issues/comments{/number}","contents_url":"https://api.github.com/repos/Ikagaka/shiorif/contents/{+path}","compare_url":"https://api.github.com/repos/Ikagaka/shiorif/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ikagaka/shiorif/merges","archive_url":"https://api.github.com/repos/Ikagaka/shiorif/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ikagaka/shiorif/downloads","issues_url":"https://api.github.com/repos/Ikagaka/shiorif/issues{/number}","pulls_url":"https://api.github.com/repos/Ikagaka/shiorif/pulls{/number}","milestones_url":"https://api.github.com/repos/Ikagaka/shiorif/milestones{/number}","notifications_url":"https://api.github.com/repos/Ikagaka/shiorif/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ikagaka/shiorif/labels{/name}","releases_url":"https://api.github.com/repos/Ikagaka/shiorif/releases{/id}","deployments_url":"https://api.github.com/repos/Ikagaka/shiorif/deployments","created_at":"2015-10-25T07:19:06Z","updated_at":"2016-08-09T18:42:53Z","pushed_at":"2016-11-20T06:42:02Z","git_url":"git://github.com/Ikagaka/shiorif.git","ssh_url":"git@github.com:Ikagaka/shiorif.git","clone_url":"https://github.com/Ikagaka/shiorif.git","svn_url":"https://github.com/Ikagaka/shiorif","homepage":null,"size":227,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Ikagaka/shiorif/pulls/1"},"html":{"href":"https://github.com/Ikagaka/shiorif/pull/1"},"issue":{"href":"https://api.github.com/repos/Ikagaka/shiorif/issues/1"},"comments":{"href":"https://api.github.com/repos/Ikagaka/shiorif/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Ikagaka/shiorif/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Ikagaka/shiorif/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Ikagaka/shiorif/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Ikagaka/shiorif/statuses/76242a889d6fa5151cdc91b3ffea2b87a4dc6d3e"}}}}
{"actor":{"display_login":"Narazaka"}}