mirror of
https://git.meshkee.com/Meshkee/backend.git
synced 2026-08-11 22:30:59 +04:30
NestJS backend with Prisma, Docker Compose for Postgres/Redis, and deploy docs for the production VM.
9 lines
222 B
TypeScript
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;
|
|
}
|