You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
320 B

var valid_types = require( '../query/types' );
module.exports = function calculate_types(clean_types) {
if (!clean_types) {
return undefined;
}
if (clean_types.from_layers) {
return clean_types.from_layers;
}
if (clean_types.from_address_parser) {
return clean_types.from_address_parser;
}
};