Skip to content
Snippets Groups Projects
Commit 59b21fcd authored by Pavel Antonov's avatar Pavel Antonov :asterisk:
Browse files

feat(core): Добавлен в Spaces поле-объект StateInfo

Close #PRXS-1835
parents 78539871 9d74c418
Loading
...@@ -5,18 +5,20 @@ option go_package = "git.perx.ru/perxis/perxis-go/proto/spaces;spaces"; ...@@ -5,18 +5,20 @@ 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;
// Deprecated
State state = 5; State state = 5;
string transfer_to_org = 6; // идентификатор организации, в которую запрошен перенос пространства string transfer_to_org = 6; // идентификатор организации, в которую запрошен перенос пространства
Config config = 10; Config config = 10;
StateInfo state_info = 11;
} }
enum State { enum State {
...@@ -30,7 +32,15 @@ enum State { ...@@ -30,7 +32,15 @@ enum State {
ERROR = 7; ERROR = 7;
} }
message StateInfo {
State state = 1;
string info = 2;
int32 db_version = 3;
google.protobuf.Timestamp time = 4;
}
message Config { message Config {
// Deprecated
repeated string features = 1; repeated string features = 1;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment