Files
api/src/program-settings/dto/import-program-settings.dto.ts
T
mohmdsdgandCursor f2cf8c9035 feat(tenants): store Khanegi deploy settings snapshot on tenants.setting
Import can_edit=0 settings via the sold version's admin login + get_settings, for Super Admin program-settings UI.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 15:02:22 +03:30

14 lines
245 B
TypeScript

import { IsString, MaxLength, MinLength } from 'class-validator';
export class ImportProgramSettingsDto {
@IsString()
@MinLength(3)
@MaxLength(32)
mobile!: string;
@IsString()
@MinLength(1)
@MaxLength(120)
password!: string;
}