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.
Files changed (212) hide show
  1. package/dist/src/index.d.ts +2 -0
  2. package/dist/src/store/admin/logs/logs.d.ts +97 -0
  3. package/dist/src/store/admin/logs/logs.mock.d.ts +64 -0
  4. package/dist/src/store/admin/logs/logsNavigation.d.ts +23 -0
  5. package/dist/src/store/admin/logs/logsObjects.d.ts +23 -0
  6. package/dist/src/store/admin/logs/logsSearch.d.ts +23 -0
  7. package/dist/src/store/admin/logs/types.d.ts +12 -0
  8. package/dist/src/store/animations/animationStats.d.ts +19 -0
  9. package/dist/src/store/animations/animationStatsCurrent.d.ts +17 -0
  10. package/dist/src/store/animations/animations.d.ts +150 -0
  11. package/dist/src/store/animations/animations.mock.d.ts +9 -0
  12. package/dist/src/store/animations/animationsList.d.ts +75 -0
  13. package/dist/src/store/animations/animationsRTHandlers.d.ts +3 -0
  14. package/dist/src/store/animations/animationsRTHandlers.mock.d.ts +4 -0
  15. package/dist/src/store/animations/types.d.ts +22 -0
  16. package/dist/src/store/application/application.d.ts +48 -0
  17. package/dist/src/store/application/application.mock.d.ts +4 -0
  18. package/dist/src/store/application/application.types.d.ts +5 -0
  19. package/dist/src/store/article/article.d.ts +3 -0
  20. package/dist/src/store/article/articleRTHandlers.d.ts +2 -0
  21. package/dist/src/store/article/articleRTHandlers.mock.d.ts +4 -0
  22. package/dist/src/store/assetReservation/assetReservation.d.ts +74 -0
  23. package/dist/src/store/assetReservation/assetReservation.types.d.ts +31 -0
  24. package/dist/src/store/assetReservation/bookableAsset.d.ts +15 -0
  25. package/dist/src/store/assetReservation/bookableAsset.mock.d.ts +2 -0
  26. package/dist/src/store/assetReservation/configuration.d.ts +25 -0
  27. package/dist/src/store/assetReservation/configuration.mock.d.ts +17 -0
  28. package/dist/src/store/assetReservation/reservation.d.ts +20 -0
  29. package/dist/src/store/assetReservation/reservation.mock.d.ts +2 -0
  30. package/dist/src/store/bookmark/bookmark.d.ts +472 -0
  31. package/dist/src/store/bookmark/bookmark.types.d.ts +31 -0
  32. package/dist/src/store/bookmark/bookmarkList.d.ts +226 -0
  33. package/dist/src/store/bookmark/bookmarkList.mock.d.ts +201 -0
  34. package/dist/src/store/bookmark/bookmarkRTHandlers.d.ts +5 -0
  35. package/dist/src/store/bookmark/bookmarkRTHandlers.mock.d.ts +94 -0
  36. package/dist/src/store/bookmark/editBookmarkForm.d.ts +52 -0
  37. package/dist/src/store/bookmark/editBookmarkForm.mock.d.ts +4 -0
  38. package/dist/src/store/calendar/calendar.d.ts +347 -0
  39. package/dist/src/store/calendar/calendar.types.d.ts +22 -0
  40. package/dist/src/store/calendar/calendarEvents.d.ts +164 -0
  41. package/dist/src/store/calendar/calendarEvents.mock.d.ts +6 -0
  42. package/dist/src/store/calendar/calendarRTHandlers.d.ts +5 -0
  43. package/dist/src/store/calendar/calendarRTHandlers.mock.d.ts +16 -0
  44. package/dist/src/store/comment/comment.d.ts +66 -0
  45. package/dist/src/store/comment/comment.types.d.ts +18 -0
  46. package/dist/src/store/comment/commentList.d.ts +52 -0
  47. package/dist/src/store/comment/commentList.mock.d.ts +2 -0
  48. package/dist/src/store/comment/commentRTHandlers.d.ts +3 -0
  49. package/dist/src/store/comment/commentRTHandlers.mock.d.ts +102 -0
  50. package/dist/src/store/comment/commentsLikeRTHandlers.d.ts +3 -0
  51. package/dist/src/store/comment/commentsLikeRTHandlers.mock.d.ts +96 -0
  52. package/dist/src/store/contentReport/contentReport.d.ts +89 -0
  53. package/dist/src/store/contentReport/contentReport.mock.d.ts +3 -0
  54. package/dist/src/store/contentReport/contentReport.types.d.ts +17 -0
  55. package/dist/src/store/extraBot/extraBot.const.d.ts +7 -0
  56. package/dist/src/store/extraBot/extraBot.d.ts +167 -0
  57. package/dist/src/store/extraBot/extraBot.mock.d.ts +8 -0
  58. package/dist/src/store/extraBot/extraBot.types.d.ts +21 -0
  59. package/dist/src/store/faq/faq.d.ts +67 -0
  60. package/dist/src/store/faq/faq.types.d.ts +14 -0
  61. package/dist/src/store/faq/faqCategories.d.ts +20 -0
  62. package/dist/src/store/faq/faqCategories.mock.d.ts +2 -0
  63. package/dist/src/store/faq/faqConfig.d.ts +26 -0
  64. package/dist/src/store/faq/faqConfig.mock.d.ts +3 -0
  65. package/dist/src/store/fileIntegrity/fileIntegrity.const.d.ts +7 -0
  66. package/dist/src/store/fileIntegrity/fileIntegrity.d.ts +116 -0
  67. package/dist/src/store/fileIntegrity/fileIntegrity.mock.d.ts +4 -0
  68. package/dist/src/store/fileIntegrity/fileIntegrity.types.d.ts +12 -0
  69. package/dist/src/store/hook/hook.d.ts +505 -0
  70. package/dist/src/store/hook/hook.mock.d.ts +2 -0
  71. package/dist/src/store/hook/hook.types.d.ts +4 -0
  72. package/dist/src/store/hook/utils/driveHook.utils.d.ts +2 -0
  73. package/dist/src/store/index.d.ts +30 -0
  74. package/dist/src/store/jland/jland.d.ts +130 -0
  75. package/dist/src/store/jland/jland.types.d.ts +39 -0
  76. package/dist/src/store/jland/mapCreate.d.ts +21 -0
  77. package/dist/src/store/jland/mapCreate.mock.d.ts +82 -0
  78. package/dist/src/store/jland/mapList.d.ts +93 -0
  79. package/dist/src/store/jland/mapList.mock.d.ts +105 -0
  80. package/dist/src/store/jland/utils.d.ts +3 -0
  81. package/dist/src/store/magicPad/magicPad.d.ts +59 -0
  82. package/dist/src/store/magicPad/magicPad.mock.d.ts +2 -0
  83. package/dist/src/store/magicPad/magicPad.types.d.ts +15 -0
  84. package/dist/src/store/mediaLibrary/mediaLibrary.const.d.ts +7 -0
  85. package/dist/src/store/mediaLibrary/mediaLibrary.d.ts +454 -0
  86. package/dist/src/store/mediaLibrary/mediaLibrary.types.d.ts +24 -0
  87. package/dist/src/store/mediaLibrary/medialibrary.mock.d.ts +72 -0
  88. package/dist/src/store/model/model.d.ts +51 -0
  89. package/dist/src/store/model/model.mock.d.ts +144 -0
  90. package/dist/src/store/model/model.types.d.ts +5 -0
  91. package/dist/src/store/network/network.d.ts +29 -0
  92. package/dist/src/store/network/network.types.d.ts +10 -0
  93. package/dist/src/store/network/networkStatics.d.ts +5 -0
  94. package/dist/src/store/platform/platform.d.ts +20 -0
  95. package/dist/src/store/platform/platform.types.d.ts +11 -0
  96. package/dist/src/store/platform/platformConfig.d.ts +5 -0
  97. package/dist/src/store/share/share.actions.d.ts +16 -0
  98. package/dist/src/store/share/share.d.ts +29 -0
  99. package/dist/src/store/share/share.mock.d.ts +2 -0
  100. package/dist/src/store/share/share.slice.d.ts +5 -0
  101. package/dist/src/store/share/share.types.d.ts +9 -0
  102. package/dist/src/store/socialActions/socialActions.d.ts +49 -0
  103. package/dist/src/store/socialActions/socialActions.mock.d.ts +2 -0
  104. package/dist/src/store/studio/StudioAppsList.d.ts +108 -0
  105. package/dist/src/store/studio/appListMocks/appInWorkNoValue.d.ts +4 -0
  106. package/dist/src/store/studio/appListMocks/studioSuspendedTransformed.d.ts +2624 -0
  107. package/dist/src/store/studio/currentStudioApp.d.ts +54 -0
  108. package/dist/src/store/studio/mocks/erikBug/erikList.mock.d.ts +587 -0
  109. package/dist/src/store/studio/mocks/erikBug/getActiviteCE.mock.d.ts +1028 -0
  110. package/dist/src/store/studio/mocks/erikBug/getConge.mock.d.ts +3 -0
  111. package/dist/src/store/studio/mocks/erikBug/getCongeSaved.mock.d.ts +11 -0
  112. package/dist/src/store/studio/mocks/erikBug/getEmploi.mock.d.ts +1022 -0
  113. package/dist/src/store/studio/mocks/erikBug/getEmploiSaved.mock.d.ts +11 -0
  114. package/dist/src/store/studio/mocks/erikBug/getEquipment.mock.d.ts +1020 -0
  115. package/dist/src/store/studio/mocks/erikBug/getEquipmentSaved.mock.d.ts +11 -0
  116. package/dist/src/store/studio/mocks/erikBug/getIncident.mock.d.ts +3 -0
  117. package/dist/src/store/studio/mocks/erikBug/getIncidentSaved.mock.d.ts +11 -0
  118. package/dist/src/store/studio/mocks/erikBug/getTelephoneSaved.mock.d.ts +11 -0
  119. package/dist/src/store/studio/mocks/erikBug/getTrad.mock.d.ts +996 -0
  120. package/dist/src/store/studio/mocks/erikBug/taxoList.mock.d.ts +16 -0
  121. package/dist/src/store/studio/mocks/publishtoAndHtmlIssues/StudioList.d.ts +47 -0
  122. package/dist/src/store/studio/mocks/publishtoAndHtmlIssues/app1.d.ts +1016 -0
  123. package/dist/src/store/studio/studio.d.ts +172 -0
  124. package/dist/src/store/studio/studio.types.d.ts +572 -0
  125. package/dist/src/store/studio/studioAppsList.mock.d.ts +896 -0
  126. package/dist/src/store/studio/utils/appToXml.d.ts +6 -0
  127. package/dist/src/store/studio/utils/cloneStudioAppFromExistingApp.d.ts +2 -0
  128. package/dist/src/store/studio/utils/createNewStudioApp.d.ts +11 -0
  129. package/dist/src/store/studio/utils/generateNewFormField.d.ts +2 -0
  130. package/dist/src/store/studio/utils/installedToV2/fieldBuilders.d.ts +219 -0
  131. package/dist/src/store/studio/utils/installedToV2/installedToV2.d.ts +13 -0
  132. package/dist/src/store/studio/utils/installedToV2/mocks/allFieldsInstalled.mock.d.ts +1300 -0
  133. package/dist/src/store/studio/utils/installedToV2/mocks/allFieldsInstalled2.mock.d.ts +1274 -0
  134. package/dist/src/store/studio/utils/installedToV2/mocks/allFieldsV2-2.mock.d.ts +2 -0
  135. package/dist/src/store/studio/utils/installedToV2/mocks/allFieldsV2.mock.d.ts +2 -0
  136. package/dist/src/store/studio/utils/installedToV2/mocks/baseAppAudienceInstalled.mock.d.ts +860 -0
  137. package/dist/src/store/studio/utils/installedToV2/mocks/baseAppAudienceV2.mock.d.ts +2 -0
  138. package/dist/src/store/studio/utils/installedToV2/mocks/baseAppFluxInstalled.mock.d.ts +774 -0
  139. package/dist/src/store/studio/utils/installedToV2/mocks/baseAppFluxV2.mock.d.ts +2 -0
  140. package/dist/src/store/studio/utils/installedToV2/mocks/baseAppInstalled.mock.d.ts +782 -0
  141. package/dist/src/store/studio/utils/installedToV2/mocks/baseAppV2.mock.d.ts +2 -0
  142. package/dist/src/store/studio/utils/installedToV2/mocks/selectCommentModif.mock.d.ts +2 -0
  143. package/dist/src/store/studio/utils/installedToV2/mocks/selectCommentModifInstalled.mock.d.ts +787 -0
  144. package/dist/src/store/studio/utils/installedToV2/mocks/simpleFieldsInstalled.mock.d.ts +852 -0
  145. package/dist/src/store/studio/utils/installedToV2/mocks/simpleFieldsV2.mock.d.ts +2 -0
  146. package/dist/src/store/studio/utils/installedToV2/mocks/specialApp.mock.d.ts +834 -0
  147. package/dist/src/store/studio/utils/installedToV2/mocks/wrongFixedAndHtmlData.d.ts +1308 -0
  148. package/dist/src/store/studio/utils/migrateJson.d.ts +3 -0
  149. package/dist/src/store/studio/utils/serverAppsToStudioApps.d.ts +3 -0
  150. package/dist/src/store/studio/utils/studioApplication.mock.d.ts +32 -0
  151. package/dist/src/store/teamWork/teamWork.d.ts +46 -0
  152. package/dist/src/store/teamWork/teamWorkRTHandlers.d.ts +3 -0
  153. package/dist/src/store/teamWork/teamWorkRTHandlers.mock.d.ts +2 -0
  154. package/dist/src/store/teamWork/teamWorkToDo.d.ts +20 -0
  155. package/dist/src/store/teamWork/teamWorkToDo.mock.d.ts +2 -0
  156. package/dist/src/store/teamWork/types.d.ts +10 -0
  157. package/dist/src/store/tinymce/tinyMCEOptions.d.ts +5 -0
  158. package/dist/src/store/tinymce/tinymce.d.ts +52 -0
  159. package/dist/src/store/tinymce/tinymce.types.d.ts +10 -0
  160. package/dist/src/store/toast/toast.d.ts +35 -0
  161. package/dist/src/store/toast/toast.types.d.ts +19 -0
  162. package/dist/src/store/tvDisplay/channelsList.d.ts +36 -0
  163. package/dist/src/store/tvDisplay/channelsList.mock.d.ts +3 -0
  164. package/dist/src/store/tvDisplay/tvDisplay.d.ts +54 -0
  165. package/dist/src/store/tvDisplay/tvDisplay.types.d.ts +12 -0
  166. package/dist/src/store/tvDisplay/utils.d.ts +2 -0
  167. package/dist/src/store/tvDisplay/utils.mock.d.ts +5 -0
  168. package/dist/src/store/user/user.types.d.ts +4 -0
  169. package/dist/src/store/user/userCurrent.d.ts +21 -0
  170. package/dist/src/store/user/userCurrent.mock.d.ts +36 -0
  171. package/dist/src/store/wedoc/wedoc.actions.d.ts +85 -0
  172. package/dist/src/store/wedoc/wedoc.d.ts +165 -0
  173. package/dist/src/store/wedoc/wedoc.mock.d.ts +3 -0
  174. package/dist/src/store/wedoc/wedoc.slice.d.ts +8 -0
  175. package/dist/src/store/wedoc/wedoc.types.d.ts +22 -0
  176. package/dist/src/store/widget/definitions/widget-article-attachment.d.ts +3 -0
  177. package/dist/src/store/widget/definitions/widget-article-button.d.ts +16 -0
  178. package/dist/src/store/widget/definitions/widget-article-gallery.d.ts +3 -0
  179. package/dist/src/store/widget/definitions/widget-article-image.d.ts +3 -0
  180. package/dist/src/store/widget/definitions/widget-article-slider.d.ts +3 -0
  181. package/dist/src/store/widget/definitions/widget-article-text.d.ts +3 -0
  182. package/dist/src/store/widget/definitions/widget-article-title.d.ts +3 -0
  183. package/dist/src/store/widget/definitions/widget-calendar-calDav.d.ts +3 -0
  184. package/dist/src/store/widget/definitions/widget-check-list.d.ts +3 -0
  185. package/dist/src/store/widget/definitions/widget-color.d.ts +3 -0
  186. package/dist/src/store/widget/definitions/widget-contact-cardDav.d.ts +3 -0
  187. package/dist/src/store/widget/definitions/widget-datasource-table.d.ts +3 -0
  188. package/dist/src/store/widget/definitions/widget-emails-imap.d.ts +3 -0
  189. package/dist/src/store/widget/definitions/widget-excel-datasource-table.d.ts +3 -0
  190. package/dist/src/store/widget/definitions/widget-extension.d.ts +3 -0
  191. package/dist/src/store/widget/definitions/widget-lucca-absence.d.ts +3 -0
  192. package/dist/src/store/widget/definitions/widget-presence.d.ts +3 -0
  193. package/dist/src/store/widget/definitions/widget-quick-survey.d.ts +3 -0
  194. package/dist/src/store/widget/definitions/widget-user-profile.d.ts +3 -0
  195. package/dist/src/store/widget/definitions/widget-welcome.d.ts +3 -0
  196. package/dist/src/store/widget/utils.d.ts +1 -0
  197. package/dist/src/store/widget/widget.const.d.ts +4 -0
  198. package/dist/src/store/widget/widget.d.ts +135 -0
  199. package/dist/src/store/widget/widget.def.d.ts +2 -0
  200. package/dist/src/store/widget/widget.factory.d.ts +4 -0
  201. package/dist/src/store/widget/widget.slice.d.ts +98 -0
  202. package/dist/src/store/widget/widgetRTHandlers.d.ts +3 -0
  203. package/dist/src/store/widgetEditor/widgetEditor.d.ts +31 -0
  204. package/dist/src/store/widgetEditor/widgetEditor.types.d.ts +16 -0
  205. package/dist/src/tests-utils/mockStore.d.ts +172 -0
  206. package/dist/src/tests-utils/testsUtils.d.ts +38 -0
  207. package/dist/src/types/index.d.ts +15 -0
  208. package/dist/src/types/oldStudio.d.ts +165 -0
  209. package/dist/src/types/store.d.ts +48 -0
  210. package/dist/src/types/utils.d.ts +18 -0
  211. package/dist/src/utils/errors.utils.d.ts +2 -0
  212. 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
+ }