Make Arvan DNS updates opt-in and persist English user names.

Domain add/edit only upserts Arvan records when updateDns is true, and super-admin user PATCH now accepts firstNameEn and lastNameEn.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alireza Hassani
2026-08-20 11:50:57 +03:30
co-authored by Cursor
parent f61bba317e
commit 8609d8d4fd
8 changed files with 89 additions and 7 deletions
+6 -1
View File
@@ -1,4 +1,4 @@
import { IsOptional, IsString, Matches, MinLength } from 'class-validator';
import { IsBoolean, IsOptional, IsString, Matches, MinLength } from 'class-validator';
import { GIT_REPO_URL_RE } from '../../website-deploy/website-deploy.util';
export class UpdateDomainDto {
@@ -6,6 +6,11 @@ export class UpdateDomainDto {
@MinLength(1)
host!: string;
/** When true, upsert Meshkee tenant records in Arvan DNS. */
@IsOptional()
@IsBoolean()
updateDns?: boolean;
/** HTTPS or SSH git URL — when set, provisions storefront deploy on the websites VM. */
@IsOptional()
@IsString()