jamespot-front-business 1.2.38 → 1.2.39

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
@@ -752,6 +752,10 @@ type ToastEntity = {
752
752
  description?: string;
753
753
  timeout: number;
754
754
  type: ToastType;
755
+ link?: {
756
+ label: string;
757
+ url: string;
758
+ };
755
759
  };
756
760
  type Toast$1 = Omit<ToastEntity, 'id' | 'timeout' | 'type'> & {
757
761
  id?: string;
@@ -906,6 +910,8 @@ type NetworkRootState = {
906
910
  type PlatformConfigState = {
907
911
  userHighlightFields?: string[];
908
912
  userAccountStatus: 0 | 1;
913
+ urlBase?: string;
914
+ sendAlert: 0 | 1;
909
915
  };
910
916
  type PlatformRootState = {
911
917
  platform: {
@@ -2555,10 +2561,10 @@ declare const Bookmark: {
2555
2561
  resetDeleteBookmarkStatus: _reduxjs_toolkit.ActionCreatorWithPayload<string, "bookmarkList/resetDeleteBookmarkStatus">;
2556
2562
  addBookmarkRT: _reduxjs_toolkit.ActionCreatorWithPayload<{
2557
2563
  type: "bookmarkLink";
2558
- value: string | null;
2559
2564
  id: number;
2560
- mainType: string;
2561
2565
  uri: string;
2566
+ mainType: string;
2567
+ value: string | null;
2562
2568
  srcId: number;
2563
2569
  srcType: string;
2564
2570
  targetId: number;
@@ -2575,10 +2581,10 @@ declare const Bookmark: {
2575
2581
  }, "bookmarkList/addBookmarkRT">;
2576
2582
  deleteBookmarkRT: _reduxjs_toolkit.ActionCreatorWithPayload<{
2577
2583
  type: "bookmarkLink";
2578
- value: string | null;
2579
2584
  id: number;
2580
- mainType: string;
2581
2585
  uri: string;
2586
+ mainType: string;
2587
+ value: string | null;
2582
2588
  srcId: number;
2583
2589
  srcType: string;
2584
2590
  targetId: number;
@@ -2595,10 +2601,10 @@ declare const Bookmark: {
2595
2601
  }, "bookmarkList/deleteBookmarkRT">;
2596
2602
  updateBookmarkRT: _reduxjs_toolkit.ActionCreatorWithPayload<{
2597
2603
  type: "bookmarkLink";
2598
- value: string | null;
2599
2604
  id: number;
2600
- mainType: string;
2601
2605
  uri: string;
2606
+ mainType: string;
2607
+ value: string | null;
2602
2608
  srcId: number;
2603
2609
  srcType: string;
2604
2610
  targetId: number;
@@ -2615,10 +2621,10 @@ declare const Bookmark: {
2615
2621
  }, "bookmarkList/updateBookmarkRT">;
2616
2622
  setEditBookmark: _reduxjs_toolkit.ActionCreatorWithPayload<{
2617
2623
  type: "bookmarkLink";
2618
- value: string | null;
2619
2624
  id: number;
2620
- mainType: string;
2621
2625
  uri: string;
2626
+ mainType: string;
2627
+ value: string | null;
2622
2628
  srcId: number;
2623
2629
  srcType: string;
2624
2630
  targetId: number;
@@ -2637,10 +2643,10 @@ declare const Bookmark: {
2637
2643
  resetStatus: _reduxjs_toolkit.ActionCreatorWithoutPayload<"bookmarkEdit/resetStatus">;
2638
2644
  fetchBookmark: _reduxjs_toolkit.AsyncThunk<jamespot_user_api.ApiPagingResults<{
2639
2645
  type: "bookmarkLink";
2640
- value: string | null;
2641
2646
  id: number;
2642
- mainType: string;
2643
2647
  uri: string;
2648
+ mainType: string;
2649
+ value: string | null;
2644
2650
  srcId: number;
2645
2651
  srcType: string;
2646
2652
  targetId: number;
@@ -2671,10 +2677,10 @@ declare const Bookmark: {
2671
2677
  }>;
2672
2678
  addBookmark: _reduxjs_toolkit.AsyncThunk<jamespot_user_api.ApiWrapper<{
2673
2679
  type: "bookmarkLink";
2674
- value: string | null;
2675
2680
  id: number;
2676
- mainType: string;
2677
2681
  uri: string;
2682
+ mainType: string;
2683
+ value: string | null;
2678
2684
  srcId: number;
2679
2685
  srcType: string;
2680
2686
  targetId: number;
@@ -2690,10 +2696,10 @@ declare const Bookmark: {
2690
2696
  bookmarkMeta?: string | null | undefined;
2691
2697
  } | {
2692
2698
  type: string;
2693
- value: string | null;
2694
2699
  id: number;
2695
- mainType: string;
2696
2700
  uri: string;
2701
+ mainType: string;
2702
+ value: string | null;
2697
2703
  srcId: number;
2698
2704
  srcType: string;
2699
2705
  targetId: number;
@@ -2713,10 +2719,10 @@ declare const Bookmark: {
2713
2719
  } | undefined;
2714
2720
  }, jamespot_user_api.BaseMessagesOne> | jamespot_user_api.ApiWrapper<{
2715
2721
  type: "bookmarkLink";
2716
- value: string | null;
2717
2722
  id: number;
2718
- mainType: string;
2719
2723
  uri: string;
2724
+ mainType: string;
2725
+ value: string | null;
2720
2726
  srcId: number;
2721
2727
  srcType: string;
2722
2728
  targetId: number;
@@ -2776,10 +2782,10 @@ declare const Bookmark: {
2776
2782
  }>;
2777
2783
  deleteBookmark: _reduxjs_toolkit.AsyncThunk<void, Pick<{
2778
2784
  type: "bookmarkLink";
2779
- value: string | null;
2780
2785
  id: number;
2781
- mainType: string;
2782
2786
  uri: string;
2787
+ mainType: string;
2788
+ value: string | null;
2783
2789
  srcId: number;
2784
2790
  srcType: string;
2785
2791
  targetId: number;
@@ -2812,10 +2818,10 @@ declare const Bookmark: {
2812
2818
  }>;
2813
2819
  editBookmark: _reduxjs_toolkit.AsyncThunk<void, Partial<{
2814
2820
  type: "bookmarkLink";
2815
- value: string | null;
2816
2821
  id: number;
2817
- mainType: string;
2818
2822
  uri: string;
2823
+ mainType: string;
2824
+ value: string | null;
2819
2825
  srcId: number;
2820
2826
  srcType: string;
2821
2827
  targetId: number;
@@ -2850,10 +2856,10 @@ declare const Bookmark: {
2850
2856
  bookmarkListIsInitialized: (state: RootState$1) => boolean;
2851
2857
  bookmarkEditBookmark: (state: RootState$1) => {
2852
2858
  type: "bookmarkLink";
2853
- value: string | null;
2854
2859
  id: number;
2855
- mainType: string;
2856
2860
  uri: string;
2861
+ mainType: string;
2862
+ value: string | null;
2857
2863
  srcId: number;
2858
2864
  srcType: string;
2859
2865
  targetId: number;
@@ -2870,10 +2876,10 @@ declare const Bookmark: {
2870
2876
  } | undefined;
2871
2877
  bookmarkByArticleId: (state: RootState$1, idArticle: number) => {
2872
2878
  type: "bookmarkLink";
2873
- value: string | null;
2874
2879
  id: number;
2875
- mainType: string;
2876
2880
  uri: string;
2881
+ mainType: string;
2882
+ value: string | null;
2877
2883
  srcId: number;
2878
2884
  srcType: string;
2879
2885
  targetId: number;
@@ -2890,13 +2896,13 @@ declare const Bookmark: {
2890
2896
  } | undefined;
2891
2897
  };
2892
2898
  getRTHandlers: (dispatch: AppDispatch) => ({
2893
- namespace: "BOOKMARKS";
2894
- function: "update" | "add" | "delete";
2895
- handler: (message: jamespot_user_api.RTMessageObject<"BOOKMARKS", "update", {}, {}> | jamespot_user_api.RTMessageObject<"BOOKMARKS", "add", {}, {}> | jamespot_user_api.RTMessageObject<"BOOKMARKS", "delete", {}, {}>) => void;
2896
- } | {
2897
2899
  namespace: "CUSTOM-ACTION";
2898
2900
  function: "update" | "add" | "remove";
2899
2901
  handler: (message: jamespot_user_api.RTMessageObject<"CUSTOM-ACTION", "update", {}, {}> | jamespot_user_api.RTMessageObject<"CUSTOM-ACTION", "add", {}, {}> | jamespot_user_api.RTMessageObject<"CUSTOM-ACTION", "remove", {}, {}>) => void;
2902
+ } | {
2903
+ namespace: "BOOKMARKS";
2904
+ function: "update" | "add" | "delete";
2905
+ handler: (message: jamespot_user_api.RTMessageObject<"BOOKMARKS", "update", {}, {}> | jamespot_user_api.RTMessageObject<"BOOKMARKS", "add", {}, {}> | jamespot_user_api.RTMessageObject<"BOOKMARKS", "delete", {}, {}>) => void;
2900
2906
  })[];
2901
2907
  };
2902
2908
 
@@ -5586,6 +5592,7 @@ declare const Hook: {
5586
5592
  all: string;
5587
5593
  accepted: string;
5588
5594
  };
5595
+ externalGestion: boolean;
5589
5596
  } | undefined;
5590
5597
  ContentFactoryHook?: {
5591
5598
  label: string;
@@ -5744,6 +5751,7 @@ declare const Hook: {
5744
5751
  all: string;
5745
5752
  accepted: string;
5746
5753
  };
5754
+ externalGestion: boolean;
5747
5755
  } | undefined;
5748
5756
  ContentFactoryHook?: {
5749
5757
  label: string;
@@ -5902,6 +5910,7 @@ declare const Hook: {
5902
5910
  all: string;
5903
5911
  accepted: string;
5904
5912
  };
5913
+ externalGestion: boolean;
5905
5914
  } | undefined;
5906
5915
  ContentFactoryHook?: {
5907
5916
  label: string;
@@ -7441,6 +7450,7 @@ declare const Platform: {
7441
7450
  selectPlatformConfig: (state: RootState$1) => PlatformConfigState;
7442
7451
  selectUserHighlightFields: (state: RootState$1) => string[] | undefined;
7443
7452
  selectUserAccountStatus: (state: RootState$1) => 0 | 1;
7453
+ selectUrlBase: (state: RootState$1) => string | undefined;
7444
7454
  };
7445
7455
  };
7446
7456
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jamespot-front-business",
3
- "version": "1.2.38",
3
+ "version": "1.2.39",
4
4
  "description": "typescript utils",
5
5
  "main": "dist/cjs.js",
6
6
  "module": "dist/esm.js",
@@ -31,7 +31,7 @@
31
31
  "eslint-config-prettier": "^8.10.2",
32
32
  "eslint-import-resolver-typescript": "^4.4.4",
33
33
  "eslint-plugin-import": "^2.32.0",
34
- "jamespot-user-api": "^1.2.38",
34
+ "jamespot-user-api": "^1.2.39",
35
35
  "jest": "^30.1.2",
36
36
  "jest-environment-jsdom": "^30.1.2",
37
37
  "prettier": "^3.6.2",