@lls/store 24.5.0-4eb93ffc → 24.5.0-b9c187bf
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.
|
@@ -35,6 +35,9 @@ declare const documentSchema: {
|
|
|
35
35
|
page: schema.Entity<any>;
|
|
36
36
|
};
|
|
37
37
|
export type Document = Norm<DocJsonModel, typeof documentSchema>;
|
|
38
|
+
export type ExplorerDocument = Document & {
|
|
39
|
+
score: number;
|
|
40
|
+
};
|
|
38
41
|
declare const chapterSchema: {
|
|
39
42
|
book: schema.Entity<any>;
|
|
40
43
|
oldBook: schema.Entity<any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ExplorerDocument } from '@lls/store/schema';
|
|
2
2
|
export declare const useSearchDocuments: (params: {
|
|
3
|
-
ids?:
|
|
3
|
+
ids?: ExplorerDocument["id"];
|
|
4
4
|
resourceIds?: (string | undefined)[] | undefined;
|
|
5
|
-
}) =>
|
|
5
|
+
}) => ExplorerDocument[];
|
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.5.0-
|
|
5
|
+
"version": "24.5.0-b9c187bf",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"types": "./lib/builttypes/store/src/index.d.ts",
|
|
8
8
|
"exports": {
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"vite": "5.4.10",
|
|
50
50
|
"vite-tsconfig-paths": "5.1.0",
|
|
51
51
|
"vitest": "2.1.4",
|
|
52
|
-
"@lls/utils": "24.5.0-
|
|
53
|
-
"@lls/vitescripts": "24.5.0-
|
|
52
|
+
"@lls/utils": "24.5.0-b9c187bf",
|
|
53
|
+
"@lls/vitescripts": "24.5.0-b9c187bf"
|
|
54
54
|
},
|
|
55
55
|
"license": "ISC",
|
|
56
56
|
"dependencies": {
|