{"action":"created","issue":{"url":"https://api.github.com/repos/ngxs/cli/issues/3","repository_url":"https://api.github.com/repos/ngxs/cli","labels_url":"https://api.github.com/repos/ngxs/cli/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/ngxs/cli/issues/3/comments","events_url":"https://api.github.com/repos/ngxs/cli/issues/3/events","html_url":"https://github.com/ngxs/cli/pull/3","id":381049276,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMxMTA2Mzcw","number":3,"title":"update State Template","user":{"login":"kxc0re","id":9086904,"node_id":"MDQ6VXNlcjkwODY5MDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/9086904?v=4","gravatar_id":"","url":"https://api.github.com/users/kxc0re","html_url":"https://github.com/kxc0re","followers_url":"https://api.github.com/users/kxc0re/followers","following_url":"https://api.github.com/users/kxc0re/following{/other_user}","gists_url":"https://api.github.com/users/kxc0re/gists{/gist_id}","starred_url":"https://api.github.com/users/kxc0re/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kxc0re/subscriptions","organizations_url":"https://api.github.com/users/kxc0re/orgs","repos_url":"https://api.github.com/users/kxc0re/repos","events_url":"https://api.github.com/users/kxc0re/events{/privacy}","received_events_url":"https://api.github.com/users/kxc0re/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-11-15T08:26:08Z","updated_at":"2018-11-15T11:10:06Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/ngxs/cli/pulls/3","html_url":"https://github.com/ngxs/cli/pull/3","diff_url":"https://github.com/ngxs/cli/pull/3.diff","patch_url":"https://github.com/ngxs/cli/pull/3.patch"},"body":"just two small style changes:\r\n- use a const field for defaults\r\n- use destructuring in the sample action"},"comment":{"url":"https://api.github.com/repos/ngxs/cli/issues/comments/439004331","html_url":"https://github.com/ngxs/cli/pull/3#issuecomment-439004331","issue_url":"https://api.github.com/repos/ngxs/cli/issues/3","id":439004331,"node_id":"MDEyOklzc3VlQ29tbWVudDQzOTAwNDMzMQ==","user":{"login":"kxc0re","id":9086904,"node_id":"MDQ6VXNlcjkwODY5MDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/9086904?v=4","gravatar_id":"","url":"https://api.github.com/users/kxc0re","html_url":"https://github.com/kxc0re","followers_url":"https://api.github.com/users/kxc0re/followers","following_url":"https://api.github.com/users/kxc0re/following{/other_user}","gists_url":"https://api.github.com/users/kxc0re/gists{/gist_id}","starred_url":"https://api.github.com/users/kxc0re/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kxc0re/subscriptions","organizations_url":"https://api.github.com/users/kxc0re/orgs","repos_url":"https://api.github.com/users/kxc0re/repos","events_url":"https://api.github.com/users/kxc0re/events{/privacy}","received_events_url":"https://api.github.com/users/kxc0re/received_events","type":"User","site_admin":false},"created_at":"2018-11-15T11:10:06Z","updated_at":"2018-11-15T11:10:06Z","author_association":"NONE","body":"probably destructuring the payload too, would be more consistent\r\n```\r\nadd({ getState, setState }: StateContext<{{pascalCase name}}StateModel>, { payload }: {{pascalCase name}}Action) { \r\n//..\r\n}\r\n```"}}
{"actor":{"display_login":"kxc0re"}}