Skip to content
Snippets Groups Projects

chore: abstract dtos to encompass a wider range of use cases and fix for out of band proof requests

Closed Boyan Tsolov requested to merge core-dtos into main
All threads resolved!
Compare and Show latest version
4 files
+ 1453
1276
Compare changes
  • Side-by-side
  • Inline
Files
4
import { IsNotEmpty, IsString, Matches } from "class-validator";
import { ArrayMinSize, IsNotEmpty, IsString, Matches } from "class-validator";
export class CreateSchemaRequestDto {
//@example "my test schema"
@@ -8,6 +8,8 @@ export class CreateSchemaRequestDto {
//@example ['first_name, last_name']
@IsNotEmpty()
@ArrayMinSize(1)
@IsString({ each: true })
attributes: string[];
//@example 1.0.2
Loading