jamespot-front-business 1.1.21 → 1.1.22

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/dist/types.d.ts CHANGED
@@ -8,9 +8,8 @@ import { Dispatch } from 'redux';
8
8
  import React from 'react';
9
9
  import { MapCreationFront as MapCreationFront$1 } from 'src/types';
10
10
  import { Loading as Loading$1 } from 'src/types/utils';
11
- import * as immer_dist_internal from 'immer/dist/internal';
12
11
 
13
- type ApplicationRootState = {
12
+ declare type ApplicationRootState = {
14
13
  entities: {
15
14
  applications: EntityState<ApplicationType>;
16
15
  };
@@ -47,9 +46,9 @@ declare const Application: {
47
46
  selectors: _reduxjs_toolkit.EntitySelectors<ApplicationType, ApplicationRootState>;
48
47
  };
49
48
 
50
- type RootState = Partial<ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ToastRootState & TVDisplayRootState & WidgetsRootState & WidgetsRootState & WedocAppRootState & ShareRootState>;
51
- type RootDispatch = Dispatch<Action>;
52
- type ThunkApiConfig<T> = {
49
+ declare type RootState = Partial<ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ToastRootState & TVDisplayRootState & WidgetsRootState & WidgetsRootState & WedocAppRootState & ShareRootState>;
50
+ declare type RootDispatch = Dispatch<Action>;
51
+ declare type ThunkApiConfig<T> = {
53
52
  dispatch: any;
54
53
  state: RootState & T;
55
54
  extra: {
@@ -57,7 +56,7 @@ type ThunkApiConfig<T> = {
57
56
  };
58
57
  };
59
58
 
60
- type ReservationForm = {
59
+ declare type ReservationForm = {
61
60
  date: string;
62
61
  hourStart: string;
63
62
  hourEnd: string;
@@ -65,7 +64,7 @@ type ReservationForm = {
65
64
  description?: string;
66
65
  };
67
66
 
68
- type MapCreationFront = {
67
+ declare type MapCreationFront = {
69
68
  title: string;
70
69
  type: string;
71
70
  flavor: string;
@@ -75,11 +74,11 @@ type MapCreationFront = {
75
74
  assignLicense: boolean;
76
75
  };
77
76
 
78
- type Loading = {
77
+ declare type Loading = {
79
78
  loading: 'idle' | 'pending';
80
79
  };
81
80
 
82
- type ReservationState = Loading & {
81
+ declare type ReservationState = Loading & {
83
82
  entities: ReservationList[];
84
83
  nbResults: number;
85
84
  form: ReservationForm;
@@ -88,7 +87,7 @@ interface ReservationRootState {
88
87
  reservation: ReservationState;
89
88
  }
90
89
 
91
- type BookableAssetState = Loading & {
90
+ declare type BookableAssetState = Loading & {
92
91
  entities: BookableAssetList[];
93
92
  nbResults: number;
94
93
  };
@@ -96,12 +95,12 @@ interface BookableAssetRootState {
96
95
  bookableAsset: BookableAssetState;
97
96
  }
98
97
 
99
- type Configuration = AssetReservationConfiguration & Loading;
98
+ declare type Configuration = AssetReservationConfiguration & Loading;
100
99
  interface ConfigurationRootState {
101
100
  configuration: Configuration;
102
101
  }
103
102
 
104
- type AssetReservationRootState = {
103
+ declare type AssetReservationRootState = {
105
104
  assetReservation: BookableAssetRootState & ConfigurationRootState & ReservationRootState;
106
105
  };
107
106
  declare const AssetReservation: {
@@ -164,7 +163,7 @@ declare const AssetReservation: {
164
163
  };
165
164
  };
166
165
 
167
- type bookmarkEditState = Loading & {
166
+ declare type bookmarkEditState = Loading & {
168
167
  bookmark: BookmarkRawList | undefined;
169
168
  status: 'success' | 'error' | undefined;
170
169
  };
@@ -172,12 +171,12 @@ interface bookmarkEditRootState {
172
171
  bookmarkEdit: bookmarkEditState;
173
172
  }
174
173
 
175
- type ToastType = 'success' | 'warning' | 'error';
176
- type ToastRootState = {
174
+ declare type ToastType = 'success' | 'warning' | 'error';
175
+ declare type ToastRootState = {
177
176
  toasts: EntityState<ToastEntity>;
178
177
  };
179
- type intlValuesType = Record<string, string | number | boolean | null | undefined | Date | React.ReactElement | ((children: string) => React.ReactElement)>;
180
- type ToastEntity = {
178
+ declare type intlValuesType = Record<string, string | number | boolean | null | undefined | Date | React.ReactElement | ((children: string) => React.ReactElement)>;
179
+ declare type ToastEntity = {
181
180
  id: string;
182
181
  label: string | {
183
182
  id: string;
@@ -196,7 +195,7 @@ declare const actions: {
196
195
  warning: (toast: Toast, timeout?: number) => (dispatch: Dispatch$1) => string;
197
196
  error: (toast: Toast, timeout?: number) => (dispatch: Dispatch$1) => string;
198
197
  };
199
- type Toast = {
198
+ declare type Toast = {
200
199
  id?: string;
201
200
  label: string | {
202
201
  id: string;
@@ -235,7 +234,7 @@ declare const Toast: {
235
234
  selectors: _reduxjs_toolkit.EntitySelectors<ToastEntity, ToastRootState>;
236
235
  };
237
236
 
238
- type bookmarkListState = Loading & {
237
+ declare type bookmarkListState = Loading & {
239
238
  bookmarks: BookmarkRawList[];
240
239
  nbResults: number;
241
240
  status: 'success' | 'error' | undefined;
@@ -255,7 +254,7 @@ interface bookmarkListRootState {
255
254
  bookmarkList: bookmarkListState;
256
255
  }
257
256
 
258
- type BookmarkRootState = {
257
+ declare type BookmarkRootState = {
259
258
  bookmark: bookmarkListRootState & bookmarkEditRootState;
260
259
  };
261
260
  declare const Bookmark: {
@@ -367,7 +366,7 @@ declare const Bookmark: {
367
366
  };
368
367
  getRTHandlers: (dispatch: redux.Dispatch<any>) => ({
369
368
  namespace: "BOOKMARKS";
370
- function: "delete" | "add" | "update";
369
+ function: "add" | "delete" | "update";
371
370
  handler: (message: jamespot_user_api.RTMessageObject<"BOOKMARKS", "update", jamespot_user_api.jObjectBase> | jamespot_user_api.RTMessageObject<"BOOKMARKS", "add", jamespot_user_api.jObjectBase> | jamespot_user_api.RTMessageObject<"BOOKMARKS", "delete", jamespot_user_api.jObjectBase>) => void;
372
371
  } | {
373
372
  namespace: "CUSTOM-ACTION";
@@ -376,7 +375,7 @@ declare const Bookmark: {
376
375
  })[];
377
376
  };
378
377
 
379
- type FaqConfigState = Loading & Partial<FaqHookProperties> & {
378
+ declare type FaqConfigState = Loading & Partial<FaqHookProperties> & {
380
379
  taxonomyId?: string;
381
380
  };
382
381
  declare const FaqConfigSlice: _reduxjs_toolkit.Slice<FaqConfigState, {}, "config">;
@@ -387,7 +386,7 @@ declare const FaqSlice: {
387
386
  config: FaqConfigState;
388
387
  }>, redux.AnyAction>;
389
388
  };
390
- type FaqRootState = {
389
+ declare type FaqRootState = {
391
390
  [FaqSlice.name]: {
392
391
  [FaqConfigSlice.name]: FaqConfigState;
393
392
  };
@@ -419,19 +418,19 @@ declare const Faq: {
419
418
  };
420
419
  };
421
420
 
422
- type MapCreateState = Loading$1 & {
421
+ declare type MapCreateState = Loading$1 & {
423
422
  map: MapCreationFront$1;
424
423
  status: 'success' | 'error' | undefined;
425
424
  msg: string | undefined;
426
425
  };
427
- type MapCreateRootState = {
426
+ declare type MapCreateRootState = {
428
427
  mapCreate: MapCreateState;
429
428
  };
430
429
 
431
- type JLandMapFront$1 = JLandMap & {
430
+ declare type JLandMapFront$1 = JLandMap & {
432
431
  urlToJland?: string;
433
432
  };
434
- type JLandMapListState = {
433
+ declare type JLandMapListState = {
435
434
  maps: Array<JLandMapFront$1>;
436
435
  availableLicenses: AdminLicensesNotAssigned;
437
436
  loading: 'idle' | 'pending';
@@ -441,14 +440,14 @@ type JLandMapListState = {
441
440
  };
442
441
  loadingMapDeletion: 'idle' | 'pending';
443
442
  };
444
- type JLandMapListRootState = {
443
+ declare type JLandMapListRootState = {
445
444
  jLandMapList: JLandMapListState;
446
445
  };
447
446
 
448
- type JLandMapFront = JLandMap & {
447
+ declare type JLandMapFront = JLandMap & {
449
448
  urlToJland?: string;
450
449
  };
451
- type JLandRootState = {
450
+ declare type JLandRootState = {
452
451
  jland: JLandMapListRootState & MapCreateRootState;
453
452
  };
454
453
  declare const jland: {
@@ -569,7 +568,7 @@ declare const jland: {
569
568
  };
570
569
  };
571
570
 
572
- type ModelRootState = {
571
+ declare type ModelRootState = {
573
572
  entities: {
574
573
  models: EntityState<Model$1>;
575
574
  };
@@ -616,18 +615,18 @@ declare const Model: {
616
615
  };
617
616
  };
618
617
 
619
- type Network$1 = {
618
+ declare type Network$1 = {
620
619
  uri: string;
621
620
  title: string;
622
621
  type: string;
623
622
  mainType: string;
624
623
  };
625
- type NetworkStaticsState = {
624
+ declare type NetworkStaticsState = {
626
625
  networkPublic?: Network$1;
627
626
  networkMe?: Network$1;
628
627
  };
629
628
  declare const NetworkStaticsSlice: _reduxjs_toolkit.Slice<NetworkStaticsState, {
630
- initNetworkStatics: (_: immer_dist_internal.WritableDraft<NetworkStaticsState>, { payload }: PayloadAction<NetworkStaticsState>) => NetworkStaticsState;
629
+ initNetworkStatics: (_: Draft<S>, { payload }: PayloadAction<NetworkStaticsState>) => NetworkStaticsState;
631
630
  }, "statics">;
632
631
 
633
632
  declare const NetworkSlice: {
@@ -636,7 +635,7 @@ declare const NetworkSlice: {
636
635
  statics: NetworkStaticsState;
637
636
  }>, redux.AnyAction>;
638
637
  };
639
- type NetworkRootState = {
638
+ declare type NetworkRootState = {
640
639
  [NetworkSlice.name]: {
641
640
  [NetworkStaticsSlice.name]: NetworkStaticsState;
642
641
  };
@@ -668,7 +667,7 @@ declare const Network: {
668
667
  };
669
668
  };
670
669
 
671
- type WedocAppState = {
670
+ declare type WedocAppState = {
672
671
  entities: WedocFileType[];
673
672
  nbEntities: number;
674
673
  entitiesRecent: WedocFileType[];
@@ -679,21 +678,21 @@ type WedocAppState = {
679
678
  page: number;
680
679
  };
681
680
 
682
- type WedocAppRootState = {
681
+ declare type WedocAppRootState = {
683
682
  wedoc: WedocAppState;
684
683
  };
685
- type WedocAppTabKeys = 'my-documents' | 'all-documents';
684
+ declare type WedocAppTabKeys = 'my-documents' | 'all-documents';
686
685
  declare const WedocApp: {
687
686
  slice: _reduxjs_toolkit.Slice<WedocAppState, {
688
- update: (state: immer_dist_internal.WritableDraft<WedocAppState>, action: {
687
+ update: (state: Draft<S>, action: {
689
688
  payload: jamespot_user_api.WedocFileType;
690
689
  type: string;
691
690
  }) => void;
692
- setQuery: (state: immer_dist_internal.WritableDraft<WedocAppState>, action: {
691
+ setQuery: (state: Draft<S>, action: {
693
692
  payload: string;
694
693
  type: string;
695
694
  }) => void;
696
- setTab: (state: immer_dist_internal.WritableDraft<WedocAppState>, action: {
695
+ setTab: (state: Draft<S>, action: {
697
696
  payload: WedocAppTabKeys;
698
697
  type: string;
699
698
  }) => void;
@@ -745,18 +744,18 @@ declare const WedocApp: {
745
744
  };
746
745
  };
747
746
 
748
- type ShareAppState = {
747
+ declare type ShareAppState = {
749
748
  entities: jUserLittle[];
750
749
  nbEntities: number;
751
750
  loading: 'idle' | 'pending';
752
751
  };
753
752
 
754
- type ShareRootState = {
753
+ declare type ShareRootState = {
755
754
  share: ShareAppState;
756
755
  };
757
756
  declare const Share: {
758
757
  slice: _reduxjs_toolkit.Slice<ShareAppState, {
759
- remove: (state: immer_dist_internal.WritableDraft<ShareAppState>, action: {
758
+ remove: (state: Draft<S>, action: {
760
759
  payload: number;
761
760
  type: string;
762
761
  }) => void;
@@ -786,17 +785,17 @@ declare const Share: {
786
785
  };
787
786
  };
788
787
 
789
- type ChannelsListState = Loading & {
788
+ declare type ChannelsListState = Loading & {
790
789
  channels: PagingResults<TVChannelList> | undefined;
791
790
  loadingChannelDeletion: 'idle' | 'pending';
792
791
  };
793
- type ChannelsListRootState = {
792
+ declare type ChannelsListRootState = {
794
793
  channelsList: ChannelsListState;
795
794
  };
796
795
 
797
796
  declare function isChannelConfigured(channel: TVChannelList): boolean;
798
797
 
799
- type TVDisplayRootState = {
798
+ declare type TVDisplayRootState = {
800
799
  tvDisplay: ChannelsListRootState;
801
800
  };
802
801
  declare const TVDisplay: {
@@ -846,15 +845,15 @@ declare const TVDisplay: {
846
845
  };
847
846
  };
848
847
 
849
- type UserCurrentRootState = {
848
+ declare type UserCurrentRootState = {
850
849
  userCurrent: jUserList;
851
850
  };
852
851
  declare const slice: _reduxjs_toolkit.Slice<jUserList, {
853
- init: (_: immer_dist_internal.WritableDraft<jUserList>, { payload }: PayloadAction<jUserList>) => jUserList;
852
+ init: (_: Draft<S>, { payload }: PayloadAction<jUserList>) => jUserList;
854
853
  }, "userCurrent">;
855
854
  declare const UserCurrent: {
856
855
  slice: _reduxjs_toolkit.Slice<jUserList, {
857
- init: (_: immer_dist_internal.WritableDraft<jUserList>, { payload }: PayloadAction<jUserList>) => jUserList;
856
+ init: (_: Draft<S>, { payload }: PayloadAction<jUserList>) => jUserList;
858
857
  }, "userCurrent">;
859
858
  actions: {
860
859
  init: _reduxjs_toolkit.ActionCreatorWithPayload<jUserList, "userCurrent/init">;
@@ -899,7 +898,7 @@ declare function widgetDefinition(name: WidgetKeys | undefined): WidgetDefinitio
899
898
 
900
899
  declare const MODE_EDIT = "edit";
901
900
  declare const MODE_VIEW = "view";
902
- type WidgetModalProps = {
901
+ declare type WidgetModalProps = {
903
902
  title?: string;
904
903
  view?: any;
905
904
  };
@@ -911,29 +910,29 @@ declare const Widget: {
911
910
  uniqid: typeof uniqid;
912
911
  };
913
912
  slice: _reduxjs_toolkit.Slice<WidgetsState, {
914
- registerWidget: (state: immer_dist_internal.WritableDraft<WidgetsState>, action: PayloadAction<{
913
+ registerWidget: (state: Draft<S>, action: PayloadAction<{
915
914
  uniqid: string;
916
915
  widget: WidgetWrapperProps;
917
916
  }>) => void;
918
- updateWidget: (state: immer_dist_internal.WritableDraft<WidgetsState>, action: PayloadAction<{
917
+ updateWidget: (state: Draft<S>, action: PayloadAction<{
919
918
  uniqid: string;
920
919
  content: CombinedWidgetContent;
921
920
  override?: boolean;
922
921
  }>) => void;
923
- flushWidget: (state: immer_dist_internal.WritableDraft<WidgetsState>, action: PayloadAction<{
922
+ flushWidget: (state: Draft<S>, action: PayloadAction<{
924
923
  uniqid: string;
925
924
  }>) => void;
926
- flushAllWidget: (state: immer_dist_internal.WritableDraft<WidgetsState>) => void;
927
- updateWidgetWrapper: (state: immer_dist_internal.WritableDraft<WidgetsState>, action: PayloadAction<{
925
+ flushAllWidget: (state: Draft<S>) => void;
926
+ updateWidgetWrapper: (state: Draft<S>, action: PayloadAction<{
928
927
  uniqid: string;
929
928
  title?: string;
930
929
  position?: WidgetVector;
931
930
  }>) => void;
932
- registerLayer: (state: immer_dist_internal.WritableDraft<WidgetsState>, action: PayloadAction<{
931
+ registerLayer: (state: Draft<S>, action: PayloadAction<{
933
932
  uniqid: string;
934
933
  widget: WidgetWrapperProps;
935
934
  }>) => void;
936
- updateLayer: (state: immer_dist_internal.WritableDraft<WidgetsState>, action: PayloadAction<{
935
+ updateLayer: (state: Draft<S>, action: PayloadAction<{
937
936
  uniqid: string;
938
937
  props: {
939
938
  locked?: boolean;
@@ -944,31 +943,31 @@ declare const Widget: {
944
943
  };
945
944
  };
946
945
  }>) => void;
947
- flushLayer: (state: immer_dist_internal.WritableDraft<WidgetsState>, action: PayloadAction<{
946
+ flushLayer: (state: Draft<S>, action: PayloadAction<{
948
947
  uniqid: string;
949
948
  layerId: string;
950
949
  }>) => void;
951
- prevEditableIndex: (state: immer_dist_internal.WritableDraft<WidgetsState>) => void;
952
- nextEditableIndex: (state: immer_dist_internal.WritableDraft<WidgetsState>) => void;
953
- setEditableIndex: (state: immer_dist_internal.WritableDraft<WidgetsState>, action: PayloadAction<{
950
+ prevEditableIndex: (state: Draft<S>) => void;
951
+ nextEditableIndex: (state: Draft<S>) => void;
952
+ setEditableIndex: (state: Draft<S>, action: PayloadAction<{
954
953
  index: number;
955
954
  }>) => void;
956
- setEditableWidgetId: (state: immer_dist_internal.WritableDraft<WidgetsState>, action: PayloadAction<{
955
+ setEditableWidgetId: (state: Draft<S>, action: PayloadAction<{
957
956
  uniqid: string | undefined;
958
957
  }>) => void;
959
- registerEditableWidget: (state: immer_dist_internal.WritableDraft<WidgetsState>, action: PayloadAction<{
958
+ registerEditableWidget: (state: Draft<S>, action: PayloadAction<{
960
959
  index: number;
961
960
  uniqid: string;
962
961
  }>) => void;
963
- setToken: (state: immer_dist_internal.WritableDraft<WidgetsState>, action: PayloadAction<{
962
+ setToken: (state: Draft<S>, action: PayloadAction<{
964
963
  token: string;
965
964
  }>) => void;
966
- setWidgetState: (state: immer_dist_internal.WritableDraft<WidgetsState>, action: PayloadAction<{
965
+ setWidgetState: (state: Draft<S>, action: PayloadAction<{
967
966
  uniqid: string;
968
967
  } & WidgetStateProps>) => void;
969
- setAllWidgetStates: (state: immer_dist_internal.WritableDraft<WidgetsState>, action: PayloadAction<WidgetStateProps>) => void;
970
- registerModal: (state: immer_dist_internal.WritableDraft<WidgetsState>, action: PayloadAction<WidgetModalProps>) => void;
971
- flushModal: (state: immer_dist_internal.WritableDraft<WidgetsState>) => void;
968
+ setAllWidgetStates: (state: Draft<S>, action: PayloadAction<WidgetStateProps>) => void;
969
+ registerModal: (state: Draft<S>, action: PayloadAction<WidgetModalProps>) => void;
970
+ flushModal: (state: Draft<S>) => void;
972
971
  }, "widgets">;
973
972
  selectors: {
974
973
  selectToken: (state: WidgetsRootState) => string | undefined;
@@ -980,40 +979,40 @@ declare const Widget: {
980
979
  };
981
980
  };
982
981
 
983
- type EditorProps = {
982
+ declare type EditorProps = {
984
983
  uniqid: string;
985
984
  name: WidgetKeys;
986
985
  position: 'left' | 'right';
987
986
  popup?: boolean;
988
987
  view?: any;
989
988
  };
990
- type EditorsState = {
989
+ declare type EditorsState = {
991
990
  editors: EditorProps[];
992
991
  };
993
- type EditorsRootState = {
992
+ declare type EditorsRootState = {
994
993
  editors: EditorsState;
995
994
  };
996
995
  declare const WidgetEditor: {
997
996
  slice: _reduxjs_toolkit.Slice<EditorsState, {
998
- registerEditor: (state: immer_dist_internal.WritableDraft<EditorsState>, action: PayloadAction<{
997
+ registerEditor: (state: Draft<S>, action: PayloadAction<{
999
998
  uniqid: string;
1000
999
  name: keyof WidgetTypeKeys;
1001
1000
  }>) => void;
1002
- registerEditorPopup: (state: immer_dist_internal.WritableDraft<EditorsState>, action: PayloadAction<{
1001
+ registerEditorPopup: (state: Draft<S>, action: PayloadAction<{
1003
1002
  uniqid: string;
1004
1003
  view: any;
1005
1004
  }>) => void;
1006
- flushEditorPopup: (state: immer_dist_internal.WritableDraft<EditorsState>, action: PayloadAction<{
1005
+ flushEditorPopup: (state: Draft<S>, action: PayloadAction<{
1007
1006
  uniqid: string;
1008
1007
  }>) => void;
1009
- setEditorPosition: (state: immer_dist_internal.WritableDraft<EditorsState>, action: PayloadAction<{
1008
+ setEditorPosition: (state: Draft<S>, action: PayloadAction<{
1010
1009
  uniqid: string;
1011
1010
  position: 'left' | 'right';
1012
1011
  }>) => void;
1013
- flushEditor: (state: immer_dist_internal.WritableDraft<EditorsState>, action: PayloadAction<{
1012
+ flushEditor: (state: Draft<S>, action: PayloadAction<{
1014
1013
  uniqid: string;
1015
1014
  }>) => void;
1016
- flushAllEditor: (state: immer_dist_internal.WritableDraft<EditorsState>) => void;
1015
+ flushAllEditor: (state: Draft<S>) => void;
1017
1016
  }, "editors">;
1018
1017
  selectors: {
1019
1018
  selectEditors: (state: EditorsRootState) => EditorProps[];
package/package.json CHANGED
@@ -1,53 +1,53 @@
1
1
  {
2
- "name": "jamespot-front-business",
3
- "version": "1.1.21",
4
- "description": "typescript utils",
5
- "main": "dist/cjs.js",
6
- "module": "dist/esm.js",
7
- "types": "dist/types.d.ts",
8
- "scripts": {
9
- "build": "rollup -c",
10
- "watch": "rollup -c -w",
11
- "format": "prettier --write --plugin-search-dir=. .",
12
- "lint": "eslint --ignore-path .gitignore .",
13
- "test": "jest",
14
- "test:one": "jest --coverage=0",
15
- "test:clearJest": "jest --clearCache"
16
- },
17
- "repository": {
18
- "type": "git",
19
- "url": "git+ssh://git@github.com/Jamespot/jamespot-front-business.git"
20
- },
21
- "keywords": [
22
- "typescript",
23
- "jamespot",
24
- "api",
25
- "redux"
26
- ],
27
- "author": "Jamespot",
28
- "devDependencies": {
29
- "@changesets/cli": "^2.24.3",
30
- "@rollup/plugin-commonjs": "^22.0.2",
31
- "@rollup/plugin-typescript": "^8.3.3",
32
- "@types/jest": "^28.1.4",
33
- "@types/react": "^17.0.2",
34
- "@typescript-eslint/eslint-plugin": "^5.30.5",
35
- "@typescript-eslint/parser": "^5.30.5",
36
- "eslint": "^8.19.0",
37
- "eslint-config-prettier": "^8.5.0",
38
- "jest": "^28.1.2",
39
- "jest-environment-jsdom": "^29.0.1",
40
- "prettier": "^2.7.1",
41
- "rollup": "^2.75.7",
42
- "rollup-plugin-dts": "^4.2.2",
43
- "ts-jest": "^28.0.5",
44
- "tslib": "^2.4.0",
45
- "typescript": "^4.7.4"
46
- },
47
- "dependencies": {
48
- "@reduxjs/toolkit": "1.9.0",
49
- "jamespot-user-api": "^1.0.115",
50
- "react-redux": "7.2.9",
51
- "redux": "4.2.0"
52
- }
53
- }
2
+ "name": "jamespot-front-business",
3
+ "version": "1.1.22",
4
+ "description": "typescript utils",
5
+ "main": "dist/cjs.js",
6
+ "module": "dist/esm.js",
7
+ "types": "dist/types.d.ts",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+ssh://git@github.com/Jamespot/jamespot-front-business.git"
11
+ },
12
+ "keywords": [
13
+ "typescript",
14
+ "jamespot",
15
+ "api",
16
+ "redux"
17
+ ],
18
+ "author": "Jamespot",
19
+ "devDependencies": {
20
+ "@changesets/cli": "^2.24.3",
21
+ "@rollup/plugin-commonjs": "^22.0.2",
22
+ "@rollup/plugin-typescript": "^8.3.3",
23
+ "@types/jest": "^28.1.4",
24
+ "@types/react": "^17.0.2",
25
+ "@typescript-eslint/eslint-plugin": "^5.30.5",
26
+ "@typescript-eslint/parser": "^5.30.5",
27
+ "eslint": "^8.19.0",
28
+ "eslint-config-prettier": "^8.5.0",
29
+ "jest": "^28.1.2",
30
+ "jest-environment-jsdom": "^29.0.1",
31
+ "prettier": "^2.7.1",
32
+ "rollup": "^2.75.7",
33
+ "rollup-plugin-dts": "^4.2.2",
34
+ "ts-jest": "^28.0.5",
35
+ "tslib": "^2.4.0",
36
+ "typescript": "^4.7.4"
37
+ },
38
+ "dependencies": {
39
+ "@reduxjs/toolkit": "1.9.0",
40
+ "jamespot-user-api": "^1.0.116",
41
+ "react-redux": "7.2.9",
42
+ "redux": "4.2.0"
43
+ },
44
+ "scripts": {
45
+ "build": "rollup -c",
46
+ "watch": "rollup -c -w",
47
+ "format": "prettier --write --plugin-search-dir=. .",
48
+ "lint": "eslint --ignore-path .gitignore .",
49
+ "test": "jest",
50
+ "test:one": "jest --coverage=0",
51
+ "test:clearJest": "jest --clearCache"
52
+ }
53
+ }