Files
backend/src/business-team/dto/update-team-member.dto.ts
T
Ali Reza bb59d5e9ba Initial commit: Meshkee CMS API
NestJS backend with Prisma, Docker Compose for Postgres/Redis, and deploy docs for the production VM.
2026-07-21 17:52:36 +03:30

9 lines
222 B
TypeScript

import { IsIn, IsString } from 'class-validator';
import { ASSIGNABLE_TEAM_ROLES } from '../../auth/auth.types';
export class UpdateTeamMemberDto {
@IsString()
@IsIn([...ASSIGNABLE_TEAM_ROLES])
roleSlug!: string;
}