Add option to deleteConfig to remove the default delete options

This commit is contained in:
Pieter Vander Vennet 2022-12-06 00:49:34 +01:00
parent e5d67d42c8
commit fe1cd0f120
3 changed files with 27 additions and 18 deletions

View file

@ -72,4 +72,10 @@ export interface DeleteConfigJson {
* For some small features (e.g. bicycle racks) this is too much and this requirement can be lowered or dropped, which can be done here.
*/
neededChangesets?: number
/**
* Set this flag if the default delete reasons should be omitted from the dialog.
* This requires at least one extraDeleteReason or nonDeleteMapping
*/
omitDefaultDeleteReasons?: false | boolean
}