{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/gfogle/typesafe/pulls/2","id":130737486,"html_url":"https://github.com/gfogle/typesafe/pull/2","diff_url":"https://github.com/gfogle/typesafe/pull/2.diff","patch_url":"https://github.com/gfogle/typesafe/pull/2.patch","issue_url":"https://api.github.com/repos/gfogle/typesafe/issues/2","number":2,"state":"open","locked":false,"title":"Shorter syntax","user":{"login":"gfogle","id":7015773,"avatar_url":"https://avatars5.githubusercontent.com/u/7015773?v=4","gravatar_id":"","url":"https://api.github.com/users/gfogle","html_url":"https://github.com/gfogle","followers_url":"https://api.github.com/users/gfogle/followers","following_url":"https://api.github.com/users/gfogle/following{/other_user}","gists_url":"https://api.github.com/users/gfogle/gists{/gist_id}","starred_url":"https://api.github.com/users/gfogle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gfogle/subscriptions","organizations_url":"https://api.github.com/users/gfogle/orgs","repos_url":"https://api.github.com/users/gfogle/repos","events_url":"https://api.github.com/users/gfogle/events{/privacy}","received_events_url":"https://api.github.com/users/gfogle/received_events","type":"User","site_admin":false},"body":"changes syntax from \r\n```\r\nconst Todo = Typesafe.defineClass({\r\n  properties: [\r\n    {\r\n      name: 'author',\r\n      type: 'object',\r\n      properties: [\r\n        {\r\n          name: 'name',\r\n          type: 'object',\r\n          properties: [\r\n            {\r\n              name: 'first',\r\n              type: 'string'\r\n            },\r\n            {\r\n              name: 'last',\r\n              type: 'string'\r\n            }\r\n          ]\r\n        },\r\n        {\r\n          name: 'age',\r\n          type: 'number'\r\n        }\r\n      ]\r\n    }\r\n  ]\r\n});\r\n```\r\nto\r\n```\r\nconst Todo = Typesafe.defineClass({\r\n  properties: {\r\n    author: {\r\n      properties: {\r\n        name: {\r\n          properties: {\r\n            first: String,\r\n            last: String\r\n          }\r\n        }\r\n      }\r\n    },\r\n    age: Number\r\n  }\r\n});\r\n```","created_at":"2017-07-16T03:21:32Z","updated_at":"2017-07-16T03:21:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/gfogle/typesafe/pulls/2/commits","review_comments_url":"https://api.github.com/repos/gfogle/typesafe/pulls/2/comments","review_comment_url":"https://api.github.com/repos/gfogle/typesafe/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gfogle/typesafe/issues/2/comments","statuses_url":"https://api.github.com/repos/gfogle/typesafe/statuses/120d8aa1e1421629d5d0851992534e67716c33a5","head":{"label":"gfogle:shorter-syntax","ref":"shorter-syntax","sha":"120d8aa1e1421629d5d0851992534e67716c33a5","user":{"login":"gfogle","id":7015773,"avatar_url":"https://avatars5.githubusercontent.com/u/7015773?v=4","gravatar_id":"","url":"https://api.github.com/users/gfogle","html_url":"https://github.com/gfogle","followers_url":"https://api.github.com/users/gfogle/followers","following_url":"https://api.github.com/users/gfogle/following{/other_user}","gists_url":"https://api.github.com/users/gfogle/gists{/gist_id}","starred_url":"https://api.github.com/users/gfogle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gfogle/subscriptions","organizations_url":"https://api.github.com/users/gfogle/orgs","repos_url":"https://api.github.com/users/gfogle/repos","events_url":"https://api.github.com/users/gfogle/events{/privacy}","received_events_url":"https://api.github.com/users/gfogle/received_events","type":"User","site_admin":false},"repo":{"id":97182556,"name":"typesafe","full_name":"gfogle/typesafe","owner":{"login":"gfogle","id":7015773,"avatar_url":"https://avatars5.githubusercontent.com/u/7015773?v=4","gravatar_id":"","url":"https://api.github.com/users/gfogle","html_url":"https://github.com/gfogle","followers_url":"https://api.github.com/users/gfogle/followers","following_url":"https://api.github.com/users/gfogle/following{/other_user}","gists_url":"https://api.github.com/users/gfogle/gists{/gist_id}","starred_url":"https://api.github.com/users/gfogle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gfogle/subscriptions","organizations_url":"https://api.github.com/users/gfogle/orgs","repos_url":"https://api.github.com/users/gfogle/repos","events_url":"https://api.github.com/users/gfogle/events{/privacy}","received_events_url":"https://api.github.com/users/gfogle/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gfogle/typesafe","description":"Typesafe javascript classes","fork":false,"url":"https://api.github.com/repos/gfogle/typesafe","forks_url":"https://api.github.com/repos/gfogle/typesafe/forks","keys_url":"https://api.github.com/repos/gfogle/typesafe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gfogle/typesafe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gfogle/typesafe/teams","hooks_url":"https://api.github.com/repos/gfogle/typesafe/hooks","issue_events_url":"https://api.github.com/repos/gfogle/typesafe/issues/events{/number}","events_url":"https://api.github.com/repos/gfogle/typesafe/events","assignees_url":"https://api.github.com/repos/gfogle/typesafe/assignees{/user}","branches_url":"https://api.github.com/repos/gfogle/typesafe/branches{/branch}","tags_url":"https://api.github.com/repos/gfogle/typesafe/tags","blobs_url":"https://api.github.com/repos/gfogle/typesafe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gfogle/typesafe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gfogle/typesafe/git/refs{/sha}","trees_url":"https://api.github.com/repos/gfogle/typesafe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gfogle/typesafe/statuses/{sha}","languages_url":"https://api.github.com/repos/gfogle/typesafe/languages","stargazers_url":"https://api.github.com/repos/gfogle/typesafe/stargazers","contributors_url":"https://api.github.com/repos/gfogle/typesafe/contributors","subscribers_url":"https://api.github.com/repos/gfogle/typesafe/subscribers","subscription_url":"https://api.github.com/repos/gfogle/typesafe/subscription","commits_url":"https://api.github.com/repos/gfogle/typesafe/commits{/sha}","git_commits_url":"https://api.github.com/repos/gfogle/typesafe/git/commits{/sha}","comments_url":"https://api.github.com/repos/gfogle/typesafe/comments{/number}","issue_comment_url":"https://api.github.com/repos/gfogle/typesafe/issues/comments{/number}","contents_url":"https://api.github.com/repos/gfogle/typesafe/contents/{+path}","compare_url":"https://api.github.com/repos/gfogle/typesafe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gfogle/typesafe/merges","archive_url":"https://api.github.com/repos/gfogle/typesafe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gfogle/typesafe/downloads","issues_url":"https://api.github.com/repos/gfogle/typesafe/issues{/number}","pulls_url":"https://api.github.com/repos/gfogle/typesafe/pulls{/number}","milestones_url":"https://api.github.com/repos/gfogle/typesafe/milestones{/number}","notifications_url":"https://api.github.com/repos/gfogle/typesafe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gfogle/typesafe/labels{/name}","releases_url":"https://api.github.com/repos/gfogle/typesafe/releases{/id}","deployments_url":"https://api.github.com/repos/gfogle/typesafe/deployments","created_at":"2017-07-14T02:08:04Z","updated_at":"2017-07-16T01:26:05Z","pushed_at":"2017-07-16T03:20:30Z","git_url":"git://github.com/gfogle/typesafe.git","ssh_url":"git@github.com:gfogle/typesafe.git","clone_url":"https://github.com/gfogle/typesafe.git","svn_url":"https://github.com/gfogle/typesafe","homepage":null,"size":20,"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,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"gfogle:master","ref":"master","sha":"515f51887f8e14f8e2fcbedd22960a9223da7e59","user":{"login":"gfogle","id":7015773,"avatar_url":"https://avatars5.githubusercontent.com/u/7015773?v=4","gravatar_id":"","url":"https://api.github.com/users/gfogle","html_url":"https://github.com/gfogle","followers_url":"https://api.github.com/users/gfogle/followers","following_url":"https://api.github.com/users/gfogle/following{/other_user}","gists_url":"https://api.github.com/users/gfogle/gists{/gist_id}","starred_url":"https://api.github.com/users/gfogle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gfogle/subscriptions","organizations_url":"https://api.github.com/users/gfogle/orgs","repos_url":"https://api.github.com/users/gfogle/repos","events_url":"https://api.github.com/users/gfogle/events{/privacy}","received_events_url":"https://api.github.com/users/gfogle/received_events","type":"User","site_admin":false},"repo":{"id":97182556,"name":"typesafe","full_name":"gfogle/typesafe","owner":{"login":"gfogle","id":7015773,"avatar_url":"https://avatars5.githubusercontent.com/u/7015773?v=4","gravatar_id":"","url":"https://api.github.com/users/gfogle","html_url":"https://github.com/gfogle","followers_url":"https://api.github.com/users/gfogle/followers","following_url":"https://api.github.com/users/gfogle/following{/other_user}","gists_url":"https://api.github.com/users/gfogle/gists{/gist_id}","starred_url":"https://api.github.com/users/gfogle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gfogle/subscriptions","organizations_url":"https://api.github.com/users/gfogle/orgs","repos_url":"https://api.github.com/users/gfogle/repos","events_url":"https://api.github.com/users/gfogle/events{/privacy}","received_events_url":"https://api.github.com/users/gfogle/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gfogle/typesafe","description":"Typesafe javascript classes","fork":false,"url":"https://api.github.com/repos/gfogle/typesafe","forks_url":"https://api.github.com/repos/gfogle/typesafe/forks","keys_url":"https://api.github.com/repos/gfogle/typesafe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gfogle/typesafe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gfogle/typesafe/teams","hooks_url":"https://api.github.com/repos/gfogle/typesafe/hooks","issue_events_url":"https://api.github.com/repos/gfogle/typesafe/issues/events{/number}","events_url":"https://api.github.com/repos/gfogle/typesafe/events","assignees_url":"https://api.github.com/repos/gfogle/typesafe/assignees{/user}","branches_url":"https://api.github.com/repos/gfogle/typesafe/branches{/branch}","tags_url":"https://api.github.com/repos/gfogle/typesafe/tags","blobs_url":"https://api.github.com/repos/gfogle/typesafe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gfogle/typesafe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gfogle/typesafe/git/refs{/sha}","trees_url":"https://api.github.com/repos/gfogle/typesafe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gfogle/typesafe/statuses/{sha}","languages_url":"https://api.github.com/repos/gfogle/typesafe/languages","stargazers_url":"https://api.github.com/repos/gfogle/typesafe/stargazers","contributors_url":"https://api.github.com/repos/gfogle/typesafe/contributors","subscribers_url":"https://api.github.com/repos/gfogle/typesafe/subscribers","subscription_url":"https://api.github.com/repos/gfogle/typesafe/subscription","commits_url":"https://api.github.com/repos/gfogle/typesafe/commits{/sha}","git_commits_url":"https://api.github.com/repos/gfogle/typesafe/git/commits{/sha}","comments_url":"https://api.github.com/repos/gfogle/typesafe/comments{/number}","issue_comment_url":"https://api.github.com/repos/gfogle/typesafe/issues/comments{/number}","contents_url":"https://api.github.com/repos/gfogle/typesafe/contents/{+path}","compare_url":"https://api.github.com/repos/gfogle/typesafe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gfogle/typesafe/merges","archive_url":"https://api.github.com/repos/gfogle/typesafe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gfogle/typesafe/downloads","issues_url":"https://api.github.com/repos/gfogle/typesafe/issues{/number}","pulls_url":"https://api.github.com/repos/gfogle/typesafe/pulls{/number}","milestones_url":"https://api.github.com/repos/gfogle/typesafe/milestones{/number}","notifications_url":"https://api.github.com/repos/gfogle/typesafe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gfogle/typesafe/labels{/name}","releases_url":"https://api.github.com/repos/gfogle/typesafe/releases{/id}","deployments_url":"https://api.github.com/repos/gfogle/typesafe/deployments","created_at":"2017-07-14T02:08:04Z","updated_at":"2017-07-16T01:26:05Z","pushed_at":"2017-07-16T03:20:30Z","git_url":"git://github.com/gfogle/typesafe.git","ssh_url":"git@github.com:gfogle/typesafe.git","clone_url":"https://github.com/gfogle/typesafe.git","svn_url":"https://github.com/gfogle/typesafe","homepage":null,"size":20,"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,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gfogle/typesafe/pulls/2"},"html":{"href":"https://github.com/gfogle/typesafe/pull/2"},"issue":{"href":"https://api.github.com/repos/gfogle/typesafe/issues/2"},"comments":{"href":"https://api.github.com/repos/gfogle/typesafe/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/gfogle/typesafe/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/gfogle/typesafe/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gfogle/typesafe/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/gfogle/typesafe/statuses/120d8aa1e1421629d5d0851992534e67716c33a5"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":134,"deletions":124,"changed_files":3}}
{"actor":{"display_login":"gfogle"}}