From 6ac14c2e13e3a96440ab87c879824e225aa8a6ed Mon Sep 17 00:00:00 2001 From: Valera Shaitorov <shaitorov@perx.ru> Date: Wed, 17 May 2023 19:46:18 +0700 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D1=8B=20=D0=BA=D0=BE=D0=BC=D0=BC=D0=B5=D0=BD=D1=82=D0=B0?= =?UTF-8?q?=D1=80=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- proto/items/items.proto | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/proto/items/items.proto b/proto/items/items.proto index 580fd17..2ef5ad9 100644 --- a/proto/items/items.proto +++ b/proto/items/items.proto @@ -123,7 +123,7 @@ message Filter { } message CreateOptions { - bool update_attrs = 1; + bool update_attrs = 1; // позволяет обновить системные поля: created_by, created_at, created_rev_at, updated_by, updated_at } message FindOptions { @@ -135,7 +135,7 @@ message FindOptions { } message UpdateOptions { - bool update_attrs = 1; + bool update_attrs = 1; // позволяет обновить системные поля: created_by, created_at, created_rev_at, updated_by, updated_at } message GetPublishedOptions { @@ -143,20 +143,20 @@ message GetPublishedOptions { } message DeleteOptions { - bool update_attrs = 1; - bool erase = 2; + bool update_attrs = 1; // позволяет обновить системные поля: created_by, created_at, created_rev_at, updated_by, updated_at + bool erase = 2; // полное удаление без сохранения удаленной версии объекта } message UndeleteOptions { - bool update_attrs = 1; + bool update_attrs = 1; // позволяет обновить системные поля: created_by, created_at, created_rev_at, updated_by, updated_at } message PublishOptions { - bool update_attrs = 1; + bool update_attrs = 1; // позволяет обновить системные поля: created_by, created_at, created_rev_at, updated_by, updated_at } message UnpublishOptions { - bool update_attrs = 1; + bool update_attrs = 1; // позволяет обновить системные поля: created_by, created_at, created_rev_at, updated_by, updated_at } message FindPublishedOptions { @@ -239,7 +239,7 @@ message UpdateRequest { } message DeleteRequest { - Item item = 1; + Item item = 1; // важны только переданные внутри идентификаторы или, если указана опция update_attrs, поля которые изменяются: created_by, created_at, created_rev_at, updated_by, updated_at DeleteOptions options = 2; } -- GitLab