Skip to content

Commit ee9c32a

Browse files
keller-markmanzt
andauthored
Update packages/zarrita/src/consolidated.ts
Co-authored-by: Trevor Manz <[email protected]>
1 parent 23e928a commit ee9c32a

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

packages/zarrita/src/consolidated.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,14 @@ function is_v3(meta: Metadata): meta is ArrayMetadata | GroupMetadata {
7070
return "zarr_format" in meta && meta.zarr_format === 3;
7171
}
7272

73-
interface WithConsolidatedOptions {
74-
metadataKey?: string;
73+
/** Options for {@linkcode withConsolidated} and {@linkcode tryWithConsolidated}. */
74+
export interface WithConsolidatedOptions {
75+
/**
76+
* Key to read consolidated metadata from.
77+
*
78+
* @default {".zmetadata"}
79+
*/
80+
readonly metadataKey?: string;
7581
}
7682

7783
/**

0 commit comments

Comments
 (0)