Skip to content
Snippets Groups Projects
Commit 8f1bb301 authored by Pavel Antonov's avatar Pavel Antonov :asterisk:
Browse files

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
......@@ -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;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment