forked from MapComplete/MapComplete
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			No EOL
		
	
	
		
			536 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			No EOL
		
	
	
		
			536 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
import {Translation} from "../../UI/i18n/Translation";
 | 
						|
import {Tag} from "../../Logic/Tags/Tag";
 | 
						|
 | 
						|
export interface PreciseInput {
 | 
						|
    preferredBackground?: string[],
 | 
						|
    snapToLayers?: string[],
 | 
						|
    maxSnapDistance?: number
 | 
						|
}
 | 
						|
 | 
						|
export default interface PresetConfig {
 | 
						|
    title: Translation,
 | 
						|
    tags: Tag[],
 | 
						|
    description?: Translation,
 | 
						|
    exampleImages?: string[],
 | 
						|
    /**
 | 
						|
     * If precise input is set, then an extra map is shown in which the user can drag the map to the precise location
 | 
						|
     */
 | 
						|
    preciseInput?: PreciseInput
 | 
						|
} |