Skip to content

Commit f6dbfb5

Browse files
fix: updated optional dictionary values #423 (#459)
1 parent 1604d5f commit f6dbfb5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/common/entities.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@ export type DataDictionaryPrefix = Record<string, string>;
6262
* Model of a metadata dictionary containing a set of classes and their definitions.
6363
*/
6464
export interface DataDictionary {
65-
annotations: {
65+
annotations?: {
6666
[key in keyof DataDictionaryPrefix]: string; // Prefix to title e.g. "cxg": "CELLxGENE"
6767
};
6868
classes: Class[];
69-
description: string; // Free text description of data dictionary
69+
description?: string; // Free text description of data dictionary
7070
name: string; // Programmatic name or key (e.g. tier1, hca)
71-
prefixes: DataDictionaryPrefix;
71+
prefixes?: DataDictionaryPrefix;
7272
title: string; // Display name
7373
}
7474

0 commit comments

Comments
 (0)