Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
perxis-proto
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
perxis
perxis-proto
Compare revisions
e86c1f4304bde0094f870346f4ba3bf4a7e8858f to 227671cf954bc57e4d34e6a08dfbf7383ce91b72
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
perxis/perxis-proto
Select target project
No results found
227671cf954bc57e4d34e6a08dfbf7383ce91b72
Select Git revision
Loading items
Swap
Target
perxis/perxis-proto
Select target project
perxis/perxis-proto
1 result
e86c1f4304bde0094f870346f4ba3bf4a7e8858f
Select Git revision
Loading items
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (3)
feat: Добавлен метод GetArchived для получения элемента из Архива
· e99a636d
Anton Sattarov
authored
7 months ago
and
Pavel Antonov
committed
7 months ago
e99a636d
Merge branch 'feature/2911-GetArchive' into 'master'
· 0a04737a
Pavel Antonov
authored
7 months ago
Добавлен метод GetArchived для получения элемента из Архива See merge request
!77
0a04737a
Переименованы поля ('From' и 'To') в сервисе "Лог"
· 227671cf
ko_oler
authored
7 months ago
227671cf
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
proto/items/items.proto
+18
-0
18 additions, 0 deletions
proto/items/items.proto
proto/logs/log_service.proto
+2
-2
2 additions, 2 deletions
proto/logs/log_service.proto
with
20 additions
and
2 deletions
proto/items/items.proto
View file @
227671cf
...
...
@@ -218,6 +218,12 @@ message GetRevisionOptions {
repeated
string
translations_ids
=
8
;
// Список идентификаторов переводов/локалей, которых должны быть включены в результат
}
message
GetArchivedOptions
{
string
locale_id
=
7
;
// Язык перевода который будет использоваться. Если не указан, то возвращаются данные для языка по умолчанию
repeated
string
translations_ids
=
8
;
// Список идентификаторов переводов/локалей, которых должны быть включены в результат
}
// Fields - поля которые должны быть возвращены или вычислены в результате.
// Ключ (string) - имя поля под которым будет добавляться результат.
// Значение (string) - является выражением, вычисление которого сформирует результат
...
...
@@ -418,6 +424,17 @@ message FindArchivedResponse{
int32
total
=
2
;
}
message
GetArchivedRequest
{
string
space_id
=
1
;
string
env_id
=
2
;
string
collection_id
=
3
;
string
item_id
=
4
;
GetArchivedOptions
options
=
10
;
}
message
GetArchivedResponse
{
Item
item
=
1
;
}
/**
* Сервис API элементов
*/
...
...
@@ -468,4 +485,5 @@ service Items {
rpc
Archive
(
ArchiveRequest
)
returns
(
google.protobuf.Empty
)
{}
rpc
FindArchived
(
FindArchivedRequest
)
returns
(
FindArchivedResponse
)
{}
rpc
Unarchive
(
UnarchiveRequest
)
returns
(
google.protobuf.Empty
)
{}
rpc
GetArchived
(
GetArchivedRequest
)
returns
(
GetArchivedResponse
)
{}
}
This diff is collapsed.
Click to expand it.
proto/logs/log_service.proto
View file @
227671cf
...
...
@@ -61,10 +61,10 @@ message FindOptions {
int32
limit
=
4
;
// Ограничение результатов по времени начиная с этим временем (pagination)
google.protobuf.Timestamp
from
=
5
;
google.protobuf.Timestamp
after
=
5
;
// Ограничение результатов по времени заканчивая этим временем (pagination)
google.protobuf.Timestamp
to
=
6
;
google.protobuf.Timestamp
before
=
6
;
}
...
...
This diff is collapsed.
Click to expand it.