fix: cache thumbnail in display set (#4782)

This commit is contained in:
Bill Wallace authored and GitHub committed 2025-02-18 18:19:09 -05:00
1 parent d26c9551b6
commit 2410c6a509
10 files changed
+47 -54

No files matched your search

+6
View File
@@ -12,6 +12,12 @@ export type DisplaySet = {
Modality?: string;
imageIds?: string[];
images?: unknown[];
// Details about how to display:
/** A URL that can be used to display the thumbnail. Typically a data url */
thumbnailSrc?: string;
/** A fetch method to get the thumbnail */
getThumbnailSrc?(imageId?: string): Promise<string>;
SeriesDate?: string;
SeriesTime?: string;
instance?: InstanceMetadata;