Studio: further documenting the format

This commit is contained in:
Pieter Vander Vennet 2023-06-23 17:28:44 +02:00
parent f18a2b9184
commit e8c84a70b1
14 changed files with 314 additions and 144 deletions

View file

@ -1,12 +1,21 @@
export default interface MoveConfigJson {
/**
* One default reason to move a point is to improve accuracy.
* Set to false to disable this reason
*
* question: Should moving this type of point to improve the accuracy be allowed?
* iftrue: This point can be moved to improve the accuracy
* ifunset: (default) This point can be moved to improve the accuracy
* iffalse: This point cannot be moved to improve the accuracy
*/
enableImproveAccuracy?: true | boolean
/**
* One default reason to move a point is because it has relocated
* Set to false to disable this reason
*
* question: Should moving this type of point due to a relocation be allowed?
*
* This will erase the attributes `addr:street`, `addr:housenumber`, `addr:city` and `addr:postcode`
*
* iftrue: This type of point can be moved due to a relocation (and will remove address information when this is done)
* ifunset: (default) This type of point can be moved due to a relocation (and will remove address information when this is done)
* iffalse: This type of point cannot be moved due to a relocation
*/
enableRelocation?: true | boolean
}