File

src/verifier/presentations/dto/vp-request.dto.ts

Index

Properties

Properties

body
Type : RegistrationCertificateCreation
Decorators :
@IsObject()

The body of the registration certificate request containing the necessary details.

Optional id
Type : string
Decorators :
@IsString()

Identifier of the registration certificate that got issued.

import { IsObject, IsString } from 'class-validator';
import { RegistrationCertificateCreation } from '../../../registrar/generated';

export class RegistrationCertificateRequest {
    /**
     * Identifier of the registration certificate that got issued.
     */
    @IsString()
    id?: string;
    /**
     * The body of the registration certificate request containing the necessary details.
     */
    @IsObject()
    body: RegistrationCertificateCreation;
}

results matching ""

    No results matching ""