jr-common-micro 1.1.12 → 1.1.13

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.
@@ -408,3 +408,14 @@ export declare const PUserVipService: {
408
408
  };
409
409
  };
410
410
  };
411
+ export declare const PEducationUserDataService: {
412
+ readonly typeName: "micro.v1.education.PEducationUserDataService";
413
+ readonly methods: {
414
+ readonly removeUserData: {
415
+ readonly name: "RemoveUserData";
416
+ readonly I: typeof ByIdRequest;
417
+ readonly O: typeof EmptyResponse;
418
+ readonly kind: MethodKind.ServerStreaming;
419
+ };
420
+ };
421
+ };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PUserVipService = exports.PMediaEducationService = exports.PReferralUidService = exports.PContentAdminService = exports.PContentService = exports.PLessonService = exports.PCourseInstructorService = exports.PEducationInstructorService = exports.PLessonAdminService = exports.PCourseAdminService = exports.PEducationAdminService = exports.PCourseService = exports.PEducationService = void 0;
3
+ exports.PEducationUserDataService = exports.PUserVipService = exports.PMediaEducationService = exports.PReferralUidService = exports.PContentAdminService = exports.PContentService = exports.PLessonService = exports.PCourseInstructorService = exports.PEducationInstructorService = exports.PLessonAdminService = exports.PCourseAdminService = exports.PEducationAdminService = exports.PCourseService = exports.PEducationService = void 0;
4
4
  const education_messages_pb_js_1 = require("./education_messages_pb.js");
5
5
  const protobuf_1 = require("@bufbuild/protobuf");
6
6
  const general_pb_js_1 = require("../general_pb.js");
@@ -411,3 +411,14 @@ exports.PUserVipService = {
411
411
  },
412
412
  }
413
413
  };
414
+ exports.PEducationUserDataService = {
415
+ typeName: "micro.v1.education.PEducationUserDataService",
416
+ methods: {
417
+ removeUserData: {
418
+ name: "RemoveUserData",
419
+ I: general_pb_js_1.ByIdRequest,
420
+ O: general_pb_js_1.EmptyResponse,
421
+ kind: protobuf_1.MethodKind.ServerStreaming,
422
+ },
423
+ }
424
+ };
@@ -196,3 +196,11 @@ export interface PUserVipServiceController {
196
196
  }
197
197
  export declare function PUserVipServiceControllerMethods(): (constructor: Function) => void;
198
198
  export declare const P_USER_VIP_SERVICE_NAME = "PUserVipService";
199
+ export interface PEducationUserDataServiceClient {
200
+ removeUserData(request: ByIdRequest, metadata?: Metadata): Observable<EmptyResponse>;
201
+ }
202
+ export interface PEducationUserDataServiceController {
203
+ removeUserData(request: ByIdRequest, metadata?: Metadata): Observable<EmptyResponse>;
204
+ }
205
+ export declare function PEducationUserDataServiceControllerMethods(): (constructor: Function) => void;
206
+ export declare const P_EDUCATION_USER_DATA_SERVICE_NAME = "PEducationUserDataService";
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.P_USER_VIP_SERVICE_NAME = exports.P_MEDIA_EDUCATION_SERVICE_NAME = exports.P_REFERRAL_UID_SERVICE_NAME = exports.P_CONTENT_ADMIN_SERVICE_NAME = exports.P_CONTENT_SERVICE_NAME = exports.P_LESSON_SERVICE_NAME = exports.P_COURSE_INSTRUCTOR_SERVICE_NAME = exports.P_EDUCATION_INSTRUCTOR_SERVICE_NAME = exports.P_LESSON_ADMIN_SERVICE_NAME = exports.P_COURSE_ADMIN_SERVICE_NAME = exports.P_EDUCATION_ADMIN_SERVICE_NAME = exports.P_COURSE_SERVICE_NAME = exports.P_EDUCATION_SERVICE_NAME = exports.MICRO_V1_EDUCATION_PACKAGE_NAME = exports.protobufPackage = void 0;
3
+ exports.P_EDUCATION_USER_DATA_SERVICE_NAME = exports.P_USER_VIP_SERVICE_NAME = exports.P_MEDIA_EDUCATION_SERVICE_NAME = exports.P_REFERRAL_UID_SERVICE_NAME = exports.P_CONTENT_ADMIN_SERVICE_NAME = exports.P_CONTENT_SERVICE_NAME = exports.P_LESSON_SERVICE_NAME = exports.P_COURSE_INSTRUCTOR_SERVICE_NAME = exports.P_EDUCATION_INSTRUCTOR_SERVICE_NAME = exports.P_LESSON_ADMIN_SERVICE_NAME = exports.P_COURSE_ADMIN_SERVICE_NAME = exports.P_EDUCATION_ADMIN_SERVICE_NAME = exports.P_COURSE_SERVICE_NAME = exports.P_EDUCATION_SERVICE_NAME = exports.MICRO_V1_EDUCATION_PACKAGE_NAME = exports.protobufPackage = void 0;
4
4
  exports.PEducationServiceControllerMethods = PEducationServiceControllerMethods;
5
5
  exports.PCourseServiceControllerMethods = PCourseServiceControllerMethods;
6
6
  exports.PEducationAdminServiceControllerMethods = PEducationAdminServiceControllerMethods;
@@ -14,6 +14,7 @@ exports.PContentAdminServiceControllerMethods = PContentAdminServiceControllerMe
14
14
  exports.PReferralUidServiceControllerMethods = PReferralUidServiceControllerMethods;
15
15
  exports.PMediaEducationServiceControllerMethods = PMediaEducationServiceControllerMethods;
16
16
  exports.PUserVipServiceControllerMethods = PUserVipServiceControllerMethods;
17
+ exports.PEducationUserDataServiceControllerMethods = PEducationUserDataServiceControllerMethods;
17
18
  const microservices_1 = require("@nestjs/microservices");
18
19
  exports.protobufPackage = "micro.v1.education";
19
20
  exports.MICRO_V1_EDUCATION_PACKAGE_NAME = "micro.v1.education";
@@ -212,3 +213,18 @@ function PUserVipServiceControllerMethods() {
212
213
  };
213
214
  }
214
215
  exports.P_USER_VIP_SERVICE_NAME = "PUserVipService";
216
+ function PEducationUserDataServiceControllerMethods() {
217
+ return function (constructor) {
218
+ const grpcMethods = ["removeUserData"];
219
+ for (const method of grpcMethods) {
220
+ const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
221
+ (0, microservices_1.GrpcMethod)("PEducationUserDataService", method)(constructor.prototype[method], method, descriptor);
222
+ }
223
+ const grpcStreamMethods = [];
224
+ for (const method of grpcStreamMethods) {
225
+ const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
226
+ (0, microservices_1.GrpcStreamMethod)("PEducationUserDataService", method)(constructor.prototype[method], method, descriptor);
227
+ }
228
+ };
229
+ }
230
+ exports.P_EDUCATION_USER_DATA_SERVICE_NAME = "PEducationUserDataService";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jr-common-micro",
3
- "version": "1.1.12",
3
+ "version": "1.1.13",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
@@ -99,4 +99,8 @@ service PUserVipService{
99
99
  rpc getUserVipForm(EmptyRequest) returns (UserVipFormResponse);
100
100
  rpc upsertUserVipForm(UserVipFormRequest) returns (UserVipFormResponse);
101
101
  rpc getPageStatus(EmptyRequest) returns (VipPageStatusResponse);
102
+ }
103
+
104
+ service PEducationUserDataService {
105
+ rpc RemoveUserData(ByIdRequest) returns(stream EmptyResponse) {}
102
106
  }