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,97 @@
|
|
|
1
|
+
import { RootState } from '../../../types/store';
|
|
2
|
+
export declare const adminLogsSlice: {
|
|
3
|
+
name: "adminLogs";
|
|
4
|
+
reducer: import('@reduxjs/toolkit').Reducer<{
|
|
5
|
+
logsNavigation: import('./types').AdminLogsNavigationSliceState;
|
|
6
|
+
logsObjects: import('./types').AdminLogsObjectsSliceState;
|
|
7
|
+
logsSearch: import('./types').AdminLogsSearchSliceState;
|
|
8
|
+
}, import('@reduxjs/toolkit').UnknownAction, Partial<{
|
|
9
|
+
logsNavigation: import('./types').AdminLogsNavigationSliceState | undefined;
|
|
10
|
+
logsObjects: import('./types').AdminLogsObjectsSliceState | undefined;
|
|
11
|
+
logsSearch: import('./types').AdminLogsSearchSliceState | undefined;
|
|
12
|
+
}>>;
|
|
13
|
+
};
|
|
14
|
+
export declare const adminLogsReducer: import('@reduxjs/toolkit').Reducer<{
|
|
15
|
+
logsNavigation: import('./types').AdminLogsNavigationSliceState;
|
|
16
|
+
logsObjects: import('./types').AdminLogsObjectsSliceState;
|
|
17
|
+
logsSearch: import('./types').AdminLogsSearchSliceState;
|
|
18
|
+
}, import('@reduxjs/toolkit').UnknownAction, Partial<{
|
|
19
|
+
logsNavigation: import('./types').AdminLogsNavigationSliceState | undefined;
|
|
20
|
+
logsObjects: import('./types').AdminLogsObjectsSliceState | undefined;
|
|
21
|
+
logsSearch: import('./types').AdminLogsSearchSliceState | undefined;
|
|
22
|
+
}>>;
|
|
23
|
+
export declare const AdminLogs: {
|
|
24
|
+
slice: {
|
|
25
|
+
name: "adminLogs";
|
|
26
|
+
reducer: import('@reduxjs/toolkit').Reducer<{
|
|
27
|
+
logsNavigation: import('./types').AdminLogsNavigationSliceState;
|
|
28
|
+
logsObjects: import('./types').AdminLogsObjectsSliceState;
|
|
29
|
+
logsSearch: import('./types').AdminLogsSearchSliceState;
|
|
30
|
+
}, import('@reduxjs/toolkit').UnknownAction, Partial<{
|
|
31
|
+
logsNavigation: import('./types').AdminLogsNavigationSliceState | undefined;
|
|
32
|
+
logsObjects: import('./types').AdminLogsObjectsSliceState | undefined;
|
|
33
|
+
logsSearch: import('./types').AdminLogsSearchSliceState | undefined;
|
|
34
|
+
}>>;
|
|
35
|
+
};
|
|
36
|
+
actions: {
|
|
37
|
+
fetchLogsNavigation: import('@reduxjs/toolkit').AsyncThunk<import('jamespot-user-api').PagingResults<import('jamespot-user-api').AdminLogNavigation>, import('jamespot-user-api').ListQueryParameters, {
|
|
38
|
+
dispatch: import('../../..').AppDispatch;
|
|
39
|
+
state: RootState;
|
|
40
|
+
extra: {
|
|
41
|
+
jApi: import('jamespot-user-api').JamespotUserApi;
|
|
42
|
+
};
|
|
43
|
+
rejectValue: {
|
|
44
|
+
error: number;
|
|
45
|
+
errorMsg: string;
|
|
46
|
+
};
|
|
47
|
+
serializedErrorType?: unknown;
|
|
48
|
+
pendingMeta?: unknown;
|
|
49
|
+
fulfilledMeta?: unknown;
|
|
50
|
+
rejectedMeta?: unknown;
|
|
51
|
+
}>;
|
|
52
|
+
fetchLogsObjects: import('@reduxjs/toolkit').AsyncThunk<import('jamespot-user-api').PagingResults<import('jamespot-user-api').AdminLogObject>, import('jamespot-user-api').ListQueryParameters, {
|
|
53
|
+
dispatch: import('../../..').AppDispatch;
|
|
54
|
+
state: RootState;
|
|
55
|
+
extra: {
|
|
56
|
+
jApi: import('jamespot-user-api').JamespotUserApi;
|
|
57
|
+
};
|
|
58
|
+
rejectValue: {
|
|
59
|
+
error: number;
|
|
60
|
+
errorMsg: string;
|
|
61
|
+
};
|
|
62
|
+
serializedErrorType?: unknown;
|
|
63
|
+
pendingMeta?: unknown;
|
|
64
|
+
fulfilledMeta?: unknown;
|
|
65
|
+
rejectedMeta?: unknown;
|
|
66
|
+
}>;
|
|
67
|
+
fetchLogsSearch: import('@reduxjs/toolkit').AsyncThunk<import('jamespot-user-api').PagingResults<import('jamespot-user-api').AdminLogSearch>, import('jamespot-user-api').ListQueryParameters, {
|
|
68
|
+
dispatch: import('../../..').AppDispatch;
|
|
69
|
+
state: RootState;
|
|
70
|
+
extra: {
|
|
71
|
+
jApi: import('jamespot-user-api').JamespotUserApi;
|
|
72
|
+
};
|
|
73
|
+
rejectValue: {
|
|
74
|
+
error: number;
|
|
75
|
+
errorMsg: string;
|
|
76
|
+
};
|
|
77
|
+
serializedErrorType?: unknown;
|
|
78
|
+
pendingMeta?: unknown;
|
|
79
|
+
fulfilledMeta?: unknown;
|
|
80
|
+
rejectedMeta?: unknown;
|
|
81
|
+
}>;
|
|
82
|
+
setSearchOrder: import('@reduxjs/toolkit').ActionCreatorWithPayload<import('jamespot-user-api').Orders, "logsSearch/setSearchOrder">;
|
|
83
|
+
setSearchFilter: import('@reduxjs/toolkit').ActionCreatorWithPayload<import('jamespot-user-api').Filter[], "logsSearch/setSearchFilter">;
|
|
84
|
+
setSearchPage: import('@reduxjs/toolkit').ActionCreatorWithPayload<number, "logsSearch/setSearchPage">;
|
|
85
|
+
setObjectsOrder: import('@reduxjs/toolkit').ActionCreatorWithPayload<import('jamespot-user-api').Orders, "logsObjects/setObjectsOrder">;
|
|
86
|
+
setObjectsFilter: import('@reduxjs/toolkit').ActionCreatorWithPayload<import('jamespot-user-api').Filter[], "logsObjects/setObjectsFilter">;
|
|
87
|
+
setObjectsPage: import('@reduxjs/toolkit').ActionCreatorWithPayload<number, "logsObjects/setObjectsPage">;
|
|
88
|
+
setNavigationOrder: import('@reduxjs/toolkit').ActionCreatorWithPayload<import('jamespot-user-api').Orders, "logsNavigation/setNavigationOrder">;
|
|
89
|
+
setNavigationFilter: import('@reduxjs/toolkit').ActionCreatorWithPayload<import('jamespot-user-api').Filter[], "logsNavigation/setNavigationFilter">;
|
|
90
|
+
setNavigationPage: import('@reduxjs/toolkit').ActionCreatorWithPayload<number, "logsNavigation/setNavigationPage">;
|
|
91
|
+
};
|
|
92
|
+
selectors: {
|
|
93
|
+
selectAdminLogsNavigation: (state: RootState) => import('./types').AdminLogsNavigationSliceState;
|
|
94
|
+
selectAdminLogsObjects: (state: RootState) => import('./types').AdminLogsObjectsSliceState;
|
|
95
|
+
selectAdminLogsSearch: (state: RootState) => import('./types').AdminLogsSearchSliceState;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
export declare const objectListAdminAdvancedLogsNavigationDefault: {
|
|
2
|
+
o: string;
|
|
3
|
+
f: string;
|
|
4
|
+
error: number;
|
|
5
|
+
messages: never[];
|
|
6
|
+
result: {
|
|
7
|
+
limit: number;
|
|
8
|
+
page: number;
|
|
9
|
+
cnt: number;
|
|
10
|
+
data: never[];
|
|
11
|
+
facets: null;
|
|
12
|
+
idQuery: null;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export declare const objectListAdminAdvancedLogsObjectsDefault: {
|
|
16
|
+
o: string;
|
|
17
|
+
f: string;
|
|
18
|
+
error: number;
|
|
19
|
+
messages: never[];
|
|
20
|
+
result: {
|
|
21
|
+
limit: number;
|
|
22
|
+
page: number;
|
|
23
|
+
cnt: number;
|
|
24
|
+
data: ({
|
|
25
|
+
dateCreation: string;
|
|
26
|
+
action: string;
|
|
27
|
+
mainType: string;
|
|
28
|
+
idObject: number;
|
|
29
|
+
typeObject: string;
|
|
30
|
+
mail: string;
|
|
31
|
+
url: string;
|
|
32
|
+
extended?: never;
|
|
33
|
+
} | {
|
|
34
|
+
dateCreation: string;
|
|
35
|
+
action: string;
|
|
36
|
+
mainType: string;
|
|
37
|
+
idObject: number;
|
|
38
|
+
typeObject: string;
|
|
39
|
+
mail: string;
|
|
40
|
+
url: string;
|
|
41
|
+
extended: string;
|
|
42
|
+
})[];
|
|
43
|
+
facets: null;
|
|
44
|
+
idQuery: null;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
export declare const objectListAdminAdvancedLogsSearchDefault: {
|
|
48
|
+
o: string;
|
|
49
|
+
f: string;
|
|
50
|
+
error: number;
|
|
51
|
+
messages: never[];
|
|
52
|
+
result: {
|
|
53
|
+
limit: number;
|
|
54
|
+
page: number;
|
|
55
|
+
cnt: number;
|
|
56
|
+
data: {
|
|
57
|
+
dateCreation: string;
|
|
58
|
+
type: string;
|
|
59
|
+
msg: string;
|
|
60
|
+
}[];
|
|
61
|
+
facets: null;
|
|
62
|
+
idQuery: null;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
+
import { AdminLogsNavigationSliceState } from './types';
|
|
3
|
+
import { AdminLogNavigation, Filters, ListQueryParameters, Orders, PagingResults } from 'jamespot-user-api';
|
|
4
|
+
export declare const fetchLogsNavigation: import('@reduxjs/toolkit').AsyncThunk<PagingResults<AdminLogNavigation>, ListQueryParameters, {
|
|
5
|
+
dispatch: import('../../..').AppDispatch;
|
|
6
|
+
state: import('../../..').RootState;
|
|
7
|
+
extra: {
|
|
8
|
+
jApi: import('jamespot-user-api').JamespotUserApi;
|
|
9
|
+
};
|
|
10
|
+
rejectValue: {
|
|
11
|
+
error: number;
|
|
12
|
+
errorMsg: string;
|
|
13
|
+
};
|
|
14
|
+
serializedErrorType?: unknown;
|
|
15
|
+
pendingMeta?: unknown;
|
|
16
|
+
fulfilledMeta?: unknown;
|
|
17
|
+
rejectedMeta?: unknown;
|
|
18
|
+
}>;
|
|
19
|
+
export declare const adminLogsNavigationSlice: import('@reduxjs/toolkit').Slice<AdminLogsNavigationSliceState, {
|
|
20
|
+
setNavigationOrder: (state: import('@reduxjs/toolkit').WritableDraft<AdminLogsNavigationSliceState>, action: PayloadAction<Orders>) => void;
|
|
21
|
+
setNavigationFilter: (state: import('@reduxjs/toolkit').WritableDraft<AdminLogsNavigationSliceState>, action: PayloadAction<Filters>) => void;
|
|
22
|
+
setNavigationPage: (state: import('@reduxjs/toolkit').WritableDraft<AdminLogsNavigationSliceState>, action: PayloadAction<number>) => void;
|
|
23
|
+
}, "logsNavigation", "logsNavigation", import('@reduxjs/toolkit').SliceSelectors<AdminLogsNavigationSliceState>>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
+
import { AdminLogsObjectsSliceState } from './types';
|
|
3
|
+
import { AdminLogObject, Filters, ListQueryParameters, Orders, PagingResults } from 'jamespot-user-api';
|
|
4
|
+
export declare const fetchLogsObjects: import('@reduxjs/toolkit').AsyncThunk<PagingResults<AdminLogObject>, ListQueryParameters, {
|
|
5
|
+
dispatch: import('../../..').AppDispatch;
|
|
6
|
+
state: import('../../..').RootState;
|
|
7
|
+
extra: {
|
|
8
|
+
jApi: import('jamespot-user-api').JamespotUserApi;
|
|
9
|
+
};
|
|
10
|
+
rejectValue: {
|
|
11
|
+
error: number;
|
|
12
|
+
errorMsg: string;
|
|
13
|
+
};
|
|
14
|
+
serializedErrorType?: unknown;
|
|
15
|
+
pendingMeta?: unknown;
|
|
16
|
+
fulfilledMeta?: unknown;
|
|
17
|
+
rejectedMeta?: unknown;
|
|
18
|
+
}>;
|
|
19
|
+
export declare const adminLogsObjectsSlice: import('@reduxjs/toolkit').Slice<AdminLogsObjectsSliceState, {
|
|
20
|
+
setObjectsOrder: (state: import('@reduxjs/toolkit').WritableDraft<AdminLogsObjectsSliceState>, action: PayloadAction<Orders>) => void;
|
|
21
|
+
setObjectsFilter: (state: import('@reduxjs/toolkit').WritableDraft<AdminLogsObjectsSliceState>, action: PayloadAction<Filters>) => void;
|
|
22
|
+
setObjectsPage: (state: import('@reduxjs/toolkit').WritableDraft<AdminLogsObjectsSliceState>, action: PayloadAction<number>) => void;
|
|
23
|
+
}, "logsObjects", "logsObjects", import('@reduxjs/toolkit').SliceSelectors<AdminLogsObjectsSliceState>>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
+
import { AdminLogsSearchSliceState } from './types';
|
|
3
|
+
import { AdminLogSearch, Filters, ListQueryParameters, Orders, PagingResults } from 'jamespot-user-api';
|
|
4
|
+
export declare const fetchLogsSearch: import('@reduxjs/toolkit').AsyncThunk<PagingResults<AdminLogSearch>, ListQueryParameters, {
|
|
5
|
+
dispatch: import('../../..').AppDispatch;
|
|
6
|
+
state: import('../../..').RootState;
|
|
7
|
+
extra: {
|
|
8
|
+
jApi: import('jamespot-user-api').JamespotUserApi;
|
|
9
|
+
};
|
|
10
|
+
rejectValue: {
|
|
11
|
+
error: number;
|
|
12
|
+
errorMsg: string;
|
|
13
|
+
};
|
|
14
|
+
serializedErrorType?: unknown;
|
|
15
|
+
pendingMeta?: unknown;
|
|
16
|
+
fulfilledMeta?: unknown;
|
|
17
|
+
rejectedMeta?: unknown;
|
|
18
|
+
}>;
|
|
19
|
+
export declare const adminLogsSearchSlice: import('@reduxjs/toolkit').Slice<AdminLogsSearchSliceState, {
|
|
20
|
+
setSearchOrder: (state: import('@reduxjs/toolkit').WritableDraft<AdminLogsSearchSliceState>, action: PayloadAction<Orders>) => void;
|
|
21
|
+
setSearchFilter: (state: import('@reduxjs/toolkit').WritableDraft<AdminLogsSearchSliceState>, action: PayloadAction<Filters>) => void;
|
|
22
|
+
setSearchPage: (state: import('@reduxjs/toolkit').WritableDraft<AdminLogsSearchSliceState>, action: PayloadAction<number>) => void;
|
|
23
|
+
}, "logsSearch", "logsSearch", import('@reduxjs/toolkit').SliceSelectors<AdminLogsSearchSliceState>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AdminLogNavigation, AdminLogObject, AdminLogSearch } from 'jamespot-user-api';
|
|
2
|
+
import { PagingState } from '../../../types/utils';
|
|
3
|
+
export type AdminLogsNavigationSliceState = PagingState<AdminLogNavigation>;
|
|
4
|
+
export type AdminLogsObjectsSliceState = PagingState<AdminLogObject>;
|
|
5
|
+
export type AdminLogsSearchSliceState = PagingState<AdminLogSearch>;
|
|
6
|
+
export type AdminLogsRootState = {
|
|
7
|
+
adminLogs: {
|
|
8
|
+
logsNavigation: AdminLogsNavigationSliceState;
|
|
9
|
+
logsObjects: AdminLogsObjectsSliceState;
|
|
10
|
+
logsSearch: AdminLogsSearchSliceState;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { AnimationStatsSliceState } from './types';
|
|
2
|
+
export declare const fetchAnimationStats: import('@reduxjs/toolkit').AsyncThunk<import('jamespot-user-api').AnimationStats[], {
|
|
3
|
+
name: string;
|
|
4
|
+
}, {
|
|
5
|
+
dispatch: import('../..').AppDispatch;
|
|
6
|
+
state: import('../..').RootState;
|
|
7
|
+
extra: {
|
|
8
|
+
jApi: import('jamespot-user-api').JamespotUserApi;
|
|
9
|
+
};
|
|
10
|
+
rejectValue: {
|
|
11
|
+
error: number;
|
|
12
|
+
errorMsg: string;
|
|
13
|
+
};
|
|
14
|
+
serializedErrorType?: unknown;
|
|
15
|
+
pendingMeta?: unknown;
|
|
16
|
+
fulfilledMeta?: unknown;
|
|
17
|
+
rejectedMeta?: unknown;
|
|
18
|
+
}>;
|
|
19
|
+
export declare const animationStatsSlice: import('@reduxjs/toolkit').Slice<AnimationStatsSliceState, {}, "animationStats", "animationStats", import('@reduxjs/toolkit').SliceSelectors<AnimationStatsSliceState>>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { AnimationStatsCurrentSliceState } from './types';
|
|
2
|
+
export declare const fetchAnimationStatsCurrent: import('@reduxjs/toolkit').AsyncThunk<import('jamespot-user-api').AnimationStats | null, string, {
|
|
3
|
+
dispatch: import('../..').AppDispatch;
|
|
4
|
+
state: import('../..').RootState;
|
|
5
|
+
extra: {
|
|
6
|
+
jApi: import('jamespot-user-api').JamespotUserApi;
|
|
7
|
+
};
|
|
8
|
+
rejectValue: {
|
|
9
|
+
error: number;
|
|
10
|
+
errorMsg: string;
|
|
11
|
+
};
|
|
12
|
+
serializedErrorType?: unknown;
|
|
13
|
+
pendingMeta?: unknown;
|
|
14
|
+
fulfilledMeta?: unknown;
|
|
15
|
+
rejectedMeta?: unknown;
|
|
16
|
+
}>;
|
|
17
|
+
export declare const animationStatsCurrentSlice: import('@reduxjs/toolkit').Slice<AnimationStatsCurrentSliceState, {}, "animationStatsCurrent", "animationStatsCurrent", import('@reduxjs/toolkit').SliceSelectors<AnimationStatsCurrentSliceState>>;
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import { RootState } from '../../types/store';
|
|
2
|
+
export * from './types';
|
|
3
|
+
export declare const animationsSlice: {
|
|
4
|
+
name: "animations";
|
|
5
|
+
reducer: import('@reduxjs/toolkit').Reducer<{
|
|
6
|
+
animationsList: import('./types').AnimationSliceListState;
|
|
7
|
+
animationStats: import('./types').AnimationStatsSliceState;
|
|
8
|
+
animationStatsCurrent: import('./types').AnimationStatsCurrentSliceState;
|
|
9
|
+
}, import('@reduxjs/toolkit').UnknownAction, Partial<{
|
|
10
|
+
animationsList: import('./types').AnimationSliceListState | undefined;
|
|
11
|
+
animationStats: import('./types').AnimationStatsSliceState | undefined;
|
|
12
|
+
animationStatsCurrent: import('./types').AnimationStatsCurrentSliceState | undefined;
|
|
13
|
+
}>>;
|
|
14
|
+
};
|
|
15
|
+
export declare const animationsReducer: import('@reduxjs/toolkit').Reducer<{
|
|
16
|
+
animationsList: import('./types').AnimationSliceListState;
|
|
17
|
+
animationStats: import('./types').AnimationStatsSliceState;
|
|
18
|
+
animationStatsCurrent: import('./types').AnimationStatsCurrentSliceState;
|
|
19
|
+
}, import('@reduxjs/toolkit').UnknownAction, Partial<{
|
|
20
|
+
animationsList: import('./types').AnimationSliceListState | undefined;
|
|
21
|
+
animationStats: import('./types').AnimationStatsSliceState | undefined;
|
|
22
|
+
animationStatsCurrent: import('./types').AnimationStatsCurrentSliceState | undefined;
|
|
23
|
+
}>>;
|
|
24
|
+
export declare const Animations: {
|
|
25
|
+
slice: {
|
|
26
|
+
name: "animations";
|
|
27
|
+
reducer: import('@reduxjs/toolkit').Reducer<{
|
|
28
|
+
animationsList: import('./types').AnimationSliceListState;
|
|
29
|
+
animationStats: import('./types').AnimationStatsSliceState;
|
|
30
|
+
animationStatsCurrent: import('./types').AnimationStatsCurrentSliceState;
|
|
31
|
+
}, import('@reduxjs/toolkit').UnknownAction, Partial<{
|
|
32
|
+
animationsList: import('./types').AnimationSliceListState | undefined;
|
|
33
|
+
animationStats: import('./types').AnimationStatsSliceState | undefined;
|
|
34
|
+
animationStatsCurrent: import('./types').AnimationStatsCurrentSliceState | undefined;
|
|
35
|
+
}>>;
|
|
36
|
+
};
|
|
37
|
+
actions: {
|
|
38
|
+
saveCurrentAnimation: import('@reduxjs/toolkit').AsyncThunk<void, import('jamespot-user-api').AnimationConfigurationType, {
|
|
39
|
+
dispatch: import('../..').AppDispatch;
|
|
40
|
+
state: RootState;
|
|
41
|
+
extra: {
|
|
42
|
+
jApi: import('jamespot-user-api').JamespotUserApi;
|
|
43
|
+
};
|
|
44
|
+
rejectValue: {
|
|
45
|
+
error: number;
|
|
46
|
+
errorMsg: string;
|
|
47
|
+
};
|
|
48
|
+
serializedErrorType?: unknown;
|
|
49
|
+
pendingMeta?: unknown;
|
|
50
|
+
fulfilledMeta?: unknown;
|
|
51
|
+
rejectedMeta?: unknown;
|
|
52
|
+
}>;
|
|
53
|
+
fetchCurrentAnimation: import('@reduxjs/toolkit').AsyncThunk<Omit<import('./types').AnimationSliceListState, "isToggleLoading">, void, {
|
|
54
|
+
dispatch: import('../..').AppDispatch;
|
|
55
|
+
state: RootState;
|
|
56
|
+
extra: {
|
|
57
|
+
jApi: import('jamespot-user-api').JamespotUserApi;
|
|
58
|
+
};
|
|
59
|
+
rejectValue?: unknown;
|
|
60
|
+
serializedErrorType?: unknown;
|
|
61
|
+
pendingMeta?: unknown;
|
|
62
|
+
fulfilledMeta?: unknown;
|
|
63
|
+
rejectedMeta?: unknown;
|
|
64
|
+
}>;
|
|
65
|
+
deleteCurrentAnimation: import('@reduxjs/toolkit').AsyncThunk<void, void, {
|
|
66
|
+
dispatch: import('../..').AppDispatch;
|
|
67
|
+
state: RootState;
|
|
68
|
+
extra: {
|
|
69
|
+
jApi: import('jamespot-user-api').JamespotUserApi;
|
|
70
|
+
};
|
|
71
|
+
rejectValue: {
|
|
72
|
+
error: number;
|
|
73
|
+
errorMsg: string;
|
|
74
|
+
};
|
|
75
|
+
serializedErrorType?: unknown;
|
|
76
|
+
pendingMeta?: unknown;
|
|
77
|
+
fulfilledMeta?: unknown;
|
|
78
|
+
rejectedMeta?: unknown;
|
|
79
|
+
}>;
|
|
80
|
+
toggleAnimationIsActive: import('@reduxjs/toolkit').AsyncThunk<void, void, {
|
|
81
|
+
dispatch: import('../..').AppDispatch;
|
|
82
|
+
state: RootState;
|
|
83
|
+
extra: {
|
|
84
|
+
jApi: import('jamespot-user-api').JamespotUserApi;
|
|
85
|
+
};
|
|
86
|
+
rejectValue: {
|
|
87
|
+
error: number;
|
|
88
|
+
errorMsg: string;
|
|
89
|
+
};
|
|
90
|
+
serializedErrorType?: unknown;
|
|
91
|
+
pendingMeta?: unknown;
|
|
92
|
+
fulfilledMeta?: unknown;
|
|
93
|
+
rejectedMeta?: unknown;
|
|
94
|
+
}>;
|
|
95
|
+
fetchCurrentAnimationApp: import('@reduxjs/toolkit').AsyncThunk<import('jamespot-user-api').AnimationConfigurationType | null, void, {
|
|
96
|
+
dispatch: import('../..').AppDispatch;
|
|
97
|
+
state: RootState;
|
|
98
|
+
extra: {
|
|
99
|
+
jApi: import('jamespot-user-api').JamespotUserApi;
|
|
100
|
+
};
|
|
101
|
+
rejectValue: {
|
|
102
|
+
error: number;
|
|
103
|
+
errorMsg: string;
|
|
104
|
+
};
|
|
105
|
+
serializedErrorType?: unknown;
|
|
106
|
+
pendingMeta?: unknown;
|
|
107
|
+
fulfilledMeta?: unknown;
|
|
108
|
+
rejectedMeta?: unknown;
|
|
109
|
+
}>;
|
|
110
|
+
fetchAnimationStats: import('@reduxjs/toolkit').AsyncThunk<import('jamespot-user-api').AnimationStats[], {
|
|
111
|
+
name: string;
|
|
112
|
+
}, {
|
|
113
|
+
dispatch: import('../..').AppDispatch;
|
|
114
|
+
state: RootState;
|
|
115
|
+
extra: {
|
|
116
|
+
jApi: import('jamespot-user-api').JamespotUserApi;
|
|
117
|
+
};
|
|
118
|
+
rejectValue: {
|
|
119
|
+
error: number;
|
|
120
|
+
errorMsg: string;
|
|
121
|
+
};
|
|
122
|
+
serializedErrorType?: unknown;
|
|
123
|
+
pendingMeta?: unknown;
|
|
124
|
+
fulfilledMeta?: unknown;
|
|
125
|
+
rejectedMeta?: unknown;
|
|
126
|
+
}>;
|
|
127
|
+
fetchAnimationStatsCurrent: import('@reduxjs/toolkit').AsyncThunk<import('jamespot-user-api').AnimationStats | null, string, {
|
|
128
|
+
dispatch: import('../..').AppDispatch;
|
|
129
|
+
state: RootState;
|
|
130
|
+
extra: {
|
|
131
|
+
jApi: import('jamespot-user-api').JamespotUserApi;
|
|
132
|
+
};
|
|
133
|
+
rejectValue: {
|
|
134
|
+
error: number;
|
|
135
|
+
errorMsg: string;
|
|
136
|
+
};
|
|
137
|
+
serializedErrorType?: unknown;
|
|
138
|
+
pendingMeta?: unknown;
|
|
139
|
+
fulfilledMeta?: unknown;
|
|
140
|
+
rejectedMeta?: unknown;
|
|
141
|
+
}>;
|
|
142
|
+
};
|
|
143
|
+
selectors: {
|
|
144
|
+
selectCurrentAnimation: (state: RootState) => import('jamespot-user-api').AnimationConfigurationType | null;
|
|
145
|
+
isActiveAnimation: (state: RootState) => boolean;
|
|
146
|
+
isToggleLoading: (state: RootState) => boolean;
|
|
147
|
+
selectAnimationConfigurationApp: (state: RootState) => import('jamespot-user-api').AnimationConfigurationType | null | undefined;
|
|
148
|
+
};
|
|
149
|
+
getAnimationsRTHandlers: (dispatch: import('../..').AppDispatch) => Array<import('jamespot-user-api').RTMessageHandler<"ANIMATIONS", import('jamespot-user-api').Namespaces["ANIMATIONS"]>>;
|
|
150
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AnimationConfigurationType, AnimationStats, ApiWrapper, PagingResults } from 'jamespot-user-api';
|
|
2
|
+
export declare const animationsGetCurrentanimation: ApiWrapper<AnimationConfigurationType>;
|
|
3
|
+
export declare const animationsGetAnimationActive: ApiWrapper<boolean>;
|
|
4
|
+
export declare const animationsGetCurrentAnimationApp: ApiWrapper<AnimationConfigurationType>;
|
|
5
|
+
export declare const animationsDeleteAnimation: ApiWrapper<boolean>;
|
|
6
|
+
export declare const animationsSaveConfiguration: ApiWrapper<AnimationConfigurationType>;
|
|
7
|
+
export declare const animationsToggleAnimationActive: ApiWrapper<boolean>;
|
|
8
|
+
export declare const objectListAnimationsStats: ApiWrapper<PagingResults<AnimationStats>>;
|
|
9
|
+
export declare const objectListAnimationsStatsCurrent: ApiWrapper<AnimationStats>;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { AnimationSliceListState } from './types';
|
|
2
|
+
import { AnimationConfigurationType } from 'jamespot-user-api';
|
|
3
|
+
export declare const animationsListSlice: import('@reduxjs/toolkit').Slice<AnimationSliceListState, {}, "animationsList", "animationsList", import('@reduxjs/toolkit').SliceSelectors<AnimationSliceListState>>;
|
|
4
|
+
export declare const fetchCurrentAnimation: import('@reduxjs/toolkit').AsyncThunk<Omit<AnimationSliceListState, "isToggleLoading">, void, {
|
|
5
|
+
dispatch: import('../..').AppDispatch;
|
|
6
|
+
state: import('../..').RootState;
|
|
7
|
+
extra: {
|
|
8
|
+
jApi: import('jamespot-user-api').JamespotUserApi;
|
|
9
|
+
};
|
|
10
|
+
rejectValue?: unknown;
|
|
11
|
+
serializedErrorType?: unknown;
|
|
12
|
+
pendingMeta?: unknown;
|
|
13
|
+
fulfilledMeta?: unknown;
|
|
14
|
+
rejectedMeta?: unknown;
|
|
15
|
+
}>;
|
|
16
|
+
export declare const fetchCurrentAnimationApp: import('@reduxjs/toolkit').AsyncThunk<AnimationConfigurationType | null, void, {
|
|
17
|
+
dispatch: import('../..').AppDispatch;
|
|
18
|
+
state: import('../..').RootState;
|
|
19
|
+
extra: {
|
|
20
|
+
jApi: import('jamespot-user-api').JamespotUserApi;
|
|
21
|
+
};
|
|
22
|
+
rejectValue: {
|
|
23
|
+
error: number;
|
|
24
|
+
errorMsg: string;
|
|
25
|
+
};
|
|
26
|
+
serializedErrorType?: unknown;
|
|
27
|
+
pendingMeta?: unknown;
|
|
28
|
+
fulfilledMeta?: unknown;
|
|
29
|
+
rejectedMeta?: unknown;
|
|
30
|
+
}>;
|
|
31
|
+
export declare const deleteCurrentAnimation: import('@reduxjs/toolkit').AsyncThunk<void, void, {
|
|
32
|
+
dispatch: import('../..').AppDispatch;
|
|
33
|
+
state: import('../..').RootState;
|
|
34
|
+
extra: {
|
|
35
|
+
jApi: import('jamespot-user-api').JamespotUserApi;
|
|
36
|
+
};
|
|
37
|
+
rejectValue: {
|
|
38
|
+
error: number;
|
|
39
|
+
errorMsg: string;
|
|
40
|
+
};
|
|
41
|
+
serializedErrorType?: unknown;
|
|
42
|
+
pendingMeta?: unknown;
|
|
43
|
+
fulfilledMeta?: unknown;
|
|
44
|
+
rejectedMeta?: unknown;
|
|
45
|
+
}>;
|
|
46
|
+
export declare const saveCurrentAnimation: import('@reduxjs/toolkit').AsyncThunk<void, AnimationConfigurationType, {
|
|
47
|
+
dispatch: import('../..').AppDispatch;
|
|
48
|
+
state: import('../..').RootState;
|
|
49
|
+
extra: {
|
|
50
|
+
jApi: import('jamespot-user-api').JamespotUserApi;
|
|
51
|
+
};
|
|
52
|
+
rejectValue: {
|
|
53
|
+
error: number;
|
|
54
|
+
errorMsg: string;
|
|
55
|
+
};
|
|
56
|
+
serializedErrorType?: unknown;
|
|
57
|
+
pendingMeta?: unknown;
|
|
58
|
+
fulfilledMeta?: unknown;
|
|
59
|
+
rejectedMeta?: unknown;
|
|
60
|
+
}>;
|
|
61
|
+
export declare const toggleAnimationIsActive: import('@reduxjs/toolkit').AsyncThunk<void, void, {
|
|
62
|
+
dispatch: import('../..').AppDispatch;
|
|
63
|
+
state: import('../..').RootState;
|
|
64
|
+
extra: {
|
|
65
|
+
jApi: import('jamespot-user-api').JamespotUserApi;
|
|
66
|
+
};
|
|
67
|
+
rejectValue: {
|
|
68
|
+
error: number;
|
|
69
|
+
errorMsg: string;
|
|
70
|
+
};
|
|
71
|
+
serializedErrorType?: unknown;
|
|
72
|
+
pendingMeta?: unknown;
|
|
73
|
+
fulfilledMeta?: unknown;
|
|
74
|
+
rejectedMeta?: unknown;
|
|
75
|
+
}>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { RTMessage } from 'jamespot-user-api';
|
|
2
|
+
export declare const addAnimationHandler: RTMessage<"ANIMATIONS", "add">;
|
|
3
|
+
export declare const deleteAnimationHandler: RTMessage<"ANIMATIONS", "delete">;
|
|
4
|
+
export declare const toggleIsActiveAnimationHandler: RTMessage<"ANIMATIONS", "toggle">;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { AnimationConfigurationType, AnimationStats } from 'jamespot-user-api';
|
|
2
|
+
import { Loading } from '../../types/utils';
|
|
3
|
+
export type AnimationSliceListState = {
|
|
4
|
+
animationConfiguration: AnimationConfigurationType | null;
|
|
5
|
+
isActiveForCurrentUser: boolean;
|
|
6
|
+
isInitialized: boolean;
|
|
7
|
+
isToggleLoading: boolean;
|
|
8
|
+
animationConfigurationApp?: AnimationConfigurationType | null;
|
|
9
|
+
};
|
|
10
|
+
export type AnimationStatsSliceState = {
|
|
11
|
+
stats: AnimationStats[];
|
|
12
|
+
} & Loading;
|
|
13
|
+
export type AnimationStatsCurrentSliceState = {
|
|
14
|
+
stats: AnimationStats | null;
|
|
15
|
+
} & Loading;
|
|
16
|
+
export type AnimationsRootState = {
|
|
17
|
+
animations: {
|
|
18
|
+
animationsList: AnimationSliceListState;
|
|
19
|
+
animationStats: AnimationStatsSliceState;
|
|
20
|
+
animationStatsCurrent: AnimationStatsCurrentSliceState;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { ApiWrapper, ApplicationType } from 'jamespot-user-api';
|
|
2
|
+
import { RootState } from '../../types/store';
|
|
3
|
+
export declare const Application: {
|
|
4
|
+
slice: import('@reduxjs/toolkit').Slice<import('@reduxjs/toolkit').EntityState<ApplicationType, string>, {
|
|
5
|
+
addOne: {
|
|
6
|
+
<S extends import('@reduxjs/toolkit').EntityState<ApplicationType, string> | import('@reduxjs/toolkit').WritableDraft<import('@reduxjs/toolkit').EntityState<ApplicationType, string>>>(state: boolean extends (S extends never ? true : false) ? import('@reduxjs/toolkit').EntityState<ApplicationType, string> : S, entity: ApplicationType): S;
|
|
7
|
+
<S extends import('@reduxjs/toolkit').EntityState<ApplicationType, string> | import('@reduxjs/toolkit').WritableDraft<import('@reduxjs/toolkit').EntityState<ApplicationType, string>>>(state: boolean extends (S extends never ? true : false) ? import('@reduxjs/toolkit').EntityState<ApplicationType, string> : S, action: {
|
|
8
|
+
payload: ApplicationType;
|
|
9
|
+
type: string;
|
|
10
|
+
}): S;
|
|
11
|
+
};
|
|
12
|
+
addMany: {
|
|
13
|
+
<S extends import('@reduxjs/toolkit').EntityState<ApplicationType, string> | import('@reduxjs/toolkit').WritableDraft<import('@reduxjs/toolkit').EntityState<ApplicationType, string>>>(state: boolean extends (S extends never ? true : false) ? import('@reduxjs/toolkit').EntityState<ApplicationType, string> : S, entities: Record<string, ApplicationType> | readonly ApplicationType[]): S;
|
|
14
|
+
<S extends import('@reduxjs/toolkit').EntityState<ApplicationType, string> | import('@reduxjs/toolkit').WritableDraft<import('@reduxjs/toolkit').EntityState<ApplicationType, string>>>(state: boolean extends (S extends never ? true : false) ? import('@reduxjs/toolkit').EntityState<ApplicationType, string> : S, entities: {
|
|
15
|
+
payload: Record<string, ApplicationType> | readonly ApplicationType[];
|
|
16
|
+
type: string;
|
|
17
|
+
}): S;
|
|
18
|
+
};
|
|
19
|
+
setAll: {
|
|
20
|
+
<S extends import('@reduxjs/toolkit').EntityState<ApplicationType, string> | import('@reduxjs/toolkit').WritableDraft<import('@reduxjs/toolkit').EntityState<ApplicationType, string>>>(state: boolean extends (S extends never ? true : false) ? import('@reduxjs/toolkit').EntityState<ApplicationType, string> : S, entities: Record<string, ApplicationType> | readonly ApplicationType[]): S;
|
|
21
|
+
<S extends import('@reduxjs/toolkit').EntityState<ApplicationType, string> | import('@reduxjs/toolkit').WritableDraft<import('@reduxjs/toolkit').EntityState<ApplicationType, string>>>(state: boolean extends (S extends never ? true : false) ? import('@reduxjs/toolkit').EntityState<ApplicationType, string> : S, entities: {
|
|
22
|
+
payload: Record<string, ApplicationType> | readonly ApplicationType[];
|
|
23
|
+
type: string;
|
|
24
|
+
}): S;
|
|
25
|
+
};
|
|
26
|
+
}, "applications", "applications", import('@reduxjs/toolkit').SliceSelectors<import('@reduxjs/toolkit').EntityState<ApplicationType, string>>>;
|
|
27
|
+
actions: {
|
|
28
|
+
addOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<ApplicationType, "applications/addOne">;
|
|
29
|
+
addMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<Record<string, ApplicationType> | readonly ApplicationType[], "applications/addMany">;
|
|
30
|
+
setAll: import('@reduxjs/toolkit').ActionCreatorWithPayload<Record<string, ApplicationType> | readonly ApplicationType[], "applications/setAll">;
|
|
31
|
+
fetchList: import('@reduxjs/toolkit').AsyncThunk<ApiWrapper<ApplicationType[], import('jamespot-user-api').BaseMessages>, void, {
|
|
32
|
+
dispatch: import('../..').AppDispatch;
|
|
33
|
+
state: RootState;
|
|
34
|
+
extra: {
|
|
35
|
+
jApi: import('jamespot-user-api').JamespotUserApi;
|
|
36
|
+
};
|
|
37
|
+
rejectValue: {
|
|
38
|
+
error: number;
|
|
39
|
+
errorMsg: string;
|
|
40
|
+
};
|
|
41
|
+
serializedErrorType?: unknown;
|
|
42
|
+
pendingMeta?: unknown;
|
|
43
|
+
fulfilledMeta?: unknown;
|
|
44
|
+
rejectedMeta?: unknown;
|
|
45
|
+
}>;
|
|
46
|
+
};
|
|
47
|
+
selectors: import('@reduxjs/toolkit').EntitySelectors<ApplicationType, RootState, string>;
|
|
48
|
+
};
|