-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.js
More file actions
49 lines (45 loc) · 1.53 KB
/
main.js
File metadata and controls
49 lines (45 loc) · 1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
var ac = require('./ac.js').ac,
testRequestConfig = require('./test.js').testRequestConfig,
searchEntryConfig;
searchEntryConfig = [
{position: 0, name: "Bundesland"},
{position: 1, name: "Stadt"},
{position: 2, name: "Quarter"},
{position: 3, name: "Zimmer"},
{position: 4, name: "Flaeche"},
{position: 5, name: "Preis"},
{position: 6, name: "Heizungsart", children: [
{id: "4", name: "Ofenheizung"},
{id: "1", name: "Etagenheizung"},
{id: "5", name: "Zentralheizung"}
]},
{position: 7, name: "Wohnungstypen", children: [
{id: "3", name: "Dachgeschoss"},
{id: "6", name: "Loft"},
{id: "7", name: "Maisonette"},
{id: "8", name: "Penthouse"},
{id: "40", name: "Terassenwohnung"},
{id: "128", name: "Souterrain"},
{id: "117", name: "Erdgeschoss"},
{id: "118", name: "Etagenwohnung"},
{id: "127", name: "Hochparterre"},
{id: "113", name: "Sonstige"}
]},
{position: 8, name: "Wohnberechtigungsschein", children: [
{id: "true", name: "erforderlich"},
{id: "false", name: "nicht erforderlich"}
]},
{position: 9, name: "Einbaukueche"},
{position: 10, name: "Garage/Stellplatz"},
{position: 11, name: "Balkon/Terrasse"},
{position: 12, name: "Garten/-mitnutzung"},
{position: 13, name: "Personenaufzug"},
{position: 14, name: "Keller"},
{position: 15, name: "Barrierefrei"},
{position: 16, name: "Seniorengerechtes Wohnen"},
{position: 18, name: "Gaeste-WC"},
{position: 19, name: "Provisionsfrei"},
{position: 20, name: "Neubau"}
];
testRequestConfig(searchEntryConfig);
ac(process.argv, searchEntryConfig);