@noldova/git.azure-devops.protocol 0.0.11 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@noldova/git.azure-devops.protocol",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.13",
|
|
4
4
|
"description": "What the Azure DevOps module's parts share: AzureDevOpsNames, the module's id, its sign-in's and reads' method names, its sign-in's event and the capabilities it offers.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"registry": "https://registry.npmjs.org/"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@noldova/git.hosting.protocol": "0.0.
|
|
33
|
+
"@noldova/git.hosting.protocol": "0.0.13"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "276c37d29b087e7fca36751e2569000ea90ad44a"
|
|
36
36
|
}
|
package/src/api/index.d.ts
CHANGED
|
@@ -254,13 +254,22 @@ export declare class AzureDevOpsNames {
|
|
|
254
254
|
public static readonly readReviewRequestsMethod: string;
|
|
255
255
|
|
|
256
256
|
/**
|
|
257
|
-
* `git-azure-devops.readRepositories`: takes
|
|
258
|
-
*
|
|
259
|
-
* public, with no push time: at most 300, with `hasMore` when
|
|
260
|
-
* organization, the signed-out list, having asked the host
|
|
257
|
+
* `git-azure-devops.readRepositories`: takes a `RepositoryListQuery` as JSON, and asks Azure DevOps on every read, fresh or not, as the module
|
|
258
|
+
* keeps no answer; it answers the Git repositories of every project in the account's organization as `HostRepositoryList` JSON, by project and
|
|
259
|
+
* then name, each named `<project>/<repository>` and private unless its project is public, with no push time: at most 300, with `hasMore` when
|
|
260
|
+
* the organization has more. For an account that isn't signed in, or not yet to an organization, the signed-out list, having asked the host
|
|
261
|
+
* nothing.
|
|
261
262
|
*/
|
|
262
263
|
public static readonly readRepositoriesMethod: string;
|
|
263
264
|
|
|
265
|
+
/**
|
|
266
|
+
* `git-azure-devops.searchRepositories`: takes a `RepositorySearch` as JSON and answers the repositories `readRepositoriesMethod` lists from the
|
|
267
|
+
* whole organization, in the same order, whose name holds the search's text, ignoring case, as `HostRepositoryList` JSON: at most 300, with
|
|
268
|
+
* `hasMore` when more match. For an account that isn't signed in, or not yet to an organization, the signed-out list, having asked the host
|
|
269
|
+
* nothing.
|
|
270
|
+
*/
|
|
271
|
+
public static readonly searchRepositoriesMethod: string;
|
|
272
|
+
|
|
264
273
|
/**
|
|
265
274
|
* `git-azure-devops.readCommitComments`: takes a `CommitQuery` as JSON for a remote on Azure DevOps and answers the comments on that commit as
|
|
266
275
|
* `HostCommitComments` JSON: in the pull request that brought it in, the people's comments in the threads made on the iteration whose source
|
|
@@ -30,6 +30,7 @@ export class AzureDevOpsNames {
|
|
|
30
30
|
static readPullRequestConflictsMethod = "git-azure-devops.readPullRequestConflicts";
|
|
31
31
|
static readReviewRequestsMethod = HostingNames.nameOf(AzureDevOpsNames.moduleId, HostingNames.readReviewRequestsMethod);
|
|
32
32
|
static readRepositoriesMethod = HostingNames.nameOf(AzureDevOpsNames.moduleId, HostingNames.readRepositoriesMethod);
|
|
33
|
+
static searchRepositoriesMethod = HostingNames.nameOf(AzureDevOpsNames.moduleId, HostingNames.searchRepositoriesMethod);
|
|
33
34
|
static readCommitCommentsMethod = HostingNames.nameOf(AzureDevOpsNames.moduleId, HostingNames.readCommitCommentsMethod);
|
|
34
35
|
static readPullRequestThreadsMethod = HostingNames.nameOf(AzureDevOpsNames.moduleId, HostingNames.readPullRequestThreadsMethod);
|
|
35
36
|
static linkBranchMethod = "git-azure-devops.linkBranch";
|