UNPKG

@metabohub/forum-library

Version:

<!-- Put your badges here: --> [![pipeline status](https://forge.inrae.fr/metabohub/forvm/mth-forvm-lib/badges/dev/pipeline.svg)](https://forge.inrae.fr/metabohub/forvm/mth-forvm-lib/-/commits/dev) [![coverage report](https://forge.inrae.fr/metabohub/forv

31 lines (30 loc) 692 B
/** * Types of query available */ export declare enum SearchEntityType { comp_to_mesh = "comp_to_mesh", mesh_to_comp = "mesh_to_comp" } /** * Differents Input/Output available */ export declare enum SelectorType { mesh_id = "mesh_id", chebi_id = "chebi_id", chemont_id = "chemont_id", pubchem_id = "pubchem_id", pubchem_fuzzy_id = "pubchem_fuzzy_id" } /** * Describes the query to the Rest API */ export declare class EndpointSearchQuery { searchEntityType: SearchEntityType; searchSelectorType: SelectorType; searchEntityQuery: string; constructor(); /** * Function to verify if the query is empty */ isEmpty(): boolean; }