Skip to content
Snippets Groups Projects
Commit 34ddfeac authored by ko_oler's avatar ko_oler
Browse files

Добавлен в Spaces поле-объект StateInfo

parent 78539871
No related branches found
No related tags found
1 merge request!27Добавлен в Spaces поле-объект StateInfo
This commit is part of merge request !27. Comments created here will be created in the context of that merge request.
...@@ -5,14 +5,14 @@ option go_package = "git.perx.ru/perxis/perxis-go/proto/spaces;spaces"; ...@@ -5,14 +5,14 @@ option go_package = "git.perx.ru/perxis/perxis-go/proto/spaces;spaces";
package content.spaces; package content.spaces;
import "google/protobuf/empty.proto"; import "google/protobuf/empty.proto";
import "google/protobuf/timestamp.proto";
message Space { message Space {
string id = 1; string id = 1;
string org_id = 2; string org_id = 2;
string name = 3; string name = 3;
string description = 4; string description = 4;
State state = 5; StateInfo state_info = 5;
string transfer_to_org = 6; // идентификатор организации, в которую запрошен перенос пространства string transfer_to_org = 6; // идентификатор организации, в которую запрошен перенос пространства
...@@ -30,6 +30,13 @@ enum State { ...@@ -30,6 +30,13 @@ enum State {
ERROR = 7; ERROR = 7;
} }
message StateInfo {
State state = 1;
string info = 2;
int32 version = 3;
google.protobuf.Timestamp started_at = 4;
}
message Config { message Config {
repeated string features = 1; repeated string features = 1;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment