@@ -67,10 +67,7 @@ export type VivBulkAnnotationCatalogPayload = {
6767 string ,
6868 dmvNamespace . metadata . MicroscopyBulkSimpleAnnotations
6969 >
70- defaultStylesByGroupUID : Record <
71- string ,
72- { opacity : number ; color : number [ ] }
73- >
70+ defaultStylesByGroupUID : Record < string , { opacity : number ; color : number [ ] } >
7471}
7572
7673/** Deferred work: fetch bulk pixel data + build deck layers when a group is toggled visible (OpenLayers parity). */
@@ -93,9 +90,10 @@ export type VivBulkGroupGeometryJob = {
9390 commonZCoordinate : number
9491}
9592
96- export type VivBulkAnnotationMetadataResult = VivBulkAnnotationCatalogPayload & {
97- groupGeometryJobs : Record < string , VivBulkGroupGeometryJob >
98- }
93+ export type VivBulkAnnotationMetadataResult =
94+ VivBulkAnnotationCatalogPayload & {
95+ groupGeometryJobs : Record < string , VivBulkGroupGeometryJob >
96+ }
9997
10098function emptyMetadataResult ( ) : VivBulkAnnotationMetadataResult {
10199 return {
@@ -179,8 +177,8 @@ export async function hydrateVivBulkGroupLayerSlice(options: {
179177
180178 let features : unknown [ ]
181179 try {
182- features =
183- resolveBulkSimpleAnnotationsApi ( ) . getFeaturesFromBulkAnnotations ( {
180+ features = resolveBulkSimpleAnnotationsApi ( ) . getFeaturesFromBulkAnnotations (
181+ {
184182 graphicType,
185183 graphicData,
186184 graphicIndex,
@@ -196,7 +194,8 @@ export async function hydrateVivBulkGroupLayerSlice(options: {
196194 view : viewMock ,
197195 featureFunction : featureFn ,
198196 isHighResolution : ( ) => false ,
199- } )
197+ } ,
198+ )
200199 } catch ( e ) {
201200 console . warn (
202201 `${ VIV_BULK } getFeaturesFromBulkAnnotations failed` ,
@@ -516,8 +515,12 @@ export async function loadBulkAnnotationMetadataAndJobs(options: {
516515 /** Present for API parity with the classic path; bulk byte fetch happens lazily per group. */
517516 fetchClient : DicomWebManager
518517} ) : Promise < VivBulkAnnotationMetadataResult > {
519- const { geometry, studyInstanceUID, imageSeriesInstanceUID, annotationClient } =
520- options
518+ const {
519+ geometry,
520+ studyInstanceUID,
521+ imageSeriesInstanceUID,
522+ annotationClient,
523+ } = options
521524
522525 const { pyramid, extent } = geometry
523526 const refImage = pyramid [ 0 ]
0 commit comments