File

src/issuer/credentials/dto/credential-config.dto.ts

Index

Properties

Properties

Optional description
Type : string
Decorators :
@IsString()
Optional extends
Type : string
Decorators :
@IsString()
Optional extends#integrity
Type : string
Decorators :
@IsString()
Optional name
Type : string
Decorators :
@IsString()
Optional schema_uri
Type : string
Decorators :
@IsString()
Optional schema_uri#integrity
Type : string
Decorators :
@IsString()
vct
Type : string
Decorators :
@IsString()
import { IsObject, IsString } from 'class-validator';
import { WebhookConfig } from '../../../utils/webhook.dto';

export class VCT {
    @IsString()
    vct: string;
    @IsString()
    name?: string;
    @IsString()
    description?: string;
    @IsString()
    extends?: string;
    @IsString()
    'extends#integrity'?: string;
    @IsString()
    schema_uri?: string;
    @IsString()
    'schema_uri#integrity'?: string;
}

export class PresentationDuringIssuance {
    @IsString()
    type: string;
    @IsObject()
    webhook?: WebhookConfig;
}

results matching ""

    No results matching ""