From 3b105e543a0e2e7097e3156d3daa1bdc0bd3fc2b Mon Sep 17 00:00:00 2001 From: Terry Truong Date: Sat, 4 Jun 2022 14:09:05 +1000 Subject: Add tile-info otol links --- src/tol.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/tol.ts') diff --git a/src/tol.ts b/src/tol.ts index aa9a9b1..59ecadc 100644 --- a/src/tol.ts +++ b/src/tol.ts @@ -6,6 +6,7 @@ export type TolMap = Map; // Represents a tree-of-life node export class TolNode { + otolId: string | null; children: string[]; parent: string | null; tips: number; @@ -13,6 +14,7 @@ export class TolNode { commonName: null | string; imgName: null | string | [string, string] | [null, string] | [string, null]; constructor(children: string[] = [], parent = null, tips = 0, pSupport = false){ + this.otolId = null; this.children = children; this.parent = parent; this.tips = tips; -- cgit v1.2.3