chore: auto-generate protobuf files [skip ci]
This commit is contained in:
@@ -124,6 +124,7 @@ type UserData struct {
|
|||||||
Avatar []byte `protobuf:"bytes,6,opt,name=avatar,proto3" json:"avatar,omitempty"` // Аватарка в байтах (thumbnailPhoto)
|
Avatar []byte `protobuf:"bytes,6,opt,name=avatar,proto3" json:"avatar,omitempty"` // Аватарка в байтах (thumbnailPhoto)
|
||||||
Groups []string `protobuf:"bytes,7,rep,name=groups,proto3" json:"groups,omitempty"` // Список групп
|
Groups []string `protobuf:"bytes,7,rep,name=groups,proto3" json:"groups,omitempty"` // Список групп
|
||||||
IsActive bool `protobuf:"varint,8,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` // Статус аккаунта
|
IsActive bool `protobuf:"varint,8,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` // Статус аккаунта
|
||||||
|
Phone string `protobuf:"bytes,9,opt,name=phone,proto3" json:"phone,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
@@ -214,6 +215,13 @@ func (x *UserData) GetIsActive() bool {
|
|||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (x *UserData) GetPhone() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.Phone
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
// Модель группы
|
// Модель группы
|
||||||
type GroupData struct {
|
type GroupData struct {
|
||||||
state protoimpl.MessageState `protogen:"open.v1"`
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
@@ -700,7 +708,7 @@ const file_ldap_proto_rawDesc = "" +
|
|||||||
"\fEmptyRequest\"O\n" +
|
"\fEmptyRequest\"O\n" +
|
||||||
"\x0eStatusResponse\x12\x18\n" +
|
"\x0eStatusResponse\x12\x18\n" +
|
||||||
"\asuccess\x18\x01 \x01(\bR\asuccess\x12#\n" +
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12#\n" +
|
||||||
"\rerror_message\x18\x02 \x01(\tR\ferrorMessage\"\xde\x01\n" +
|
"\rerror_message\x18\x02 \x01(\tR\ferrorMessage\"\xf4\x01\n" +
|
||||||
"\bUserData\x12\x0e\n" +
|
"\bUserData\x12\x0e\n" +
|
||||||
"\x02dn\x18\x01 \x01(\tR\x02dn\x12\x1a\n" +
|
"\x02dn\x18\x01 \x01(\tR\x02dn\x12\x1a\n" +
|
||||||
"\busername\x18\x02 \x01(\tR\busername\x12!\n" +
|
"\busername\x18\x02 \x01(\tR\busername\x12!\n" +
|
||||||
@@ -709,7 +717,8 @@ const file_ldap_proto_rawDesc = "" +
|
|||||||
"\vdescription\x18\x05 \x01(\tR\vdescription\x12\x16\n" +
|
"\vdescription\x18\x05 \x01(\tR\vdescription\x12\x16\n" +
|
||||||
"\x06avatar\x18\x06 \x01(\fR\x06avatar\x12\x16\n" +
|
"\x06avatar\x18\x06 \x01(\fR\x06avatar\x12\x16\n" +
|
||||||
"\x06groups\x18\a \x03(\tR\x06groups\x12\x1b\n" +
|
"\x06groups\x18\a \x03(\tR\x06groups\x12\x1b\n" +
|
||||||
"\tis_active\x18\b \x01(\bR\bisActive\"/\n" +
|
"\tis_active\x18\b \x01(\bR\bisActive\x12\x14\n" +
|
||||||
|
"\x05phone\x18\t \x01(\tR\x05phone\"/\n" +
|
||||||
"\tGroupData\x12\x0e\n" +
|
"\tGroupData\x12\x0e\n" +
|
||||||
"\x02dn\x18\x01 \x01(\tR\x02dn\x12\x12\n" +
|
"\x02dn\x18\x01 \x01(\tR\x02dn\x12\x12\n" +
|
||||||
"\x04name\x18\x02 \x01(\tR\x04name\"z\n" +
|
"\x04name\x18\x02 \x01(\tR\x04name\"z\n" +
|
||||||
|
|||||||
@@ -43,6 +43,7 @@ export interface UserData {
|
|||||||
groups: string[];
|
groups: string[];
|
||||||
/** Статус аккаунта */
|
/** Статус аккаунта */
|
||||||
isActive: boolean;
|
isActive: boolean;
|
||||||
|
phone: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Модель группы */
|
/** Модель группы */
|
||||||
|
|||||||
Reference in New Issue
Block a user