forked from MapComplete/MapComplete
Further work on the move flow
This commit is contained in:
parent
11d5ccf93f
commit
95867635e0
10 changed files with 763 additions and 63 deletions
17
Logic/Osm/Actions/ChangeLocationAction.ts
Normal file
17
Logic/Osm/Actions/ChangeLocationAction.ts
Normal file
|
@ -0,0 +1,17 @@
|
|||
import {ChangeDescription} from "./ChangeDescription";
|
||||
import OsmChangeAction from "./OsmChangeAction";
|
||||
import {Changes} from "../Changes";
|
||||
|
||||
export default class ChangeLocationAction extends OsmChangeAction {
|
||||
constructor(id: string, newLonLat: [number, number], meta: {
|
||||
theme: string,
|
||||
reason: string
|
||||
}) {
|
||||
super();
|
||||
throw "TODO"
|
||||
}
|
||||
|
||||
protected CreateChangeDescriptions(changes: Changes): Promise<ChangeDescription[]> {
|
||||
return Promise.resolve([]);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue