jamespot-front-business 1.2.37 → 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
@@ -447,7 +447,7 @@ type JType = {
447
447
  mainType: string;
448
448
  };
449
449
  type ContentTypePropertyValue = Pick<JType, 'type' | 'label'>;
450
- declare const AppFormFixedList: ("USER" | "TITLE" | "PUBLISHTO" | "SENDALERTTOSUBSCRIBERS" | "RECEIVEACOPY" | "CREATIONDATE")[];
450
+ declare const AppFormFixedList: ("TITLE" | "USER" | "PUBLISHTO" | "SENDALERTTOSUBSCRIBERS" | "RECEIVEACOPY" | "CREATIONDATE")[];
451
451
  declare const AppFormNoAsFieldList: Array<ExtraAppFieldsItemViewsValues | AppFormItemTypesValues>;
452
452
  declare const AppFormFieldOnlyInView: "CODEHTML"[];
453
453
  declare const AppFormNonPrimaryList: (AppFormItemTypesValues | ExtraAppFieldsItemViewsValues)[];
@@ -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,16 +2561,16 @@ 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;
2565
2571
  targetType: string | null;
2566
- url?: string | null | undefined;
2567
2572
  dateCreation?: string | undefined;
2573
+ url?: string | null | undefined;
2568
2574
  dateModified?: string | null | undefined;
2569
2575
  _src?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
2570
2576
  _target?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
@@ -2575,16 +2581,16 @@ 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;
2585
2591
  targetType: string | null;
2586
- url?: string | null | undefined;
2587
2592
  dateCreation?: string | undefined;
2593
+ url?: string | null | undefined;
2588
2594
  dateModified?: string | null | undefined;
2589
2595
  _src?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
2590
2596
  _target?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
@@ -2595,16 +2601,16 @@ 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;
2605
2611
  targetType: string | null;
2606
- url?: string | null | undefined;
2607
2612
  dateCreation?: string | undefined;
2613
+ url?: string | null | undefined;
2608
2614
  dateModified?: string | null | undefined;
2609
2615
  _src?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
2610
2616
  _target?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
@@ -2615,16 +2621,16 @@ 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;
2625
2631
  targetType: string | null;
2626
- url?: string | null | undefined;
2627
2632
  dateCreation?: string | undefined;
2633
+ url?: string | null | undefined;
2628
2634
  dateModified?: string | null | undefined;
2629
2635
  _src?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
2630
2636
  _target?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
@@ -2637,16 +2643,16 @@ 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;
2647
2653
  targetType: string | null;
2648
- url?: string | null | undefined;
2649
2654
  dateCreation?: string | undefined;
2655
+ url?: string | null | undefined;
2650
2656
  dateModified?: string | null | undefined;
2651
2657
  _src?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
2652
2658
  _target?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
@@ -2671,16 +2677,16 @@ 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;
2681
2687
  targetType: string | null;
2682
- url?: string | null | undefined;
2683
2688
  dateCreation?: string | undefined;
2689
+ url?: string | null | undefined;
2684
2690
  dateModified?: string | null | undefined;
2685
2691
  _src?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
2686
2692
  _target?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
@@ -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,16 +2719,16 @@ 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;
2723
2729
  targetType: string | null;
2724
- url?: string | null | undefined;
2725
2730
  dateCreation?: string | undefined;
2731
+ url?: string | null | undefined;
2726
2732
  dateModified?: string | null | undefined;
2727
2733
  _src?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
2728
2734
  _target?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
@@ -2776,16 +2782,16 @@ 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;
2786
2792
  targetType: string | null;
2787
- url?: string | null | undefined;
2788
2793
  dateCreation?: string | undefined;
2794
+ url?: string | null | undefined;
2789
2795
  dateModified?: string | null | undefined;
2790
2796
  _src?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
2791
2797
  _target?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
@@ -2812,16 +2818,16 @@ 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;
2822
2828
  targetType: string | null;
2823
- url?: string | null | undefined;
2824
2829
  dateCreation?: string | undefined;
2830
+ url?: string | null | undefined;
2825
2831
  dateModified?: string | null | undefined;
2826
2832
  _src?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
2827
2833
  _target?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
@@ -2850,16 +2856,16 @@ 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;
2860
2866
  targetType: string | null;
2861
- url?: string | null | undefined;
2862
2867
  dateCreation?: string | undefined;
2868
+ url?: string | null | undefined;
2863
2869
  dateModified?: string | null | undefined;
2864
2870
  _src?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
2865
2871
  _target?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
@@ -2870,16 +2876,16 @@ 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;
2880
2886
  targetType: string | null;
2881
- url?: string | null | undefined;
2882
2887
  dateCreation?: string | undefined;
2888
+ url?: string | null | undefined;
2883
2889
  dateModified?: string | null | undefined;
2884
2890
  _src?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
2885
2891
  _target?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
@@ -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
 
@@ -5389,7 +5395,7 @@ declare const Faq: {
5389
5395
  };
5390
5396
  actions: {
5391
5397
  fetchFaqConfig: _reduxjs_toolkit.AsyncThunk<{
5392
- _web: "" | "0" | "1" | undefined;
5398
+ _web: "" | "1" | "0" | undefined;
5393
5399
  appImage: string | {
5394
5400
  image: {
5395
5401
  id: string;
@@ -5400,7 +5406,7 @@ declare const Faq: {
5400
5406
  access: {
5401
5407
  createCategory: boolean;
5402
5408
  };
5403
- _displayComment: "" | "0" | "1" | undefined;
5409
+ _displayComment: "" | "1" | "0" | undefined;
5404
5410
  } | {
5405
5411
  _web: string;
5406
5412
  appImage?: never;
@@ -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
 
@@ -8566,7 +8576,7 @@ declare const Widget: {
8566
8576
  }[];
8567
8577
  selectFlushedWidgets: (state: RootState$1) => string[];
8568
8578
  selectWidgetContext: (state: RootState$1, uniqid: string) => "comment" | "article" | undefined;
8569
- selectWidgetLevel: (state: RootState$1, uniqid: string) => 1 | 2 | 3 | 4 | undefined;
8579
+ selectWidgetLevel: (state: RootState$1, uniqid: string) => 1 | 3 | 2 | 4 | undefined;
8570
8580
  selectWidgetWrapperStyle: (state: RootState$1, uniqid: string) => Record<string, string | number>;
8571
8581
  selectWidgetTitleStyle: (state: RootState$1, uniqid: string) => Record<string, string | number>;
8572
8582
  selectWidgetChipCount: (state: RootState$1, uniqid: string) => number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jamespot-front-business",
3
- "version": "1.2.37",
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.37",
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",