jr-common-micro 1.1.11 → 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.
- package/dist/proto/micro/v1/education/services_connect.d.ts +11 -0
- package/dist/proto/micro/v1/education/services_connect.js +12 -1
- package/dist/proto/micro/v1/education/services_nest.d.ts +8 -0
- package/dist/proto/micro/v1/education/services_nest.js +17 -1
- package/dist/proto/micro/v1/user/auth_messages_nest.d.ts +4 -0
- package/dist/proto/micro/v1/user/auth_messages_pb.d.ts +12 -0
- package/dist/proto/micro/v1/user/auth_messages_pb.js +28 -1
- package/dist/proto/micro/v1/user/services_connect.d.ts +12 -1
- package/dist/proto/micro/v1/user/services_connect.js +12 -1
- package/dist/proto/micro/v1/user/services_nest.d.ts +9 -1
- package/dist/proto/micro/v1/user/services_nest.js +17 -1
- package/package.json +1 -1
- package/proto/micro/v1/education/services.proto +4 -0
- package/proto/micro/v1/user/auth_messages.proto +5 -0
- package/proto/micro/v1/user/services.proto +4 -0
|
@@ -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";
|
|
@@ -12,6 +12,10 @@ export interface LoginRequest {
|
|
|
12
12
|
export interface GoogleRequest {
|
|
13
13
|
email: string;
|
|
14
14
|
}
|
|
15
|
+
export interface AppleRequest {
|
|
16
|
+
identity_token: string;
|
|
17
|
+
email?: string | undefined;
|
|
18
|
+
}
|
|
15
19
|
export interface LoginResponse {
|
|
16
20
|
status: ResponseStatus | undefined;
|
|
17
21
|
data: AccessTokenDto | undefined;
|
|
@@ -37,6 +37,18 @@ export declare class GoogleRequest extends Message<GoogleRequest> {
|
|
|
37
37
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GoogleRequest;
|
|
38
38
|
static equals(a: GoogleRequest | PlainMessage<GoogleRequest> | undefined, b: GoogleRequest | PlainMessage<GoogleRequest> | undefined): boolean;
|
|
39
39
|
}
|
|
40
|
+
export declare class AppleRequest extends Message<AppleRequest> {
|
|
41
|
+
identityToken: string;
|
|
42
|
+
email?: string;
|
|
43
|
+
constructor(data?: PartialMessage<AppleRequest>);
|
|
44
|
+
static readonly runtime: typeof proto3;
|
|
45
|
+
static readonly typeName = "micro.v1.user.AppleRequest";
|
|
46
|
+
static readonly fields: FieldList;
|
|
47
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AppleRequest;
|
|
48
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AppleRequest;
|
|
49
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AppleRequest;
|
|
50
|
+
static equals(a: AppleRequest | PlainMessage<AppleRequest> | undefined, b: AppleRequest | PlainMessage<AppleRequest> | undefined): boolean;
|
|
51
|
+
}
|
|
40
52
|
export declare class LoginResponse extends Message<LoginResponse> {
|
|
41
53
|
status?: ResponseStatus;
|
|
42
54
|
data?: AccessTokenDto;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ResendVerificationEmailResponse = exports.ResendVerificationEmailRequest = exports.RemoveUserDataRequest = exports.ValidationDto = exports.VerifyTokenResponse = exports.VerifyTokenRequest = exports.UserVerificationResponse = exports.UserVerificationRequest = exports.LostPasswordChangePasswordResponse = exports.LostPasswordChangePasswordRequest = exports.LostPasswordHashCheckResponse = exports.LostPasswordHashCheckRequest = exports.LostPasswordStartResponse = exports.LostPasswordStartRequest = exports.TfaResponse = exports.TfaRequest = exports.RegisterResponse = exports.RegisterRequest = exports.LoginResponse = exports.GoogleRequest = exports.LoginRequest = exports.AccessTokenDto = void 0;
|
|
3
|
+
exports.ResendVerificationEmailResponse = exports.ResendVerificationEmailRequest = exports.RemoveUserDataRequest = exports.ValidationDto = exports.VerifyTokenResponse = exports.VerifyTokenRequest = exports.UserVerificationResponse = exports.UserVerificationRequest = exports.LostPasswordChangePasswordResponse = exports.LostPasswordChangePasswordRequest = exports.LostPasswordHashCheckResponse = exports.LostPasswordHashCheckRequest = exports.LostPasswordStartResponse = exports.LostPasswordStartRequest = exports.TfaResponse = exports.TfaRequest = exports.RegisterResponse = exports.RegisterRequest = exports.LoginResponse = exports.AppleRequest = exports.GoogleRequest = exports.LoginRequest = exports.AccessTokenDto = void 0;
|
|
4
4
|
const protobuf_1 = require("@bufbuild/protobuf");
|
|
5
5
|
const user_messages_pb_js_1 = require("./user_messages_pb.js");
|
|
6
6
|
const general_pb_js_1 = require("../general_pb.js");
|
|
@@ -83,6 +83,33 @@ class GoogleRequest extends protobuf_1.Message {
|
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
exports.GoogleRequest = GoogleRequest;
|
|
86
|
+
class AppleRequest extends protobuf_1.Message {
|
|
87
|
+
identityToken = "";
|
|
88
|
+
email;
|
|
89
|
+
constructor(data) {
|
|
90
|
+
super();
|
|
91
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
92
|
+
}
|
|
93
|
+
static runtime = protobuf_1.proto3;
|
|
94
|
+
static typeName = "micro.v1.user.AppleRequest";
|
|
95
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
96
|
+
{ no: 1, name: "identity_token", kind: "scalar", T: 9 },
|
|
97
|
+
{ no: 2, name: "email", kind: "scalar", T: 9, opt: true },
|
|
98
|
+
]);
|
|
99
|
+
static fromBinary(bytes, options) {
|
|
100
|
+
return new AppleRequest().fromBinary(bytes, options);
|
|
101
|
+
}
|
|
102
|
+
static fromJson(jsonValue, options) {
|
|
103
|
+
return new AppleRequest().fromJson(jsonValue, options);
|
|
104
|
+
}
|
|
105
|
+
static fromJsonString(jsonString, options) {
|
|
106
|
+
return new AppleRequest().fromJsonString(jsonString, options);
|
|
107
|
+
}
|
|
108
|
+
static equals(a, b) {
|
|
109
|
+
return protobuf_1.proto3.util.equals(AppleRequest, a, b);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
exports.AppleRequest = AppleRequest;
|
|
86
113
|
class LoginResponse extends protobuf_1.Message {
|
|
87
114
|
status;
|
|
88
115
|
data;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GoogleRequest, LoginRequest, LoginResponse, LostPasswordChangePasswordRequest, LostPasswordChangePasswordResponse, LostPasswordHashCheckRequest, LostPasswordHashCheckResponse, LostPasswordStartRequest, LostPasswordStartResponse, RegisterRequest, RegisterResponse, RemoveUserDataRequest, ResendVerificationEmailRequest, ResendVerificationEmailResponse, TfaRequest, TfaResponse, UserVerificationRequest, UserVerificationResponse, VerifyTokenRequest, VerifyTokenResponse } from "./auth_messages_pb.js";
|
|
1
|
+
import { AppleRequest, GoogleRequest, LoginRequest, LoginResponse, LostPasswordChangePasswordRequest, LostPasswordChangePasswordResponse, LostPasswordHashCheckRequest, LostPasswordHashCheckResponse, LostPasswordStartRequest, LostPasswordStartResponse, RegisterRequest, RegisterResponse, RemoveUserDataRequest, ResendVerificationEmailRequest, ResendVerificationEmailResponse, TfaRequest, TfaResponse, UserVerificationRequest, UserVerificationResponse, VerifyTokenRequest, VerifyTokenResponse } from "./auth_messages_pb.js";
|
|
2
2
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
3
|
import { ByIdRequest, EmptyRequest, EmptyResponse, PaginateFromRequest, PaginateRequest } from "../general_pb.js";
|
|
4
4
|
import { BetaCodePaginateResponse, BetaCodeSingleResponse, BetaCodeStoreRequest, BetaCodeUpdateRequest, ContactPaginationResponse, ContactRequest, ContactResponse, PreviewResponse, PublicUserPreviewResponse, UpdatePasswordRequest, UserAdminStoreRequest, UserPaginationResponse, UserSingleResponse, UserUpdateRequest } from "./user_messages_pb.js";
|
|
@@ -167,6 +167,17 @@ export declare const PUserGoogleService: {
|
|
|
167
167
|
};
|
|
168
168
|
};
|
|
169
169
|
};
|
|
170
|
+
export declare const PUserAppleService: {
|
|
171
|
+
readonly typeName: "micro.v1.user.PUserAppleService";
|
|
172
|
+
readonly methods: {
|
|
173
|
+
readonly apple: {
|
|
174
|
+
readonly name: "Apple";
|
|
175
|
+
readonly I: typeof AppleRequest;
|
|
176
|
+
readonly O: typeof LoginResponse;
|
|
177
|
+
readonly kind: MethodKind.ServerStreaming;
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
};
|
|
170
181
|
export declare const PUserExistService: {
|
|
171
182
|
readonly typeName: "micro.v1.user.PUserExistService";
|
|
172
183
|
readonly methods: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PBetaCodeAdminService = exports.PRoleAdminService = exports.PUserAdminService = exports.PUserExistService = exports.PUserGoogleService = exports.PSiteSettingsService = exports.PRoleService = exports.PUserService = exports.PAuthService = void 0;
|
|
3
|
+
exports.PBetaCodeAdminService = exports.PRoleAdminService = exports.PUserAdminService = exports.PUserExistService = exports.PUserAppleService = exports.PUserGoogleService = exports.PSiteSettingsService = exports.PRoleService = exports.PUserService = exports.PAuthService = void 0;
|
|
4
4
|
const auth_messages_pb_js_1 = require("./auth_messages_pb.js");
|
|
5
5
|
const protobuf_1 = require("@bufbuild/protobuf");
|
|
6
6
|
const general_pb_js_1 = require("../general_pb.js");
|
|
@@ -170,6 +170,17 @@ exports.PUserGoogleService = {
|
|
|
170
170
|
},
|
|
171
171
|
}
|
|
172
172
|
};
|
|
173
|
+
exports.PUserAppleService = {
|
|
174
|
+
typeName: "micro.v1.user.PUserAppleService",
|
|
175
|
+
methods: {
|
|
176
|
+
apple: {
|
|
177
|
+
name: "Apple",
|
|
178
|
+
I: auth_messages_pb_js_1.AppleRequest,
|
|
179
|
+
O: auth_messages_pb_js_1.LoginResponse,
|
|
180
|
+
kind: protobuf_1.MethodKind.ServerStreaming,
|
|
181
|
+
},
|
|
182
|
+
}
|
|
183
|
+
};
|
|
173
184
|
exports.PUserExistService = {
|
|
174
185
|
typeName: "micro.v1.user.PUserExistService",
|
|
175
186
|
methods: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Metadata } from "@grpc/grpc-js";
|
|
2
2
|
import { Observable } from "rxjs";
|
|
3
3
|
import { ByIdRequest, EmptyRequest, EmptyResponse, PaginateFromRequest, PaginateRequest } from "../general_nest";
|
|
4
|
-
import { GoogleRequest, LoginRequest, LoginResponse, LostPasswordChangePasswordRequest, LostPasswordChangePasswordResponse, LostPasswordHashCheckRequest, LostPasswordHashCheckResponse, LostPasswordStartRequest, LostPasswordStartResponse, RegisterRequest, RegisterResponse, RemoveUserDataRequest, ResendVerificationEmailRequest, ResendVerificationEmailResponse, TfaRequest, TfaResponse, UserVerificationRequest, UserVerificationResponse, VerifyTokenRequest, VerifyTokenResponse } from "./auth_messages_nest";
|
|
4
|
+
import { AppleRequest, GoogleRequest, LoginRequest, LoginResponse, LostPasswordChangePasswordRequest, LostPasswordChangePasswordResponse, LostPasswordHashCheckRequest, LostPasswordHashCheckResponse, LostPasswordStartRequest, LostPasswordStartResponse, RegisterRequest, RegisterResponse, RemoveUserDataRequest, ResendVerificationEmailRequest, ResendVerificationEmailResponse, TfaRequest, TfaResponse, UserVerificationRequest, UserVerificationResponse, VerifyTokenRequest, VerifyTokenResponse } from "./auth_messages_nest";
|
|
5
5
|
import { RoleAdminStoreRequest, RoleAdminUpdateRequest, RolePaginationResponse, RoleSingleResponse } from "./authorization_messages_nest";
|
|
6
6
|
import { SiteSettingsRequest, SiteSettingsResponse } from "./site_settings_messages_nest";
|
|
7
7
|
import { BetaCodePaginateResponse, BetaCodeSingleResponse, BetaCodeStoreRequest, BetaCodeUpdateRequest, ContactPaginationResponse, ContactRequest, ContactResponse, PreviewResponse, PublicUserPreviewResponse, UpdatePasswordRequest, UserAdminStoreRequest, UserPaginationResponse, UserSingleResponse, UserUpdateRequest } from "./user_messages_nest";
|
|
@@ -83,6 +83,14 @@ export interface PUserGoogleServiceController {
|
|
|
83
83
|
}
|
|
84
84
|
export declare function PUserGoogleServiceControllerMethods(): (constructor: Function) => void;
|
|
85
85
|
export declare const P_USER_GOOGLE_SERVICE_NAME = "PUserGoogleService";
|
|
86
|
+
export interface PUserAppleServiceClient {
|
|
87
|
+
apple(request: AppleRequest, metadata?: Metadata): Observable<LoginResponse>;
|
|
88
|
+
}
|
|
89
|
+
export interface PUserAppleServiceController {
|
|
90
|
+
apple(request: AppleRequest, metadata?: Metadata): Observable<LoginResponse>;
|
|
91
|
+
}
|
|
92
|
+
export declare function PUserAppleServiceControllerMethods(): (constructor: Function) => void;
|
|
93
|
+
export declare const P_USER_APPLE_SERVICE_NAME = "PUserAppleService";
|
|
86
94
|
export interface PUserExistServiceClient {
|
|
87
95
|
checkUserExist(request: ByIdRequest, metadata?: Metadata): Observable<EmptyResponse>;
|
|
88
96
|
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.P_BETA_CODE_ADMIN_SERVICE_NAME = exports.P_ROLE_ADMIN_SERVICE_NAME = exports.P_USER_ADMIN_SERVICE_NAME = exports.P_USER_EXIST_SERVICE_NAME = exports.P_USER_GOOGLE_SERVICE_NAME = exports.P_SITE_SETTINGS_SERVICE_NAME = exports.P_ROLE_SERVICE_NAME = exports.P_USER_SERVICE_NAME = exports.P_AUTH_SERVICE_NAME = exports.MICRO_V1_USER_PACKAGE_NAME = exports.protobufPackage = void 0;
|
|
3
|
+
exports.P_BETA_CODE_ADMIN_SERVICE_NAME = exports.P_ROLE_ADMIN_SERVICE_NAME = exports.P_USER_ADMIN_SERVICE_NAME = exports.P_USER_EXIST_SERVICE_NAME = exports.P_USER_APPLE_SERVICE_NAME = exports.P_USER_GOOGLE_SERVICE_NAME = exports.P_SITE_SETTINGS_SERVICE_NAME = exports.P_ROLE_SERVICE_NAME = exports.P_USER_SERVICE_NAME = exports.P_AUTH_SERVICE_NAME = exports.MICRO_V1_USER_PACKAGE_NAME = exports.protobufPackage = void 0;
|
|
4
4
|
exports.PAuthServiceControllerMethods = PAuthServiceControllerMethods;
|
|
5
5
|
exports.PUserServiceControllerMethods = PUserServiceControllerMethods;
|
|
6
6
|
exports.PRoleServiceControllerMethods = PRoleServiceControllerMethods;
|
|
7
7
|
exports.PSiteSettingsServiceControllerMethods = PSiteSettingsServiceControllerMethods;
|
|
8
8
|
exports.PUserGoogleServiceControllerMethods = PUserGoogleServiceControllerMethods;
|
|
9
|
+
exports.PUserAppleServiceControllerMethods = PUserAppleServiceControllerMethods;
|
|
9
10
|
exports.PUserExistServiceControllerMethods = PUserExistServiceControllerMethods;
|
|
10
11
|
exports.PUserAdminServiceControllerMethods = PUserAdminServiceControllerMethods;
|
|
11
12
|
exports.PRoleAdminServiceControllerMethods = PRoleAdminServiceControllerMethods;
|
|
@@ -100,6 +101,21 @@ function PUserGoogleServiceControllerMethods() {
|
|
|
100
101
|
};
|
|
101
102
|
}
|
|
102
103
|
exports.P_USER_GOOGLE_SERVICE_NAME = "PUserGoogleService";
|
|
104
|
+
function PUserAppleServiceControllerMethods() {
|
|
105
|
+
return function (constructor) {
|
|
106
|
+
const grpcMethods = ["apple"];
|
|
107
|
+
for (const method of grpcMethods) {
|
|
108
|
+
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
109
|
+
(0, microservices_1.GrpcMethod)("PUserAppleService", method)(constructor.prototype[method], method, descriptor);
|
|
110
|
+
}
|
|
111
|
+
const grpcStreamMethods = [];
|
|
112
|
+
for (const method of grpcStreamMethods) {
|
|
113
|
+
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
114
|
+
(0, microservices_1.GrpcStreamMethod)("PUserAppleService", method)(constructor.prototype[method], method, descriptor);
|
|
115
|
+
}
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
exports.P_USER_APPLE_SERVICE_NAME = "PUserAppleService";
|
|
103
119
|
function PUserExistServiceControllerMethods() {
|
|
104
120
|
return function (constructor) {
|
|
105
121
|
const grpcMethods = ["checkUserExist"];
|
package/package.json
CHANGED
|
@@ -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
|
}
|
|
@@ -50,6 +50,10 @@ service PUserGoogleService {
|
|
|
50
50
|
rpc Google(GoogleRequest) returns(stream LoginResponse) {}
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
+
service PUserAppleService {
|
|
54
|
+
rpc Apple(AppleRequest) returns(stream LoginResponse) {}
|
|
55
|
+
}
|
|
56
|
+
|
|
53
57
|
service PUserExistService {
|
|
54
58
|
rpc CheckUserExist(ByIdRequest) returns(stream EmptyResponse) {}
|
|
55
59
|
}
|