@noldova/git.github.protocol 0.0.10 → 0.0.12
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 +3 -3
- package/src/api/index.d.ts +7 -0
- package/src/models/github-names.js +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@noldova/git.github.protocol",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.12",
|
|
4
4
|
"description": "What the GitHub module's parts share: GitHubNames, the module's id, method, event, tool and service names, and the IGitHubAccess service through which another module reads the signed-in token as a GitHubAccessGrant, or why not as a GitHubAccessRefusal.",
|
|
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.12"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "20d594ec9f183a11399993db53d2e6510e31e41f"
|
|
36
36
|
}
|
package/src/api/index.d.ts
CHANGED
|
@@ -104,6 +104,13 @@ export declare class GitHubNames {
|
|
|
104
104
|
*/
|
|
105
105
|
public static readonly readReviewRequestsMethod: string;
|
|
106
106
|
|
|
107
|
+
/**
|
|
108
|
+
* `git-github.readRepositories`: takes an `AccountQuery` as JSON and answers the repositories that account owns, collaborates on or reaches
|
|
109
|
+
* through its organizations, on the host it signed in to, as `HostRepositoryList` JSON, the most recently pushed first: at most 300, with
|
|
110
|
+
* `hasMore` when GitHub may have more. For an account that isn't signed in, the signed-out list, having asked the host nothing.
|
|
111
|
+
*/
|
|
112
|
+
public static readonly readRepositoriesMethod: string;
|
|
113
|
+
|
|
107
114
|
/**
|
|
108
115
|
* `git-github.readCommitComments`: takes a `CommitQuery` as JSON and answers the review comments on that commit as `HostCommitComments` JSON: the
|
|
109
116
|
* commit's own comments and, in the pull request that brought it in, chosen as `readCommitPullRequest` chooses it, the review comments made on it,
|
|
@@ -20,6 +20,7 @@ export class GitHubNames {
|
|
|
20
20
|
static readAuthorAvatarMethod = HostingNames.nameOf(GitHubNames.moduleId, HostingNames.readAuthorAvatarMethod);
|
|
21
21
|
static readPullRequestsMethod = HostingNames.nameOf(GitHubNames.moduleId, HostingNames.readPullRequestsMethod);
|
|
22
22
|
static readReviewRequestsMethod = HostingNames.nameOf(GitHubNames.moduleId, HostingNames.readReviewRequestsMethod);
|
|
23
|
+
static readRepositoriesMethod = HostingNames.nameOf(GitHubNames.moduleId, HostingNames.readRepositoriesMethod);
|
|
23
24
|
static readCommitCommentsMethod = HostingNames.nameOf(GitHubNames.moduleId, HostingNames.readCommitCommentsMethod);
|
|
24
25
|
static readPullRequestMethod = HostingNames.nameOf(GitHubNames.moduleId, HostingNames.readPullRequestMethod);
|
|
25
26
|
static readPullRequestThreadsMethod = HostingNames.nameOf(GitHubNames.moduleId, HostingNames.readPullRequestThreadsMethod);
|