payload: {"action":"closed","number":7,"pull_request":{"url":"https://api.github.com/repos/codenights/ultimate-pokedex/pulls/7","id":361870600,"node_id":"MDExOlB1bGxSZXF1ZXN0MzYxODcwNjAw","html_url":"https://github.com/codenights/ultimate-pokedex/pull/7","diff_url":"https://github.com/codenights/ultimate-pokedex/pull/7.diff","patch_url":"https://github.com/codenights/ultimate-pokedex/pull/7.patch","issue_url":"https://api.github.com/repos/codenights/ultimate-pokedex/issues/7","number":7,"state":"closed","locked":false,"title":"feat(search): add weakness and resistance filtering","user":{"login":"francoischalifour","id":6137112,"node_id":"MDQ6VXNlcjYxMzcxMTI=","avatar_url":"https://avatars3.githubusercontent.com/u/6137112?v=4","gravatar_id":"","url":"https://api.github.com/users/francoischalifour","html_url":"https://github.com/francoischalifour","followers_url":"https://api.github.com/users/francoischalifour/followers","following_url":"https://api.github.com/users/francoischalifour/following{/other_user}","gists_url":"https://api.github.com/users/francoischalifour/gists{/gist_id}","starred_url":"https://api.github.com/users/francoischalifour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/francoischalifour/subscriptions","organizations_url":"https://api.github.com/users/francoischalifour/orgs","repos_url":"https://api.github.com/users/francoischalifour/repos","events_url":"https://api.github.com/users/francoischalifour/events{/privacy}","received_events_url":"https://api.github.com/users/francoischalifour/received_events","type":"User","site_admin":false},"body":"This PR adds support for filtering Pokemon based on their type weaknesses and resistances.\r\n\r\n## Description\r\n\r\nThe Algolia Pokemon schema now includes weaknesses and resistances, which are filterable.\r\n\r\nThis adds a select box to switch between Algolia attributes:\r\n\r\n- `types` (default): Pokemon types\r\n- `weakTo`: Pokemon weak to types\r\n- `resistantTo`: Pokemon resistant to types\r\n\r\nNote that `weakTo` and `resistantTo` are not persisted in the URL yet, I'm waiting for the final behavior to implement it.\r\n\r\n## Preview\r\n\r\n![Screencast](https://user-images.githubusercontent.com/6137112/72225539-e6a9d100-3586-11ea-8386-175612bf72d7.gif)\r\n","created_at":"2020-01-12T21:01:17Z","updated_at":"2020-01-14T18:35:42Z","closed_at":"2020-01-14T18:35:42Z","merged_at":"2020-01-14T18:35:42Z","merge_commit_sha":"d25b0c00907005fdff89da4a4c7936669eefb7a2","assignee":null,"assignees":[],"requested_reviewers":[{"login":"antoinechalifour","id":6087868,"node_id":"MDQ6VXNlcjYwODc4Njg=","avatar_url":"https://avatars2.githubusercontent.com/u/6087868?v=4","gravatar_id":"","url":"https://api.github.com/users/antoinechalifour","html_url":"https://github.com/antoinechalifour","followers_url":"https://api.github.com/users/antoinechalifour/followers","following_url":"https://api.github.com/users/antoinechalifour/following{/other_user}","gists_url":"https://api.github.com/users/antoinechalifour/gists{/gist_id}","starred_url":"https://api.github.com/users/antoinechalifour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antoinechalifour/subscriptions","organizations_url":"https://api.github.com/users/antoinechalifour/orgs","repos_url":"https://api.github.com/users/antoinechalifour/repos","events_url":"https://api.github.com/users/antoinechalifour/events{/privacy}","received_events_url":"https://api.github.com/users/antoinechalifour/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/codenights/ultimate-pokedex/pulls/7/commits","review_comments_url":"https://api.github.com/repos/codenights/ultimate-pokedex/pulls/7/comments","review_comment_url":"https://api.github.com/repos/codenights/ultimate-pokedex/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codenights/ultimate-pokedex/issues/7/comments","statuses_url":"https://api.github.com/repos/codenights/ultimate-pokedex/statuses/e0b9f4558b8122acb0167b56a4045fe919ef4881","head":{"label":"codenights:feat/search-types-weak-resistant","ref":"feat/search-types-weak-resistant","sha":"e0b9f4558b8122acb0167b56a4045fe919ef4881","user":{"login":"codenights","id":36309149,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2MzA5MTQ5","avatar_url":"https://avatars0.githubusercontent.com/u/36309149?v=4","gravatar_id":"","url":"https://api.github.com/users/codenights","html_url":"https://github.com/codenights","followers_url":"https://api.github.com/users/codenights/followers","following_url":"https://api.github.com/users/codenights/following{/other_user}","gists_url":"https://api.github.com/users/codenights/gists{/gist_id}","starred_url":"https://api.github.com/users/codenights/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codenights/subscriptions","organizations_url":"https://api.github.com/users/codenights/orgs","repos_url":"https://api.github.com/users/codenights/repos","events_url":"https://api.github.com/users/codenights/events{/privacy}","received_events_url":"https://api.github.com/users/codenights/received_events","type":"Organization","site_admin":false},"repo":{"id":229766832,"node_id":"MDEwOlJlcG9zaXRvcnkyMjk3NjY4MzI=","name":"ultimate-pokedex","full_name":"codenights/ultimate-pokedex","private":false,"owner":{"login":"codenights","id":36309149,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2MzA5MTQ5","avatar_url":"https://avatars0.githubusercontent.com/u/36309149?v=4","gravatar_id":"","url":"https://api.github.com/users/codenights","html_url":"https://github.com/codenights","followers_url":"https://api.github.com/users/codenights/followers","following_url":"https://api.github.com/users/codenights/following{/other_user}","gists_url":"https://api.github.com/users/codenights/gists{/gist_id}","starred_url":"https://api.github.com/users/codenights/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codenights/subscriptions","organizations_url":"https://api.github.com/users/codenights/orgs","repos_url":"https://api.github.com/users/codenights/repos","events_url":"https://api.github.com/users/codenights/events{/privacy}","received_events_url":"https://api.github.com/users/codenights/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/codenights/ultimate-pokedex","description":"WIP: The ultimate pokedex","fork":false,"url":"https://api.github.com/repos/codenights/ultimate-pokedex","forks_url":"https://api.github.com/repos/codenights/ultimate-pokedex/forks","keys_url":"https://api.github.com/repos/codenights/ultimate-pokedex/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codenights/ultimate-pokedex/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codenights/ultimate-pokedex/teams","hooks_url":"https://api.github.com/repos/codenights/ultimate-pokedex/hooks","issue_events_url":"https://api.github.com/repos/codenights/ultimate-pokedex/issues/events{/number}","events_url":"https://api.github.com/repos/codenights/ultimate-pokedex/events","assignees_url":"https://api.github.com/repos/codenights/ultimate-pokedex/assignees{/user}","branches_url":"https://api.github.com/repos/codenights/ultimate-pokedex/branches{/branch}","tags_url":"https://api.github.com/repos/codenights/ultimate-pokedex/tags","blobs_url":"https://api.github.com/repos/codenights/ultimate-pokedex/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codenights/ultimate-pokedex/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codenights/ultimate-pokedex/git/refs{/sha}","trees_url":"https://api.github.com/repos/codenights/ultimate-pokedex/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codenights/ultimate-pokedex/statuses/{sha}","languages_url":"https://api.github.com/repos/codenights/ultimate-pokedex/languages","stargazers_url":"https://api.github.com/repos/codenights/ultimate-pokedex/stargazers","contributors_url":"https://api.github.com/repos/codenights/ultimate-pokedex/contributors","subscribers_url":"https://api.github.com/repos/codenights/ultimate-pokedex/subscribers","subscription_url":"https://api.github.com/repos/codenights/ultimate-pokedex/subscription","commits_url":"https://api.github.com/repos/codenights/ultimate-pokedex/commits{/sha}","git_commits_url":"https://api.github.com/repos/codenights/ultimate-pokedex/git/commits{/sha}","comments_url":"https://api.github.com/repos/codenights/ultimate-pokedex/comments{/number}","issue_comment_url":"https://api.github.com/repos/codenights/ultimate-pokedex/issues/comments{/number}","contents_url":"https://api.github.com/repos/codenights/ultimate-pokedex/contents/{+path}","compare_url":"https://api.github.com/repos/codenights/ultimate-pokedex/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codenights/ultimate-pokedex/merges","archive_url":"https://api.github.com/repos/codenights/ultimate-pokedex/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codenights/ultimate-pokedex/downloads","issues_url":"https://api.github.com/repos/codenights/ultimate-pokedex/issues{/number}","pulls_url":"https://api.github.com/repos/codenights/ultimate-pokedex/pulls{/number}","milestones_url":"https://api.github.com/repos/codenights/ultimate-pokedex/milestones{/number}","notifications_url":"https://api.github.com/repos/codenights/ultimate-pokedex/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codenights/ultimate-pokedex/labels{/name}","releases_url":"https://api.github.com/repos/codenights/ultimate-pokedex/releases{/id}","deployments_url":"https://api.github.com/repos/codenights/ultimate-pokedex/deployments","created_at":"2019-12-23T14:21:24Z","updated_at":"2020-01-12T20:47:30Z","pushed_at":"2020-01-14T18:35:43Z","git_url":"git://github.com/codenights/ultimate-pokedex.git","ssh_url":"git@github.com:codenights/ultimate-pokedex.git","clone_url":"https://github.com/codenights/ultimate-pokedex.git","svn_url":"https://github.com/codenights/ultimate-pokedex","homepage":"https://ultimate-pokedex.now.sh/","size":64155,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":null,"forks":1,"open_issues":0,"watchers":3,"default_branch":"master"}},"base":{"label":"codenights:master","ref":"master","sha":"1797caabac601c5f4753516ab9026cfd0aff55bf","user":{"login":"codenights","id":36309149,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2MzA5MTQ5","avatar_url":"https://avatars0.githubusercontent.com/u/36309149?v=4","gravatar_id":"","url":"https://api.github.com/users/codenights","html_url":"https://github.com/codenights","followers_url":"https://api.github.com/users/codenights/followers","following_url":"https://api.github.com/users/codenights/following{/other_user}","gists_url":"https://api.github.com/users/codenights/gists{/gist_id}","starred_url":"https://api.github.com/users/codenights/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codenights/subscriptions","organizations_url":"https://api.github.com/users/codenights/orgs","repos_url":"https://api.github.com/users/codenights/repos","events_url":"https://api.github.com/users/codenights/events{/privacy}","received_events_url":"https://api.github.com/users/codenights/received_events","type":"Organization","site_admin":false},"repo":{"id":229766832,"node_id":"MDEwOlJlcG9zaXRvcnkyMjk3NjY4MzI=","name":"ultimate-pokedex","full_name":"codenights/ultimate-pokedex","private":false,"owner":{"login":"codenights","id":36309149,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2MzA5MTQ5","avatar_url":"https://avatars0.githubusercontent.com/u/36309149?v=4","gravatar_id":"","url":"https://api.github.com/users/codenights","html_url":"https://github.com/codenights","followers_url":"https://api.github.com/users/codenights/followers","following_url":"https://api.github.com/users/codenights/following{/other_user}","gists_url":"https://api.github.com/users/codenights/gists{/gist_id}","starred_url":"https://api.github.com/users/codenights/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codenights/subscriptions","organizations_url":"https://api.github.com/users/codenights/orgs","repos_url":"https://api.github.com/users/codenights/repos","events_url":"https://api.github.com/users/codenights/events{/privacy}","received_events_url":"https://api.github.com/users/codenights/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/codenights/ultimate-pokedex","description":"WIP: The ultimate pokedex","fork":false,"url":"https://api.github.com/repos/codenights/ultimate-pokedex","forks_url":"https://api.github.com/repos/codenights/ultimate-pokedex/forks","keys_url":"https://api.github.com/repos/codenights/ultimate-pokedex/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codenights/ultimate-pokedex/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codenights/ultimate-pokedex/teams","hooks_url":"https://api.github.com/repos/codenights/ultimate-pokedex/hooks","issue_events_url":"https://api.github.com/repos/codenights/ultimate-pokedex/issues/events{/number}","events_url":"https://api.github.com/repos/codenights/ultimate-pokedex/events","assignees_url":"https://api.github.com/repos/codenights/ultimate-pokedex/assignees{/user}","branches_url":"https://api.github.com/repos/codenights/ultimate-pokedex/branches{/branch}","tags_url":"https://api.github.com/repos/codenights/ultimate-pokedex/tags","blobs_url":"https://api.github.com/repos/codenights/ultimate-pokedex/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codenights/ultimate-pokedex/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codenights/ultimate-pokedex/git/refs{/sha}","trees_url":"https://api.github.com/repos/codenights/ultimate-pokedex/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codenights/ultimate-pokedex/statuses/{sha}","languages_url":"https://api.github.com/repos/codenights/ultimate-pokedex/languages","stargazers_url":"https://api.github.com/repos/codenights/ultimate-pokedex/stargazers","contributors_url":"https://api.github.com/repos/codenights/ultimate-pokedex/contributors","subscribers_url":"https://api.github.com/repos/codenights/ultimate-pokedex/subscribers","subscription_url":"https://api.github.com/repos/codenights/ultimate-pokedex/subscription","commits_url":"https://api.github.com/repos/codenights/ultimate-pokedex/commits{/sha}","git_commits_url":"https://api.github.com/repos/codenights/ultimate-pokedex/git/commits{/sha}","comments_url":"https://api.github.com/repos/codenights/ultimate-pokedex/comments{/number}","issue_comment_url":"https://api.github.com/repos/codenights/ultimate-pokedex/issues/comments{/number}","contents_url":"https://api.github.com/repos/codenights/ultimate-pokedex/contents/{+path}","compare_url":"https://api.github.com/repos/codenights/ultimate-pokedex/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codenights/ultimate-pokedex/merges","archive_url":"https://api.github.com/repos/codenights/ultimate-pokedex/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codenights/ultimate-pokedex/downloads","issues_url":"https://api.github.com/repos/codenights/ultimate-pokedex/issues{/number}","pulls_url":"https://api.github.com/repos/codenights/ultimate-pokedex/pulls{/number}","milestones_url":"https://api.github.com/repos/codenights/ultimate-pokedex/milestones{/number}","notifications_url":"https://api.github.com/repos/codenights/ultimate-pokedex/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codenights/ultimate-pokedex/labels{/name}","releases_url":"https://api.github.com/repos/codenights/ultimate-pokedex/releases{/id}","deployments_url":"https://api.github.com/repos/codenights/ultimate-pokedex/deployments","created_at":"2019-12-23T14:21:24Z","updated_at":"2020-01-12T20:47:30Z","pushed_at":"2020-01-14T18:35:43Z","git_url":"git://github.com/codenights/ultimate-pokedex.git","ssh_url":"git@github.com:codenights/ultimate-pokedex.git","clone_url":"https://github.com/codenights/ultimate-pokedex.git","svn_url":"https://github.com/codenights/ultimate-pokedex","homepage":"https://ultimate-pokedex.now.sh/","size":64155,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":null,"forks":1,"open_issues":0,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codenights/ultimate-pokedex/pulls/7"},"html":{"href":"https://github.com/codenights/ultimate-pokedex/pull/7"},"issue":{"href":"https://api.github.com/repos/codenights/ultimate-pokedex/issues/7"},"comments":{"href":"https://api.github.com/repos/codenights/ultimate-pokedex/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/codenights/ultimate-pokedex/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/codenights/ultimate-pokedex/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codenights/ultimate-pokedex/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/codenights/ultimate-pokedex/statuses/e0b9f4558b8122acb0167b56a4045fe919ef4881"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"francoischalifour","id":6137112,"node_id":"MDQ6VXNlcjYxMzcxMTI=","avatar_url":"https://avatars3.githubusercontent.com/u/6137112?v=4","gravatar_id":"","url":"https://api.github.com/users/francoischalifour","html_url":"https://github.com/francoischalifour","followers_url":"https://api.github.com/users/francoischalifour/followers","following_url":"https://api.github.com/users/francoischalifour/following{/other_user}","gists_url":"https://api.github.com/users/francoischalifour/gists{/gist_id}","starred_url":"https://api.github.com/users/francoischalifour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/francoischalifour/subscriptions","organizations_url":"https://api.github.com/users/francoischalifour/orgs","repos_url":"https://api.github.com/users/francoischalifour/repos","events_url":"https://api.github.com/users/francoischalifour/events{/privacy}","received_events_url":"https://api.github.com/users/francoischalifour/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":53,"deletions":5,"changed_files":1}}
other: {"actor":{"display_login":"francoischalifour"}}