File size: 491 Bytes
532554f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// 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';