-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor!: update to cheminfo-types (#6)
* refactor!: update to cheminfo-types * fix: add peer-deps for eslint
- Loading branch information
1 parent
caac9dc
commit 12bf39a
Showing
8 changed files
with
103 additions
and
69 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
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
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,21 +1,13 @@ | ||
export interface DataType { | ||
data: number[]; | ||
label: string; | ||
} | ||
import type { OneLowerCase } from 'cheminfo-types'; | ||
|
||
export interface AppendedOptionsType { | ||
separator?: string; | ||
minNumericRows?: number; | ||
} | ||
|
||
export interface OutputType { | ||
meta: Record<string, string>; | ||
data: Record<string, DataType>; | ||
} | ||
|
||
export interface GeneralOptionsType { | ||
separator?: string; | ||
isTagged?: boolean; | ||
keyMap?: (keys: string[]) => string[]; | ||
keyMap?: (keys: string[]) => OneLowerCase[]; | ||
labelMap?: (keys: string[]) => string[]; | ||
} |
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