feature: a minimal implementation of staff management is done.

This commit is contained in:
2026-04-30 00:52:05 +03:30
parent d19da80d8e
commit c39bd872bd
26 changed files with 1361 additions and 26 deletions

View File

@@ -0,0 +1,15 @@
import { IsArray, IsEmail, IsString, MinLength } from 'class-validator';
export class InviteStaffDto {
@IsEmail()
email: string;
@IsString()
@MinLength(1)
name: string;
/** TAB_* permission names; EDIT implies READ after normalization. */
@IsArray()
@IsString({ each: true })
permissionNames: string[];
}