@miteradar/contracts 1.2.2 → 1.3.1

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/dist/gen/auth.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.12.1
4
+ // protoc-gen-ts_proto v2.12.4
5
5
  // protoc v3.21.12
6
6
  // source: auth.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -24,11 +24,13 @@ function AuthServiceControllerMethods() {
24
24
  for (const method of grpcMethods) {
25
25
  const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
26
26
  (0, microservices_1.GrpcMethod)("AuthService", method)(constructor.prototype[method], method, descriptor);
27
+ Object.defineProperty(constructor.prototype, method, descriptor);
27
28
  }
28
29
  const grpcStreamMethods = [];
29
30
  for (const method of grpcStreamMethods) {
30
31
  const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
31
32
  (0, microservices_1.GrpcStreamMethod)("AuthService", method)(constructor.prototype[method], method, descriptor);
33
+ Object.defineProperty(constructor.prototype, method, descriptor);
32
34
  }
33
35
  };
34
36
  }
@@ -121,6 +121,7 @@ export interface BiteGeoData {
121
121
  id: string;
122
122
  longitude: number;
123
123
  latitude: number;
124
+ count: number;
124
125
  }
125
126
  export interface ListReferencesRequest {
126
127
  search?: string | undefined;
package/dist/gen/bite.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.12.1
4
+ // protoc-gen-ts_proto v2.12.4
5
5
  // protoc v3.21.12
6
6
  // source: bite.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -43,11 +43,13 @@ function BiteServiceControllerMethods() {
43
43
  for (const method of grpcMethods) {
44
44
  const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
45
45
  (0, microservices_1.GrpcMethod)("BiteService", method)(constructor.prototype[method], method, descriptor);
46
+ Object.defineProperty(constructor.prototype, method, descriptor);
46
47
  }
47
48
  const grpcStreamMethods = [];
48
49
  for (const method of grpcStreamMethods) {
49
50
  const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
50
51
  (0, microservices_1.GrpcStreamMethod)("BiteService", method)(constructor.prototype[method], method, descriptor);
52
+ Object.defineProperty(constructor.prototype, method, descriptor);
51
53
  }
52
54
  };
53
55
  }
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.12.1
4
+ // protoc-gen-ts_proto v2.12.4
5
5
  // protoc v3.21.12
6
6
  // source: google/protobuf/timestamp.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -141,6 +141,7 @@ message BiteGeoData {
141
141
  string id = 1;
142
142
  double longitude = 2;
143
143
  double latitude = 3;
144
+ uint32 count = 4;
144
145
  }
145
146
 
146
147
  message ListReferencesRequest {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@miteradar/contracts",
3
- "version": "1.2.2",
3
+ "version": "1.3.1",
4
4
  "description": "Protobuf definitions and generated ts types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",