jamespot-front-business 1.3.7 → 1.3.9
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/src/index.d.ts +2 -0
- package/dist/src/store/admin/logs/logs.d.ts +97 -0
- package/dist/src/store/admin/logs/logs.mock.d.ts +64 -0
- package/dist/src/store/admin/logs/logsNavigation.d.ts +23 -0
- package/dist/src/store/admin/logs/logsObjects.d.ts +23 -0
- package/dist/src/store/admin/logs/logsSearch.d.ts +23 -0
- package/dist/src/store/admin/logs/types.d.ts +12 -0
- package/dist/src/store/animations/animationStats.d.ts +19 -0
- package/dist/src/store/animations/animationStatsCurrent.d.ts +17 -0
- package/dist/src/store/animations/animations.d.ts +150 -0
- package/dist/src/store/animations/animations.mock.d.ts +9 -0
- package/dist/src/store/animations/animationsList.d.ts +75 -0
- package/dist/src/store/animations/animationsRTHandlers.d.ts +3 -0
- package/dist/src/store/animations/animationsRTHandlers.mock.d.ts +4 -0
- package/dist/src/store/animations/types.d.ts +22 -0
- package/dist/src/store/application/application.d.ts +48 -0
- package/dist/src/store/application/application.mock.d.ts +4 -0
- package/dist/src/store/application/application.types.d.ts +5 -0
- package/dist/src/store/article/article.d.ts +3 -0
- package/dist/src/store/article/articleRTHandlers.d.ts +2 -0
- package/dist/src/store/article/articleRTHandlers.mock.d.ts +4 -0
- package/dist/src/store/assetReservation/assetReservation.d.ts +74 -0
- package/dist/src/store/assetReservation/assetReservation.types.d.ts +31 -0
- package/dist/src/store/assetReservation/bookableAsset.d.ts +15 -0
- package/dist/src/store/assetReservation/bookableAsset.mock.d.ts +2 -0
- package/dist/src/store/assetReservation/configuration.d.ts +25 -0
- package/dist/src/store/assetReservation/configuration.mock.d.ts +17 -0
- package/dist/src/store/assetReservation/reservation.d.ts +20 -0
- package/dist/src/store/assetReservation/reservation.mock.d.ts +2 -0
- package/dist/src/store/bookmark/bookmark.d.ts +472 -0
- package/dist/src/store/bookmark/bookmark.types.d.ts +31 -0
- package/dist/src/store/bookmark/bookmarkList.d.ts +226 -0
- package/dist/src/store/bookmark/bookmarkList.mock.d.ts +201 -0
- package/dist/src/store/bookmark/bookmarkRTHandlers.d.ts +5 -0
- package/dist/src/store/bookmark/bookmarkRTHandlers.mock.d.ts +94 -0
- package/dist/src/store/bookmark/editBookmarkForm.d.ts +52 -0
- package/dist/src/store/bookmark/editBookmarkForm.mock.d.ts +4 -0
- package/dist/src/store/calendar/calendar.d.ts +434 -0
- package/dist/src/store/calendar/calendar.types.d.ts +22 -0
- package/dist/src/store/calendar/calendarEvents.d.ts +193 -0
- package/dist/src/store/calendar/calendarEvents.mock.d.ts +6 -0
- package/dist/src/store/calendar/calendarRTHandlers.d.ts +5 -0
- package/dist/src/store/calendar/calendarRTHandlers.mock.d.ts +16 -0
- package/dist/src/store/comment/comment.d.ts +66 -0
- package/dist/src/store/comment/comment.types.d.ts +18 -0
- package/dist/src/store/comment/commentList.d.ts +52 -0
- package/dist/src/store/comment/commentList.mock.d.ts +2 -0
- package/dist/src/store/comment/commentRTHandlers.d.ts +3 -0
- package/dist/src/store/comment/commentRTHandlers.mock.d.ts +102 -0
- package/dist/src/store/comment/commentsLikeRTHandlers.d.ts +3 -0
- package/dist/src/store/comment/commentsLikeRTHandlers.mock.d.ts +96 -0
- package/dist/src/store/contentReport/contentReport.d.ts +89 -0
- package/dist/src/store/contentReport/contentReport.mock.d.ts +3 -0
- package/dist/src/store/contentReport/contentReport.types.d.ts +17 -0
- package/dist/src/store/extraBot/extraBot.const.d.ts +7 -0
- package/dist/src/store/extraBot/extraBot.d.ts +167 -0
- package/dist/src/store/extraBot/extraBot.mock.d.ts +8 -0
- package/dist/src/store/extraBot/extraBot.types.d.ts +21 -0
- package/dist/src/store/faq/faq.d.ts +67 -0
- package/dist/src/store/faq/faq.types.d.ts +14 -0
- package/dist/src/store/faq/faqCategories.d.ts +20 -0
- package/dist/src/store/faq/faqCategories.mock.d.ts +2 -0
- package/dist/src/store/faq/faqConfig.d.ts +26 -0
- package/dist/src/store/faq/faqConfig.mock.d.ts +3 -0
- package/dist/src/store/fileIntegrity/fileIntegrity.const.d.ts +7 -0
- package/dist/src/store/fileIntegrity/fileIntegrity.d.ts +116 -0
- package/dist/src/store/fileIntegrity/fileIntegrity.mock.d.ts +4 -0
- package/dist/src/store/fileIntegrity/fileIntegrity.types.d.ts +12 -0
- package/dist/src/store/hook/hook.d.ts +505 -0
- package/dist/src/store/hook/hook.mock.d.ts +2 -0
- package/dist/src/store/hook/hook.types.d.ts +4 -0
- package/dist/src/store/hook/utils/driveHook.utils.d.ts +2 -0
- package/dist/src/store/index.d.ts +30 -0
- package/dist/src/store/jland/jland.d.ts +130 -0
- package/dist/src/store/jland/jland.types.d.ts +39 -0
- package/dist/src/store/jland/mapCreate.d.ts +21 -0
- package/dist/src/store/jland/mapCreate.mock.d.ts +82 -0
- package/dist/src/store/jland/mapList.d.ts +93 -0
- package/dist/src/store/jland/mapList.mock.d.ts +105 -0
- package/dist/src/store/jland/utils.d.ts +3 -0
- package/dist/src/store/magicPad/magicPad.d.ts +59 -0
- package/dist/src/store/magicPad/magicPad.mock.d.ts +2 -0
- package/dist/src/store/magicPad/magicPad.types.d.ts +15 -0
- package/dist/src/store/mediaLibrary/mediaLibrary.const.d.ts +7 -0
- package/dist/src/store/mediaLibrary/mediaLibrary.d.ts +454 -0
- package/dist/src/store/mediaLibrary/mediaLibrary.types.d.ts +24 -0
- package/dist/src/store/mediaLibrary/medialibrary.mock.d.ts +72 -0
- package/dist/src/store/model/model.d.ts +51 -0
- package/dist/src/store/model/model.mock.d.ts +144 -0
- package/dist/src/store/model/model.types.d.ts +5 -0
- package/dist/src/store/network/network.d.ts +29 -0
- package/dist/src/store/network/network.types.d.ts +10 -0
- package/dist/src/store/network/networkStatics.d.ts +5 -0
- package/dist/src/store/platform/platform.d.ts +20 -0
- package/dist/src/store/platform/platform.types.d.ts +11 -0
- package/dist/src/store/platform/platformConfig.d.ts +5 -0
- package/dist/src/store/share/share.actions.d.ts +16 -0
- package/dist/src/store/share/share.d.ts +29 -0
- package/dist/src/store/share/share.mock.d.ts +2 -0
- package/dist/src/store/share/share.slice.d.ts +5 -0
- package/dist/src/store/share/share.types.d.ts +9 -0
- package/dist/src/store/socialActions/socialActions.d.ts +49 -0
- package/dist/src/store/socialActions/socialActions.mock.d.ts +2 -0
- package/dist/src/store/studio/StudioAppsList.d.ts +108 -0
- package/dist/src/store/studio/appListMocks/appInWorkNoValue.d.ts +4 -0
- package/dist/src/store/studio/appListMocks/studioSuspendedTransformed.d.ts +2624 -0
- package/dist/src/store/studio/currentStudioApp.d.ts +54 -0
- package/dist/src/store/studio/mocks/erikBug/erikList.mock.d.ts +587 -0
- package/dist/src/store/studio/mocks/erikBug/getActiviteCE.mock.d.ts +1028 -0
- package/dist/src/store/studio/mocks/erikBug/getConge.mock.d.ts +3 -0
- package/dist/src/store/studio/mocks/erikBug/getCongeSaved.mock.d.ts +11 -0
- package/dist/src/store/studio/mocks/erikBug/getEmploi.mock.d.ts +1022 -0
- package/dist/src/store/studio/mocks/erikBug/getEmploiSaved.mock.d.ts +11 -0
- package/dist/src/store/studio/mocks/erikBug/getEquipment.mock.d.ts +1020 -0
- package/dist/src/store/studio/mocks/erikBug/getEquipmentSaved.mock.d.ts +11 -0
- package/dist/src/store/studio/mocks/erikBug/getIncident.mock.d.ts +3 -0
- package/dist/src/store/studio/mocks/erikBug/getIncidentSaved.mock.d.ts +11 -0
- package/dist/src/store/studio/mocks/erikBug/getTelephoneSaved.mock.d.ts +11 -0
- package/dist/src/store/studio/mocks/erikBug/getTrad.mock.d.ts +996 -0
- package/dist/src/store/studio/mocks/erikBug/taxoList.mock.d.ts +16 -0
- package/dist/src/store/studio/mocks/publishtoAndHtmlIssues/StudioList.d.ts +47 -0
- package/dist/src/store/studio/mocks/publishtoAndHtmlIssues/app1.d.ts +1016 -0
- package/dist/src/store/studio/studio.d.ts +172 -0
- package/dist/src/store/studio/studio.types.d.ts +572 -0
- package/dist/src/store/studio/studioAppsList.mock.d.ts +896 -0
- package/dist/src/store/studio/utils/appToXml.d.ts +6 -0
- package/dist/src/store/studio/utils/cloneStudioAppFromExistingApp.d.ts +2 -0
- package/dist/src/store/studio/utils/createNewStudioApp.d.ts +11 -0
- package/dist/src/store/studio/utils/generateNewFormField.d.ts +2 -0
- package/dist/src/store/studio/utils/installedToV2/fieldBuilders.d.ts +219 -0
- package/dist/src/store/studio/utils/installedToV2/installedToV2.d.ts +13 -0
- package/dist/src/store/studio/utils/installedToV2/mocks/allFieldsInstalled.mock.d.ts +1300 -0
- package/dist/src/store/studio/utils/installedToV2/mocks/allFieldsInstalled2.mock.d.ts +1274 -0
- package/dist/src/store/studio/utils/installedToV2/mocks/allFieldsV2-2.mock.d.ts +2 -0
- package/dist/src/store/studio/utils/installedToV2/mocks/allFieldsV2.mock.d.ts +2 -0
- package/dist/src/store/studio/utils/installedToV2/mocks/baseAppAudienceInstalled.mock.d.ts +860 -0
- package/dist/src/store/studio/utils/installedToV2/mocks/baseAppAudienceV2.mock.d.ts +2 -0
- package/dist/src/store/studio/utils/installedToV2/mocks/baseAppFluxInstalled.mock.d.ts +774 -0
- package/dist/src/store/studio/utils/installedToV2/mocks/baseAppFluxV2.mock.d.ts +2 -0
- package/dist/src/store/studio/utils/installedToV2/mocks/baseAppInstalled.mock.d.ts +782 -0
- package/dist/src/store/studio/utils/installedToV2/mocks/baseAppV2.mock.d.ts +2 -0
- package/dist/src/store/studio/utils/installedToV2/mocks/selectCommentModif.mock.d.ts +2 -0
- package/dist/src/store/studio/utils/installedToV2/mocks/selectCommentModifInstalled.mock.d.ts +787 -0
- package/dist/src/store/studio/utils/installedToV2/mocks/simpleFieldsInstalled.mock.d.ts +852 -0
- package/dist/src/store/studio/utils/installedToV2/mocks/simpleFieldsV2.mock.d.ts +2 -0
- package/dist/src/store/studio/utils/installedToV2/mocks/specialApp.mock.d.ts +834 -0
- package/dist/src/store/studio/utils/installedToV2/mocks/wrongFixedAndHtmlData.d.ts +1308 -0
- package/dist/src/store/studio/utils/migrateJson.d.ts +3 -0
- package/dist/src/store/studio/utils/serverAppsToStudioApps.d.ts +3 -0
- package/dist/src/store/studio/utils/studioApplication.mock.d.ts +32 -0
- package/dist/src/store/teamWork/teamWork.d.ts +46 -0
- package/dist/src/store/teamWork/teamWorkRTHandlers.d.ts +3 -0
- package/dist/src/store/teamWork/teamWorkRTHandlers.mock.d.ts +2 -0
- package/dist/src/store/teamWork/teamWorkToDo.d.ts +20 -0
- package/dist/src/store/teamWork/teamWorkToDo.mock.d.ts +2 -0
- package/dist/src/store/teamWork/types.d.ts +10 -0
- package/dist/src/store/tinymce/tinyMCEOptions.d.ts +5 -0
- package/dist/src/store/tinymce/tinymce.d.ts +52 -0
- package/dist/src/store/tinymce/tinymce.types.d.ts +10 -0
- package/dist/src/store/toast/toast.d.ts +35 -0
- package/dist/src/store/toast/toast.types.d.ts +19 -0
- package/dist/src/store/tvDisplay/channelsList.d.ts +36 -0
- package/dist/src/store/tvDisplay/channelsList.mock.d.ts +3 -0
- package/dist/src/store/tvDisplay/tvDisplay.d.ts +54 -0
- package/dist/src/store/tvDisplay/tvDisplay.types.d.ts +12 -0
- package/dist/src/store/tvDisplay/utils.d.ts +2 -0
- package/dist/src/store/tvDisplay/utils.mock.d.ts +5 -0
- package/dist/src/store/user/user.types.d.ts +4 -0
- package/dist/src/store/user/userCurrent.d.ts +21 -0
- package/dist/src/store/user/userCurrent.mock.d.ts +36 -0
- package/dist/src/store/wedoc/wedoc.actions.d.ts +85 -0
- package/dist/src/store/wedoc/wedoc.d.ts +165 -0
- package/dist/src/store/wedoc/wedoc.mock.d.ts +3 -0
- package/dist/src/store/wedoc/wedoc.slice.d.ts +8 -0
- package/dist/src/store/wedoc/wedoc.types.d.ts +22 -0
- package/dist/src/store/widget/definitions/widget-article-attachment.d.ts +3 -0
- package/dist/src/store/widget/definitions/widget-article-button.d.ts +16 -0
- package/dist/src/store/widget/definitions/widget-article-gallery.d.ts +3 -0
- package/dist/src/store/widget/definitions/widget-article-image.d.ts +3 -0
- package/dist/src/store/widget/definitions/widget-article-slider.d.ts +3 -0
- package/dist/src/store/widget/definitions/widget-article-text.d.ts +3 -0
- package/dist/src/store/widget/definitions/widget-article-title.d.ts +3 -0
- package/dist/src/store/widget/definitions/widget-calendar-calDav.d.ts +3 -0
- package/dist/src/store/widget/definitions/widget-check-list.d.ts +3 -0
- package/dist/src/store/widget/definitions/widget-color.d.ts +3 -0
- package/dist/src/store/widget/definitions/widget-contact-cardDav.d.ts +3 -0
- package/dist/src/store/widget/definitions/widget-datasource-table.d.ts +3 -0
- package/dist/src/store/widget/definitions/widget-emails-imap.d.ts +3 -0
- package/dist/src/store/widget/definitions/widget-excel-datasource-table.d.ts +3 -0
- package/dist/src/store/widget/definitions/widget-extension.d.ts +3 -0
- package/dist/src/store/widget/definitions/widget-lucca-absence.d.ts +3 -0
- package/dist/src/store/widget/definitions/widget-presence.d.ts +3 -0
- package/dist/src/store/widget/definitions/widget-quick-survey.d.ts +3 -0
- package/dist/src/store/widget/definitions/widget-user-profile.d.ts +3 -0
- package/dist/src/store/widget/definitions/widget-welcome.d.ts +3 -0
- package/dist/src/store/widget/utils.d.ts +1 -0
- package/dist/src/store/widget/widget.const.d.ts +4 -0
- package/dist/src/store/widget/widget.d.ts +135 -0
- package/dist/src/store/widget/widget.def.d.ts +2 -0
- package/dist/src/store/widget/widget.factory.d.ts +4 -0
- package/dist/src/store/widget/widget.slice.d.ts +98 -0
- package/dist/src/store/widget/widgetRTHandlers.d.ts +3 -0
- package/dist/src/store/widgetEditor/widgetEditor.d.ts +31 -0
- package/dist/src/store/widgetEditor/widgetEditor.types.d.ts +16 -0
- package/dist/src/tests-utils/mockStore.d.ts +172 -0
- package/dist/src/tests-utils/testsUtils.d.ts +38 -0
- package/dist/src/types/index.d.ts +15 -0
- package/dist/src/types/oldStudio.d.ts +165 -0
- package/dist/src/types/store.d.ts +48 -0
- package/dist/src/types/utils.d.ts +18 -0
- package/dist/src/utils/errors.utils.d.ts +2 -0
- package/package.json +2 -2
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export declare const studioApplicationMock: {
|
|
2
|
+
idApp: string;
|
|
3
|
+
status: "draft";
|
|
4
|
+
studioVersion: number;
|
|
5
|
+
manifest: {
|
|
6
|
+
appShortName: string;
|
|
7
|
+
appName: string;
|
|
8
|
+
description: string;
|
|
9
|
+
typeLabel: string;
|
|
10
|
+
cssColor: string;
|
|
11
|
+
cssClass: {
|
|
12
|
+
label: string;
|
|
13
|
+
value: string;
|
|
14
|
+
};
|
|
15
|
+
version: number;
|
|
16
|
+
dateCreation: string;
|
|
17
|
+
viewSolr: string;
|
|
18
|
+
checkAccess: boolean;
|
|
19
|
+
attrExposed: string[];
|
|
20
|
+
};
|
|
21
|
+
views: {
|
|
22
|
+
create: {};
|
|
23
|
+
popup: {};
|
|
24
|
+
edit: {};
|
|
25
|
+
list: {};
|
|
26
|
+
filter: {};
|
|
27
|
+
view: {};
|
|
28
|
+
};
|
|
29
|
+
audience: string;
|
|
30
|
+
installFor: never[];
|
|
31
|
+
fields: never[];
|
|
32
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { RootState } from '../../types/store';
|
|
2
|
+
export declare const teamWorkSlice: {
|
|
3
|
+
name: "teamWork";
|
|
4
|
+
reducer: import('@reduxjs/toolkit').Reducer<{
|
|
5
|
+
teamWorkToDo: import('./types').TeamWorkSliceToDoState;
|
|
6
|
+
}, import('@reduxjs/toolkit').UnknownAction, Partial<{
|
|
7
|
+
teamWorkToDo: import('./types').TeamWorkSliceToDoState | undefined;
|
|
8
|
+
}>>;
|
|
9
|
+
};
|
|
10
|
+
export declare const teamworkReducer: import('@reduxjs/toolkit').Reducer<{
|
|
11
|
+
teamWorkToDo: import('./types').TeamWorkSliceToDoState;
|
|
12
|
+
}, import('@reduxjs/toolkit').UnknownAction, Partial<{
|
|
13
|
+
teamWorkToDo: import('./types').TeamWorkSliceToDoState | undefined;
|
|
14
|
+
}>>;
|
|
15
|
+
export declare const TeamWork: {
|
|
16
|
+
slice: {
|
|
17
|
+
name: "teamWork";
|
|
18
|
+
reducer: import('@reduxjs/toolkit').Reducer<{
|
|
19
|
+
teamWorkToDo: import('./types').TeamWorkSliceToDoState;
|
|
20
|
+
}, import('@reduxjs/toolkit').UnknownAction, Partial<{
|
|
21
|
+
teamWorkToDo: import('./types').TeamWorkSliceToDoState | undefined;
|
|
22
|
+
}>>;
|
|
23
|
+
};
|
|
24
|
+
actions: {
|
|
25
|
+
startToDoCreation: import('@reduxjs/toolkit').AsyncThunk<boolean, void, {
|
|
26
|
+
dispatch: import('../..').AppDispatch;
|
|
27
|
+
state: RootState;
|
|
28
|
+
extra: {
|
|
29
|
+
jApi: import('jamespot-user-api').JamespotUserApi;
|
|
30
|
+
};
|
|
31
|
+
rejectValue: {
|
|
32
|
+
error: number;
|
|
33
|
+
errorMsg: string;
|
|
34
|
+
};
|
|
35
|
+
serializedErrorType?: unknown;
|
|
36
|
+
pendingMeta?: unknown;
|
|
37
|
+
fulfilledMeta?: unknown;
|
|
38
|
+
rejectedMeta?: unknown;
|
|
39
|
+
}>;
|
|
40
|
+
setMessageAndStatus: import('@reduxjs/toolkit').ActionCreatorWithPayload<import('./types').TeamWorkSliceToDoState, "teamWorkToDo/setMessageAndStatus">;
|
|
41
|
+
};
|
|
42
|
+
selectors: {
|
|
43
|
+
selectToDoState: (state: RootState) => import('./types').TeamWorkSliceToDoState;
|
|
44
|
+
};
|
|
45
|
+
getTeamWorkRTHandlers: (dispatch: import('../..').AppDispatch) => Array<import('jamespot-user-api').RTMessageHandler<"TEAMWORK", import('jamespot-user-api').Namespaces["TEAMWORK"]>>;
|
|
46
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
+
import { TeamWorkSliceToDoState } from './types';
|
|
3
|
+
export declare const teamWorkToDoSlice: import('@reduxjs/toolkit').Slice<TeamWorkSliceToDoState, {
|
|
4
|
+
setMessageAndStatus: (state: import('@reduxjs/toolkit').WritableDraft<TeamWorkSliceToDoState>, action: PayloadAction<TeamWorkSliceToDoState>) => void;
|
|
5
|
+
}, "teamWorkToDo", "teamWorkToDo", import('@reduxjs/toolkit').SliceSelectors<TeamWorkSliceToDoState>>;
|
|
6
|
+
export declare const startToDoCreation: import('@reduxjs/toolkit').AsyncThunk<boolean, void, {
|
|
7
|
+
dispatch: import('../..').AppDispatch;
|
|
8
|
+
state: import('../..').RootState;
|
|
9
|
+
extra: {
|
|
10
|
+
jApi: import('jamespot-user-api').JamespotUserApi;
|
|
11
|
+
};
|
|
12
|
+
rejectValue: {
|
|
13
|
+
error: number;
|
|
14
|
+
errorMsg: string;
|
|
15
|
+
};
|
|
16
|
+
serializedErrorType?: unknown;
|
|
17
|
+
pendingMeta?: unknown;
|
|
18
|
+
fulfilledMeta?: unknown;
|
|
19
|
+
rejectedMeta?: unknown;
|
|
20
|
+
}>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TeamWorkTaskStatus } from 'jamespot-user-api';
|
|
2
|
+
export type TeamWorkSliceToDoState = {
|
|
3
|
+
status: TeamWorkTaskStatus;
|
|
4
|
+
message: undefined | string;
|
|
5
|
+
};
|
|
6
|
+
export type TeamWorkRootState = {
|
|
7
|
+
teamWork: {
|
|
8
|
+
teamWorkToDo: TeamWorkSliceToDoState;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
+
import { TinyMCEOptionsState } from './tinymce.types';
|
|
3
|
+
export declare const TinyMCEOptionsSlice: import('@reduxjs/toolkit').Slice<TinyMCEOptionsState, {
|
|
4
|
+
initOptions: (_: import('@reduxjs/toolkit').WritableDraft<TinyMCEOptionsState>, { payload }: PayloadAction<TinyMCEOptionsState>) => TinyMCEOptionsState;
|
|
5
|
+
}, "options", "options", import('@reduxjs/toolkit').SliceSelectors<TinyMCEOptionsState>>;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { RootState } from '../../types/store';
|
|
2
|
+
export declare const TinyMCE: {
|
|
3
|
+
slice: {
|
|
4
|
+
name: "tinymce";
|
|
5
|
+
reducer: import('@reduxjs/toolkit').Reducer<{
|
|
6
|
+
options: import('./tinymce.types').TinyMCEOptionsState;
|
|
7
|
+
}, import('@reduxjs/toolkit').UnknownAction, Partial<{
|
|
8
|
+
options: import('./tinymce.types').TinyMCEOptionsState | undefined;
|
|
9
|
+
}>>;
|
|
10
|
+
};
|
|
11
|
+
actions: {
|
|
12
|
+
initOptions: import('@reduxjs/toolkit').ActionCreatorWithPayload<import('./tinymce.types').TinyMCEOptionsState, "options/initOptions">;
|
|
13
|
+
};
|
|
14
|
+
selectors: {
|
|
15
|
+
selectTinyMCECommonOptions: (state: RootState) => {
|
|
16
|
+
language: string;
|
|
17
|
+
height: number;
|
|
18
|
+
cache_suffix: string;
|
|
19
|
+
toolbar: string;
|
|
20
|
+
content_css: string;
|
|
21
|
+
quickbars_selection_toolbar: string;
|
|
22
|
+
plugins: string[];
|
|
23
|
+
text_patterns: {
|
|
24
|
+
start: string;
|
|
25
|
+
format?: string | undefined;
|
|
26
|
+
end?: string | undefined;
|
|
27
|
+
cmd?: string | undefined;
|
|
28
|
+
}[];
|
|
29
|
+
menubar: boolean;
|
|
30
|
+
branding: boolean;
|
|
31
|
+
skin: string;
|
|
32
|
+
convert_urls: boolean;
|
|
33
|
+
invalid_elements: string;
|
|
34
|
+
extended_valid_elements: string;
|
|
35
|
+
custom_elements: string;
|
|
36
|
+
inline_boundaries_selector: string;
|
|
37
|
+
toolbar_mode: "floating" | "sliding" | "scrolling" | "wrap";
|
|
38
|
+
promotion: boolean;
|
|
39
|
+
font_size_formats: string;
|
|
40
|
+
contextmenu: string | false;
|
|
41
|
+
paste_data_images: boolean;
|
|
42
|
+
browser_spellcheck: boolean;
|
|
43
|
+
quickbars_insert_toolbar: boolean;
|
|
44
|
+
license_key: "gpl";
|
|
45
|
+
sandbox_iframes?: boolean | undefined;
|
|
46
|
+
sandbox_iframes_exclusions?: string[] | undefined;
|
|
47
|
+
} | undefined;
|
|
48
|
+
selectTinyMCEExtendedOptions: (state: RootState) => {
|
|
49
|
+
commentsToolbar: string;
|
|
50
|
+
} | undefined;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TinyMCECommonOptions, TinyMCEExtendedOptions } from 'jamespot-user-api';
|
|
2
|
+
export type TinyMCEOptionsState = {
|
|
3
|
+
common?: TinyMCECommonOptions;
|
|
4
|
+
extended?: TinyMCEExtendedOptions;
|
|
5
|
+
};
|
|
6
|
+
export type TinyMCERootState = {
|
|
7
|
+
tinymce: {
|
|
8
|
+
options: TinyMCEOptionsState;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Toast as TypeToast, ToastEntity, ToastType } from './toast.types';
|
|
2
|
+
import { AppDispatch, RootState } from '../../types/store';
|
|
3
|
+
export declare const actions: {
|
|
4
|
+
addMessage: ({ id, ...toast }: TypeToast, type?: ToastType, timeout?: number) => (dispatch: AppDispatch) => string;
|
|
5
|
+
success: (toast: TypeToast, timeout?: number) => (dispatch: AppDispatch) => string;
|
|
6
|
+
warning: (toast: TypeToast, timeout?: number) => (dispatch: AppDispatch) => string;
|
|
7
|
+
error: (toast: TypeToast, timeout?: number) => (dispatch: AppDispatch) => string;
|
|
8
|
+
};
|
|
9
|
+
export declare const Toast: {
|
|
10
|
+
slice: import('@reduxjs/toolkit').Slice<import('@reduxjs/toolkit').EntityState<ToastEntity, string>, {
|
|
11
|
+
addOne: {
|
|
12
|
+
<S extends import('@reduxjs/toolkit').EntityState<ToastEntity, string> | import('@reduxjs/toolkit').WritableDraft<import('@reduxjs/toolkit').EntityState<ToastEntity, string>>>(state: boolean extends (S extends never ? true : false) ? import('@reduxjs/toolkit').EntityState<ToastEntity, string> : S, entity: ToastEntity): S;
|
|
13
|
+
<S extends import('@reduxjs/toolkit').EntityState<ToastEntity, string> | import('@reduxjs/toolkit').WritableDraft<import('@reduxjs/toolkit').EntityState<ToastEntity, string>>>(state: boolean extends (S extends never ? true : false) ? import('@reduxjs/toolkit').EntityState<ToastEntity, string> : S, action: {
|
|
14
|
+
payload: ToastEntity;
|
|
15
|
+
type: string;
|
|
16
|
+
}): S;
|
|
17
|
+
};
|
|
18
|
+
removeOne: {
|
|
19
|
+
<S extends import('@reduxjs/toolkit').EntityState<ToastEntity, string> | import('@reduxjs/toolkit').WritableDraft<import('@reduxjs/toolkit').EntityState<ToastEntity, string>>>(state: boolean extends (S extends never ? true : false) ? import('@reduxjs/toolkit').EntityState<ToastEntity, string> : S, key: string): S;
|
|
20
|
+
<S extends import('@reduxjs/toolkit').EntityState<ToastEntity, string> | import('@reduxjs/toolkit').WritableDraft<import('@reduxjs/toolkit').EntityState<ToastEntity, string>>>(state: boolean extends (S extends never ? true : false) ? import('@reduxjs/toolkit').EntityState<ToastEntity, string> : S, key: {
|
|
21
|
+
payload: string;
|
|
22
|
+
type: string;
|
|
23
|
+
}): S;
|
|
24
|
+
};
|
|
25
|
+
}, "toasts", "toasts", import('@reduxjs/toolkit').SliceSelectors<import('@reduxjs/toolkit').EntityState<ToastEntity, string>>>;
|
|
26
|
+
actions: {
|
|
27
|
+
addOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<ToastEntity, "toasts/addOne">;
|
|
28
|
+
removeOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "toasts/removeOne">;
|
|
29
|
+
addMessage: ({ id, ...toast }: TypeToast, type?: ToastType, timeout?: number) => (dispatch: AppDispatch) => string;
|
|
30
|
+
success: (toast: TypeToast, timeout?: number) => (dispatch: AppDispatch) => string;
|
|
31
|
+
warning: (toast: TypeToast, timeout?: number) => (dispatch: AppDispatch) => string;
|
|
32
|
+
error: (toast: TypeToast, timeout?: number) => (dispatch: AppDispatch) => string;
|
|
33
|
+
};
|
|
34
|
+
selectors: import('@reduxjs/toolkit').EntitySelectors<ToastEntity, RootState, string>;
|
|
35
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { EntityState } from '@reduxjs/toolkit';
|
|
2
|
+
export type ToastType = 'success' | 'warning' | 'error';
|
|
3
|
+
export type ToastEntity = {
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
timeout: number;
|
|
8
|
+
type: ToastType;
|
|
9
|
+
link?: {
|
|
10
|
+
label: string;
|
|
11
|
+
url: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export type Toast = Omit<ToastEntity, 'id' | 'timeout' | 'type'> & {
|
|
15
|
+
id?: string;
|
|
16
|
+
};
|
|
17
|
+
export type ToastRootState = {
|
|
18
|
+
toasts: EntityState<ToastEntity, string>;
|
|
19
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { PagingResults, TVChannelList } from 'jamespot-user-api';
|
|
2
|
+
export declare const fetchChannels: import('@reduxjs/toolkit').AsyncThunk<PagingResults<TVChannelList>, number | void, {
|
|
3
|
+
dispatch: import('../..').AppDispatch;
|
|
4
|
+
state: import('../..').RootState;
|
|
5
|
+
extra: {
|
|
6
|
+
jApi: import('jamespot-user-api').JamespotUserApi;
|
|
7
|
+
};
|
|
8
|
+
rejectValue?: unknown;
|
|
9
|
+
serializedErrorType?: unknown;
|
|
10
|
+
pendingMeta?: unknown;
|
|
11
|
+
fulfilledMeta?: unknown;
|
|
12
|
+
rejectedMeta?: unknown;
|
|
13
|
+
}>;
|
|
14
|
+
export declare const deleteChannel: import('@reduxjs/toolkit').AsyncThunk<boolean | undefined, {
|
|
15
|
+
channel: Pick<TVChannelList, "id">;
|
|
16
|
+
}, {
|
|
17
|
+
dispatch: import('../..').AppDispatch;
|
|
18
|
+
state: import('../..').RootState;
|
|
19
|
+
extra: {
|
|
20
|
+
jApi: import('jamespot-user-api').JamespotUserApi;
|
|
21
|
+
};
|
|
22
|
+
rejectValue?: unknown;
|
|
23
|
+
serializedErrorType?: unknown;
|
|
24
|
+
pendingMeta?: unknown;
|
|
25
|
+
fulfilledMeta?: unknown;
|
|
26
|
+
rejectedMeta?: unknown;
|
|
27
|
+
}>;
|
|
28
|
+
export declare const ChannelsListSlice: import('@reduxjs/toolkit').Slice<{
|
|
29
|
+
loading: "idle" | "pending";
|
|
30
|
+
channels: PagingResults<TVChannelList> | undefined;
|
|
31
|
+
loadingChannelDeletion: "idle" | "pending";
|
|
32
|
+
}, {}, "channelsList", "channelsList", import('@reduxjs/toolkit').SliceSelectors<{
|
|
33
|
+
loading: "idle" | "pending";
|
|
34
|
+
channels: PagingResults<TVChannelList> | undefined;
|
|
35
|
+
loadingChannelDeletion: "idle" | "pending";
|
|
36
|
+
}>>;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { isChannelConfigured } from './utils';
|
|
2
|
+
import { RootState } from '../../types/store';
|
|
3
|
+
export declare const TVDisplay: {
|
|
4
|
+
slice: {
|
|
5
|
+
name: "tvDisplay";
|
|
6
|
+
reducer: import('@reduxjs/toolkit').Reducer<{
|
|
7
|
+
channelsList: {
|
|
8
|
+
loading: "idle" | "pending";
|
|
9
|
+
channels: import('jamespot-user-api').PagingResults<import('jamespot-user-api').TVChannelList> | undefined;
|
|
10
|
+
loadingChannelDeletion: "idle" | "pending";
|
|
11
|
+
};
|
|
12
|
+
}, import('@reduxjs/toolkit').UnknownAction, Partial<{
|
|
13
|
+
channelsList: {
|
|
14
|
+
loading: "idle" | "pending";
|
|
15
|
+
channels: import('jamespot-user-api').PagingResults<import('jamespot-user-api').TVChannelList> | undefined;
|
|
16
|
+
loadingChannelDeletion: "idle" | "pending";
|
|
17
|
+
} | undefined;
|
|
18
|
+
}>>;
|
|
19
|
+
};
|
|
20
|
+
actions: {
|
|
21
|
+
fetchChannels: import('@reduxjs/toolkit').AsyncThunk<import('jamespot-user-api').PagingResults<import('jamespot-user-api').TVChannelList>, number | void, {
|
|
22
|
+
dispatch: import('../..').AppDispatch;
|
|
23
|
+
state: RootState;
|
|
24
|
+
extra: {
|
|
25
|
+
jApi: import('jamespot-user-api').JamespotUserApi;
|
|
26
|
+
};
|
|
27
|
+
rejectValue?: unknown;
|
|
28
|
+
serializedErrorType?: unknown;
|
|
29
|
+
pendingMeta?: unknown;
|
|
30
|
+
fulfilledMeta?: unknown;
|
|
31
|
+
rejectedMeta?: unknown;
|
|
32
|
+
}>;
|
|
33
|
+
deleteChannel: import('@reduxjs/toolkit').AsyncThunk<boolean | undefined, {
|
|
34
|
+
channel: Pick<import('jamespot-user-api').TVChannelList, "id">;
|
|
35
|
+
}, {
|
|
36
|
+
dispatch: import('../..').AppDispatch;
|
|
37
|
+
state: RootState;
|
|
38
|
+
extra: {
|
|
39
|
+
jApi: import('jamespot-user-api').JamespotUserApi;
|
|
40
|
+
};
|
|
41
|
+
rejectValue?: unknown;
|
|
42
|
+
serializedErrorType?: unknown;
|
|
43
|
+
pendingMeta?: unknown;
|
|
44
|
+
fulfilledMeta?: unknown;
|
|
45
|
+
rejectedMeta?: unknown;
|
|
46
|
+
}>;
|
|
47
|
+
};
|
|
48
|
+
selectors: {
|
|
49
|
+
selectChannelsList: (state: RootState) => import('./tvDisplay.types').ChannelsListState;
|
|
50
|
+
};
|
|
51
|
+
utils: {
|
|
52
|
+
isChannelConfigured: typeof isChannelConfigured;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PagingResults, TVChannelList } from 'jamespot-user-api';
|
|
2
|
+
import { Loading } from '../../types/utils';
|
|
3
|
+
export type TVDisplayRootState = {
|
|
4
|
+
tvDisplay: ChannelsListRootState;
|
|
5
|
+
};
|
|
6
|
+
export type ChannelsListState = Loading & {
|
|
7
|
+
channels: PagingResults<TVChannelList> | undefined;
|
|
8
|
+
loadingChannelDeletion: 'idle' | 'pending';
|
|
9
|
+
};
|
|
10
|
+
export type ChannelsListRootState = {
|
|
11
|
+
channelsList: ChannelsListState;
|
|
12
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { TVChannelList } from 'jamespot-user-api';
|
|
2
|
+
export declare const notConfiguredDynamicChannel: TVChannelList;
|
|
3
|
+
export declare const configuredDynamicChannel: TVChannelList;
|
|
4
|
+
export declare const notConfiguredSlideshowChannel: TVChannelList;
|
|
5
|
+
export declare const configuredSlideshowChannel: TVChannelList;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
+
import { jUserList } from 'jamespot-user-api';
|
|
3
|
+
import { RootState } from '../../types/store';
|
|
4
|
+
export declare const slice: import('@reduxjs/toolkit').Slice<jUserList, {
|
|
5
|
+
init: (_: import('@reduxjs/toolkit').WritableDraft<jUserList>, { payload }: PayloadAction<jUserList>) => jUserList;
|
|
6
|
+
}, "userCurrent", "userCurrent", import('@reduxjs/toolkit').SliceSelectors<jUserList>>;
|
|
7
|
+
export declare const UserCurrent: {
|
|
8
|
+
slice: import('@reduxjs/toolkit').Slice<jUserList, {
|
|
9
|
+
init: (_: import('@reduxjs/toolkit').WritableDraft<jUserList>, { payload }: PayloadAction<jUserList>) => jUserList;
|
|
10
|
+
}, "userCurrent", "userCurrent", import('@reduxjs/toolkit').SliceSelectors<jUserList>>;
|
|
11
|
+
actions: {
|
|
12
|
+
init: import('@reduxjs/toolkit').ActionCreatorWithPayload<jUserList, "userCurrent/init">;
|
|
13
|
+
};
|
|
14
|
+
selectors: {
|
|
15
|
+
get: (state: RootState) => jUserList;
|
|
16
|
+
};
|
|
17
|
+
utils: {
|
|
18
|
+
isAdmin: (userCurrent: jUserList) => boolean;
|
|
19
|
+
isLogged: (userCurrent: jUserList) => boolean;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export declare const jUserGuest: {
|
|
2
|
+
id: number;
|
|
3
|
+
mainType: string;
|
|
4
|
+
type: string;
|
|
5
|
+
uri: string;
|
|
6
|
+
title: string;
|
|
7
|
+
_url: string;
|
|
8
|
+
dateCreation: string;
|
|
9
|
+
dateModified: string;
|
|
10
|
+
level: 0;
|
|
11
|
+
active: number;
|
|
12
|
+
};
|
|
13
|
+
export declare const jUserAdmin: {
|
|
14
|
+
id: number;
|
|
15
|
+
mainType: string;
|
|
16
|
+
type: string;
|
|
17
|
+
uri: string;
|
|
18
|
+
title: string;
|
|
19
|
+
_url: string;
|
|
20
|
+
dateCreation: string;
|
|
21
|
+
dateModified: string;
|
|
22
|
+
level: 9;
|
|
23
|
+
active: number;
|
|
24
|
+
};
|
|
25
|
+
export declare const jUserUser: {
|
|
26
|
+
id: number;
|
|
27
|
+
mainType: string;
|
|
28
|
+
type: string;
|
|
29
|
+
uri: string;
|
|
30
|
+
title: string;
|
|
31
|
+
_url: string;
|
|
32
|
+
dateCreation: string;
|
|
33
|
+
dateModified: string;
|
|
34
|
+
level: 5;
|
|
35
|
+
active: number;
|
|
36
|
+
};
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { ApiWrapper, PagingResults } from 'jamespot-user-api';
|
|
2
|
+
export declare const fetchFiles: import('@reduxjs/toolkit').AsyncThunk<ApiWrapper<PagingResults<{
|
|
3
|
+
type: string;
|
|
4
|
+
uri: string;
|
|
5
|
+
id: number;
|
|
6
|
+
mainType: string;
|
|
7
|
+
title: string;
|
|
8
|
+
_user: Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
9
|
+
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
10
|
+
dateCreation: string;
|
|
11
|
+
dateModified: string;
|
|
12
|
+
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
13
|
+
};
|
|
14
|
+
_right: import('jamespot-user-api').Rights;
|
|
15
|
+
mimetype: string;
|
|
16
|
+
_extend: {
|
|
17
|
+
dateCreation: string;
|
|
18
|
+
dateModified: string;
|
|
19
|
+
_url: string;
|
|
20
|
+
generalAccessRule: string;
|
|
21
|
+
fileInfo: import('jamespot-user-api').OnlyOfficeFileInfo;
|
|
22
|
+
parentId: number;
|
|
23
|
+
parentType: string;
|
|
24
|
+
parentFiles: number[];
|
|
25
|
+
generalAccessHash?: string | undefined;
|
|
26
|
+
};
|
|
27
|
+
_audience: import('jamespot-user-api').jObjectLittle[];
|
|
28
|
+
dateCreation?: string | undefined | undefined;
|
|
29
|
+
dateModified?: string | null | undefined | undefined;
|
|
30
|
+
}>, import('jamespot-user-api').BaseMessages>, {
|
|
31
|
+
page: number;
|
|
32
|
+
query: string;
|
|
33
|
+
sort: "ASC" | "DESC";
|
|
34
|
+
}, {
|
|
35
|
+
dispatch: import('../..').AppDispatch;
|
|
36
|
+
state: import('../..').RootState;
|
|
37
|
+
extra: {
|
|
38
|
+
jApi: import('jamespot-user-api').JamespotUserApi;
|
|
39
|
+
};
|
|
40
|
+
rejectValue?: unknown;
|
|
41
|
+
serializedErrorType?: unknown;
|
|
42
|
+
pendingMeta?: unknown;
|
|
43
|
+
fulfilledMeta?: unknown;
|
|
44
|
+
rejectedMeta?: unknown;
|
|
45
|
+
}>;
|
|
46
|
+
export declare const fetchRecentFiles: import('@reduxjs/toolkit').AsyncThunk<ApiWrapper<PagingResults<{
|
|
47
|
+
type: string;
|
|
48
|
+
uri: string;
|
|
49
|
+
id: number;
|
|
50
|
+
mainType: string;
|
|
51
|
+
title: string;
|
|
52
|
+
_user: Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
53
|
+
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
54
|
+
dateCreation: string;
|
|
55
|
+
dateModified: string;
|
|
56
|
+
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
57
|
+
};
|
|
58
|
+
_right: import('jamespot-user-api').Rights;
|
|
59
|
+
mimetype: string;
|
|
60
|
+
_extend: {
|
|
61
|
+
dateCreation: string;
|
|
62
|
+
dateModified: string;
|
|
63
|
+
_url: string;
|
|
64
|
+
generalAccessRule: string;
|
|
65
|
+
fileInfo: import('jamespot-user-api').OnlyOfficeFileInfo;
|
|
66
|
+
parentId: number;
|
|
67
|
+
parentType: string;
|
|
68
|
+
parentFiles: number[];
|
|
69
|
+
generalAccessHash?: string | undefined;
|
|
70
|
+
};
|
|
71
|
+
_audience: import('jamespot-user-api').jObjectLittle[];
|
|
72
|
+
dateCreation?: string | undefined | undefined;
|
|
73
|
+
dateModified?: string | null | undefined | undefined;
|
|
74
|
+
}>, import('jamespot-user-api').BaseMessages>, void, {
|
|
75
|
+
dispatch: import('../..').AppDispatch;
|
|
76
|
+
state: import('../..').RootState;
|
|
77
|
+
extra: {
|
|
78
|
+
jApi: import('jamespot-user-api').JamespotUserApi;
|
|
79
|
+
};
|
|
80
|
+
rejectValue?: unknown;
|
|
81
|
+
serializedErrorType?: unknown;
|
|
82
|
+
pendingMeta?: unknown;
|
|
83
|
+
fulfilledMeta?: unknown;
|
|
84
|
+
rejectedMeta?: unknown;
|
|
85
|
+
}>;
|