Skip to content

Commit

Permalink
fix: backend build
Browse files Browse the repository at this point in the history
Signed-off-by: Mirko Mollik <mirkomollik@gmail.com>
  • Loading branch information
cre8 committed Sep 1, 2024
1 parent f9f6d5a commit 33b096c
Showing 1 changed file with 28 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import {
CredentialConfigurationSupported,
MetadataDisplay,
} from '@sphereon/oid4vci-common';
import { IsObject, IsString } from 'class-validator';

export class CreateCredentialDto {
/**
* The id of the credential
*/
@IsString()
id: string;

/**
* JSON based credential
*/
@IsString()
value: string;

/**
* Metadata of the credential
*/
@IsObject()
metaData: CredentialConfigurationSupported;

@IsObject()
issuer: MetadataDisplay;
}

0 comments on commit 33b096c

Please sign in to comment.