From 2ba57fe71c1da15d374a4bf7e7af8c7a5976f54c Mon Sep 17 00:00:00 2001 From: PARK BYUNG JUN Date: Fri, 19 Aug 2022 06:55:29 +0000 Subject: [PATCH] type of response is changed --- .../proto/c2se/member_referrer_pb.d.ts | 10 +++++++--- .../modules/proto/c2se/member_referrer_pb.js | 19 ++++++++++--------- 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/src/app/modules/proto/c2se/member_referrer_pb.d.ts b/src/app/modules/proto/c2se/member_referrer_pb.d.ts index 441e5dd..fcf8475 100644 --- a/src/app/modules/proto/c2se/member_referrer_pb.d.ts +++ b/src/app/modules/proto/c2se/member_referrer_pb.d.ts @@ -78,8 +78,12 @@ export namespace CreateMemberReferrerResponse { export class Result extends jspb.Message { hasMemberReferrer(): boolean; clearMemberReferrer(): void; - getMemberReferrer(): models_member_referrer_pb.MemberReferrer | undefined; - setMemberReferrer(value?: models_member_referrer_pb.MemberReferrer): void; + getMemberReferrer(): + | models_member_referrer_pb.MemberReferrerModel + | undefined; + setMemberReferrer( + value?: models_member_referrer_pb.MemberReferrerModel + ): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): Result.AsObject; @@ -101,7 +105,7 @@ export namespace CreateMemberReferrerResponse { export namespace Result { export type AsObject = { - memberReferrer?: models_member_referrer_pb.MemberReferrer.AsObject; + memberReferrer?: models_member_referrer_pb.MemberReferrerModel.AsObject; }; } } diff --git a/src/app/modules/proto/c2se/member_referrer_pb.js b/src/app/modules/proto/c2se/member_referrer_pb.js index d86b443..2eace03 100644 --- a/src/app/modules/proto/c2se/member_referrer_pb.js +++ b/src/app/modules/proto/c2se/member_referrer_pb.js @@ -867,7 +867,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) { obj = { memberReferrer: (f = msg.getMemberReferrer()) && - models_member_referrer_pb.MemberReferrer.toObject( + models_member_referrer_pb.MemberReferrerModel.toObject( includeInstance, f ), @@ -912,10 +912,11 @@ proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse.Result.deser var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new models_member_referrer_pb.MemberReferrer(); + var value = new models_member_referrer_pb.MemberReferrerModel(); reader.readMessage( value, - models_member_referrer_pb.MemberReferrer.deserializeBinaryFromReader + models_member_referrer_pb.MemberReferrerModel + .deserializeBinaryFromReader ); msg.setMemberReferrer(value); break; @@ -956,28 +957,28 @@ proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse.Result.seria writer.writeMessage( 1, f, - models_member_referrer_pb.MemberReferrer.serializeBinaryToWriter + models_member_referrer_pb.MemberReferrerModel.serializeBinaryToWriter ); } }; /** - * optional bet.beteran.member_referrer.MemberReferrer member_referrer = 1; - * @return {?proto.bet.beteran.member_referrer.MemberReferrer} + * optional bet.beteran.member_referrer.MemberReferrerModel member_referrer = 1; + * @return {?proto.bet.beteran.member_referrer.MemberReferrerModel} */ proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse.Result.prototype.getMemberReferrer = function () { - return /** @type{?proto.bet.beteran.member_referrer.MemberReferrer} */ ( + return /** @type{?proto.bet.beteran.member_referrer.MemberReferrerModel} */ ( jspb.Message.getWrapperField( this, - models_member_referrer_pb.MemberReferrer, + models_member_referrer_pb.MemberReferrerModel, 1 ) ); }; /** - * @param {?proto.bet.beteran.member_referrer.MemberReferrer|undefined} value + * @param {?proto.bet.beteran.member_referrer.MemberReferrerModel|undefined} value * @return {!proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse.Result} returns this */ proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse.Result.prototype.setMemberReferrer =