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