@teselagen/ui 0.8.6-beta.3 → 0.8.6-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.cjs.js
CHANGED
|
@@ -19798,7 +19798,7 @@ function initializeHasuraWhereAndFilter(additionalFilter, where = {}, currentPar
|
|
|
19798
19798
|
if (typeof additionalFilter === "function") {
|
|
19799
19799
|
const newWhere = additionalFilter(where, currentParams);
|
|
19800
19800
|
if (newWhere) {
|
|
19801
|
-
|
|
19801
|
+
Object.assign(where, newWhere);
|
|
19802
19802
|
}
|
|
19803
19803
|
} else if (typeof additionalFilter === "object")
|
|
19804
19804
|
where._and.push(additionalFilter);
|
package/index.es.js
CHANGED
|
@@ -19780,7 +19780,7 @@ function initializeHasuraWhereAndFilter(additionalFilter, where = {}, currentPar
|
|
|
19780
19780
|
if (typeof additionalFilter === "function") {
|
|
19781
19781
|
const newWhere = additionalFilter(where, currentParams);
|
|
19782
19782
|
if (newWhere) {
|
|
19783
|
-
|
|
19783
|
+
Object.assign(where, newWhere);
|
|
19784
19784
|
}
|
|
19785
19785
|
} else if (typeof additionalFilter === "object")
|
|
19786
19786
|
where._and.push(additionalFilter);
|
package/package.json
CHANGED
|
@@ -8,10 +8,7 @@ export function initializeHasuraWhereAndFilter(
|
|
|
8
8
|
if (typeof additionalFilter === "function") {
|
|
9
9
|
const newWhere = additionalFilter(where, currentParams);
|
|
10
10
|
if (newWhere) {
|
|
11
|
-
where
|
|
12
|
-
...where,
|
|
13
|
-
...newWhere
|
|
14
|
-
};
|
|
11
|
+
Object.assign(where, newWhere);
|
|
15
12
|
}
|
|
16
13
|
} else if (typeof additionalFilter === "object")
|
|
17
14
|
where._and.push(additionalFilter);
|