@lls/store 24.8.0-e376d469 → 24.8.0-e550c76d
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 +9 -3
- package/package.json +3 -3
package/lib/index.js
CHANGED
|
@@ -990,10 +990,15 @@ var useSearchCopyNotifications = makeUseSearch(makeSearchCopyNotifications);
|
|
|
990
990
|
// src/selectors/document.ts
|
|
991
991
|
init_define_import_meta();
|
|
992
992
|
import { makeEntitiesFilter as makeEntitiesFilter8 } from "@lls/utils";
|
|
993
|
-
var search10 = ({
|
|
993
|
+
var search10 = ({
|
|
994
|
+
ids,
|
|
995
|
+
resourceIds,
|
|
996
|
+
levelIds
|
|
997
|
+
}) => {
|
|
994
998
|
return makeEntitiesFilter8({
|
|
995
999
|
id: ids,
|
|
996
|
-
resourceId: resourceIds
|
|
1000
|
+
resourceId: resourceIds,
|
|
1001
|
+
levels: levelIds
|
|
997
1002
|
});
|
|
998
1003
|
};
|
|
999
1004
|
var { useSearchDocuments } = crud("documents", {
|
|
@@ -1480,7 +1485,8 @@ var garDivisionSchema = define(garDivision, {
|
|
|
1480
1485
|
school
|
|
1481
1486
|
});
|
|
1482
1487
|
var documentSchema = define(document, {
|
|
1483
|
-
page
|
|
1488
|
+
page,
|
|
1489
|
+
levels: [level]
|
|
1484
1490
|
});
|
|
1485
1491
|
var chapterSchema = define(chapter, {
|
|
1486
1492
|
book,
|
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.8.0-
|
|
5
|
+
"version": "24.8.0-e550c76d",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"types": "./lib/builttypes/store/src/index.d.ts",
|
|
8
8
|
"exports": {
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"typescript": "5.6.3",
|
|
49
49
|
"vite": "5.4.11",
|
|
50
50
|
"vite-tsconfig-paths": "5.1.3",
|
|
51
|
-
"@lls/utils": "24.8.0-
|
|
52
|
-
"@lls/vitescripts": "24.8.0-
|
|
51
|
+
"@lls/utils": "24.8.0-e550c76d",
|
|
52
|
+
"@lls/vitescripts": "24.8.0-e550c76d"
|
|
53
53
|
},
|
|
54
54
|
"license": "ISC",
|
|
55
55
|
"dependencies": {
|