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
Commits
8f1bb301
Commit
8f1bb301
authored
8 months ago
by
Pavel Antonov
Browse files
Options
Downloads
Patches
Plain Diff
feat(extensions): Добавлены пользовательские настройки в запрос ActionRequest
Issue:
https://git.perx.ru/perxis/perxis/-/issues/2905
parent
bc39adce
No related branches found
No related tags found
1 merge request
!76
Добавлены пользовательские настройки в запрос ActionRequest
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
proto/extensions/extension.proto
+10
-0
10 additions, 0 deletions
proto/extensions/extension.proto
with
10 additions
and
0 deletions
proto/extensions/extension.proto
+
10
−
0
View file @
8f1bb301
...
...
@@ -170,4 +170,14 @@ message ActionRequest {
// Ссылка на документ с параметрами выполнения Action.
// Чтобы при выполнении действия открывалась форма параметров, необходимо указать `Action.params_collection`
content.references.Reference
params
=
11020
;
// Параметры запроса пользователя
message
UserPreferences
{
string
timezone
=
1000
;
// Timezone в формате IANA. Пример: "Europe/Moscow", "America/New_York" https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
string
locale
=
1020
;
// Текущая локаль пользователя в UI
string
theme
=
1030
;
// Текущая тема пользователя в UI
string
agent
=
1040
;
// Браузера или приложение пользователя
}
UserPreferences
user
=
11030
;
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment