Skip to content

Commit

Permalink
🔀 🐛 Regenerate google aip protos (#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
devkanro authored Apr 10, 2023
1 parent adba774 commit 676a26d
Show file tree
Hide file tree
Showing 12 changed files with 52 additions and 40 deletions.
14 changes: 7 additions & 7 deletions examples/example-simple/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sisyphus.js/example-simple",
"version": "2.1.0",
"version": "2.1.1",
"description": "Example project using sisyphus.js",
"main": "dist/index.js",
"scripts": {
Expand All @@ -26,14 +26,14 @@
},
"homepage": "https://github.com/ButterCam/sisyphus-js#readme",
"devDependencies": {
"@sisyphus.js/cli": "^2.1.0",
"@sisyphus.js/google.proto": "^2.1.0",
"@sisyphus.js/runtime.proto": "^2.1.0"
"@sisyphus.js/cli": "^2.1.1",
"@sisyphus.js/google.proto": "^2.1.1",
"@sisyphus.js/runtime.proto": "^2.1.1"
},
"dependencies": {
"@sisyphus.js/google": "^2.1.0",
"@sisyphus.js/runtime": "^2.1.0",
"@sisyphus.js/transport-aip": "^2.1.0"
"@sisyphus.js/google": "^2.1.1",
"@sisyphus.js/runtime": "^2.1.1",
"@sisyphus.js/transport-aip": "^2.1.1"
},
"directories": {
"proto": "proto"
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"packages/*",
"examples/*"
],
"version": "2.1.0"
"version": "2.1.1"
}
10 changes: 5 additions & 5 deletions packages/sisyphus-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sisyphus.js/cli",
"version": "2.1.0",
"version": "2.1.1",
"description": "Protoc cli for sisyphus project on js platform",
"bin": {
"sisygen": "lib/index.js"
Expand Down Expand Up @@ -30,10 +30,10 @@
},
"homepage": "https://github.com/ButterCam/sisyphus-js#readme",
"dependencies": {
"@sisyphus.js/compiler": "^2.1.0",
"@sisyphus.js/protoc": "^2.1.0",
"@sisyphus.js/runtime": "^2.1.0",
"@sisyphus.js/runtime.proto": "^2.1.0",
"@sisyphus.js/compiler": "^2.1.1",
"@sisyphus.js/protoc": "^2.1.1",
"@sisyphus.js/runtime": "^2.1.1",
"@sisyphus.js/runtime.proto": "^2.1.1",
"commander": "^10.0.0",
"npmlog": "^7.0.1"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/sisyphus-compiler/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sisyphus.js/compiler",
"version": "2.1.0",
"version": "2.1.1",
"description": "Precompiled google common protos by sisyphus protobuf compiler",
"main": "lib/index.js",
"sisyphus": {
Expand Down Expand Up @@ -35,6 +35,6 @@
},
"homepage": "https://github.com/ButterCam/sisyphus-js#readme",
"dependencies": {
"@sisyphus.js/protoc": "^2.1.0"
"@sisyphus.js/protoc": "^2.1.1"
}
}
10 changes: 5 additions & 5 deletions packages/sisyphus-google-aip/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sisyphus.js/google.aip",
"version": "2.1.0",
"version": "2.1.1",
"description": "Precompiled google common aip clients by sisyphus protobuf compiler",
"scripts": {
"clean": "tsc --build --clean",
Expand Down Expand Up @@ -33,12 +33,12 @@
},
"homepage": "https://github.com/ButterCam/sisyphus-js#readme",
"devDependencies": {
"@sisyphus.js/cli": "^2.1.0",
"@sisyphus.js/google.proto": "^2.1.0"
"@sisyphus.js/cli": "^2.1.1",
"@sisyphus.js/google.proto": "^2.1.1"
},
"dependencies": {
"@sisyphus.js/google": "^2.1.0",
"@sisyphus.js/transport-aip": "^2.1.0"
"@sisyphus.js/google": "^2.1.1",
"@sisyphus.js/transport-aip": "^2.1.1"
},
"directories": {
"lib": "lib"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {Operations} from '@sisyphus.js/google/lib/google/longrunning/operations'
import {aipClient, Rpc, ServiceDescriptor} from '@sisyphus.js/transport-aip'
import {Rpc, ServiceDescriptor, aipClient} from '@sisyphus.js/transport-aip'

declare module '@sisyphus.js/google/lib/google/longrunning/operations' {
namespace Operations {
Expand All @@ -19,28 +19,40 @@ Operations.aipDescriptor = {
name: 'ListOperations',
i: '.google.longrunning.ListOperationsRequest',
o: '.google.longrunning.ListOperationsResponse',
options: {}
options: {
http: {get: '/v1/{name=operations}'},
methodSignature: ['name,filter']
}
},

getOperation: {
name: 'GetOperation',
i: '.google.longrunning.GetOperationRequest',
o: '.google.longrunning.Operation',
options: {}
options: {
http: {get: '/v1/{name=operations/**}'},
methodSignature: ['name']
}
},

deleteOperation: {
name: 'DeleteOperation',
i: '.google.longrunning.DeleteOperationRequest',
o: '.google.protobuf.Empty',
options: {}
options: {
http: {delete: '/v1/{name=operations/**}'},
methodSignature: ['name']
}
},

cancelOperation: {
name: 'CancelOperation',
i: '.google.longrunning.CancelOperationRequest',
o: '.google.protobuf.Empty',
options: {}
options: {
http: {post: '/v1/{name=operations/**}:cancel', body: '*'},
methodSignature: ['name']
}
},

waitOperation: {
Expand Down
10 changes: 5 additions & 5 deletions packages/sisyphus-google-proto/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sisyphus.js/google.proto",
"version": "2.1.0",
"version": "2.1.1",
"description": "Precompiled google common protos with full protobuf by sisyphus protobuf compiler",
"main": "lib/index.js",
"scripts": {
Expand Down Expand Up @@ -34,12 +34,12 @@
},
"homepage": "https://github.com/ButterCam/sisyphus-js#readme",
"devDependencies": {
"@sisyphus.js/cli": "^2.1.0"
"@sisyphus.js/cli": "^2.1.1"
},
"dependencies": {
"@sisyphus.js/google": "^2.1.0",
"@sisyphus.js/runtime": "^2.1.0",
"@sisyphus.js/runtime.proto": "^2.1.0"
"@sisyphus.js/google": "^2.1.1",
"@sisyphus.js/runtime": "^2.1.1",
"@sisyphus.js/runtime.proto": "^2.1.1"
},
"directories": {
"lib": "lib"
Expand Down
6 changes: 3 additions & 3 deletions packages/sisyphus-google/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sisyphus.js/google",
"version": "2.1.0",
"version": "2.1.1",
"description": "Precompiled google common protos by sisyphus protobuf compiler",
"scripts": {
"clean": "tsc --build --clean",
Expand Down Expand Up @@ -34,10 +34,10 @@
},
"homepage": "https://github.com/ButterCam/sisyphus-js#readme",
"devDependencies": {
"@sisyphus.js/cli": "^2.1.0"
"@sisyphus.js/cli": "^2.1.1"
},
"dependencies": {
"@sisyphus.js/runtime": "^2.1.0"
"@sisyphus.js/runtime": "^2.1.1"
},
"directories": {
"lib": "lib",
Expand Down
2 changes: 1 addition & 1 deletion packages/sisyphus-protoc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sisyphus.js/protoc",
"version": "2.1.0",
"version": "2.1.1",
"description": "Install protoc for current platform.",
"main": "lib/index.js",
"bin": {
Expand Down
4 changes: 2 additions & 2 deletions packages/sisyphus-runtime-proto/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sisyphus.js/runtime.proto",
"version": "2.1.0",
"version": "2.1.1",
"description": "Protobuf full runtime for sisyphus project on js platform, support protobuf binary format.",
"main": "lib/index.js",
"scripts": {
Expand Down Expand Up @@ -35,7 +35,7 @@
},
"homepage": "https://github.com/ButterCam/sisyphus-js#readme",
"dependencies": {
"@sisyphus.js/runtime": "^2.1.0"
"@sisyphus.js/runtime": "^2.1.1"
},
"directories": {
"lib": "lib"
Expand Down
2 changes: 1 addition & 1 deletion packages/sisyphus-runtime/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sisyphus.js/runtime",
"version": "2.1.0",
"version": "2.1.1",
"description": "Protobuf lite runtime for sisyphus project on js platform, only support JSON format.",
"main": "lib/index.js",
"scripts": {
Expand Down
6 changes: 3 additions & 3 deletions packages/sisyphus-transport-aip/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sisyphus.js/transport-aip",
"version": "2.1.0",
"version": "2.1.1",
"description": "gRPC transport based on AIP spec(gRPC to HTTP/Json Transcoding).",
"main": "lib/index.js",
"scripts": {
Expand Down Expand Up @@ -32,8 +32,8 @@
},
"homepage": "https://github.com/ButterCam/sisyphus-js#readme",
"dependencies": {
"@sisyphus.js/google": "^2.1.0",
"@sisyphus.js/runtime": "^2.1.0"
"@sisyphus.js/google": "^2.1.1",
"@sisyphus.js/runtime": "^2.1.1"
},
"directories": {
"lib": "lib",
Expand Down

0 comments on commit 676a26d

Please sign in to comment.