diff --git a/proto/spaces/spaces.proto b/proto/spaces/spaces.proto index 5a216fb31f8d012cd123676a378e4ce730f5f332..9dc642663f61b6d00a6615397309f64f14466ac4 100644 --- a/proto/spaces/spaces.proto +++ b/proto/spaces/spaces.proto @@ -5,14 +5,14 @@ option go_package = "git.perx.ru/perxis/perxis-go/proto/spaces;spaces"; package content.spaces; import "google/protobuf/empty.proto"; +import "google/protobuf/timestamp.proto"; message Space { string id = 1; string org_id = 2; string name = 3; string description = 4; - State state = 5; - + StateInfo state_info = 5; string transfer_to_org = 6; // идентификатор организации, в которую запрошен перенос пространства @@ -30,6 +30,13 @@ enum State { ERROR = 7; } +message StateInfo { + State state = 1; + string info = 2; + int32 version = 3; + google.protobuf.Timestamp started_at = 4; +} + message Config { repeated string features = 1; }