diff --git a/proto/spaces/spaces.proto b/proto/spaces/spaces.proto index 5a216fb31f8d012cd123676a378e4ce730f5f332..91d7716a35ab79337edd351126a94e5fbf343395 100644 --- a/proto/spaces/spaces.proto +++ b/proto/spaces/spaces.proto @@ -5,18 +5,20 @@ 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; + // Deprecated State state = 5; - string transfer_to_org = 6; // идентификатор организации, в которую запрошен перенос пространства Config config = 10; + StateInfo state_info = 11; } enum State { @@ -30,7 +32,15 @@ enum State { ERROR = 7; } +message StateInfo { + State state = 1; + string info = 2; + int32 db_version = 3; + google.protobuf.Timestamp time = 4; +} + message Config { + // Deprecated repeated string features = 1; }