jamespot-front-business 1.3.6 → 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/index.d.ts +2 -0
- package/dist/jamespot-front-business.js +113 -0
- package/dist/jamespot-front-business.mjs +5075 -0
- 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 +23 -22
- package/CHANGELOG.md +0 -43
- package/README-internal.md +0 -84
- package/dist/cjs.js +0 -6829
- package/dist/cjs.js.map +0 -1
- package/dist/esm.js +0 -6744
- package/dist/esm.js.map +0 -1
- package/dist/types.d.ts +0 -6401
- package/rollup.config.mjs +0 -47
- package/tsconfig.json +0 -55
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
+
import { ApiPagingResults, ApiWrapper, BaseMessagesOne, BookmarkRawList } from 'jamespot-user-api';
|
|
3
|
+
import { bookmarkListState } from './bookmark.types';
|
|
4
|
+
export declare const fetchBookmark: import('@reduxjs/toolkit').AsyncThunk<ApiPagingResults<{
|
|
5
|
+
id: number;
|
|
6
|
+
mainType: string;
|
|
7
|
+
type: "bookmarkLink";
|
|
8
|
+
uri: string;
|
|
9
|
+
value: string | null;
|
|
10
|
+
srcId: number;
|
|
11
|
+
srcType: string;
|
|
12
|
+
targetId: number;
|
|
13
|
+
targetType: string | null;
|
|
14
|
+
url?: string | null | undefined;
|
|
15
|
+
dateCreation?: string | undefined;
|
|
16
|
+
dateModified?: string | null | undefined;
|
|
17
|
+
_src?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
18
|
+
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
19
|
+
dateCreation: string;
|
|
20
|
+
dateModified: string;
|
|
21
|
+
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
22
|
+
}) | import('jamespot-user-api').jUserLittle | undefined;
|
|
23
|
+
_target?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
24
|
+
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
25
|
+
dateCreation: string;
|
|
26
|
+
dateModified: string;
|
|
27
|
+
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
28
|
+
}) | import('jamespot-user-api').jUserLittle | undefined;
|
|
29
|
+
bookmarkUrl?: string | null | undefined;
|
|
30
|
+
bookmarkOrder?: number | undefined;
|
|
31
|
+
bookmarkLabel?: string | undefined;
|
|
32
|
+
bookmarkMeta?: string | null | undefined;
|
|
33
|
+
}>, void, {
|
|
34
|
+
dispatch: import('../..').AppDispatch;
|
|
35
|
+
state: import('../..').RootState;
|
|
36
|
+
extra: {
|
|
37
|
+
jApi: import('jamespot-user-api').JamespotUserApi;
|
|
38
|
+
};
|
|
39
|
+
rejectValue: {
|
|
40
|
+
error: number;
|
|
41
|
+
errorMsg: string;
|
|
42
|
+
};
|
|
43
|
+
serializedErrorType?: unknown;
|
|
44
|
+
pendingMeta?: unknown;
|
|
45
|
+
fulfilledMeta?: unknown;
|
|
46
|
+
rejectedMeta?: unknown;
|
|
47
|
+
}>;
|
|
48
|
+
export declare const addBookmark: import('@reduxjs/toolkit').AsyncThunk<ApiWrapper<{
|
|
49
|
+
id: number;
|
|
50
|
+
mainType: string;
|
|
51
|
+
type: "bookmarkLink";
|
|
52
|
+
uri: string;
|
|
53
|
+
value: string | null;
|
|
54
|
+
srcId: number;
|
|
55
|
+
srcType: string;
|
|
56
|
+
targetId: number;
|
|
57
|
+
targetType: string | null;
|
|
58
|
+
url?: string | null | undefined;
|
|
59
|
+
dateCreation?: string | undefined;
|
|
60
|
+
dateModified?: string | null | undefined;
|
|
61
|
+
_src?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
62
|
+
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
63
|
+
dateCreation: string;
|
|
64
|
+
dateModified: string;
|
|
65
|
+
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
66
|
+
}) | import('jamespot-user-api').jUserLittle | undefined;
|
|
67
|
+
_target?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
68
|
+
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
69
|
+
dateCreation: string;
|
|
70
|
+
dateModified: string;
|
|
71
|
+
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
72
|
+
}) | import('jamespot-user-api').jUserLittle | undefined;
|
|
73
|
+
bookmarkUrl?: string | null | undefined;
|
|
74
|
+
bookmarkOrder?: number | undefined;
|
|
75
|
+
bookmarkLabel?: string | undefined;
|
|
76
|
+
bookmarkMeta?: string | null | undefined;
|
|
77
|
+
} | {
|
|
78
|
+
id: number;
|
|
79
|
+
mainType: string;
|
|
80
|
+
type: string;
|
|
81
|
+
uri: string;
|
|
82
|
+
value: string | null;
|
|
83
|
+
srcId: number;
|
|
84
|
+
srcType: string;
|
|
85
|
+
targetId: number;
|
|
86
|
+
targetType: string | null;
|
|
87
|
+
_cssColor: string;
|
|
88
|
+
_cssClass: string;
|
|
89
|
+
url?: string | null | undefined;
|
|
90
|
+
_src?: import('jamespot-user-api').jObjectLittle | undefined;
|
|
91
|
+
_target?: import('jamespot-user-api').jObjectLittle | undefined;
|
|
92
|
+
bookmarkUrl?: string | null | undefined;
|
|
93
|
+
bookmarkOrder?: string | undefined;
|
|
94
|
+
bookmarkLabel?: string | undefined;
|
|
95
|
+
bookmarkMeta?: string | null | undefined;
|
|
96
|
+
_values?: {
|
|
97
|
+
dateCreation: string;
|
|
98
|
+
dateModified: string;
|
|
99
|
+
} | undefined;
|
|
100
|
+
}, BaseMessagesOne> | ApiWrapper<{
|
|
101
|
+
id: number;
|
|
102
|
+
mainType: string;
|
|
103
|
+
type: "bookmarkLink";
|
|
104
|
+
uri: string;
|
|
105
|
+
value: string | null;
|
|
106
|
+
srcId: number;
|
|
107
|
+
srcType: string;
|
|
108
|
+
targetId: number;
|
|
109
|
+
targetType: string | null;
|
|
110
|
+
url?: string | null | undefined;
|
|
111
|
+
dateCreation?: string | undefined;
|
|
112
|
+
dateModified?: string | null | undefined;
|
|
113
|
+
_src?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
114
|
+
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
115
|
+
dateCreation: string;
|
|
116
|
+
dateModified: string;
|
|
117
|
+
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
118
|
+
}) | import('jamespot-user-api').jUserLittle | undefined;
|
|
119
|
+
_target?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
120
|
+
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
121
|
+
dateCreation: string;
|
|
122
|
+
dateModified: string;
|
|
123
|
+
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
124
|
+
}) | import('jamespot-user-api').jUserLittle | undefined;
|
|
125
|
+
bookmarkUrl?: string | null | undefined;
|
|
126
|
+
bookmarkOrder?: number | undefined;
|
|
127
|
+
bookmarkLabel?: string | undefined;
|
|
128
|
+
bookmarkMeta?: string | null | undefined;
|
|
129
|
+
}, import('jamespot-user-api').BaseMessages>, ({
|
|
130
|
+
bookmarkUrl?: string | null | undefined;
|
|
131
|
+
bookmarkLabel?: string | undefined;
|
|
132
|
+
bookmarkMeta?: string | null | undefined;
|
|
133
|
+
} | {
|
|
134
|
+
targetId: number;
|
|
135
|
+
targetType: string;
|
|
136
|
+
format?: "raw-list" | "list" | undefined;
|
|
137
|
+
}) & {
|
|
138
|
+
requestId?: string | undefined;
|
|
139
|
+
}, {
|
|
140
|
+
dispatch: import('../..').AppDispatch;
|
|
141
|
+
state: import('../..').RootState;
|
|
142
|
+
extra: {
|
|
143
|
+
jApi: import('jamespot-user-api').JamespotUserApi;
|
|
144
|
+
};
|
|
145
|
+
rejectValue: {
|
|
146
|
+
error: number;
|
|
147
|
+
errorMsg: string;
|
|
148
|
+
};
|
|
149
|
+
serializedErrorType?: unknown;
|
|
150
|
+
pendingMeta?: unknown;
|
|
151
|
+
fulfilledMeta?: unknown;
|
|
152
|
+
rejectedMeta?: unknown;
|
|
153
|
+
}>;
|
|
154
|
+
export declare const moveBookmark: import('@reduxjs/toolkit').AsyncThunk<void, {
|
|
155
|
+
bookmark: Pick<BookmarkRawList, "id">;
|
|
156
|
+
bookmarkReference: Pick<BookmarkRawList, "id">;
|
|
157
|
+
position: "after" | "before";
|
|
158
|
+
}, {
|
|
159
|
+
dispatch: import('../..').AppDispatch;
|
|
160
|
+
state: import('../..').RootState;
|
|
161
|
+
extra: {
|
|
162
|
+
jApi: import('jamespot-user-api').JamespotUserApi;
|
|
163
|
+
};
|
|
164
|
+
rejectValue: {
|
|
165
|
+
error: number;
|
|
166
|
+
errorMsg: string;
|
|
167
|
+
};
|
|
168
|
+
serializedErrorType?: unknown;
|
|
169
|
+
pendingMeta?: unknown;
|
|
170
|
+
fulfilledMeta?: unknown;
|
|
171
|
+
rejectedMeta?: unknown;
|
|
172
|
+
}>;
|
|
173
|
+
export declare const deleteBookmark: import('@reduxjs/toolkit').AsyncThunk<void, Pick<{
|
|
174
|
+
id: number;
|
|
175
|
+
mainType: string;
|
|
176
|
+
type: "bookmarkLink";
|
|
177
|
+
uri: string;
|
|
178
|
+
value: string | null;
|
|
179
|
+
srcId: number;
|
|
180
|
+
srcType: string;
|
|
181
|
+
targetId: number;
|
|
182
|
+
targetType: string | null;
|
|
183
|
+
url?: string | null | undefined;
|
|
184
|
+
dateCreation?: string | undefined;
|
|
185
|
+
dateModified?: string | null | undefined;
|
|
186
|
+
_src?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
187
|
+
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
188
|
+
dateCreation: string;
|
|
189
|
+
dateModified: string;
|
|
190
|
+
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
191
|
+
}) | import('jamespot-user-api').jUserLittle | undefined;
|
|
192
|
+
_target?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
193
|
+
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
194
|
+
dateCreation: string;
|
|
195
|
+
dateModified: string;
|
|
196
|
+
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
197
|
+
}) | import('jamespot-user-api').jUserLittle | undefined;
|
|
198
|
+
bookmarkUrl?: string | null | undefined;
|
|
199
|
+
bookmarkOrder?: number | undefined;
|
|
200
|
+
bookmarkLabel?: string | undefined;
|
|
201
|
+
bookmarkMeta?: string | null | undefined;
|
|
202
|
+
}, "id"> & {
|
|
203
|
+
requestId?: string | undefined;
|
|
204
|
+
}, {
|
|
205
|
+
dispatch: import('../..').AppDispatch;
|
|
206
|
+
state: import('../..').RootState;
|
|
207
|
+
extra: {
|
|
208
|
+
jApi: import('jamespot-user-api').JamespotUserApi;
|
|
209
|
+
};
|
|
210
|
+
rejectValue: {
|
|
211
|
+
error: number;
|
|
212
|
+
errorMsg: string;
|
|
213
|
+
};
|
|
214
|
+
serializedErrorType?: unknown;
|
|
215
|
+
pendingMeta?: unknown;
|
|
216
|
+
fulfilledMeta?: unknown;
|
|
217
|
+
rejectedMeta?: unknown;
|
|
218
|
+
}>;
|
|
219
|
+
export declare const BookmarkListSlice: import('@reduxjs/toolkit').Slice<bookmarkListState, {
|
|
220
|
+
resetAddBookmarkStatus: (state: import('@reduxjs/toolkit').WritableDraft<bookmarkListState>, action: PayloadAction<string>) => void;
|
|
221
|
+
resetMoveBookmarkStatus: (state: import('@reduxjs/toolkit').WritableDraft<bookmarkListState>) => void;
|
|
222
|
+
resetDeleteBookmarkStatus: (state: import('@reduxjs/toolkit').WritableDraft<bookmarkListState>, action: PayloadAction<string>) => void;
|
|
223
|
+
addBookmarkRT: (state: import('@reduxjs/toolkit').WritableDraft<bookmarkListState>, action: PayloadAction<BookmarkRawList>) => void;
|
|
224
|
+
deleteBookmarkRT: (state: import('@reduxjs/toolkit').WritableDraft<bookmarkListState>, action: PayloadAction<BookmarkRawList>) => void;
|
|
225
|
+
updateBookmarkRT: (state: import('@reduxjs/toolkit').WritableDraft<bookmarkListState>, action: PayloadAction<BookmarkRawList>) => void;
|
|
226
|
+
}, "bookmarkList", "bookmarkList", import('@reduxjs/toolkit').SliceSelectors<bookmarkListState>>;
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
import { ApiWrapper, BaseMessagesOne, BookmarkList, BookmarkRawList, PagingResults, jObjectLittle } from 'jamespot-user-api';
|
|
2
|
+
export type BookmarkSrcAndTargetType = jObjectLittle & Record<string, any>;
|
|
3
|
+
export declare const bookmarkList: ApiWrapper<PagingResults<BookmarkList<jObjectLittle> | BookmarkRawList<jObjectLittle>>>;
|
|
4
|
+
export declare const bookmarkAddPayload: {
|
|
5
|
+
bookmarkLabel: string;
|
|
6
|
+
bookmarkUrl: string;
|
|
7
|
+
};
|
|
8
|
+
export declare const bookmarkAddExternalLinkResponse: ApiWrapper<BookmarkList<BookmarkSrcAndTargetType> | BookmarkRawList<BookmarkSrcAndTargetType>, BaseMessagesOne>;
|
|
9
|
+
export declare const bookmarkCustomactionAddPayload: {
|
|
10
|
+
targetId: number;
|
|
11
|
+
targetType: string;
|
|
12
|
+
};
|
|
13
|
+
export declare const bookmarkCustomActionAdd: ApiWrapper<BookmarkList<jObjectLittle>>;
|
|
14
|
+
export declare const movePayload: {
|
|
15
|
+
bookmark: {
|
|
16
|
+
id: number;
|
|
17
|
+
mainType: string;
|
|
18
|
+
type: string;
|
|
19
|
+
uri: string;
|
|
20
|
+
dateCreation: string;
|
|
21
|
+
dateModified: string;
|
|
22
|
+
srcId: number;
|
|
23
|
+
srcType: string;
|
|
24
|
+
targetId: number;
|
|
25
|
+
targetType: null;
|
|
26
|
+
value: null;
|
|
27
|
+
_cssColor: string;
|
|
28
|
+
_cssClass: string;
|
|
29
|
+
_src: {
|
|
30
|
+
id: number;
|
|
31
|
+
type: string;
|
|
32
|
+
mainType: string;
|
|
33
|
+
_cssColor: string;
|
|
34
|
+
_cssClass: string;
|
|
35
|
+
uri: string;
|
|
36
|
+
title: string;
|
|
37
|
+
_url: string;
|
|
38
|
+
firstname: string;
|
|
39
|
+
lastname: string;
|
|
40
|
+
company: string;
|
|
41
|
+
mail: string;
|
|
42
|
+
function: string;
|
|
43
|
+
_values: {
|
|
44
|
+
firstname: string;
|
|
45
|
+
lastname: string;
|
|
46
|
+
company: string;
|
|
47
|
+
mail: string;
|
|
48
|
+
function: string;
|
|
49
|
+
dateCreation: string;
|
|
50
|
+
dateModified: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
bookmarkOrder: string;
|
|
54
|
+
bookmarkLabel: string;
|
|
55
|
+
bookmarkUrl: string;
|
|
56
|
+
bookmarkMeta: null;
|
|
57
|
+
url: null;
|
|
58
|
+
};
|
|
59
|
+
bookmarkReference: {
|
|
60
|
+
id: number;
|
|
61
|
+
mainType: string;
|
|
62
|
+
type: string;
|
|
63
|
+
uri: string;
|
|
64
|
+
dateCreation: string;
|
|
65
|
+
dateModified: string;
|
|
66
|
+
srcId: number;
|
|
67
|
+
srcType: string;
|
|
68
|
+
targetId: number;
|
|
69
|
+
targetType: string;
|
|
70
|
+
value: null;
|
|
71
|
+
_cssColor: string;
|
|
72
|
+
_cssClass: string;
|
|
73
|
+
_src: {
|
|
74
|
+
id: number;
|
|
75
|
+
type: string;
|
|
76
|
+
mainType: string;
|
|
77
|
+
_cssColor: string;
|
|
78
|
+
_cssClass: string;
|
|
79
|
+
uri: string;
|
|
80
|
+
title: string;
|
|
81
|
+
_url: string;
|
|
82
|
+
firstname: string;
|
|
83
|
+
lastname: string;
|
|
84
|
+
company: string;
|
|
85
|
+
mail: string;
|
|
86
|
+
function: string;
|
|
87
|
+
_values: {
|
|
88
|
+
firstname: string;
|
|
89
|
+
lastname: string;
|
|
90
|
+
company: string;
|
|
91
|
+
mail: string;
|
|
92
|
+
function: string;
|
|
93
|
+
dateCreation: string;
|
|
94
|
+
dateModified: string;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
_target: {
|
|
98
|
+
id: number;
|
|
99
|
+
type: string;
|
|
100
|
+
mainType: string;
|
|
101
|
+
_cssColor: string;
|
|
102
|
+
_cssClass: string;
|
|
103
|
+
uri: string;
|
|
104
|
+
title: string;
|
|
105
|
+
_url: string;
|
|
106
|
+
firstname: string;
|
|
107
|
+
lastname: string;
|
|
108
|
+
company: string;
|
|
109
|
+
mail: string;
|
|
110
|
+
function: string;
|
|
111
|
+
_values: {
|
|
112
|
+
firstname: string;
|
|
113
|
+
lastname: string;
|
|
114
|
+
company: string;
|
|
115
|
+
mail: string;
|
|
116
|
+
function: string;
|
|
117
|
+
dateCreation: string;
|
|
118
|
+
dateModified: string;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
bookmarkOrder: string;
|
|
122
|
+
bookmarkLabel: string;
|
|
123
|
+
bookmarkUrl: string;
|
|
124
|
+
bookmarkMeta: null;
|
|
125
|
+
url: string;
|
|
126
|
+
};
|
|
127
|
+
position: "before";
|
|
128
|
+
};
|
|
129
|
+
export declare const moveResponse: ApiWrapper<null, BaseMessagesOne>;
|
|
130
|
+
export declare const deletePayload: {
|
|
131
|
+
id: number;
|
|
132
|
+
mainType: string;
|
|
133
|
+
type: string;
|
|
134
|
+
uri: string;
|
|
135
|
+
dateCreation: string;
|
|
136
|
+
dateModified: string;
|
|
137
|
+
srcId: number;
|
|
138
|
+
srcType: string;
|
|
139
|
+
targetId: number;
|
|
140
|
+
targetType: string;
|
|
141
|
+
value: null;
|
|
142
|
+
_cssColor: string;
|
|
143
|
+
_cssClass: string;
|
|
144
|
+
_src: {
|
|
145
|
+
id: number;
|
|
146
|
+
type: string;
|
|
147
|
+
mainType: string;
|
|
148
|
+
_cssColor: string;
|
|
149
|
+
_cssClass: string;
|
|
150
|
+
uri: string;
|
|
151
|
+
title: string;
|
|
152
|
+
_url: string;
|
|
153
|
+
firstname: string;
|
|
154
|
+
lastname: string;
|
|
155
|
+
company: string;
|
|
156
|
+
mail: string;
|
|
157
|
+
function: string;
|
|
158
|
+
_values: {
|
|
159
|
+
firstname: string;
|
|
160
|
+
lastname: string;
|
|
161
|
+
company: string;
|
|
162
|
+
mail: string;
|
|
163
|
+
function: string;
|
|
164
|
+
dateCreation: string;
|
|
165
|
+
dateModified: string;
|
|
166
|
+
};
|
|
167
|
+
};
|
|
168
|
+
_target: {
|
|
169
|
+
id: number;
|
|
170
|
+
type: string;
|
|
171
|
+
mainType: string;
|
|
172
|
+
_cssColor: string;
|
|
173
|
+
_cssClass: string;
|
|
174
|
+
uri: string;
|
|
175
|
+
title: string;
|
|
176
|
+
_url: string;
|
|
177
|
+
firstname: string;
|
|
178
|
+
lastname: string;
|
|
179
|
+
company: string;
|
|
180
|
+
mail: string;
|
|
181
|
+
function: string;
|
|
182
|
+
_values: {
|
|
183
|
+
firstname: string;
|
|
184
|
+
lastname: string;
|
|
185
|
+
company: string;
|
|
186
|
+
mail: string;
|
|
187
|
+
function: string;
|
|
188
|
+
dateCreation: string;
|
|
189
|
+
dateModified: string;
|
|
190
|
+
};
|
|
191
|
+
};
|
|
192
|
+
bookmarkOrder: string;
|
|
193
|
+
bookmarkLabel: string;
|
|
194
|
+
bookmarkUrl: string;
|
|
195
|
+
bookmarkMeta: null;
|
|
196
|
+
url: string;
|
|
197
|
+
};
|
|
198
|
+
export declare const deleteResponse: ApiWrapper<null, BaseMessagesOne>;
|
|
199
|
+
export declare const rtAddPayload: BookmarkRawList;
|
|
200
|
+
export declare const rtDeletePayload: BookmarkRawList;
|
|
201
|
+
export declare const rtUpdatePayload: BookmarkRawList;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ExclusifyUnion, Namespaces, RTMessageHandler } from 'jamespot-user-api';
|
|
2
|
+
import { AppDispatch } from '../../types/store';
|
|
3
|
+
type bookmarkHandlers = ExclusifyUnion<RTMessageHandler<'BOOKMARKS', Namespaces['BOOKMARKS']> | RTMessageHandler<'CUSTOM-ACTION', Namespaces['CUSTOM-ACTION']>>;
|
|
4
|
+
export declare const getBookmarkRTHandlers: (dispatch: AppDispatch) => bookmarkHandlers[];
|
|
5
|
+
export {};
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { RTMessageObject } from 'jamespot-user-api';
|
|
2
|
+
export declare const bookmarksUpdateMessage: RTMessageObject<"BOOKMARKS", "update">;
|
|
3
|
+
export declare const bookmarksUpdateMessageNoBookmark: {
|
|
4
|
+
object: {
|
|
5
|
+
id: number;
|
|
6
|
+
mainType: string;
|
|
7
|
+
type: string;
|
|
8
|
+
uri: string;
|
|
9
|
+
};
|
|
10
|
+
namespace: "BOOKMARKS";
|
|
11
|
+
function: "update";
|
|
12
|
+
};
|
|
13
|
+
export declare const customActionRemoveMessage: {
|
|
14
|
+
object: {
|
|
15
|
+
id: number;
|
|
16
|
+
type: string;
|
|
17
|
+
uri: string;
|
|
18
|
+
srcId: number;
|
|
19
|
+
srcType: string;
|
|
20
|
+
targetId: number;
|
|
21
|
+
targetType: string;
|
|
22
|
+
mainType: string;
|
|
23
|
+
value: null;
|
|
24
|
+
_cssColor: string;
|
|
25
|
+
_cssClass: string;
|
|
26
|
+
_src: {
|
|
27
|
+
id: number;
|
|
28
|
+
type: string;
|
|
29
|
+
mainType: string;
|
|
30
|
+
_cssColor: string;
|
|
31
|
+
_cssClass: string;
|
|
32
|
+
uri: string;
|
|
33
|
+
title: string;
|
|
34
|
+
_url: string;
|
|
35
|
+
firstname: string;
|
|
36
|
+
lastname: string;
|
|
37
|
+
company: string;
|
|
38
|
+
mail: string;
|
|
39
|
+
function: string;
|
|
40
|
+
_values: {
|
|
41
|
+
firstname: string;
|
|
42
|
+
lastname: string;
|
|
43
|
+
company: string;
|
|
44
|
+
mail: string;
|
|
45
|
+
function: string;
|
|
46
|
+
dateCreation: string;
|
|
47
|
+
dateModified: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
_target: {
|
|
51
|
+
id: number;
|
|
52
|
+
type: string;
|
|
53
|
+
uri: string;
|
|
54
|
+
mainType: string;
|
|
55
|
+
_cssColor: string;
|
|
56
|
+
_cssClass: string;
|
|
57
|
+
title: string;
|
|
58
|
+
_url: string;
|
|
59
|
+
jlandMapKind: string;
|
|
60
|
+
jlandMapFlavor: string;
|
|
61
|
+
limit: number;
|
|
62
|
+
waMapUrl: string;
|
|
63
|
+
_values: {
|
|
64
|
+
dateCreation: string;
|
|
65
|
+
dateModified: string;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
bookmarkOrder: number;
|
|
69
|
+
bookmarkLabel: string;
|
|
70
|
+
bookmarkUrl: null;
|
|
71
|
+
bookmarkMeta: null;
|
|
72
|
+
url: string;
|
|
73
|
+
_values: {
|
|
74
|
+
dateCreation: string;
|
|
75
|
+
dateModified: string;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
extendedParams: never[];
|
|
79
|
+
namespace: "CUSTOM-ACTION";
|
|
80
|
+
function: "remove";
|
|
81
|
+
};
|
|
82
|
+
export declare const customActionRemoveMessageNoBookmark: {
|
|
83
|
+
object: {
|
|
84
|
+
id: number;
|
|
85
|
+
mainType: string;
|
|
86
|
+
type: string;
|
|
87
|
+
uri: string;
|
|
88
|
+
};
|
|
89
|
+
extendedParams: never[];
|
|
90
|
+
namespace: "CUSTOM-ACTION";
|
|
91
|
+
function: "remove";
|
|
92
|
+
};
|
|
93
|
+
export declare const customActionAddMessage: RTMessageObject<"CUSTOM-ACTION", "add">;
|
|
94
|
+
export declare const customActionAddMessageNoBookmark: RTMessageObject<"CUSTOM-ACTION", "add">;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
+
import { BookmarkRawList } from 'jamespot-user-api';
|
|
3
|
+
import { bookmarkEditState } from './bookmark.types';
|
|
4
|
+
export declare const editBookmark: import('@reduxjs/toolkit').AsyncThunk<void, Partial<{
|
|
5
|
+
id: number;
|
|
6
|
+
mainType: string;
|
|
7
|
+
type: "bookmarkLink";
|
|
8
|
+
uri: string;
|
|
9
|
+
value: string | null;
|
|
10
|
+
srcId: number;
|
|
11
|
+
srcType: string;
|
|
12
|
+
targetId: number;
|
|
13
|
+
targetType: string | null;
|
|
14
|
+
url?: string | null | undefined;
|
|
15
|
+
dateCreation?: string | undefined;
|
|
16
|
+
dateModified?: string | null | undefined;
|
|
17
|
+
_src?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
18
|
+
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
19
|
+
dateCreation: string;
|
|
20
|
+
dateModified: string;
|
|
21
|
+
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
22
|
+
}) | import('jamespot-user-api').jUserLittle | undefined;
|
|
23
|
+
_target?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
24
|
+
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
25
|
+
dateCreation: string;
|
|
26
|
+
dateModified: string;
|
|
27
|
+
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
28
|
+
}) | import('jamespot-user-api').jUserLittle | undefined;
|
|
29
|
+
bookmarkUrl?: string | null | undefined;
|
|
30
|
+
bookmarkOrder?: number | undefined;
|
|
31
|
+
bookmarkLabel?: string | undefined;
|
|
32
|
+
bookmarkMeta?: string | null | undefined;
|
|
33
|
+
}>, {
|
|
34
|
+
dispatch: import('../..').AppDispatch;
|
|
35
|
+
state: import('../..').RootState;
|
|
36
|
+
extra: {
|
|
37
|
+
jApi: import('jamespot-user-api').JamespotUserApi;
|
|
38
|
+
};
|
|
39
|
+
rejectValue: {
|
|
40
|
+
error: number;
|
|
41
|
+
errorMsg: string;
|
|
42
|
+
};
|
|
43
|
+
serializedErrorType?: unknown;
|
|
44
|
+
pendingMeta?: unknown;
|
|
45
|
+
fulfilledMeta?: unknown;
|
|
46
|
+
rejectedMeta?: unknown;
|
|
47
|
+
}>;
|
|
48
|
+
export declare const BookmarkEditSlice: import('@reduxjs/toolkit').Slice<bookmarkEditState, {
|
|
49
|
+
setEditBookmark: (state: import('@reduxjs/toolkit').WritableDraft<bookmarkEditState>, action: PayloadAction<BookmarkRawList>) => void;
|
|
50
|
+
unsetEditBookmark: (state: import('@reduxjs/toolkit').WritableDraft<bookmarkEditState>) => void;
|
|
51
|
+
resetStatus: (state: import('@reduxjs/toolkit').WritableDraft<bookmarkEditState>) => void;
|
|
52
|
+
}, "bookmarkEdit", "bookmarkEdit", import('@reduxjs/toolkit').SliceSelectors<bookmarkEditState>>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ApiWrapper, BaseMessagesOne, BookmarkRawList } from 'jamespot-user-api';
|
|
2
|
+
export declare const bookmarkToEdit: BookmarkRawList;
|
|
3
|
+
export declare const renameBookmarkResponse: ApiWrapper<null, BaseMessagesOne>;
|
|
4
|
+
export declare const renameBookmarkPayload: BookmarkRawList;
|