Splitted relevance method in beacons, locations, relevantDate and maxDistance as override

This commit is contained in:
Alexander Cerutti
2019-06-15 23:34:46 +02:00
parent 2c2e4ef79d
commit 1668678f7c
2 changed files with 58 additions and 33 deletions

View File

@@ -76,6 +76,7 @@ interface OverridesSupportedOptions {
labelColor?: string;
groupingIdentifier?: string;
suppressStripShine?: boolean;
maxDistance?: number;
}
const supportedOptions = Joi.object().keys({
@@ -92,6 +93,7 @@ const supportedOptions = Joi.object().keys({
groupingIdentifier: Joi.string(),
suppressStripShine: Joi.boolean(),
logoText: Joi.string(),
maxDistance: Joi.number().positive(),
}).with("webServiceURL", "authenticationToken");