forked from MapComplete/MapComplete
Refactoring: move all code files into a src directory
This commit is contained in:
parent
de99f56ca8
commit
e75d2789d2
389 changed files with 0 additions and 12 deletions
9
src/Models/OsmFeature.ts
Normal file
9
src/Models/OsmFeature.ts
Normal file
|
@ -0,0 +1,9 @@
|
|||
import { Feature, Geometry } from "geojson"
|
||||
|
||||
export type RelationId = `relation/${number}`
|
||||
export type WayId = `way/${number}`
|
||||
export type NodeId = `node/${number}`
|
||||
export type OsmId = NodeId | WayId | RelationId
|
||||
|
||||
export type OsmTags = Record<string, string> & { id: string }
|
||||
export type OsmFeature = Feature<Geometry, OsmTags>
|
Loading…
Add table
Add a link
Reference in a new issue