nuclei-js-common/api/nmrdb#
fetchAvailableDatabases#
Returns#
Promise<DatabasesListResponse | null>
fetchCompoundDetails#
Parameters#
| Parameter | Type |
|---|---|
compoundId |
string |
database_id |
string |
Returns#
Promise<CompoundDetail | null>
fetchSpectrum#
Parameters#
| Parameter | Type |
|---|---|
compoundId |
string |
spectrumType |
string |
database_id |
string |
Returns#
Promise<SpectrumResponse | null>
searchCompounds#
Parameters#
| Parameter | Type |
|---|---|
query |
string |
offset |
number |
limit |
number |
filters |
{ has13CNMR?: boolean; has1HNMR?: boolean; hasMolecularFormula?: boolean; hasSMILES?: boolean; } |
filters.has13CNMR? |
boolean |
filters.has1HNMR? |
boolean |
filters.hasMolecularFormula? |
boolean |
filters.hasSMILES? |
boolean |
database_id |
string |
Returns#
Promise<SearchResponse>