You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here is the diff that solved my problem. queryTimeRangeType enum is not specified, just a quick workaround so I can get working.
diff --git a/node_modules/azure-devops-node-api/interfaces/GitInterfaces.d.ts b/node_modules/azure-devops-node-api/interfaces/GitInterfaces.d.ts
index 817e555..0e19174 100644
--- a/node_modules/azure-devops-node-api/interfaces/GitInterfaces.d.ts+++ b/node_modules/azure-devops-node-api/interfaces/GitInterfaces.d.ts@@ -1862,6 +1862,18 @@ export interface GitPullRequestSearchCriteria {
* Whether to include the _links field on the shallow references
*/
includeLinks?: boolean;
+ /**+ * If specified, filters pull requests that created/closed before this date based on the queryTimeRangeType specified.+ */+ maxTime?: Date;+ /**+ * If specified, filters pull requests that created/closed after this date based on the queryTimeRangeType specified.+ */+ minTime?: Date;+ /**+ * The type of time range which should be used for minTime and maxTime. Defaults to Created if unset.+ */+ queryTimeRangeType?: 'created' | 'closed';
/**
* If set, search for pull requests whose target branch is in this repository.
*/
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch
azure-devops-node-api@11.2.0
for the project I'm working on.The GitPullRequestSearchCriteria interface seems to be out of date.
Here is the diff that solved my problem. queryTimeRangeType enum is not specified, just a quick workaround so I can get working.
This issue body was partially generated by patch-package.
The text was updated successfully, but these errors were encountered: