refactoring
This commit is contained in:
parent
119ebac6ed
commit
9841dafef6
|
@ -36,6 +36,58 @@ export class ListMembersRequest extends jspb.Message {
|
||||||
index?: number
|
index?: number
|
||||||
): protobuf_pagination_sort_pb.Sort;
|
): 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;
|
serializeBinary(): Uint8Array;
|
||||||
toObject(includeInstance?: boolean): ListMembersRequest.AsObject;
|
toObject(includeInstance?: boolean): ListMembersRequest.AsObject;
|
||||||
static toObject(
|
static toObject(
|
||||||
|
@ -62,6 +114,16 @@ export namespace ListMembersRequest {
|
||||||
pagination?: protobuf_pagination_pagination_pb.Pagination.AsObject;
|
pagination?: protobuf_pagination_pagination_pb.Pagination.AsObject;
|
||||||
searchesList: Array<protobuf_pagination_search_pb.Search.AsObject>;
|
searchesList: Array<protobuf_pagination_search_pb.Search.AsObject>;
|
||||||
sortsList: Array<protobuf_pagination_sort_pb.Sort.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 {
|
export class Result extends jspb.Message {
|
||||||
clearMembersList(): void;
|
clearMembersList(): void;
|
||||||
getMembersList(): Array<models_member_member_pb.Member>;
|
getMembersList(): Array<models_member_member_pb.MemberModel>;
|
||||||
setMembersList(value: Array<models_member_member_pb.Member>): void;
|
setMembersList(value: Array<models_member_member_pb.MemberModel>): void;
|
||||||
addMembers(
|
addMembers(
|
||||||
value?: models_member_member_pb.Member,
|
value?: models_member_member_pb.MemberModel,
|
||||||
index?: number
|
index?: number
|
||||||
): models_member_member_pb.Member;
|
): models_member_member_pb.MemberModel;
|
||||||
|
|
||||||
serializeBinary(): Uint8Array;
|
serializeBinary(): Uint8Array;
|
||||||
toObject(includeInstance?: boolean): Result.AsObject;
|
toObject(includeInstance?: boolean): Result.AsObject;
|
||||||
|
@ -132,7 +194,7 @@ export namespace ListMembersResponse {
|
||||||
|
|
||||||
export namespace Result {
|
export namespace Result {
|
||||||
export type AsObject = {
|
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 {
|
export class Result extends jspb.Message {
|
||||||
hasMember(): boolean;
|
hasMember(): boolean;
|
||||||
clearMember(): void;
|
clearMember(): void;
|
||||||
getMember(): models_member_member_pb.Member | undefined;
|
getMember(): models_member_member_pb.MemberModel | undefined;
|
||||||
setMember(value?: models_member_member_pb.Member): void;
|
setMember(value?: models_member_member_pb.MemberModel): void;
|
||||||
|
|
||||||
serializeBinary(): Uint8Array;
|
serializeBinary(): Uint8Array;
|
||||||
toObject(includeInstance?: boolean): Result.AsObject;
|
toObject(includeInstance?: boolean): Result.AsObject;
|
||||||
|
@ -232,7 +294,7 @@ export namespace GetMemberResponse {
|
||||||
|
|
||||||
export namespace Result {
|
export namespace Result {
|
||||||
export type AsObject = {
|
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 {
|
export class Result extends jspb.Message {
|
||||||
hasMember(): boolean;
|
hasMember(): boolean;
|
||||||
clearMember(): void;
|
clearMember(): void;
|
||||||
getMember(): models_member_member_pb.Member | undefined;
|
getMember(): models_member_member_pb.MemberModel | undefined;
|
||||||
setMember(value?: models_member_member_pb.Member): void;
|
setMember(value?: models_member_member_pb.MemberModel): void;
|
||||||
|
|
||||||
serializeBinary(): Uint8Array;
|
serializeBinary(): Uint8Array;
|
||||||
toObject(includeInstance?: boolean): Result.AsObject;
|
toObject(includeInstance?: boolean): Result.AsObject;
|
||||||
|
@ -332,7 +394,7 @@ export namespace GetMemberByUsernameResponse {
|
||||||
|
|
||||||
export namespace Result {
|
export namespace Result {
|
||||||
export type AsObject = {
|
export type AsObject = {
|
||||||
member?: models_member_member_pb.Member.AsObject;
|
member?: models_member_member_pb.MemberModel.AsObject;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -393,6 +393,16 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||||
protobuf_pagination_sort_pb.Sort.toObject,
|
protobuf_pagination_sort_pb.Sort.toObject,
|
||||||
includeInstance
|
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) {
|
if (includeInstance) {
|
||||||
|
@ -457,6 +467,48 @@ proto.bet.beteran.c2se.backend.member.ListMembersRequest.deserializeBinaryFromRe
|
||||||
);
|
);
|
||||||
msg.addSorts(value);
|
msg.addSorts(value);
|
||||||
break;
|
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:
|
default:
|
||||||
reader.skipField();
|
reader.skipField();
|
||||||
break;
|
break;
|
||||||
|
@ -513,6 +565,48 @@ proto.bet.beteran.c2se.backend.member.ListMembersRequest.serializeBinaryToWriter
|
||||||
protobuf_pagination_sort_pb.Sort.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([]);
|
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) {
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||||
/**
|
/**
|
||||||
* Creates an object representation of this proto.
|
* Creates an object representation of this proto.
|
||||||
|
@ -850,7 +1324,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||||
obj = {
|
obj = {
|
||||||
membersList: jspb.Message.toObjectList(
|
membersList: jspb.Message.toObjectList(
|
||||||
msg.getMembersList(),
|
msg.getMembersList(),
|
||||||
models_member_member_pb.Member.toObject,
|
models_member_member_pb.MemberModel.toObject,
|
||||||
includeInstance
|
includeInstance
|
||||||
),
|
),
|
||||||
};
|
};
|
||||||
|
@ -894,10 +1368,10 @@ proto.bet.beteran.c2se.backend.member.ListMembersResponse.Result.deserializeBina
|
||||||
var field = reader.getFieldNumber();
|
var field = reader.getFieldNumber();
|
||||||
switch (field) {
|
switch (field) {
|
||||||
case 1:
|
case 1:
|
||||||
var value = new models_member_member_pb.Member();
|
var value = new models_member_member_pb.MemberModel();
|
||||||
reader.readMessage(
|
reader.readMessage(
|
||||||
value,
|
value,
|
||||||
models_member_member_pb.Member.deserializeBinaryFromReader
|
models_member_member_pb.MemberModel.deserializeBinaryFromReader
|
||||||
);
|
);
|
||||||
msg.addMembers(value);
|
msg.addMembers(value);
|
||||||
break;
|
break;
|
||||||
|
@ -938,28 +1412,28 @@ proto.bet.beteran.c2se.backend.member.ListMembersResponse.Result.serializeBinary
|
||||||
writer.writeRepeatedMessage(
|
writer.writeRepeatedMessage(
|
||||||
1,
|
1,
|
||||||
f,
|
f,
|
||||||
models_member_member_pb.Member.serializeBinaryToWriter
|
models_member_member_pb.MemberModel.serializeBinaryToWriter
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* repeated bet.beteran.member.Member members = 1;
|
* repeated bet.beteran.member.MemberModel members = 1;
|
||||||
* @return {!Array<!proto.bet.beteran.member.Member>}
|
* @return {!Array<!proto.bet.beteran.member.MemberModel>}
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.c2se.backend.member.ListMembersResponse.Result.prototype.getMembersList =
|
proto.bet.beteran.c2se.backend.member.ListMembersResponse.Result.prototype.getMembersList =
|
||||||
function () {
|
function () {
|
||||||
return /** @type{!Array<!proto.bet.beteran.member.Member>} */ (
|
return /** @type{!Array<!proto.bet.beteran.member.MemberModel>} */ (
|
||||||
jspb.Message.getRepeatedWrapperField(
|
jspb.Message.getRepeatedWrapperField(
|
||||||
this,
|
this,
|
||||||
models_member_member_pb.Member,
|
models_member_member_pb.MemberModel,
|
||||||
1
|
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
|
* @return {!proto.bet.beteran.c2se.backend.member.ListMembersResponse.Result} returns this
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.c2se.backend.member.ListMembersResponse.Result.prototype.setMembersList =
|
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
|
* @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 =
|
proto.bet.beteran.c2se.backend.member.ListMembersResponse.Result.prototype.addMembers =
|
||||||
function (opt_value, opt_index) {
|
function (opt_value, opt_index) {
|
||||||
|
@ -978,7 +1452,7 @@ proto.bet.beteran.c2se.backend.member.ListMembersResponse.Result.prototype.addMe
|
||||||
this,
|
this,
|
||||||
1,
|
1,
|
||||||
opt_value,
|
opt_value,
|
||||||
proto.bet.beteran.member.Member,
|
proto.bet.beteran.member.MemberModel,
|
||||||
opt_index
|
opt_index
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
@ -1399,7 +1873,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||||
obj = {
|
obj = {
|
||||||
member:
|
member:
|
||||||
(f = msg.getMember()) &&
|
(f = msg.getMember()) &&
|
||||||
models_member_member_pb.Member.toObject(includeInstance, f),
|
models_member_member_pb.MemberModel.toObject(includeInstance, f),
|
||||||
};
|
};
|
||||||
|
|
||||||
if (includeInstance) {
|
if (includeInstance) {
|
||||||
|
@ -1441,10 +1915,10 @@ proto.bet.beteran.c2se.backend.member.GetMemberResponse.Result.deserializeBinary
|
||||||
var field = reader.getFieldNumber();
|
var field = reader.getFieldNumber();
|
||||||
switch (field) {
|
switch (field) {
|
||||||
case 1:
|
case 1:
|
||||||
var value = new models_member_member_pb.Member();
|
var value = new models_member_member_pb.MemberModel();
|
||||||
reader.readMessage(
|
reader.readMessage(
|
||||||
value,
|
value,
|
||||||
models_member_member_pb.Member.deserializeBinaryFromReader
|
models_member_member_pb.MemberModel.deserializeBinaryFromReader
|
||||||
);
|
);
|
||||||
msg.setMember(value);
|
msg.setMember(value);
|
||||||
break;
|
break;
|
||||||
|
@ -1485,24 +1959,24 @@ proto.bet.beteran.c2se.backend.member.GetMemberResponse.Result.serializeBinaryTo
|
||||||
writer.writeMessage(
|
writer.writeMessage(
|
||||||
1,
|
1,
|
||||||
f,
|
f,
|
||||||
models_member_member_pb.Member.serializeBinaryToWriter
|
models_member_member_pb.MemberModel.serializeBinaryToWriter
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* optional bet.beteran.member.Member member = 1;
|
* optional bet.beteran.member.MemberModel member = 1;
|
||||||
* @return {?proto.bet.beteran.member.Member}
|
* @return {?proto.bet.beteran.member.MemberModel}
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.c2se.backend.member.GetMemberResponse.Result.prototype.getMember =
|
proto.bet.beteran.c2se.backend.member.GetMemberResponse.Result.prototype.getMember =
|
||||||
function () {
|
function () {
|
||||||
return /** @type{?proto.bet.beteran.member.Member} */ (
|
return /** @type{?proto.bet.beteran.member.MemberModel} */ (
|
||||||
jspb.Message.getWrapperField(this, models_member_member_pb.Member, 1)
|
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
|
* @return {!proto.bet.beteran.c2se.backend.member.GetMemberResponse.Result} returns this
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.c2se.backend.member.GetMemberResponse.Result.prototype.setMember =
|
proto.bet.beteran.c2se.backend.member.GetMemberResponse.Result.prototype.setMember =
|
||||||
|
@ -1933,7 +2407,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||||
obj = {
|
obj = {
|
||||||
member:
|
member:
|
||||||
(f = msg.getMember()) &&
|
(f = msg.getMember()) &&
|
||||||
models_member_member_pb.Member.toObject(includeInstance, f),
|
models_member_member_pb.MemberModel.toObject(includeInstance, f),
|
||||||
};
|
};
|
||||||
|
|
||||||
if (includeInstance) {
|
if (includeInstance) {
|
||||||
|
@ -1975,10 +2449,10 @@ proto.bet.beteran.c2se.backend.member.GetMemberByUsernameResponse.Result.deseria
|
||||||
var field = reader.getFieldNumber();
|
var field = reader.getFieldNumber();
|
||||||
switch (field) {
|
switch (field) {
|
||||||
case 1:
|
case 1:
|
||||||
var value = new models_member_member_pb.Member();
|
var value = new models_member_member_pb.MemberModel();
|
||||||
reader.readMessage(
|
reader.readMessage(
|
||||||
value,
|
value,
|
||||||
models_member_member_pb.Member.deserializeBinaryFromReader
|
models_member_member_pb.MemberModel.deserializeBinaryFromReader
|
||||||
);
|
);
|
||||||
msg.setMember(value);
|
msg.setMember(value);
|
||||||
break;
|
break;
|
||||||
|
@ -2019,24 +2493,24 @@ proto.bet.beteran.c2se.backend.member.GetMemberByUsernameResponse.Result.seriali
|
||||||
writer.writeMessage(
|
writer.writeMessage(
|
||||||
1,
|
1,
|
||||||
f,
|
f,
|
||||||
models_member_member_pb.Member.serializeBinaryToWriter
|
models_member_member_pb.MemberModel.serializeBinaryToWriter
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* optional bet.beteran.member.Member member = 1;
|
* optional bet.beteran.member.MemberModel member = 1;
|
||||||
* @return {?proto.bet.beteran.member.Member}
|
* @return {?proto.bet.beteran.member.MemberModel}
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.c2se.backend.member.GetMemberByUsernameResponse.Result.prototype.getMember =
|
proto.bet.beteran.c2se.backend.member.GetMemberByUsernameResponse.Result.prototype.getMember =
|
||||||
function () {
|
function () {
|
||||||
return /** @type{?proto.bet.beteran.member.Member} */ (
|
return /** @type{?proto.bet.beteran.member.MemberModel} */ (
|
||||||
jspb.Message.getWrapperField(this, models_member_member_pb.Member, 1)
|
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
|
* @return {!proto.bet.beteran.c2se.backend.member.GetMemberByUsernameResponse.Result} returns this
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.c2se.backend.member.GetMemberByUsernameResponse.Result.prototype.setMember =
|
proto.bet.beteran.c2se.backend.member.GetMemberByUsernameResponse.Result.prototype.setMember =
|
||||||
|
|
|
@ -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';
|
import * as models_domain_site_pb from '../../models/domain/site_pb';
|
||||||
|
|
||||||
export const SUBJECT_LIST_SITES: string;
|
export const SUBJECT_LIST_SITES: string;
|
||||||
|
|
||||||
export const SUBJECT_CREATE_SITE: string;
|
export const SUBJECT_CREATE_SITE: string;
|
||||||
|
|
||||||
export const SUBJECT_UPDATE_SITE: string;
|
export const SUBJECT_UPDATE_SITE: string;
|
||||||
|
|
||||||
export const SUBJECT_DELETE_SITE: string;
|
export const SUBJECT_DELETE_SITE: string;
|
||||||
|
|
||||||
export class ListSitesRequest extends jspb.Message {
|
export class ListSitesRequest extends jspb.Message {
|
||||||
|
@ -38,6 +35,36 @@ export class ListSitesRequest extends jspb.Message {
|
||||||
index?: number
|
index?: number
|
||||||
): protobuf_pagination_sort_pb.Sort;
|
): 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;
|
serializeBinary(): Uint8Array;
|
||||||
toObject(includeInstance?: boolean): ListSitesRequest.AsObject;
|
toObject(includeInstance?: boolean): ListSitesRequest.AsObject;
|
||||||
static toObject(
|
static toObject(
|
||||||
|
@ -64,6 +91,12 @@ export namespace ListSitesRequest {
|
||||||
pagination?: protobuf_pagination_pagination_pb.Pagination.AsObject;
|
pagination?: protobuf_pagination_pagination_pb.Pagination.AsObject;
|
||||||
searchesList: Array<protobuf_pagination_search_pb.Search.AsObject>;
|
searchesList: Array<protobuf_pagination_search_pb.Search.AsObject>;
|
||||||
sortsList: Array<protobuf_pagination_sort_pb.Sort.AsObject>;
|
sortsList: Array<protobuf_pagination_sort_pb.Sort.AsObject>;
|
||||||
|
urlLike: string;
|
||||||
|
nameLike: string;
|
||||||
|
pathLike: string;
|
||||||
|
show: boolean;
|
||||||
|
canUse: boolean;
|
||||||
|
memoLike: string;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -90,13 +90,10 @@ goog.exportSymbol(
|
||||||
|
|
||||||
proto.bet.beteran.c2se.backend.site.SUBJECT_LIST_SITES =
|
proto.bet.beteran.c2se.backend.site.SUBJECT_LIST_SITES =
|
||||||
"bet.beteran.c2se.backend.site.ListSites";
|
"bet.beteran.c2se.backend.site.ListSites";
|
||||||
|
|
||||||
proto.bet.beteran.c2se.backend.site.SUBJECT_CREATE_SITE =
|
proto.bet.beteran.c2se.backend.site.SUBJECT_CREATE_SITE =
|
||||||
"bet.beteran.c2se.backend.site.CreateSite";
|
"bet.beteran.c2se.backend.site.CreateSite";
|
||||||
|
|
||||||
proto.bet.beteran.c2se.backend.site.SUBJECT_UPDATE_SITE =
|
proto.bet.beteran.c2se.backend.site.SUBJECT_UPDATE_SITE =
|
||||||
"bet.beteran.c2se.backend.site.UpdateSite";
|
"bet.beteran.c2se.backend.site.UpdateSite";
|
||||||
|
|
||||||
proto.bet.beteran.c2se.backend.site.SUBJECT_DELETE_SITE =
|
proto.bet.beteran.c2se.backend.site.SUBJECT_DELETE_SITE =
|
||||||
"bet.beteran.c2se.backend.site.DeleteSite";
|
"bet.beteran.c2se.backend.site.DeleteSite";
|
||||||
|
|
||||||
|
@ -483,6 +480,12 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||||
protobuf_pagination_sort_pb.Sort.toObject,
|
protobuf_pagination_sort_pb.Sort.toObject,
|
||||||
includeInstance
|
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) {
|
if (includeInstance) {
|
||||||
|
@ -547,6 +550,30 @@ proto.bet.beteran.c2se.backend.site.ListSitesRequest.deserializeBinaryFromReader
|
||||||
);
|
);
|
||||||
msg.addSorts(value);
|
msg.addSorts(value);
|
||||||
break;
|
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:
|
default:
|
||||||
reader.skipField();
|
reader.skipField();
|
||||||
break;
|
break;
|
||||||
|
@ -603,6 +630,30 @@ proto.bet.beteran.c2se.backend.site.ListSitesRequest.serializeBinaryToWriter =
|
||||||
protobuf_pagination_sort_pb.Sort.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([]);
|
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) {
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||||
/**
|
/**
|
||||||
* Creates an object representation of this proto.
|
* Creates an object representation of this proto.
|
||||||
|
|
|
@ -7,10 +7,10 @@ export class MemberClass extends jspb.Message {
|
||||||
getId(): string;
|
getId(): string;
|
||||||
setId(value: string): void;
|
setId(value: string): void;
|
||||||
|
|
||||||
hasParent(): boolean;
|
hasParentId(): boolean;
|
||||||
clearParent(): void;
|
clearParentId(): void;
|
||||||
getParent(): MemberClass | undefined;
|
getParentId(): string;
|
||||||
setParent(value?: MemberClass): void;
|
setParentId(value: string): void;
|
||||||
|
|
||||||
getName(): string;
|
getName(): string;
|
||||||
setName(value: string): void;
|
setName(value: string): void;
|
||||||
|
@ -50,7 +50,7 @@ export class MemberClass extends jspb.Message {
|
||||||
export namespace MemberClass {
|
export namespace MemberClass {
|
||||||
export type AsObject = {
|
export type AsObject = {
|
||||||
id: string;
|
id: string;
|
||||||
parent?: MemberClass.AsObject;
|
parentId: string;
|
||||||
name: string;
|
name: string;
|
||||||
createdAt: number;
|
createdAt: number;
|
||||||
updatedAt: number;
|
updatedAt: number;
|
||||||
|
|
|
@ -79,9 +79,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||||
var f,
|
var f,
|
||||||
obj = {
|
obj = {
|
||||||
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||||
parent:
|
parentId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
||||||
(f = msg.getParent()) &&
|
|
||||||
proto.bet.beteran.member.MemberClass.toObject(includeInstance, f),
|
|
||||||
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
||||||
createdAt: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
createdAt: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
||||||
updatedAt: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
updatedAt: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
||||||
|
@ -131,12 +129,8 @@ proto.bet.beteran.member.MemberClass.deserializeBinaryFromReader = function (
|
||||||
msg.setId(value);
|
msg.setId(value);
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
var value = new proto.bet.beteran.member.MemberClass();
|
var value = /** @type {string} */ (reader.readString());
|
||||||
reader.readMessage(
|
msg.setParentId(value);
|
||||||
value,
|
|
||||||
proto.bet.beteran.member.MemberClass.deserializeBinaryFromReader
|
|
||||||
);
|
|
||||||
msg.setParent(value);
|
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
var value = /** @type {string} */ (reader.readString());
|
var value = /** @type {string} */ (reader.readString());
|
||||||
|
@ -188,13 +182,9 @@ proto.bet.beteran.member.MemberClass.serializeBinaryToWriter = function (
|
||||||
if (f.length > 0) {
|
if (f.length > 0) {
|
||||||
writer.writeString(1, f);
|
writer.writeString(1, f);
|
||||||
}
|
}
|
||||||
f = message.getParent();
|
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
||||||
if (f != null) {
|
if (f != null) {
|
||||||
writer.writeMessage(
|
writer.writeString(2, f);
|
||||||
2,
|
|
||||||
f,
|
|
||||||
proto.bet.beteran.member.MemberClass.serializeBinaryToWriter
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
f = message.getName();
|
f = message.getName();
|
||||||
if (f.length > 0) {
|
if (f.length > 0) {
|
||||||
|
@ -231,36 +221,34 @@ proto.bet.beteran.member.MemberClass.prototype.setId = function (value) {
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* optional MemberClass parent = 2;
|
* optional string parent_id = 2;
|
||||||
* @return {?proto.bet.beteran.member.MemberClass}
|
* @return {string}
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.member.MemberClass.prototype.getParent = function () {
|
proto.bet.beteran.member.MemberClass.prototype.getParentId = function () {
|
||||||
return /** @type{?proto.bet.beteran.member.MemberClass} */ (
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
||||||
jspb.Message.getWrapperField(this, proto.bet.beteran.member.MemberClass, 2)
|
|
||||||
);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {?proto.bet.beteran.member.MemberClass|undefined} value
|
* @param {string} value
|
||||||
* @return {!proto.bet.beteran.member.MemberClass} returns this
|
* @return {!proto.bet.beteran.member.MemberClass} returns this
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.member.MemberClass.prototype.setParent = function (value) {
|
proto.bet.beteran.member.MemberClass.prototype.setParentId = function (value) {
|
||||||
return jspb.Message.setWrapperField(this, 2, 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
|
* @return {!proto.bet.beteran.member.MemberClass} returns this
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.member.MemberClass.prototype.clearParent = function () {
|
proto.bet.beteran.member.MemberClass.prototype.clearParentId = function () {
|
||||||
return this.setParent(undefined);
|
return jspb.Message.setField(this, 2, undefined);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns whether this field is set.
|
* Returns whether this field is set.
|
||||||
* @return {boolean}
|
* @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;
|
return jspb.Message.getField(this, 2) != null;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -10,8 +10,8 @@ export class MemberLevel extends jspb.Message {
|
||||||
getName(): string;
|
getName(): string;
|
||||||
setName(value: string): void;
|
setName(value: string): void;
|
||||||
|
|
||||||
getOrder(): number;
|
getSortOrder(): number;
|
||||||
setOrder(value: number): void;
|
setSortOrder(value: number): void;
|
||||||
|
|
||||||
getCreatedAt(): number;
|
getCreatedAt(): number;
|
||||||
setCreatedAt(value: number): void;
|
setCreatedAt(value: number): void;
|
||||||
|
@ -49,7 +49,7 @@ export namespace MemberLevel {
|
||||||
export type AsObject = {
|
export type AsObject = {
|
||||||
id: string;
|
id: string;
|
||||||
name: string;
|
name: string;
|
||||||
order: number;
|
sortOrder: number;
|
||||||
createdAt: number;
|
createdAt: number;
|
||||||
updatedAt: number;
|
updatedAt: number;
|
||||||
deletedAt: number;
|
deletedAt: number;
|
||||||
|
|
|
@ -80,7 +80,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||||
obj = {
|
obj = {
|
||||||
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||||
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
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),
|
createdAt: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
||||||
updatedAt: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
updatedAt: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
||||||
deletedAt: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
deletedAt: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
||||||
|
@ -134,7 +134,7 @@ proto.bet.beteran.member.MemberLevel.deserializeBinaryFromReader = function (
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
var value = /** @type {number} */ (reader.readUint32());
|
var value = /** @type {number} */ (reader.readUint32());
|
||||||
msg.setOrder(value);
|
msg.setSortOrder(value);
|
||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
var value = /** @type {number} */ (reader.readUint64());
|
var value = /** @type {number} */ (reader.readUint64());
|
||||||
|
@ -186,7 +186,7 @@ proto.bet.beteran.member.MemberLevel.serializeBinaryToWriter = function (
|
||||||
if (f.length > 0) {
|
if (f.length > 0) {
|
||||||
writer.writeString(2, f);
|
writer.writeString(2, f);
|
||||||
}
|
}
|
||||||
f = message.getOrder();
|
f = message.getSortOrder();
|
||||||
if (f !== 0) {
|
if (f !== 0) {
|
||||||
writer.writeUint32(3, f);
|
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}
|
* @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));
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -248,7 +248,7 @@ proto.bet.beteran.member.MemberLevel.prototype.getOrder = function () {
|
||||||
* @param {number} value
|
* @param {number} value
|
||||||
* @return {!proto.bet.beteran.member.MemberLevel} returns this
|
* @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);
|
return jspb.Message.setProto3IntField(this, 3, value);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -10,25 +10,19 @@ export class Member extends jspb.Message {
|
||||||
getId(): string;
|
getId(): string;
|
||||||
setId(value: string): void;
|
setId(value: string): void;
|
||||||
|
|
||||||
hasSite(): boolean;
|
getSiteId(): string;
|
||||||
clearSite(): void;
|
setSiteId(value: string): void;
|
||||||
getSite(): models_domain_site_pb.Site | undefined;
|
|
||||||
setSite(value?: models_domain_site_pb.Site): void;
|
|
||||||
|
|
||||||
hasMemberClass(): boolean;
|
getMemberClassId(): string;
|
||||||
clearMemberClass(): void;
|
setMemberClassId(value: string): void;
|
||||||
getMemberClass(): models_member_member_class_pb.MemberClass | undefined;
|
|
||||||
setMemberClass(value?: models_member_member_class_pb.MemberClass): void;
|
|
||||||
|
|
||||||
hasMemberLevel(): boolean;
|
getMemberLevelId(): string;
|
||||||
clearMemberLevel(): void;
|
setMemberLevelId(value: string): void;
|
||||||
getMemberLevel(): models_member_member_level_pb.MemberLevel | undefined;
|
|
||||||
setMemberLevel(value?: models_member_member_level_pb.MemberLevel): void;
|
|
||||||
|
|
||||||
hasReferrer(): boolean;
|
hasReferrerMemberId(): boolean;
|
||||||
clearReferrer(): void;
|
clearReferrerMemberId(): void;
|
||||||
getReferrer(): Member | undefined;
|
getReferrerMemberId(): string;
|
||||||
setReferrer(value?: Member): void;
|
setReferrerMemberId(value: string): void;
|
||||||
|
|
||||||
getReferredCount(): number;
|
getReferredCount(): number;
|
||||||
setReferredCount(value: number): void;
|
setReferredCount(value: number): void;
|
||||||
|
@ -92,12 +86,121 @@ export class Member extends jspb.Message {
|
||||||
}
|
}
|
||||||
|
|
||||||
export namespace Member {
|
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 = {
|
export type AsObject = {
|
||||||
id: string;
|
id: string;
|
||||||
site?: models_domain_site_pb.Site.AsObject;
|
site?: models_domain_site_pb.Site.AsObject;
|
||||||
memberClass?: models_member_member_class_pb.MemberClass.AsObject;
|
memberClass?: models_member_member_class_pb.MemberClass.AsObject;
|
||||||
memberLevel?: models_member_member_level_pb.MemberLevel.AsObject;
|
memberLevel?: models_member_member_level_pb.MemberLevel.AsObject;
|
||||||
referrer?: Member.AsObject;
|
referrerMember?: Member.AsObject;
|
||||||
referredCount: number;
|
referredCount: number;
|
||||||
username: string;
|
username: string;
|
||||||
nickname: string;
|
nickname: string;
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user