@lls/store 24.1.63-c75dc744 → 24.1.63-cffad770
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 +3 -2
- 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));
|
|
@@ -1392,7 +1392,7 @@ var copyNotification = new import_normalizr.schema.Entity("copyNotifications");
|
|
|
1392
1392
|
var quote = new import_normalizr.schema.Entity("quotes");
|
|
1393
1393
|
var group = new import_normalizr.schema.Entity("groups");
|
|
1394
1394
|
var analytic = new import_normalizr.schema.Entity("analytics");
|
|
1395
|
-
var contact = new import_normalizr.schema.Entity("
|
|
1395
|
+
var contact = new import_normalizr.schema.Entity("contacts");
|
|
1396
1396
|
var collection = new import_normalizr.schema.Entity("collections");
|
|
1397
1397
|
var sharedPage = new import_normalizr.schema.Entity("sharedPages");
|
|
1398
1398
|
var student = new import_normalizr.schema.Entity("students");
|
|
@@ -1562,6 +1562,7 @@ var normalizeData = _16.flow((data) => (0, import_normalizr.normalize)(data, que
|
|
|
1562
1562
|
export {
|
|
1563
1563
|
auth_default as authReducer,
|
|
1564
1564
|
entities_default as entitiesReducer,
|
|
1565
|
+
filterBooks,
|
|
1565
1566
|
filterPages,
|
|
1566
1567
|
getAllNews,
|
|
1567
1568
|
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.63-
|
|
5
|
+
"version": "24.1.63-cffad770",
|
|
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.63-
|
|
45
|
-
"@lls/vitescripts": "24.1.63-
|
|
44
|
+
"@lls/utils": "24.1.63-cffad770",
|
|
45
|
+
"@lls/vitescripts": "24.1.63-cffad770"
|
|
46
46
|
},
|
|
47
47
|
"license": "ISC",
|
|
48
48
|
"dependencies": {
|