refactor: massive codebase stabilization, strict TS, UI/UX overhaul, and central logging

This commit is contained in:
iqubik
2026-03-28 18:33:13 +03:00
parent 388417cec9
commit 8f8a3bf724
69 changed files with 4272 additions and 1693 deletions
@@ -1,4 +1,11 @@
import { IsString, IsArray, ValidateNested, IsOptional, Min, Max, ArrayMinSize, ArrayMaxSize } from 'class-validator';
import {
IsString,
IsArray,
ValidateNested,
IsOptional,
ArrayMinSize,
ArrayMaxSize,
} from 'class-validator';
import { Type } from 'class-transformer';
export class InboundConfigDto {
@@ -6,11 +13,11 @@ export class InboundConfigDto {
type: string;
@IsOptional()
port?: number | 'random';
port?: number | string;
@IsString()
@IsOptional()
sni?: string | 'random';
sni?: string;
@IsString()
@IsOptional()
@@ -28,4 +35,4 @@ export class CreateSubscriptionDto {
@ArrayMaxSize(20)
@IsOptional()
inboundsConfig?: InboundConfigDto[];
}
}