| 
									
										
										
										
											2022-09-08 21:40:48 +02:00
										 |  |  | import { Translation } from "../../UI/i18n/Translation" | 
					
						
							|  |  |  | import { Tag } from "../../Logic/Tags/Tag" | 
					
						
							| 
									
										
										
										
											2021-08-07 21:19:01 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-12-04 21:49:17 +01:00
										 |  |  | export interface PreciseInput { | 
					
						
							| 
									
										
										
										
											2022-09-08 21:40:48 +02:00
										 |  |  |     preferredBackground?: ("map" | "photo" | "osmbasedmap" | "historicphoto" | string)[] | 
					
						
							|  |  |  |     snapToLayers?: string[] | 
					
						
							| 
									
										
										
										
											2021-12-04 21:49:17 +01:00
										 |  |  |     maxSnapDistance?: number | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-08-07 21:19:01 +02:00
										 |  |  | export default interface PresetConfig { | 
					
						
							| 
									
										
										
										
											2022-09-08 21:40:48 +02:00
										 |  |  |     title: Translation | 
					
						
							|  |  |  |     tags: Tag[] | 
					
						
							|  |  |  |     description?: Translation | 
					
						
							|  |  |  |     exampleImages?: string[] | 
					
						
							| 
									
										
										
										
											2021-08-07 21:19:01 +02:00
										 |  |  |     /** | 
					
						
							|  |  |  |      * If precise input is set, then an extra map is shown in which the user can drag the map to the precise location | 
					
						
							|  |  |  |      */ | 
					
						
							| 
									
										
										
										
											2021-12-04 21:49:17 +01:00
										 |  |  |     preciseInput?: PreciseInput | 
					
						
							| 
									
										
										
										
											2022-09-08 21:40:48 +02:00
										 |  |  | } |