jr-common-micro 1.1.40 → 1.1.42

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.
@@ -7,6 +7,7 @@ export interface IncreasingDecreaseingDataDto {
7
7
  image: string;
8
8
  price: string;
9
9
  price_change_percentage_24h: string;
10
+ url_id: string;
10
11
  }
11
12
  export interface IncreasingDecreaseingData {
12
13
  increasing: IncreasingDecreaseingDataDto[];
@@ -8,6 +8,7 @@ export declare class IncreasingDecreaseingDataDto extends Message<IncreasingDecr
8
8
  image: string;
9
9
  price: string;
10
10
  priceChangePercentage24h: string;
11
+ urlId: string;
11
12
  constructor(data?: PartialMessage<IncreasingDecreaseingDataDto>);
12
13
  static readonly runtime: typeof proto3;
13
14
  static readonly typeName = "micro.v1.data.IncreasingDecreaseingDataDto";
@@ -10,6 +10,7 @@ class IncreasingDecreaseingDataDto extends protobuf_1.Message {
10
10
  image = "";
11
11
  price = "";
12
12
  priceChangePercentage24h = "";
13
+ urlId = "";
13
14
  constructor(data) {
14
15
  super();
15
16
  protobuf_1.proto3.util.initPartial(data, this);
@@ -23,6 +24,7 @@ class IncreasingDecreaseingDataDto extends protobuf_1.Message {
23
24
  { no: 4, name: "image", kind: "scalar", T: 9 },
24
25
  { no: 5, name: "price", kind: "scalar", T: 9 },
25
26
  { no: 6, name: "price_change_percentage_24h", kind: "scalar", T: 9 },
27
+ { no: 7, name: "url_id", kind: "scalar", T: 9 },
26
28
  ]);
27
29
  static fromBinary(bytes, options) {
28
30
  return new IncreasingDecreaseingDataDto().fromBinary(bytes, options);
@@ -328,6 +328,12 @@ export declare const PEconomicCalendarService: {
328
328
  readonly O: typeof EmptyResponse;
329
329
  readonly kind: MethodKind.ServerStreaming;
330
330
  };
331
+ readonly getEconomicCalendarPagination: {
332
+ readonly name: "GetEconomicCalendarPagination";
333
+ readonly I: typeof PaginateRequest;
334
+ readonly O: typeof EconomicCalendarResponse;
335
+ readonly kind: MethodKind.ServerStreaming;
336
+ };
331
337
  };
332
338
  };
333
339
  export declare const PAppVersionService: {
@@ -331,6 +331,12 @@ exports.PEconomicCalendarService = {
331
331
  O: general_pb_js_1.EmptyResponse,
332
332
  kind: protobuf_1.MethodKind.ServerStreaming,
333
333
  },
334
+ getEconomicCalendarPagination: {
335
+ name: "GetEconomicCalendarPagination",
336
+ I: general_pb_js_1.PaginateRequest,
337
+ O: economic_calendar_messages_pb_js_1.EconomicCalendarResponse,
338
+ kind: protobuf_1.MethodKind.ServerStreaming,
339
+ },
334
340
  }
335
341
  };
336
342
  exports.PAppVersionService = {
@@ -141,10 +141,12 @@ export declare const P_CALENDAR_SERVICE_NAME = "PCalendarService";
141
141
  export interface PEconomicCalendarServiceClient {
142
142
  getEconomicCalendarData(request: PaginateRequest, metadata?: Metadata): Observable<EconomicCalendarResponse>;
143
143
  storeEconomicCalendarData(request: StoreEconomicCalendarRequest, metadata?: Metadata): Observable<EmptyResponse>;
144
+ getEconomicCalendarPagination(request: PaginateRequest, metadata?: Metadata): Observable<EconomicCalendarResponse>;
144
145
  }
145
146
  export interface PEconomicCalendarServiceController {
146
147
  getEconomicCalendarData(request: PaginateRequest, metadata?: Metadata): Observable<EconomicCalendarResponse>;
147
148
  storeEconomicCalendarData(request: StoreEconomicCalendarRequest, metadata?: Metadata): Observable<EmptyResponse>;
149
+ getEconomicCalendarPagination(request: PaginateRequest, metadata?: Metadata): Observable<EconomicCalendarResponse>;
148
150
  }
149
151
  export declare function PEconomicCalendarServiceControllerMethods(): (constructor: Function) => void;
150
152
  export declare const P_ECONOMIC_CALENDAR_SERVICE_NAME = "PEconomicCalendarService";
@@ -140,7 +140,11 @@ function PCalendarServiceControllerMethods() {
140
140
  exports.P_CALENDAR_SERVICE_NAME = "PCalendarService";
141
141
  function PEconomicCalendarServiceControllerMethods() {
142
142
  return function (constructor) {
143
- const grpcMethods = ["getEconomicCalendarData", "storeEconomicCalendarData"];
143
+ const grpcMethods = [
144
+ "getEconomicCalendarData",
145
+ "storeEconomicCalendarData",
146
+ "getEconomicCalendarPagination",
147
+ ];
144
148
  for (const method of grpcMethods) {
145
149
  const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
146
150
  (0, microservices_1.GrpcMethod)("PEconomicCalendarService", method)(constructor.prototype[method], method, descriptor);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jr-common-micro",
3
- "version": "1.1.40",
3
+ "version": "1.1.42",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
@@ -11,6 +11,7 @@ message IncreasingDecreaseingDataDto {
11
11
  string image = 4;
12
12
  string price = 5;
13
13
  string price_change_percentage_24h = 6;
14
+ string url_id = 7;
14
15
  }
15
16
 
16
17
  message IncreasingDecreaseingData{
@@ -98,6 +98,7 @@ service PCalendarService {
98
98
  service PEconomicCalendarService {
99
99
  rpc GetEconomicCalendarData (PaginateRequest) returns (stream EconomicCalendarResponse) {}
100
100
  rpc StoreEconomicCalendarData (StoreEconomicCalendarRequest) returns (stream EmptyResponse) {}
101
+ rpc GetEconomicCalendarPagination(PaginateRequest) returns (stream EconomicCalendarResponse) {}
101
102
  }
102
103
 
103
104
  service PAppVersionService {