@thiscargo/contracts 0.0.16 → 0.0.17

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/gen/server.ts CHANGED
@@ -66,7 +66,7 @@ export interface ServerServiceClient {
66
66
  }
67
67
 
68
68
  export interface ServerServiceController {
69
- getAllServer(request: Empty): Observable<ServerResponse>;
69
+ getAllServer(request: Empty): Promise<ServerResponse> | Observable<ServerResponse> | ServerResponse;
70
70
 
71
71
  createServer(request: CreateServerRequest): Promise<ServerResponse> | Observable<ServerResponse> | ServerResponse;
72
72
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thiscargo/contracts",
3
- "version": "0.0.16",
3
+ "version": "0.0.17",
4
4
  "description": "Protobuf definitions and generated TypeScript types",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -7,7 +7,7 @@ import "google/protobuf/empty.proto";
7
7
  import "company.proto";
8
8
 
9
9
  service ServerService {
10
- rpc GetAllServer (google.protobuf.Empty) returns (stream ServerResponse);
10
+ rpc GetAllServer (google.protobuf.Empty) returns (ServerResponse);
11
11
  rpc CreateServer (CreateServerRequest) returns (ServerResponse);
12
12
  rpc GetServer (GetServerRequest) returns (ServerResponse);
13
13
  rpc UpdateServer (UpdateServerRequest) returns (ServerResponse);