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,472 @@
|
|
|
1
|
+
import { RootState } from '../../types/store';
|
|
2
|
+
export declare const Bookmark: {
|
|
3
|
+
slice: {
|
|
4
|
+
name: "bookmark";
|
|
5
|
+
reducer: import('@reduxjs/toolkit').Reducer<{
|
|
6
|
+
bookmarkList: import('./bookmark.types').bookmarkListState;
|
|
7
|
+
bookmarkEdit: import('./bookmark.types').bookmarkEditState;
|
|
8
|
+
}, import('@reduxjs/toolkit').UnknownAction, Partial<{
|
|
9
|
+
bookmarkList: import('./bookmark.types').bookmarkListState | undefined;
|
|
10
|
+
bookmarkEdit: import('./bookmark.types').bookmarkEditState | undefined;
|
|
11
|
+
}>>;
|
|
12
|
+
};
|
|
13
|
+
actions: {
|
|
14
|
+
resetAddBookmarkStatus: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "bookmarkList/resetAddBookmarkStatus">;
|
|
15
|
+
resetMoveBookmarkStatus: import('@reduxjs/toolkit').ActionCreatorWithoutPayload<"bookmarkList/resetMoveBookmarkStatus">;
|
|
16
|
+
resetDeleteBookmarkStatus: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "bookmarkList/resetDeleteBookmarkStatus">;
|
|
17
|
+
addBookmarkRT: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
18
|
+
id: number;
|
|
19
|
+
mainType: string;
|
|
20
|
+
type: "bookmarkLink";
|
|
21
|
+
uri: string;
|
|
22
|
+
value: string | null;
|
|
23
|
+
srcId: number;
|
|
24
|
+
srcType: string;
|
|
25
|
+
targetId: number;
|
|
26
|
+
targetType: string | null;
|
|
27
|
+
url?: string | null | undefined;
|
|
28
|
+
dateCreation?: string | undefined;
|
|
29
|
+
dateModified?: string | null | undefined;
|
|
30
|
+
_src?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
31
|
+
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
32
|
+
dateCreation: string;
|
|
33
|
+
dateModified: string;
|
|
34
|
+
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
35
|
+
}) | import('jamespot-user-api').jUserLittle | undefined;
|
|
36
|
+
_target?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
37
|
+
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
38
|
+
dateCreation: string;
|
|
39
|
+
dateModified: string;
|
|
40
|
+
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
41
|
+
}) | import('jamespot-user-api').jUserLittle | undefined;
|
|
42
|
+
bookmarkUrl?: string | null | undefined;
|
|
43
|
+
bookmarkOrder?: number | undefined;
|
|
44
|
+
bookmarkLabel?: string | undefined;
|
|
45
|
+
bookmarkMeta?: string | null | undefined;
|
|
46
|
+
}, "bookmarkList/addBookmarkRT">;
|
|
47
|
+
deleteBookmarkRT: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
48
|
+
id: number;
|
|
49
|
+
mainType: string;
|
|
50
|
+
type: "bookmarkLink";
|
|
51
|
+
uri: string;
|
|
52
|
+
value: string | null;
|
|
53
|
+
srcId: number;
|
|
54
|
+
srcType: string;
|
|
55
|
+
targetId: number;
|
|
56
|
+
targetType: string | null;
|
|
57
|
+
url?: string | null | undefined;
|
|
58
|
+
dateCreation?: string | undefined;
|
|
59
|
+
dateModified?: string | null | undefined;
|
|
60
|
+
_src?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
61
|
+
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
62
|
+
dateCreation: string;
|
|
63
|
+
dateModified: string;
|
|
64
|
+
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
65
|
+
}) | import('jamespot-user-api').jUserLittle | undefined;
|
|
66
|
+
_target?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
67
|
+
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
68
|
+
dateCreation: string;
|
|
69
|
+
dateModified: string;
|
|
70
|
+
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
71
|
+
}) | import('jamespot-user-api').jUserLittle | undefined;
|
|
72
|
+
bookmarkUrl?: string | null | undefined;
|
|
73
|
+
bookmarkOrder?: number | undefined;
|
|
74
|
+
bookmarkLabel?: string | undefined;
|
|
75
|
+
bookmarkMeta?: string | null | undefined;
|
|
76
|
+
}, "bookmarkList/deleteBookmarkRT">;
|
|
77
|
+
updateBookmarkRT: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
78
|
+
id: number;
|
|
79
|
+
mainType: string;
|
|
80
|
+
type: "bookmarkLink";
|
|
81
|
+
uri: string;
|
|
82
|
+
value: string | null;
|
|
83
|
+
srcId: number;
|
|
84
|
+
srcType: string;
|
|
85
|
+
targetId: number;
|
|
86
|
+
targetType: string | null;
|
|
87
|
+
url?: string | null | undefined;
|
|
88
|
+
dateCreation?: string | undefined;
|
|
89
|
+
dateModified?: string | null | undefined;
|
|
90
|
+
_src?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
91
|
+
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
92
|
+
dateCreation: string;
|
|
93
|
+
dateModified: string;
|
|
94
|
+
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
95
|
+
}) | import('jamespot-user-api').jUserLittle | undefined;
|
|
96
|
+
_target?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
97
|
+
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
98
|
+
dateCreation: string;
|
|
99
|
+
dateModified: string;
|
|
100
|
+
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
101
|
+
}) | import('jamespot-user-api').jUserLittle | undefined;
|
|
102
|
+
bookmarkUrl?: string | null | undefined;
|
|
103
|
+
bookmarkOrder?: number | undefined;
|
|
104
|
+
bookmarkLabel?: string | undefined;
|
|
105
|
+
bookmarkMeta?: string | null | undefined;
|
|
106
|
+
}, "bookmarkList/updateBookmarkRT">;
|
|
107
|
+
setEditBookmark: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
108
|
+
id: number;
|
|
109
|
+
mainType: string;
|
|
110
|
+
type: "bookmarkLink";
|
|
111
|
+
uri: string;
|
|
112
|
+
value: string | null;
|
|
113
|
+
srcId: number;
|
|
114
|
+
srcType: string;
|
|
115
|
+
targetId: number;
|
|
116
|
+
targetType: string | null;
|
|
117
|
+
url?: string | null | undefined;
|
|
118
|
+
dateCreation?: string | undefined;
|
|
119
|
+
dateModified?: string | null | undefined;
|
|
120
|
+
_src?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
121
|
+
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
122
|
+
dateCreation: string;
|
|
123
|
+
dateModified: string;
|
|
124
|
+
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
125
|
+
}) | import('jamespot-user-api').jUserLittle | undefined;
|
|
126
|
+
_target?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
127
|
+
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
128
|
+
dateCreation: string;
|
|
129
|
+
dateModified: string;
|
|
130
|
+
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
131
|
+
}) | import('jamespot-user-api').jUserLittle | undefined;
|
|
132
|
+
bookmarkUrl?: string | null | undefined;
|
|
133
|
+
bookmarkOrder?: number | undefined;
|
|
134
|
+
bookmarkLabel?: string | undefined;
|
|
135
|
+
bookmarkMeta?: string | null | undefined;
|
|
136
|
+
}, "bookmarkEdit/setEditBookmark">;
|
|
137
|
+
unsetEditBookmark: import('@reduxjs/toolkit').ActionCreatorWithoutPayload<"bookmarkEdit/unsetEditBookmark">;
|
|
138
|
+
resetStatus: import('@reduxjs/toolkit').ActionCreatorWithoutPayload<"bookmarkEdit/resetStatus">;
|
|
139
|
+
fetchBookmark: import('@reduxjs/toolkit').AsyncThunk<import('jamespot-user-api').ApiPagingResults<{
|
|
140
|
+
id: number;
|
|
141
|
+
mainType: string;
|
|
142
|
+
type: "bookmarkLink";
|
|
143
|
+
uri: string;
|
|
144
|
+
value: string | null;
|
|
145
|
+
srcId: number;
|
|
146
|
+
srcType: string;
|
|
147
|
+
targetId: number;
|
|
148
|
+
targetType: string | null;
|
|
149
|
+
url?: string | null | undefined;
|
|
150
|
+
dateCreation?: string | undefined;
|
|
151
|
+
dateModified?: string | null | undefined;
|
|
152
|
+
_src?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
153
|
+
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
154
|
+
dateCreation: string;
|
|
155
|
+
dateModified: string;
|
|
156
|
+
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
157
|
+
}) | import('jamespot-user-api').jUserLittle | undefined;
|
|
158
|
+
_target?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
159
|
+
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
160
|
+
dateCreation: string;
|
|
161
|
+
dateModified: string;
|
|
162
|
+
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
163
|
+
}) | import('jamespot-user-api').jUserLittle | undefined;
|
|
164
|
+
bookmarkUrl?: string | null | undefined;
|
|
165
|
+
bookmarkOrder?: number | undefined;
|
|
166
|
+
bookmarkLabel?: string | undefined;
|
|
167
|
+
bookmarkMeta?: string | null | undefined;
|
|
168
|
+
}>, void, {
|
|
169
|
+
dispatch: import('../..').AppDispatch;
|
|
170
|
+
state: RootState;
|
|
171
|
+
extra: {
|
|
172
|
+
jApi: import('jamespot-user-api').JamespotUserApi;
|
|
173
|
+
};
|
|
174
|
+
rejectValue: {
|
|
175
|
+
error: number;
|
|
176
|
+
errorMsg: string;
|
|
177
|
+
};
|
|
178
|
+
serializedErrorType?: unknown;
|
|
179
|
+
pendingMeta?: unknown;
|
|
180
|
+
fulfilledMeta?: unknown;
|
|
181
|
+
rejectedMeta?: unknown;
|
|
182
|
+
}>;
|
|
183
|
+
addBookmark: import('@reduxjs/toolkit').AsyncThunk<import('jamespot-user-api').ApiWrapper<{
|
|
184
|
+
id: number;
|
|
185
|
+
mainType: string;
|
|
186
|
+
type: "bookmarkLink";
|
|
187
|
+
uri: string;
|
|
188
|
+
value: string | null;
|
|
189
|
+
srcId: number;
|
|
190
|
+
srcType: string;
|
|
191
|
+
targetId: number;
|
|
192
|
+
targetType: string | null;
|
|
193
|
+
url?: string | null | undefined;
|
|
194
|
+
dateCreation?: string | undefined;
|
|
195
|
+
dateModified?: string | null | undefined;
|
|
196
|
+
_src?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
197
|
+
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
198
|
+
dateCreation: string;
|
|
199
|
+
dateModified: string;
|
|
200
|
+
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
201
|
+
}) | import('jamespot-user-api').jUserLittle | undefined;
|
|
202
|
+
_target?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
203
|
+
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
204
|
+
dateCreation: string;
|
|
205
|
+
dateModified: string;
|
|
206
|
+
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
207
|
+
}) | import('jamespot-user-api').jUserLittle | undefined;
|
|
208
|
+
bookmarkUrl?: string | null | undefined;
|
|
209
|
+
bookmarkOrder?: number | undefined;
|
|
210
|
+
bookmarkLabel?: string | undefined;
|
|
211
|
+
bookmarkMeta?: string | null | undefined;
|
|
212
|
+
} | {
|
|
213
|
+
id: number;
|
|
214
|
+
mainType: string;
|
|
215
|
+
type: string;
|
|
216
|
+
uri: string;
|
|
217
|
+
value: string | null;
|
|
218
|
+
srcId: number;
|
|
219
|
+
srcType: string;
|
|
220
|
+
targetId: number;
|
|
221
|
+
targetType: string | null;
|
|
222
|
+
_cssColor: string;
|
|
223
|
+
_cssClass: string;
|
|
224
|
+
url?: string | null | undefined;
|
|
225
|
+
_src?: import('jamespot-user-api').jObjectLittle | undefined;
|
|
226
|
+
_target?: import('jamespot-user-api').jObjectLittle | undefined;
|
|
227
|
+
bookmarkUrl?: string | null | undefined;
|
|
228
|
+
bookmarkOrder?: string | undefined;
|
|
229
|
+
bookmarkLabel?: string | undefined;
|
|
230
|
+
bookmarkMeta?: string | null | undefined;
|
|
231
|
+
_values?: {
|
|
232
|
+
dateCreation: string;
|
|
233
|
+
dateModified: string;
|
|
234
|
+
} | undefined;
|
|
235
|
+
}, import('jamespot-user-api').BaseMessagesOne> | import('jamespot-user-api').ApiWrapper<{
|
|
236
|
+
id: number;
|
|
237
|
+
mainType: string;
|
|
238
|
+
type: "bookmarkLink";
|
|
239
|
+
uri: string;
|
|
240
|
+
value: string | null;
|
|
241
|
+
srcId: number;
|
|
242
|
+
srcType: string;
|
|
243
|
+
targetId: number;
|
|
244
|
+
targetType: string | null;
|
|
245
|
+
url?: string | null | undefined;
|
|
246
|
+
dateCreation?: string | undefined;
|
|
247
|
+
dateModified?: string | null | undefined;
|
|
248
|
+
_src?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
249
|
+
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
250
|
+
dateCreation: string;
|
|
251
|
+
dateModified: string;
|
|
252
|
+
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
253
|
+
}) | import('jamespot-user-api').jUserLittle | undefined;
|
|
254
|
+
_target?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
255
|
+
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
256
|
+
dateCreation: string;
|
|
257
|
+
dateModified: string;
|
|
258
|
+
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
259
|
+
}) | import('jamespot-user-api').jUserLittle | undefined;
|
|
260
|
+
bookmarkUrl?: string | null | undefined;
|
|
261
|
+
bookmarkOrder?: number | undefined;
|
|
262
|
+
bookmarkLabel?: string | undefined;
|
|
263
|
+
bookmarkMeta?: string | null | undefined;
|
|
264
|
+
}, import('jamespot-user-api').BaseMessages>, ({
|
|
265
|
+
bookmarkUrl?: string | null | undefined;
|
|
266
|
+
bookmarkLabel?: string | undefined;
|
|
267
|
+
bookmarkMeta?: string | null | undefined;
|
|
268
|
+
} | {
|
|
269
|
+
targetId: number;
|
|
270
|
+
targetType: string;
|
|
271
|
+
format?: "raw-list" | "list" | undefined;
|
|
272
|
+
}) & {
|
|
273
|
+
requestId?: string | undefined;
|
|
274
|
+
}, {
|
|
275
|
+
dispatch: import('../..').AppDispatch;
|
|
276
|
+
state: RootState;
|
|
277
|
+
extra: {
|
|
278
|
+
jApi: import('jamespot-user-api').JamespotUserApi;
|
|
279
|
+
};
|
|
280
|
+
rejectValue: {
|
|
281
|
+
error: number;
|
|
282
|
+
errorMsg: string;
|
|
283
|
+
};
|
|
284
|
+
serializedErrorType?: unknown;
|
|
285
|
+
pendingMeta?: unknown;
|
|
286
|
+
fulfilledMeta?: unknown;
|
|
287
|
+
rejectedMeta?: unknown;
|
|
288
|
+
}>;
|
|
289
|
+
moveBookmark: import('@reduxjs/toolkit').AsyncThunk<void, {
|
|
290
|
+
bookmark: Pick<import('jamespot-user-api').BookmarkRawList, "id">;
|
|
291
|
+
bookmarkReference: Pick<import('jamespot-user-api').BookmarkRawList, "id">;
|
|
292
|
+
position: "after" | "before";
|
|
293
|
+
}, {
|
|
294
|
+
dispatch: import('../..').AppDispatch;
|
|
295
|
+
state: RootState;
|
|
296
|
+
extra: {
|
|
297
|
+
jApi: import('jamespot-user-api').JamespotUserApi;
|
|
298
|
+
};
|
|
299
|
+
rejectValue: {
|
|
300
|
+
error: number;
|
|
301
|
+
errorMsg: string;
|
|
302
|
+
};
|
|
303
|
+
serializedErrorType?: unknown;
|
|
304
|
+
pendingMeta?: unknown;
|
|
305
|
+
fulfilledMeta?: unknown;
|
|
306
|
+
rejectedMeta?: unknown;
|
|
307
|
+
}>;
|
|
308
|
+
deleteBookmark: import('@reduxjs/toolkit').AsyncThunk<void, Pick<{
|
|
309
|
+
id: number;
|
|
310
|
+
mainType: string;
|
|
311
|
+
type: "bookmarkLink";
|
|
312
|
+
uri: string;
|
|
313
|
+
value: string | null;
|
|
314
|
+
srcId: number;
|
|
315
|
+
srcType: string;
|
|
316
|
+
targetId: number;
|
|
317
|
+
targetType: string | null;
|
|
318
|
+
url?: string | null | undefined;
|
|
319
|
+
dateCreation?: string | undefined;
|
|
320
|
+
dateModified?: string | null | undefined;
|
|
321
|
+
_src?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
322
|
+
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
323
|
+
dateCreation: string;
|
|
324
|
+
dateModified: string;
|
|
325
|
+
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
326
|
+
}) | import('jamespot-user-api').jUserLittle | undefined;
|
|
327
|
+
_target?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
328
|
+
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
329
|
+
dateCreation: string;
|
|
330
|
+
dateModified: string;
|
|
331
|
+
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
332
|
+
}) | import('jamespot-user-api').jUserLittle | undefined;
|
|
333
|
+
bookmarkUrl?: string | null | undefined;
|
|
334
|
+
bookmarkOrder?: number | undefined;
|
|
335
|
+
bookmarkLabel?: string | undefined;
|
|
336
|
+
bookmarkMeta?: string | null | undefined;
|
|
337
|
+
}, "id"> & {
|
|
338
|
+
requestId?: string | undefined;
|
|
339
|
+
}, {
|
|
340
|
+
dispatch: import('../..').AppDispatch;
|
|
341
|
+
state: RootState;
|
|
342
|
+
extra: {
|
|
343
|
+
jApi: import('jamespot-user-api').JamespotUserApi;
|
|
344
|
+
};
|
|
345
|
+
rejectValue: {
|
|
346
|
+
error: number;
|
|
347
|
+
errorMsg: string;
|
|
348
|
+
};
|
|
349
|
+
serializedErrorType?: unknown;
|
|
350
|
+
pendingMeta?: unknown;
|
|
351
|
+
fulfilledMeta?: unknown;
|
|
352
|
+
rejectedMeta?: unknown;
|
|
353
|
+
}>;
|
|
354
|
+
editBookmark: import('@reduxjs/toolkit').AsyncThunk<void, Partial<{
|
|
355
|
+
id: number;
|
|
356
|
+
mainType: string;
|
|
357
|
+
type: "bookmarkLink";
|
|
358
|
+
uri: string;
|
|
359
|
+
value: string | null;
|
|
360
|
+
srcId: number;
|
|
361
|
+
srcType: string;
|
|
362
|
+
targetId: number;
|
|
363
|
+
targetType: string | null;
|
|
364
|
+
url?: string | null | undefined;
|
|
365
|
+
dateCreation?: string | undefined;
|
|
366
|
+
dateModified?: string | null | undefined;
|
|
367
|
+
_src?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
368
|
+
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
369
|
+
dateCreation: string;
|
|
370
|
+
dateModified: string;
|
|
371
|
+
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
372
|
+
}) | import('jamespot-user-api').jUserLittle | undefined;
|
|
373
|
+
_target?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
374
|
+
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
375
|
+
dateCreation: string;
|
|
376
|
+
dateModified: string;
|
|
377
|
+
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
378
|
+
}) | import('jamespot-user-api').jUserLittle | undefined;
|
|
379
|
+
bookmarkUrl?: string | null | undefined;
|
|
380
|
+
bookmarkOrder?: number | undefined;
|
|
381
|
+
bookmarkLabel?: string | undefined;
|
|
382
|
+
bookmarkMeta?: string | null | undefined;
|
|
383
|
+
}>, {
|
|
384
|
+
dispatch: import('../..').AppDispatch;
|
|
385
|
+
state: RootState;
|
|
386
|
+
extra: {
|
|
387
|
+
jApi: import('jamespot-user-api').JamespotUserApi;
|
|
388
|
+
};
|
|
389
|
+
rejectValue: {
|
|
390
|
+
error: number;
|
|
391
|
+
errorMsg: string;
|
|
392
|
+
};
|
|
393
|
+
serializedErrorType?: unknown;
|
|
394
|
+
pendingMeta?: unknown;
|
|
395
|
+
fulfilledMeta?: unknown;
|
|
396
|
+
rejectedMeta?: unknown;
|
|
397
|
+
}>;
|
|
398
|
+
};
|
|
399
|
+
selectors: {
|
|
400
|
+
bookmarkList: (state: RootState) => import('./bookmark.types').bookmarkListState;
|
|
401
|
+
bookmarkListIsInitialized: (state: RootState) => boolean;
|
|
402
|
+
bookmarkEditBookmark: (state: RootState) => {
|
|
403
|
+
id: number;
|
|
404
|
+
mainType: string;
|
|
405
|
+
type: "bookmarkLink";
|
|
406
|
+
uri: string;
|
|
407
|
+
value: string | null;
|
|
408
|
+
srcId: number;
|
|
409
|
+
srcType: string;
|
|
410
|
+
targetId: number;
|
|
411
|
+
targetType: string | null;
|
|
412
|
+
url?: string | null | undefined;
|
|
413
|
+
dateCreation?: string | undefined;
|
|
414
|
+
dateModified?: string | null | undefined;
|
|
415
|
+
_src?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
416
|
+
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
417
|
+
dateCreation: string;
|
|
418
|
+
dateModified: string;
|
|
419
|
+
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
420
|
+
}) | import('jamespot-user-api').jUserLittle | undefined;
|
|
421
|
+
_target?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
422
|
+
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
423
|
+
dateCreation: string;
|
|
424
|
+
dateModified: string;
|
|
425
|
+
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
426
|
+
}) | import('jamespot-user-api').jUserLittle | undefined;
|
|
427
|
+
bookmarkUrl?: string | null | undefined;
|
|
428
|
+
bookmarkOrder?: number | undefined;
|
|
429
|
+
bookmarkLabel?: string | undefined;
|
|
430
|
+
bookmarkMeta?: string | null | undefined;
|
|
431
|
+
} | undefined;
|
|
432
|
+
bookmarkByArticleId: (state: RootState, idArticle: number) => {
|
|
433
|
+
id: number;
|
|
434
|
+
mainType: string;
|
|
435
|
+
type: "bookmarkLink";
|
|
436
|
+
uri: string;
|
|
437
|
+
value: string | null;
|
|
438
|
+
srcId: number;
|
|
439
|
+
srcType: string;
|
|
440
|
+
targetId: number;
|
|
441
|
+
targetType: string | null;
|
|
442
|
+
url?: string | null | undefined;
|
|
443
|
+
dateCreation?: string | undefined;
|
|
444
|
+
dateModified?: string | null | undefined;
|
|
445
|
+
_src?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
446
|
+
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
447
|
+
dateCreation: string;
|
|
448
|
+
dateModified: string;
|
|
449
|
+
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
450
|
+
}) | import('jamespot-user-api').jUserLittle | undefined;
|
|
451
|
+
_target?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
452
|
+
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
453
|
+
dateCreation: string;
|
|
454
|
+
dateModified: string;
|
|
455
|
+
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
456
|
+
}) | import('jamespot-user-api').jUserLittle | undefined;
|
|
457
|
+
bookmarkUrl?: string | null | undefined;
|
|
458
|
+
bookmarkOrder?: number | undefined;
|
|
459
|
+
bookmarkLabel?: string | undefined;
|
|
460
|
+
bookmarkMeta?: string | null | undefined;
|
|
461
|
+
} | undefined;
|
|
462
|
+
};
|
|
463
|
+
getRTHandlers: (dispatch: import('../..').AppDispatch) => ({
|
|
464
|
+
namespace: "BOOKMARKS";
|
|
465
|
+
function: "update" | "add" | "delete";
|
|
466
|
+
handler: (message: import('jamespot-user-api').RTMessageObject<"BOOKMARKS", "delete", {}, {}> | import('jamespot-user-api').RTMessageObject<"BOOKMARKS", "update", {}, {}> | import('jamespot-user-api').RTMessageObject<"BOOKMARKS", "add", {}, {}>) => void;
|
|
467
|
+
} | {
|
|
468
|
+
namespace: "CUSTOM-ACTION";
|
|
469
|
+
function: "update" | "add" | "remove";
|
|
470
|
+
handler: (message: import('jamespot-user-api').RTMessageObject<"CUSTOM-ACTION", "add", {}, {}> | import('jamespot-user-api').RTMessageObject<"CUSTOM-ACTION", "update", {}, {}> | import('jamespot-user-api').RTMessageObject<"CUSTOM-ACTION", "remove", {}, {}>) => void;
|
|
471
|
+
})[];
|
|
472
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { BookmarkRawList } from 'jamespot-user-api';
|
|
2
|
+
import { Loading } from '../../types/utils';
|
|
3
|
+
export type BookmarkRootState = {
|
|
4
|
+
bookmark: bookmarkListRootState & bookmarkEditRootState;
|
|
5
|
+
};
|
|
6
|
+
export type bookmarkListState = Loading & {
|
|
7
|
+
bookmarks: BookmarkRawList[];
|
|
8
|
+
nbResults: number;
|
|
9
|
+
status: 'success' | 'error' | undefined;
|
|
10
|
+
isInitialized: boolean;
|
|
11
|
+
add: Record<string, Loading & {
|
|
12
|
+
status: 'success' | 'error' | undefined;
|
|
13
|
+
id?: number;
|
|
14
|
+
}>;
|
|
15
|
+
move: Loading & {
|
|
16
|
+
status: 'success' | 'error' | undefined;
|
|
17
|
+
};
|
|
18
|
+
delete: Record<string, Loading & {
|
|
19
|
+
status: 'success' | 'error' | undefined;
|
|
20
|
+
}>;
|
|
21
|
+
};
|
|
22
|
+
export interface bookmarkListRootState {
|
|
23
|
+
bookmarkList: bookmarkListState;
|
|
24
|
+
}
|
|
25
|
+
export type bookmarkEditState = Loading & {
|
|
26
|
+
bookmark: BookmarkRawList | undefined;
|
|
27
|
+
status: 'success' | 'error' | undefined;
|
|
28
|
+
};
|
|
29
|
+
export interface bookmarkEditRootState {
|
|
30
|
+
bookmarkEdit: bookmarkEditState;
|
|
31
|
+
}
|