File size: 455 Bytes
3a0ae3e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// 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';