jamespot-front-business 1.2.61 → 1.3.1

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
@@ -816,11 +816,12 @@ type ContentReportRootState = {
816
816
  type CommentRootState = {
817
817
  comment: CommentListRootState;
818
818
  };
819
+ type CommentList = CommentWithExtensions<FormatComments<'raw-list'>, ['actions', 'quarantine']> & {
820
+ pending?: boolean;
821
+ };
819
822
  type CommentsList = {
820
823
  idArticle: number;
821
- list: Array<CommentWithExtensions<FormatComments<'raw-list'>, ['actions']> & {
822
- pending?: boolean;
823
- }>;
824
+ list: Array<CommentList>;
824
825
  };
825
826
  type CommentListState = Loading & {
826
827
  comments: Array<CommentsList>;
@@ -1791,7 +1792,7 @@ declare const Calendar: {
1791
1792
  fulfilledMeta?: unknown;
1792
1793
  rejectedMeta?: unknown;
1793
1794
  }>;
1794
- setTypes: _reduxjs_toolkit.AsyncThunk<boolean, ("animatedMeeting" | "meeting" | "socialEvent" | "boardCard")[], {
1795
+ setTypes: _reduxjs_toolkit.AsyncThunk<boolean, ("socialEvent" | "meeting" | "animatedMeeting" | "boardCard")[], {
1795
1796
  dispatch: AppDispatch;
1796
1797
  state: RootState$1;
1797
1798
  extra: {
@@ -1891,7 +1892,7 @@ declare const Comment: {
1891
1892
  }>;
1892
1893
  };
1893
1894
  selectors: {
1894
- commentList: (state: RootState$1, idArticle: number, limit?: number) => any[];
1895
+ commentList: (state: RootState$1, idArticle: number, limit?: number) => CommentList[];
1895
1896
  };
1896
1897
  getCommentRTHandlers: (dispatch: AppDispatch, idArticle: number) => Array<jamespot_user_api.RTMessageHandler<"JAMESPOT", jamespot_user_api.Namespaces["JAMESPOT"]>>;
1897
1898
  getCommentsLikeRTHandlers: (dispatch: AppDispatch, idComments: number[] | undefined, idArticle: number) => Array<jamespot_user_api.RTMessageHandler<"CUSTOM-ACTION", jamespot_user_api.Namespaces["CUSTOM-ACTION"]>>;
@@ -6501,4 +6502,4 @@ declare const studio: {
6501
6502
  };
6502
6503
 
6503
6504
  export { APP_STATUS_TYPE, AUDIENCE, AdminLogs, Animations, AppColumnsDefaultTypes, AppFieldFormPropertyTypes, AppFormBannedFromViews, AppFormFieldOnlyInView, AppFormFixedList, AppFormItemTypes, AppFormNoAsFieldList, AppFormNonPrimaryList, AppFormPrimaryListValues, AppFormUniqueListCheck, Application, Article, AssetReservation, Bookmark, Calendar, Comment, ContentReport, Description, Element, ExtraAppFieldsItemName, ExtraAppFieldsItemViews, ExtraBot, Faq, FileIntegrity, FileIntegritySlice, Hook, MagicPad, MapExtraFieldsWithView, MediaLibrary, Model, Network, Platform, STUDIO_VIEW, Share, SocialActions, StatusType, TVDisplay, TeamWork, TinyMCE, Toast, UserCurrent, WedocApp, Widget, WidgetEditor, actions, adminLogsReducer, adminLogsSlice, animationsReducer, animationsSlice, contentReportSlice, deleteQuarantine, extraBotSlice, fetchExtraBotListAll, fetchExtraBotListMines, fetchFileIntegrityList, fetchMediaLibraryConfig, fetchMediaLibraryFilesStats, fetchMediaLibraryFolders, fetchMediaLibraryFoldersStats, fetchMediaLibraryStats, fetchMediaLibraryUnclassifiedFiles, fetchPads, fetchReports, jland, magicPadSlice, mediaLibraryReducer, mediaLibrarySlice, releaseQuarantine, saveExtraBot, selectExtraBotListAll, selectExtraBotListMines, selectFileIntegrityAction, selectFileIntegrityList, slice, studio, teamWorkSlice, teamworkReducer, toggleExtraBotActivation, updateListBotProperty, updateStatus, updateWidgetContent, viewsList };
6504
- export type { AccessRightObjectList, Action, AnimationSliceListState, AnimationStatsCurrentSliceState, AnimationStatsSliceState, AnimationsRootState, ApiError, AppAttrSolrModel, AppAttrWidgetModel, AppDispatch, AppFieldFormProperty, AppFieldFormPropertyTypesValues, AppFieldView, AppFieldsFormItem, AppFormItemTypesValues, AppInstallForType, AppLabelContentType, AppLabelsType, AppServerDisplayModel, AppServerDisplaysModel, AppServerViewModel, AppStatusKeys, AppStatusType, AppSyncViewFieldOrder, AppTableAttributesModel, AppTableModel, AppTypeServerModel, AppViewFieldItem, AppViewFieldsItems, AppViews, AppViewsFields, ApplicationRootState, AssetReservationRootState, Attribute, BookableAssetRootState, BookableAssetState, BookmarkRootState, ChannelsListRootState, ChannelsListState, CheckBoxOption, Columns, CommentListRootState, CommentListState, CommentRootState, CommentsList, Configuration, ConfigurationRootState, ContentReportRootState, ContentReportSliceRootState, ContentTypePropertyValue, Create, CreateComposant, CurrentStudioAppRootState, CurrentStudioAppState, Display, DisplayComposant, Displays, ExtraAppFieldsItemViewsValues, ExtraBotFormModalOpen, ExtraBotFormModalState, ExtraBotGlobalState, ExtraBotListAllState, ExtraBotListMinesState, ExtraBotRootState, ExtraBotState, FileIntegrityGlobalState, FileIntegrityListState, FileIntegrityReleaseState, FileIntegrityRootState, FileIntegrityState, HTMLInfo, InstalledApp, JLandMap, JLandMapFront, JLandMapListRootState, JLandMapListState, JLandRootState, JType, MagicPadRootState, MagicPadSliceRootState, Manifest, MapCreateRootState, MapCreateState, MapCreationFront, OptionsClass, ParamsClass, ReservationForm, ReservationRootState, ReservationState, Right, RootState$1 as RootState, Solr, StudioAppBase, StudioAppManifest, StudioApplication, StudioAppsListRootState, StudioAppsListState, StudioAudienceType, StudioRootState, StudioWidget, TVDisplayRootState, Table, TaxonomyPropertyValue, TeamWorkRootState, TeamWorkSliceToDoState, ThunkApiConfig, UserCurrentRootState, Values, ViewName, WedocAppRootState, WedocAppState, WedocAppTabKeys, WedocFilesQuery, bookmarkEditRootState, bookmarkEditState, bookmarkListRootState, bookmarkListState };
6505
+ export type { AccessRightObjectList, Action, AnimationSliceListState, AnimationStatsCurrentSliceState, AnimationStatsSliceState, AnimationsRootState, ApiError, AppAttrSolrModel, AppAttrWidgetModel, AppDispatch, AppFieldFormProperty, AppFieldFormPropertyTypesValues, AppFieldView, AppFieldsFormItem, AppFormItemTypesValues, AppInstallForType, AppLabelContentType, AppLabelsType, AppServerDisplayModel, AppServerDisplaysModel, AppServerViewModel, AppStatusKeys, AppStatusType, AppSyncViewFieldOrder, AppTableAttributesModel, AppTableModel, AppTypeServerModel, AppViewFieldItem, AppViewFieldsItems, AppViews, AppViewsFields, ApplicationRootState, AssetReservationRootState, Attribute, BookableAssetRootState, BookableAssetState, BookmarkRootState, ChannelsListRootState, ChannelsListState, CheckBoxOption, Columns, CommentList, CommentListRootState, CommentListState, CommentRootState, CommentsList, Configuration, ConfigurationRootState, ContentReportRootState, ContentReportSliceRootState, ContentTypePropertyValue, Create, CreateComposant, CurrentStudioAppRootState, CurrentStudioAppState, Display, DisplayComposant, Displays, ExtraAppFieldsItemViewsValues, ExtraBotFormModalOpen, ExtraBotFormModalState, ExtraBotGlobalState, ExtraBotListAllState, ExtraBotListMinesState, ExtraBotRootState, ExtraBotState, FileIntegrityGlobalState, FileIntegrityListState, FileIntegrityReleaseState, FileIntegrityRootState, FileIntegrityState, HTMLInfo, InstalledApp, JLandMap, JLandMapFront, JLandMapListRootState, JLandMapListState, JLandRootState, JType, MagicPadRootState, MagicPadSliceRootState, Manifest, MapCreateRootState, MapCreateState, MapCreationFront, OptionsClass, ParamsClass, ReservationForm, ReservationRootState, ReservationState, Right, RootState$1 as RootState, Solr, StudioAppBase, StudioAppManifest, StudioApplication, StudioAppsListRootState, StudioAppsListState, StudioAudienceType, StudioRootState, StudioWidget, TVDisplayRootState, Table, TaxonomyPropertyValue, TeamWorkRootState, TeamWorkSliceToDoState, ThunkApiConfig, UserCurrentRootState, Values, ViewName, WedocAppRootState, WedocAppState, WedocAppTabKeys, WedocFilesQuery, bookmarkEditRootState, bookmarkEditState, bookmarkListRootState, bookmarkListState };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jamespot-front-business",
3
- "version": "1.2.61",
3
+ "version": "1.3.1",
4
4
  "description": "typescript utils",
5
5
  "main": "dist/cjs.js",
6
6
  "module": "dist/esm.js",
@@ -19,9 +19,9 @@
19
19
  "devDependencies": {
20
20
  "@changesets/cli": "^2.29.7",
21
21
  "@reduxjs/toolkit": "^1.9.7",
22
- "@rollup/plugin-commonjs": "^28.0.7",
22
+ "@rollup/plugin-commonjs": "^28.0.9",
23
23
  "@rollup/plugin-json": "^6.1.0",
24
- "@rollup/plugin-typescript": "^12.1.4",
24
+ "@rollup/plugin-typescript": "^12.3.0",
25
25
  "@types/jest": "^30.0.0",
26
26
  "@types/react": "^18.3.26",
27
27
  "@types/uuid": "^10.0.0",
@@ -31,16 +31,16 @@
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.61",
34
+ "jamespot-user-api": "^1.3.1",
35
35
  "jest": "^30.2.0",
36
36
  "jest-environment-jsdom": "^30.2.0",
37
- "knip": "^5.66.2",
37
+ "knip": "^5.66.4",
38
38
  "prettier": "^3.6.2",
39
39
  "react": "^18.3.1",
40
40
  "react-intl": "7.1.11",
41
41
  "react-redux": "^8.1.3",
42
42
  "redux": "^4.2.1",
43
- "rollup": "^4.52.4",
43
+ "rollup": "^4.52.5",
44
44
  "rollup-plugin-dts": "^6.2.3",
45
45
  "ts-jest": "^29.4.5",
46
46
  "tslib": "^2.8.1",