jamespot-front-business 1.2.61 → 1.2.62

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>;
@@ -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.2.62",
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.61",
34
+ "jamespot-user-api": "^1.2.62",
35
35
  "jest": "^30.2.0",
36
36
  "jest-environment-jsdom": "^30.2.0",
37
37
  "knip": "^5.66.2",