@hammerstone/refine-stimulus
Advanced tools
Comparing version 2.8.4 to 2.8.5
@@ -0,1 +1,5 @@ | ||
### 2.8.5 | ||
* DateCondition now has a validation to ensue a between range date1 is not greater than date2 | ||
* DateCondition human_readable now returns the same messaging as EQUALS or DOESNT_EQUAL when BETWEEN or NOT_BETWEEN respectively when the two dates input are the same date | ||
* Removed the redundant refine_refine_ from the routes for refine_blueprints. It is now simply refine_blueprints | ||
### 2.8.4 | ||
@@ -2,0 +6,0 @@ * clickOutside handler on inline popups no longer block click events when the popup is closed |
{ | ||
"name": "@hammerstone/refine-stimulus", | ||
"version": "2.8.4", | ||
"version": "2.8.5", | ||
"description": "Refine is a flexible query builder for your apps. It lets your users filter down to exactly what they're looking for. Completely configured on the backend.", | ||
@@ -5,0 +5,0 @@ "browserslist": [ |
@@ -132,3 +132,3 @@ ## How to integrate the refine filter | ||
## Forcing validations | ||
To force validations, make a POST request to /hammerstone/refine_blueprints with the following JSON payload: | ||
To force validations, make a POST request to /refine/blueprints with the following JSON payload: | ||
- filter: the ruby class name of the filter | ||
@@ -143,3 +143,3 @@ - blueprint: a JSON-stringifed version of the user-input blueprint | ||
```js | ||
const response = await fetch('/hammerstone/refine_blueprints', { | ||
const response = await fetch('/refine/blueprints', { | ||
headers: { | ||
@@ -146,0 +146,0 @@ 'Accept': 'application/json', |
378704