@lls/store 24.1.63 → 24.1.64
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/lib/index.js +2 -1
- package/package.json +3 -3
package/lib/index.js
CHANGED
|
@@ -814,7 +814,7 @@ var search2 = ({
|
|
|
814
814
|
_2.isFunction(sortByQuery) ? sortByQuery : sortByQuery ? _2.sortBy(sortByQuery) : _2.identity
|
|
815
815
|
);
|
|
816
816
|
};
|
|
817
|
-
var { getBooks, getBook, searchBooks, makeSearchBooks } = crud("books", {
|
|
817
|
+
var { getBooks, getBook, searchBooks, makeSearchBooks, filterBooks } = crud("books", {
|
|
818
818
|
search: search2
|
|
819
819
|
});
|
|
820
820
|
var makeSearchValidBooks = () => createSearchSelector2(makeSearchBooks(), (books) => _2.filter({ valid: true, hasNewDesign: true }, books));
|
|
@@ -1548,6 +1548,7 @@ var normalizeData = _16.flow((data) => (0, import_normalizr.normalize)(data, que
|
|
|
1548
1548
|
export {
|
|
1549
1549
|
auth_default as authReducer,
|
|
1550
1550
|
entities_default as entitiesReducer,
|
|
1551
|
+
filterBooks,
|
|
1551
1552
|
filterPages,
|
|
1552
1553
|
getAllNews,
|
|
1553
1554
|
getAuth,
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@lls/store",
|
|
3
3
|
"description": "model de donnée et selecteurs",
|
|
4
4
|
"homepage": "https://github.com/lelivrescolaire/monorepo/tree/dev/libs/store",
|
|
5
|
-
"version": "24.1.
|
|
5
|
+
"version": "24.1.64",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"types": "./lib/builttypes/store/src/index.d.ts",
|
|
8
8
|
"exports": {
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"vite": "5.4.6",
|
|
42
42
|
"vite-tsconfig-paths": "4.3.2",
|
|
43
43
|
"vitest": "2.1.1",
|
|
44
|
-
"@lls/utils": "24.1.
|
|
45
|
-
"@lls/vitescripts": "24.1.
|
|
44
|
+
"@lls/utils": "24.1.64",
|
|
45
|
+
"@lls/vitescripts": "24.1.64"
|
|
46
46
|
},
|
|
47
47
|
"license": "ISC",
|
|
48
48
|
"dependencies": {
|