Skip to content

feat: support nmrium archive file format #9077

feat: support nmrium archive file format

feat: support nmrium archive file format #9077

Triggered via pull request October 3, 2025 13:26
Status Failure
Total duration 1m 55s
Artifacts

nodejs.yml

on: pull_request
nodejs  /  lint-eslint
1m 31s
nodejs / lint-eslint
nodejs  /  lint-prettier
33s
nodejs / lint-prettier
nodejs  /  lint-check-types
38s
nodejs / lint-check-types
nodejs  /  test-package
51s
nodejs / test-package
Matrix: nodejs / test
Fit to window
Zoom out
Zoom in

Annotations

26 errors and 10 warnings
knip
Process completed with exit code 1.
nodejs / lint-prettier
Process completed with exit code 1.
nodejs / lint-check-types: src/component/workspaces/workspaceDefaultProperties.ts#L7
Object literal may only specify known properties, and 'acsExportOptions' does not exist in type 'Required<WorkspacePreferences>'.
nodejs / lint-check-types: src/component/reducer/actions/LoadAction.ts#L117
Property 'sources' does not exist on type 'NmriumData | {}'.
nodejs / lint-check-types: src/component/panels/databasePanel/DatabasePanel.tsx#L555
Conversion of type '{ version: any; data: { molecules?: { molfile: string; }[] | undefined; sources: any; spectra: any[]; }; }' to type 'NmriumState' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
nodejs / lint-check-types: src/component/panels/databasePanel/DatabasePanel.tsx#L516
Type 'Partial<NmriumState>' must have a '[Symbol.iterator]()' method that returns an iterator.
nodejs / lint-check-types: src/component/panels/databasePanel/DatabasePanel.tsx#L304
Type 'Partial<NmriumState>' must have a '[Symbol.iterator]()' method that returns an iterator.
nodejs / lint-check-types: src/component/modal/LoadJCAMPModal.tsx#L70
Type 'Partial<NmriumState>' must have a '[Symbol.iterator]()' method that returns an iterator.
nodejs / lint-check-types: src/component/main/NMRiumStateProvider.tsx#L123
Type 'Partial<NmriumState>' must have a '[Symbol.iterator]()' method that returns an iterator.
nodejs / lint-check-types: src/component/loader/useLoadFiles.ts#L55
Property 'readNMRiumArchive' does not exist on type 'NMRiumCore'.
nodejs / lint-check-types: src/component/hooks/useExport.tsx#L90
Property 'serializeNmriumArchive' does not exist on type 'NMRiumCore'. Did you mean 'serializeNmriumState'?
nodejs / lint-check-types: src/component/1d/database/DatabaseSpectrum.tsx#L50
Type 'Partial<NmriumState>' must have a '[Symbol.iterator]()' method that returns an iterator.
nodejs / test-package: src/component/workspaces/workspaceDefaultProperties.ts#L7
Object literal may only specify known properties, and 'acsExportOptions' does not exist in type 'Required<WorkspacePreferences>'.
nodejs / test-package: src/component/reducer/actions/LoadAction.ts#L117
Property 'sources' does not exist on type 'NmriumData | {}'.
nodejs / test-package: src/component/panels/databasePanel/DatabasePanel.tsx#L555
Conversion of type '{ version: any; data: { molecules?: { molfile: string; }[] | undefined; sources: any; spectra: any[]; }; }' to type 'NmriumState' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
nodejs / test-package: src/component/panels/databasePanel/DatabasePanel.tsx#L516
Type 'Partial<NmriumState>' must have a '[Symbol.iterator]()' method that returns an iterator.
nodejs / test-package: src/component/panels/databasePanel/DatabasePanel.tsx#L304
Type 'Partial<NmriumState>' must have a '[Symbol.iterator]()' method that returns an iterator.
nodejs / test-package: src/component/modal/LoadJCAMPModal.tsx#L70
Type 'Partial<NmriumState>' must have a '[Symbol.iterator]()' method that returns an iterator.
nodejs / test-package: src/component/main/NMRiumStateProvider.tsx#L123
Type 'Partial<NmriumState>' must have a '[Symbol.iterator]()' method that returns an iterator.
nodejs / test-package: src/component/loader/useLoadFiles.ts#L55
Property 'readNMRiumArchive' does not exist on type 'NMRiumCore'.
nodejs / test-package: src/component/hooks/useExport.tsx#L90
Property 'serializeNmriumArchive' does not exist on type 'NMRiumCore'. Did you mean 'serializeNmriumState'?
nodejs / test-package: src/component/1d/database/DatabaseSpectrum.tsx#L50
Type 'Partial<NmriumState>' must have a '[Symbol.iterator]()' method that returns an iterator.
nodejs / lint-eslint
Process completed with exit code 1.
nodejs / lint-eslint: src/component/utility/export.ts#L13
'State' is defined but never used
nodejs / lint-eslint: src/component/utility/export.ts#L12
'ExportOptions' is defined but never used
nodejs / lint-eslint: src/component/utility/export.ts#L9
'FileCollection' is defined but never used
nodejs / lint-eslint: src/component/EventsTrackers/KeysListenerTracker.tsx#L72
Avoid passing data to parents in an effect. Instead, let the parent fetch the data itself and pass it down to the child as a prop
nodejs / lint-eslint: src/component/EventsTrackers/BrushTracker.tsx#L345
Avoid passing data to parents in an effect. Instead, let the parent fetch the data itself and pass it down to the child as a prop
nodejs / lint-eslint: src/component/EventsTrackers/BrushTracker.tsx#L340
Avoid passing data to parents in an effect. Instead, let the parent fetch the data itself and pass it down to the child as a prop
nodejs / lint-eslint: src/component/2d/ft/Contours.tsx#L87
Unexpected 'todo' comment: 'TODO: make sure preferences are not a...'
nodejs / lint-eslint: src/component/1d/multiplicityTree/generateTreeNodes.ts#L27
Unexpected 'todo' comment: 'TODO: make sure spectrumData is not a...'
nodejs / lint-eslint: src/component/1d/inset/DraggableInset.tsx#L72
Avoid storing derived state. Compute "bounding" directly during render, optionally with `useMemo` if it's expensive
nodejs / lint-eslint: src/component/1d/FloatingRanges.tsx#L179
Avoid storing derived state. Compute "bounding" directly during render, optionally with `useMemo` if it's expensive
nodejs / lint-eslint: src/component/1d/FloatPublicationString.tsx#L141
Avoid storing derived state. Compute "bounding" directly during render, optionally with `useMemo` if it's expensive
nodejs / lint-eslint: src/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.tsx#L66
Avoid storing derived state. Compute "bounding" directly during render, optionally with `useMemo` if it's expensive