forked from MapComplete/MapComplete
		
	Refactoring: use more accurate context in conversion, fix tests
This commit is contained in:
		
							parent
							
								
									86d0de3806
								
							
						
					
					
						commit
						f77d99f8ed
					
				
					 43 changed files with 999 additions and 367 deletions
				
			
		|  | @ -1198,6 +1198,13 @@ | |||
|             "default": { | ||||
|               "description": "question: What value should be entered in the text field if no value is set?\nThis can help people to quickly enter the most common option\nifunset: do not prefill the textfield", | ||||
|               "type": "string" | ||||
|             }, | ||||
|             "invalidValues": { | ||||
|               "description": "question: What values of the freeform key should be interpreted as 'unknown'?\nFor example, if a feature has `shop=yes`, the question 'what type of shop is this?' should still asked\nifunset: The question will be considered answered if any value is set for the key", | ||||
|               "type": "array", | ||||
|               "items": { | ||||
|                 "type": "string" | ||||
|               } | ||||
|             } | ||||
|           }, | ||||
|           "required": [ | ||||
|  | @ -1394,6 +1401,13 @@ | |||
|             "default": { | ||||
|               "description": "question: What value should be entered in the text field if no value is set?\nThis can help people to quickly enter the most common option\nifunset: do not prefill the textfield", | ||||
|               "type": "string" | ||||
|             }, | ||||
|             "invalidValues": { | ||||
|               "description": "question: What values of the freeform key should be interpreted as 'unknown'?\nFor example, if a feature has `shop=yes`, the question 'what type of shop is this?' should still asked\nifunset: The question will be considered answered if any value is set for the key", | ||||
|               "type": "array", | ||||
|               "items": { | ||||
|                 "type": "string" | ||||
|               } | ||||
|             } | ||||
|           }, | ||||
|           "required": [ | ||||
|  |  | |||
|  | @ -1185,6 +1185,13 @@ export default { | |||
|             "default": { | ||||
|               "description": "question: What value should be entered in the text field if no value is set?\nThis can help people to quickly enter the most common option\nifunset: do not prefill the textfield", | ||||
|               "type": "string" | ||||
|             }, | ||||
|             "invalidValues": { | ||||
|               "description": "question: What values of the freeform key should be interpreted as 'unknown'?\nFor example, if a feature has `shop=yes`, the question 'what type of shop is this?' should still asked\nifunset: The question will be considered answered if any value is set for the key", | ||||
|               "type": "array", | ||||
|               "items": { | ||||
|                 "type": "string" | ||||
|               } | ||||
|             } | ||||
|           }, | ||||
|           "required": [ | ||||
|  | @ -1380,6 +1387,13 @@ export default { | |||
|             "default": { | ||||
|               "description": "question: What value should be entered in the text field if no value is set?\nThis can help people to quickly enter the most common option\nifunset: do not prefill the textfield", | ||||
|               "type": "string" | ||||
|             }, | ||||
|             "invalidValues": { | ||||
|               "description": "question: What values of the freeform key should be interpreted as 'unknown'?\nFor example, if a feature has `shop=yes`, the question 'what type of shop is this?' should still asked\nifunset: The question will be considered answered if any value is set for the key", | ||||
|               "type": "array", | ||||
|               "items": { | ||||
|                 "type": "string" | ||||
|               } | ||||
|             } | ||||
|           }, | ||||
|           "required": [ | ||||
|  |  | |||
|  | @ -1105,6 +1105,13 @@ | |||
|             "default": { | ||||
|               "description": "question: What value should be entered in the text field if no value is set?\nThis can help people to quickly enter the most common option\nifunset: do not prefill the textfield", | ||||
|               "type": "string" | ||||
|             }, | ||||
|             "invalidValues": { | ||||
|               "description": "question: What values of the freeform key should be interpreted as 'unknown'?\nFor example, if a feature has `shop=yes`, the question 'what type of shop is this?' should still asked\nifunset: The question will be considered answered if any value is set for the key", | ||||
|               "type": "array", | ||||
|               "items": { | ||||
|                 "type": "string" | ||||
|               } | ||||
|             } | ||||
|           }, | ||||
|           "required": [ | ||||
|  | @ -1301,6 +1308,13 @@ | |||
|             "default": { | ||||
|               "description": "question: What value should be entered in the text field if no value is set?\nThis can help people to quickly enter the most common option\nifunset: do not prefill the textfield", | ||||
|               "type": "string" | ||||
|             }, | ||||
|             "invalidValues": { | ||||
|               "description": "question: What values of the freeform key should be interpreted as 'unknown'?\nFor example, if a feature has `shop=yes`, the question 'what type of shop is this?' should still asked\nifunset: The question will be considered answered if any value is set for the key", | ||||
|               "type": "array", | ||||
|               "items": { | ||||
|                 "type": "string" | ||||
|               } | ||||
|             } | ||||
|           }, | ||||
|           "required": [ | ||||
|  |  | |||
|  | @ -1092,6 +1092,13 @@ export default { | |||
|             "default": { | ||||
|               "description": "question: What value should be entered in the text field if no value is set?\nThis can help people to quickly enter the most common option\nifunset: do not prefill the textfield", | ||||
|               "type": "string" | ||||
|             }, | ||||
|             "invalidValues": { | ||||
|               "description": "question: What values of the freeform key should be interpreted as 'unknown'?\nFor example, if a feature has `shop=yes`, the question 'what type of shop is this?' should still asked\nifunset: The question will be considered answered if any value is set for the key", | ||||
|               "type": "array", | ||||
|               "items": { | ||||
|                 "type": "string" | ||||
|               } | ||||
|             } | ||||
|           }, | ||||
|           "required": [ | ||||
|  | @ -1287,6 +1294,13 @@ export default { | |||
|             "default": { | ||||
|               "description": "question: What value should be entered in the text field if no value is set?\nThis can help people to quickly enter the most common option\nifunset: do not prefill the textfield", | ||||
|               "type": "string" | ||||
|             }, | ||||
|             "invalidValues": { | ||||
|               "description": "question: What values of the freeform key should be interpreted as 'unknown'?\nFor example, if a feature has `shop=yes`, the question 'what type of shop is this?' should still asked\nifunset: The question will be considered answered if any value is set for the key", | ||||
|               "type": "array", | ||||
|               "items": { | ||||
|                 "type": "string" | ||||
|               } | ||||
|             } | ||||
|           }, | ||||
|           "required": [ | ||||
|  |  | |||
|  | @ -50,6 +50,13 @@ | |||
|         "default": { | ||||
|           "description": "question: What value should be entered in the text field if no value is set?\nThis can help people to quickly enter the most common option\nifunset: do not prefill the textfield", | ||||
|           "type": "string" | ||||
|         }, | ||||
|         "invalidValues": { | ||||
|           "description": "question: What values of the freeform key should be interpreted as 'unknown'?\nFor example, if a feature has `shop=yes`, the question 'what type of shop is this?' should still asked\nifunset: The question will be considered answered if any value is set for the key", | ||||
|           "type": "array", | ||||
|           "items": { | ||||
|             "type": "string" | ||||
|           } | ||||
|         } | ||||
|       }, | ||||
|       "required": [ | ||||
|  |  | |||
|  | @ -50,6 +50,13 @@ export default { | |||
|         "default": { | ||||
|           "description": "question: What value should be entered in the text field if no value is set?\nThis can help people to quickly enter the most common option\nifunset: do not prefill the textfield", | ||||
|           "type": "string" | ||||
|         }, | ||||
|         "invalidValues": { | ||||
|           "description": "question: What values of the freeform key should be interpreted as 'unknown'?\nFor example, if a feature has `shop=yes`, the question 'what type of shop is this?' should still asked\nifunset: The question will be considered answered if any value is set for the key", | ||||
|           "type": "array", | ||||
|           "items": { | ||||
|             "type": "string" | ||||
|           } | ||||
|         } | ||||
|       }, | ||||
|       "required": [ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue