@thiscargo/contracts 0.0.18 → 0.0.19
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/company.ts +2 -2
- package/package.json +1 -1
- package/proto/company.proto +1 -1
package/gen/company.ts
CHANGED
|
@@ -61,7 +61,7 @@ export interface CompanyResponse_CompanyCount {
|
|
|
61
61
|
export const COMPANY_V1_PACKAGE_NAME = "company.v1";
|
|
62
62
|
|
|
63
63
|
export interface CompanyServiceClient {
|
|
64
|
-
getAllCompany(request: Empty): Observable<
|
|
64
|
+
getAllCompany(request: Empty): Observable<CompanyListResponse>;
|
|
65
65
|
|
|
66
66
|
createCompany(request: CreateCompanyRequest): Observable<CompanyResponse>;
|
|
67
67
|
|
|
@@ -73,7 +73,7 @@ export interface CompanyServiceClient {
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
export interface CompanyServiceController {
|
|
76
|
-
getAllCompany(request: Empty): Promise<
|
|
76
|
+
getAllCompany(request: Empty): Promise<CompanyListResponse> | Observable<CompanyListResponse> | CompanyListResponse;
|
|
77
77
|
|
|
78
78
|
createCompany(
|
|
79
79
|
request: CreateCompanyRequest,
|
package/package.json
CHANGED
package/proto/company.proto
CHANGED
|
@@ -7,7 +7,7 @@ import "google/protobuf/empty.proto";
|
|
|
7
7
|
import "account.proto";
|
|
8
8
|
|
|
9
9
|
service CompanyService {
|
|
10
|
-
rpc GetAllCompany(google.protobuf.Empty) returns (
|
|
10
|
+
rpc GetAllCompany(google.protobuf.Empty) returns (CompanyListResponse);
|
|
11
11
|
rpc CreateCompany(CreateCompanyRequest) returns (CompanyResponse);
|
|
12
12
|
rpc GetCompany(GetCompanyRequest) returns (CompanyResponse);
|
|
13
13
|
rpc UpdateCompany(UpdateCompanyRequest) returns (CompanyResponse);
|