test authorization module

This commit is contained in:
Gsk54
2023-01-16 17:25:53 +01:00
parent 1e5e0f2fbd
commit 50742fc53a
4 changed files with 30 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
import { IsNotEmpty, IsString } from 'class-validator';
export class ValidateAuthorizationRequest {
@IsString()
@IsNotEmpty()
uuid: string;
@IsString()
@IsNotEmpty()
action: string;
}