- move NestJS app into server/ subdirectory - add client/ React+TypeScript (Vite) app with Hello World - update docker-compose to build and run both services - add root package.json declaring npm workspaces - update .gitignore to cover node_modules and dist at all depths
11 lines
283 B
TypeScript
11 lines
283 B
TypeScript
import { ApiPropertyOptional } from "@nestjs/swagger";
|
|
import { IsOptional, IsString, IsNotEmpty } from "class-validator";
|
|
|
|
export class UpdateScenarioDto {
|
|
@ApiPropertyOptional({ example: "Updated scenario name" })
|
|
@IsOptional()
|
|
@IsString()
|
|
@IsNotEmpty()
|
|
name?: string;
|
|
}
|