@miradorlabs/web-grpc 3.31.0 → 3.31.1

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": "@miradorlabs/web-grpc",
3
- "version": "3.31.0",
3
+ "version": "3.31.1",
4
4
  "description": "Generated gRPC (grpc-js) client stubs for the Mirador web gateway.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -2127,6 +2127,13 @@ export const GitHubFilesResponse: MessageFns<GitHubFilesResponse> = {
2127
2127
  export interface GitHubGatewayService {
2128
2128
  GetGitHubConnector(request: GitHubScopeRequest, metadata?: Metadata): Promise<GitHubStatusResponse>;
2129
2129
  BeginGitHubConnection(request: GitHubScopeRequest, metadata?: Metadata): Promise<GitHubBeginResponse>;
2130
+ /**
2131
+ * Completes the connection from GitHub's callback. Without an installation_id
2132
+ * it answers STATUS_CODE_NOT_FOUND only when the signed-in GitHub user has no
2133
+ * installation of the app: the client's cue to send them to the app's
2134
+ * install page and then connect. When every installation they have is
2135
+ * suspended it answers STATUS_CODE_VALIDATION_ERROR, to unsuspend it on GitHub.
2136
+ */
2130
2137
  CompleteGitHubConnection(request: GitHubCompleteRequest, metadata?: Metadata): Promise<GitHubStatusResponse>;
2131
2138
  DisconnectGitHubConnection(request: GitHubDisconnectRequest, metadata?: Metadata): Promise<GitHubEmptyResponse>;
2132
2139
  ListGitHubRepositories(request: GitHubScopeRequest, metadata?: Metadata): Promise<GitHubRepositoriesResponse>;
@@ -153,7 +153,12 @@ var GitHubGatewayServiceService = exports.GitHubGatewayServiceService = {
153
153
  responseSerialize: serialize_gateway_web_v1_GitHubBeginResponse,
154
154
  responseDeserialize: deserialize_gateway_web_v1_GitHubBeginResponse,
155
155
  },
156
- completeGitHubConnection: {
156
+ // Completes the connection from GitHub's callback. Without an installation_id
157
+ // it answers STATUS_CODE_NOT_FOUND only when the signed-in GitHub user has no
158
+ // installation of the app: the client's cue to send them to the app's
159
+ // install page and then connect. When every installation they have is
160
+ // suspended it answers STATUS_CODE_VALIDATION_ERROR, to unsuspend it on GitHub.
161
+ completeGitHubConnection: {
157
162
  path: '/gateway.web.v1.GitHubGatewayService/CompleteGitHubConnection',
158
163
  requestStream: false,
159
164
  responseStream: false,