From 13c81e758963dcf23a7d21df246bed99301dca95 Mon Sep 17 00:00:00 2001 From: ko_oler <kooler89@gmail.com> Date: Tue, 22 Oct 2024 17:41:01 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D1=8B=20=D1=81=D0=BF=D0=B5=D1=86=D0=B8=D1=84=D0=B8=D0=BA?= =?UTF-8?q?=D0=B0=D1=86=D0=B8=D0=B8=20=D1=81=D0=B5=D1=80=D0=B2=D0=B8=D1=81?= =?UTF-8?q?=D0=BE=D0=B2=20=D1=81=20=D1=83=D1=87=D0=B5=D1=82=D0=BE=D0=BC=20?= =?UTF-8?q?=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D1=8F=20?= =?UTF-8?q?EventMiddleware?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- proto/spaces/spaces.proto | 40 +++++++++++++++++++++++++++++++++++++++ proto/users/users.proto | 11 +++++++++++ 2 files changed, 51 insertions(+) diff --git a/proto/spaces/spaces.proto b/proto/spaces/spaces.proto index 4a3410f..c0c1e6d 100644 --- a/proto/spaces/spaces.proto +++ b/proto/spaces/spaces.proto @@ -124,6 +124,46 @@ message FindResponse { int32 total = 2; } +message EventAbortTransfer { + string id = 1; + string ord_id = 2; +} + +message EventCreate { + string id = 1; + string ord_id = 2; +} + +message EventDelete { + string id = 1; + string ord_id = 2; +} + +message EventMove { + string id = 1; + string ord_id = 2; +} + +message EventTransfer { + string id = 1; + string ord_id = 2; +} + +message EventUpdate { + string id = 1; + string ord_id = 2; +} + +message EventUpdateConfig { + string id = 1; + string ord_id = 2; +} + +message EventMigrate { + string id = 1; + string ord_id = 2; +} + service Spaces { rpc Create(CreateRequest) returns(CreateResponse) {} rpc Get(GetRequest) returns(GetResponse) {} diff --git a/proto/users/users.proto b/proto/users/users.proto index 94b7543..4a5c380 100644 --- a/proto/users/users.proto +++ b/proto/users/users.proto @@ -73,6 +73,17 @@ message GetByIdentityResponse { User user = 1; } +message EventCreate { + string id = 1; +} + +message EventUpdate { + string id = 1; +} +message EventDelete { + string id = 1; +} + service Users { // Создание пользователя или регистрация текущего пользователя в системе, если create.id == `current` rpc Create(CreateRequest) returns(CreateResponse) {} -- GitLab