feat: fit DICOM previews and show searchable file metadata

This commit is contained in:
SantaSpeen committed 2026-10-22 11:07:27 +03:00
1 parent 7a1d18dfc6
commit a69fdf2e09
17 files changed
+471 -221

No files matched your search

+12
View File
@@ -1,5 +1,17 @@
declare module "daikon" {
export interface Tag {
group: number;
element: number;
vr: string;
value: unknown;
sublist: boolean;
}
export const Dictionary: {
getDescription(group: number, element: number): string;
};
export interface Image {
tags: Record<string, Tag>;
tagsFlat: Record<string, Tag>;
littleEndian: boolean;
hasPixelData(): boolean;
isCompressed(): boolean;
+2 -8
View File
@@ -1,4 +1,5 @@
interface ResourceBase {
resolution?: { width: number; height: number };
path: string;
name: string;
size: number;
@@ -40,14 +41,7 @@ type ResourceType =
| "textImmutable";
type DownloadFormat =
| "zip"
| "tar"
| "targz"
| "tarbz2"
| "tarxz"
| "tarlz4"
| "tarsz"
| null;
"zip" | "tar" | "targz" | "tarbz2" | "tarxz" | "tarlz4" | "tarsz" | null;
interface ClipItem {
from: string;