@lls/store 24.2.0-f93737ce → 24.2.0
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/builttypes/store/src/index.d.ts +0 -1
- package/lib/builttypes/store/src/schema/index.d.ts +1 -3
- package/lib/builttypes/store/src/selectors/chapter.d.ts +1 -1
- package/lib/builttypes/store/src/selectors/subject.d.ts +3 -3
- package/lib/index.js +17 -28
- package/package.json +13 -16
- package/lib/builttypes/store/src/selectors/circonscription.d.ts +0 -1
|
@@ -29,7 +29,6 @@ export * from '@lls/store/selectors/teacher';
|
|
|
29
29
|
export * from '@lls/store/selectors/method';
|
|
30
30
|
export * from '@lls/store/selectors/tool';
|
|
31
31
|
export * from '@lls/store/selectors/builderIo';
|
|
32
|
-
export * from '@lls/store/selectors/circonscription';
|
|
33
32
|
export { makeUseSearch } from '@lls/store/selectors/crud';
|
|
34
33
|
export { default as entitiesReducer, setEntitiesReducer } from '@lls/store/reducers/entities';
|
|
35
34
|
export { default as authReducer } from '@lls/store/reducers/auth';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Book as BookModel, BuilderIo as BuilderIoModel, Chapter as ChapterModel,
|
|
1
|
+
import type { Book as BookModel, BuilderIo as BuilderIoModel, Chapter as ChapterModel, Collection as CollectionModel, CommunityProject as CommunityProjectModel, DocJson as DocJsonModel, Faq as FaqModel, GarDivision as GarDivisionModel, Group as GroupModel, Level as LevelModel, LexicalFlower as LexicalFlowerModel, Method as MethodModel, News as NewsModel, Notification as NotificationModel, Page as PageModel, Panorama as PanoramaModel, PremiumResource as PremiumResourceModel, Product as ProductModel, Resource as ResourceModel, School as SchoolModel, SchoolType as SchoolTypeModel, Subject as SubjectModel, Tool as ToolModel, User as UserModel } from '@lls/store/types/models';
|
|
2
2
|
import { schema } from 'normalizr';
|
|
3
3
|
type Norm<M, S> = {
|
|
4
4
|
[K in Exclude<keyof M, keyof S>]?: M[K];
|
|
@@ -203,7 +203,6 @@ export declare const querySchema: {
|
|
|
203
203
|
createAnalytics: schema.Entity<any>;
|
|
204
204
|
faq: schema.Entity<any>[];
|
|
205
205
|
builderIos: schema.Entity<any>[];
|
|
206
|
-
circonscriptions: schema.Entity<any>[];
|
|
207
206
|
};
|
|
208
207
|
static: {
|
|
209
208
|
projetVoltaire: {
|
|
@@ -220,7 +219,6 @@ export type Faq = FaqModel;
|
|
|
220
219
|
export type LexicalFlower = LexicalFlowerModel;
|
|
221
220
|
export type SchoolType = Norm<SchoolTypeModel, {}>;
|
|
222
221
|
export type BuilderIo = BuilderIoModel;
|
|
223
|
-
export type Circonscription = CirconscriptionModel;
|
|
224
222
|
export declare const normalizeData: (...args: any[]) => any;
|
|
225
223
|
export type AdminUser = User & {
|
|
226
224
|
isAdmin: true;
|
|
@@ -3,5 +3,5 @@ export declare const getChapters: (state: import("@lls/utils").TState<Chapter>)
|
|
|
3
3
|
ids?: Chapter["id"][] | undefined;
|
|
4
4
|
bookIds?: Chapter["book"][] | undefined;
|
|
5
5
|
hasTeacherBook?: boolean | undefined;
|
|
6
|
-
sortByQuery?: "id" | "pages" | "oldBook" | "valid" | "teaser" | "teacherBook" | "
|
|
6
|
+
sortByQuery?: "id" | "pages" | "oldBook" | "valid" | "teaser" | "teacherBook" | "book" | "oldChapter" | "resources" | "numShow" | "releaseVersion" | {} | undefined;
|
|
7
7
|
}) => Chapter[];
|
|
@@ -7,7 +7,7 @@ export declare const getSubjects: (state: import("@lls/utils").TState<Subject>)
|
|
|
7
7
|
schoolTypes?: (string | undefined)[] | undefined;
|
|
8
8
|
hasBooks?: Subject["hasBooks"];
|
|
9
9
|
names?: ("Autre" | "Design et métiers d'art" | "Langues et cultures de l'Antiquité" | "Littérature, langues et cultures de l'Antiquité" | "Sciences de l'ingénieur" | "Support à l'action managériale" | "Allemand" | "Anglais" | "Arts appliqués et culture artistique" | "Arts plastiques" | "Arts" | "Autre enseignement professionnel" | "Biochimie-Biologie" | "Biologie et physiopathologie humaines" | "Biologie-Écologie" | "Biotechnologies" | "Bâtiment" | "CEJM" | "Chinois" | "Commerce international" | "Communication" | "Comptabilité" | "Conjugaison" | "Culture générale et expression" | "Documentation" | "Droit" | "Economie et Gestion" | "Enseignement Scientifique" | "Enseignement scientifique" | "Enseignements spécifiques STL" | "Espagnol" | "Français" | "Gestion administrative" | "Gestion commerciale" | "Gestion de la PME" | "Gestion" | "Grammaire" | "Géographie" | "Histoire des Arts" | "Histoire" | "Histoire-Géographie, géopolitique et sciences politiques" | "Histoire-Géographie-EMC" | "Humanités, littérature et philosophie" | "Hôtellerie restauration" | "Informatique" | "Ingénierie et développement durable" | "Innovation technologique" | "Italien" | "Langue vivante rare" | "Langues, littératures et cultures étrangères et régionales" | "Logistique" | "Maintenance" | "Management commercial opérationnel" | "Management" | "Mathématiques" | "Mercatique" | "Mécanique" | "Numérique et sciences informatiques" | "Négociation et relation client" | "Orthographe" | "Outils et langages numériques" | "PSE" | "Philosophie" | "Physique-Chimie pour la santé" | "Physique-Chimie" | "Prévention Santé Environnement" | "Relation client" | "SES" | "SNT" | "SVT" | "Sciences appliquées" | "Sciences de gestion et numérique" | "Sciences de la vie et de la Terre" | "Sciences et Technologie" | "Sciences et techniques sanitaires et sociales" | "Sciences numériques et technologie" | "Sciences physiques et chimiques en laboratoire" | "Sciences physiques" | "Sciences économiques et sociales" | "Sciences" | "Technologie" | "Transport" | "Économie et gestion hôtellière" | "Économie" | "Économie-Droit" | "Économie-Gestion" | "Éducation civique" | "Éducation musicale" | null | undefined)[] | undefined;
|
|
10
|
-
sortByQuery?: "id" | "slug" | "url" | "
|
|
10
|
+
sortByQuery?: "id" | "slug" | "url" | "name" | "schoolTypes" | "hasBooks" | "newsletterUrl" | "tags" | {} | undefined;
|
|
11
11
|
}) => Subject[], makeSearchSubjects: () => ((state: import("../types/store").EntitiesState, params: {
|
|
12
12
|
ids?: Subject["id"][] | undefined;
|
|
13
13
|
slugs?: Subject["slug"][] | undefined;
|
|
@@ -16,7 +16,7 @@ export declare const getSubjects: (state: import("@lls/utils").TState<Subject>)
|
|
|
16
16
|
schoolTypes?: (string | undefined)[] | undefined;
|
|
17
17
|
hasBooks?: Subject["hasBooks"];
|
|
18
18
|
names?: ("Autre" | "Design et métiers d'art" | "Langues et cultures de l'Antiquité" | "Littérature, langues et cultures de l'Antiquité" | "Sciences de l'ingénieur" | "Support à l'action managériale" | "Allemand" | "Anglais" | "Arts appliqués et culture artistique" | "Arts plastiques" | "Arts" | "Autre enseignement professionnel" | "Biochimie-Biologie" | "Biologie et physiopathologie humaines" | "Biologie-Écologie" | "Biotechnologies" | "Bâtiment" | "CEJM" | "Chinois" | "Commerce international" | "Communication" | "Comptabilité" | "Conjugaison" | "Culture générale et expression" | "Documentation" | "Droit" | "Economie et Gestion" | "Enseignement Scientifique" | "Enseignement scientifique" | "Enseignements spécifiques STL" | "Espagnol" | "Français" | "Gestion administrative" | "Gestion commerciale" | "Gestion de la PME" | "Gestion" | "Grammaire" | "Géographie" | "Histoire des Arts" | "Histoire" | "Histoire-Géographie, géopolitique et sciences politiques" | "Histoire-Géographie-EMC" | "Humanités, littérature et philosophie" | "Hôtellerie restauration" | "Informatique" | "Ingénierie et développement durable" | "Innovation technologique" | "Italien" | "Langue vivante rare" | "Langues, littératures et cultures étrangères et régionales" | "Logistique" | "Maintenance" | "Management commercial opérationnel" | "Management" | "Mathématiques" | "Mercatique" | "Mécanique" | "Numérique et sciences informatiques" | "Négociation et relation client" | "Orthographe" | "Outils et langages numériques" | "PSE" | "Philosophie" | "Physique-Chimie pour la santé" | "Physique-Chimie" | "Prévention Santé Environnement" | "Relation client" | "SES" | "SNT" | "SVT" | "Sciences appliquées" | "Sciences de gestion et numérique" | "Sciences de la vie et de la Terre" | "Sciences et Technologie" | "Sciences et techniques sanitaires et sociales" | "Sciences numériques et technologie" | "Sciences physiques et chimiques en laboratoire" | "Sciences physiques" | "Sciences économiques et sociales" | "Sciences" | "Technologie" | "Transport" | "Économie et gestion hôtellière" | "Économie" | "Économie-Droit" | "Économie-Gestion" | "Éducation civique" | "Éducation musicale" | null | undefined)[] | undefined;
|
|
19
|
-
sortByQuery?: "id" | "slug" | "url" | "
|
|
19
|
+
sortByQuery?: "id" | "slug" | "url" | "name" | "schoolTypes" | "hasBooks" | "newsletterUrl" | "tags" | {} | undefined;
|
|
20
20
|
}) => Subject[]) & import("reselect").OutputSelectorFields<(args_0: Subject[], args_1: {
|
|
21
21
|
ids?: Subject["id"][] | undefined;
|
|
22
22
|
slugs?: Subject["slug"][] | undefined;
|
|
@@ -25,7 +25,7 @@ export declare const getSubjects: (state: import("@lls/utils").TState<Subject>)
|
|
|
25
25
|
schoolTypes?: (string | undefined)[] | undefined;
|
|
26
26
|
hasBooks?: Subject["hasBooks"];
|
|
27
27
|
names?: ("Autre" | "Design et métiers d'art" | "Langues et cultures de l'Antiquité" | "Littérature, langues et cultures de l'Antiquité" | "Sciences de l'ingénieur" | "Support à l'action managériale" | "Allemand" | "Anglais" | "Arts appliqués et culture artistique" | "Arts plastiques" | "Arts" | "Autre enseignement professionnel" | "Biochimie-Biologie" | "Biologie et physiopathologie humaines" | "Biologie-Écologie" | "Biotechnologies" | "Bâtiment" | "CEJM" | "Chinois" | "Commerce international" | "Communication" | "Comptabilité" | "Conjugaison" | "Culture générale et expression" | "Documentation" | "Droit" | "Economie et Gestion" | "Enseignement Scientifique" | "Enseignement scientifique" | "Enseignements spécifiques STL" | "Espagnol" | "Français" | "Gestion administrative" | "Gestion commerciale" | "Gestion de la PME" | "Gestion" | "Grammaire" | "Géographie" | "Histoire des Arts" | "Histoire" | "Histoire-Géographie, géopolitique et sciences politiques" | "Histoire-Géographie-EMC" | "Humanités, littérature et philosophie" | "Hôtellerie restauration" | "Informatique" | "Ingénierie et développement durable" | "Innovation technologique" | "Italien" | "Langue vivante rare" | "Langues, littératures et cultures étrangères et régionales" | "Logistique" | "Maintenance" | "Management commercial opérationnel" | "Management" | "Mathématiques" | "Mercatique" | "Mécanique" | "Numérique et sciences informatiques" | "Négociation et relation client" | "Orthographe" | "Outils et langages numériques" | "PSE" | "Philosophie" | "Physique-Chimie pour la santé" | "Physique-Chimie" | "Prévention Santé Environnement" | "Relation client" | "SES" | "SNT" | "SVT" | "Sciences appliquées" | "Sciences de gestion et numérique" | "Sciences de la vie et de la Terre" | "Sciences et Technologie" | "Sciences et techniques sanitaires et sociales" | "Sciences numériques et technologie" | "Sciences physiques et chimiques en laboratoire" | "Sciences physiques" | "Sciences économiques et sociales" | "Sciences" | "Technologie" | "Transport" | "Économie et gestion hôtellière" | "Économie" | "Économie-Droit" | "Économie-Gestion" | "Éducation civique" | "Éducation musicale" | null | undefined)[] | undefined;
|
|
28
|
-
sortByQuery?: "id" | "slug" | "url" | "
|
|
28
|
+
sortByQuery?: "id" | "slug" | "url" | "name" | "schoolTypes" | "hasBooks" | "newsletterUrl" | "tags" | {} | undefined;
|
|
29
29
|
}) => Subject[], {
|
|
30
30
|
clearCache: () => void;
|
|
31
31
|
}> & {
|
package/lib/index.js
CHANGED
|
@@ -749,12 +749,12 @@ init_define_import_meta();
|
|
|
749
749
|
import { createSearchSelector, makeGetAllEntities, makeGetEntityById } from "@lls/utils";
|
|
750
750
|
import { useMemo } from "react";
|
|
751
751
|
import { useSelector } from "react-redux";
|
|
752
|
-
var crud = (entityName, { search:
|
|
752
|
+
var crud = (entityName, { search: search29 }) => {
|
|
753
753
|
const getElements = makeGetAllEntities(entityName);
|
|
754
754
|
const makeSearchElements = () => createSearchSelector(
|
|
755
755
|
makeGetAllEntities(entityName),
|
|
756
756
|
(_state, params) => params,
|
|
757
|
-
(elements, params) =>
|
|
757
|
+
(elements, params) => search29(params)(elements)
|
|
758
758
|
);
|
|
759
759
|
const methodName = `${entityName.charAt(0).toUpperCase()}${entityName.slice(1)}`;
|
|
760
760
|
const getElementById = makeGetEntityById(entityName);
|
|
@@ -764,7 +764,7 @@ var crud = (entityName, { search: search30 }) => {
|
|
|
764
764
|
[`search${methodName}`]: makeSearchElements(),
|
|
765
765
|
[`get${methodName.replace(/s$/, "")}`]: getElementById,
|
|
766
766
|
[`makeSearch${methodName}`]: makeSearchElements,
|
|
767
|
-
[`filter${methodName}`]:
|
|
767
|
+
[`filter${methodName}`]: search29,
|
|
768
768
|
[`useSearch${methodName}`]: useSearch
|
|
769
769
|
};
|
|
770
770
|
return back;
|
|
@@ -972,7 +972,7 @@ var search9 = ({ ids, read, pageIds }) => {
|
|
|
972
972
|
return makeEntitiesFilter7({ read, id: ids, page: pageIds });
|
|
973
973
|
};
|
|
974
974
|
var makeSearchCopyNotifications = () => createSearchSelector3(
|
|
975
|
-
[makeGetCurrentUser(), makeGetAllEntities2("copyNotifications"), (
|
|
975
|
+
[makeGetCurrentUser(), makeGetAllEntities2("copyNotifications"), (_17, params) => params],
|
|
976
976
|
(currentUser, copyNotifications, { pageIds, read }) => {
|
|
977
977
|
const ids = currentUser?.copyNotifications;
|
|
978
978
|
return search9({ ids, read, pageIds })(copyNotifications);
|
|
@@ -1000,7 +1000,7 @@ var search11 = ({ ids, read, pageIds }) => {
|
|
|
1000
1000
|
return makeEntitiesFilter9({ read, id: ids, page: pageIds });
|
|
1001
1001
|
};
|
|
1002
1002
|
var makeSearchDrawerNotifications = () => createSearchSelector4(
|
|
1003
|
-
[makeGetCurrentUser(), makeGetAllEntities3("drawerNotifications"), (
|
|
1003
|
+
[makeGetCurrentUser(), makeGetAllEntities3("drawerNotifications"), (_17, params) => params],
|
|
1004
1004
|
(currentUser, drawerNotifications, { read, pageIds }) => {
|
|
1005
1005
|
const ids = currentUser?.drawerNotifications;
|
|
1006
1006
|
return search11({ ids, read, pageIds })(drawerNotifications);
|
|
@@ -1287,18 +1287,10 @@ var { getBuilderIos, getBuilderIo, useSearchBuilderIos } = crud("builderIos", {
|
|
|
1287
1287
|
search: search28
|
|
1288
1288
|
});
|
|
1289
1289
|
|
|
1290
|
-
// src/selectors/circonscription.ts
|
|
1291
|
-
init_define_import_meta();
|
|
1292
|
-
import _14 from "lodash/fp.js";
|
|
1293
|
-
var search29 = (_params) => _14.identity;
|
|
1294
|
-
var { getCirconscriptions } = crud("circonscriptions", {
|
|
1295
|
-
search: search29
|
|
1296
|
-
});
|
|
1297
|
-
|
|
1298
1290
|
// src/reducers/entities.ts
|
|
1299
1291
|
init_define_import_meta();
|
|
1300
1292
|
import { makeReducer } from "@lls/utils";
|
|
1301
|
-
import
|
|
1293
|
+
import _14 from "lodash/fp.js";
|
|
1302
1294
|
|
|
1303
1295
|
// src/actions/index.ts
|
|
1304
1296
|
init_define_import_meta();
|
|
@@ -1321,16 +1313,16 @@ var resetAuth = makeActionCreator(actionTypes.RESET_AUTH);
|
|
|
1321
1313
|
// src/reducers/entities.ts
|
|
1322
1314
|
var deleteEntityReducer = (state, payload) => {
|
|
1323
1315
|
const { path } = payload;
|
|
1324
|
-
return
|
|
1316
|
+
return _14.omit(path, state);
|
|
1325
1317
|
};
|
|
1326
1318
|
var updateEntityReducer = (state, payload) => {
|
|
1327
1319
|
const { path, entity } = payload;
|
|
1328
|
-
const currentEntity =
|
|
1329
|
-
return
|
|
1320
|
+
const currentEntity = _14.get(path, state);
|
|
1321
|
+
return _14.set(path, _14.merge(currentEntity, entity), state);
|
|
1330
1322
|
};
|
|
1331
1323
|
var setEntityReducer = (state, payload) => {
|
|
1332
1324
|
const { path, entity } = payload;
|
|
1333
|
-
return
|
|
1325
|
+
return _14.set(path, entity, state);
|
|
1334
1326
|
};
|
|
1335
1327
|
var setEntitiesReducer = (state, payload) => {
|
|
1336
1328
|
if (typeof payload !== "object") return state;
|
|
@@ -1351,7 +1343,7 @@ var setEntitiesReducer = (state, payload) => {
|
|
|
1351
1343
|
}
|
|
1352
1344
|
const diff = Object.keys(entity).some((prop) => {
|
|
1353
1345
|
const value = entity[prop];
|
|
1354
|
-
if (!
|
|
1346
|
+
if (!_14.isEqual(state[entityName]?.[id]?.[prop], value)) {
|
|
1355
1347
|
return true;
|
|
1356
1348
|
}
|
|
1357
1349
|
});
|
|
@@ -1383,7 +1375,7 @@ var entities_default = entities;
|
|
|
1383
1375
|
// src/reducers/auth.ts
|
|
1384
1376
|
init_define_import_meta();
|
|
1385
1377
|
import { makeReducer as makeReducer2 } from "@lls/utils";
|
|
1386
|
-
import
|
|
1378
|
+
import _15 from "lodash/fp.js";
|
|
1387
1379
|
var initialState = {
|
|
1388
1380
|
id: void 0,
|
|
1389
1381
|
role: null,
|
|
@@ -1396,15 +1388,15 @@ var initialState = {
|
|
|
1396
1388
|
llsUserId: null
|
|
1397
1389
|
};
|
|
1398
1390
|
var auth = makeReducer2(initialState, {
|
|
1399
|
-
[actionTypes.SET_AUTH]:
|
|
1400
|
-
[actionTypes.RESET_AUTH]:
|
|
1391
|
+
[actionTypes.SET_AUTH]: _15.assign,
|
|
1392
|
+
[actionTypes.RESET_AUTH]: _15.constant(initialState)
|
|
1401
1393
|
});
|
|
1402
1394
|
var auth_default = auth;
|
|
1403
1395
|
|
|
1404
1396
|
// src/schema/index.ts
|
|
1405
1397
|
init_define_import_meta();
|
|
1406
1398
|
var import_normalizr = __toESM(require_normalizr(), 1);
|
|
1407
|
-
import
|
|
1399
|
+
import _16 from "lodash/fp.js";
|
|
1408
1400
|
var document = new import_normalizr.schema.Entity("documents", {}, { idAttribute: "resourceId" });
|
|
1409
1401
|
var subject = new import_normalizr.schema.Entity("subjects");
|
|
1410
1402
|
var level = new import_normalizr.schema.Entity("levels");
|
|
@@ -1439,7 +1431,6 @@ var schoolType = new import_normalizr.schema.Entity("schoolTypes");
|
|
|
1439
1431
|
var panorama = new import_normalizr.schema.Entity("panoramas");
|
|
1440
1432
|
var premiumResource = new import_normalizr.schema.Entity("premiumResources");
|
|
1441
1433
|
var garDivision = new import_normalizr.schema.Entity("garDivisions");
|
|
1442
|
-
var circonscription = new import_normalizr.schema.Entity("circonscriptions");
|
|
1443
1434
|
var define = (el, scheme) => {
|
|
1444
1435
|
el.define(scheme);
|
|
1445
1436
|
return scheme;
|
|
@@ -1601,8 +1592,7 @@ var querySchema = {
|
|
|
1601
1592
|
communityProjects: [communityProjects],
|
|
1602
1593
|
createAnalytics: analytic,
|
|
1603
1594
|
faq: [faq],
|
|
1604
|
-
builderIos: [builderIo]
|
|
1605
|
-
circonscriptions: [circonscription]
|
|
1595
|
+
builderIos: [builderIo]
|
|
1606
1596
|
},
|
|
1607
1597
|
static: {
|
|
1608
1598
|
projetVoltaire: {
|
|
@@ -1610,7 +1600,7 @@ var querySchema = {
|
|
|
1610
1600
|
}
|
|
1611
1601
|
}
|
|
1612
1602
|
};
|
|
1613
|
-
var normalizeData =
|
|
1603
|
+
var normalizeData = _16.flow((data) => (0, import_normalizr.normalize)(data, querySchema));
|
|
1614
1604
|
export {
|
|
1615
1605
|
auth_default as authReducer,
|
|
1616
1606
|
entities_default as entitiesReducer,
|
|
@@ -1624,7 +1614,6 @@ export {
|
|
|
1624
1614
|
getBuilderIos,
|
|
1625
1615
|
getChapter,
|
|
1626
1616
|
getChapters,
|
|
1627
|
-
getCirconscriptions,
|
|
1628
1617
|
getCollection,
|
|
1629
1618
|
getCollections,
|
|
1630
1619
|
getCommunityProject,
|
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.2.0
|
|
5
|
+
"version": "24.2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"types": "./lib/builttypes/store/src/index.d.ts",
|
|
8
8
|
"exports": {
|
|
@@ -30,27 +30,25 @@
|
|
|
30
30
|
"redux": "*"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@biomejs/biome": "1.9.
|
|
34
|
-
"@happy-dom/global-registrator": "15.7.4",
|
|
33
|
+
"@biomejs/biome": "1.9.1",
|
|
35
34
|
"@testing-library/react": "16.0.1",
|
|
36
|
-
"@types/lodash": "4.17.
|
|
37
|
-
"@types/node": "22.
|
|
38
|
-
"@types/react": "18.3.
|
|
35
|
+
"@types/lodash": "4.17.7",
|
|
36
|
+
"@types/node": "22.5.5",
|
|
37
|
+
"@types/react": "18.3.6",
|
|
39
38
|
"@types/react-redux": "7.1.34",
|
|
40
|
-
"@vitejs/plugin-react-swc": "3.7.
|
|
41
|
-
"esbuild": "0.
|
|
42
|
-
"happy-dom": "15.7.4",
|
|
39
|
+
"@vitejs/plugin-react-swc": "3.7.0",
|
|
40
|
+
"esbuild": "0.23.1",
|
|
43
41
|
"lodash": "4.17.21",
|
|
44
42
|
"react": "18.3.1",
|
|
45
43
|
"react-redux": "8.1.1",
|
|
46
44
|
"redux": "5.0.1",
|
|
47
45
|
"reselect": "4.1.8",
|
|
48
|
-
"typescript": "5.6.
|
|
49
|
-
"vite": "5.4.
|
|
46
|
+
"typescript": "5.6.2",
|
|
47
|
+
"vite": "5.4.6",
|
|
50
48
|
"vite-tsconfig-paths": "5.0.1",
|
|
51
|
-
"vitest": "2.1.
|
|
52
|
-
"@lls/utils": "24.2.0
|
|
53
|
-
"@lls/vitescripts": "24.2.0
|
|
49
|
+
"vitest": "2.1.1",
|
|
50
|
+
"@lls/utils": "24.2.0",
|
|
51
|
+
"@lls/vitescripts": "24.2.0"
|
|
54
52
|
},
|
|
55
53
|
"license": "ISC",
|
|
56
54
|
"dependencies": {
|
|
@@ -60,7 +58,6 @@
|
|
|
60
58
|
"build": "node build.mjs",
|
|
61
59
|
"lint": "pnpm biome check --apply src __tests__",
|
|
62
60
|
"dts": "pnpm tsc --project tsconfig.production.json",
|
|
63
|
-
"test": "pnpm vitest run"
|
|
64
|
-
"v2test": "bun test"
|
|
61
|
+
"test": "pnpm vitest run"
|
|
65
62
|
}
|
|
66
63
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getCirconscriptions: (state: import("@lls/utils/index").TState<import("../types/models").Circonscription>) => import("../types/models").Circonscription[];
|