UNPKG

all-airports

Version:

Serves as an independent data scraping module, complete with ontology and full scraping ability for the airports of the world

25 lines (24 loc) 943 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var globalStore_1 = require("../constants/globalStore"); function flushStore() { globalStore_1.store.countries = {}; globalStore_1.store.countriesInList = []; globalStore_1.store.airlinesNotFound = []; globalStore_1.store.airportsNotFound = []; globalStore_1.store.airportTable = {}; globalStore_1.store.failedAirlines = []; globalStore_1.store.failedAirports = []; globalStore_1.store.jsonLD = []; globalStore_1.store.jsonNT = ''; globalStore_1.store.airports = {}; globalStore_1.store.airlines = {}; globalStore_1.store.countries = {}; globalStore_1.store.elevations = {}; globalStore_1.store.helicopterLandingZones = {}; globalStore_1.store.locations = {}; globalStore_1.store.runways = {}; globalStore_1.store.surfaceMaterials = {}; } exports.flushStore = flushStore; ;