mapcomplete/Models/GlobalFilter.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
441 B
TypeScript
Raw Normal View History

2023-03-24 19:21:15 +01:00
import { Translation, TypedTranslation } from "../UI/i18n/Translation"
import { Tag } from "../Logic/Tags/Tag"
2023-03-28 05:13:48 +02:00
import { TagsFilter } from "../Logic/Tags/TagsFilter"
2023-03-24 19:21:15 +01:00
export interface GlobalFilter {
2023-03-28 05:13:48 +02:00
osmTags: TagsFilter
state: number | string | undefined
2023-03-24 19:21:15 +01:00
id: string
onNewPoint: {
safetyCheck: Translation
2023-04-26 18:04:42 +02:00
icon: string
2023-03-24 19:21:15 +01:00
confirmAddNew: TypedTranslation<{ preset: Translation }>
tags: Tag[]
}
}