UNPKG

digital-covid-certificate-lib

Version:

A library to parse and verify Digital Covid Certificates (DCC)

16 lines (15 loc) 429 B
export declare type ValueSetDocument = { valueSetId: string; valueSetDate: string; valueSetValues: { [key: string]: ValueSetValue; }; }; export declare type ValueSetValue = { "display": string; "lang": string; "active": boolean; "version": string; "system": string; }; export declare const getValueSetValue: (valueSet: ValueSetDocument) => (code: string, lang: 'en') => ValueSetValue;