{"action":"created","comment":{"url":"https://api.github.com/repos/dstil/google-drive-persistence/pulls/comments/73814595","id":73814595,"diff_hunk":"@@ -0,0 +1,65 @@\n+import google from 'googleapis';\n+import Promise from 'bluebird';\n+\n+const SERVICE = google.drive('v3');\n+const DRIVE_FILES = Promise.promisifyAll(SERVICE.files);\n+\n+const MIME_TYPES = {\n+  plainText: 'text/plain',\n+  htmlText: 'text/html',\n+  googleDriveDocument: 'application/vnd.google-apps.document'\n+};\n+\n+export default class GoogleDrivePersistence {\n+\n+  static get getMimeTypes() {","path":"lib/googleDrivePersistence.js","position":15,"original_position":15,"commit_id":"f02590bdbd7d1f622fbe07cdf69a6bc41494e365","original_commit_id":"f02590bdbd7d1f622fbe07cdf69a6bc41494e365","user":{"login":"lukehorvat","id":1034878,"avatar_url":"https://avatars.githubusercontent.com/u/1034878?v=3","gravatar_id":"","url":"https://api.github.com/users/lukehorvat","html_url":"https://github.com/lukehorvat","followers_url":"https://api.github.com/users/lukehorvat/followers","following_url":"https://api.github.com/users/lukehorvat/following{/other_user}","gists_url":"https://api.github.com/users/lukehorvat/gists{/gist_id}","starred_url":"https://api.github.com/users/lukehorvat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukehorvat/subscriptions","organizations_url":"https://api.github.com/users/lukehorvat/orgs","repos_url":"https://api.github.com/users/lukehorvat/repos","events_url":"https://api.github.com/users/lukehorvat/events{/privacy}","received_events_url":"https://api.github.com/users/lukehorvat/received_events","type":"User","site_admin":false},"body":"Since it's a getter, name it `static get mimeTypes() {`.","created_at":"2016-08-08T01:48:49Z","updated_at":"2016-08-08T01:48:49Z","html_url":"https://github.com/dstil/google-drive-persistence/pull/1#discussion_r73814595","pull_request_url":"https://api.github.com/repos/dstil/google-drive-persistence/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/dstil/google-drive-persistence/pulls/comments/73814595"},"html":{"href":"https://github.com/dstil/google-drive-persistence/pull/1#discussion_r73814595"},"pull_request":{"href":"https://api.github.com/repos/dstil/google-drive-persistence/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/dstil/google-drive-persistence/pulls/1","id":80005548,"html_url":"https://github.com/dstil/google-drive-persistence/pull/1","diff_url":"https://github.com/dstil/google-drive-persistence/pull/1.diff","patch_url":"https://github.com/dstil/google-drive-persistence/pull/1.patch","issue_url":"https://api.github.com/repos/dstil/google-drive-persistence/issues/1","number":1,"state":"open","locked":false,"title":"FEATURE: Populate repo","user":{"login":"stankowalczyk","id":10013675,"avatar_url":"https://avatars.githubusercontent.com/u/10013675?v=3","gravatar_id":"","url":"https://api.github.com/users/stankowalczyk","html_url":"https://github.com/stankowalczyk","followers_url":"https://api.github.com/users/stankowalczyk/followers","following_url":"https://api.github.com/users/stankowalczyk/following{/other_user}","gists_url":"https://api.github.com/users/stankowalczyk/gists{/gist_id}","starred_url":"https://api.github.com/users/stankowalczyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stankowalczyk/subscriptions","organizations_url":"https://api.github.com/users/stankowalczyk/orgs","repos_url":"https://api.github.com/users/stankowalczyk/repos","events_url":"https://api.github.com/users/stankowalczyk/events{/privacy}","received_events_url":"https://api.github.com/users/stankowalczyk/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-04T01:28:12Z","updated_at":"2016-08-08T01:48:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0cf7c540ec9a13eafe4d17bbb12c03c3b3793362","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/dstil/google-drive-persistence/pulls/1/commits","review_comments_url":"https://api.github.com/repos/dstil/google-drive-persistence/pulls/1/comments","review_comment_url":"https://api.github.com/repos/dstil/google-drive-persistence/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dstil/google-drive-persistence/issues/1/comments","statuses_url":"https://api.github.com/repos/dstil/google-drive-persistence/statuses/f02590bdbd7d1f622fbe07cdf69a6bc41494e365","head":{"label":"stankowalczyk:feature/populate-repo","ref":"feature/populate-repo","sha":"f02590bdbd7d1f622fbe07cdf69a6bc41494e365","user":{"login":"stankowalczyk","id":10013675,"avatar_url":"https://avatars.githubusercontent.com/u/10013675?v=3","gravatar_id":"","url":"https://api.github.com/users/stankowalczyk","html_url":"https://github.com/stankowalczyk","followers_url":"https://api.github.com/users/stankowalczyk/followers","following_url":"https://api.github.com/users/stankowalczyk/following{/other_user}","gists_url":"https://api.github.com/users/stankowalczyk/gists{/gist_id}","starred_url":"https://api.github.com/users/stankowalczyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stankowalczyk/subscriptions","organizations_url":"https://api.github.com/users/stankowalczyk/orgs","repos_url":"https://api.github.com/users/stankowalczyk/repos","events_url":"https://api.github.com/users/stankowalczyk/events{/privacy}","received_events_url":"https://api.github.com/users/stankowalczyk/received_events","type":"User","site_admin":false},"repo":{"id":64884830,"name":"google-drive-persistence","full_name":"stankowalczyk/google-drive-persistence","owner":{"login":"stankowalczyk","id":10013675,"avatar_url":"https://avatars.githubusercontent.com/u/10013675?v=3","gravatar_id":"","url":"https://api.github.com/users/stankowalczyk","html_url":"https://github.com/stankowalczyk","followers_url":"https://api.github.com/users/stankowalczyk/followers","following_url":"https://api.github.com/users/stankowalczyk/following{/other_user}","gists_url":"https://api.github.com/users/stankowalczyk/gists{/gist_id}","starred_url":"https://api.github.com/users/stankowalczyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stankowalczyk/subscriptions","organizations_url":"https://api.github.com/users/stankowalczyk/orgs","repos_url":"https://api.github.com/users/stankowalczyk/repos","events_url":"https://api.github.com/users/stankowalczyk/events{/privacy}","received_events_url":"https://api.github.com/users/stankowalczyk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stankowalczyk/google-drive-persistence","description":null,"fork":true,"url":"https://api.github.com/repos/stankowalczyk/google-drive-persistence","forks_url":"https://api.github.com/repos/stankowalczyk/google-drive-persistence/forks","keys_url":"https://api.github.com/repos/stankowalczyk/google-drive-persistence/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stankowalczyk/google-drive-persistence/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stankowalczyk/google-drive-persistence/teams","hooks_url":"https://api.github.com/repos/stankowalczyk/google-drive-persistence/hooks","issue_events_url":"https://api.github.com/repos/stankowalczyk/google-drive-persistence/issues/events{/number}","events_url":"https://api.github.com/repos/stankowalczyk/google-drive-persistence/events","assignees_url":"https://api.github.com/repos/stankowalczyk/google-drive-persistence/assignees{/user}","branches_url":"https://api.github.com/repos/stankowalczyk/google-drive-persistence/branches{/branch}","tags_url":"https://api.github.com/repos/stankowalczyk/google-drive-persistence/tags","blobs_url":"https://api.github.com/repos/stankowalczyk/google-drive-persistence/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stankowalczyk/google-drive-persistence/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stankowalczyk/google-drive-persistence/git/refs{/sha}","trees_url":"https://api.github.com/repos/stankowalczyk/google-drive-persistence/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stankowalczyk/google-drive-persistence/statuses/{sha}","languages_url":"https://api.github.com/repos/stankowalczyk/google-drive-persistence/languages","stargazers_url":"https://api.github.com/repos/stankowalczyk/google-drive-persistence/stargazers","contributors_url":"https://api.github.com/repos/stankowalczyk/google-drive-persistence/contributors","subscribers_url":"https://api.github.com/repos/stankowalczyk/google-drive-persistence/subscribers","subscription_url":"https://api.github.com/repos/stankowalczyk/google-drive-persistence/subscription","commits_url":"https://api.github.com/repos/stankowalczyk/google-drive-persistence/commits{/sha}","git_commits_url":"https://api.github.com/repos/stankowalczyk/google-drive-persistence/git/commits{/sha}","comments_url":"https://api.github.com/repos/stankowalczyk/google-drive-persistence/comments{/number}","issue_comment_url":"https://api.github.com/repos/stankowalczyk/google-drive-persistence/issues/comments{/number}","contents_url":"https://api.github.com/repos/stankowalczyk/google-drive-persistence/contents/{+path}","compare_url":"https://api.github.com/repos/stankowalczyk/google-drive-persistence/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stankowalczyk/google-drive-persistence/merges","archive_url":"https://api.github.com/repos/stankowalczyk/google-drive-persistence/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stankowalczyk/google-drive-persistence/downloads","issues_url":"https://api.github.com/repos/stankowalczyk/google-drive-persistence/issues{/number}","pulls_url":"https://api.github.com/repos/stankowalczyk/google-drive-persistence/pulls{/number}","milestones_url":"https://api.github.com/repos/stankowalczyk/google-drive-persistence/milestones{/number}","notifications_url":"https://api.github.com/repos/stankowalczyk/google-drive-persistence/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stankowalczyk/google-drive-persistence/labels{/name}","releases_url":"https://api.github.com/repos/stankowalczyk/google-drive-persistence/releases{/id}","deployments_url":"https://api.github.com/repos/stankowalczyk/google-drive-persistence/deployments","created_at":"2016-08-03T22:53:56Z","updated_at":"2016-08-03T05:23:48Z","pushed_at":"2016-08-07T23:24:16Z","git_url":"git://github.com/stankowalczyk/google-drive-persistence.git","ssh_url":"git@github.com:stankowalczyk/google-drive-persistence.git","clone_url":"https://github.com/stankowalczyk/google-drive-persistence.git","svn_url":"https://github.com/stankowalczyk/google-drive-persistence","homepage":null,"size":11,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dstil:master","ref":"master","sha":"d25ed9cadbf2114f1fdc247c94776dabc8f76123","user":{"login":"dstil","id":17172752,"avatar_url":"https://avatars.githubusercontent.com/u/17172752?v=3","gravatar_id":"","url":"https://api.github.com/users/dstil","html_url":"https://github.com/dstil","followers_url":"https://api.github.com/users/dstil/followers","following_url":"https://api.github.com/users/dstil/following{/other_user}","gists_url":"https://api.github.com/users/dstil/gists{/gist_id}","starred_url":"https://api.github.com/users/dstil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dstil/subscriptions","organizations_url":"https://api.github.com/users/dstil/orgs","repos_url":"https://api.github.com/users/dstil/repos","events_url":"https://api.github.com/users/dstil/events{/privacy}","received_events_url":"https://api.github.com/users/dstil/received_events","type":"Organization","site_admin":false},"repo":{"id":64817383,"name":"google-drive-persistence","full_name":"dstil/google-drive-persistence","owner":{"login":"dstil","id":17172752,"avatar_url":"https://avatars.githubusercontent.com/u/17172752?v=3","gravatar_id":"","url":"https://api.github.com/users/dstil","html_url":"https://github.com/dstil","followers_url":"https://api.github.com/users/dstil/followers","following_url":"https://api.github.com/users/dstil/following{/other_user}","gists_url":"https://api.github.com/users/dstil/gists{/gist_id}","starred_url":"https://api.github.com/users/dstil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dstil/subscriptions","organizations_url":"https://api.github.com/users/dstil/orgs","repos_url":"https://api.github.com/users/dstil/repos","events_url":"https://api.github.com/users/dstil/events{/privacy}","received_events_url":"https://api.github.com/users/dstil/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dstil/google-drive-persistence","description":null,"fork":false,"url":"https://api.github.com/repos/dstil/google-drive-persistence","forks_url":"https://api.github.com/repos/dstil/google-drive-persistence/forks","keys_url":"https://api.github.com/repos/dstil/google-drive-persistence/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dstil/google-drive-persistence/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dstil/google-drive-persistence/teams","hooks_url":"https://api.github.com/repos/dstil/google-drive-persistence/hooks","issue_events_url":"https://api.github.com/repos/dstil/google-drive-persistence/issues/events{/number}","events_url":"https://api.github.com/repos/dstil/google-drive-persistence/events","assignees_url":"https://api.github.com/repos/dstil/google-drive-persistence/assignees{/user}","branches_url":"https://api.github.com/repos/dstil/google-drive-persistence/branches{/branch}","tags_url":"https://api.github.com/repos/dstil/google-drive-persistence/tags","blobs_url":"https://api.github.com/repos/dstil/google-drive-persistence/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dstil/google-drive-persistence/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dstil/google-drive-persistence/git/refs{/sha}","trees_url":"https://api.github.com/repos/dstil/google-drive-persistence/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dstil/google-drive-persistence/statuses/{sha}","languages_url":"https://api.github.com/repos/dstil/google-drive-persistence/languages","stargazers_url":"https://api.github.com/repos/dstil/google-drive-persistence/stargazers","contributors_url":"https://api.github.com/repos/dstil/google-drive-persistence/contributors","subscribers_url":"https://api.github.com/repos/dstil/google-drive-persistence/subscribers","subscription_url":"https://api.github.com/repos/dstil/google-drive-persistence/subscription","commits_url":"https://api.github.com/repos/dstil/google-drive-persistence/commits{/sha}","git_commits_url":"https://api.github.com/repos/dstil/google-drive-persistence/git/commits{/sha}","comments_url":"https://api.github.com/repos/dstil/google-drive-persistence/comments{/number}","issue_comment_url":"https://api.github.com/repos/dstil/google-drive-persistence/issues/comments{/number}","contents_url":"https://api.github.com/repos/dstil/google-drive-persistence/contents/{+path}","compare_url":"https://api.github.com/repos/dstil/google-drive-persistence/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dstil/google-drive-persistence/merges","archive_url":"https://api.github.com/repos/dstil/google-drive-persistence/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dstil/google-drive-persistence/downloads","issues_url":"https://api.github.com/repos/dstil/google-drive-persistence/issues{/number}","pulls_url":"https://api.github.com/repos/dstil/google-drive-persistence/pulls{/number}","milestones_url":"https://api.github.com/repos/dstil/google-drive-persistence/milestones{/number}","notifications_url":"https://api.github.com/repos/dstil/google-drive-persistence/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dstil/google-drive-persistence/labels{/name}","releases_url":"https://api.github.com/repos/dstil/google-drive-persistence/releases{/id}","deployments_url":"https://api.github.com/repos/dstil/google-drive-persistence/deployments","created_at":"2016-08-03T05:23:28Z","updated_at":"2016-08-03T05:23:48Z","pushed_at":"2016-08-07T23:24:16Z","git_url":"git://github.com/dstil/google-drive-persistence.git","ssh_url":"git@github.com:dstil/google-drive-persistence.git","clone_url":"https://github.com/dstil/google-drive-persistence.git","svn_url":"https://github.com/dstil/google-drive-persistence","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dstil/google-drive-persistence/pulls/1"},"html":{"href":"https://github.com/dstil/google-drive-persistence/pull/1"},"issue":{"href":"https://api.github.com/repos/dstil/google-drive-persistence/issues/1"},"comments":{"href":"https://api.github.com/repos/dstil/google-drive-persistence/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/dstil/google-drive-persistence/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/dstil/google-drive-persistence/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dstil/google-drive-persistence/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/dstil/google-drive-persistence/statuses/f02590bdbd7d1f622fbe07cdf69a6bc41494e365"}}}}
{"actor":{"display_login":"lukehorvat"}}