@lls/store 24.1.69-8fd9ffb7 → 24.1.70-1960fedb
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.
|
@@ -121,6 +121,10 @@ declare const groupSchema: {
|
|
|
121
121
|
students: schema.Entity<any>[];
|
|
122
122
|
};
|
|
123
123
|
export type Group = Norm<GroupModel, typeof groupSchema>;
|
|
124
|
+
declare const schoolSchema: {
|
|
125
|
+
groups: schema.Entity<any>[];
|
|
126
|
+
};
|
|
127
|
+
export type School = Norm<SchoolModel, typeof schoolSchema>;
|
|
124
128
|
declare const methodSchema: {
|
|
125
129
|
book: schema.Entity<any>;
|
|
126
130
|
};
|
|
@@ -210,7 +214,6 @@ export type Level = LevelModel;
|
|
|
210
214
|
export type Collection = CollectionModel;
|
|
211
215
|
export type Subject = SubjectModel;
|
|
212
216
|
export type Panorama = PanoramaModel;
|
|
213
|
-
export type School = SchoolModel;
|
|
214
217
|
export type Faq = FaqModel;
|
|
215
218
|
export type LexicalFlower = LexicalFlowerModel;
|
|
216
219
|
export type SchoolType = Norm<SchoolTypeModel, {}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { School } from '@lls/store/schema';
|
|
2
|
-
export declare const getSchools: (state: import("@lls/utils").TState<
|
|
2
|
+
export declare const getSchools: (state: import("@lls/utils").TState<School>) => School[], getSchool: (state: import("@lls/utils").TState<School>, entityId: number | string | undefined | null) => School | undefined, useSearchSchools: (params: {
|
|
3
3
|
ids?: School["id"][] | undefined;
|
|
4
|
-
}) =>
|
|
4
|
+
}) => School[];
|
package/lib/index.js
CHANGED
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.70-1960fedb",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"types": "./lib/builttypes/store/src/index.d.ts",
|
|
8
8
|
"exports": {
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"vite": "5.4.6",
|
|
48
48
|
"vite-tsconfig-paths": "5.0.1",
|
|
49
49
|
"vitest": "2.1.1",
|
|
50
|
-
"@lls/utils": "24.1.
|
|
51
|
-
"@lls/vitescripts": "24.1.
|
|
50
|
+
"@lls/utils": "24.1.70-1960fedb",
|
|
51
|
+
"@lls/vitescripts": "24.1.70-1960fedb"
|
|
52
52
|
},
|
|
53
53
|
"license": "ISC",
|
|
54
54
|
"dependencies": {
|