@metabohub/forum-library
Version:
<!-- Put your badges here: --> [](https://forge.inrae.fr/metabohub/forvm/mth-forvm-lib/-/commits/dev) [ • 692 B
TypeScript
/**
* 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;
}