generated from VLADIMIR/template
up
This commit is contained in:
+14
-4
@@ -1776,8 +1776,10 @@ func (*GetPermissionsReq) Descriptor() ([]byte, []int) {
|
||||
}
|
||||
|
||||
type GetPermissionsRsp struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Permissions []string `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"`
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Permissions []string `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"`
|
||||
// Actual server environment: prod or venue.
|
||||
Environment string `protobuf:"bytes,2,opt,name=environment,proto3" json:"environment,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
@@ -1819,6 +1821,13 @@ func (x *GetPermissionsRsp) GetPermissions() []string {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *GetPermissionsRsp) GetEnvironment() string {
|
||||
if x != nil {
|
||||
return x.Environment
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type UploadFileReq struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"`
|
||||
@@ -11839,9 +11848,10 @@ const file_main_proto_rawDesc = "" +
|
||||
"\x02ID\x18\x01 \x01(\x05R\x02ID\x12\x12\n" +
|
||||
"\x04role\x18\x02 \x01(\tR\x04role\"\x13\n" +
|
||||
"\x11DeleteUserRoleRsp\"\x13\n" +
|
||||
"\x11GetPermissionsReq\"5\n" +
|
||||
"\x11GetPermissionsReq\"W\n" +
|
||||
"\x11GetPermissionsRsp\x12 \n" +
|
||||
"\vpermissions\x18\x01 \x03(\tR\vpermissions\"?\n" +
|
||||
"\vpermissions\x18\x01 \x03(\tR\vpermissions\x12 \n" +
|
||||
"\venvironment\x18\x02 \x01(\tR\venvironment\"?\n" +
|
||||
"\rUploadFileReq\x12\x1a\n" +
|
||||
"\bfilename\x18\x01 \x01(\tR\bfilename\x12\x12\n" +
|
||||
"\x04data\x18\x02 \x01(\fR\x04data\"I\n" +
|
||||
|
||||
Reference in New Issue
Block a user