{"action":"closed","number":28240,"pull_request":{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/28240","id":209560518,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5NTYwNTE4","html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/28240","diff_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/28240.diff","patch_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/28240.patch","issue_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/28240","number":28240,"state":"closed","locked":false,"title":"Added replaceRoot method to Aggregate prototype","user":{"login":"idandrd","id":4955493,"node_id":"MDQ6VXNlcjQ5NTU0OTM=","avatar_url":"https://avatars3.githubusercontent.com/u/4955493?v=4","gravatar_id":"","url":"https://api.github.com/users/idandrd","html_url":"https://github.com/idandrd","followers_url":"https://api.github.com/users/idandrd/followers","following_url":"https://api.github.com/users/idandrd/following{/other_user}","gists_url":"https://api.github.com/users/idandrd/gists{/gist_id}","starred_url":"https://api.github.com/users/idandrd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idandrd/subscriptions","organizations_url":"https://api.github.com/users/idandrd/orgs","repos_url":"https://api.github.com/users/idandrd/repos","events_url":"https://api.github.com/users/idandrd/events{/privacy}","received_events_url":"https://api.github.com/users/idandrd/received_events","type":"User","site_admin":false},"body":"Please fill in this template.\r\n\r\n- [x] Use a meaningful title for the pull request. Include the name of the package modified.\r\n- [x] Test the change in your own code. (Compile and run.)\r\n- [x] Add or edit tests to reflect the change. (Run with `npm test`.)\r\n- [x] Follow the advice from the [readme](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#make-a-pull-request).\r\n- [x] Avoid [common mistakes](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#common-mistakes).\r\n- [x] Run `npm run lint package-name` (or `tsc` if no `tslint.json` is present).\r\n\r\nSelect one of these and delete the others:\r\n\r\nIf changing an existing definition:\r\n- [x] Provide a URL to documentation or source code which provides context for the suggested changes: https://mongoosejs.com/docs/api.html#aggregate_Aggregate-replaceRoot\r\n- [x] Increase the version number in the header if appropriate.\r\n- [x] If you are making substantial changes, consider adding a `tslint.json` containing `{ \"extends\": \"dtslint/dt.json\" }`.","created_at":"2018-08-20T15:33:19Z","updated_at":"2018-08-24T22:59:25Z","closed_at":"2018-08-24T22:59:25Z","merged_at":"2018-08-24T22:59:25Z","merge_commit_sha":"1bde4a62f7edf2ddfce37c5e302ebc84cb615634","assignee":null,"assignees":[],"requested_reviewers":[{"login":"horiuchi","id":32570,"node_id":"MDQ6VXNlcjMyNTcw","avatar_url":"https://avatars1.githubusercontent.com/u/32570?v=4","gravatar_id":"","url":"https://api.github.com/users/horiuchi","html_url":"https://github.com/horiuchi","followers_url":"https://api.github.com/users/horiuchi/followers","following_url":"https://api.github.com/users/horiuchi/following{/other_user}","gists_url":"https://api.github.com/users/horiuchi/gists{/gist_id}","starred_url":"https://api.github.com/users/horiuchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/horiuchi/subscriptions","organizations_url":"https://api.github.com/users/horiuchi/orgs","repos_url":"https://api.github.com/users/horiuchi/repos","events_url":"https://api.github.com/users/horiuchi/events{/privacy}","received_events_url":"https://api.github.com/users/horiuchi/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":644095236,"node_id":"MDU6TGFiZWw2NDQwOTUyMzY=","url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/labels/Merge:Express","name":"Merge:Express","color":"00AA00","default":false},{"id":905334095,"node_id":"MDU6TGFiZWw5MDUzMzQwOTU=","url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/labels/Owner%20Approved","name":"Owner Approved","color":"0e8a16","default":false},{"id":684321576,"node_id":"MDU6TGFiZWw2ODQzMjE1NzY=","url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/labels/Popular%20package","name":"Popular package","color":"fbca04","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/28240/commits","review_comments_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/28240/comments","review_comment_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/28240/comments","statuses_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/statuses/ab207c40c8759e11e1a3465e2668bda0c21cbedd","head":{"label":"idandrd:master","ref":"master","sha":"ab207c40c8759e11e1a3465e2668bda0c21cbedd","user":{"login":"idandrd","id":4955493,"node_id":"MDQ6VXNlcjQ5NTU0OTM=","avatar_url":"https://avatars3.githubusercontent.com/u/4955493?v=4","gravatar_id":"","url":"https://api.github.com/users/idandrd","html_url":"https://github.com/idandrd","followers_url":"https://api.github.com/users/idandrd/followers","following_url":"https://api.github.com/users/idandrd/following{/other_user}","gists_url":"https://api.github.com/users/idandrd/gists{/gist_id}","starred_url":"https://api.github.com/users/idandrd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idandrd/subscriptions","organizations_url":"https://api.github.com/users/idandrd/orgs","repos_url":"https://api.github.com/users/idandrd/repos","events_url":"https://api.github.com/users/idandrd/events{/privacy}","received_events_url":"https://api.github.com/users/idandrd/received_events","type":"User","site_admin":false},"repo":{"id":145043315,"node_id":"MDEwOlJlcG9zaXRvcnkxNDUwNDMzMTU=","name":"DefinitelyTyped","full_name":"idandrd/DefinitelyTyped","owner":{"login":"idandrd","id":4955493,"node_id":"MDQ6VXNlcjQ5NTU0OTM=","avatar_url":"https://avatars3.githubusercontent.com/u/4955493?v=4","gravatar_id":"","url":"https://api.github.com/users/idandrd","html_url":"https://github.com/idandrd","followers_url":"https://api.github.com/users/idandrd/followers","following_url":"https://api.github.com/users/idandrd/following{/other_user}","gists_url":"https://api.github.com/users/idandrd/gists{/gist_id}","starred_url":"https://api.github.com/users/idandrd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idandrd/subscriptions","organizations_url":"https://api.github.com/users/idandrd/orgs","repos_url":"https://api.github.com/users/idandrd/repos","events_url":"https://api.github.com/users/idandrd/events{/privacy}","received_events_url":"https://api.github.com/users/idandrd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/idandrd/DefinitelyTyped","description":"The repository for high quality TypeScript type definitions.","fork":true,"url":"https://api.github.com/repos/idandrd/DefinitelyTyped","forks_url":"https://api.github.com/repos/idandrd/DefinitelyTyped/forks","keys_url":"https://api.github.com/repos/idandrd/DefinitelyTyped/keys{/key_id}","collaborators_url":"https://api.github.com/repos/idandrd/DefinitelyTyped/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/idandrd/DefinitelyTyped/teams","hooks_url":"https://api.github.com/repos/idandrd/DefinitelyTyped/hooks","issue_events_url":"https://api.github.com/repos/idandrd/DefinitelyTyped/issues/events{/number}","events_url":"https://api.github.com/repos/idandrd/DefinitelyTyped/events","assignees_url":"https://api.github.com/repos/idandrd/DefinitelyTyped/assignees{/user}","branches_url":"https://api.github.com/repos/idandrd/DefinitelyTyped/branches{/branch}","tags_url":"https://api.github.com/repos/idandrd/DefinitelyTyped/tags","blobs_url":"https://api.github.com/repos/idandrd/DefinitelyTyped/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/idandrd/DefinitelyTyped/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/idandrd/DefinitelyTyped/git/refs{/sha}","trees_url":"https://api.github.com/repos/idandrd/DefinitelyTyped/git/trees{/sha}","statuses_url":"https://api.github.com/repos/idandrd/DefinitelyTyped/statuses/{sha}","languages_url":"https://api.github.com/repos/idandrd/DefinitelyTyped/languages","stargazers_url":"https://api.github.com/repos/idandrd/DefinitelyTyped/stargazers","contributors_url":"https://api.github.com/repos/idandrd/DefinitelyTyped/contributors","subscribers_url":"https://api.github.com/repos/idandrd/DefinitelyTyped/subscribers","subscription_url":"https://api.github.com/repos/idandrd/DefinitelyTyped/subscription","commits_url":"https://api.github.com/repos/idandrd/DefinitelyTyped/commits{/sha}","git_commits_url":"https://api.github.com/repos/idandrd/DefinitelyTyped/git/commits{/sha}","comments_url":"https://api.github.com/repos/idandrd/DefinitelyTyped/comments{/number}","issue_comment_url":"https://api.github.com/repos/idandrd/DefinitelyTyped/issues/comments{/number}","contents_url":"https://api.github.com/repos/idandrd/DefinitelyTyped/contents/{+path}","compare_url":"https://api.github.com/repos/idandrd/DefinitelyTyped/compare/{base}...{head}","merges_url":"https://api.github.com/repos/idandrd/DefinitelyTyped/merges","archive_url":"https://api.github.com/repos/idandrd/DefinitelyTyped/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/idandrd/DefinitelyTyped/downloads","issues_url":"https://api.github.com/repos/idandrd/DefinitelyTyped/issues{/number}","pulls_url":"https://api.github.com/repos/idandrd/DefinitelyTyped/pulls{/number}","milestones_url":"https://api.github.com/repos/idandrd/DefinitelyTyped/milestones{/number}","notifications_url":"https://api.github.com/repos/idandrd/DefinitelyTyped/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/idandrd/DefinitelyTyped/labels{/name}","releases_url":"https://api.github.com/repos/idandrd/DefinitelyTyped/releases{/id}","deployments_url":"https://api.github.com/repos/idandrd/DefinitelyTyped/deployments","created_at":"2018-08-16T22:02:15Z","updated_at":"2018-08-20T15:28:04Z","pushed_at":"2018-08-20T15:27:57Z","git_url":"git://github.com/idandrd/DefinitelyTyped.git","ssh_url":"git@github.com:idandrd/DefinitelyTyped.git","clone_url":"https://github.com/idandrd/DefinitelyTyped.git","svn_url":"https://github.com/idandrd/DefinitelyTyped","homepage":"http://definitelytyped.org/","size":346947,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"DefinitelyTyped:master","ref":"master","sha":"ed2ac3e90a4b555aeee4f721b10bc0439624612b","user":{"login":"DefinitelyTyped","id":3637556,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2Mzc1NTY=","avatar_url":"https://avatars1.githubusercontent.com/u/3637556?v=4","gravatar_id":"","url":"https://api.github.com/users/DefinitelyTyped","html_url":"https://github.com/DefinitelyTyped","followers_url":"https://api.github.com/users/DefinitelyTyped/followers","following_url":"https://api.github.com/users/DefinitelyTyped/following{/other_user}","gists_url":"https://api.github.com/users/DefinitelyTyped/gists{/gist_id}","starred_url":"https://api.github.com/users/DefinitelyTyped/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DefinitelyTyped/subscriptions","organizations_url":"https://api.github.com/users/DefinitelyTyped/orgs","repos_url":"https://api.github.com/users/DefinitelyTyped/repos","events_url":"https://api.github.com/users/DefinitelyTyped/events{/privacy}","received_events_url":"https://api.github.com/users/DefinitelyTyped/received_events","type":"Organization","site_admin":false},"repo":{"id":6093316,"node_id":"MDEwOlJlcG9zaXRvcnk2MDkzMzE2","name":"DefinitelyTyped","full_name":"DefinitelyTyped/DefinitelyTyped","owner":{"login":"DefinitelyTyped","id":3637556,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2Mzc1NTY=","avatar_url":"https://avatars1.githubusercontent.com/u/3637556?v=4","gravatar_id":"","url":"https://api.github.com/users/DefinitelyTyped","html_url":"https://github.com/DefinitelyTyped","followers_url":"https://api.github.com/users/DefinitelyTyped/followers","following_url":"https://api.github.com/users/DefinitelyTyped/following{/other_user}","gists_url":"https://api.github.com/users/DefinitelyTyped/gists{/gist_id}","starred_url":"https://api.github.com/users/DefinitelyTyped/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DefinitelyTyped/subscriptions","organizations_url":"https://api.github.com/users/DefinitelyTyped/orgs","repos_url":"https://api.github.com/users/DefinitelyTyped/repos","events_url":"https://api.github.com/users/DefinitelyTyped/events{/privacy}","received_events_url":"https://api.github.com/users/DefinitelyTyped/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped","description":"The repository for high quality TypeScript type definitions.","fork":false,"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped","forks_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/forks","keys_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/teams","hooks_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/hooks","issue_events_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/events{/number}","events_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/events","assignees_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/assignees{/user}","branches_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/branches{/branch}","tags_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/tags","blobs_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/git/refs{/sha}","trees_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/statuses/{sha}","languages_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/languages","stargazers_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/stargazers","contributors_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/contributors","subscribers_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/subscribers","subscription_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/subscription","commits_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/commits{/sha}","git_commits_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/git/commits{/sha}","comments_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/comments{/number}","issue_comment_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/comments{/number}","contents_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/contents/{+path}","compare_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/merges","archive_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/downloads","issues_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues{/number}","pulls_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls{/number}","milestones_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/milestones{/number}","notifications_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/labels{/name}","releases_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/releases{/id}","deployments_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/deployments","created_at":"2012-10-05T16:39:45Z","updated_at":"2018-08-24T22:37:24Z","pushed_at":"2018-08-24T22:59:25Z","git_url":"git://github.com/DefinitelyTyped/DefinitelyTyped.git","ssh_url":"git@github.com:DefinitelyTyped/DefinitelyTyped.git","clone_url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","svn_url":"https://github.com/DefinitelyTyped/DefinitelyTyped","homepage":"http://definitelytyped.org/","size":350581,"stargazers_count":17072,"watchers_count":17072,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14264,"mirror_url":null,"archived":false,"open_issues_count":2353,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":14264,"open_issues":2353,"watchers":17072,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/28240"},"html":{"href":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/28240"},"issue":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/28240"},"comments":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/28240/comments"},"review_comments":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/28240/comments"},"review_comment":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/28240/commits"},"statuses":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/statuses/ab207c40c8759e11e1a3465e2668bda0c21cbedd"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"DanielRosenwasser","id":972891,"node_id":"MDQ6VXNlcjk3Mjg5MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/972891?v=4","gravatar_id":"","url":"https://api.github.com/users/DanielRosenwasser","html_url":"https://github.com/DanielRosenwasser","followers_url":"https://api.github.com/users/DanielRosenwasser/followers","following_url":"https://api.github.com/users/DanielRosenwasser/following{/other_user}","gists_url":"https://api.github.com/users/DanielRosenwasser/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielRosenwasser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielRosenwasser/subscriptions","organizations_url":"https://api.github.com/users/DanielRosenwasser/orgs","repos_url":"https://api.github.com/users/DanielRosenwasser/repos","events_url":"https://api.github.com/users/DanielRosenwasser/events{/privacy}","received_events_url":"https://api.github.com/users/DanielRosenwasser/received_events","type":"User","site_admin":false},"comments":5,"review_comments":0,"maintainer_can_modify":false,"commits":3,"additions":10,"deletions":1,"changed_files":2}}
{"actor":{"display_login":"DanielRosenwasser"}}