UNPKG

cod-dicomweb-server

Version:

A wadors server proxy that get data from a Cloud Optimized Dicom format.

31 lines (30 loc) 1.25 kB
export var FetchType; (function (FetchType) { /** * Fetch only the part of the file according to the offsets provided. */ FetchType[FetchType["BYTES_OPTIMIZED"] = 0] = "BYTES_OPTIMIZED"; /** * Stream the file and returns the part of the file if offsets are provided. * Or returns the whole file. */ FetchType[FetchType["API_OPTIMIZED"] = 1] = "API_OPTIMIZED"; })(FetchType || (FetchType = {})); export var RequestType; (function (RequestType) { RequestType[RequestType["FRAME"] = 0] = "FRAME"; RequestType[RequestType["THUMBNAIL"] = 1] = "THUMBNAIL"; RequestType[RequestType["SERIES_METADATA"] = 2] = "SERIES_METADATA"; RequestType[RequestType["INSTANCE_METADATA"] = 3] = "INSTANCE_METADATA"; })(RequestType || (RequestType = {})); export var DataRetrieveMode; (function (DataRetrieveMode) { DataRetrieveMode[DataRetrieveMode["WORKER"] = 0] = "WORKER"; DataRetrieveMode[DataRetrieveMode["REQUEST"] = 1] = "REQUEST"; })(DataRetrieveMode || (DataRetrieveMode = {})); export var URLType; (function (URLType) { URLType[URLType["THUMBNAIL"] = 0] = "THUMBNAIL"; URLType[URLType["FILE"] = 1] = "FILE"; URLType[URLType["OTHERS"] = 2] = "OTHERS"; })(URLType || (URLType = {}));