From 34ddfeac41450ec39ab31cbe550db60946dc8d55 Mon Sep 17 00:00:00 2001
From: ko_oler <kooler89@gmail.com>
Date: Wed, 13 Dec 2023 15:53:55 +0300
Subject: [PATCH] =?UTF-8?q?=20=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?=
 =?UTF-8?q?=D0=BD=20=D0=B2=20Spaces=20=D0=BF=D0=BE=D0=BB=D0=B5-=D0=BE?=
 =?UTF-8?q?=D0=B1=D1=8A=D0=B5=D0=BA=D1=82=20StateInfo?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 proto/spaces/spaces.proto | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/proto/spaces/spaces.proto b/proto/spaces/spaces.proto
index 5a216fb..9dc6426 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;
 }
-- 
GitLab