jamespot-front-business 1.1.55 → 1.1.56
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/cjs.js +24 -14
- package/dist/cjs.js.map +1 -1
- package/dist/esm.js +24 -14
- package/dist/esm.js.map +1 -1
- package/dist/types.d.ts +52 -11
- package/package.json +2 -2
package/dist/types.d.ts
CHANGED
|
@@ -9316,7 +9316,7 @@ declare const Animations: {
|
|
|
9316
9316
|
isToggleLoading: (state: AnimationsRootState) => boolean;
|
|
9317
9317
|
selectAnimationConfigurationApp: (state: AnimationsRootState) => jamespot_user_api.AnimationConfigurationType | null | undefined;
|
|
9318
9318
|
};
|
|
9319
|
-
getAnimationsRTHandlers: (dispatch:
|
|
9319
|
+
getAnimationsRTHandlers: (dispatch: RTDispatch) => jamespot_user_api.RTMessageHandler<"ANIMATIONS", "update" | "add" | "delete" | "toggle" | "getAnimationActive">[];
|
|
9320
9320
|
};
|
|
9321
9321
|
|
|
9322
9322
|
declare type ApplicationRootState = {
|
|
@@ -16869,8 +16869,8 @@ declare const Comment: {
|
|
|
16869
16869
|
selectors: {
|
|
16870
16870
|
commentList: (state: CommentRootState, idArticle: number) => CommentsList | undefined;
|
|
16871
16871
|
};
|
|
16872
|
-
getCommentRTHandlers: (dispatch:
|
|
16873
|
-
getCommentsLikeRTHandlers: (dispatch:
|
|
16872
|
+
getCommentRTHandlers: (dispatch: RTDispatch, idArticle: number) => jamespot_user_api.RTMessageHandler<"JAMESPOT", "comment-create" | "comment-delete" | "comment-update">[];
|
|
16873
|
+
getCommentsLikeRTHandlers: (dispatch: RTDispatch, idComments: number[] | undefined, idArticle: number) => jamespot_user_api.RTMessageHandler<"CUSTOM-ACTION", "update" | "add" | "remove">[];
|
|
16874
16874
|
};
|
|
16875
16875
|
|
|
16876
16876
|
declare type bookmarkEditState = Loading & {
|
|
@@ -26581,7 +26581,7 @@ declare const Bookmark: {
|
|
|
26581
26581
|
dateModified: zod.ZodString;
|
|
26582
26582
|
}, zod.ZodUnion<[zod.ZodNumber, zod.ZodNullable<zod.ZodString>, zod.ZodNullable<zod.ZodString>, zod.ZodNullable<zod.ZodString>, zod.ZodString, zod.ZodNumber, zod.ZodNullable<zod.ZodString>, zod.ZodString, zod.ZodString]>, "strip">> | undefined;
|
|
26583
26583
|
};
|
|
26584
|
-
getRTHandlers: (dispatch:
|
|
26584
|
+
getRTHandlers: (dispatch: RTDispatch) => ({
|
|
26585
26585
|
namespace: "CUSTOM-ACTION";
|
|
26586
26586
|
function: "update" | "add" | "remove";
|
|
26587
26587
|
handler: (message: jamespot_user_api.RTMessageObject<"CUSTOM-ACTION", "update", {}> | jamespot_user_api.RTMessageObject<"CUSTOM-ACTION", "add", {}> | jamespot_user_api.RTMessageObject<"CUSTOM-ACTION", "remove", {}>) => void;
|
|
@@ -26702,6 +26702,13 @@ declare const slice$1: _reduxjs_toolkit.Slice<{}, {
|
|
|
26702
26702
|
} & {
|
|
26703
26703
|
sendAlert: boolean;
|
|
26704
26704
|
}) | undefined;
|
|
26705
|
+
} & {
|
|
26706
|
+
MagicPadHook?: ({
|
|
26707
|
+
isActive: boolean;
|
|
26708
|
+
} & {
|
|
26709
|
+
label: string;
|
|
26710
|
+
hasLicense: boolean;
|
|
26711
|
+
}) | undefined;
|
|
26705
26712
|
};
|
|
26706
26713
|
}, "hooks">;
|
|
26707
26714
|
declare type HookRootState = {
|
|
@@ -26740,6 +26747,13 @@ declare const Hook: {
|
|
|
26740
26747
|
} & {
|
|
26741
26748
|
sendAlert: boolean;
|
|
26742
26749
|
}) | undefined;
|
|
26750
|
+
} & {
|
|
26751
|
+
MagicPadHook?: ({
|
|
26752
|
+
isActive: boolean;
|
|
26753
|
+
} & {
|
|
26754
|
+
label: string;
|
|
26755
|
+
hasLicense: boolean;
|
|
26756
|
+
}) | undefined;
|
|
26743
26757
|
};
|
|
26744
26758
|
}, "hooks">;
|
|
26745
26759
|
actions: _reduxjs_toolkit.CaseReducerActions<{
|
|
@@ -26774,6 +26788,13 @@ declare const Hook: {
|
|
|
26774
26788
|
} & {
|
|
26775
26789
|
sendAlert: boolean;
|
|
26776
26790
|
}) | undefined;
|
|
26791
|
+
} & {
|
|
26792
|
+
MagicPadHook?: ({
|
|
26793
|
+
isActive: boolean;
|
|
26794
|
+
} & {
|
|
26795
|
+
label: string;
|
|
26796
|
+
hasLicense: boolean;
|
|
26797
|
+
}) | undefined;
|
|
26777
26798
|
};
|
|
26778
26799
|
}, "hooks">;
|
|
26779
26800
|
selectors: {
|
|
@@ -26808,8 +26829,15 @@ declare const Hook: {
|
|
|
26808
26829
|
} & {
|
|
26809
26830
|
sendAlert: boolean;
|
|
26810
26831
|
}) | undefined;
|
|
26832
|
+
} & {
|
|
26833
|
+
MagicPadHook?: ({
|
|
26834
|
+
isActive: boolean;
|
|
26835
|
+
} & {
|
|
26836
|
+
label: string;
|
|
26837
|
+
hasLicense: boolean;
|
|
26838
|
+
}) | undefined;
|
|
26811
26839
|
};
|
|
26812
|
-
selectHook: <T extends "DriveHook" | "calendarHook" | "FileBankHook" | "spotRssFeed" | "WidgetHook" | "AdminAdvancedHook">(state: HookRootState, hook: T) => {
|
|
26840
|
+
selectHook: <T extends "DriveHook" | "calendarHook" | "FileBankHook" | "spotRssFeed" | "WidgetHook" | "AdminAdvancedHook" | "MagicPadHook">(state: HookRootState, hook: T) => ({
|
|
26813
26841
|
DriveHook?: ({
|
|
26814
26842
|
isActive: boolean;
|
|
26815
26843
|
} & {
|
|
@@ -26840,7 +26868,15 @@ declare const Hook: {
|
|
|
26840
26868
|
} & {
|
|
26841
26869
|
sendAlert: boolean;
|
|
26842
26870
|
}) | undefined;
|
|
26843
|
-
}
|
|
26871
|
+
} & {
|
|
26872
|
+
MagicPadHook?: ({
|
|
26873
|
+
isActive: boolean;
|
|
26874
|
+
} & {
|
|
26875
|
+
label: string;
|
|
26876
|
+
hasLicense: boolean;
|
|
26877
|
+
}) | undefined;
|
|
26878
|
+
})[T] | undefined;
|
|
26879
|
+
hasHookLicense: <T_1 extends "MagicPadHook">(state: HookRootState, hook: T_1) => boolean;
|
|
26844
26880
|
};
|
|
26845
26881
|
utils: {
|
|
26846
26882
|
buildDrivesArrayFromObject: (drives: Partial<Record<"drive_microsoft_graph" | "drive_dropbox" | "drive_google", boolean>> | undefined) => string[];
|
|
@@ -38063,7 +38099,7 @@ declare type MagicPadSliceRootState = Loading & {
|
|
|
38063
38099
|
pads: jArticleView[];
|
|
38064
38100
|
query: string;
|
|
38065
38101
|
page: number;
|
|
38066
|
-
tab: 'my
|
|
38102
|
+
tab: 'my' | 'all';
|
|
38067
38103
|
filters: Filters;
|
|
38068
38104
|
orders: Orders;
|
|
38069
38105
|
limit: number;
|
|
@@ -75958,7 +75994,7 @@ declare const MODE_EDIT = "edit";
|
|
|
75958
75994
|
declare const MODE_VIEW = "view";
|
|
75959
75995
|
declare type WidgetModalProps = {
|
|
75960
75996
|
title?: string;
|
|
75961
|
-
view?:
|
|
75997
|
+
view?: React.ReactNode;
|
|
75962
75998
|
};
|
|
75963
75999
|
declare const updateWidgetContent: <T>(uniqid: string, content: Partial<T>, override?: boolean) => {
|
|
75964
76000
|
payload: {
|
|
@@ -79713,7 +79749,7 @@ declare type EditorProps = {
|
|
|
79713
79749
|
name: WidgetKeys;
|
|
79714
79750
|
position: 'left' | 'right';
|
|
79715
79751
|
popup?: boolean;
|
|
79716
|
-
view?:
|
|
79752
|
+
view?: React.ReactNode;
|
|
79717
79753
|
};
|
|
79718
79754
|
declare type EditorsState = {
|
|
79719
79755
|
editors: EditorProps[];
|
|
@@ -79729,7 +79765,7 @@ declare const WidgetEditor: {
|
|
|
79729
79765
|
}>) => void;
|
|
79730
79766
|
registerEditorPopup: (state: Draft<S>, action: PayloadAction<{
|
|
79731
79767
|
uniqid: string;
|
|
79732
|
-
view:
|
|
79768
|
+
view: React.ReactNode;
|
|
79733
79769
|
}>) => void;
|
|
79734
79770
|
flushEditorPopup: (state: Draft<S>, action: PayloadAction<{
|
|
79735
79771
|
uniqid: string;
|
|
@@ -79751,6 +79787,11 @@ declare const WidgetEditor: {
|
|
|
79751
79787
|
|
|
79752
79788
|
declare type RootState = Partial<AnimationsRootState & ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & MagicPadRootState & ModelRootState & ShareRootState & StudioRootState & ToastRootState & TVDisplayRootState & WidgetsRootState & WidgetsRootState & WedocAppRootState & UserCurrentRootState>;
|
|
79753
79789
|
declare type RootDispatch = Dispatch$1<Action>;
|
|
79790
|
+
declare type RTDispatch = Dispatch<any>;
|
|
79791
|
+
declare type ApiError = {
|
|
79792
|
+
error: number;
|
|
79793
|
+
errorMsg?: string;
|
|
79794
|
+
};
|
|
79754
79795
|
declare type ThunkApiConfig<T> = {
|
|
79755
79796
|
dispatch: any;
|
|
79756
79797
|
state: RootState & T;
|
|
@@ -96802,4 +96843,4 @@ declare const studio: {
|
|
|
96802
96843
|
};
|
|
96803
96844
|
};
|
|
96804
96845
|
|
|
96805
|
-
export { APP_STATUS_TYPE, AUDIENCE, AnimationSliceRootState, Animations, AnimationsRootState, AppAttrSolrModel, AppAttrWidgetModel, AppColumnsDefaultTypes, AppFieldFormProperty, AppFieldFormPropertyTypes, AppFieldView, AppFieldsFormItem, AppFormBannedFromViews, AppFormFieldOnlyInView, AppFormFixedList, AppFormItemTypes, AppFormNoAsFieldList, AppFormNonPrimaryList, AppFormPrimaryList, AppFormUniqueList, AppInstallForType, AppLabelContentType, AppLabelsType, AppServerDisplayModel, AppServerDisplaysModel, AppServerViewModel, AppStatusKeys, AppStatusType, AppTableAttributesModel, AppTableModel, AppTypeServerModel, AppViewFieldItem, AppViewFieldsItems, AppViews, AppViewsFields, Application, ApplicationRootState, AssetReservation, AssetReservationRootState, Bookmark, BookmarkRootState, ChannelsListRootState, ChannelsListState, CheckBoxOption, Comment, CommentListRootState, CommentListState, CommentRootState, CommentsList, ContentTypePropertyValue, EditorProps, EditorsRootState, EditorsState, ExtraAppFieldsItemViews, Faq, FaqRootState, Hook, HookRootState, JLandMapFront, JLandRootState, JType, MODE_EDIT, MODE_VIEW, MagicPad, MagicPadRootState, MagicPadSliceRootState, MapCreationFront, MapExtraFieldsWithView, MediaLibrary, MediaLibraryRootState, MediaLibraryState, Model, ModelRootState, Network, NetworkRootState, PagingState, Platform, PlatformRootState, ReservationForm, RootDispatch, RootState, STUDIO_VIEW, Share, ShareRootState, StatusType, StudioAppBase, StudioAppManifest, StudioApplication, StudioAudienceType, StudioRootState, TVDisplay, TVDisplayRootState, TaxonomyPropertyValue, ThunkApiConfig, TinyMCE, TinyMCERootState, Toast, ToastRootState, UserCurrent, UserCurrentRootState, ViewName, WedocApp, WedocAppRootState, WedocAppTabKeys, Widget, WidgetEditor, WidgetModalProps, actions, animationsReducer, animationsSlice, fetchMediaLibraryConfig, fetchMediaLibraryFilesStats, fetchMediaLibraryFolders, fetchMediaLibraryFoldersStats, fetchMediaLibraryStats, fetchMediaLibraryUnclassifiedFiles, fetchPads, jland, magicPadSlice, mediaLibraryReducer, mediaLibrarySlice, slice, studio, updateWidgetContent, viewsList };
|
|
96846
|
+
export { APP_STATUS_TYPE, AUDIENCE, AnimationSliceRootState, Animations, AnimationsRootState, ApiError, AppAttrSolrModel, AppAttrWidgetModel, AppColumnsDefaultTypes, AppFieldFormProperty, AppFieldFormPropertyTypes, AppFieldView, AppFieldsFormItem, AppFormBannedFromViews, AppFormFieldOnlyInView, AppFormFixedList, AppFormItemTypes, AppFormNoAsFieldList, AppFormNonPrimaryList, AppFormPrimaryList, AppFormUniqueList, AppInstallForType, AppLabelContentType, AppLabelsType, AppServerDisplayModel, AppServerDisplaysModel, AppServerViewModel, AppStatusKeys, AppStatusType, AppTableAttributesModel, AppTableModel, AppTypeServerModel, AppViewFieldItem, AppViewFieldsItems, AppViews, AppViewsFields, Application, ApplicationRootState, AssetReservation, AssetReservationRootState, Bookmark, BookmarkRootState, ChannelsListRootState, ChannelsListState, CheckBoxOption, Comment, CommentListRootState, CommentListState, CommentRootState, CommentsList, ContentTypePropertyValue, EditorProps, EditorsRootState, EditorsState, ExtraAppFieldsItemViews, Faq, FaqRootState, Hook, HookRootState, JLandMapFront, JLandRootState, JType, MODE_EDIT, MODE_VIEW, MagicPad, MagicPadRootState, MagicPadSliceRootState, MapCreationFront, MapExtraFieldsWithView, MediaLibrary, MediaLibraryRootState, MediaLibraryState, Model, ModelRootState, Network, NetworkRootState, PagingState, Platform, PlatformRootState, RTDispatch, ReservationForm, RootDispatch, RootState, STUDIO_VIEW, Share, ShareRootState, StatusType, StudioAppBase, StudioAppManifest, StudioApplication, StudioAudienceType, StudioRootState, TVDisplay, TVDisplayRootState, TaxonomyPropertyValue, ThunkApiConfig, TinyMCE, TinyMCERootState, Toast, ToastRootState, UserCurrent, UserCurrentRootState, ViewName, WedocApp, WedocAppRootState, WedocAppTabKeys, Widget, WidgetEditor, WidgetModalProps, actions, animationsReducer, animationsSlice, fetchMediaLibraryConfig, fetchMediaLibraryFilesStats, fetchMediaLibraryFolders, fetchMediaLibraryFoldersStats, fetchMediaLibraryStats, fetchMediaLibraryUnclassifiedFiles, fetchPads, jland, magicPadSlice, mediaLibraryReducer, mediaLibrarySlice, slice, studio, updateWidgetContent, viewsList };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jamespot-front-business",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.56",
|
|
4
4
|
"description": "typescript utils",
|
|
5
5
|
"main": "dist/cjs.js",
|
|
6
6
|
"module": "dist/esm.js",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@reduxjs/toolkit": "1.9.0",
|
|
41
41
|
"@types/uuid": "^9.0.8",
|
|
42
|
-
"jamespot-user-api": "^1.0.
|
|
42
|
+
"jamespot-user-api": "^1.0.169",
|
|
43
43
|
"react-redux": "7.2.9",
|
|
44
44
|
"redux": "4.2.0",
|
|
45
45
|
"uuid": "^9.0.1"
|