@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
23 lines • 778 B
text/typescript
//#region src/modules/vc/models/credential/W3cV2LocalizedValue.d.ts
interface W3cV2LocalizedValueOptions {
value: string;
language?: string | null;
direction?: 'ltr' | 'rtl' | null;
[property: string]: unknown;
}
/**
* Represents a localized string.
*
* @see https://www.w3.org/TR/vc-data-model-2.0/#internationalization-considerations
*/
declare class W3cV2LocalizedValue {
constructor(options: W3cV2LocalizedValueOptions);
value: string;
language?: string | null;
direction?: 'ltr' | 'rtl' | null;
[property: string]: unknown;
}
declare function W3cV2LocalizedValueTransformer(): PropertyDecorator;
//#endregion
export { W3cV2LocalizedValue, W3cV2LocalizedValueOptions, W3cV2LocalizedValueTransformer };
//# sourceMappingURL=W3cV2LocalizedValue.d.mts.map