2021-08-07 21:19:01 +02:00
|
|
|
import {Translation} from "../../UI/i18n/Translation";
|
|
|
|
import {Tag} from "../../Logic/Tags/Tag";
|
|
|
|
|
2021-12-04 21:49:17 +01:00
|
|
|
export interface PreciseInput {
|
|
|
|
preferredBackground?: string[],
|
|
|
|
snapToLayers?: string[],
|
|
|
|
maxSnapDistance?: number
|
|
|
|
}
|
|
|
|
|
2021-08-07 21:19:01 +02:00
|
|
|
export default interface PresetConfig {
|
|
|
|
title: Translation,
|
|
|
|
tags: Tag[],
|
|
|
|
description?: Translation,
|
|
|
|
/**
|
|
|
|
* 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
|
2021-08-07 21:19:01 +02:00
|
|
|
}
|