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
1 file
+ 0
2
Compare changes
  • Side-by-side
  • Inline
import { IsNotEmpty, IsString, ValidateIf } from "class-validator";
export class AcceptProofRequestDto {
export class ProofReqDto {
@IsString()
@IsNotEmpty()
@ValidateIf((o) => o.proofUrl === undefined)
Loading