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
@@ -4,11 +4,9 @@ import { IsNotEmpty, IsString, ValidateIf } from "class-validator";
export class ProofReqDto {
@ValidateIf((o) => o && typeof o.proofUrl === 'undefined')
@IsString()
@IsNotEmpty()
proofRecordId: string;
@ValidateIf((o) => o && typeof o.proofRecordId === 'undefined')
@IsString()
@IsNotEmpty()
proofUrl: string;
}
\ No newline at end of file
Loading