jamespot-front-business 1.3.7 → 1.3.8
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 +347 -0
- package/dist/src/store/calendar/calendar.types.d.ts +22 -0
- package/dist/src/store/calendar/calendarEvents.d.ts +164 -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,74 @@
|
|
|
1
|
+
import { AssetReservationRootState } from './assetReservation.types';
|
|
2
|
+
export declare const AssetReservation: {
|
|
3
|
+
slice: {
|
|
4
|
+
name: "assetReservation";
|
|
5
|
+
reducer: import('@reduxjs/toolkit').Reducer<{
|
|
6
|
+
bookableAsset: import('./assetReservation.types').BookableAssetState;
|
|
7
|
+
configuration: import('./assetReservation.types').Configuration;
|
|
8
|
+
reservation: import('./assetReservation.types').ReservationState;
|
|
9
|
+
}, import('@reduxjs/toolkit').UnknownAction, Partial<{
|
|
10
|
+
bookableAsset: import('./assetReservation.types').BookableAssetState | undefined;
|
|
11
|
+
configuration: import('./assetReservation.types').Configuration | undefined;
|
|
12
|
+
reservation: import('./assetReservation.types').ReservationState | undefined;
|
|
13
|
+
}>>;
|
|
14
|
+
};
|
|
15
|
+
actions: {
|
|
16
|
+
fetchBookableAsset: import('@reduxjs/toolkit').AsyncThunk<import('jamespot-user-api').ApiPagingResults<import('jamespot-user-api').BookableAssetList>, void, {
|
|
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
|
+
fetchConfiguration: import('@reduxjs/toolkit').AsyncThunk<import('jamespot-user-api').ApiWrapper<{
|
|
29
|
+
description: string;
|
|
30
|
+
right: {
|
|
31
|
+
manage: boolean;
|
|
32
|
+
};
|
|
33
|
+
weekEnd: "0" | "1";
|
|
34
|
+
bookingOpeningTime: string;
|
|
35
|
+
bookingClosingTime: string;
|
|
36
|
+
lastBookingSchedule: string;
|
|
37
|
+
daysOff?: string[] | undefined;
|
|
38
|
+
}, import('jamespot-user-api').BaseMessages>, void, {
|
|
39
|
+
dispatch: import('../..').AppDispatch;
|
|
40
|
+
state: import('../..').RootState;
|
|
41
|
+
extra: {
|
|
42
|
+
jApi: import('jamespot-user-api').JamespotUserApi;
|
|
43
|
+
};
|
|
44
|
+
rejectValue?: unknown;
|
|
45
|
+
serializedErrorType?: unknown;
|
|
46
|
+
pendingMeta?: unknown;
|
|
47
|
+
fulfilledMeta?: unknown;
|
|
48
|
+
rejectedMeta?: unknown;
|
|
49
|
+
}>;
|
|
50
|
+
fetchReservation: import('@reduxjs/toolkit').AsyncThunk<import('jamespot-user-api').ApiPagingResults<import('jamespot-user-api').ReservationList, import('jamespot-user-api').BaseMessages>, "my" | "history", {
|
|
51
|
+
dispatch: import('../..').AppDispatch;
|
|
52
|
+
state: import('../..').RootState;
|
|
53
|
+
extra: {
|
|
54
|
+
jApi: import('jamespot-user-api').JamespotUserApi;
|
|
55
|
+
};
|
|
56
|
+
rejectValue?: unknown;
|
|
57
|
+
serializedErrorType?: unknown;
|
|
58
|
+
pendingMeta?: unknown;
|
|
59
|
+
fulfilledMeta?: unknown;
|
|
60
|
+
rejectedMeta?: unknown;
|
|
61
|
+
}>;
|
|
62
|
+
setForm: import('@reduxjs/toolkit').ActionCreatorWithPayload<import('./assetReservation.types').ReservationForm, "reservation/setForm">;
|
|
63
|
+
resetForm: import('@reduxjs/toolkit').ActionCreatorWithoutPayload<"reservation/resetForm">;
|
|
64
|
+
removeReservation: import('@reduxjs/toolkit').ActionCreatorWithPayload<number, "reservation/removeReservation">;
|
|
65
|
+
};
|
|
66
|
+
selectors: {
|
|
67
|
+
configuration: (state: AssetReservationRootState) => import('./assetReservation.types').Configuration;
|
|
68
|
+
bookableAssetEntities: (state: AssetReservationRootState) => import('jamespot-user-api').BookableAssetList[];
|
|
69
|
+
bookableAssetLoading: (state: AssetReservationRootState) => "idle" | "pending";
|
|
70
|
+
reservationEntities: (state: AssetReservationRootState) => import('jamespot-user-api').ReservationList[];
|
|
71
|
+
reservationLoading: (state: AssetReservationRootState) => "idle" | "pending";
|
|
72
|
+
reservationForm: (state: AssetReservationRootState) => import('./assetReservation.types').ReservationForm;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { AssetReservationConfiguration, BookableAssetList, ReservationList } from 'jamespot-user-api';
|
|
2
|
+
import { Loading } from '../../types/utils';
|
|
3
|
+
export type BookableAssetState = Loading & {
|
|
4
|
+
entities: BookableAssetList[];
|
|
5
|
+
nbResults: number;
|
|
6
|
+
};
|
|
7
|
+
export interface BookableAssetRootState {
|
|
8
|
+
bookableAsset: BookableAssetState;
|
|
9
|
+
}
|
|
10
|
+
export type Configuration = AssetReservationConfiguration & Loading;
|
|
11
|
+
export interface ConfigurationRootState {
|
|
12
|
+
configuration: Configuration;
|
|
13
|
+
}
|
|
14
|
+
export type ReservationState = Loading & {
|
|
15
|
+
entities: ReservationList[];
|
|
16
|
+
nbResults: number;
|
|
17
|
+
form: ReservationForm;
|
|
18
|
+
};
|
|
19
|
+
export interface ReservationRootState {
|
|
20
|
+
reservation: ReservationState;
|
|
21
|
+
}
|
|
22
|
+
export type AssetReservationRootState = {
|
|
23
|
+
assetReservation: BookableAssetRootState & ConfigurationRootState & ReservationRootState;
|
|
24
|
+
};
|
|
25
|
+
export type ReservationForm = {
|
|
26
|
+
date: string;
|
|
27
|
+
hourStart: string;
|
|
28
|
+
hourEnd: string;
|
|
29
|
+
uriUser?: string;
|
|
30
|
+
description?: string;
|
|
31
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ApiPagingResults, BookableAssetList } from 'jamespot-user-api';
|
|
2
|
+
import { BookableAssetState } from './assetReservation.types';
|
|
3
|
+
export declare const fetchBookableAsset: import('@reduxjs/toolkit').AsyncThunk<ApiPagingResults<BookableAssetList>, void, {
|
|
4
|
+
dispatch: import('../..').AppDispatch;
|
|
5
|
+
state: import('../..').RootState;
|
|
6
|
+
extra: {
|
|
7
|
+
jApi: import('jamespot-user-api').JamespotUserApi;
|
|
8
|
+
};
|
|
9
|
+
rejectValue?: unknown;
|
|
10
|
+
serializedErrorType?: unknown;
|
|
11
|
+
pendingMeta?: unknown;
|
|
12
|
+
fulfilledMeta?: unknown;
|
|
13
|
+
rejectedMeta?: unknown;
|
|
14
|
+
}>;
|
|
15
|
+
export declare const BookableAssetSlice: import('@reduxjs/toolkit').Slice<BookableAssetState, {}, "bookableAsset", "bookableAsset", import('@reduxjs/toolkit').SliceSelectors<BookableAssetState>>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ApiWrapper } from 'jamespot-user-api';
|
|
2
|
+
import { Configuration } from './assetReservation.types';
|
|
3
|
+
export declare const fetchConfiguration: import('@reduxjs/toolkit').AsyncThunk<ApiWrapper<{
|
|
4
|
+
description: string;
|
|
5
|
+
right: {
|
|
6
|
+
manage: boolean;
|
|
7
|
+
};
|
|
8
|
+
weekEnd: "0" | "1";
|
|
9
|
+
bookingOpeningTime: string;
|
|
10
|
+
bookingClosingTime: string;
|
|
11
|
+
lastBookingSchedule: string;
|
|
12
|
+
daysOff?: string[] | undefined;
|
|
13
|
+
}, import('jamespot-user-api').BaseMessages>, void, {
|
|
14
|
+
dispatch: import('../..').AppDispatch;
|
|
15
|
+
state: import('../..').RootState;
|
|
16
|
+
extra: {
|
|
17
|
+
jApi: import('jamespot-user-api').JamespotUserApi;
|
|
18
|
+
};
|
|
19
|
+
rejectValue?: unknown;
|
|
20
|
+
serializedErrorType?: unknown;
|
|
21
|
+
pendingMeta?: unknown;
|
|
22
|
+
fulfilledMeta?: unknown;
|
|
23
|
+
rejectedMeta?: unknown;
|
|
24
|
+
}>;
|
|
25
|
+
export declare const AssetReservationConfigurationSlice: import('@reduxjs/toolkit').Slice<Configuration, {}, "configuration", "configuration", import('@reduxjs/toolkit').SliceSelectors<Configuration>>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const configuration: {
|
|
2
|
+
o: string;
|
|
3
|
+
f: string;
|
|
4
|
+
error: number;
|
|
5
|
+
messages: never[];
|
|
6
|
+
result: {
|
|
7
|
+
description: string;
|
|
8
|
+
right: {
|
|
9
|
+
manage: boolean;
|
|
10
|
+
};
|
|
11
|
+
daysOff: string[];
|
|
12
|
+
weekEnd: "1";
|
|
13
|
+
bookingOpeningTime: string;
|
|
14
|
+
bookingClosingTime: string;
|
|
15
|
+
lastBookingSchedule: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
+
import { ReservationList, ApiPagingResults, BaseMessages } from 'jamespot-user-api';
|
|
3
|
+
import { ReservationState, ReservationForm } from './assetReservation.types';
|
|
4
|
+
export declare const fetchReservation: import('@reduxjs/toolkit').AsyncThunk<ApiPagingResults<ReservationList, BaseMessages>, "my" | "history", {
|
|
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 ReservationSlice: import('@reduxjs/toolkit').Slice<ReservationState, {
|
|
17
|
+
setForm: (state: import('@reduxjs/toolkit').WritableDraft<ReservationState>, action: PayloadAction<ReservationForm>) => void;
|
|
18
|
+
resetForm: (state: import('@reduxjs/toolkit').WritableDraft<ReservationState>) => void;
|
|
19
|
+
removeReservation: (state: import('@reduxjs/toolkit').WritableDraft<ReservationState>, action: PayloadAction<number>) => void;
|
|
20
|
+
}, "reservation", "reservation", import('@reduxjs/toolkit').SliceSelectors<ReservationState>>;
|