forked from MapComplete/MapComplete
Huge refactorings of JSON-parsing and Tagsfilter, other cleanups, warning cleanups and lots of small subtle bugfixes
This commit is contained in:
parent
9a5b35b9f3
commit
a57b7d93fa
113 changed files with 1565 additions and 2594 deletions
14
Customizations/JSON/TagConfig.ts
Normal file
14
Customizations/JSON/TagConfig.ts
Normal file
|
@ -0,0 +1,14 @@
|
|||
/**
|
||||
* Read a tagconfig and converts it into a TagsFilter value
|
||||
*/
|
||||
import {AndOrTagConfigJson} from "./TagConfigJson";
|
||||
|
||||
export default class TagConfig {
|
||||
|
||||
public static fromJson(json: any): TagConfig {
|
||||
const config: AndOrTagConfigJson = json;
|
||||
return config;
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue