From 90a5e15bb824b84e5bb60337d6a57a1394090dc6 Mon Sep 17 00:00:00 2001 From: Terry Truong Date: Wed, 4 May 2022 01:17:06 +1000 Subject: Add scripts for obtaining/sending/displaying wikipedia descriptions Add backend/data/enwiki/ directory containing scripts and instructive READMEs. Adjust some other scripts to generate 'eol_ids' sqlite table separate from 'names'. Make server respond to /data/desc requests, and have client TileInfo component display response data. Also adjust .gitignore entries to be root-relative. --- 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 46dccd7..77c401e 100644 --- a/src/tol.ts +++ b/src/tol.ts @@ -17,11 +17,13 @@ export class TolNode { license: string, copyrightOwner: string }; + desc: null | [string, boolean]; 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; } } -- cgit v1.2.3