Spaces:
Sleeping
Sleeping
yassinekolsi
Fix all TypeScript errors: remove unused imports, delete orphan reactflow components
532554f Download ui/types/visualization.ts from vignt97867896/bioflow: direct link, hf CLI and curl.
- Browser
- Download file 491 Bytes
-
https://huggingface.co/spaces/vignt97867896/bioflow/resolve/main/ui/types/visualization.ts
- Command line
-
hf download hf://spaces/vignt97867896/bioflow/ui/types/visualization.ts
-
curl -L -o visualization.ts https://huggingface.co/spaces/vignt97867896/bioflow/resolve/main/ui/types/visualization.ts
491 Bytes
| // Molecule types | |
| export type Molecule = { | |
| id: string; | |
| name: string; | |
| smiles: string; | |
| pubchemCid: number; | |
| description?: string; | |
| }; | |
| // Protein types | |
| export type Protein = { | |
| id: string; | |
| pdbId: string; | |
| name: string; | |
| description?: string; | |
| }; | |
| // Viewer representation types | |
| export type MoleculeRepresentation = 'stick' | 'sphere' | 'line' | 'cartoon'; | |
| export type ProteinRepresentation = | |
| | 'cartoon' | |
| | 'ball-and-stick' | |
| | 'surface' | |
| | 'ribbon'; | |