Enhance VpnConfigDto to include ClientEmail and update related components
CI / Backend (build + test) (push) Successful in 1m17s
CI / Frontend (lint + typecheck + build) (push) Successful in 32s

- Added ClientEmail property to VpnConfigDto for better client identification.
- Updated ConfigCard to display the ClientEmail in the UI for improved user information.
- Modified API schema and types to accommodate the new ClientEmail field.
- Enhanced localization for displaying the ClientEmail in both Russian and English.
This commit is contained in:
Leonid Pershin
2026-07-13 15:59:09 +03:00
parent 24d9ea1099
commit 7fce5ef181
5 changed files with 12 additions and 3 deletions
+1
View File
@@ -2071,6 +2071,7 @@ export interface components {
/** Format: uuid */
id: string;
label: null | string;
clientEmail: string;
protocol: components["schemas"]["VpnProtocol"];
location: string;
/** Format: int64 */
+1
View File
@@ -49,6 +49,7 @@ export type ActivationStatusDto = {
export type VpnConfigDto = {
id: string
label: string | null
clientEmail: string
protocol: VpnProtocol
location: string
usedUpBytes: number
+2
View File
@@ -87,6 +87,7 @@ const resources = {
copyLink: 'Скопировать ссылку',
loadingLink: 'Загрузка ссылки…',
subscriptionLink: 'Ссылка-подписка (для клиента):',
panelEmail: 'Email в панели: {{email}}',
aggregatedSubscription: 'Общая подписка',
aggregatedSubscriptionHint: 'Одна ссылка/QR со всеми активными конфигами — удобно добавить один раз в клиент.',
status: {
@@ -379,6 +380,7 @@ const resources = {
copyLink: 'Copy link',
loadingLink: 'Loading link…',
subscriptionLink: 'Subscription link (for the client app):',
panelEmail: 'Panel email: {{email}}',
aggregatedSubscription: 'Aggregated subscription',
aggregatedSubscriptionHint: 'One link/QR with all active configs — add it once to your client.',
status: {