{"action":"opened","number":123,"pull_request":{"url":"https://api.github.com/repos/rgommezz/react-native-offline/pulls/123","id":214971488,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0OTcxNDg4","html_url":"https://github.com/rgommezz/react-native-offline/pull/123","diff_url":"https://github.com/rgommezz/react-native-offline/pull/123.diff","patch_url":"https://github.com/rgommezz/react-native-offline/pull/123.patch","issue_url":"https://api.github.com/repos/rgommezz/react-native-offline/issues/123","number":123,"state":"open","locked":false,"title":"Feature/support unknown action types","user":{"login":"pettersamuelsen","id":1244867,"node_id":"MDQ6VXNlcjEyNDQ4Njc=","avatar_url":"https://avatars2.githubusercontent.com/u/1244867?v=4","gravatar_id":"","url":"https://api.github.com/users/pettersamuelsen","html_url":"https://github.com/pettersamuelsen","followers_url":"https://api.github.com/users/pettersamuelsen/followers","following_url":"https://api.github.com/users/pettersamuelsen/following{/other_user}","gists_url":"https://api.github.com/users/pettersamuelsen/gists{/gist_id}","starred_url":"https://api.github.com/users/pettersamuelsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pettersamuelsen/subscriptions","organizations_url":"https://api.github.com/users/pettersamuelsen/orgs","repos_url":"https://api.github.com/users/pettersamuelsen/repos","events_url":"https://api.github.com/users/pettersamuelsen/events{/privacy}","received_events_url":"https://api.github.com/users/pettersamuelsen/received_events","type":"User","site_admin":false},"body":"I have an action type shape that looks like this, which means that the `domain` key will be omitted from the `actionQueue[]` in offline mode.\r\n\r\n```js\r\ntype FetchRequestAction<T> = {\r\n  type: string,\r\n  domain: string,\r\n  payload: T,\r\n  meta: {\r\n    retry: boolean,\r\n  },\r\n};\r\n``` \r\n\r\nThis PR allows any action shape to be persisted in `actionQueue[]`.","created_at":"2018-09-12T13:57:35Z","updated_at":"2018-09-12T13:57:35Z","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/rgommezz/react-native-offline/pulls/123/commits","review_comments_url":"https://api.github.com/repos/rgommezz/react-native-offline/pulls/123/comments","review_comment_url":"https://api.github.com/repos/rgommezz/react-native-offline/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rgommezz/react-native-offline/issues/123/comments","statuses_url":"https://api.github.com/repos/rgommezz/react-native-offline/statuses/5e1e2f365ce8413cbb3d5bfd74ca7ba6364d4a29","head":{"label":"pettersamuelsen:feature/support-unknown-action-types","ref":"feature/support-unknown-action-types","sha":"5e1e2f365ce8413cbb3d5bfd74ca7ba6364d4a29","user":{"login":"pettersamuelsen","id":1244867,"node_id":"MDQ6VXNlcjEyNDQ4Njc=","avatar_url":"https://avatars2.githubusercontent.com/u/1244867?v=4","gravatar_id":"","url":"https://api.github.com/users/pettersamuelsen","html_url":"https://github.com/pettersamuelsen","followers_url":"https://api.github.com/users/pettersamuelsen/followers","following_url":"https://api.github.com/users/pettersamuelsen/following{/other_user}","gists_url":"https://api.github.com/users/pettersamuelsen/gists{/gist_id}","starred_url":"https://api.github.com/users/pettersamuelsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pettersamuelsen/subscriptions","organizations_url":"https://api.github.com/users/pettersamuelsen/orgs","repos_url":"https://api.github.com/users/pettersamuelsen/repos","events_url":"https://api.github.com/users/pettersamuelsen/events{/privacy}","received_events_url":"https://api.github.com/users/pettersamuelsen/received_events","type":"User","site_admin":false},"repo":{"id":148484922,"node_id":"MDEwOlJlcG9zaXRvcnkxNDg0ODQ5MjI=","name":"react-native-offline","full_name":"pettersamuelsen/react-native-offline","owner":{"login":"pettersamuelsen","id":1244867,"node_id":"MDQ6VXNlcjEyNDQ4Njc=","avatar_url":"https://avatars2.githubusercontent.com/u/1244867?v=4","gravatar_id":"","url":"https://api.github.com/users/pettersamuelsen","html_url":"https://github.com/pettersamuelsen","followers_url":"https://api.github.com/users/pettersamuelsen/followers","following_url":"https://api.github.com/users/pettersamuelsen/following{/other_user}","gists_url":"https://api.github.com/users/pettersamuelsen/gists{/gist_id}","starred_url":"https://api.github.com/users/pettersamuelsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pettersamuelsen/subscriptions","organizations_url":"https://api.github.com/users/pettersamuelsen/orgs","repos_url":"https://api.github.com/users/pettersamuelsen/repos","events_url":"https://api.github.com/users/pettersamuelsen/events{/privacy}","received_events_url":"https://api.github.com/users/pettersamuelsen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pettersamuelsen/react-native-offline","description":"Handy toolbelt to deal nicely with offline/online connectivity in a React Native app. Smooth redux integration ✈️","fork":true,"url":"https://api.github.com/repos/pettersamuelsen/react-native-offline","forks_url":"https://api.github.com/repos/pettersamuelsen/react-native-offline/forks","keys_url":"https://api.github.com/repos/pettersamuelsen/react-native-offline/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pettersamuelsen/react-native-offline/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pettersamuelsen/react-native-offline/teams","hooks_url":"https://api.github.com/repos/pettersamuelsen/react-native-offline/hooks","issue_events_url":"https://api.github.com/repos/pettersamuelsen/react-native-offline/issues/events{/number}","events_url":"https://api.github.com/repos/pettersamuelsen/react-native-offline/events","assignees_url":"https://api.github.com/repos/pettersamuelsen/react-native-offline/assignees{/user}","branches_url":"https://api.github.com/repos/pettersamuelsen/react-native-offline/branches{/branch}","tags_url":"https://api.github.com/repos/pettersamuelsen/react-native-offline/tags","blobs_url":"https://api.github.com/repos/pettersamuelsen/react-native-offline/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pettersamuelsen/react-native-offline/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pettersamuelsen/react-native-offline/git/refs{/sha}","trees_url":"https://api.github.com/repos/pettersamuelsen/react-native-offline/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pettersamuelsen/react-native-offline/statuses/{sha}","languages_url":"https://api.github.com/repos/pettersamuelsen/react-native-offline/languages","stargazers_url":"https://api.github.com/repos/pettersamuelsen/react-native-offline/stargazers","contributors_url":"https://api.github.com/repos/pettersamuelsen/react-native-offline/contributors","subscribers_url":"https://api.github.com/repos/pettersamuelsen/react-native-offline/subscribers","subscription_url":"https://api.github.com/repos/pettersamuelsen/react-native-offline/subscription","commits_url":"https://api.github.com/repos/pettersamuelsen/react-native-offline/commits{/sha}","git_commits_url":"https://api.github.com/repos/pettersamuelsen/react-native-offline/git/commits{/sha}","comments_url":"https://api.github.com/repos/pettersamuelsen/react-native-offline/comments{/number}","issue_comment_url":"https://api.github.com/repos/pettersamuelsen/react-native-offline/issues/comments{/number}","contents_url":"https://api.github.com/repos/pettersamuelsen/react-native-offline/contents/{+path}","compare_url":"https://api.github.com/repos/pettersamuelsen/react-native-offline/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pettersamuelsen/react-native-offline/merges","archive_url":"https://api.github.com/repos/pettersamuelsen/react-native-offline/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pettersamuelsen/react-native-offline/downloads","issues_url":"https://api.github.com/repos/pettersamuelsen/react-native-offline/issues{/number}","pulls_url":"https://api.github.com/repos/pettersamuelsen/react-native-offline/pulls{/number}","milestones_url":"https://api.github.com/repos/pettersamuelsen/react-native-offline/milestones{/number}","notifications_url":"https://api.github.com/repos/pettersamuelsen/react-native-offline/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pettersamuelsen/react-native-offline/labels{/name}","releases_url":"https://api.github.com/repos/pettersamuelsen/react-native-offline/releases{/id}","deployments_url":"https://api.github.com/repos/pettersamuelsen/react-native-offline/deployments","created_at":"2018-09-12T13:29:36Z","updated_at":"2018-09-12T13:29:38Z","pushed_at":"2018-09-12T13:52:41Z","git_url":"git://github.com/pettersamuelsen/react-native-offline.git","ssh_url":"git@github.com:pettersamuelsen/react-native-offline.git","clone_url":"https://github.com/pettersamuelsen/react-native-offline.git","svn_url":"https://github.com/pettersamuelsen/react-native-offline","homepage":"","size":269,"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":"rgommezz:master","ref":"master","sha":"090798025092e07a536b9f333576571489d92307","user":{"login":"rgommezz","id":4982414,"node_id":"MDQ6VXNlcjQ5ODI0MTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/4982414?v=4","gravatar_id":"","url":"https://api.github.com/users/rgommezz","html_url":"https://github.com/rgommezz","followers_url":"https://api.github.com/users/rgommezz/followers","following_url":"https://api.github.com/users/rgommezz/following{/other_user}","gists_url":"https://api.github.com/users/rgommezz/gists{/gist_id}","starred_url":"https://api.github.com/users/rgommezz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgommezz/subscriptions","organizations_url":"https://api.github.com/users/rgommezz/orgs","repos_url":"https://api.github.com/users/rgommezz/repos","events_url":"https://api.github.com/users/rgommezz/events{/privacy}","received_events_url":"https://api.github.com/users/rgommezz/received_events","type":"User","site_admin":false},"repo":{"id":86369462,"node_id":"MDEwOlJlcG9zaXRvcnk4NjM2OTQ2Mg==","name":"react-native-offline","full_name":"rgommezz/react-native-offline","owner":{"login":"rgommezz","id":4982414,"node_id":"MDQ6VXNlcjQ5ODI0MTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/4982414?v=4","gravatar_id":"","url":"https://api.github.com/users/rgommezz","html_url":"https://github.com/rgommezz","followers_url":"https://api.github.com/users/rgommezz/followers","following_url":"https://api.github.com/users/rgommezz/following{/other_user}","gists_url":"https://api.github.com/users/rgommezz/gists{/gist_id}","starred_url":"https://api.github.com/users/rgommezz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgommezz/subscriptions","organizations_url":"https://api.github.com/users/rgommezz/orgs","repos_url":"https://api.github.com/users/rgommezz/repos","events_url":"https://api.github.com/users/rgommezz/events{/privacy}","received_events_url":"https://api.github.com/users/rgommezz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rgommezz/react-native-offline","description":"Handy toolbelt to deal nicely with offline/online connectivity in a React Native app. Smooth redux integration ✈️","fork":false,"url":"https://api.github.com/repos/rgommezz/react-native-offline","forks_url":"https://api.github.com/repos/rgommezz/react-native-offline/forks","keys_url":"https://api.github.com/repos/rgommezz/react-native-offline/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rgommezz/react-native-offline/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rgommezz/react-native-offline/teams","hooks_url":"https://api.github.com/repos/rgommezz/react-native-offline/hooks","issue_events_url":"https://api.github.com/repos/rgommezz/react-native-offline/issues/events{/number}","events_url":"https://api.github.com/repos/rgommezz/react-native-offline/events","assignees_url":"https://api.github.com/repos/rgommezz/react-native-offline/assignees{/user}","branches_url":"https://api.github.com/repos/rgommezz/react-native-offline/branches{/branch}","tags_url":"https://api.github.com/repos/rgommezz/react-native-offline/tags","blobs_url":"https://api.github.com/repos/rgommezz/react-native-offline/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rgommezz/react-native-offline/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rgommezz/react-native-offline/git/refs{/sha}","trees_url":"https://api.github.com/repos/rgommezz/react-native-offline/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rgommezz/react-native-offline/statuses/{sha}","languages_url":"https://api.github.com/repos/rgommezz/react-native-offline/languages","stargazers_url":"https://api.github.com/repos/rgommezz/react-native-offline/stargazers","contributors_url":"https://api.github.com/repos/rgommezz/react-native-offline/contributors","subscribers_url":"https://api.github.com/repos/rgommezz/react-native-offline/subscribers","subscription_url":"https://api.github.com/repos/rgommezz/react-native-offline/subscription","commits_url":"https://api.github.com/repos/rgommezz/react-native-offline/commits{/sha}","git_commits_url":"https://api.github.com/repos/rgommezz/react-native-offline/git/commits{/sha}","comments_url":"https://api.github.com/repos/rgommezz/react-native-offline/comments{/number}","issue_comment_url":"https://api.github.com/repos/rgommezz/react-native-offline/issues/comments{/number}","contents_url":"https://api.github.com/repos/rgommezz/react-native-offline/contents/{+path}","compare_url":"https://api.github.com/repos/rgommezz/react-native-offline/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rgommezz/react-native-offline/merges","archive_url":"https://api.github.com/repos/rgommezz/react-native-offline/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rgommezz/react-native-offline/downloads","issues_url":"https://api.github.com/repos/rgommezz/react-native-offline/issues{/number}","pulls_url":"https://api.github.com/repos/rgommezz/react-native-offline/pulls{/number}","milestones_url":"https://api.github.com/repos/rgommezz/react-native-offline/milestones{/number}","notifications_url":"https://api.github.com/repos/rgommezz/react-native-offline/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rgommezz/react-native-offline/labels{/name}","releases_url":"https://api.github.com/repos/rgommezz/react-native-offline/releases{/id}","deployments_url":"https://api.github.com/repos/rgommezz/react-native-offline/deployments","created_at":"2017-03-27T18:21:49Z","updated_at":"2018-09-12T13:25:50Z","pushed_at":"2018-09-11T11:48:27Z","git_url":"git://github.com/rgommezz/react-native-offline.git","ssh_url":"git@github.com:rgommezz/react-native-offline.git","clone_url":"https://github.com/rgommezz/react-native-offline.git","svn_url":"https://github.com/rgommezz/react-native-offline","homepage":"","size":269,"stargazers_count":919,"watchers_count":919,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":87,"mirror_url":null,"archived":false,"open_issues_count":20,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":87,"open_issues":20,"watchers":919,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rgommezz/react-native-offline/pulls/123"},"html":{"href":"https://github.com/rgommezz/react-native-offline/pull/123"},"issue":{"href":"https://api.github.com/repos/rgommezz/react-native-offline/issues/123"},"comments":{"href":"https://api.github.com/repos/rgommezz/react-native-offline/issues/123/comments"},"review_comments":{"href":"https://api.github.com/repos/rgommezz/react-native-offline/pulls/123/comments"},"review_comment":{"href":"https://api.github.com/repos/rgommezz/react-native-offline/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rgommezz/react-native-offline/pulls/123/commits"},"statuses":{"href":"https://api.github.com/repos/rgommezz/react-native-offline/statuses/5e1e2f365ce8413cbb3d5bfd74ca7ba6364d4a29"}},"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":2,"additions":4,"deletions":4,"changed_files":1}}
{"actor":{"display_login":"pettersamuelsen"}}