-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1556 from silx-kit/dtype-h5wasm
Improve dtype parsing with h5wasm
- Loading branch information
Showing
6 changed files
with
205 additions
and
160 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,5 @@ | ||
import type { | ||
CompoundTypeMetadata, | ||
EnumTypeMetadata, | ||
Group as H5WasmGroup, | ||
Metadata, | ||
} from 'h5wasm'; | ||
import type { Group as H5WasmGroup } from 'h5wasm'; | ||
|
||
export type H5WasmEntity = ReturnType<H5WasmGroup['get']>; | ||
|
||
export type H5WasmAttributes = H5WasmGroup['attrs']; | ||
|
||
export interface CompoundMetadata extends Metadata { | ||
compound_type: CompoundTypeMetadata; | ||
} | ||
|
||
export interface NumericMetadata extends Metadata { | ||
type: 0 | 1; | ||
} | ||
|
||
export interface EnumMetadata extends Metadata { | ||
enum_type: EnumTypeMetadata; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.