jr-common-micro 1.1.41 → 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.
- package/dist/proto/micro/v1/news/services_connect.d.ts +6 -0
- package/dist/proto/micro/v1/news/services_connect.js +6 -0
- package/dist/proto/micro/v1/news/services_nest.d.ts +2 -0
- package/dist/proto/micro/v1/news/services_nest.js +5 -1
- package/package.json +1 -1
- package/proto/micro/v1/news/services.proto +1 -0
|
@@ -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 = [
|
|
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
|
@@ -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 {
|