{"action":"created","comment":{"url":"https://api.github.com/repos/navikt/foreldrepengesoknad/pulls/comments/213788987","pull_request_review_id":150698677,"id":213788987,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMzc4ODk4Nw==","diff_hunk":"@@ -1,5 +1,10 @@\n import { Kjønn } from '../../../types/common';\n import { SøkerRolle, Søkersituasjon } from '../../../types/søknad/Søknad';\n \n-export const inngangErGyldig = (situasjon: Søkersituasjon, søkerRolle: SøkerRolle, kjønn: Kjønn): boolean =>\n-    søkerRolle !== undefined || (situasjon === Søkersituasjon.FØDSEL && kjønn === Kjønn.MANN);\n+export const inngangErGyldig = (\n+    situasjon: Søkersituasjon,\n+    søkerRolle: SøkerRolle,","path":"src/app/util/validation/steg/inngang.ts","position":8,"original_position":8,"commit_id":"7f60fe888afd0a45b3f3f96f900128c38e613840","original_commit_id":"7f60fe888afd0a45b3f3f96f900128c38e613840","user":{"login":"frodehansen2","id":462494,"node_id":"MDQ6VXNlcjQ2MjQ5NA==","avatar_url":"https://avatars1.githubusercontent.com/u/462494?v=4","gravatar_id":"","url":"https://api.github.com/users/frodehansen2","html_url":"https://github.com/frodehansen2","followers_url":"https://api.github.com/users/frodehansen2/followers","following_url":"https://api.github.com/users/frodehansen2/following{/other_user}","gists_url":"https://api.github.com/users/frodehansen2/gists{/gist_id}","starred_url":"https://api.github.com/users/frodehansen2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frodehansen2/subscriptions","organizations_url":"https://api.github.com/users/frodehansen2/orgs","repos_url":"https://api.github.com/users/frodehansen2/repos","events_url":"https://api.github.com/users/frodehansen2/events{/privacy}","received_events_url":"https://api.github.com/users/frodehansen2/received_events","type":"User","site_admin":false},"body":"Gitt at du sjekker på undefined - må du også definere gyldig verdi som SøkerRolle | undefined?","created_at":"2018-08-29T18:34:19Z","updated_at":"2018-08-29T18:34:41Z","html_url":"https://github.com/navikt/foreldrepengesoknad/pull/188#discussion_r213788987","pull_request_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/pulls/188","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/navikt/foreldrepengesoknad/pulls/comments/213788987"},"html":{"href":"https://github.com/navikt/foreldrepengesoknad/pull/188#discussion_r213788987"},"pull_request":{"href":"https://api.github.com/repos/navikt/foreldrepengesoknad/pulls/188"}}},"pull_request":{"url":"https://api.github.com/repos/navikt/foreldrepengesoknad/pulls/188","id":211696524,"node_id":"MDExOlB1bGxSZXF1ZXN0MjExNjk2NTI0","html_url":"https://github.com/navikt/foreldrepengesoknad/pull/188","diff_url":"https://github.com/navikt/foreldrepengesoknad/pull/188.diff","patch_url":"https://github.com/navikt/foreldrepengesoknad/pull/188.patch","issue_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/issues/188","number":188,"state":"open","locked":false,"title":"Visibility inngangssteg","user":{"login":"AndreasDybdahl","id":2411028,"node_id":"MDQ6VXNlcjI0MTEwMjg=","avatar_url":"https://avatars3.githubusercontent.com/u/2411028?v=4","gravatar_id":"","url":"https://api.github.com/users/AndreasDybdahl","html_url":"https://github.com/AndreasDybdahl","followers_url":"https://api.github.com/users/AndreasDybdahl/followers","following_url":"https://api.github.com/users/AndreasDybdahl/following{/other_user}","gists_url":"https://api.github.com/users/AndreasDybdahl/gists{/gist_id}","starred_url":"https://api.github.com/users/AndreasDybdahl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndreasDybdahl/subscriptions","organizations_url":"https://api.github.com/users/AndreasDybdahl/orgs","repos_url":"https://api.github.com/users/AndreasDybdahl/repos","events_url":"https://api.github.com/users/AndreasDybdahl/events{/privacy}","received_events_url":"https://api.github.com/users/AndreasDybdahl/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-08-29T10:01:50Z","updated_at":"2018-08-29T18:34:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"894e674ba82c76ec3ee175a8374b472f6cbb3328","assignee":null,"assignees":[],"requested_reviewers":[{"login":"erlendev","id":1488626,"node_id":"MDQ6VXNlcjE0ODg2MjY=","avatar_url":"https://avatars1.githubusercontent.com/u/1488626?v=4","gravatar_id":"","url":"https://api.github.com/users/erlendev","html_url":"https://github.com/erlendev","followers_url":"https://api.github.com/users/erlendev/followers","following_url":"https://api.github.com/users/erlendev/following{/other_user}","gists_url":"https://api.github.com/users/erlendev/gists{/gist_id}","starred_url":"https://api.github.com/users/erlendev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erlendev/subscriptions","organizations_url":"https://api.github.com/users/erlendev/orgs","repos_url":"https://api.github.com/users/erlendev/repos","events_url":"https://api.github.com/users/erlendev/events{/privacy}","received_events_url":"https://api.github.com/users/erlendev/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/pulls/188/commits","review_comments_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/pulls/188/comments","review_comment_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/pulls/comments{/number}","comments_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/issues/188/comments","statuses_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/statuses/7f60fe888afd0a45b3f3f96f900128c38e613840","head":{"label":"navikt:visibility-inngang","ref":"visibility-inngang","sha":"7f60fe888afd0a45b3f3f96f900128c38e613840","user":{"login":"navikt","id":11848947,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExODQ4OTQ3","avatar_url":"https://avatars3.githubusercontent.com/u/11848947?v=4","gravatar_id":"","url":"https://api.github.com/users/navikt","html_url":"https://github.com/navikt","followers_url":"https://api.github.com/users/navikt/followers","following_url":"https://api.github.com/users/navikt/following{/other_user}","gists_url":"https://api.github.com/users/navikt/gists{/gist_id}","starred_url":"https://api.github.com/users/navikt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/navikt/subscriptions","organizations_url":"https://api.github.com/users/navikt/orgs","repos_url":"https://api.github.com/users/navikt/repos","events_url":"https://api.github.com/users/navikt/events{/privacy}","received_events_url":"https://api.github.com/users/navikt/received_events","type":"Organization","site_admin":false},"repo":{"id":130855671,"node_id":"MDEwOlJlcG9zaXRvcnkxMzA4NTU2NzE=","name":"foreldrepengesoknad","full_name":"navikt/foreldrepengesoknad","owner":{"login":"navikt","id":11848947,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExODQ4OTQ3","avatar_url":"https://avatars3.githubusercontent.com/u/11848947?v=4","gravatar_id":"","url":"https://api.github.com/users/navikt","html_url":"https://github.com/navikt","followers_url":"https://api.github.com/users/navikt/followers","following_url":"https://api.github.com/users/navikt/following{/other_user}","gists_url":"https://api.github.com/users/navikt/gists{/gist_id}","starred_url":"https://api.github.com/users/navikt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/navikt/subscriptions","organizations_url":"https://api.github.com/users/navikt/orgs","repos_url":"https://api.github.com/users/navikt/repos","events_url":"https://api.github.com/users/navikt/events{/privacy}","received_events_url":"https://api.github.com/users/navikt/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/navikt/foreldrepengesoknad","description":"Selvbetjeningsløsning for søknad om foreldrepenger","fork":false,"url":"https://api.github.com/repos/navikt/foreldrepengesoknad","forks_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/forks","keys_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/keys{/key_id}","collaborators_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/teams","hooks_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/hooks","issue_events_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/issues/events{/number}","events_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/events","assignees_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/assignees{/user}","branches_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/branches{/branch}","tags_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/tags","blobs_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/git/refs{/sha}","trees_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/git/trees{/sha}","statuses_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/statuses/{sha}","languages_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/languages","stargazers_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/stargazers","contributors_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/contributors","subscribers_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/subscribers","subscription_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/subscription","commits_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/commits{/sha}","git_commits_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/git/commits{/sha}","comments_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/comments{/number}","issue_comment_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/issues/comments{/number}","contents_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/contents/{+path}","compare_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/compare/{base}...{head}","merges_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/merges","archive_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/downloads","issues_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/issues{/number}","pulls_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/pulls{/number}","milestones_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/milestones{/number}","notifications_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/labels{/name}","releases_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/releases{/id}","deployments_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/deployments","created_at":"2018-04-24T13:06:00Z","updated_at":"2018-08-29T18:23:17Z","pushed_at":"2018-08-29T18:23:18Z","git_url":"git://github.com/navikt/foreldrepengesoknad.git","ssh_url":"git@github.com:navikt/foreldrepengesoknad.git","clone_url":"https://github.com/navikt/foreldrepengesoknad.git","svn_url":"https://github.com/navikt/foreldrepengesoknad","homepage":null,"size":2401,"stargazers_count":2,"watchers_count":2,"language":"TypeScript","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":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":2,"watchers":2,"default_branch":"master"}},"base":{"label":"navikt:master","ref":"master","sha":"d503569259722f33d1353da5377688ef32093239","user":{"login":"navikt","id":11848947,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExODQ4OTQ3","avatar_url":"https://avatars3.githubusercontent.com/u/11848947?v=4","gravatar_id":"","url":"https://api.github.com/users/navikt","html_url":"https://github.com/navikt","followers_url":"https://api.github.com/users/navikt/followers","following_url":"https://api.github.com/users/navikt/following{/other_user}","gists_url":"https://api.github.com/users/navikt/gists{/gist_id}","starred_url":"https://api.github.com/users/navikt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/navikt/subscriptions","organizations_url":"https://api.github.com/users/navikt/orgs","repos_url":"https://api.github.com/users/navikt/repos","events_url":"https://api.github.com/users/navikt/events{/privacy}","received_events_url":"https://api.github.com/users/navikt/received_events","type":"Organization","site_admin":false},"repo":{"id":130855671,"node_id":"MDEwOlJlcG9zaXRvcnkxMzA4NTU2NzE=","name":"foreldrepengesoknad","full_name":"navikt/foreldrepengesoknad","owner":{"login":"navikt","id":11848947,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExODQ4OTQ3","avatar_url":"https://avatars3.githubusercontent.com/u/11848947?v=4","gravatar_id":"","url":"https://api.github.com/users/navikt","html_url":"https://github.com/navikt","followers_url":"https://api.github.com/users/navikt/followers","following_url":"https://api.github.com/users/navikt/following{/other_user}","gists_url":"https://api.github.com/users/navikt/gists{/gist_id}","starred_url":"https://api.github.com/users/navikt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/navikt/subscriptions","organizations_url":"https://api.github.com/users/navikt/orgs","repos_url":"https://api.github.com/users/navikt/repos","events_url":"https://api.github.com/users/navikt/events{/privacy}","received_events_url":"https://api.github.com/users/navikt/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/navikt/foreldrepengesoknad","description":"Selvbetjeningsløsning for søknad om foreldrepenger","fork":false,"url":"https://api.github.com/repos/navikt/foreldrepengesoknad","forks_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/forks","keys_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/keys{/key_id}","collaborators_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/teams","hooks_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/hooks","issue_events_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/issues/events{/number}","events_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/events","assignees_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/assignees{/user}","branches_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/branches{/branch}","tags_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/tags","blobs_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/git/refs{/sha}","trees_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/git/trees{/sha}","statuses_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/statuses/{sha}","languages_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/languages","stargazers_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/stargazers","contributors_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/contributors","subscribers_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/subscribers","subscription_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/subscription","commits_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/commits{/sha}","git_commits_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/git/commits{/sha}","comments_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/comments{/number}","issue_comment_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/issues/comments{/number}","contents_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/contents/{+path}","compare_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/compare/{base}...{head}","merges_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/merges","archive_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/downloads","issues_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/issues{/number}","pulls_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/pulls{/number}","milestones_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/milestones{/number}","notifications_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/labels{/name}","releases_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/releases{/id}","deployments_url":"https://api.github.com/repos/navikt/foreldrepengesoknad/deployments","created_at":"2018-04-24T13:06:00Z","updated_at":"2018-08-29T18:23:17Z","pushed_at":"2018-08-29T18:23:18Z","git_url":"git://github.com/navikt/foreldrepengesoknad.git","ssh_url":"git@github.com:navikt/foreldrepengesoknad.git","clone_url":"https://github.com/navikt/foreldrepengesoknad.git","svn_url":"https://github.com/navikt/foreldrepengesoknad","homepage":null,"size":2401,"stargazers_count":2,"watchers_count":2,"language":"TypeScript","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":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":2,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/navikt/foreldrepengesoknad/pulls/188"},"html":{"href":"https://github.com/navikt/foreldrepengesoknad/pull/188"},"issue":{"href":"https://api.github.com/repos/navikt/foreldrepengesoknad/issues/188"},"comments":{"href":"https://api.github.com/repos/navikt/foreldrepengesoknad/issues/188/comments"},"review_comments":{"href":"https://api.github.com/repos/navikt/foreldrepengesoknad/pulls/188/comments"},"review_comment":{"href":"https://api.github.com/repos/navikt/foreldrepengesoknad/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/navikt/foreldrepengesoknad/pulls/188/commits"},"statuses":{"href":"https://api.github.com/repos/navikt/foreldrepengesoknad/statuses/7f60fe888afd0a45b3f3f96f900128c38e613840"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"frodehansen2"}}