refactoring

This commit is contained in:
병준 박 2022-08-11 01:55:43 +00:00
parent 119ebac6ed
commit 9841dafef6
10 changed files with 1896 additions and 298 deletions

View File

@ -36,6 +36,58 @@ export class ListMembersRequest extends jspb.Message {
index?: number
): protobuf_pagination_sort_pb.Sort;
hasSiteId(): boolean;
clearSiteId(): void;
getSiteId(): string;
setSiteId(value: string): void;
hasMemberClassId(): boolean;
clearMemberClassId(): void;
getMemberClassId(): string;
setMemberClassId(value: string): void;
hasMemberLevelId(): boolean;
clearMemberLevelId(): void;
getMemberLevelId(): string;
setMemberLevelId(value: string): void;
hasReferrerMemberId(): boolean;
clearReferrerMemberId(): void;
getReferrerMemberId(): string;
setReferrerMemberId(value: string): void;
hasUsernameLike(): boolean;
clearUsernameLike(): void;
getUsernameLike(): string;
setUsernameLike(value: string): void;
hasNicknameLike(): boolean;
clearNicknameLike(): void;
getNicknameLike(): string;
setNicknameLike(value: string): void;
hasMobilePhoneNumberLike(): boolean;
clearMobilePhoneNumberLike(): void;
getMobilePhoneNumberLike(): string;
setMobilePhoneNumberLike(value: string): void;
hasLastSigninedIp(): boolean;
clearLastSigninedIp(): void;
getLastSigninedIp(): string;
setLastSigninedIp(value: string): void;
hasState(): boolean;
clearState(): void;
getState(): models_member_member_pb.MemberStateMap[keyof models_member_member_pb.MemberStateMap];
setState(
value: models_member_member_pb.MemberStateMap[keyof models_member_member_pb.MemberStateMap]
): void;
hasDeletedAt(): boolean;
clearDeletedAt(): void;
getDeletedAt(): number;
setDeletedAt(value: number): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ListMembersRequest.AsObject;
static toObject(
@ -62,6 +114,16 @@ export namespace ListMembersRequest {
pagination?: protobuf_pagination_pagination_pb.Pagination.AsObject;
searchesList: Array<protobuf_pagination_search_pb.Search.AsObject>;
sortsList: Array<protobuf_pagination_sort_pb.Sort.AsObject>;
siteId: string;
memberClassId: string;
memberLevelId: string;
referrerMemberId: string;
usernameLike: string;
nicknameLike: string;
mobilePhoneNumberLike: string;
lastSigninedIp: string;
state: models_member_member_pb.MemberStateMap[keyof models_member_member_pb.MemberStateMap];
deletedAt: number;
};
}
@ -105,12 +167,12 @@ export namespace ListMembersResponse {
export class Result extends jspb.Message {
clearMembersList(): void;
getMembersList(): Array<models_member_member_pb.Member>;
setMembersList(value: Array<models_member_member_pb.Member>): void;
getMembersList(): Array<models_member_member_pb.MemberModel>;
setMembersList(value: Array<models_member_member_pb.MemberModel>): void;
addMembers(
value?: models_member_member_pb.Member,
value?: models_member_member_pb.MemberModel,
index?: number
): models_member_member_pb.Member;
): models_member_member_pb.MemberModel;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Result.AsObject;
@ -132,7 +194,7 @@ export namespace ListMembersResponse {
export namespace Result {
export type AsObject = {
membersList: Array<models_member_member_pb.Member.AsObject>;
membersList: Array<models_member_member_pb.MemberModel.AsObject>;
};
}
}
@ -209,8 +271,8 @@ export namespace GetMemberResponse {
export class Result extends jspb.Message {
hasMember(): boolean;
clearMember(): void;
getMember(): models_member_member_pb.Member | undefined;
setMember(value?: models_member_member_pb.Member): void;
getMember(): models_member_member_pb.MemberModel | undefined;
setMember(value?: models_member_member_pb.MemberModel): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Result.AsObject;
@ -232,7 +294,7 @@ export namespace GetMemberResponse {
export namespace Result {
export type AsObject = {
member?: models_member_member_pb.Member.AsObject;
member?: models_member_member_pb.MemberModel.AsObject;
};
}
}
@ -309,8 +371,8 @@ export namespace GetMemberByUsernameResponse {
export class Result extends jspb.Message {
hasMember(): boolean;
clearMember(): void;
getMember(): models_member_member_pb.Member | undefined;
setMember(value?: models_member_member_pb.Member): void;
getMember(): models_member_member_pb.MemberModel | undefined;
setMember(value?: models_member_member_pb.MemberModel): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Result.AsObject;
@ -332,7 +394,7 @@ export namespace GetMemberByUsernameResponse {
export namespace Result {
export type AsObject = {
member?: models_member_member_pb.Member.AsObject;
member?: models_member_member_pb.MemberModel.AsObject;
};
}
}

View File

@ -393,6 +393,16 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
protobuf_pagination_sort_pb.Sort.toObject,
includeInstance
),
siteId: jspb.Message.getFieldWithDefault(msg, 4, ""),
memberClassId: jspb.Message.getFieldWithDefault(msg, 5, ""),
memberLevelId: jspb.Message.getFieldWithDefault(msg, 6, ""),
referrerMemberId: jspb.Message.getFieldWithDefault(msg, 7, ""),
usernameLike: jspb.Message.getFieldWithDefault(msg, 8, ""),
nicknameLike: jspb.Message.getFieldWithDefault(msg, 9, ""),
mobilePhoneNumberLike: jspb.Message.getFieldWithDefault(msg, 10, ""),
lastSigninedIp: jspb.Message.getFieldWithDefault(msg, 11, ""),
state: jspb.Message.getFieldWithDefault(msg, 12, 0),
deletedAt: jspb.Message.getFieldWithDefault(msg, 13, 0),
};
if (includeInstance) {
@ -457,6 +467,48 @@ proto.bet.beteran.c2se.backend.member.ListMembersRequest.deserializeBinaryFromRe
);
msg.addSorts(value);
break;
case 4:
var value = /** @type {string} */ (reader.readString());
msg.setSiteId(value);
break;
case 5:
var value = /** @type {string} */ (reader.readString());
msg.setMemberClassId(value);
break;
case 6:
var value = /** @type {string} */ (reader.readString());
msg.setMemberLevelId(value);
break;
case 7:
var value = /** @type {string} */ (reader.readString());
msg.setReferrerMemberId(value);
break;
case 8:
var value = /** @type {string} */ (reader.readString());
msg.setUsernameLike(value);
break;
case 9:
var value = /** @type {string} */ (reader.readString());
msg.setNicknameLike(value);
break;
case 10:
var value = /** @type {string} */ (reader.readString());
msg.setMobilePhoneNumberLike(value);
break;
case 11:
var value = /** @type {string} */ (reader.readString());
msg.setLastSigninedIp(value);
break;
case 12:
var value = /** @type {!proto.bet.beteran.member.MemberState} */ (
reader.readEnum()
);
msg.setState(value);
break;
case 13:
var value = /** @type {number} */ (reader.readUint64());
msg.setDeletedAt(value);
break;
default:
reader.skipField();
break;
@ -513,6 +565,48 @@ proto.bet.beteran.c2se.backend.member.ListMembersRequest.serializeBinaryToWriter
protobuf_pagination_sort_pb.Sort.serializeBinaryToWriter
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 4));
if (f != null) {
writer.writeString(4, f);
}
f = /** @type {string} */ (jspb.Message.getField(message, 5));
if (f != null) {
writer.writeString(5, f);
}
f = /** @type {string} */ (jspb.Message.getField(message, 6));
if (f != null) {
writer.writeString(6, f);
}
f = /** @type {string} */ (jspb.Message.getField(message, 7));
if (f != null) {
writer.writeString(7, f);
}
f = /** @type {string} */ (jspb.Message.getField(message, 8));
if (f != null) {
writer.writeString(8, f);
}
f = /** @type {string} */ (jspb.Message.getField(message, 9));
if (f != null) {
writer.writeString(9, f);
}
f = /** @type {string} */ (jspb.Message.getField(message, 10));
if (f != null) {
writer.writeString(10, f);
}
f = /** @type {string} */ (jspb.Message.getField(message, 11));
if (f != null) {
writer.writeString(11, f);
}
f = /** @type {!proto.bet.beteran.member.MemberState} */ (
jspb.Message.getField(message, 12)
);
if (f != null) {
writer.writeEnum(12, f);
}
f = /** @type {number} */ (jspb.Message.getField(message, 13));
if (f != null) {
writer.writeUint64(13, f);
}
};
/**
@ -655,6 +749,386 @@ proto.bet.beteran.c2se.backend.member.ListMembersRequest.prototype.clearSortsLis
return this.setSortsList([]);
};
/**
* optional string site_id = 4;
* @return {string}
*/
proto.bet.beteran.c2se.backend.member.ListMembersRequest.prototype.getSiteId =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 4, "")
);
};
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.backend.member.ListMembersRequest} returns this
*/
proto.bet.beteran.c2se.backend.member.ListMembersRequest.prototype.setSiteId =
function (value) {
return jspb.Message.setField(this, 4, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.bet.beteran.c2se.backend.member.ListMembersRequest} returns this
*/
proto.bet.beteran.c2se.backend.member.ListMembersRequest.prototype.clearSiteId =
function () {
return jspb.Message.setField(this, 4, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.backend.member.ListMembersRequest.prototype.hasSiteId =
function () {
return jspb.Message.getField(this, 4) != null;
};
/**
* optional string member_class_id = 5;
* @return {string}
*/
proto.bet.beteran.c2se.backend.member.ListMembersRequest.prototype.getMemberClassId =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 5, "")
);
};
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.backend.member.ListMembersRequest} returns this
*/
proto.bet.beteran.c2se.backend.member.ListMembersRequest.prototype.setMemberClassId =
function (value) {
return jspb.Message.setField(this, 5, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.bet.beteran.c2se.backend.member.ListMembersRequest} returns this
*/
proto.bet.beteran.c2se.backend.member.ListMembersRequest.prototype.clearMemberClassId =
function () {
return jspb.Message.setField(this, 5, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.backend.member.ListMembersRequest.prototype.hasMemberClassId =
function () {
return jspb.Message.getField(this, 5) != null;
};
/**
* optional string member_level_id = 6;
* @return {string}
*/
proto.bet.beteran.c2se.backend.member.ListMembersRequest.prototype.getMemberLevelId =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 6, "")
);
};
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.backend.member.ListMembersRequest} returns this
*/
proto.bet.beteran.c2se.backend.member.ListMembersRequest.prototype.setMemberLevelId =
function (value) {
return jspb.Message.setField(this, 6, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.bet.beteran.c2se.backend.member.ListMembersRequest} returns this
*/
proto.bet.beteran.c2se.backend.member.ListMembersRequest.prototype.clearMemberLevelId =
function () {
return jspb.Message.setField(this, 6, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.backend.member.ListMembersRequest.prototype.hasMemberLevelId =
function () {
return jspb.Message.getField(this, 6) != null;
};
/**
* optional string referrer_member_id = 7;
* @return {string}
*/
proto.bet.beteran.c2se.backend.member.ListMembersRequest.prototype.getReferrerMemberId =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 7, "")
);
};
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.backend.member.ListMembersRequest} returns this
*/
proto.bet.beteran.c2se.backend.member.ListMembersRequest.prototype.setReferrerMemberId =
function (value) {
return jspb.Message.setField(this, 7, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.bet.beteran.c2se.backend.member.ListMembersRequest} returns this
*/
proto.bet.beteran.c2se.backend.member.ListMembersRequest.prototype.clearReferrerMemberId =
function () {
return jspb.Message.setField(this, 7, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.backend.member.ListMembersRequest.prototype.hasReferrerMemberId =
function () {
return jspb.Message.getField(this, 7) != null;
};
/**
* optional string username_like = 8;
* @return {string}
*/
proto.bet.beteran.c2se.backend.member.ListMembersRequest.prototype.getUsernameLike =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 8, "")
);
};
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.backend.member.ListMembersRequest} returns this
*/
proto.bet.beteran.c2se.backend.member.ListMembersRequest.prototype.setUsernameLike =
function (value) {
return jspb.Message.setField(this, 8, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.bet.beteran.c2se.backend.member.ListMembersRequest} returns this
*/
proto.bet.beteran.c2se.backend.member.ListMembersRequest.prototype.clearUsernameLike =
function () {
return jspb.Message.setField(this, 8, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.backend.member.ListMembersRequest.prototype.hasUsernameLike =
function () {
return jspb.Message.getField(this, 8) != null;
};
/**
* optional string nickname_like = 9;
* @return {string}
*/
proto.bet.beteran.c2se.backend.member.ListMembersRequest.prototype.getNicknameLike =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 9, "")
);
};
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.backend.member.ListMembersRequest} returns this
*/
proto.bet.beteran.c2se.backend.member.ListMembersRequest.prototype.setNicknameLike =
function (value) {
return jspb.Message.setField(this, 9, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.bet.beteran.c2se.backend.member.ListMembersRequest} returns this
*/
proto.bet.beteran.c2se.backend.member.ListMembersRequest.prototype.clearNicknameLike =
function () {
return jspb.Message.setField(this, 9, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.backend.member.ListMembersRequest.prototype.hasNicknameLike =
function () {
return jspb.Message.getField(this, 9) != null;
};
/**
* optional string mobile_phone_number_like = 10;
* @return {string}
*/
proto.bet.beteran.c2se.backend.member.ListMembersRequest.prototype.getMobilePhoneNumberLike =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 10, "")
);
};
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.backend.member.ListMembersRequest} returns this
*/
proto.bet.beteran.c2se.backend.member.ListMembersRequest.prototype.setMobilePhoneNumberLike =
function (value) {
return jspb.Message.setField(this, 10, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.bet.beteran.c2se.backend.member.ListMembersRequest} returns this
*/
proto.bet.beteran.c2se.backend.member.ListMembersRequest.prototype.clearMobilePhoneNumberLike =
function () {
return jspb.Message.setField(this, 10, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.backend.member.ListMembersRequest.prototype.hasMobilePhoneNumberLike =
function () {
return jspb.Message.getField(this, 10) != null;
};
/**
* optional string last_signined_ip = 11;
* @return {string}
*/
proto.bet.beteran.c2se.backend.member.ListMembersRequest.prototype.getLastSigninedIp =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 11, "")
);
};
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.backend.member.ListMembersRequest} returns this
*/
proto.bet.beteran.c2se.backend.member.ListMembersRequest.prototype.setLastSigninedIp =
function (value) {
return jspb.Message.setField(this, 11, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.bet.beteran.c2se.backend.member.ListMembersRequest} returns this
*/
proto.bet.beteran.c2se.backend.member.ListMembersRequest.prototype.clearLastSigninedIp =
function () {
return jspb.Message.setField(this, 11, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.backend.member.ListMembersRequest.prototype.hasLastSigninedIp =
function () {
return jspb.Message.getField(this, 11) != null;
};
/**
* optional bet.beteran.member.MemberState state = 12;
* @return {!proto.bet.beteran.member.MemberState}
*/
proto.bet.beteran.c2se.backend.member.ListMembersRequest.prototype.getState =
function () {
return /** @type {!proto.bet.beteran.member.MemberState} */ (
jspb.Message.getFieldWithDefault(this, 12, 0)
);
};
/**
* @param {!proto.bet.beteran.member.MemberState} value
* @return {!proto.bet.beteran.c2se.backend.member.ListMembersRequest} returns this
*/
proto.bet.beteran.c2se.backend.member.ListMembersRequest.prototype.setState =
function (value) {
return jspb.Message.setField(this, 12, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.bet.beteran.c2se.backend.member.ListMembersRequest} returns this
*/
proto.bet.beteran.c2se.backend.member.ListMembersRequest.prototype.clearState =
function () {
return jspb.Message.setField(this, 12, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.backend.member.ListMembersRequest.prototype.hasState =
function () {
return jspb.Message.getField(this, 12) != null;
};
/**
* optional uint64 deleted_at = 13;
* @return {number}
*/
proto.bet.beteran.c2se.backend.member.ListMembersRequest.prototype.getDeletedAt =
function () {
return /** @type {number} */ (
jspb.Message.getFieldWithDefault(this, 13, 0)
);
};
/**
* @param {number} value
* @return {!proto.bet.beteran.c2se.backend.member.ListMembersRequest} returns this
*/
proto.bet.beteran.c2se.backend.member.ListMembersRequest.prototype.setDeletedAt =
function (value) {
return jspb.Message.setField(this, 13, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.bet.beteran.c2se.backend.member.ListMembersRequest} returns this
*/
proto.bet.beteran.c2se.backend.member.ListMembersRequest.prototype.clearDeletedAt =
function () {
return jspb.Message.setField(this, 13, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.backend.member.ListMembersRequest.prototype.hasDeletedAt =
function () {
return jspb.Message.getField(this, 13) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
@ -850,7 +1324,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
obj = {
membersList: jspb.Message.toObjectList(
msg.getMembersList(),
models_member_member_pb.Member.toObject,
models_member_member_pb.MemberModel.toObject,
includeInstance
),
};
@ -894,10 +1368,10 @@ proto.bet.beteran.c2se.backend.member.ListMembersResponse.Result.deserializeBina
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new models_member_member_pb.Member();
var value = new models_member_member_pb.MemberModel();
reader.readMessage(
value,
models_member_member_pb.Member.deserializeBinaryFromReader
models_member_member_pb.MemberModel.deserializeBinaryFromReader
);
msg.addMembers(value);
break;
@ -938,28 +1412,28 @@ proto.bet.beteran.c2se.backend.member.ListMembersResponse.Result.serializeBinary
writer.writeRepeatedMessage(
1,
f,
models_member_member_pb.Member.serializeBinaryToWriter
models_member_member_pb.MemberModel.serializeBinaryToWriter
);
}
};
/**
* repeated bet.beteran.member.Member members = 1;
* @return {!Array<!proto.bet.beteran.member.Member>}
* repeated bet.beteran.member.MemberModel members = 1;
* @return {!Array<!proto.bet.beteran.member.MemberModel>}
*/
proto.bet.beteran.c2se.backend.member.ListMembersResponse.Result.prototype.getMembersList =
function () {
return /** @type{!Array<!proto.bet.beteran.member.Member>} */ (
return /** @type{!Array<!proto.bet.beteran.member.MemberModel>} */ (
jspb.Message.getRepeatedWrapperField(
this,
models_member_member_pb.Member,
models_member_member_pb.MemberModel,
1
)
);
};
/**
* @param {!Array<!proto.bet.beteran.member.Member>} value
* @param {!Array<!proto.bet.beteran.member.MemberModel>} value
* @return {!proto.bet.beteran.c2se.backend.member.ListMembersResponse.Result} returns this
*/
proto.bet.beteran.c2se.backend.member.ListMembersResponse.Result.prototype.setMembersList =
@ -968,9 +1442,9 @@ proto.bet.beteran.c2se.backend.member.ListMembersResponse.Result.prototype.setMe
};
/**
* @param {!proto.bet.beteran.member.Member=} opt_value
* @param {!proto.bet.beteran.member.MemberModel=} opt_value
* @param {number=} opt_index
* @return {!proto.bet.beteran.member.Member}
* @return {!proto.bet.beteran.member.MemberModel}
*/
proto.bet.beteran.c2se.backend.member.ListMembersResponse.Result.prototype.addMembers =
function (opt_value, opt_index) {
@ -978,7 +1452,7 @@ proto.bet.beteran.c2se.backend.member.ListMembersResponse.Result.prototype.addMe
this,
1,
opt_value,
proto.bet.beteran.member.Member,
proto.bet.beteran.member.MemberModel,
opt_index
);
};
@ -1399,7 +1873,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
obj = {
member:
(f = msg.getMember()) &&
models_member_member_pb.Member.toObject(includeInstance, f),
models_member_member_pb.MemberModel.toObject(includeInstance, f),
};
if (includeInstance) {
@ -1441,10 +1915,10 @@ proto.bet.beteran.c2se.backend.member.GetMemberResponse.Result.deserializeBinary
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new models_member_member_pb.Member();
var value = new models_member_member_pb.MemberModel();
reader.readMessage(
value,
models_member_member_pb.Member.deserializeBinaryFromReader
models_member_member_pb.MemberModel.deserializeBinaryFromReader
);
msg.setMember(value);
break;
@ -1485,24 +1959,24 @@ proto.bet.beteran.c2se.backend.member.GetMemberResponse.Result.serializeBinaryTo
writer.writeMessage(
1,
f,
models_member_member_pb.Member.serializeBinaryToWriter
models_member_member_pb.MemberModel.serializeBinaryToWriter
);
}
};
/**
* optional bet.beteran.member.Member member = 1;
* @return {?proto.bet.beteran.member.Member}
* optional bet.beteran.member.MemberModel member = 1;
* @return {?proto.bet.beteran.member.MemberModel}
*/
proto.bet.beteran.c2se.backend.member.GetMemberResponse.Result.prototype.getMember =
function () {
return /** @type{?proto.bet.beteran.member.Member} */ (
jspb.Message.getWrapperField(this, models_member_member_pb.Member, 1)
return /** @type{?proto.bet.beteran.member.MemberModel} */ (
jspb.Message.getWrapperField(this, models_member_member_pb.MemberModel, 1)
);
};
/**
* @param {?proto.bet.beteran.member.Member|undefined} value
* @param {?proto.bet.beteran.member.MemberModel|undefined} value
* @return {!proto.bet.beteran.c2se.backend.member.GetMemberResponse.Result} returns this
*/
proto.bet.beteran.c2se.backend.member.GetMemberResponse.Result.prototype.setMember =
@ -1933,7 +2407,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
obj = {
member:
(f = msg.getMember()) &&
models_member_member_pb.Member.toObject(includeInstance, f),
models_member_member_pb.MemberModel.toObject(includeInstance, f),
};
if (includeInstance) {
@ -1975,10 +2449,10 @@ proto.bet.beteran.c2se.backend.member.GetMemberByUsernameResponse.Result.deseria
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new models_member_member_pb.Member();
var value = new models_member_member_pb.MemberModel();
reader.readMessage(
value,
models_member_member_pb.Member.deserializeBinaryFromReader
models_member_member_pb.MemberModel.deserializeBinaryFromReader
);
msg.setMember(value);
break;
@ -2019,24 +2493,24 @@ proto.bet.beteran.c2se.backend.member.GetMemberByUsernameResponse.Result.seriali
writer.writeMessage(
1,
f,
models_member_member_pb.Member.serializeBinaryToWriter
models_member_member_pb.MemberModel.serializeBinaryToWriter
);
}
};
/**
* optional bet.beteran.member.Member member = 1;
* @return {?proto.bet.beteran.member.Member}
* optional bet.beteran.member.MemberModel member = 1;
* @return {?proto.bet.beteran.member.MemberModel}
*/
proto.bet.beteran.c2se.backend.member.GetMemberByUsernameResponse.Result.prototype.getMember =
function () {
return /** @type{?proto.bet.beteran.member.Member} */ (
jspb.Message.getWrapperField(this, models_member_member_pb.Member, 1)
return /** @type{?proto.bet.beteran.member.MemberModel} */ (
jspb.Message.getWrapperField(this, models_member_member_pb.MemberModel, 1)
);
};
/**
* @param {?proto.bet.beteran.member.Member|undefined} value
* @param {?proto.bet.beteran.member.MemberModel|undefined} value
* @return {!proto.bet.beteran.c2se.backend.member.GetMemberByUsernameResponse.Result} returns this
*/
proto.bet.beteran.c2se.backend.member.GetMemberByUsernameResponse.Result.prototype.setMember =

View File

@ -9,11 +9,8 @@ import * as protobuf_pagination_sort_pb from '../../protobuf/pagination/sort_pb'
import * as models_domain_site_pb from '../../models/domain/site_pb';
export const SUBJECT_LIST_SITES: string;
export const SUBJECT_CREATE_SITE: string;
export const SUBJECT_UPDATE_SITE: string;
export const SUBJECT_DELETE_SITE: string;
export class ListSitesRequest extends jspb.Message {
@ -38,6 +35,36 @@ export class ListSitesRequest extends jspb.Message {
index?: number
): protobuf_pagination_sort_pb.Sort;
hasUrlLike(): boolean;
clearUrlLike(): void;
getUrlLike(): string;
setUrlLike(value: string): void;
hasNameLike(): boolean;
clearNameLike(): void;
getNameLike(): string;
setNameLike(value: string): void;
hasPathLike(): boolean;
clearPathLike(): void;
getPathLike(): string;
setPathLike(value: string): void;
hasShow(): boolean;
clearShow(): void;
getShow(): boolean;
setShow(value: boolean): void;
hasCanUse(): boolean;
clearCanUse(): void;
getCanUse(): boolean;
setCanUse(value: boolean): void;
hasMemoLike(): boolean;
clearMemoLike(): void;
getMemoLike(): string;
setMemoLike(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ListSitesRequest.AsObject;
static toObject(
@ -64,6 +91,12 @@ export namespace ListSitesRequest {
pagination?: protobuf_pagination_pagination_pb.Pagination.AsObject;
searchesList: Array<protobuf_pagination_search_pb.Search.AsObject>;
sortsList: Array<protobuf_pagination_sort_pb.Sort.AsObject>;
urlLike: string;
nameLike: string;
pathLike: string;
show: boolean;
canUse: boolean;
memoLike: string;
};
}

View File

@ -90,13 +90,10 @@ goog.exportSymbol(
proto.bet.beteran.c2se.backend.site.SUBJECT_LIST_SITES =
"bet.beteran.c2se.backend.site.ListSites";
proto.bet.beteran.c2se.backend.site.SUBJECT_CREATE_SITE =
"bet.beteran.c2se.backend.site.CreateSite";
proto.bet.beteran.c2se.backend.site.SUBJECT_UPDATE_SITE =
"bet.beteran.c2se.backend.site.UpdateSite";
proto.bet.beteran.c2se.backend.site.SUBJECT_DELETE_SITE =
"bet.beteran.c2se.backend.site.DeleteSite";
@ -483,6 +480,12 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
protobuf_pagination_sort_pb.Sort.toObject,
includeInstance
),
urlLike: jspb.Message.getFieldWithDefault(msg, 4, ""),
nameLike: jspb.Message.getFieldWithDefault(msg, 5, ""),
pathLike: jspb.Message.getFieldWithDefault(msg, 6, ""),
show: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
canUse: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
memoLike: jspb.Message.getFieldWithDefault(msg, 9, ""),
};
if (includeInstance) {
@ -547,6 +550,30 @@ proto.bet.beteran.c2se.backend.site.ListSitesRequest.deserializeBinaryFromReader
);
msg.addSorts(value);
break;
case 4:
var value = /** @type {string} */ (reader.readString());
msg.setUrlLike(value);
break;
case 5:
var value = /** @type {string} */ (reader.readString());
msg.setNameLike(value);
break;
case 6:
var value = /** @type {string} */ (reader.readString());
msg.setPathLike(value);
break;
case 7:
var value = /** @type {boolean} */ (reader.readBool());
msg.setShow(value);
break;
case 8:
var value = /** @type {boolean} */ (reader.readBool());
msg.setCanUse(value);
break;
case 9:
var value = /** @type {string} */ (reader.readString());
msg.setMemoLike(value);
break;
default:
reader.skipField();
break;
@ -603,6 +630,30 @@ proto.bet.beteran.c2se.backend.site.ListSitesRequest.serializeBinaryToWriter =
protobuf_pagination_sort_pb.Sort.serializeBinaryToWriter
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 4));
if (f != null) {
writer.writeString(4, f);
}
f = /** @type {string} */ (jspb.Message.getField(message, 5));
if (f != null) {
writer.writeString(5, f);
}
f = /** @type {string} */ (jspb.Message.getField(message, 6));
if (f != null) {
writer.writeString(6, f);
}
f = /** @type {boolean} */ (jspb.Message.getField(message, 7));
if (f != null) {
writer.writeBool(7, f);
}
f = /** @type {boolean} */ (jspb.Message.getField(message, 8));
if (f != null) {
writer.writeBool(8, f);
}
f = /** @type {string} */ (jspb.Message.getField(message, 9));
if (f != null) {
writer.writeString(9, f);
}
};
/**
@ -745,6 +796,234 @@ proto.bet.beteran.c2se.backend.site.ListSitesRequest.prototype.clearSortsList =
return this.setSortsList([]);
};
/**
* optional string url_like = 4;
* @return {string}
*/
proto.bet.beteran.c2se.backend.site.ListSitesRequest.prototype.getUrlLike =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 4, "")
);
};
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.backend.site.ListSitesRequest} returns this
*/
proto.bet.beteran.c2se.backend.site.ListSitesRequest.prototype.setUrlLike =
function (value) {
return jspb.Message.setField(this, 4, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.bet.beteran.c2se.backend.site.ListSitesRequest} returns this
*/
proto.bet.beteran.c2se.backend.site.ListSitesRequest.prototype.clearUrlLike =
function () {
return jspb.Message.setField(this, 4, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.backend.site.ListSitesRequest.prototype.hasUrlLike =
function () {
return jspb.Message.getField(this, 4) != null;
};
/**
* optional string name_like = 5;
* @return {string}
*/
proto.bet.beteran.c2se.backend.site.ListSitesRequest.prototype.getNameLike =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 5, "")
);
};
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.backend.site.ListSitesRequest} returns this
*/
proto.bet.beteran.c2se.backend.site.ListSitesRequest.prototype.setNameLike =
function (value) {
return jspb.Message.setField(this, 5, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.bet.beteran.c2se.backend.site.ListSitesRequest} returns this
*/
proto.bet.beteran.c2se.backend.site.ListSitesRequest.prototype.clearNameLike =
function () {
return jspb.Message.setField(this, 5, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.backend.site.ListSitesRequest.prototype.hasNameLike =
function () {
return jspb.Message.getField(this, 5) != null;
};
/**
* optional string path_like = 6;
* @return {string}
*/
proto.bet.beteran.c2se.backend.site.ListSitesRequest.prototype.getPathLike =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 6, "")
);
};
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.backend.site.ListSitesRequest} returns this
*/
proto.bet.beteran.c2se.backend.site.ListSitesRequest.prototype.setPathLike =
function (value) {
return jspb.Message.setField(this, 6, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.bet.beteran.c2se.backend.site.ListSitesRequest} returns this
*/
proto.bet.beteran.c2se.backend.site.ListSitesRequest.prototype.clearPathLike =
function () {
return jspb.Message.setField(this, 6, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.backend.site.ListSitesRequest.prototype.hasPathLike =
function () {
return jspb.Message.getField(this, 6) != null;
};
/**
* optional bool show = 7;
* @return {boolean}
*/
proto.bet.beteran.c2se.backend.site.ListSitesRequest.prototype.getShow =
function () {
return /** @type {boolean} */ (
jspb.Message.getBooleanFieldWithDefault(this, 7, false)
);
};
/**
* @param {boolean} value
* @return {!proto.bet.beteran.c2se.backend.site.ListSitesRequest} returns this
*/
proto.bet.beteran.c2se.backend.site.ListSitesRequest.prototype.setShow =
function (value) {
return jspb.Message.setField(this, 7, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.bet.beteran.c2se.backend.site.ListSitesRequest} returns this
*/
proto.bet.beteran.c2se.backend.site.ListSitesRequest.prototype.clearShow =
function () {
return jspb.Message.setField(this, 7, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.backend.site.ListSitesRequest.prototype.hasShow =
function () {
return jspb.Message.getField(this, 7) != null;
};
/**
* optional bool can_use = 8;
* @return {boolean}
*/
proto.bet.beteran.c2se.backend.site.ListSitesRequest.prototype.getCanUse =
function () {
return /** @type {boolean} */ (
jspb.Message.getBooleanFieldWithDefault(this, 8, false)
);
};
/**
* @param {boolean} value
* @return {!proto.bet.beteran.c2se.backend.site.ListSitesRequest} returns this
*/
proto.bet.beteran.c2se.backend.site.ListSitesRequest.prototype.setCanUse =
function (value) {
return jspb.Message.setField(this, 8, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.bet.beteran.c2se.backend.site.ListSitesRequest} returns this
*/
proto.bet.beteran.c2se.backend.site.ListSitesRequest.prototype.clearCanUse =
function () {
return jspb.Message.setField(this, 8, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.backend.site.ListSitesRequest.prototype.hasCanUse =
function () {
return jspb.Message.getField(this, 8) != null;
};
/**
* optional string memo_like = 9;
* @return {string}
*/
proto.bet.beteran.c2se.backend.site.ListSitesRequest.prototype.getMemoLike =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 9, "")
);
};
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.backend.site.ListSitesRequest} returns this
*/
proto.bet.beteran.c2se.backend.site.ListSitesRequest.prototype.setMemoLike =
function (value) {
return jspb.Message.setField(this, 9, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.bet.beteran.c2se.backend.site.ListSitesRequest} returns this
*/
proto.bet.beteran.c2se.backend.site.ListSitesRequest.prototype.clearMemoLike =
function () {
return jspb.Message.setField(this, 9, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.backend.site.ListSitesRequest.prototype.hasMemoLike =
function () {
return jspb.Message.getField(this, 9) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.

View File

@ -7,10 +7,10 @@ export class MemberClass extends jspb.Message {
getId(): string;
setId(value: string): void;
hasParent(): boolean;
clearParent(): void;
getParent(): MemberClass | undefined;
setParent(value?: MemberClass): void;
hasParentId(): boolean;
clearParentId(): void;
getParentId(): string;
setParentId(value: string): void;
getName(): string;
setName(value: string): void;
@ -50,7 +50,7 @@ export class MemberClass extends jspb.Message {
export namespace MemberClass {
export type AsObject = {
id: string;
parent?: MemberClass.AsObject;
parentId: string;
name: string;
createdAt: number;
updatedAt: number;

View File

@ -79,9 +79,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
var f,
obj = {
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
parent:
(f = msg.getParent()) &&
proto.bet.beteran.member.MemberClass.toObject(includeInstance, f),
parentId: jspb.Message.getFieldWithDefault(msg, 2, ""),
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
createdAt: jspb.Message.getFieldWithDefault(msg, 4, 0),
updatedAt: jspb.Message.getFieldWithDefault(msg, 5, 0),
@ -131,12 +129,8 @@ proto.bet.beteran.member.MemberClass.deserializeBinaryFromReader = function (
msg.setId(value);
break;
case 2:
var value = new proto.bet.beteran.member.MemberClass();
reader.readMessage(
value,
proto.bet.beteran.member.MemberClass.deserializeBinaryFromReader
);
msg.setParent(value);
var value = /** @type {string} */ (reader.readString());
msg.setParentId(value);
break;
case 3:
var value = /** @type {string} */ (reader.readString());
@ -188,13 +182,9 @@ proto.bet.beteran.member.MemberClass.serializeBinaryToWriter = function (
if (f.length > 0) {
writer.writeString(1, f);
}
f = message.getParent();
f = /** @type {string} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeMessage(
2,
f,
proto.bet.beteran.member.MemberClass.serializeBinaryToWriter
);
writer.writeString(2, f);
}
f = message.getName();
if (f.length > 0) {
@ -231,36 +221,34 @@ proto.bet.beteran.member.MemberClass.prototype.setId = function (value) {
};
/**
* optional MemberClass parent = 2;
* @return {?proto.bet.beteran.member.MemberClass}
* optional string parent_id = 2;
* @return {string}
*/
proto.bet.beteran.member.MemberClass.prototype.getParent = function () {
return /** @type{?proto.bet.beteran.member.MemberClass} */ (
jspb.Message.getWrapperField(this, proto.bet.beteran.member.MemberClass, 2)
);
proto.bet.beteran.member.MemberClass.prototype.getParentId = function () {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {?proto.bet.beteran.member.MemberClass|undefined} value
* @param {string} value
* @return {!proto.bet.beteran.member.MemberClass} returns this
*/
proto.bet.beteran.member.MemberClass.prototype.setParent = function (value) {
return jspb.Message.setWrapperField(this, 2, value);
proto.bet.beteran.member.MemberClass.prototype.setParentId = function (value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* Clears the field making it undefined.
* @return {!proto.bet.beteran.member.MemberClass} returns this
*/
proto.bet.beteran.member.MemberClass.prototype.clearParent = function () {
return this.setParent(undefined);
proto.bet.beteran.member.MemberClass.prototype.clearParentId = function () {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.member.MemberClass.prototype.hasParent = function () {
proto.bet.beteran.member.MemberClass.prototype.hasParentId = function () {
return jspb.Message.getField(this, 2) != null;
};

View File

@ -10,8 +10,8 @@ export class MemberLevel extends jspb.Message {
getName(): string;
setName(value: string): void;
getOrder(): number;
setOrder(value: number): void;
getSortOrder(): number;
setSortOrder(value: number): void;
getCreatedAt(): number;
setCreatedAt(value: number): void;
@ -49,7 +49,7 @@ export namespace MemberLevel {
export type AsObject = {
id: string;
name: string;
order: number;
sortOrder: number;
createdAt: number;
updatedAt: number;
deletedAt: number;

View File

@ -80,7 +80,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
obj = {
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
order: jspb.Message.getFieldWithDefault(msg, 3, 0),
sortOrder: jspb.Message.getFieldWithDefault(msg, 3, 0),
createdAt: jspb.Message.getFieldWithDefault(msg, 4, 0),
updatedAt: jspb.Message.getFieldWithDefault(msg, 5, 0),
deletedAt: jspb.Message.getFieldWithDefault(msg, 6, 0),
@ -134,7 +134,7 @@ proto.bet.beteran.member.MemberLevel.deserializeBinaryFromReader = function (
break;
case 3:
var value = /** @type {number} */ (reader.readUint32());
msg.setOrder(value);
msg.setSortOrder(value);
break;
case 4:
var value = /** @type {number} */ (reader.readUint64());
@ -186,7 +186,7 @@ proto.bet.beteran.member.MemberLevel.serializeBinaryToWriter = function (
if (f.length > 0) {
writer.writeString(2, f);
}
f = message.getOrder();
f = message.getSortOrder();
if (f !== 0) {
writer.writeUint32(3, f);
}
@ -237,10 +237,10 @@ proto.bet.beteran.member.MemberLevel.prototype.setName = function (value) {
};
/**
* optional uint32 order = 3;
* optional uint32 sort_order = 3;
* @return {number}
*/
proto.bet.beteran.member.MemberLevel.prototype.getOrder = function () {
proto.bet.beteran.member.MemberLevel.prototype.getSortOrder = function () {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};
@ -248,7 +248,7 @@ proto.bet.beteran.member.MemberLevel.prototype.getOrder = function () {
* @param {number} value
* @return {!proto.bet.beteran.member.MemberLevel} returns this
*/
proto.bet.beteran.member.MemberLevel.prototype.setOrder = function (value) {
proto.bet.beteran.member.MemberLevel.prototype.setSortOrder = function (value) {
return jspb.Message.setProto3IntField(this, 3, value);
};

View File

@ -10,25 +10,19 @@ export class Member extends jspb.Message {
getId(): string;
setId(value: string): void;
hasSite(): boolean;
clearSite(): void;
getSite(): models_domain_site_pb.Site | undefined;
setSite(value?: models_domain_site_pb.Site): void;
getSiteId(): string;
setSiteId(value: string): void;
hasMemberClass(): boolean;
clearMemberClass(): void;
getMemberClass(): models_member_member_class_pb.MemberClass | undefined;
setMemberClass(value?: models_member_member_class_pb.MemberClass): void;
getMemberClassId(): string;
setMemberClassId(value: string): void;
hasMemberLevel(): boolean;
clearMemberLevel(): void;
getMemberLevel(): models_member_member_level_pb.MemberLevel | undefined;
setMemberLevel(value?: models_member_member_level_pb.MemberLevel): void;
getMemberLevelId(): string;
setMemberLevelId(value: string): void;
hasReferrer(): boolean;
clearReferrer(): void;
getReferrer(): Member | undefined;
setReferrer(value?: Member): void;
hasReferrerMemberId(): boolean;
clearReferrerMemberId(): void;
getReferrerMemberId(): string;
setReferrerMemberId(value: string): void;
getReferredCount(): number;
setReferredCount(value: number): void;
@ -92,12 +86,121 @@ export class Member extends jspb.Message {
}
export namespace Member {
export type AsObject = {
id: string;
siteId: string;
memberClassId: string;
memberLevelId: string;
referrerMemberId: string;
referredCount: number;
username: string;
nickname: string;
mobilePhoneNumber: string;
state: MemberStateMap[keyof MemberStateMap];
stateChangedAt: number;
lastSigninedIp: string;
lastSigninedAt: number;
createdAt: number;
updatedAt: number;
deletedAt: number;
};
}
export class MemberModel extends jspb.Message {
getId(): string;
setId(value: string): void;
hasSite(): boolean;
clearSite(): void;
getSite(): models_domain_site_pb.Site | undefined;
setSite(value?: models_domain_site_pb.Site): void;
hasMemberClass(): boolean;
clearMemberClass(): void;
getMemberClass(): models_member_member_class_pb.MemberClass | undefined;
setMemberClass(value?: models_member_member_class_pb.MemberClass): void;
hasMemberLevel(): boolean;
clearMemberLevel(): void;
getMemberLevel(): models_member_member_level_pb.MemberLevel | undefined;
setMemberLevel(value?: models_member_member_level_pb.MemberLevel): void;
hasReferrerMember(): boolean;
clearReferrerMember(): void;
getReferrerMember(): Member | undefined;
setReferrerMember(value?: Member): void;
getReferredCount(): number;
setReferredCount(value: number): void;
getUsername(): string;
setUsername(value: string): void;
getNickname(): string;
setNickname(value: string): void;
hasMobilePhoneNumber(): boolean;
clearMobilePhoneNumber(): void;
getMobilePhoneNumber(): string;
setMobilePhoneNumber(value: string): void;
getState(): MemberStateMap[keyof MemberStateMap];
setState(value: MemberStateMap[keyof MemberStateMap]): void;
hasStateChangedAt(): boolean;
clearStateChangedAt(): void;
getStateChangedAt(): number;
setStateChangedAt(value: number): void;
hasLastSigninedIp(): boolean;
clearLastSigninedIp(): void;
getLastSigninedIp(): string;
setLastSigninedIp(value: string): void;
hasLastSigninedAt(): boolean;
clearLastSigninedAt(): void;
getLastSigninedAt(): number;
setLastSigninedAt(value: number): void;
getCreatedAt(): number;
setCreatedAt(value: number): void;
getUpdatedAt(): number;
setUpdatedAt(value: number): void;
hasDeletedAt(): boolean;
clearDeletedAt(): void;
getDeletedAt(): number;
setDeletedAt(value: number): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): MemberModel.AsObject;
static toObject(
includeInstance: boolean,
msg: MemberModel
): MemberModel.AsObject;
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
};
static serializeBinaryToWriter(
message: MemberModel,
writer: jspb.BinaryWriter
): void;
static deserializeBinary(bytes: Uint8Array): MemberModel;
static deserializeBinaryFromReader(
message: MemberModel,
reader: jspb.BinaryReader
): MemberModel;
}
export namespace MemberModel {
export type AsObject = {
id: string;
site?: models_domain_site_pb.Site.AsObject;
memberClass?: models_member_member_class_pb.MemberClass.AsObject;
memberLevel?: models_member_member_level_pb.MemberLevel.AsObject;
referrer?: Member.AsObject;
referrerMember?: Member.AsObject;
referredCount: number;
username: string;
nickname: string;

File diff suppressed because it is too large Load Diff