UNPKG

@credo-ts/core

Version:

<p align="center"> <br /> <img alt="Credo Logo" src="https://github.com/openwallet-foundation/credo-ts/blob/c7886cb8377ceb8ee4efe8d264211e561a75072d/images/credo-logo.png" height="250px" /> </p> <h1 align="center"><b>Credo - Core</b></h1

18 lines • 692 B
import { ValidationOptions } from "class-validator"; //#region src/modules/vc/models/credential/W3cCredentialSubject.d.ts /** * @see https://www.w3.org/TR/vc-data-model/#credential-subject */ export interface W3cCredentialSubjectOptions { id?: string; claims?: Record<string, unknown>; } export declare class W3cCredentialSubject { constructor(options: W3cCredentialSubjectOptions); id?: string; claims?: Record<string, unknown>; } export declare function W3cCredentialSubjectTransformer(): PropertyDecorator; export declare function IsW3cCredentialSubject(validationOptions?: ValidationOptions): PropertyDecorator; //#endregion //# sourceMappingURL=W3cCredentialSubject.d.mts.map