@lls/store 24.1.70-49a98315 → 24.1.70-6dce368d

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.
@@ -77,7 +77,6 @@ declare const userSchema: {
77
77
  subjects: schema.Entity<any>[];
78
78
  teachers: schema.Entity<any>[];
79
79
  userPages: schema.Entity<any>[];
80
- userBookPages: schema.Entity<any>[];
81
80
  lexicalFlowers: {
82
81
  hits: schema.Entity<any>[];
83
82
  };
@@ -122,10 +121,6 @@ declare const groupSchema: {
122
121
  students: schema.Entity<any>[];
123
122
  };
124
123
  export type Group = Norm<GroupModel, typeof groupSchema>;
125
- declare const schoolSchema: {
126
- groups: schema.Entity<any>[];
127
- };
128
- export type School = Norm<SchoolModel, typeof schoolSchema>;
129
124
  declare const methodSchema: {
130
125
  book: schema.Entity<any>;
131
126
  };
@@ -215,6 +210,7 @@ export type Level = LevelModel;
215
210
  export type Collection = CollectionModel;
216
211
  export type Subject = SubjectModel;
217
212
  export type Panorama = PanoramaModel;
213
+ export type School = SchoolModel;
218
214
  export type Faq = FaqModel;
219
215
  export type LexicalFlower = LexicalFlowerModel;
220
216
  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<School>) => School[], getSchool: (state: import("@lls/utils").TState<School>, entityId: number | string | undefined | null) => School | undefined, useSearchSchools: (params: {
2
+ export declare const getSchools: (state: import("@lls/utils").TState<import("../types/models").School>) => import("../types/models").School[], getSchool: (state: import("@lls/utils").TState<import("../types/models").School>, entityId: number | string | undefined | null) => import("../types/models").School | undefined, useSearchSchools: (params: {
3
3
  ids?: School["id"][] | undefined;
4
- }) => School[];
4
+ }) => import("../types/models").School[];
package/lib/index.js CHANGED
@@ -1498,7 +1498,6 @@ var userSchema = define(user, {
1498
1498
  subjects: [subject],
1499
1499
  teachers: [teacher],
1500
1500
  userPages: [page],
1501
- userBookPages: [page],
1502
1501
  lexicalFlowers: { hits: [lexicalFlower] }
1503
1502
  });
1504
1503
  var notificationSchema = define(mainNotification, { page });
@@ -1532,9 +1531,6 @@ var groupSchema = define(group, {
1532
1531
  owner: teacher,
1533
1532
  students: [student]
1534
1533
  });
1535
- var schoolSchema = define(school, {
1536
- groups: [group]
1537
- });
1538
1534
  var methodSchema = define(method, {
1539
1535
  book
1540
1536
  });
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.70-49a98315",
5
+ "version": "24.1.70-6dce368d",
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.70-49a98315",
51
- "@lls/vitescripts": "24.1.70-49a98315"
50
+ "@lls/utils": "24.1.70-6dce368d",
51
+ "@lls/vitescripts": "24.1.70-6dce368d"
52
52
  },
53
53
  "license": "ISC",
54
54
  "dependencies": {