{"action":"closed","number":2489,"pull_request":{"url":"https://api.github.com/repos/NativeScript/NativeScript/pulls/2489","id":78322741,"html_url":"https://github.com/NativeScript/NativeScript/pull/2489","diff_url":"https://github.com/NativeScript/NativeScript/pull/2489.diff","patch_url":"https://github.com/NativeScript/NativeScript/pull/2489.patch","issue_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/2489","number":2489,"state":"closed","locked":false,"title":"Add script to generate ios .d.ts-es for native APIs","user":{"login":"PanayotCankov","id":5919275,"avatar_url":"https://avatars.githubusercontent.com/u/5919275?v=3","gravatar_id":"","url":"https://api.github.com/users/PanayotCankov","html_url":"https://github.com/PanayotCankov","followers_url":"https://api.github.com/users/PanayotCankov/followers","following_url":"https://api.github.com/users/PanayotCankov/following{/other_user}","gists_url":"https://api.github.com/users/PanayotCankov/gists{/gist_id}","starred_url":"https://api.github.com/users/PanayotCankov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PanayotCankov/subscriptions","organizations_url":"https://api.github.com/users/PanayotCankov/orgs","repos_url":"https://api.github.com/users/PanayotCankov/repos","events_url":"https://api.github.com/users/PanayotCankov/events{/privacy}","received_events_url":"https://api.github.com/users/PanayotCankov/received_events","type":"User","site_admin":false},"body":"The iOS typings in `tns-core-modules/ios/ios-*` can now be generated automatically using the tests app using:\r\n```\r\nnpm run dts-ios\r\n```\r\n(mind the $PWD inside the script may brake should you have spaces in the path)\r\n\r\nA lot of enum usages were updated. There are now type parameters to collections. Promise differes due to the updated definitions from the typescript, PromiseLike replaces Thenable.\r\n\r\nWe must still ensure the tests/ and app/ build properly.","created_at":"2016-07-21T14:11:42Z","updated_at":"2016-07-25T14:31:46Z","closed_at":"2016-07-25T14:31:46Z","merged_at":null,"merge_commit_sha":"f7993c9ce39baa08ecf6a21c9a713c2491f91798","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/NativeScript/NativeScript/pulls/2489/commits","review_comments_url":"https://api.github.com/repos/NativeScript/NativeScript/pulls/2489/comments","review_comment_url":"https://api.github.com/repos/NativeScript/NativeScript/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/2489/comments","statuses_url":"https://api.github.com/repos/NativeScript/NativeScript/statuses/e5661a757fd052fc611d5e9dd7fa4a979b19d596","head":{"label":"NativeScript:dts-ios-2","ref":"dts-ios-2","sha":"e5661a757fd052fc611d5e9dd7fa4a979b19d596","user":{"login":"NativeScript","id":7392261,"avatar_url":"https://avatars.githubusercontent.com/u/7392261?v=3","gravatar_id":"","url":"https://api.github.com/users/NativeScript","html_url":"https://github.com/NativeScript","followers_url":"https://api.github.com/users/NativeScript/followers","following_url":"https://api.github.com/users/NativeScript/following{/other_user}","gists_url":"https://api.github.com/users/NativeScript/gists{/gist_id}","starred_url":"https://api.github.com/users/NativeScript/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NativeScript/subscriptions","organizations_url":"https://api.github.com/users/NativeScript/orgs","repos_url":"https://api.github.com/users/NativeScript/repos","events_url":"https://api.github.com/users/NativeScript/events{/privacy}","received_events_url":"https://api.github.com/users/NativeScript/received_events","type":"Organization","site_admin":false},"repo":{"id":31492490,"name":"NativeScript","full_name":"NativeScript/NativeScript","owner":{"login":"NativeScript","id":7392261,"avatar_url":"https://avatars.githubusercontent.com/u/7392261?v=3","gravatar_id":"","url":"https://api.github.com/users/NativeScript","html_url":"https://github.com/NativeScript","followers_url":"https://api.github.com/users/NativeScript/followers","following_url":"https://api.github.com/users/NativeScript/following{/other_user}","gists_url":"https://api.github.com/users/NativeScript/gists{/gist_id}","starred_url":"https://api.github.com/users/NativeScript/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NativeScript/subscriptions","organizations_url":"https://api.github.com/users/NativeScript/orgs","repos_url":"https://api.github.com/users/NativeScript/repos","events_url":"https://api.github.com/users/NativeScript/events{/privacy}","received_events_url":"https://api.github.com/users/NativeScript/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NativeScript/NativeScript","description":"Build truly native cross-platform iOS and Android apps with JavaScript","fork":false,"url":"https://api.github.com/repos/NativeScript/NativeScript","forks_url":"https://api.github.com/repos/NativeScript/NativeScript/forks","keys_url":"https://api.github.com/repos/NativeScript/NativeScript/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NativeScript/NativeScript/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NativeScript/NativeScript/teams","hooks_url":"https://api.github.com/repos/NativeScript/NativeScript/hooks","issue_events_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/events{/number}","events_url":"https://api.github.com/repos/NativeScript/NativeScript/events","assignees_url":"https://api.github.com/repos/NativeScript/NativeScript/assignees{/user}","branches_url":"https://api.github.com/repos/NativeScript/NativeScript/branches{/branch}","tags_url":"https://api.github.com/repos/NativeScript/NativeScript/tags","blobs_url":"https://api.github.com/repos/NativeScript/NativeScript/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NativeScript/NativeScript/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NativeScript/NativeScript/git/refs{/sha}","trees_url":"https://api.github.com/repos/NativeScript/NativeScript/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NativeScript/NativeScript/statuses/{sha}","languages_url":"https://api.github.com/repos/NativeScript/NativeScript/languages","stargazers_url":"https://api.github.com/repos/NativeScript/NativeScript/stargazers","contributors_url":"https://api.github.com/repos/NativeScript/NativeScript/contributors","subscribers_url":"https://api.github.com/repos/NativeScript/NativeScript/subscribers","subscription_url":"https://api.github.com/repos/NativeScript/NativeScript/subscription","commits_url":"https://api.github.com/repos/NativeScript/NativeScript/commits{/sha}","git_commits_url":"https://api.github.com/repos/NativeScript/NativeScript/git/commits{/sha}","comments_url":"https://api.github.com/repos/NativeScript/NativeScript/comments{/number}","issue_comment_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/comments{/number}","contents_url":"https://api.github.com/repos/NativeScript/NativeScript/contents/{+path}","compare_url":"https://api.github.com/repos/NativeScript/NativeScript/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NativeScript/NativeScript/merges","archive_url":"https://api.github.com/repos/NativeScript/NativeScript/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NativeScript/NativeScript/downloads","issues_url":"https://api.github.com/repos/NativeScript/NativeScript/issues{/number}","pulls_url":"https://api.github.com/repos/NativeScript/NativeScript/pulls{/number}","milestones_url":"https://api.github.com/repos/NativeScript/NativeScript/milestones{/number}","notifications_url":"https://api.github.com/repos/NativeScript/NativeScript/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NativeScript/NativeScript/labels{/name}","releases_url":"https://api.github.com/repos/NativeScript/NativeScript/releases{/id}","deployments_url":"https://api.github.com/repos/NativeScript/NativeScript/deployments","created_at":"2015-03-01T09:47:08Z","updated_at":"2016-07-25T13:42:56Z","pushed_at":"2016-07-25T14:31:41Z","git_url":"git://github.com/NativeScript/NativeScript.git","ssh_url":"git@github.com:NativeScript/NativeScript.git","clone_url":"https://github.com/NativeScript/NativeScript.git","svn_url":"https://github.com/NativeScript/NativeScript","homepage":"http://www.nativescript.org","size":20867,"stargazers_count":7565,"watchers_count":7565,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":567,"mirror_url":null,"open_issues_count":193,"forks":567,"open_issues":193,"watchers":7565,"default_branch":"master"}},"base":{"label":"NativeScript:master","ref":"master","sha":"66ff58e80a3a6e27abc66c291e86c4477b2de26b","user":{"login":"NativeScript","id":7392261,"avatar_url":"https://avatars.githubusercontent.com/u/7392261?v=3","gravatar_id":"","url":"https://api.github.com/users/NativeScript","html_url":"https://github.com/NativeScript","followers_url":"https://api.github.com/users/NativeScript/followers","following_url":"https://api.github.com/users/NativeScript/following{/other_user}","gists_url":"https://api.github.com/users/NativeScript/gists{/gist_id}","starred_url":"https://api.github.com/users/NativeScript/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NativeScript/subscriptions","organizations_url":"https://api.github.com/users/NativeScript/orgs","repos_url":"https://api.github.com/users/NativeScript/repos","events_url":"https://api.github.com/users/NativeScript/events{/privacy}","received_events_url":"https://api.github.com/users/NativeScript/received_events","type":"Organization","site_admin":false},"repo":{"id":31492490,"name":"NativeScript","full_name":"NativeScript/NativeScript","owner":{"login":"NativeScript","id":7392261,"avatar_url":"https://avatars.githubusercontent.com/u/7392261?v=3","gravatar_id":"","url":"https://api.github.com/users/NativeScript","html_url":"https://github.com/NativeScript","followers_url":"https://api.github.com/users/NativeScript/followers","following_url":"https://api.github.com/users/NativeScript/following{/other_user}","gists_url":"https://api.github.com/users/NativeScript/gists{/gist_id}","starred_url":"https://api.github.com/users/NativeScript/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NativeScript/subscriptions","organizations_url":"https://api.github.com/users/NativeScript/orgs","repos_url":"https://api.github.com/users/NativeScript/repos","events_url":"https://api.github.com/users/NativeScript/events{/privacy}","received_events_url":"https://api.github.com/users/NativeScript/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NativeScript/NativeScript","description":"Build truly native cross-platform iOS and Android apps with JavaScript","fork":false,"url":"https://api.github.com/repos/NativeScript/NativeScript","forks_url":"https://api.github.com/repos/NativeScript/NativeScript/forks","keys_url":"https://api.github.com/repos/NativeScript/NativeScript/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NativeScript/NativeScript/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NativeScript/NativeScript/teams","hooks_url":"https://api.github.com/repos/NativeScript/NativeScript/hooks","issue_events_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/events{/number}","events_url":"https://api.github.com/repos/NativeScript/NativeScript/events","assignees_url":"https://api.github.com/repos/NativeScript/NativeScript/assignees{/user}","branches_url":"https://api.github.com/repos/NativeScript/NativeScript/branches{/branch}","tags_url":"https://api.github.com/repos/NativeScript/NativeScript/tags","blobs_url":"https://api.github.com/repos/NativeScript/NativeScript/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NativeScript/NativeScript/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NativeScript/NativeScript/git/refs{/sha}","trees_url":"https://api.github.com/repos/NativeScript/NativeScript/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NativeScript/NativeScript/statuses/{sha}","languages_url":"https://api.github.com/repos/NativeScript/NativeScript/languages","stargazers_url":"https://api.github.com/repos/NativeScript/NativeScript/stargazers","contributors_url":"https://api.github.com/repos/NativeScript/NativeScript/contributors","subscribers_url":"https://api.github.com/repos/NativeScript/NativeScript/subscribers","subscription_url":"https://api.github.com/repos/NativeScript/NativeScript/subscription","commits_url":"https://api.github.com/repos/NativeScript/NativeScript/commits{/sha}","git_commits_url":"https://api.github.com/repos/NativeScript/NativeScript/git/commits{/sha}","comments_url":"https://api.github.com/repos/NativeScript/NativeScript/comments{/number}","issue_comment_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/comments{/number}","contents_url":"https://api.github.com/repos/NativeScript/NativeScript/contents/{+path}","compare_url":"https://api.github.com/repos/NativeScript/NativeScript/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NativeScript/NativeScript/merges","archive_url":"https://api.github.com/repos/NativeScript/NativeScript/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NativeScript/NativeScript/downloads","issues_url":"https://api.github.com/repos/NativeScript/NativeScript/issues{/number}","pulls_url":"https://api.github.com/repos/NativeScript/NativeScript/pulls{/number}","milestones_url":"https://api.github.com/repos/NativeScript/NativeScript/milestones{/number}","notifications_url":"https://api.github.com/repos/NativeScript/NativeScript/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NativeScript/NativeScript/labels{/name}","releases_url":"https://api.github.com/repos/NativeScript/NativeScript/releases{/id}","deployments_url":"https://api.github.com/repos/NativeScript/NativeScript/deployments","created_at":"2015-03-01T09:47:08Z","updated_at":"2016-07-25T13:42:56Z","pushed_at":"2016-07-25T14:31:41Z","git_url":"git://github.com/NativeScript/NativeScript.git","ssh_url":"git@github.com:NativeScript/NativeScript.git","clone_url":"https://github.com/NativeScript/NativeScript.git","svn_url":"https://github.com/NativeScript/NativeScript","homepage":"http://www.nativescript.org","size":20867,"stargazers_count":7565,"watchers_count":7565,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":567,"mirror_url":null,"open_issues_count":193,"forks":567,"open_issues":193,"watchers":7565,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NativeScript/NativeScript/pulls/2489"},"html":{"href":"https://github.com/NativeScript/NativeScript/pull/2489"},"issue":{"href":"https://api.github.com/repos/NativeScript/NativeScript/issues/2489"},"comments":{"href":"https://api.github.com/repos/NativeScript/NativeScript/issues/2489/comments"},"review_comments":{"href":"https://api.github.com/repos/NativeScript/NativeScript/pulls/2489/comments"},"review_comment":{"href":"https://api.github.com/repos/NativeScript/NativeScript/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NativeScript/NativeScript/pulls/2489/commits"},"statuses":{"href":"https://api.github.com/repos/NativeScript/NativeScript/statuses/e5661a757fd052fc611d5e9dd7fa4a979b19d596"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":2,"review_comments":0,"commits":1,"additions":32631,"deletions":40955,"changed_files":173}}
{"actor":{"display_login":"PanayotCankov"}}