Remove last 'AndOrTagRenderingConfig'-mentions, Regenerate schema files

This commit is contained in:
Pieter Vander Vennet 2022-07-18 00:30:57 +02:00
parent eb5ad619db
commit 336b7b39aa
32 changed files with 15915 additions and 5926 deletions

View file

@ -1,4 +1,4 @@
import {AndOrTagConfigJson} from "./TagConfigJson";
import {TagConfigJson} from "./TagConfigJson";
export interface DeleteConfigJson {
@ -41,7 +41,7 @@ export interface DeleteConfigJson {
* The tags that will be given to the object.
* This must remove tags so that the 'source/osmTags' won't match anymore
*/
if: string | AndOrTagConfigJson,
if: TagConfigJson,
/**
* The human explanation for the options
*/
@ -67,7 +67,7 @@ export interface DeleteConfigJson {
* }
* ```
*/
softDeletionTags?: AndOrTagConfigJson | string,
softDeletionTags?: TagConfigJson,
/***
* By default, the contributor needs 20 previous changesets to delete points edited by others.
* For some small features (e.g. bicycle racks) this is too much and this requirement can be lowered or dropped, which can be done here.

View file

@ -1,4 +1,4 @@
import {AndOrTagConfigJson} from "./TagConfigJson";
import {TagConfigJson} from "./TagConfigJson";
import {TagRenderingConfigJson} from "./TagRenderingConfigJson";
import FilterConfigJson from "./FilterConfigJson";
import {DeleteConfigJson} from "./DeleteConfigJson";
@ -47,7 +47,7 @@ export interface LayerConfigJson {
/**
* Every source must set which tags have to be present in order to load the given layer.
*/
osmTags: AndOrTagConfigJson | string
osmTags: TagConfigJson
/**
* The maximum amount of seconds that a tile is allowed to linger in the cache
*/

View file

@ -19,4 +19,3 @@ export type OrTagConfigJson = {
export type AndTagConfigJson = {
and: TagConfigJson[]
}