forked from MapComplete/MapComplete
		
	Documentation update
This commit is contained in:
		
							parent
							
								
									c91d691a36
								
							
						
					
					
						commit
						f1dcee2d39
					
				
					 3 changed files with 16 additions and 1 deletions
				
			
		|  | @ -14,7 +14,7 @@ export default class ChangeLocationAction extends OsmChangeAction { | |||
|     }[] = [ | ||||
|         { | ||||
|             value: "relocated|improve_accuraccy|...", | ||||
|             docs: "Will appear if the ", | ||||
|             docs: "Will appear if the point has been moved", | ||||
|             changeType: ["move"], | ||||
|             specialMotivation: true, | ||||
|         }, | ||||
|  |  | |||
|  | @ -20,6 +20,19 @@ export default class DeleteAction extends OsmChangeAction { | |||
|     private readonly _id: OsmId | ||||
|     private readonly _hardDelete: boolean | ||||
| 
 | ||||
|     static metatags: { | ||||
|         readonly key?: string | ||||
|         readonly value?: string | ||||
|         readonly docs: string | ||||
|         readonly changeType: string[] | ||||
|         readonly specialMotivation?: boolean | ||||
|     }[] = [ | ||||
|         { | ||||
|             docs: "Will appear if the object was deleted", | ||||
|             changeType: ["deletion"], | ||||
|             specialMotivation: true, | ||||
|         }, | ||||
|     ] | ||||
|     constructor( | ||||
|         id: OsmId, | ||||
|         softDeletionTags: TagsFilter | undefined, | ||||
|  |  | |||
|  | @ -20,6 +20,7 @@ import Table from "../../UI/Base/Table" | |||
| import ChangeLocationAction from "./Actions/ChangeLocationAction" | ||||
| import ChangeTagAction from "./Actions/ChangeTagAction" | ||||
| import FeatureSwitchState from "../State/FeatureSwitchState" | ||||
| import DeleteAction from "./Actions/DeleteAction" | ||||
| 
 | ||||
| /** | ||||
|  * Handles all changes made to OSM. | ||||
|  | @ -177,6 +178,7 @@ export class Changes { | |||
|             ), | ||||
|             ...addSource(ChangeTagAction.metatags, "ChangeTag"), | ||||
|             ...addSource(ChangeLocationAction.metatags, "ChangeLocation"), | ||||
|             ...addSource(DeleteAction.metatags, "DeleteAction") | ||||
|             // TODO
 | ||||
|             /* | ||||
|             ...DeleteAction.metatags, | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue