@simonbackx/simple-database 1.36.3 → 1.36.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/classes/Factory.cjs +7 -7
- package/dist/src/classes/Migration.cjs +2 -9
- package/dist/src/classes/Migration.d.cts.map +1 -1
- package/dist/src/classes/Migration.d.mts.map +1 -1
- package/dist/src/classes/Migration.mjs +2 -9
- package/dist/src/classes/Migration.mjs.map +1 -1
- package/dist/src/classes/data/boys.cjs +1 -1
- package/dist/src/classes/data/boys.d.cts +4 -0
- package/dist/src/classes/data/boys.d.cts.map +1 -0
- package/dist/src/classes/data/boys.d.mts +5 -0
- package/dist/src/classes/data/boys.d.mts.map +1 -0
- package/dist/src/classes/data/family-names.cjs +1 -1
- package/dist/src/classes/data/family-names.d.cts +4 -0
- package/dist/src/classes/data/family-names.d.cts.map +1 -0
- package/dist/src/classes/data/family-names.d.mts +5 -0
- package/dist/src/classes/data/family-names.d.mts.map +1 -0
- package/dist/src/classes/data/girls.cjs +1 -1
- package/dist/src/classes/data/girls.d.cts +4 -0
- package/dist/src/classes/data/girls.d.cts.map +1 -0
- package/dist/src/classes/data/girls.d.mts +5 -0
- package/dist/src/classes/data/girls.d.mts.map +1 -0
- package/dist/src/classes/data/streets.cjs +296 -0
- package/dist/src/classes/data/streets.d.cts +4 -0
- package/dist/src/classes/data/streets.d.cts.map +1 -0
- package/dist/src/classes/data/streets.d.mts +5 -0
- package/dist/src/classes/data/streets.d.mts.map +1 -0
- package/dist/src/classes/data/streets.mjs +298 -0
- package/dist/src/classes/data/streets.mjs.map +1 -0
- package/package.json +12 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const
|
|
2
|
-
const
|
|
3
|
-
const
|
|
1
|
+
const require_src_classes_data_boys = require("./data/boys.cjs");
|
|
2
|
+
const require_src_classes_data_family_names = require("./data/family-names.cjs");
|
|
3
|
+
const require_src_classes_data_girls = require("./data/girls.cjs");
|
|
4
4
|
//#region src/classes/Factory.ts
|
|
5
5
|
var Factory = class {
|
|
6
6
|
options;
|
|
@@ -24,19 +24,19 @@ var Factory = class {
|
|
|
24
24
|
let names;
|
|
25
25
|
switch (gender) {
|
|
26
26
|
case "Male":
|
|
27
|
-
names =
|
|
27
|
+
names = require_src_classes_data_boys;
|
|
28
28
|
break;
|
|
29
29
|
case "Female":
|
|
30
|
-
names =
|
|
30
|
+
names = require_src_classes_data_girls;
|
|
31
31
|
break;
|
|
32
32
|
case "Other":
|
|
33
|
-
names = [...
|
|
33
|
+
names = [...require_src_classes_data_boys, ...require_src_classes_data_girls];
|
|
34
34
|
break;
|
|
35
35
|
}
|
|
36
36
|
return this.randomArray(names);
|
|
37
37
|
}
|
|
38
38
|
randomLastName() {
|
|
39
|
-
return this.randomArray(
|
|
39
|
+
return this.randomArray(require_src_classes_data_family_names);
|
|
40
40
|
}
|
|
41
41
|
async createMultiple(amount = 40) {
|
|
42
42
|
const arr = [];
|
|
@@ -3,14 +3,7 @@ const require_Database = require("./Database.cjs");
|
|
|
3
3
|
const require_Migration = require("../models/Migration.cjs");
|
|
4
4
|
let fs = require("fs");
|
|
5
5
|
let _simonbackx_simple_logging = require("@simonbackx/simple-logging");
|
|
6
|
-
let node_path = require("node:path");
|
|
7
|
-
let node_url = require("node:url");
|
|
8
6
|
//#region src/classes/Migration.ts
|
|
9
|
-
function getDirname() {
|
|
10
|
-
if (typeof __dirname !== "undefined") return __dirname;
|
|
11
|
-
if (require("url").pathToFileURL(__filename).href) return (0, node_path.dirname)((0, node_url.fileURLToPath)(require("url").pathToFileURL(__filename).href));
|
|
12
|
-
throw new Error("Cannot determine __dirname");
|
|
13
|
-
}
|
|
14
7
|
async function fileExists(file) {
|
|
15
8
|
try {
|
|
16
9
|
await fs.promises.access(file);
|
|
@@ -20,7 +13,7 @@ async function fileExists(file) {
|
|
|
20
13
|
}
|
|
21
14
|
}
|
|
22
15
|
async function getProjectRoot() {
|
|
23
|
-
let path =
|
|
16
|
+
let path = __dirname;
|
|
24
17
|
for (let index = 0; index < 5; index++) {
|
|
25
18
|
if (await fileExists(path + "/migrations")) return path;
|
|
26
19
|
path += "/..";
|
|
@@ -45,7 +38,7 @@ var Migration = class Migration {
|
|
|
45
38
|
* Given a folder, loop all the folders in that folder and run the migrations in the 'migrations' folder
|
|
46
39
|
*/
|
|
47
40
|
static async runAll(folder) {
|
|
48
|
-
const shared =
|
|
41
|
+
const shared = __dirname.split("/").filter((part, index) => part === folder.split("/")[index]).join("/");
|
|
49
42
|
const cwd = folder.replace(shared, "");
|
|
50
43
|
_simonbackx_simple_logging.logger.log(new _simonbackx_simple_logging.StyledText("[Migration]").addClass("migration", "prefix").addTag("migration"), " ", new _simonbackx_simple_logging.StyledText("Running all... ").addClass("migration", "runAll"), new _simonbackx_simple_logging.StyledText(cwd).addClass("migration", "folder").addStyle("dim"));
|
|
51
44
|
process.env.DB_MULTIPLE_STATEMENTS = "true";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Migration.d.cts","names":[],"sources":["../../../src/classes/Migration.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"Migration.d.cts","names":[],"sources":["../../../src/classes/Migration.ts"],"mappings":";iBAMsB,UAAA,CAAW,IAAA,WAAe,OAAA;AAAA,KAqB3C,iBAAA,SAA0B,OAAA;AAAA,cAWlB,SAAA;EACT,EAAA,EAAI,iBAAA;EACJ,IAAA,EAAM,iBAAA;cAEM,EAAA,EAAI,iBAAA,EAAmB,IAAA,GAAO,iBAAA;EAfzC;;;EAAA,OAuBY,MAAA,CAAO,MAAA,WAAiB,OAAA;EAAA,OA8HxB,YAAA,CAAa,IAAA,WAAe,OAAA,CAAQ,SAAA;AAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Migration.d.mts","names":[],"sources":["../../../src/classes/Migration.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"Migration.d.mts","names":[],"sources":["../../../src/classes/Migration.ts"],"mappings":";iBAMsB,UAAA,CAAW,IAAA,WAAe,OAAA;AAAA,KAqB3C,iBAAA,SAA0B,OAAA;AAAA,cAWlB,SAAA;EACT,EAAA,EAAI,iBAAA;EACJ,IAAA,EAAM,iBAAA;cAEM,EAAA,EAAI,iBAAA,EAAmB,IAAA,GAAO,iBAAA;EAfzC;;;EAAA,OAuBY,MAAA,CAAO,MAAA,WAAiB,OAAA;EAAA,OA8HxB,YAAA,CAAa,IAAA,WAAe,OAAA,CAAQ,SAAA;AAAA"}
|
|
@@ -2,14 +2,7 @@ import { Database } from "./Database.mjs";
|
|
|
2
2
|
import { Migration as Migration$1 } from "../models/Migration.mjs";
|
|
3
3
|
import { promises } from "fs";
|
|
4
4
|
import { StyledText, logger } from "@simonbackx/simple-logging";
|
|
5
|
-
import { dirname } from "node:path";
|
|
6
|
-
import { fileURLToPath } from "node:url";
|
|
7
5
|
//#region src/classes/Migration.ts
|
|
8
|
-
function getDirname() {
|
|
9
|
-
if (typeof __dirname !== "undefined") return __dirname;
|
|
10
|
-
if (typeof import.meta !== "undefined" && import.meta.url) return dirname(fileURLToPath(import.meta.url));
|
|
11
|
-
throw new Error("Cannot determine __dirname");
|
|
12
|
-
}
|
|
13
6
|
async function fileExists(file) {
|
|
14
7
|
try {
|
|
15
8
|
await promises.access(file);
|
|
@@ -19,7 +12,7 @@ async function fileExists(file) {
|
|
|
19
12
|
}
|
|
20
13
|
}
|
|
21
14
|
async function getProjectRoot() {
|
|
22
|
-
let path =
|
|
15
|
+
let path = __dirname;
|
|
23
16
|
for (let index = 0; index < 5; index++) {
|
|
24
17
|
if (await fileExists(path + "/migrations")) return path;
|
|
25
18
|
path += "/..";
|
|
@@ -44,7 +37,7 @@ var Migration = class Migration {
|
|
|
44
37
|
* Given a folder, loop all the folders in that folder and run the migrations in the 'migrations' folder
|
|
45
38
|
*/
|
|
46
39
|
static async runAll(folder) {
|
|
47
|
-
const shared =
|
|
40
|
+
const shared = __dirname.split("/").filter((part, index) => part === folder.split("/")[index]).join("/");
|
|
48
41
|
const cwd = folder.replace(shared, "");
|
|
49
42
|
logger.log(new StyledText("[Migration]").addClass("migration", "prefix").addTag("migration"), " ", new StyledText("Running all... ").addClass("migration", "runAll"), new StyledText(cwd).addClass("migration", "folder").addStyle("dim"));
|
|
50
43
|
process.env.DB_MULTIPLE_STATEMENTS = "true";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Migration.mjs","names":["fs","MigrationModel"],"sources":["../../../src/classes/Migration.ts"],"sourcesContent":["import { promises as fs } from 'fs';\n\nimport { Migration as MigrationModel } from '../models/Migration.js';\nimport { Database } from './Database.js';\nimport { logger, StyledText } from '@simonbackx/simple-logging';\nimport { dirname } from 'node:path';\nimport { fileURLToPath } from 'node:url';\n\nfunction getDirname(): string {\n // CJS environment\n if (typeof __dirname !== 'undefined') {\n return __dirname;\n }\n\n // ESM environment\n // @ts-ignore\n if (typeof import.meta !== 'undefined' && import.meta.url) {\n // @ts-ignore\n return dirname(fileURLToPath(import.meta.url));\n }\n throw new Error('Cannot determine __dirname');\n}\n\nexport async function fileExists(file: string): Promise<boolean> {\n try {\n await fs.access(file);\n return true;\n }\n catch (e) {\n return false;\n }\n}\n\nasync function getProjectRoot() {\n let path = getDirname();\n for (let index = 0; index < 5; index++) {\n if (await fileExists(path + '/migrations')) {\n return path;\n }\n path += '/..';\n }\n throw new Error('Could not find migrations root');\n}\n\ntype MigrationFunction = () => Promise<void>;\n\nasync function directoryExists(filePath: string): Promise<boolean> {\n try {\n return (await fs.stat(filePath)).isDirectory();\n }\n catch (err) {\n return false;\n }\n}\n\nexport class Migration {\n up: MigrationFunction;\n down: MigrationFunction | undefined;\n\n constructor(up: MigrationFunction, down?: MigrationFunction) {\n this.up = up;\n this.down = down;\n }\n\n /***\n * Given a folder, loop all the folders in that folder and run the migrations in the 'migrations' folder\n */\n static async runAll(folder: string): Promise<boolean> {\n const dirname = getDirname();\n\n // Get the current working directory by removing shared part of folder and dirname\n const shared = dirname.split('/').filter((part, index) => part === folder.split('/')[index]).join('/');\n const cwd = folder.replace(shared, '');\n\n logger.log(\n new StyledText('[Migration]').addClass('migration', 'prefix').addTag('migration'),\n ' ',\n new StyledText('Running all... ').addClass('migration', 'runAll'),\n new StyledText(cwd).addClass('migration', 'folder').addStyle('dim'),\n );\n\n process.env.DB_MULTIPLE_STATEMENTS = 'true';\n\n // First check if we have migrations table\n const projectRoot = await getProjectRoot();\n const setupMigration = await this.getMigration(projectRoot + '/migrations/000000000-setup-migrations.sql');\n if (!setupMigration) {\n throw new Error('Setup migration missing');\n }\n await setupMigration.up();\n await MigrationModel.markAsExecuted('000000000-setup-migrations.sql');\n\n const parts = folder.split('/');\n const firstPart = parts.shift();\n if (firstPart === undefined) {\n throw new Error('Invalid folder path');\n }\n let folderQueue: string[] = [firstPart];\n const migrations: [string, string][] = [];\n\n for (const part of parts) {\n if (part === '*') {\n const newQueue: string[] = [];\n for (folder of folderQueue) {\n // Read all directories\n const recursiveFolders = (await fs.readdir(folder, { withFileTypes: true })).filter(dirent => dirent.isDirectory()).map(dirent => folder + '/' + dirent.name);\n newQueue.push(...recursiveFolders);\n }\n folderQueue = newQueue;\n }\n else {\n folderQueue = folderQueue.map(folder => folder + '/' + part);\n }\n }\n\n for (const p of folderQueue) {\n if (await directoryExists(p)) {\n const folderFiles = await fs.readdir(p);\n\n for (const file of folderFiles) {\n const full = p + '/' + file;\n const name = file;\n if (!(await MigrationModel.isExecuted(name))) {\n migrations.push([name, full]);\n }\n }\n }\n }\n\n // Make sure we run the migrations in order\n migrations.sort((a, b) => {\n // It is expected to return a negative value if first argument is less than second argument, zero if they're equal and a positive value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n if (a < b) return -1;\n if (a > b) return 1;\n return 0;\n });\n\n for (const [name, file] of migrations) {\n // Check if SQL or TypeScript\n const migration = await this.getMigration(file);\n if (!migration) {\n continue;\n }\n\n logger.log(\n new StyledText('[Migration]').addClass('migration', 'prefix').addTag('migration'),\n ' ',\n new StyledText('Running ').addClass('migration', 'start'),\n new StyledText(name).addClass('migration', 'start', 'name'),\n );\n\n try {\n await logger.setContext({\n prefixes: [new StyledText('[Migration]').addClass('migration', 'prefix'), ' '],\n tags: ['migration'],\n }, async () => {\n await migration.up();\n await MigrationModel.markAsExecuted(name);\n });\n\n logger.log(\n new StyledText('[Migration]').addClass('migration', 'prefix').addTag('migration'),\n ' ',\n new StyledText('✓').addClass('migration', 'success', 'tag'),\n ' ',\n new StyledText('Migration ' + name + ' ran successfully').addClass('migration', 'success', 'text'),\n );\n }\n catch (e) {\n // Logger.errorWithContext({textColor: ['dim', 'red'], prefix: ' FAILED ', addSpace: true, prefixColor: ['bgRed']}, \"Migration \" + name + \" failed\", e)\n logger.error(\n new StyledText('[Migration]').addClass('migration', 'prefix').addTag('migration'),\n ' ',\n new StyledText('✗').addClass('migration', 'failed', 'tag'),\n ' ',\n new StyledText('Migration ' + name + ' failed').addClass('migration', 'failed', 'text'),\n ' ',\n new StyledText(e).addClass('migration', 'failed', 'error'),\n );\n return false;\n }\n }\n\n logger.log(\n new StyledText('[Migration]').addClass('migration', 'prefix').addTag('migration'),\n ' ',\n new StyledText('✨').addClass('migration', 'success', 'tag', 'all'),\n ' ',\n new StyledText('All migrations done').addClass('migration', 'success', 'text', 'all'),\n );\n return true;\n }\n\n static async getMigration(file: string): Promise<Migration | undefined> {\n let migration: Migration;\n if (file.endsWith('.sql')) {\n if (file.endsWith('.down.sql')) {\n // Ignore. This will contain the downgrade implementation.\n return;\n }\n const sqlStatement = await fs.readFile(file, { encoding: 'utf-8' });\n\n migration = new Migration(async () => {\n await Database.statement(sqlStatement);\n });\n }\n else {\n if (file.includes('.test.')) {\n return;\n }\n if (file.endsWith('.d.ts')) {\n return;\n }\n if (!file.endsWith('.ts') && !file.endsWith('.js')) {\n return;\n }\n\n const imported = await import(file);\n migration = imported.default;\n }\n return migration;\n }\n}\n"],"mappings":";;;;;;;AAQA,SAAS,aAAqB;AAE1B,KAAI,OAAO,cAAc,YACrB,QA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,aAAa;KACxC;SAED;AACD,OAAI,KAAK,SAAS,SAAS,CACvB;AAEJ,OAAI,KAAK,SAAS,QAAQ,CACtB;AAEJ,OAAI,CAAC,KAAK,SAAS,MAAM,IAAI,CAAC,KAAK,SAAS,MAAM,CAC9C;AAIJ,gBADiB,MAAM,OAAO,OACT;;AAEzB,SAAO"}
|
|
1
|
+
{"version":3,"file":"Migration.mjs","names":["fs","MigrationModel"],"sources":["../../../src/classes/Migration.ts"],"sourcesContent":["import { promises as fs } from 'fs';\n\nimport { logger, StyledText } from '@simonbackx/simple-logging';\nimport { Migration as MigrationModel } from '../models/Migration.js';\nimport { Database } from './Database.js';\n\nexport async function fileExists(file: string): Promise<boolean> {\n try {\n await fs.access(file);\n return true;\n }\n catch (e) {\n return false;\n }\n}\n\nasync function getProjectRoot() {\n let path = __dirname;\n for (let index = 0; index < 5; index++) {\n if (await fileExists(path + '/migrations')) {\n return path;\n }\n path += '/..';\n }\n throw new Error('Could not find migrations root');\n}\n\ntype MigrationFunction = () => Promise<void>;\n\nasync function directoryExists(filePath: string): Promise<boolean> {\n try {\n return (await fs.stat(filePath)).isDirectory();\n }\n catch (err) {\n return false;\n }\n}\n\nexport class Migration {\n up: MigrationFunction;\n down: MigrationFunction | undefined;\n\n constructor(up: MigrationFunction, down?: MigrationFunction) {\n this.up = up;\n this.down = down;\n }\n\n /***\n * Given a folder, loop all the folders in that folder and run the migrations in the 'migrations' folder\n */\n static async runAll(folder: string): Promise<boolean> {\n const dirname = __dirname;\n\n // Get the current working directory by removing shared part of folder and dirname\n const shared = dirname.split('/').filter((part, index) => part === folder.split('/')[index]).join('/');\n const cwd = folder.replace(shared, '');\n\n logger.log(\n new StyledText('[Migration]').addClass('migration', 'prefix').addTag('migration'),\n ' ',\n new StyledText('Running all... ').addClass('migration', 'runAll'),\n new StyledText(cwd).addClass('migration', 'folder').addStyle('dim'),\n );\n\n process.env.DB_MULTIPLE_STATEMENTS = 'true';\n\n // First check if we have migrations table\n const projectRoot = await getProjectRoot();\n const setupMigration = await this.getMigration(projectRoot + '/migrations/000000000-setup-migrations.sql');\n if (!setupMigration) {\n throw new Error('Setup migration missing');\n }\n await setupMigration.up();\n await MigrationModel.markAsExecuted('000000000-setup-migrations.sql');\n\n const parts = folder.split('/');\n const firstPart = parts.shift();\n if (firstPart === undefined) {\n throw new Error('Invalid folder path');\n }\n let folderQueue: string[] = [firstPart];\n const migrations: [string, string][] = [];\n\n for (const part of parts) {\n if (part === '*') {\n const newQueue: string[] = [];\n for (folder of folderQueue) {\n // Read all directories\n const recursiveFolders = (await fs.readdir(folder, { withFileTypes: true })).filter(dirent => dirent.isDirectory()).map(dirent => folder + '/' + dirent.name);\n newQueue.push(...recursiveFolders);\n }\n folderQueue = newQueue;\n }\n else {\n folderQueue = folderQueue.map(folder => folder + '/' + part);\n }\n }\n\n for (const p of folderQueue) {\n if (await directoryExists(p)) {\n const folderFiles = await fs.readdir(p);\n\n for (const file of folderFiles) {\n const full = p + '/' + file;\n const name = file;\n if (!(await MigrationModel.isExecuted(name))) {\n migrations.push([name, full]);\n }\n }\n }\n }\n\n // Make sure we run the migrations in order\n migrations.sort((a, b) => {\n // It is expected to return a negative value if first argument is less than second argument, zero if they're equal and a positive value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n if (a < b) return -1;\n if (a > b) return 1;\n return 0;\n });\n\n for (const [name, file] of migrations) {\n // Check if SQL or TypeScript\n const migration = await this.getMigration(file);\n if (!migration) {\n continue;\n }\n\n logger.log(\n new StyledText('[Migration]').addClass('migration', 'prefix').addTag('migration'),\n ' ',\n new StyledText('Running ').addClass('migration', 'start'),\n new StyledText(name).addClass('migration', 'start', 'name'),\n );\n\n try {\n await logger.setContext({\n prefixes: [new StyledText('[Migration]').addClass('migration', 'prefix'), ' '],\n tags: ['migration'],\n }, async () => {\n await migration.up();\n await MigrationModel.markAsExecuted(name);\n });\n\n logger.log(\n new StyledText('[Migration]').addClass('migration', 'prefix').addTag('migration'),\n ' ',\n new StyledText('✓').addClass('migration', 'success', 'tag'),\n ' ',\n new StyledText('Migration ' + name + ' ran successfully').addClass('migration', 'success', 'text'),\n );\n }\n catch (e) {\n // Logger.errorWithContext({textColor: ['dim', 'red'], prefix: ' FAILED ', addSpace: true, prefixColor: ['bgRed']}, \"Migration \" + name + \" failed\", e)\n logger.error(\n new StyledText('[Migration]').addClass('migration', 'prefix').addTag('migration'),\n ' ',\n new StyledText('✗').addClass('migration', 'failed', 'tag'),\n ' ',\n new StyledText('Migration ' + name + ' failed').addClass('migration', 'failed', 'text'),\n ' ',\n new StyledText(e).addClass('migration', 'failed', 'error'),\n );\n return false;\n }\n }\n\n logger.log(\n new StyledText('[Migration]').addClass('migration', 'prefix').addTag('migration'),\n ' ',\n new StyledText('✨').addClass('migration', 'success', 'tag', 'all'),\n ' ',\n new StyledText('All migrations done').addClass('migration', 'success', 'text', 'all'),\n );\n return true;\n }\n\n static async getMigration(file: string): Promise<Migration | undefined> {\n let migration: Migration;\n if (file.endsWith('.sql')) {\n if (file.endsWith('.down.sql')) {\n // Ignore. This will contain the downgrade implementation.\n return;\n }\n const sqlStatement = await fs.readFile(file, { encoding: 'utf-8' });\n\n migration = new Migration(async () => {\n await Database.statement(sqlStatement);\n });\n }\n else {\n if (file.includes('.test.')) {\n return;\n }\n if (file.endsWith('.d.ts')) {\n return;\n }\n if (!file.endsWith('.ts') && !file.endsWith('.js')) {\n return;\n }\n\n const imported = await import(file);\n migration = imported.default;\n }\n return migration;\n }\n}\n"],"mappings":";;;;;AAMA,eAAsB,WAAW,MAAgC;AAC7D,KAAI;AACA,QAAMA,SAAG,OAAO,KAAK;AACrB,SAAO;UAEJ,GAAG;AACN,SAAO;;;AAIf,eAAe,iBAAiB;CAC5B,IAAI,OAAO;AACX,MAAK,IAAI,QAAQ,GAAG,QAAQ,GAAG,SAAS;AACpC,MAAI,MAAM,WAAW,OAAO,cAAc,CACtC,QAAO;AAEX,UAAQ;;AAEZ,OAAM,IAAI,MAAM,iCAAiC;;AAKrD,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WAAW,OAAO,CACrG;YAEE,GAAG;AAEN,WAAO,MACH,IAAI,WAAW,cAAc,CAAC,SAAS,aAAa,SAAS,CAAC,OAAO,YAAY,EACjF,KACA,IAAI,WAAW,IAAI,CAAC,SAAS,aAAa,UAAU,MAAM,EAC1D,KACA,IAAI,WAAW,eAAe,OAAO,UAAU,CAAC,SAAS,aAAa,UAAU,OAAO,EACvF,KACA,IAAI,WAAW,EAAE,CAAC,SAAS,aAAa,UAAU,QAAQ,CAC7D;AACD,WAAO;;;AAIf,SAAO,IACH,IAAI,WAAW,cAAc,CAAC,SAAS,aAAa,SAAS,CAAC,OAAO,YAAY,EACjF,KACA,IAAI,WAAW,IAAI,CAAC,SAAS,aAAa,WAAW,OAAO,MAAM,EAClE,KACA,IAAI,WAAW,sBAAsB,CAAC,SAAS,aAAa,WAAW,QAAQ,MAAM,CACxF;AACD,SAAO;;CAGX,aAAa,aAAa,MAA8C;EACpE,IAAI;AACJ,MAAI,KAAK,SAAS,OAAO,EAAE;AACvB,OAAI,KAAK,SAAS,YAAY,CAE1B;GAEJ,MAAM,eAAe,MAAMD,SAAG,SAAS,MAAM,EAAE,UAAU,SAAS,CAAC;AAEnE,eAAY,IAAI,UAAU,YAAY;AAClC,UAAM,SAAS,UAAU,aAAa;KACxC;SAED;AACD,OAAI,KAAK,SAAS,SAAS,CACvB;AAEJ,OAAI,KAAK,SAAS,QAAQ,CACtB;AAEJ,OAAI,CAAC,KAAK,SAAS,MAAM,IAAI,CAAC,KAAK,SAAS,MAAM,CAC9C;AAIJ,gBADiB,MAAM,OAAO,OACT;;AAEzB,SAAO"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"boys.d.cts","names":[],"sources":["../../../../src/classes/data/boys.ts"],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"boys.d.mts","names":[],"sources":["../../../../src/classes/data/boys.ts"],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"family-names.d.cts","names":[],"sources":["../../../../src/classes/data/family-names.ts"],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"family-names.d.mts","names":[],"sources":["../../../../src/classes/data/family-names.ts"],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"girls.d.cts","names":[],"sources":["../../../../src/classes/data/girls.ts"],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"girls.d.mts","names":[],"sources":["../../../../src/classes/data/girls.ts"],"mappings":""}
|
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
//#region src/classes/data/streets.ts
|
|
2
|
+
var streets_default = [
|
|
3
|
+
"Aard",
|
|
4
|
+
"Aardeken",
|
|
5
|
+
"Acaciastraat",
|
|
6
|
+
"Achttien augustuslaan",
|
|
7
|
+
"Adolf Papeleustraat",
|
|
8
|
+
"Baerdonckstraat",
|
|
9
|
+
"Baeveweg",
|
|
10
|
+
"Bastenakkers",
|
|
11
|
+
"Beekstraat",
|
|
12
|
+
"Begijnestraat",
|
|
13
|
+
"Begijneweidestraat",
|
|
14
|
+
"Beirstoppellos",
|
|
15
|
+
"Belindekapellestraat",
|
|
16
|
+
"Bellevoorde",
|
|
17
|
+
"Beukendreef",
|
|
18
|
+
"Biezen",
|
|
19
|
+
"Biezeweg",
|
|
20
|
+
"Blauwe Paal",
|
|
21
|
+
"Blekerijstraat",
|
|
22
|
+
"Bloemluststraat",
|
|
23
|
+
"Bochten",
|
|
24
|
+
"Boekakker",
|
|
25
|
+
"Boergondisch Kruis",
|
|
26
|
+
"Bommelsrede",
|
|
27
|
+
"Bookmolenstraat",
|
|
28
|
+
"Boomkwekerijstraat",
|
|
29
|
+
"Bosveldstraat",
|
|
30
|
+
"Bovenboekakker",
|
|
31
|
+
"Braakakker",
|
|
32
|
+
"Braektestraat",
|
|
33
|
+
"Broekstraat",
|
|
34
|
+
"Brugstraat",
|
|
35
|
+
"Brusselsesteenweg",
|
|
36
|
+
"Cederdreef",
|
|
37
|
+
"Collegiebaan",
|
|
38
|
+
"Cooppallaan",
|
|
39
|
+
"Damstraat",
|
|
40
|
+
"Dassenveld",
|
|
41
|
+
"De Snoeken",
|
|
42
|
+
"Den Blakkenlaan",
|
|
43
|
+
"Dendeldonk",
|
|
44
|
+
"Dendermondesteenweg",
|
|
45
|
+
"Diepenbroekstraat",
|
|
46
|
+
"Dokter De Bruyckerstraat",
|
|
47
|
+
"Dompelhoekstraat",
|
|
48
|
+
"Donkstraat",
|
|
49
|
+
"Dorenhofweg",
|
|
50
|
+
"Dorpsplein",
|
|
51
|
+
"Dorpsstraat",
|
|
52
|
+
"Driebunderstraat",
|
|
53
|
+
"Drogerijstraat",
|
|
54
|
+
"Duilhoekstraat",
|
|
55
|
+
"Duinenoord",
|
|
56
|
+
"Edeschoolstraat",
|
|
57
|
+
"Eeminckstraat",
|
|
58
|
+
"Eeminckwegel",
|
|
59
|
+
"Eigendakstraat",
|
|
60
|
+
"Eikem",
|
|
61
|
+
"Ertbrug",
|
|
62
|
+
"Evenakker",
|
|
63
|
+
"Evenkouter",
|
|
64
|
+
"Ezelstraat",
|
|
65
|
+
"Felix Beernaertsplein",
|
|
66
|
+
"Florimond Leirensstraat",
|
|
67
|
+
"Fortstraat",
|
|
68
|
+
"Gasdreef",
|
|
69
|
+
"Gaverstraatje",
|
|
70
|
+
"Gemoedsveld",
|
|
71
|
+
"Gemstwee",
|
|
72
|
+
"Gentsesteenweg",
|
|
73
|
+
"Gereedstraat",
|
|
74
|
+
"Giezeveld",
|
|
75
|
+
"Gijzenzelestraat",
|
|
76
|
+
"Gransveldestraat",
|
|
77
|
+
"Groene Wegel",
|
|
78
|
+
"Groenstraat",
|
|
79
|
+
"Haandertweg",
|
|
80
|
+
"Halven Akker",
|
|
81
|
+
"Hamstraat",
|
|
82
|
+
"Heidestraat",
|
|
83
|
+
"Hekkerstraat",
|
|
84
|
+
"Hekkouter",
|
|
85
|
+
"Hellegat",
|
|
86
|
+
"Helverdinkstraat",
|
|
87
|
+
"Hendrik Consciencelaan",
|
|
88
|
+
"Herdershoekstraat",
|
|
89
|
+
"Heusdensteenweg",
|
|
90
|
+
"Hoeksken",
|
|
91
|
+
"Hoenderstraat",
|
|
92
|
+
"Hofkouter",
|
|
93
|
+
"Hofmeers",
|
|
94
|
+
"Hofsteentjesweg",
|
|
95
|
+
"Hoogkasterstraat",
|
|
96
|
+
"Hoogpoort",
|
|
97
|
+
"Hoogschuur",
|
|
98
|
+
"Hovenierstraat",
|
|
99
|
+
"Huis van Oostenrijk",
|
|
100
|
+
"Jabekestraat",
|
|
101
|
+
"Jagerstraat",
|
|
102
|
+
"Jan Broeckaertlaan",
|
|
103
|
+
"Jan Cooppalaard",
|
|
104
|
+
"Jozef Buyssestraat",
|
|
105
|
+
"Kalkensteenweg",
|
|
106
|
+
"Kapellekouter",
|
|
107
|
+
"Kapellendries",
|
|
108
|
+
"Kapellestraat",
|
|
109
|
+
"Kapellewegel",
|
|
110
|
+
"Karel De Brichylaan",
|
|
111
|
+
"Kasteeldreef",
|
|
112
|
+
"Kasterstraat",
|
|
113
|
+
"Kattestraat",
|
|
114
|
+
"Keiberg",
|
|
115
|
+
"Keiweg",
|
|
116
|
+
"Kele",
|
|
117
|
+
"Kerkstraat",
|
|
118
|
+
"Kerkwegel",
|
|
119
|
+
"Kleine Smetledestraat",
|
|
120
|
+
"Kleine Wetterstraat",
|
|
121
|
+
"Kloosterstraat",
|
|
122
|
+
"Koedreef",
|
|
123
|
+
"Koningin Astridlaan",
|
|
124
|
+
"Koningswegel",
|
|
125
|
+
"Koophandelstraat",
|
|
126
|
+
"Korte Asselwegel",
|
|
127
|
+
"Korte Bergstraat",
|
|
128
|
+
"Korte Kouterstraat",
|
|
129
|
+
"Korte Massemsesteenweg",
|
|
130
|
+
"Korte Weg",
|
|
131
|
+
"Kortenbosstraat",
|
|
132
|
+
"Kortewagenstraat",
|
|
133
|
+
"Krakeelwegel",
|
|
134
|
+
"Kriephoekstraat",
|
|
135
|
+
"Krommewegel",
|
|
136
|
+
"Kruisbergstraat",
|
|
137
|
+
"Kruisstraat",
|
|
138
|
+
"Kwatrechtsteenweg",
|
|
139
|
+
"Laarnesteenweg",
|
|
140
|
+
"Laarnestraat",
|
|
141
|
+
"Laerewegel",
|
|
142
|
+
"Lambroekstraat",
|
|
143
|
+
"Lambroekweg",
|
|
144
|
+
"Lange Bergstraat",
|
|
145
|
+
"Lange Kouterstraat",
|
|
146
|
+
"Lange Wegel",
|
|
147
|
+
"Langestraat",
|
|
148
|
+
"Langeveldstraat",
|
|
149
|
+
"Leeghelsing",
|
|
150
|
+
"Leegmolenakker",
|
|
151
|
+
"Lege Weg",
|
|
152
|
+
"Leon De Smetlaan",
|
|
153
|
+
"Libbrechtstraat",
|
|
154
|
+
"Liefkenshoek",
|
|
155
|
+
"Loweestraat",
|
|
156
|
+
"Maelbroekstraat",
|
|
157
|
+
"Markt",
|
|
158
|
+
"Marktdreef",
|
|
159
|
+
"Martinusstraat",
|
|
160
|
+
"Massemenstraat",
|
|
161
|
+
"Massemsesteenweg",
|
|
162
|
+
"Meerkens",
|
|
163
|
+
"Meersstraat",
|
|
164
|
+
"Meidoornlaan",
|
|
165
|
+
"Mellepontweg",
|
|
166
|
+
"Mellesteenweg",
|
|
167
|
+
"Mestakkerstraat",
|
|
168
|
+
"Moeregem",
|
|
169
|
+
"Moerstraat",
|
|
170
|
+
"Molenakkerweg",
|
|
171
|
+
"Molenbeekweg",
|
|
172
|
+
"Molenhoekje",
|
|
173
|
+
"Molenstraat",
|
|
174
|
+
"Molenstraatje",
|
|
175
|
+
"Molenweg",
|
|
176
|
+
"Mozen",
|
|
177
|
+
"Neerhonderd",
|
|
178
|
+
"Neerstraat",
|
|
179
|
+
"Nieuwe Brug",
|
|
180
|
+
"Nieuwe Weg",
|
|
181
|
+
"Nieuwstraat",
|
|
182
|
+
"Nijverheidsstraat",
|
|
183
|
+
"Noordlaan",
|
|
184
|
+
"Oliemeers",
|
|
185
|
+
"Oombergenstraat",
|
|
186
|
+
"Oordegemsesteenweg",
|
|
187
|
+
"Oosterzelesteenweg",
|
|
188
|
+
"Oosterzelestraat",
|
|
189
|
+
"Oude Aardeweg",
|
|
190
|
+
"Oude Gentweg",
|
|
191
|
+
"Oude Gijzenzelestraat",
|
|
192
|
+
"Oude Heerbaan",
|
|
193
|
+
"Oude Laarnsesteenweg",
|
|
194
|
+
"Oude Oosterzelestraat",
|
|
195
|
+
"Oude Wetterstraat",
|
|
196
|
+
"Oudenhoek",
|
|
197
|
+
"Paardenkerkhofstraat",
|
|
198
|
+
"Parklaan",
|
|
199
|
+
"Peperstraat",
|
|
200
|
+
"Peperstraatje",
|
|
201
|
+
"Peyzershoek",
|
|
202
|
+
"Pollepelstraat",
|
|
203
|
+
"Poortelos",
|
|
204
|
+
"Poosmeersstraat",
|
|
205
|
+
"Populierenlaan",
|
|
206
|
+
"Prinsenhof",
|
|
207
|
+
"Prinses Jos. Charlottelaan",
|
|
208
|
+
"Processieweg",
|
|
209
|
+
"Putstraat",
|
|
210
|
+
"Reigerstraat",
|
|
211
|
+
"Reuzenlaan",
|
|
212
|
+
"Rijckerstraat",
|
|
213
|
+
"Roosbroeklaan",
|
|
214
|
+
"Rozenstraat",
|
|
215
|
+
"Scheldedreef",
|
|
216
|
+
"Scheldekaai",
|
|
217
|
+
"Scheldestraat",
|
|
218
|
+
"Schollaertshof",
|
|
219
|
+
"Schooldreef",
|
|
220
|
+
"Schoolstraat",
|
|
221
|
+
"Schoorstraat",
|
|
222
|
+
"Schrijakkerstraat",
|
|
223
|
+
"Schuttersveld",
|
|
224
|
+
"Serskampsteenweg",
|
|
225
|
+
"Serskampstraat",
|
|
226
|
+
"Slagstraat",
|
|
227
|
+
"Slagveld",
|
|
228
|
+
"Slekkebeek",
|
|
229
|
+
"Slommerdonk",
|
|
230
|
+
"Slommerdonkstraatje",
|
|
231
|
+
"Smetledesteenweg",
|
|
232
|
+
"Smetledestraat",
|
|
233
|
+
"Snipgat",
|
|
234
|
+
"Spinnerijstraat",
|
|
235
|
+
"Spoorweglaan",
|
|
236
|
+
"Sportstraat",
|
|
237
|
+
"Statiekouterwegel",
|
|
238
|
+
"Stationsplein",
|
|
239
|
+
"Stationsstraat",
|
|
240
|
+
"Steenbergstraat",
|
|
241
|
+
"Steenstraat",
|
|
242
|
+
"Stooktestraat",
|
|
243
|
+
"Stooktewegel",
|
|
244
|
+
"Ten Ede Dorp",
|
|
245
|
+
"Tragelweg",
|
|
246
|
+
"Van Cromphoutstraat",
|
|
247
|
+
"Vantegemstraat",
|
|
248
|
+
"Varekouter",
|
|
249
|
+
"Veldakkerstraat",
|
|
250
|
+
"Veldakkerwegel",
|
|
251
|
+
"Veldstraat",
|
|
252
|
+
"Veldwegel",
|
|
253
|
+
"Vennestraat",
|
|
254
|
+
"Verbindingstraat",
|
|
255
|
+
"Viaductweg",
|
|
256
|
+
"Victor Van Sandelaan",
|
|
257
|
+
"Vijverstraat",
|
|
258
|
+
"Vilain XIIII-straat",
|
|
259
|
+
"Volkershouw",
|
|
260
|
+
"Voordestraat",
|
|
261
|
+
"Voorheide",
|
|
262
|
+
"Vurststraat",
|
|
263
|
+
"Walleken",
|
|
264
|
+
"Warandelaan",
|
|
265
|
+
"Warandestraat",
|
|
266
|
+
"Watermolenstraat",
|
|
267
|
+
"Wegvoeringstraat",
|
|
268
|
+
"Werft",
|
|
269
|
+
"Westakkerstraat",
|
|
270
|
+
"Westremdries",
|
|
271
|
+
"Westremstraat",
|
|
272
|
+
"Wetterensteenweg",
|
|
273
|
+
"Wetterstraat",
|
|
274
|
+
"Weverstraat",
|
|
275
|
+
"Windmolenweg",
|
|
276
|
+
"Zavelstraat",
|
|
277
|
+
"Zuiderdijk",
|
|
278
|
+
"Zuidlaan",
|
|
279
|
+
"Tramdreef",
|
|
280
|
+
"Ter Heide",
|
|
281
|
+
"Olmenlaan",
|
|
282
|
+
"Lindenlaan",
|
|
283
|
+
"Esdoornlaan",
|
|
284
|
+
"Honderdweg",
|
|
285
|
+
"Binnenkouter",
|
|
286
|
+
"Moutmolen",
|
|
287
|
+
"Neptune",
|
|
288
|
+
"Koningshof",
|
|
289
|
+
"Munitiepad",
|
|
290
|
+
"Nieuwplein",
|
|
291
|
+
"NieuwpleinWAS",
|
|
292
|
+
"Wim De Craeneplein",
|
|
293
|
+
"Rode Heuvel"
|
|
294
|
+
];
|
|
295
|
+
//#endregion
|
|
296
|
+
module.exports = streets_default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"streets.d.cts","names":[],"sources":["../../../../src/classes/data/streets.ts"],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"streets.d.mts","names":[],"sources":["../../../../src/classes/data/streets.ts"],"mappings":""}
|
|
@@ -0,0 +1,298 @@
|
|
|
1
|
+
//#region src/classes/data/streets.ts
|
|
2
|
+
var streets_default = [
|
|
3
|
+
"Aard",
|
|
4
|
+
"Aardeken",
|
|
5
|
+
"Acaciastraat",
|
|
6
|
+
"Achttien augustuslaan",
|
|
7
|
+
"Adolf Papeleustraat",
|
|
8
|
+
"Baerdonckstraat",
|
|
9
|
+
"Baeveweg",
|
|
10
|
+
"Bastenakkers",
|
|
11
|
+
"Beekstraat",
|
|
12
|
+
"Begijnestraat",
|
|
13
|
+
"Begijneweidestraat",
|
|
14
|
+
"Beirstoppellos",
|
|
15
|
+
"Belindekapellestraat",
|
|
16
|
+
"Bellevoorde",
|
|
17
|
+
"Beukendreef",
|
|
18
|
+
"Biezen",
|
|
19
|
+
"Biezeweg",
|
|
20
|
+
"Blauwe Paal",
|
|
21
|
+
"Blekerijstraat",
|
|
22
|
+
"Bloemluststraat",
|
|
23
|
+
"Bochten",
|
|
24
|
+
"Boekakker",
|
|
25
|
+
"Boergondisch Kruis",
|
|
26
|
+
"Bommelsrede",
|
|
27
|
+
"Bookmolenstraat",
|
|
28
|
+
"Boomkwekerijstraat",
|
|
29
|
+
"Bosveldstraat",
|
|
30
|
+
"Bovenboekakker",
|
|
31
|
+
"Braakakker",
|
|
32
|
+
"Braektestraat",
|
|
33
|
+
"Broekstraat",
|
|
34
|
+
"Brugstraat",
|
|
35
|
+
"Brusselsesteenweg",
|
|
36
|
+
"Cederdreef",
|
|
37
|
+
"Collegiebaan",
|
|
38
|
+
"Cooppallaan",
|
|
39
|
+
"Damstraat",
|
|
40
|
+
"Dassenveld",
|
|
41
|
+
"De Snoeken",
|
|
42
|
+
"Den Blakkenlaan",
|
|
43
|
+
"Dendeldonk",
|
|
44
|
+
"Dendermondesteenweg",
|
|
45
|
+
"Diepenbroekstraat",
|
|
46
|
+
"Dokter De Bruyckerstraat",
|
|
47
|
+
"Dompelhoekstraat",
|
|
48
|
+
"Donkstraat",
|
|
49
|
+
"Dorenhofweg",
|
|
50
|
+
"Dorpsplein",
|
|
51
|
+
"Dorpsstraat",
|
|
52
|
+
"Driebunderstraat",
|
|
53
|
+
"Drogerijstraat",
|
|
54
|
+
"Duilhoekstraat",
|
|
55
|
+
"Duinenoord",
|
|
56
|
+
"Edeschoolstraat",
|
|
57
|
+
"Eeminckstraat",
|
|
58
|
+
"Eeminckwegel",
|
|
59
|
+
"Eigendakstraat",
|
|
60
|
+
"Eikem",
|
|
61
|
+
"Ertbrug",
|
|
62
|
+
"Evenakker",
|
|
63
|
+
"Evenkouter",
|
|
64
|
+
"Ezelstraat",
|
|
65
|
+
"Felix Beernaertsplein",
|
|
66
|
+
"Florimond Leirensstraat",
|
|
67
|
+
"Fortstraat",
|
|
68
|
+
"Gasdreef",
|
|
69
|
+
"Gaverstraatje",
|
|
70
|
+
"Gemoedsveld",
|
|
71
|
+
"Gemstwee",
|
|
72
|
+
"Gentsesteenweg",
|
|
73
|
+
"Gereedstraat",
|
|
74
|
+
"Giezeveld",
|
|
75
|
+
"Gijzenzelestraat",
|
|
76
|
+
"Gransveldestraat",
|
|
77
|
+
"Groene Wegel",
|
|
78
|
+
"Groenstraat",
|
|
79
|
+
"Haandertweg",
|
|
80
|
+
"Halven Akker",
|
|
81
|
+
"Hamstraat",
|
|
82
|
+
"Heidestraat",
|
|
83
|
+
"Hekkerstraat",
|
|
84
|
+
"Hekkouter",
|
|
85
|
+
"Hellegat",
|
|
86
|
+
"Helverdinkstraat",
|
|
87
|
+
"Hendrik Consciencelaan",
|
|
88
|
+
"Herdershoekstraat",
|
|
89
|
+
"Heusdensteenweg",
|
|
90
|
+
"Hoeksken",
|
|
91
|
+
"Hoenderstraat",
|
|
92
|
+
"Hofkouter",
|
|
93
|
+
"Hofmeers",
|
|
94
|
+
"Hofsteentjesweg",
|
|
95
|
+
"Hoogkasterstraat",
|
|
96
|
+
"Hoogpoort",
|
|
97
|
+
"Hoogschuur",
|
|
98
|
+
"Hovenierstraat",
|
|
99
|
+
"Huis van Oostenrijk",
|
|
100
|
+
"Jabekestraat",
|
|
101
|
+
"Jagerstraat",
|
|
102
|
+
"Jan Broeckaertlaan",
|
|
103
|
+
"Jan Cooppalaard",
|
|
104
|
+
"Jozef Buyssestraat",
|
|
105
|
+
"Kalkensteenweg",
|
|
106
|
+
"Kapellekouter",
|
|
107
|
+
"Kapellendries",
|
|
108
|
+
"Kapellestraat",
|
|
109
|
+
"Kapellewegel",
|
|
110
|
+
"Karel De Brichylaan",
|
|
111
|
+
"Kasteeldreef",
|
|
112
|
+
"Kasterstraat",
|
|
113
|
+
"Kattestraat",
|
|
114
|
+
"Keiberg",
|
|
115
|
+
"Keiweg",
|
|
116
|
+
"Kele",
|
|
117
|
+
"Kerkstraat",
|
|
118
|
+
"Kerkwegel",
|
|
119
|
+
"Kleine Smetledestraat",
|
|
120
|
+
"Kleine Wetterstraat",
|
|
121
|
+
"Kloosterstraat",
|
|
122
|
+
"Koedreef",
|
|
123
|
+
"Koningin Astridlaan",
|
|
124
|
+
"Koningswegel",
|
|
125
|
+
"Koophandelstraat",
|
|
126
|
+
"Korte Asselwegel",
|
|
127
|
+
"Korte Bergstraat",
|
|
128
|
+
"Korte Kouterstraat",
|
|
129
|
+
"Korte Massemsesteenweg",
|
|
130
|
+
"Korte Weg",
|
|
131
|
+
"Kortenbosstraat",
|
|
132
|
+
"Kortewagenstraat",
|
|
133
|
+
"Krakeelwegel",
|
|
134
|
+
"Kriephoekstraat",
|
|
135
|
+
"Krommewegel",
|
|
136
|
+
"Kruisbergstraat",
|
|
137
|
+
"Kruisstraat",
|
|
138
|
+
"Kwatrechtsteenweg",
|
|
139
|
+
"Laarnesteenweg",
|
|
140
|
+
"Laarnestraat",
|
|
141
|
+
"Laerewegel",
|
|
142
|
+
"Lambroekstraat",
|
|
143
|
+
"Lambroekweg",
|
|
144
|
+
"Lange Bergstraat",
|
|
145
|
+
"Lange Kouterstraat",
|
|
146
|
+
"Lange Wegel",
|
|
147
|
+
"Langestraat",
|
|
148
|
+
"Langeveldstraat",
|
|
149
|
+
"Leeghelsing",
|
|
150
|
+
"Leegmolenakker",
|
|
151
|
+
"Lege Weg",
|
|
152
|
+
"Leon De Smetlaan",
|
|
153
|
+
"Libbrechtstraat",
|
|
154
|
+
"Liefkenshoek",
|
|
155
|
+
"Loweestraat",
|
|
156
|
+
"Maelbroekstraat",
|
|
157
|
+
"Markt",
|
|
158
|
+
"Marktdreef",
|
|
159
|
+
"Martinusstraat",
|
|
160
|
+
"Massemenstraat",
|
|
161
|
+
"Massemsesteenweg",
|
|
162
|
+
"Meerkens",
|
|
163
|
+
"Meersstraat",
|
|
164
|
+
"Meidoornlaan",
|
|
165
|
+
"Mellepontweg",
|
|
166
|
+
"Mellesteenweg",
|
|
167
|
+
"Mestakkerstraat",
|
|
168
|
+
"Moeregem",
|
|
169
|
+
"Moerstraat",
|
|
170
|
+
"Molenakkerweg",
|
|
171
|
+
"Molenbeekweg",
|
|
172
|
+
"Molenhoekje",
|
|
173
|
+
"Molenstraat",
|
|
174
|
+
"Molenstraatje",
|
|
175
|
+
"Molenweg",
|
|
176
|
+
"Mozen",
|
|
177
|
+
"Neerhonderd",
|
|
178
|
+
"Neerstraat",
|
|
179
|
+
"Nieuwe Brug",
|
|
180
|
+
"Nieuwe Weg",
|
|
181
|
+
"Nieuwstraat",
|
|
182
|
+
"Nijverheidsstraat",
|
|
183
|
+
"Noordlaan",
|
|
184
|
+
"Oliemeers",
|
|
185
|
+
"Oombergenstraat",
|
|
186
|
+
"Oordegemsesteenweg",
|
|
187
|
+
"Oosterzelesteenweg",
|
|
188
|
+
"Oosterzelestraat",
|
|
189
|
+
"Oude Aardeweg",
|
|
190
|
+
"Oude Gentweg",
|
|
191
|
+
"Oude Gijzenzelestraat",
|
|
192
|
+
"Oude Heerbaan",
|
|
193
|
+
"Oude Laarnsesteenweg",
|
|
194
|
+
"Oude Oosterzelestraat",
|
|
195
|
+
"Oude Wetterstraat",
|
|
196
|
+
"Oudenhoek",
|
|
197
|
+
"Paardenkerkhofstraat",
|
|
198
|
+
"Parklaan",
|
|
199
|
+
"Peperstraat",
|
|
200
|
+
"Peperstraatje",
|
|
201
|
+
"Peyzershoek",
|
|
202
|
+
"Pollepelstraat",
|
|
203
|
+
"Poortelos",
|
|
204
|
+
"Poosmeersstraat",
|
|
205
|
+
"Populierenlaan",
|
|
206
|
+
"Prinsenhof",
|
|
207
|
+
"Prinses Jos. Charlottelaan",
|
|
208
|
+
"Processieweg",
|
|
209
|
+
"Putstraat",
|
|
210
|
+
"Reigerstraat",
|
|
211
|
+
"Reuzenlaan",
|
|
212
|
+
"Rijckerstraat",
|
|
213
|
+
"Roosbroeklaan",
|
|
214
|
+
"Rozenstraat",
|
|
215
|
+
"Scheldedreef",
|
|
216
|
+
"Scheldekaai",
|
|
217
|
+
"Scheldestraat",
|
|
218
|
+
"Schollaertshof",
|
|
219
|
+
"Schooldreef",
|
|
220
|
+
"Schoolstraat",
|
|
221
|
+
"Schoorstraat",
|
|
222
|
+
"Schrijakkerstraat",
|
|
223
|
+
"Schuttersveld",
|
|
224
|
+
"Serskampsteenweg",
|
|
225
|
+
"Serskampstraat",
|
|
226
|
+
"Slagstraat",
|
|
227
|
+
"Slagveld",
|
|
228
|
+
"Slekkebeek",
|
|
229
|
+
"Slommerdonk",
|
|
230
|
+
"Slommerdonkstraatje",
|
|
231
|
+
"Smetledesteenweg",
|
|
232
|
+
"Smetledestraat",
|
|
233
|
+
"Snipgat",
|
|
234
|
+
"Spinnerijstraat",
|
|
235
|
+
"Spoorweglaan",
|
|
236
|
+
"Sportstraat",
|
|
237
|
+
"Statiekouterwegel",
|
|
238
|
+
"Stationsplein",
|
|
239
|
+
"Stationsstraat",
|
|
240
|
+
"Steenbergstraat",
|
|
241
|
+
"Steenstraat",
|
|
242
|
+
"Stooktestraat",
|
|
243
|
+
"Stooktewegel",
|
|
244
|
+
"Ten Ede Dorp",
|
|
245
|
+
"Tragelweg",
|
|
246
|
+
"Van Cromphoutstraat",
|
|
247
|
+
"Vantegemstraat",
|
|
248
|
+
"Varekouter",
|
|
249
|
+
"Veldakkerstraat",
|
|
250
|
+
"Veldakkerwegel",
|
|
251
|
+
"Veldstraat",
|
|
252
|
+
"Veldwegel",
|
|
253
|
+
"Vennestraat",
|
|
254
|
+
"Verbindingstraat",
|
|
255
|
+
"Viaductweg",
|
|
256
|
+
"Victor Van Sandelaan",
|
|
257
|
+
"Vijverstraat",
|
|
258
|
+
"Vilain XIIII-straat",
|
|
259
|
+
"Volkershouw",
|
|
260
|
+
"Voordestraat",
|
|
261
|
+
"Voorheide",
|
|
262
|
+
"Vurststraat",
|
|
263
|
+
"Walleken",
|
|
264
|
+
"Warandelaan",
|
|
265
|
+
"Warandestraat",
|
|
266
|
+
"Watermolenstraat",
|
|
267
|
+
"Wegvoeringstraat",
|
|
268
|
+
"Werft",
|
|
269
|
+
"Westakkerstraat",
|
|
270
|
+
"Westremdries",
|
|
271
|
+
"Westremstraat",
|
|
272
|
+
"Wetterensteenweg",
|
|
273
|
+
"Wetterstraat",
|
|
274
|
+
"Weverstraat",
|
|
275
|
+
"Windmolenweg",
|
|
276
|
+
"Zavelstraat",
|
|
277
|
+
"Zuiderdijk",
|
|
278
|
+
"Zuidlaan",
|
|
279
|
+
"Tramdreef",
|
|
280
|
+
"Ter Heide",
|
|
281
|
+
"Olmenlaan",
|
|
282
|
+
"Lindenlaan",
|
|
283
|
+
"Esdoornlaan",
|
|
284
|
+
"Honderdweg",
|
|
285
|
+
"Binnenkouter",
|
|
286
|
+
"Moutmolen",
|
|
287
|
+
"Neptune",
|
|
288
|
+
"Koningshof",
|
|
289
|
+
"Munitiepad",
|
|
290
|
+
"Nieuwplein",
|
|
291
|
+
"NieuwpleinWAS",
|
|
292
|
+
"Wim De Craeneplein",
|
|
293
|
+
"Rode Heuvel"
|
|
294
|
+
];
|
|
295
|
+
//#endregion
|
|
296
|
+
export { streets_default as default };
|
|
297
|
+
|
|
298
|
+
//# sourceMappingURL=streets.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"streets.mjs","names":[],"sources":["../../../../src/classes/data/streets.ts"],"sourcesContent":["export default [\n 'Aard',\n 'Aardeken',\n 'Acaciastraat',\n 'Achttien augustuslaan',\n 'Adolf Papeleustraat',\n 'Baerdonckstraat',\n 'Baeveweg',\n 'Bastenakkers',\n 'Beekstraat',\n 'Begijnestraat',\n 'Begijneweidestraat',\n 'Beirstoppellos',\n 'Belindekapellestraat',\n 'Bellevoorde',\n 'Beukendreef',\n 'Biezen',\n 'Biezeweg',\n 'Blauwe Paal',\n 'Blekerijstraat',\n 'Bloemluststraat',\n 'Bochten',\n 'Boekakker',\n 'Boergondisch Kruis',\n 'Bommelsrede',\n 'Bookmolenstraat',\n 'Boomkwekerijstraat',\n 'Bosveldstraat',\n 'Bovenboekakker',\n 'Braakakker',\n 'Braektestraat',\n 'Broekstraat',\n 'Brugstraat',\n 'Brusselsesteenweg',\n 'Cederdreef',\n 'Collegiebaan',\n 'Cooppallaan',\n 'Damstraat',\n 'Dassenveld',\n 'De Snoeken',\n 'Den Blakkenlaan',\n 'Dendeldonk',\n 'Dendermondesteenweg',\n 'Diepenbroekstraat',\n 'Dokter De Bruyckerstraat',\n 'Dompelhoekstraat',\n 'Donkstraat',\n 'Dorenhofweg',\n 'Dorpsplein',\n 'Dorpsstraat',\n 'Driebunderstraat',\n 'Drogerijstraat',\n 'Duilhoekstraat',\n 'Duinenoord',\n 'Edeschoolstraat',\n 'Eeminckstraat',\n 'Eeminckwegel',\n 'Eigendakstraat',\n 'Eikem',\n 'Ertbrug',\n 'Evenakker',\n 'Evenkouter',\n 'Ezelstraat',\n 'Felix Beernaertsplein',\n 'Florimond Leirensstraat',\n 'Fortstraat',\n 'Gasdreef',\n 'Gaverstraatje',\n 'Gemoedsveld',\n 'Gemstwee',\n 'Gentsesteenweg',\n 'Gereedstraat',\n 'Giezeveld',\n 'Gijzenzelestraat',\n 'Gransveldestraat',\n 'Groene Wegel',\n 'Groenstraat',\n 'Haandertweg',\n 'Halven Akker',\n 'Hamstraat',\n 'Heidestraat',\n 'Hekkerstraat',\n 'Hekkouter',\n 'Hellegat',\n 'Helverdinkstraat',\n 'Hendrik Consciencelaan',\n 'Herdershoekstraat',\n 'Heusdensteenweg',\n 'Hoeksken',\n 'Hoenderstraat',\n 'Hofkouter',\n 'Hofmeers',\n 'Hofsteentjesweg',\n 'Hoogkasterstraat',\n 'Hoogpoort',\n 'Hoogschuur',\n 'Hovenierstraat',\n 'Huis van Oostenrijk',\n 'Jabekestraat',\n 'Jagerstraat',\n 'Jan Broeckaertlaan',\n 'Jan Cooppalaard',\n 'Jozef Buyssestraat',\n 'Kalkensteenweg',\n 'Kapellekouter',\n 'Kapellendries',\n 'Kapellestraat',\n 'Kapellewegel',\n 'Karel De Brichylaan',\n 'Kasteeldreef',\n 'Kasterstraat',\n 'Kattestraat',\n 'Keiberg',\n 'Keiweg',\n 'Kele',\n 'Kerkstraat',\n 'Kerkwegel',\n 'Kleine Smetledestraat',\n 'Kleine Wetterstraat',\n 'Kloosterstraat',\n 'Koedreef',\n 'Koningin Astridlaan',\n 'Koningswegel',\n 'Koophandelstraat',\n 'Korte Asselwegel',\n 'Korte Bergstraat',\n 'Korte Kouterstraat',\n 'Korte Massemsesteenweg',\n 'Korte Weg',\n 'Kortenbosstraat',\n 'Kortewagenstraat',\n 'Krakeelwegel',\n 'Kriephoekstraat',\n 'Krommewegel',\n 'Kruisbergstraat',\n 'Kruisstraat',\n 'Kwatrechtsteenweg',\n 'Laarnesteenweg',\n 'Laarnestraat',\n 'Laerewegel',\n 'Lambroekstraat',\n 'Lambroekweg',\n 'Lange Bergstraat',\n 'Lange Kouterstraat',\n 'Lange Wegel',\n 'Langestraat',\n 'Langeveldstraat',\n 'Leeghelsing',\n 'Leegmolenakker',\n 'Lege Weg',\n 'Leon De Smetlaan',\n 'Libbrechtstraat',\n 'Liefkenshoek',\n 'Loweestraat',\n 'Maelbroekstraat',\n 'Markt',\n 'Marktdreef',\n 'Martinusstraat',\n 'Massemenstraat',\n 'Massemsesteenweg',\n 'Meerkens',\n 'Meersstraat',\n 'Meidoornlaan',\n 'Mellepontweg',\n 'Mellesteenweg',\n 'Mestakkerstraat',\n 'Moeregem',\n 'Moerstraat',\n 'Molenakkerweg',\n 'Molenbeekweg',\n 'Molenhoekje',\n 'Molenstraat',\n 'Molenstraatje',\n 'Molenweg',\n 'Mozen',\n 'Neerhonderd',\n 'Neerstraat',\n 'Nieuwe Brug',\n 'Nieuwe Weg',\n 'Nieuwstraat',\n 'Nijverheidsstraat',\n 'Noordlaan',\n 'Oliemeers',\n 'Oombergenstraat',\n 'Oordegemsesteenweg',\n 'Oosterzelesteenweg',\n 'Oosterzelestraat',\n 'Oude Aardeweg',\n 'Oude Gentweg',\n 'Oude Gijzenzelestraat',\n 'Oude Heerbaan',\n 'Oude Laarnsesteenweg',\n 'Oude Oosterzelestraat',\n 'Oude Wetterstraat',\n 'Oudenhoek',\n 'Paardenkerkhofstraat',\n 'Parklaan',\n 'Peperstraat',\n 'Peperstraatje',\n 'Peyzershoek',\n 'Pollepelstraat',\n 'Poortelos',\n 'Poosmeersstraat',\n 'Populierenlaan',\n 'Prinsenhof',\n 'Prinses Jos. Charlottelaan',\n 'Processieweg',\n 'Putstraat',\n 'Reigerstraat',\n 'Reuzenlaan',\n 'Rijckerstraat',\n 'Roosbroeklaan',\n 'Rozenstraat',\n 'Scheldedreef',\n 'Scheldekaai',\n 'Scheldestraat',\n 'Schollaertshof',\n 'Schooldreef',\n 'Schoolstraat',\n 'Schoorstraat',\n 'Schrijakkerstraat',\n 'Schuttersveld',\n 'Serskampsteenweg',\n 'Serskampstraat',\n 'Slagstraat',\n 'Slagveld',\n 'Slekkebeek',\n 'Slommerdonk',\n 'Slommerdonkstraatje',\n 'Smetledesteenweg',\n 'Smetledestraat',\n 'Snipgat',\n 'Spinnerijstraat',\n 'Spoorweglaan',\n 'Sportstraat',\n 'Statiekouterwegel',\n 'Stationsplein',\n 'Stationsstraat',\n 'Steenbergstraat',\n 'Steenstraat',\n 'Stooktestraat',\n 'Stooktewegel',\n 'Ten Ede Dorp',\n 'Tragelweg',\n 'Van Cromphoutstraat',\n 'Vantegemstraat',\n 'Varekouter',\n 'Veldakkerstraat',\n 'Veldakkerwegel',\n 'Veldstraat',\n 'Veldwegel',\n 'Vennestraat',\n 'Verbindingstraat',\n 'Viaductweg',\n 'Victor Van Sandelaan',\n 'Vijverstraat',\n 'Vilain XIIII-straat',\n 'Volkershouw',\n 'Voordestraat',\n 'Voorheide',\n 'Vurststraat',\n 'Walleken',\n 'Warandelaan',\n 'Warandestraat',\n 'Watermolenstraat',\n 'Wegvoeringstraat',\n 'Werft',\n 'Westakkerstraat',\n 'Westremdries',\n 'Westremstraat',\n 'Wetterensteenweg',\n 'Wetterstraat',\n 'Weverstraat',\n 'Windmolenweg',\n 'Zavelstraat',\n 'Zuiderdijk',\n 'Zuidlaan',\n 'Tramdreef',\n 'Ter Heide',\n 'Olmenlaan',\n 'Lindenlaan',\n 'Esdoornlaan',\n 'Honderdweg',\n 'Binnenkouter',\n 'Moutmolen',\n 'Neptune',\n 'Koningshof',\n 'Munitiepad',\n 'Nieuwplein',\n 'NieuwpleinWAS',\n 'Wim De Craeneplein',\n 'Rode Heuvel',\n];\n"],"mappings":";AAAA,IAAA,kBAAe;CACX;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACH"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simonbackx/simple-database",
|
|
3
|
-
"version": "1.36.
|
|
3
|
+
"version": "1.36.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -16,7 +16,17 @@
|
|
|
16
16
|
"default": "./dist/index.cjs"
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
|
-
"./migrations/*": "./migrations/*"
|
|
19
|
+
"./migrations/*": "./migrations/*",
|
|
20
|
+
"./data/*": {
|
|
21
|
+
"import": {
|
|
22
|
+
"types": "./dist/src/classes/data/*.d.mts",
|
|
23
|
+
"default": "./dist/src/classes/data/*.mjs"
|
|
24
|
+
},
|
|
25
|
+
"require": {
|
|
26
|
+
"types": "./dist/src/classes/data/*.d.cts",
|
|
27
|
+
"default": "./dist/src/classes/data/*.cjs"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
20
30
|
},
|
|
21
31
|
"imports": {
|
|
22
32
|
"#migrations/*": "./migrations/*"
|