Skip to content
Snippets Groups Projects
  • Konstantin Tsabolov's avatar
    7f3815fd
    chore: update dependencies, fix style · 7f3815fd
    Konstantin Tsabolov authored
    * Upgraded the dependencies to the latest versions
    * Switched output to ESM format
    * Switched NestJS and Jest to SWC to improve speed of building and testing
    * Refactored TSConfig to remove tsconfig-paths
    * Updated imports in all files to reflect the change in TSConfig
    * Changed the linting rules (removed AirBnB config)
    * Fixed Prettier installation (added ignore file)
    * Fixed typing errors (mainly usage of any's)
    * Fixed the non-working E2E test
    
    P.S. None of the mentioned makes sense alone, therefore a huge commit :man_shrugging:
    chore: update dependencies, fix style
    Konstantin Tsabolov authored
    * Upgraded the dependencies to the latest versions
    * Switched output to ESM format
    * Switched NestJS and Jest to SWC to improve speed of building and testing
    * Refactored TSConfig to remove tsconfig-paths
    * Updated imports in all files to reflect the change in TSConfig
    * Changed the linting rules (removed AirBnB config)
    * Fixed Prettier installation (added ignore file)
    * Fixed typing errors (mainly usage of any's)
    * Fixed the non-working E2E test
    
    P.S. None of the mentioned makes sense alone, therefore a huge commit :man_shrugging:
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
send-proof-request.dto.ts 872 B
import { ApiProperty } from '@nestjs/swagger';
import { IsString } from 'class-validator';
import GetProofRequest from './get-proof-request.dto.js';

export default class SendProofRequest {
  @ApiProperty({ example: 'comments' })
  comment?: string;

  @ApiProperty({ example: '3fa85f64-5717-4562-b3fc-2c963f66afa6' })
  connectionId?: string;

  @IsString()
  proofRecordId?: string;

  @IsString()
  status?: string;

  @IsString()
  theirDID?: string;

  @IsString()
  presentationMessage?: string;

  @IsString()
  invitation?: GetProofRequest;

  @ApiProperty({
    example: [
      {
        attributeName: 'attributeName',
        schemaId: 'schemaId',
        credentialDefId: 'credentialDefId',
      },
    ],
  })
  attributes: {
    attributeName: string;
    schemaId?: string;
    credentialDefId?: string;
    value: string;
    condition: string;
  }[];
}