jr-common-micro 1.1.10 → 1.1.11
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/education/services_connect.d.ts +2 -8
- package/dist/proto/micro/v1/education/services_connect.js +2 -8
- package/dist/proto/micro/v1/education/services_nest.d.ts +2 -4
- package/dist/proto/micro/v1/education/services_nest.js +1 -1
- package/package.json +1 -1
- package/proto/micro/v1/education/services.proto +1 -2
|
@@ -394,14 +394,8 @@ export declare const PUserVipService: {
|
|
|
394
394
|
readonly O: typeof UserVipFormResponse;
|
|
395
395
|
readonly kind: MethodKind.Unary;
|
|
396
396
|
};
|
|
397
|
-
readonly
|
|
398
|
-
readonly name: "
|
|
399
|
-
readonly I: typeof UserVipFormRequest;
|
|
400
|
-
readonly O: typeof UserVipFormResponse;
|
|
401
|
-
readonly kind: MethodKind.Unary;
|
|
402
|
-
};
|
|
403
|
-
readonly updateUserVipForm: {
|
|
404
|
-
readonly name: "updateUserVipForm";
|
|
397
|
+
readonly upsertUserVipForm: {
|
|
398
|
+
readonly name: "upsertUserVipForm";
|
|
405
399
|
readonly I: typeof UserVipFormRequest;
|
|
406
400
|
readonly O: typeof UserVipFormResponse;
|
|
407
401
|
readonly kind: MethodKind.Unary;
|
|
@@ -397,14 +397,8 @@ exports.PUserVipService = {
|
|
|
397
397
|
O: education_messages_pb_js_1.UserVipFormResponse,
|
|
398
398
|
kind: protobuf_1.MethodKind.Unary,
|
|
399
399
|
},
|
|
400
|
-
|
|
401
|
-
name: "
|
|
402
|
-
I: education_messages_pb_js_1.UserVipFormRequest,
|
|
403
|
-
O: education_messages_pb_js_1.UserVipFormResponse,
|
|
404
|
-
kind: protobuf_1.MethodKind.Unary,
|
|
405
|
-
},
|
|
406
|
-
updateUserVipForm: {
|
|
407
|
-
name: "updateUserVipForm",
|
|
400
|
+
upsertUserVipForm: {
|
|
401
|
+
name: "upsertUserVipForm",
|
|
408
402
|
I: education_messages_pb_js_1.UserVipFormRequest,
|
|
409
403
|
O: education_messages_pb_js_1.UserVipFormResponse,
|
|
410
404
|
kind: protobuf_1.MethodKind.Unary,
|
|
@@ -186,14 +186,12 @@ export declare function PMediaEducationServiceControllerMethods(): (constructor:
|
|
|
186
186
|
export declare const P_MEDIA_EDUCATION_SERVICE_NAME = "PMediaEducationService";
|
|
187
187
|
export interface PUserVipServiceClient {
|
|
188
188
|
getUserVipForm(request: EmptyRequest, metadata?: Metadata): Observable<UserVipFormResponse>;
|
|
189
|
-
|
|
190
|
-
updateUserVipForm(request: UserVipFormRequest, metadata?: Metadata): Observable<UserVipFormResponse>;
|
|
189
|
+
upsertUserVipForm(request: UserVipFormRequest, metadata?: Metadata): Observable<UserVipFormResponse>;
|
|
191
190
|
getPageStatus(request: EmptyRequest, metadata?: Metadata): Observable<VipPageStatusResponse>;
|
|
192
191
|
}
|
|
193
192
|
export interface PUserVipServiceController {
|
|
194
193
|
getUserVipForm(request: EmptyRequest, metadata?: Metadata): Promise<UserVipFormResponse> | Observable<UserVipFormResponse> | UserVipFormResponse;
|
|
195
|
-
|
|
196
|
-
updateUserVipForm(request: UserVipFormRequest, metadata?: Metadata): Promise<UserVipFormResponse> | Observable<UserVipFormResponse> | UserVipFormResponse;
|
|
194
|
+
upsertUserVipForm(request: UserVipFormRequest, metadata?: Metadata): Promise<UserVipFormResponse> | Observable<UserVipFormResponse> | UserVipFormResponse;
|
|
197
195
|
getPageStatus(request: EmptyRequest, metadata?: Metadata): Promise<VipPageStatusResponse> | Observable<VipPageStatusResponse> | VipPageStatusResponse;
|
|
198
196
|
}
|
|
199
197
|
export declare function PUserVipServiceControllerMethods(): (constructor: Function) => void;
|
|
@@ -199,7 +199,7 @@ function PMediaEducationServiceControllerMethods() {
|
|
|
199
199
|
exports.P_MEDIA_EDUCATION_SERVICE_NAME = "PMediaEducationService";
|
|
200
200
|
function PUserVipServiceControllerMethods() {
|
|
201
201
|
return function (constructor) {
|
|
202
|
-
const grpcMethods = ["getUserVipForm", "
|
|
202
|
+
const grpcMethods = ["getUserVipForm", "upsertUserVipForm", "getPageStatus"];
|
|
203
203
|
for (const method of grpcMethods) {
|
|
204
204
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
205
205
|
(0, microservices_1.GrpcMethod)("PUserVipService", method)(constructor.prototype[method], method, descriptor);
|
package/package.json
CHANGED
|
@@ -97,7 +97,6 @@ service PMediaEducationService {
|
|
|
97
97
|
|
|
98
98
|
service PUserVipService{
|
|
99
99
|
rpc getUserVipForm(EmptyRequest) returns (UserVipFormResponse);
|
|
100
|
-
rpc
|
|
101
|
-
rpc updateUserVipForm(UserVipFormRequest) returns (UserVipFormResponse);
|
|
100
|
+
rpc upsertUserVipForm(UserVipFormRequest) returns (UserVipFormResponse);
|
|
102
101
|
rpc getPageStatus(EmptyRequest) returns (VipPageStatusResponse);
|
|
103
102
|
}
|