This commit is contained in:
Tykayn 2025-04-28 00:14:05 +02:00 committed by tykayn
parent 6ac3a272ce
commit 088aa1f5f4
2 changed files with 111 additions and 47 deletions

View file

@ -0,0 +1,43 @@
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: {}
};