Skip to content

Commit 12f1fc3

Browse files
committed
Update protoc-gen-connect-es
1 parent 4aa900d commit 12f1fc3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+301
-624
lines changed

components/dashboard/src/service/public-api.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
import { createPromiseClient } from "@connectrpc/connect";
88
import { createConnectTransport } from "@connectrpc/connect-web";
99
import { Project as ProtocolProject, Team as ProtocolTeam } from "@gitpod/gitpod-protocol/lib/teams-projects-protocol";
10-
import { HelloService } from "@gitpod/public-api/lib/gitpod/experimental/v1/dummy_connectweb";
11-
import { TeamsService } from "@gitpod/public-api/lib/gitpod/experimental/v1/teams_connectweb";
12-
import { TokensService } from "@gitpod/public-api/lib/gitpod/experimental/v1/tokens_connectweb";
13-
import { ProjectsService } from "@gitpod/public-api/lib/gitpod/experimental/v1/projects_connectweb";
14-
import { WorkspacesService } from "@gitpod/public-api/lib/gitpod/experimental/v1/workspaces_connectweb";
15-
import { OIDCService } from "@gitpod/public-api/lib/gitpod/experimental/v1/oidc_connectweb";
10+
import { HelloService } from "@gitpod/public-api/lib/gitpod/experimental/v1/dummy_connect";
11+
import { TeamsService } from "@gitpod/public-api/lib/gitpod/experimental/v1/teams_connect";
12+
import { TokensService } from "@gitpod/public-api/lib/gitpod/experimental/v1/tokens_connect";
13+
import { ProjectsService } from "@gitpod/public-api/lib/gitpod/experimental/v1/projects_connect";
14+
import { WorkspacesService } from "@gitpod/public-api/lib/gitpod/experimental/v1/workspaces_connect";
15+
import { OIDCService } from "@gitpod/public-api/lib/gitpod/experimental/v1/oidc_connect";
1616
import { getMetricsInterceptor } from "@gitpod/public-api/lib/metrics";
1717
import { Team } from "@gitpod/public-api/lib/gitpod/experimental/v1/teams_pb";
1818
import { TeamMemberInfo, TeamMemberRole } from "@gitpod/gitpod-protocol";

components/public-api/buf.gen.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ plugins:
2222
out: typescript/src
2323
opt: target=ts
2424
path: typescript/node_modules/.bin/protoc-gen-es
25-
- name: connect-web
25+
- name: connect-es
2626
out: typescript/src
2727
opt: target=ts
28-
path: typescript/node_modules/.bin/protoc-gen-connect-web
28+
path: typescript/node_modules/.bin/protoc-gen-connect-es

components/public-api/typescript/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@
5151
"prom-client": "^14.2.0"
5252
},
5353
"devDependencies": {
54-
"@bufbuild/protoc-gen-connect-web": "^0.2.1",
55-
"@bufbuild/protoc-gen-es": "^0.1.1",
54+
"@connectrpc/protoc-gen-connect-es": "1.1.2",
55+
"@bufbuild/protoc-gen-es": "1.3.3",
5656
"@testdeck/mocha": "0.1.2",
5757
"@types/chai": "^4.1.2",
5858
"@types/node": "^16.11.0",

components/public-api/typescript/src/gitpod/experimental/v1/cell_stats_connectweb.ts

Lines changed: 0 additions & 33 deletions
This file was deleted.

components/public-api/typescript/src/gitpod/experimental/v1/cell_stats_pb.ts

Lines changed: 0 additions & 99 deletions
This file was deleted.

components/public-api/typescript/src/gitpod/experimental/v1/dummy_connectweb.ts renamed to components/public-api/typescript/src/gitpod/experimental/v1/dummy_connect.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
* See License.AGPL.txt in the project root for license information.
55
*/
66

7-
// @generated by protoc-gen-connect-web v0.2.1 with parameter "target=ts"
7+
// @generated by protoc-gen-connect-es v1.1.2 with parameter "target=ts"
88
// @generated from file gitpod/experimental/v1/dummy.proto (package gitpod.experimental.v1, syntax proto3)
99
/* eslint-disable */
10-
/* @ts-nocheck */
10+
// @ts-nocheck
1111

12-
import {LotsOfRepliesRequest, LotsOfRepliesResponse, SayHelloRequest, SayHelloResponse} from "./dummy_pb.js";
13-
import {MethodKind} from "@bufbuild/protobuf";
12+
import { LotsOfRepliesRequest, LotsOfRepliesResponse, SayHelloRequest, SayHelloResponse } from "./dummy_pb.js";
13+
import { MethodKind } from "@bufbuild/protobuf";
1414

1515
/**
1616
* HelloService is a dummy service that says hello. It is used for reliability

components/public-api/typescript/src/gitpod/experimental/v1/dummy_pb.ts

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/public-api/typescript/src/gitpod/experimental/v1/editor_service_connectweb.ts renamed to components/public-api/typescript/src/gitpod/experimental/v1/editor_service_connect.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
* See License.AGPL.txt in the project root for license information.
55
*/
66

7-
// @generated by protoc-gen-connect-web v0.2.1 with parameter "target=ts"
7+
// @generated by protoc-gen-connect-es v1.1.2 with parameter "target=ts"
88
// @generated from file gitpod/experimental/v1/editor_service.proto (package gitpod.experimental.v1, syntax proto3)
99
/* eslint-disable */
10-
/* @ts-nocheck */
10+
// @ts-nocheck
1111

12-
import {ListEditorOptionsRequest, ListEditorOptionsResponse} from "./editor_service_pb.js";
13-
import {MethodKind} from "@bufbuild/protobuf";
12+
import { ListEditorOptionsRequest, ListEditorOptionsResponse } from "./editor_service_pb.js";
13+
import { MethodKind } from "@bufbuild/protobuf";
1414

1515
/**
1616
* @generated from service gitpod.experimental.v1.EditorService
@@ -29,4 +29,3 @@ export const EditorService = {
2929
},
3030
}
3131
} as const;
32-

components/public-api/typescript/src/gitpod/experimental/v1/editor_service_pb.ts

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/public-api/typescript/src/gitpod/experimental/v1/ide_client_connectweb.ts renamed to components/public-api/typescript/src/gitpod/experimental/v1/ide_client_connect.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
* See License.AGPL.txt in the project root for license information.
55
*/
66

7-
// @generated by protoc-gen-connect-web v0.2.1 with parameter "target=ts"
7+
// @generated by protoc-gen-connect-es v1.1.2 with parameter "target=ts"
88
// @generated from file gitpod/experimental/v1/ide_client.proto (package gitpod.experimental.v1, syntax proto3)
99
/* eslint-disable */
10-
/* @ts-nocheck */
10+
// @ts-nocheck
1111

12-
import {SendDidCloseRequest, SendDidCloseResponse, SendHeartbeatRequest, SendHeartbeatResponse, UpdateGitStatusRequest, UpdateGitStatusResponse} from "./ide_client_pb.js";
13-
import {MethodKind} from "@bufbuild/protobuf";
12+
import { SendDidCloseRequest, SendDidCloseResponse, SendHeartbeatRequest, SendHeartbeatResponse, UpdateGitStatusRequest, UpdateGitStatusResponse } from "./ide_client_pb.js";
13+
import { MethodKind } from "@bufbuild/protobuf";
1414

1515
/**
1616
* @generated from service gitpod.experimental.v1.IDEClientService
@@ -53,4 +53,3 @@ export const IDEClientService = {
5353
},
5454
}
5555
} as const;
56-

0 commit comments

Comments
 (0)