@allbin/entity-logic
Advanced tools
Comparing version 0.5.1 to 0.6.1
@@ -88,10 +88,2 @@ "use strict"; | ||
} | ||
if (typeof prop.help_text !== 'undefined' && | ||
typeof prop.help_text !== 'string') { | ||
throw new Error("Schema prop '" + prop.key + "' has no/invalid 'help_text' property"); | ||
} | ||
if (typeof prop.help_image !== 'undefined' && | ||
typeof prop.help_text !== 'string') { | ||
throw new Error("Schema prop '" + prop.key + "' has no/invalid 'help_image' property"); | ||
} | ||
}); | ||
@@ -98,0 +90,0 @@ }; |
@@ -53,10 +53,2 @@ import { DateTime } from 'luxon'; | ||
alternatives?: Array<string>; | ||
/** | ||
* Information for Contractors from Transit Authority | ||
*/ | ||
help_text?: string; | ||
/** | ||
* URL referencing image to be presented together with help_text | ||
*/ | ||
help_image?: string; | ||
}; | ||
@@ -63,0 +55,0 @@ export declare type Entity<T = unknown> = T & { |
{ | ||
"name": "@allbin/entity-logic", | ||
"version": "0.5.1", | ||
"version": "0.6.1", | ||
"description": "Logic solver for mobilix filters", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
75660
2055