diff --git a/src/mol-model/structure/structure/element.ts b/src/mol-model/structure/structure/element.ts index e62dcf1333a3585005a1075391a2314152e4f21d..48e0307605f4516c66b8540c46f74fefb05340a2 100644 --- a/src/mol-model/structure/structure/element.ts +++ b/src/mol-model/structure/structure/element.ts @@ -4,7 +4,7 @@ * @author David Sehnal <david.sehnal@gmail.com> */ -import { Tuple } from 'mol-data/int' +import { Tuple, SortedArray } from 'mol-data/int' import Unit from './unit' import Structure from './structure' @@ -35,6 +35,9 @@ namespace Element { } export function property<T>(p: Property<T>) { return p; } + + /** Represents multiple element locations */ + export type Loci = ReadonlyArray<{ unit: Unit, elements: SortedArray }> } export default Element \ No newline at end of file