aboutsummaryrefslogtreecommitdiff
path: root/src/tol.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/tol.ts')
-rw-r--r--src/tol.ts12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/tol.ts b/src/tol.ts
index 77c401e..073f848 100644
--- a/src/tol.ts
+++ b/src/tol.ts
@@ -10,20 +10,12 @@ export class TolNode {
parent: string | null;
tips: number;
pSupport: boolean;
- img: null | {
- filename: string,
- eolId: string,
- sourceUrl: string,
- license: string,
- copyrightOwner: string
- };
- desc: null | [string, boolean];
+ imgName: null | string;
constructor(children: string[] = [], parent = null, tips = 0, pSupport = false){
this.children = children;
this.parent = parent;
this.tips = tips;
this.pSupport = pSupport;
- this.img = null;
- this.desc = null;
+ this.imgName = null;
}
}