wololo/tests/data/mappings_to_test.js

43 lines
992 B
JavaScript
Raw Normal View History

2025-04-28 00:14:05 +02:00
export const mappingTruthy = {
config_name: 'testing config mappingTruthy',
tags: {
consolidated_is_lon_lat_correct: {
key_converted: 'consolidated_is_lon_lat_correct',
truthy_value: 'succès'
}
},
default_properties_of_point: {}
};
export const mappingFalsy = {
config_name: 'testing config mappingFalsy',
tags: {
consolidated_city: {
key_converted: 'consolidated_city',
falsy_value: 'pas ouf succès'
}
},
default_properties_of_point: {}
};
export const mappingBoolean = {
config_name: 'testing config mappingBoolean',
tags: {
consolidated_is_lon_lat_correct: {
key_converted: 'consolidated_is_lon_lat_correct',
convert_to_boolean_value: true
}
},
default_properties_of_point: {}
};
export const mappingPhone = {
config_name: 'testing config mappingPhone',
tags: {
telephone_operateur: {
key_converted: 'phone',
convert_to_phone: true
}
},
default_properties_of_point: {}
};