{"action":"opened","number":562,"pull_request":{"url":"https://api.github.com/repos/vitaly-t/pg-promise/pulls/562","id":224246427,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI0MjQ2NDI3","html_url":"https://github.com/vitaly-t/pg-promise/pull/562","diff_url":"https://github.com/vitaly-t/pg-promise/pull/562.diff","patch_url":"https://github.com/vitaly-t/pg-promise/pull/562.patch","issue_url":"https://api.github.com/repos/vitaly-t/pg-promise/issues/562","number":562,"state":"open","locked":false,"title":"Tweak TypeScript return type for `oneOrNone`","user":{"login":"benhjames","id":5571753,"node_id":"MDQ6VXNlcjU1NzE3NTM=","avatar_url":"https://avatars3.githubusercontent.com/u/5571753?v=4","gravatar_id":"","url":"https://api.github.com/users/benhjames","html_url":"https://github.com/benhjames","followers_url":"https://api.github.com/users/benhjames/followers","following_url":"https://api.github.com/users/benhjames/following{/other_user}","gists_url":"https://api.github.com/users/benhjames/gists{/gist_id}","starred_url":"https://api.github.com/users/benhjames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benhjames/subscriptions","organizations_url":"https://api.github.com/users/benhjames/orgs","repos_url":"https://api.github.com/users/benhjames/repos","events_url":"https://api.github.com/users/benhjames/events{/privacy}","received_events_url":"https://api.github.com/users/benhjames/received_events","type":"User","site_admin":false},"body":"Since `oneOrNone` can return null, it's probably more ergonomic to write `oneOrNone<{ foo: \"bar\" }>(...)` than `oneOrNone<{ foo: \"bar\"} | null>(...)`","created_at":"2018-10-19T10:50:47Z","updated_at":"2018-10-19T10:50:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/vitaly-t/pg-promise/pulls/562/commits","review_comments_url":"https://api.github.com/repos/vitaly-t/pg-promise/pulls/562/comments","review_comment_url":"https://api.github.com/repos/vitaly-t/pg-promise/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vitaly-t/pg-promise/issues/562/comments","statuses_url":"https://api.github.com/repos/vitaly-t/pg-promise/statuses/6906728421a3167e0eea06dd7cf9be2c0aa9a3c8","head":{"label":"benhjames:patch-1","ref":"patch-1","sha":"6906728421a3167e0eea06dd7cf9be2c0aa9a3c8","user":{"login":"benhjames","id":5571753,"node_id":"MDQ6VXNlcjU1NzE3NTM=","avatar_url":"https://avatars3.githubusercontent.com/u/5571753?v=4","gravatar_id":"","url":"https://api.github.com/users/benhjames","html_url":"https://github.com/benhjames","followers_url":"https://api.github.com/users/benhjames/followers","following_url":"https://api.github.com/users/benhjames/following{/other_user}","gists_url":"https://api.github.com/users/benhjames/gists{/gist_id}","starred_url":"https://api.github.com/users/benhjames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benhjames/subscriptions","organizations_url":"https://api.github.com/users/benhjames/orgs","repos_url":"https://api.github.com/users/benhjames/repos","events_url":"https://api.github.com/users/benhjames/events{/privacy}","received_events_url":"https://api.github.com/users/benhjames/received_events","type":"User","site_admin":false},"repo":{"id":153768364,"node_id":"MDEwOlJlcG9zaXRvcnkxNTM3NjgzNjQ=","name":"pg-promise","full_name":"benhjames/pg-promise","private":false,"owner":{"login":"benhjames","id":5571753,"node_id":"MDQ6VXNlcjU1NzE3NTM=","avatar_url":"https://avatars3.githubusercontent.com/u/5571753?v=4","gravatar_id":"","url":"https://api.github.com/users/benhjames","html_url":"https://github.com/benhjames","followers_url":"https://api.github.com/users/benhjames/followers","following_url":"https://api.github.com/users/benhjames/following{/other_user}","gists_url":"https://api.github.com/users/benhjames/gists{/gist_id}","starred_url":"https://api.github.com/users/benhjames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benhjames/subscriptions","organizations_url":"https://api.github.com/users/benhjames/orgs","repos_url":"https://api.github.com/users/benhjames/repos","events_url":"https://api.github.com/users/benhjames/events{/privacy}","received_events_url":"https://api.github.com/users/benhjames/received_events","type":"User","site_admin":false},"html_url":"https://github.com/benhjames/pg-promise","description":"Promises/A+ interface for PostgreSQL","fork":true,"url":"https://api.github.com/repos/benhjames/pg-promise","forks_url":"https://api.github.com/repos/benhjames/pg-promise/forks","keys_url":"https://api.github.com/repos/benhjames/pg-promise/keys{/key_id}","collaborators_url":"https://api.github.com/repos/benhjames/pg-promise/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/benhjames/pg-promise/teams","hooks_url":"https://api.github.com/repos/benhjames/pg-promise/hooks","issue_events_url":"https://api.github.com/repos/benhjames/pg-promise/issues/events{/number}","events_url":"https://api.github.com/repos/benhjames/pg-promise/events","assignees_url":"https://api.github.com/repos/benhjames/pg-promise/assignees{/user}","branches_url":"https://api.github.com/repos/benhjames/pg-promise/branches{/branch}","tags_url":"https://api.github.com/repos/benhjames/pg-promise/tags","blobs_url":"https://api.github.com/repos/benhjames/pg-promise/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/benhjames/pg-promise/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/benhjames/pg-promise/git/refs{/sha}","trees_url":"https://api.github.com/repos/benhjames/pg-promise/git/trees{/sha}","statuses_url":"https://api.github.com/repos/benhjames/pg-promise/statuses/{sha}","languages_url":"https://api.github.com/repos/benhjames/pg-promise/languages","stargazers_url":"https://api.github.com/repos/benhjames/pg-promise/stargazers","contributors_url":"https://api.github.com/repos/benhjames/pg-promise/contributors","subscribers_url":"https://api.github.com/repos/benhjames/pg-promise/subscribers","subscription_url":"https://api.github.com/repos/benhjames/pg-promise/subscription","commits_url":"https://api.github.com/repos/benhjames/pg-promise/commits{/sha}","git_commits_url":"https://api.github.com/repos/benhjames/pg-promise/git/commits{/sha}","comments_url":"https://api.github.com/repos/benhjames/pg-promise/comments{/number}","issue_comment_url":"https://api.github.com/repos/benhjames/pg-promise/issues/comments{/number}","contents_url":"https://api.github.com/repos/benhjames/pg-promise/contents/{+path}","compare_url":"https://api.github.com/repos/benhjames/pg-promise/compare/{base}...{head}","merges_url":"https://api.github.com/repos/benhjames/pg-promise/merges","archive_url":"https://api.github.com/repos/benhjames/pg-promise/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/benhjames/pg-promise/downloads","issues_url":"https://api.github.com/repos/benhjames/pg-promise/issues{/number}","pulls_url":"https://api.github.com/repos/benhjames/pg-promise/pulls{/number}","milestones_url":"https://api.github.com/repos/benhjames/pg-promise/milestones{/number}","notifications_url":"https://api.github.com/repos/benhjames/pg-promise/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/benhjames/pg-promise/labels{/name}","releases_url":"https://api.github.com/repos/benhjames/pg-promise/releases{/id}","deployments_url":"https://api.github.com/repos/benhjames/pg-promise/deployments","created_at":"2018-10-19T10:48:13Z","updated_at":"2018-10-19T10:48:16Z","pushed_at":"2018-10-19T10:50:31Z","git_url":"git://github.com/benhjames/pg-promise.git","ssh_url":"git@github.com:benhjames/pg-promise.git","clone_url":"https://github.com/benhjames/pg-promise.git","svn_url":"https://github.com/benhjames/pg-promise","homepage":"http://vitaly-t.github.io/pg-promise","size":6153,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"vitaly-t:master","ref":"master","sha":"3c355ffd94a5dac41eb046d5722b5772a7de02ef","user":{"login":"vitaly-t","id":5108906,"node_id":"MDQ6VXNlcjUxMDg5MDY=","avatar_url":"https://avatars1.githubusercontent.com/u/5108906?v=4","gravatar_id":"","url":"https://api.github.com/users/vitaly-t","html_url":"https://github.com/vitaly-t","followers_url":"https://api.github.com/users/vitaly-t/followers","following_url":"https://api.github.com/users/vitaly-t/following{/other_user}","gists_url":"https://api.github.com/users/vitaly-t/gists{/gist_id}","starred_url":"https://api.github.com/users/vitaly-t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitaly-t/subscriptions","organizations_url":"https://api.github.com/users/vitaly-t/orgs","repos_url":"https://api.github.com/users/vitaly-t/repos","events_url":"https://api.github.com/users/vitaly-t/events{/privacy}","received_events_url":"https://api.github.com/users/vitaly-t/received_events","type":"User","site_admin":false},"repo":{"id":31632536,"node_id":"MDEwOlJlcG9zaXRvcnkzMTYzMjUzNg==","name":"pg-promise","full_name":"vitaly-t/pg-promise","private":false,"owner":{"login":"vitaly-t","id":5108906,"node_id":"MDQ6VXNlcjUxMDg5MDY=","avatar_url":"https://avatars1.githubusercontent.com/u/5108906?v=4","gravatar_id":"","url":"https://api.github.com/users/vitaly-t","html_url":"https://github.com/vitaly-t","followers_url":"https://api.github.com/users/vitaly-t/followers","following_url":"https://api.github.com/users/vitaly-t/following{/other_user}","gists_url":"https://api.github.com/users/vitaly-t/gists{/gist_id}","starred_url":"https://api.github.com/users/vitaly-t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitaly-t/subscriptions","organizations_url":"https://api.github.com/users/vitaly-t/orgs","repos_url":"https://api.github.com/users/vitaly-t/repos","events_url":"https://api.github.com/users/vitaly-t/events{/privacy}","received_events_url":"https://api.github.com/users/vitaly-t/received_events","type":"User","site_admin":false},"html_url":"https://github.com/vitaly-t/pg-promise","description":"Promises/A+ interface for PostgreSQL","fork":false,"url":"https://api.github.com/repos/vitaly-t/pg-promise","forks_url":"https://api.github.com/repos/vitaly-t/pg-promise/forks","keys_url":"https://api.github.com/repos/vitaly-t/pg-promise/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vitaly-t/pg-promise/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vitaly-t/pg-promise/teams","hooks_url":"https://api.github.com/repos/vitaly-t/pg-promise/hooks","issue_events_url":"https://api.github.com/repos/vitaly-t/pg-promise/issues/events{/number}","events_url":"https://api.github.com/repos/vitaly-t/pg-promise/events","assignees_url":"https://api.github.com/repos/vitaly-t/pg-promise/assignees{/user}","branches_url":"https://api.github.com/repos/vitaly-t/pg-promise/branches{/branch}","tags_url":"https://api.github.com/repos/vitaly-t/pg-promise/tags","blobs_url":"https://api.github.com/repos/vitaly-t/pg-promise/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vitaly-t/pg-promise/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vitaly-t/pg-promise/git/refs{/sha}","trees_url":"https://api.github.com/repos/vitaly-t/pg-promise/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vitaly-t/pg-promise/statuses/{sha}","languages_url":"https://api.github.com/repos/vitaly-t/pg-promise/languages","stargazers_url":"https://api.github.com/repos/vitaly-t/pg-promise/stargazers","contributors_url":"https://api.github.com/repos/vitaly-t/pg-promise/contributors","subscribers_url":"https://api.github.com/repos/vitaly-t/pg-promise/subscribers","subscription_url":"https://api.github.com/repos/vitaly-t/pg-promise/subscription","commits_url":"https://api.github.com/repos/vitaly-t/pg-promise/commits{/sha}","git_commits_url":"https://api.github.com/repos/vitaly-t/pg-promise/git/commits{/sha}","comments_url":"https://api.github.com/repos/vitaly-t/pg-promise/comments{/number}","issue_comment_url":"https://api.github.com/repos/vitaly-t/pg-promise/issues/comments{/number}","contents_url":"https://api.github.com/repos/vitaly-t/pg-promise/contents/{+path}","compare_url":"https://api.github.com/repos/vitaly-t/pg-promise/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vitaly-t/pg-promise/merges","archive_url":"https://api.github.com/repos/vitaly-t/pg-promise/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vitaly-t/pg-promise/downloads","issues_url":"https://api.github.com/repos/vitaly-t/pg-promise/issues{/number}","pulls_url":"https://api.github.com/repos/vitaly-t/pg-promise/pulls{/number}","milestones_url":"https://api.github.com/repos/vitaly-t/pg-promise/milestones{/number}","notifications_url":"https://api.github.com/repos/vitaly-t/pg-promise/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vitaly-t/pg-promise/labels{/name}","releases_url":"https://api.github.com/repos/vitaly-t/pg-promise/releases{/id}","deployments_url":"https://api.github.com/repos/vitaly-t/pg-promise/deployments","created_at":"2015-03-04T02:00:34Z","updated_at":"2018-10-18T13:20:05Z","pushed_at":"2018-10-12T13:32:19Z","git_url":"git://github.com/vitaly-t/pg-promise.git","ssh_url":"git@github.com:vitaly-t/pg-promise.git","clone_url":"https://github.com/vitaly-t/pg-promise.git","svn_url":"https://github.com/vitaly-t/pg-promise","homepage":"http://vitaly-t.github.io/pg-promise","size":6153,"stargazers_count":1973,"watchers_count":1973,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":144,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":144,"open_issues":4,"watchers":1973,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vitaly-t/pg-promise/pulls/562"},"html":{"href":"https://github.com/vitaly-t/pg-promise/pull/562"},"issue":{"href":"https://api.github.com/repos/vitaly-t/pg-promise/issues/562"},"comments":{"href":"https://api.github.com/repos/vitaly-t/pg-promise/issues/562/comments"},"review_comments":{"href":"https://api.github.com/repos/vitaly-t/pg-promise/pulls/562/comments"},"review_comment":{"href":"https://api.github.com/repos/vitaly-t/pg-promise/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vitaly-t/pg-promise/pulls/562/commits"},"statuses":{"href":"https://api.github.com/repos/vitaly-t/pg-promise/statuses/6906728421a3167e0eea06dd7cf9be2c0aa9a3c8"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"benhjames"}}