diff --git a/components/public-api/go.mod b/components/public-api/go.mod new file mode 100644 index 00000000000000..424dcb4f4e7b1f --- /dev/null +++ b/components/public-api/go.mod @@ -0,0 +1,5 @@ +module github.com/gitpod-io/gitpod/public-api-codegen + +go 1.18 + +require google.golang.org/protobuf v1.28.0 diff --git a/components/public-api/go.sum b/components/public-api/go.sum new file mode 100644 index 00000000000000..231604f73816a8 --- /dev/null +++ b/components/public-api/go.sum @@ -0,0 +1,8 @@ +github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= +github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU= +github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= +google.golang.org/protobuf v1.28.0 h1:w43yiav+6bVFTBQFZX0r7ipe9JQ1QsbMgHwbBziscLw= +google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= diff --git a/components/public-api/go/v1/pagination.pb.go b/components/public-api/go/v1/pagination.pb.go index be83af29f1abd4..988976bb73fe18 100644 --- a/components/public-api/go/v1/pagination.pb.go +++ b/components/public-api/go/v1/pagination.pb.go @@ -4,8 +4,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.27.1 -// protoc v3.19.1 +// protoc-gen-go v1.28.0 +// protoc v3.20.0 // source: gitpod/v1/pagination.proto package v1 diff --git a/components/public-api/go/v1/prebuilds.pb.go b/components/public-api/go/v1/prebuilds.pb.go index 57c498fa4a0117..b0a91bdfca77ee 100644 --- a/components/public-api/go/v1/prebuilds.pb.go +++ b/components/public-api/go/v1/prebuilds.pb.go @@ -4,8 +4,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.27.1 -// protoc v3.19.1 +// protoc-gen-go v1.28.0 +// protoc v3.20.0 // source: gitpod/v1/prebuilds.proto package v1 diff --git a/components/public-api/go/v1/prebuilds_grpc.pb.go b/components/public-api/go/v1/prebuilds_grpc.pb.go index 78d126adadee39..986b55d77ba9d4 100644 --- a/components/public-api/go/v1/prebuilds_grpc.pb.go +++ b/components/public-api/go/v1/prebuilds_grpc.pb.go @@ -3,6 +3,10 @@ // See License-AGPL.txt in the project root for license information. // Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.2.0 +// - protoc v3.20.0 +// source: gitpod/v1/prebuilds.proto package v1 diff --git a/components/public-api/go/v1/workspaces.pb.go b/components/public-api/go/v1/workspaces.pb.go index bec1a3e75ab8be..5667c4c9cc87e3 100644 --- a/components/public-api/go/v1/workspaces.pb.go +++ b/components/public-api/go/v1/workspaces.pb.go @@ -4,8 +4,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.27.1 -// protoc v3.19.1 +// protoc-gen-go v1.28.0 +// protoc v3.20.0 // source: gitpod/v1/workspaces.proto package v1 diff --git a/components/public-api/go/v1/workspaces_grpc.pb.go b/components/public-api/go/v1/workspaces_grpc.pb.go index 22141f6f9bb887..93665d28faeb04 100644 --- a/components/public-api/go/v1/workspaces_grpc.pb.go +++ b/components/public-api/go/v1/workspaces_grpc.pb.go @@ -3,6 +3,10 @@ // See License-AGPL.txt in the project root for license information. // Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.2.0 +// - protoc v3.20.0 +// source: gitpod/v1/workspaces.proto package v1 diff --git a/components/public-api/tools.go b/components/public-api/tools.go new file mode 100644 index 00000000000000..527b3c62e07f02 --- /dev/null +++ b/components/public-api/tools.go @@ -0,0 +1,6 @@ +package public_api_codegen + +import ( + _ "google.golang.org/protobuf/cmd/protoc-gen-go" + _ "google.golang.org/protobuf/runtime/protoimpl" +) diff --git a/components/public-api/typescript/src/gitpod/v1/pagination_pb.js b/components/public-api/typescript/src/gitpod/v1/pagination_pb.js index 7a9d59743b0a54..93350dc151cf67 100644 --- a/components/public-api/typescript/src/gitpod/v1/pagination_pb.js +++ b/components/public-api/typescript/src/gitpod/v1/pagination_pb.js @@ -13,13 +13,7 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { - if (this) { return this; } - if (typeof window !== 'undefined') { return window; } - if (typeof global !== 'undefined') { return global; } - if (typeof self !== 'undefined') { return self; } - return Function('return this')(); -}.call(null)); +var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); goog.exportSymbol('proto.gitpod.v1.Pagination', null, global); /** diff --git a/components/public-api/typescript/src/gitpod/v1/prebuilds_pb.js b/components/public-api/typescript/src/gitpod/v1/prebuilds_pb.js index 96f347ca7a17e5..ed96faf7c1fd7b 100644 --- a/components/public-api/typescript/src/gitpod/v1/prebuilds_pb.js +++ b/components/public-api/typescript/src/gitpod/v1/prebuilds_pb.js @@ -13,13 +13,7 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { - if (this) { return this; } - if (typeof window !== 'undefined') { return window; } - if (typeof global !== 'undefined') { return global; } - if (typeof self !== 'undefined') { return self; } - return Function('return this')(); -}.call(null)); +var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var gitpod_v1_workspaces_pb = require('../../gitpod/v1/workspaces_pb.js'); goog.object.extend(proto, gitpod_v1_workspaces_pb); diff --git a/components/public-api/typescript/src/gitpod/v1/workspaces_pb.js b/components/public-api/typescript/src/gitpod/v1/workspaces_pb.js index cea17ad62ef192..f04f652887faf2 100644 --- a/components/public-api/typescript/src/gitpod/v1/workspaces_pb.js +++ b/components/public-api/typescript/src/gitpod/v1/workspaces_pb.js @@ -13,13 +13,7 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { - if (this) { return this; } - if (typeof window !== 'undefined') { return window; } - if (typeof global !== 'undefined') { return global; } - if (typeof self !== 'undefined') { return self; } - return Function('return this')(); -}.call(null)); +var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js'); goog.object.extend(proto, google_protobuf_timestamp_pb);