Initial commit: Meshkee CMS API

NestJS backend with Prisma, Docker Compose for Postgres/Redis, and deploy docs for the production VM.
This commit is contained in:
Ali Reza
2026-07-21 17:52:36 +03:30
commit bb59d5e9ba
254 changed files with 37031 additions and 0 deletions
@@ -0,0 +1,6 @@
import { IsBoolean } from 'class-validator';
export class DisableDomainDto {
@IsBoolean()
isActive!: boolean;
}
+21
View File
@@ -0,0 +1,21 @@
import { Type } from 'class-transformer';
import { IsInt, IsOptional, IsString, Max, Min } from 'class-validator';
export class ListDomainsDto {
@IsOptional()
@Type(() => Number)
@IsInt()
@Min(1)
page?: number;
@IsOptional()
@Type(() => Number)
@IsInt()
@Min(5)
@Max(50)
pageSize?: number;
@IsOptional()
@IsString()
name?: string;
}
+6
View File
@@ -0,0 +1,6 @@
import { IsBoolean } from 'class-validator';
export class ToggleSslDto {
@IsBoolean()
sslEnabled!: boolean;
}
@@ -0,0 +1,12 @@
import { IsDateString, IsOptional, IsString, MinLength } from 'class-validator';
export class UpdateDomainAdminDto {
@IsOptional()
@IsString()
@MinLength(1)
host?: string;
@IsOptional()
@IsDateString()
expiresAt?: string;
}