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
10 files
+ 4
73
Compare changes
  • Side-by-side
  • Inline
Files
10
import { IsNotEmpty, IsString } from "class-validator";
import { BaseRecordDto } from "./base.record.dto";
export class ConnectionRecordDto extends BaseRecordDto {
@IsNotEmpty()
@IsString()
state: string;
@IsString()
connectionName?: string;
@IsString()
alias?: string;
@IsString()
did?: string;
@IsString()
invitationDid?: string;
@IsString()
outOfBandId?: string;
}
Loading