{"action":"opened","number":16,"pull_request":{"url":"https://api.github.com/repos/linn/products-maint/pulls/16","id":227888084,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI3ODg4MDg0","html_url":"https://github.com/linn/products-maint/pull/16","diff_url":"https://github.com/linn/products-maint/pull/16.diff","patch_url":"https://github.com/linn/products-maint/pull/16.patch","issue_url":"https://api.github.com/repos/linn/products-maint/issues/16","number":16,"state":"open","locked":false,"title":"Define item types and build selectors","user":{"login":"richardiphillips","id":7116482,"node_id":"MDQ6VXNlcjcxMTY0ODI=","avatar_url":"https://avatars0.githubusercontent.com/u/7116482?v=4","gravatar_id":"","url":"https://api.github.com/users/richardiphillips","html_url":"https://github.com/richardiphillips","followers_url":"https://api.github.com/users/richardiphillips/followers","following_url":"https://api.github.com/users/richardiphillips/following{/other_user}","gists_url":"https://api.github.com/users/richardiphillips/gists{/gist_id}","starred_url":"https://api.github.com/users/richardiphillips/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richardiphillips/subscriptions","organizations_url":"https://api.github.com/users/richardiphillips/orgs","repos_url":"https://api.github.com/users/richardiphillips/repos","events_url":"https://api.github.com/users/richardiphillips/events{/privacy}","received_events_url":"https://api.github.com/users/richardiphillips/received_events","type":"User","site_admin":false},"body":"ItemType definition of entities and constructor to build select functions.\r\n\r\nI was going to use functions to generate individual action and selector functions but then I thought why not just define a constructor that allows us to new up an object that provides all the functions.\r\n\r\nSo in this case sernosConfigSelectors is an instance of ItemSelectors. It has getItem, getLoading etc hard-wired correctly for sernosConfig. \r\n\r\nWe can do the same for the standard CRUD actions.\r\n\r\nWhat do you think? ","created_at":"2018-11-02T10:10:14Z","updated_at":"2018-11-02T10:10:14Z","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/linn/products-maint/pulls/16/commits","review_comments_url":"https://api.github.com/repos/linn/products-maint/pulls/16/comments","review_comment_url":"https://api.github.com/repos/linn/products-maint/pulls/comments{/number}","comments_url":"https://api.github.com/repos/linn/products-maint/issues/16/comments","statuses_url":"https://api.github.com/repos/linn/products-maint/statuses/120dfa8425879666394c073fee97b0bb00d377e0","head":{"label":"linn:sernos-config-actions","ref":"sernos-config-actions","sha":"120dfa8425879666394c073fee97b0bb00d377e0","user":{"login":"linn","id":7115949,"node_id":"MDEyOk9yZ2FuaXphdGlvbjcxMTU5NDk=","avatar_url":"https://avatars1.githubusercontent.com/u/7115949?v=4","gravatar_id":"","url":"https://api.github.com/users/linn","html_url":"https://github.com/linn","followers_url":"https://api.github.com/users/linn/followers","following_url":"https://api.github.com/users/linn/following{/other_user}","gists_url":"https://api.github.com/users/linn/gists{/gist_id}","starred_url":"https://api.github.com/users/linn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linn/subscriptions","organizations_url":"https://api.github.com/users/linn/orgs","repos_url":"https://api.github.com/users/linn/repos","events_url":"https://api.github.com/users/linn/events{/privacy}","received_events_url":"https://api.github.com/users/linn/received_events","type":"Organization","site_admin":false},"repo":{"id":148786633,"node_id":"MDEwOlJlcG9zaXRvcnkxNDg3ODY2MzM=","name":"products-maint","full_name":"linn/products-maint","private":false,"owner":{"login":"linn","id":7115949,"node_id":"MDEyOk9yZ2FuaXphdGlvbjcxMTU5NDk=","avatar_url":"https://avatars1.githubusercontent.com/u/7115949?v=4","gravatar_id":"","url":"https://api.github.com/users/linn","html_url":"https://github.com/linn","followers_url":"https://api.github.com/users/linn/followers","following_url":"https://api.github.com/users/linn/following{/other_user}","gists_url":"https://api.github.com/users/linn/gists{/gist_id}","starred_url":"https://api.github.com/users/linn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linn/subscriptions","organizations_url":"https://api.github.com/users/linn/orgs","repos_url":"https://api.github.com/users/linn/repos","events_url":"https://api.github.com/users/linn/events{/privacy}","received_events_url":"https://api.github.com/users/linn/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/linn/products-maint","description":null,"fork":false,"url":"https://api.github.com/repos/linn/products-maint","forks_url":"https://api.github.com/repos/linn/products-maint/forks","keys_url":"https://api.github.com/repos/linn/products-maint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/linn/products-maint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/linn/products-maint/teams","hooks_url":"https://api.github.com/repos/linn/products-maint/hooks","issue_events_url":"https://api.github.com/repos/linn/products-maint/issues/events{/number}","events_url":"https://api.github.com/repos/linn/products-maint/events","assignees_url":"https://api.github.com/repos/linn/products-maint/assignees{/user}","branches_url":"https://api.github.com/repos/linn/products-maint/branches{/branch}","tags_url":"https://api.github.com/repos/linn/products-maint/tags","blobs_url":"https://api.github.com/repos/linn/products-maint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/linn/products-maint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/linn/products-maint/git/refs{/sha}","trees_url":"https://api.github.com/repos/linn/products-maint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/linn/products-maint/statuses/{sha}","languages_url":"https://api.github.com/repos/linn/products-maint/languages","stargazers_url":"https://api.github.com/repos/linn/products-maint/stargazers","contributors_url":"https://api.github.com/repos/linn/products-maint/contributors","subscribers_url":"https://api.github.com/repos/linn/products-maint/subscribers","subscription_url":"https://api.github.com/repos/linn/products-maint/subscription","commits_url":"https://api.github.com/repos/linn/products-maint/commits{/sha}","git_commits_url":"https://api.github.com/repos/linn/products-maint/git/commits{/sha}","comments_url":"https://api.github.com/repos/linn/products-maint/comments{/number}","issue_comment_url":"https://api.github.com/repos/linn/products-maint/issues/comments{/number}","contents_url":"https://api.github.com/repos/linn/products-maint/contents/{+path}","compare_url":"https://api.github.com/repos/linn/products-maint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/linn/products-maint/merges","archive_url":"https://api.github.com/repos/linn/products-maint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/linn/products-maint/downloads","issues_url":"https://api.github.com/repos/linn/products-maint/issues{/number}","pulls_url":"https://api.github.com/repos/linn/products-maint/pulls{/number}","milestones_url":"https://api.github.com/repos/linn/products-maint/milestones{/number}","notifications_url":"https://api.github.com/repos/linn/products-maint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/linn/products-maint/labels{/name}","releases_url":"https://api.github.com/repos/linn/products-maint/releases{/id}","deployments_url":"https://api.github.com/repos/linn/products-maint/deployments","created_at":"2018-09-14T12:40:18Z","updated_at":"2018-11-01T13:52:18Z","pushed_at":"2018-11-02T10:04:24Z","git_url":"git://github.com/linn/products-maint.git","ssh_url":"git@github.com:linn/products-maint.git","clone_url":"https://github.com/linn/products-maint.git","svn_url":"https://github.com/linn/products-maint","homepage":null,"size":596,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"linn:master","ref":"master","sha":"549d190d41e4420cf13445c64b5d2c6808c08342","user":{"login":"linn","id":7115949,"node_id":"MDEyOk9yZ2FuaXphdGlvbjcxMTU5NDk=","avatar_url":"https://avatars1.githubusercontent.com/u/7115949?v=4","gravatar_id":"","url":"https://api.github.com/users/linn","html_url":"https://github.com/linn","followers_url":"https://api.github.com/users/linn/followers","following_url":"https://api.github.com/users/linn/following{/other_user}","gists_url":"https://api.github.com/users/linn/gists{/gist_id}","starred_url":"https://api.github.com/users/linn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linn/subscriptions","organizations_url":"https://api.github.com/users/linn/orgs","repos_url":"https://api.github.com/users/linn/repos","events_url":"https://api.github.com/users/linn/events{/privacy}","received_events_url":"https://api.github.com/users/linn/received_events","type":"Organization","site_admin":false},"repo":{"id":148786633,"node_id":"MDEwOlJlcG9zaXRvcnkxNDg3ODY2MzM=","name":"products-maint","full_name":"linn/products-maint","private":false,"owner":{"login":"linn","id":7115949,"node_id":"MDEyOk9yZ2FuaXphdGlvbjcxMTU5NDk=","avatar_url":"https://avatars1.githubusercontent.com/u/7115949?v=4","gravatar_id":"","url":"https://api.github.com/users/linn","html_url":"https://github.com/linn","followers_url":"https://api.github.com/users/linn/followers","following_url":"https://api.github.com/users/linn/following{/other_user}","gists_url":"https://api.github.com/users/linn/gists{/gist_id}","starred_url":"https://api.github.com/users/linn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linn/subscriptions","organizations_url":"https://api.github.com/users/linn/orgs","repos_url":"https://api.github.com/users/linn/repos","events_url":"https://api.github.com/users/linn/events{/privacy}","received_events_url":"https://api.github.com/users/linn/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/linn/products-maint","description":null,"fork":false,"url":"https://api.github.com/repos/linn/products-maint","forks_url":"https://api.github.com/repos/linn/products-maint/forks","keys_url":"https://api.github.com/repos/linn/products-maint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/linn/products-maint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/linn/products-maint/teams","hooks_url":"https://api.github.com/repos/linn/products-maint/hooks","issue_events_url":"https://api.github.com/repos/linn/products-maint/issues/events{/number}","events_url":"https://api.github.com/repos/linn/products-maint/events","assignees_url":"https://api.github.com/repos/linn/products-maint/assignees{/user}","branches_url":"https://api.github.com/repos/linn/products-maint/branches{/branch}","tags_url":"https://api.github.com/repos/linn/products-maint/tags","blobs_url":"https://api.github.com/repos/linn/products-maint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/linn/products-maint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/linn/products-maint/git/refs{/sha}","trees_url":"https://api.github.com/repos/linn/products-maint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/linn/products-maint/statuses/{sha}","languages_url":"https://api.github.com/repos/linn/products-maint/languages","stargazers_url":"https://api.github.com/repos/linn/products-maint/stargazers","contributors_url":"https://api.github.com/repos/linn/products-maint/contributors","subscribers_url":"https://api.github.com/repos/linn/products-maint/subscribers","subscription_url":"https://api.github.com/repos/linn/products-maint/subscription","commits_url":"https://api.github.com/repos/linn/products-maint/commits{/sha}","git_commits_url":"https://api.github.com/repos/linn/products-maint/git/commits{/sha}","comments_url":"https://api.github.com/repos/linn/products-maint/comments{/number}","issue_comment_url":"https://api.github.com/repos/linn/products-maint/issues/comments{/number}","contents_url":"https://api.github.com/repos/linn/products-maint/contents/{+path}","compare_url":"https://api.github.com/repos/linn/products-maint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/linn/products-maint/merges","archive_url":"https://api.github.com/repos/linn/products-maint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/linn/products-maint/downloads","issues_url":"https://api.github.com/repos/linn/products-maint/issues{/number}","pulls_url":"https://api.github.com/repos/linn/products-maint/pulls{/number}","milestones_url":"https://api.github.com/repos/linn/products-maint/milestones{/number}","notifications_url":"https://api.github.com/repos/linn/products-maint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/linn/products-maint/labels{/name}","releases_url":"https://api.github.com/repos/linn/products-maint/releases{/id}","deployments_url":"https://api.github.com/repos/linn/products-maint/deployments","created_at":"2018-09-14T12:40:18Z","updated_at":"2018-11-01T13:52:18Z","pushed_at":"2018-11-02T10:04:24Z","git_url":"git://github.com/linn/products-maint.git","ssh_url":"git@github.com:linn/products-maint.git","clone_url":"https://github.com/linn/products-maint.git","svn_url":"https://github.com/linn/products-maint","homepage":null,"size":596,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/linn/products-maint/pulls/16"},"html":{"href":"https://github.com/linn/products-maint/pull/16"},"issue":{"href":"https://api.github.com/repos/linn/products-maint/issues/16"},"comments":{"href":"https://api.github.com/repos/linn/products-maint/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/linn/products-maint/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/linn/products-maint/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/linn/products-maint/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/linn/products-maint/statuses/120dfa8425879666394c073fee97b0bb00d377e0"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":134,"deletions":15,"changed_files":7}}
{"actor":{"display_login":"richardiphillips"}}