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.
Files changed (224) hide show
  1. package/dist/index.d.ts +2 -0
  2. package/dist/jamespot-front-business.js +113 -0
  3. package/dist/jamespot-front-business.mjs +5075 -0
  4. package/dist/src/index.d.ts +2 -0
  5. package/dist/src/store/admin/logs/logs.d.ts +97 -0
  6. package/dist/src/store/admin/logs/logs.mock.d.ts +64 -0
  7. package/dist/src/store/admin/logs/logsNavigation.d.ts +23 -0
  8. package/dist/src/store/admin/logs/logsObjects.d.ts +23 -0
  9. package/dist/src/store/admin/logs/logsSearch.d.ts +23 -0
  10. package/dist/src/store/admin/logs/types.d.ts +12 -0
  11. package/dist/src/store/animations/animationStats.d.ts +19 -0
  12. package/dist/src/store/animations/animationStatsCurrent.d.ts +17 -0
  13. package/dist/src/store/animations/animations.d.ts +150 -0
  14. package/dist/src/store/animations/animations.mock.d.ts +9 -0
  15. package/dist/src/store/animations/animationsList.d.ts +75 -0
  16. package/dist/src/store/animations/animationsRTHandlers.d.ts +3 -0
  17. package/dist/src/store/animations/animationsRTHandlers.mock.d.ts +4 -0
  18. package/dist/src/store/animations/types.d.ts +22 -0
  19. package/dist/src/store/application/application.d.ts +48 -0
  20. package/dist/src/store/application/application.mock.d.ts +4 -0
  21. package/dist/src/store/application/application.types.d.ts +5 -0
  22. package/dist/src/store/article/article.d.ts +3 -0
  23. package/dist/src/store/article/articleRTHandlers.d.ts +2 -0
  24. package/dist/src/store/article/articleRTHandlers.mock.d.ts +4 -0
  25. package/dist/src/store/assetReservation/assetReservation.d.ts +74 -0
  26. package/dist/src/store/assetReservation/assetReservation.types.d.ts +31 -0
  27. package/dist/src/store/assetReservation/bookableAsset.d.ts +15 -0
  28. package/dist/src/store/assetReservation/bookableAsset.mock.d.ts +2 -0
  29. package/dist/src/store/assetReservation/configuration.d.ts +25 -0
  30. package/dist/src/store/assetReservation/configuration.mock.d.ts +17 -0
  31. package/dist/src/store/assetReservation/reservation.d.ts +20 -0
  32. package/dist/src/store/assetReservation/reservation.mock.d.ts +2 -0
  33. package/dist/src/store/bookmark/bookmark.d.ts +472 -0
  34. package/dist/src/store/bookmark/bookmark.types.d.ts +31 -0
  35. package/dist/src/store/bookmark/bookmarkList.d.ts +226 -0
  36. package/dist/src/store/bookmark/bookmarkList.mock.d.ts +201 -0
  37. package/dist/src/store/bookmark/bookmarkRTHandlers.d.ts +5 -0
  38. package/dist/src/store/bookmark/bookmarkRTHandlers.mock.d.ts +94 -0
  39. package/dist/src/store/bookmark/editBookmarkForm.d.ts +52 -0
  40. package/dist/src/store/bookmark/editBookmarkForm.mock.d.ts +4 -0
  41. package/dist/src/store/calendar/calendar.d.ts +347 -0
  42. package/dist/src/store/calendar/calendar.types.d.ts +22 -0
  43. package/dist/src/store/calendar/calendarEvents.d.ts +164 -0
  44. package/dist/src/store/calendar/calendarEvents.mock.d.ts +6 -0
  45. package/dist/src/store/calendar/calendarRTHandlers.d.ts +5 -0
  46. package/dist/src/store/calendar/calendarRTHandlers.mock.d.ts +16 -0
  47. package/dist/src/store/comment/comment.d.ts +66 -0
  48. package/dist/src/store/comment/comment.types.d.ts +18 -0
  49. package/dist/src/store/comment/commentList.d.ts +52 -0
  50. package/dist/src/store/comment/commentList.mock.d.ts +2 -0
  51. package/dist/src/store/comment/commentRTHandlers.d.ts +3 -0
  52. package/dist/src/store/comment/commentRTHandlers.mock.d.ts +102 -0
  53. package/dist/src/store/comment/commentsLikeRTHandlers.d.ts +3 -0
  54. package/dist/src/store/comment/commentsLikeRTHandlers.mock.d.ts +96 -0
  55. package/dist/src/store/contentReport/contentReport.d.ts +89 -0
  56. package/dist/src/store/contentReport/contentReport.mock.d.ts +3 -0
  57. package/dist/src/store/contentReport/contentReport.types.d.ts +17 -0
  58. package/dist/src/store/extraBot/extraBot.const.d.ts +7 -0
  59. package/dist/src/store/extraBot/extraBot.d.ts +167 -0
  60. package/dist/src/store/extraBot/extraBot.mock.d.ts +8 -0
  61. package/dist/src/store/extraBot/extraBot.types.d.ts +21 -0
  62. package/dist/src/store/faq/faq.d.ts +67 -0
  63. package/dist/src/store/faq/faq.types.d.ts +14 -0
  64. package/dist/src/store/faq/faqCategories.d.ts +20 -0
  65. package/dist/src/store/faq/faqCategories.mock.d.ts +2 -0
  66. package/dist/src/store/faq/faqConfig.d.ts +26 -0
  67. package/dist/src/store/faq/faqConfig.mock.d.ts +3 -0
  68. package/dist/src/store/fileIntegrity/fileIntegrity.const.d.ts +7 -0
  69. package/dist/src/store/fileIntegrity/fileIntegrity.d.ts +116 -0
  70. package/dist/src/store/fileIntegrity/fileIntegrity.mock.d.ts +4 -0
  71. package/dist/src/store/fileIntegrity/fileIntegrity.types.d.ts +12 -0
  72. package/dist/src/store/hook/hook.d.ts +505 -0
  73. package/dist/src/store/hook/hook.mock.d.ts +2 -0
  74. package/dist/src/store/hook/hook.types.d.ts +4 -0
  75. package/dist/src/store/hook/utils/driveHook.utils.d.ts +2 -0
  76. package/dist/src/store/index.d.ts +30 -0
  77. package/dist/src/store/jland/jland.d.ts +130 -0
  78. package/dist/src/store/jland/jland.types.d.ts +39 -0
  79. package/dist/src/store/jland/mapCreate.d.ts +21 -0
  80. package/dist/src/store/jland/mapCreate.mock.d.ts +82 -0
  81. package/dist/src/store/jland/mapList.d.ts +93 -0
  82. package/dist/src/store/jland/mapList.mock.d.ts +105 -0
  83. package/dist/src/store/jland/utils.d.ts +3 -0
  84. package/dist/src/store/magicPad/magicPad.d.ts +59 -0
  85. package/dist/src/store/magicPad/magicPad.mock.d.ts +2 -0
  86. package/dist/src/store/magicPad/magicPad.types.d.ts +15 -0
  87. package/dist/src/store/mediaLibrary/mediaLibrary.const.d.ts +7 -0
  88. package/dist/src/store/mediaLibrary/mediaLibrary.d.ts +454 -0
  89. package/dist/src/store/mediaLibrary/mediaLibrary.types.d.ts +24 -0
  90. package/dist/src/store/mediaLibrary/medialibrary.mock.d.ts +72 -0
  91. package/dist/src/store/model/model.d.ts +51 -0
  92. package/dist/src/store/model/model.mock.d.ts +144 -0
  93. package/dist/src/store/model/model.types.d.ts +5 -0
  94. package/dist/src/store/network/network.d.ts +29 -0
  95. package/dist/src/store/network/network.types.d.ts +10 -0
  96. package/dist/src/store/network/networkStatics.d.ts +5 -0
  97. package/dist/src/store/platform/platform.d.ts +20 -0
  98. package/dist/src/store/platform/platform.types.d.ts +11 -0
  99. package/dist/src/store/platform/platformConfig.d.ts +5 -0
  100. package/dist/src/store/share/share.actions.d.ts +16 -0
  101. package/dist/src/store/share/share.d.ts +29 -0
  102. package/dist/src/store/share/share.mock.d.ts +2 -0
  103. package/dist/src/store/share/share.slice.d.ts +5 -0
  104. package/dist/src/store/share/share.types.d.ts +9 -0
  105. package/dist/src/store/socialActions/socialActions.d.ts +49 -0
  106. package/dist/src/store/socialActions/socialActions.mock.d.ts +2 -0
  107. package/dist/src/store/studio/StudioAppsList.d.ts +108 -0
  108. package/dist/src/store/studio/appListMocks/appInWorkNoValue.d.ts +4 -0
  109. package/dist/src/store/studio/appListMocks/studioSuspendedTransformed.d.ts +2624 -0
  110. package/dist/src/store/studio/currentStudioApp.d.ts +54 -0
  111. package/dist/src/store/studio/mocks/erikBug/erikList.mock.d.ts +587 -0
  112. package/dist/src/store/studio/mocks/erikBug/getActiviteCE.mock.d.ts +1028 -0
  113. package/dist/src/store/studio/mocks/erikBug/getConge.mock.d.ts +3 -0
  114. package/dist/src/store/studio/mocks/erikBug/getCongeSaved.mock.d.ts +11 -0
  115. package/dist/src/store/studio/mocks/erikBug/getEmploi.mock.d.ts +1022 -0
  116. package/dist/src/store/studio/mocks/erikBug/getEmploiSaved.mock.d.ts +11 -0
  117. package/dist/src/store/studio/mocks/erikBug/getEquipment.mock.d.ts +1020 -0
  118. package/dist/src/store/studio/mocks/erikBug/getEquipmentSaved.mock.d.ts +11 -0
  119. package/dist/src/store/studio/mocks/erikBug/getIncident.mock.d.ts +3 -0
  120. package/dist/src/store/studio/mocks/erikBug/getIncidentSaved.mock.d.ts +11 -0
  121. package/dist/src/store/studio/mocks/erikBug/getTelephoneSaved.mock.d.ts +11 -0
  122. package/dist/src/store/studio/mocks/erikBug/getTrad.mock.d.ts +996 -0
  123. package/dist/src/store/studio/mocks/erikBug/taxoList.mock.d.ts +16 -0
  124. package/dist/src/store/studio/mocks/publishtoAndHtmlIssues/StudioList.d.ts +47 -0
  125. package/dist/src/store/studio/mocks/publishtoAndHtmlIssues/app1.d.ts +1016 -0
  126. package/dist/src/store/studio/studio.d.ts +172 -0
  127. package/dist/src/store/studio/studio.types.d.ts +572 -0
  128. package/dist/src/store/studio/studioAppsList.mock.d.ts +896 -0
  129. package/dist/src/store/studio/utils/appToXml.d.ts +6 -0
  130. package/dist/src/store/studio/utils/cloneStudioAppFromExistingApp.d.ts +2 -0
  131. package/dist/src/store/studio/utils/createNewStudioApp.d.ts +11 -0
  132. package/dist/src/store/studio/utils/generateNewFormField.d.ts +2 -0
  133. package/dist/src/store/studio/utils/installedToV2/fieldBuilders.d.ts +219 -0
  134. package/dist/src/store/studio/utils/installedToV2/installedToV2.d.ts +13 -0
  135. package/dist/src/store/studio/utils/installedToV2/mocks/allFieldsInstalled.mock.d.ts +1300 -0
  136. package/dist/src/store/studio/utils/installedToV2/mocks/allFieldsInstalled2.mock.d.ts +1274 -0
  137. package/dist/src/store/studio/utils/installedToV2/mocks/allFieldsV2-2.mock.d.ts +2 -0
  138. package/dist/src/store/studio/utils/installedToV2/mocks/allFieldsV2.mock.d.ts +2 -0
  139. package/dist/src/store/studio/utils/installedToV2/mocks/baseAppAudienceInstalled.mock.d.ts +860 -0
  140. package/dist/src/store/studio/utils/installedToV2/mocks/baseAppAudienceV2.mock.d.ts +2 -0
  141. package/dist/src/store/studio/utils/installedToV2/mocks/baseAppFluxInstalled.mock.d.ts +774 -0
  142. package/dist/src/store/studio/utils/installedToV2/mocks/baseAppFluxV2.mock.d.ts +2 -0
  143. package/dist/src/store/studio/utils/installedToV2/mocks/baseAppInstalled.mock.d.ts +782 -0
  144. package/dist/src/store/studio/utils/installedToV2/mocks/baseAppV2.mock.d.ts +2 -0
  145. package/dist/src/store/studio/utils/installedToV2/mocks/selectCommentModif.mock.d.ts +2 -0
  146. package/dist/src/store/studio/utils/installedToV2/mocks/selectCommentModifInstalled.mock.d.ts +787 -0
  147. package/dist/src/store/studio/utils/installedToV2/mocks/simpleFieldsInstalled.mock.d.ts +852 -0
  148. package/dist/src/store/studio/utils/installedToV2/mocks/simpleFieldsV2.mock.d.ts +2 -0
  149. package/dist/src/store/studio/utils/installedToV2/mocks/specialApp.mock.d.ts +834 -0
  150. package/dist/src/store/studio/utils/installedToV2/mocks/wrongFixedAndHtmlData.d.ts +1308 -0
  151. package/dist/src/store/studio/utils/migrateJson.d.ts +3 -0
  152. package/dist/src/store/studio/utils/serverAppsToStudioApps.d.ts +3 -0
  153. package/dist/src/store/studio/utils/studioApplication.mock.d.ts +32 -0
  154. package/dist/src/store/teamWork/teamWork.d.ts +46 -0
  155. package/dist/src/store/teamWork/teamWorkRTHandlers.d.ts +3 -0
  156. package/dist/src/store/teamWork/teamWorkRTHandlers.mock.d.ts +2 -0
  157. package/dist/src/store/teamWork/teamWorkToDo.d.ts +20 -0
  158. package/dist/src/store/teamWork/teamWorkToDo.mock.d.ts +2 -0
  159. package/dist/src/store/teamWork/types.d.ts +10 -0
  160. package/dist/src/store/tinymce/tinyMCEOptions.d.ts +5 -0
  161. package/dist/src/store/tinymce/tinymce.d.ts +52 -0
  162. package/dist/src/store/tinymce/tinymce.types.d.ts +10 -0
  163. package/dist/src/store/toast/toast.d.ts +35 -0
  164. package/dist/src/store/toast/toast.types.d.ts +19 -0
  165. package/dist/src/store/tvDisplay/channelsList.d.ts +36 -0
  166. package/dist/src/store/tvDisplay/channelsList.mock.d.ts +3 -0
  167. package/dist/src/store/tvDisplay/tvDisplay.d.ts +54 -0
  168. package/dist/src/store/tvDisplay/tvDisplay.types.d.ts +12 -0
  169. package/dist/src/store/tvDisplay/utils.d.ts +2 -0
  170. package/dist/src/store/tvDisplay/utils.mock.d.ts +5 -0
  171. package/dist/src/store/user/user.types.d.ts +4 -0
  172. package/dist/src/store/user/userCurrent.d.ts +21 -0
  173. package/dist/src/store/user/userCurrent.mock.d.ts +36 -0
  174. package/dist/src/store/wedoc/wedoc.actions.d.ts +85 -0
  175. package/dist/src/store/wedoc/wedoc.d.ts +165 -0
  176. package/dist/src/store/wedoc/wedoc.mock.d.ts +3 -0
  177. package/dist/src/store/wedoc/wedoc.slice.d.ts +8 -0
  178. package/dist/src/store/wedoc/wedoc.types.d.ts +22 -0
  179. package/dist/src/store/widget/definitions/widget-article-attachment.d.ts +3 -0
  180. package/dist/src/store/widget/definitions/widget-article-button.d.ts +16 -0
  181. package/dist/src/store/widget/definitions/widget-article-gallery.d.ts +3 -0
  182. package/dist/src/store/widget/definitions/widget-article-image.d.ts +3 -0
  183. package/dist/src/store/widget/definitions/widget-article-slider.d.ts +3 -0
  184. package/dist/src/store/widget/definitions/widget-article-text.d.ts +3 -0
  185. package/dist/src/store/widget/definitions/widget-article-title.d.ts +3 -0
  186. package/dist/src/store/widget/definitions/widget-calendar-calDav.d.ts +3 -0
  187. package/dist/src/store/widget/definitions/widget-check-list.d.ts +3 -0
  188. package/dist/src/store/widget/definitions/widget-color.d.ts +3 -0
  189. package/dist/src/store/widget/definitions/widget-contact-cardDav.d.ts +3 -0
  190. package/dist/src/store/widget/definitions/widget-datasource-table.d.ts +3 -0
  191. package/dist/src/store/widget/definitions/widget-emails-imap.d.ts +3 -0
  192. package/dist/src/store/widget/definitions/widget-excel-datasource-table.d.ts +3 -0
  193. package/dist/src/store/widget/definitions/widget-extension.d.ts +3 -0
  194. package/dist/src/store/widget/definitions/widget-lucca-absence.d.ts +3 -0
  195. package/dist/src/store/widget/definitions/widget-presence.d.ts +3 -0
  196. package/dist/src/store/widget/definitions/widget-quick-survey.d.ts +3 -0
  197. package/dist/src/store/widget/definitions/widget-user-profile.d.ts +3 -0
  198. package/dist/src/store/widget/definitions/widget-welcome.d.ts +3 -0
  199. package/dist/src/store/widget/utils.d.ts +1 -0
  200. package/dist/src/store/widget/widget.const.d.ts +4 -0
  201. package/dist/src/store/widget/widget.d.ts +135 -0
  202. package/dist/src/store/widget/widget.def.d.ts +2 -0
  203. package/dist/src/store/widget/widget.factory.d.ts +4 -0
  204. package/dist/src/store/widget/widget.slice.d.ts +98 -0
  205. package/dist/src/store/widget/widgetRTHandlers.d.ts +3 -0
  206. package/dist/src/store/widgetEditor/widgetEditor.d.ts +31 -0
  207. package/dist/src/store/widgetEditor/widgetEditor.types.d.ts +16 -0
  208. package/dist/src/tests-utils/mockStore.d.ts +172 -0
  209. package/dist/src/tests-utils/testsUtils.d.ts +38 -0
  210. package/dist/src/types/index.d.ts +15 -0
  211. package/dist/src/types/oldStudio.d.ts +165 -0
  212. package/dist/src/types/store.d.ts +48 -0
  213. package/dist/src/types/utils.d.ts +18 -0
  214. package/dist/src/utils/errors.utils.d.ts +2 -0
  215. package/package.json +23 -22
  216. package/CHANGELOG.md +0 -43
  217. package/README-internal.md +0 -84
  218. package/dist/cjs.js +0 -6829
  219. package/dist/cjs.js.map +0 -1
  220. package/dist/esm.js +0 -6744
  221. package/dist/esm.js.map +0 -1
  222. package/dist/types.d.ts +0 -6401
  223. package/rollup.config.mjs +0 -47
  224. package/tsconfig.json +0 -55
@@ -0,0 +1,144 @@
1
+ export declare const mpArticle: {
2
+ type: string;
3
+ mainType: string;
4
+ label: string;
5
+ icon: string;
6
+ color: string;
7
+ fields: {
8
+ dateCreation: {
9
+ name: string;
10
+ label: string;
11
+ description: string;
12
+ mandatory: boolean;
13
+ widget: {
14
+ type: "date";
15
+ format: string;
16
+ };
17
+ };
18
+ dateModified: {
19
+ name: string;
20
+ label: string;
21
+ description: string;
22
+ mandatory: boolean;
23
+ widget: {
24
+ type: "date";
25
+ format: string;
26
+ };
27
+ };
28
+ title: {
29
+ name: string;
30
+ label: string;
31
+ description: string;
32
+ mandatory: boolean;
33
+ widget: {
34
+ type: "text";
35
+ };
36
+ };
37
+ description: {
38
+ name: string;
39
+ label: string;
40
+ description: string;
41
+ mandatory: boolean;
42
+ widget: {
43
+ type: "textarea";
44
+ params: {
45
+ class: "mceEditor";
46
+ mention: "1";
47
+ };
48
+ };
49
+ };
50
+ processContext: {
51
+ name: string;
52
+ label: string;
53
+ description: string;
54
+ mandatory: boolean;
55
+ widget: {
56
+ type: "transient";
57
+ };
58
+ };
59
+ tags: {
60
+ name: string;
61
+ label: string;
62
+ description: string;
63
+ mandatory: boolean;
64
+ widget: {
65
+ type: "taxonomy";
66
+ params: {
67
+ idTaxonomy: string;
68
+ };
69
+ };
70
+ };
71
+ };
72
+ };
73
+ export declare const mpMedia: {
74
+ type: "mpMedia";
75
+ mainType: string;
76
+ label: string;
77
+ icon: string;
78
+ color: string;
79
+ fields: {
80
+ dateCreation: {
81
+ name: string;
82
+ label: string;
83
+ description: string;
84
+ mandatory: boolean;
85
+ widget: {
86
+ type: "date";
87
+ format: string;
88
+ };
89
+ };
90
+ dateModified: {
91
+ name: string;
92
+ label: string;
93
+ description: string;
94
+ mandatory: boolean;
95
+ widget: {
96
+ type: "date";
97
+ format: string;
98
+ };
99
+ };
100
+ title: {
101
+ name: string;
102
+ label: string;
103
+ description: string;
104
+ mandatory: boolean;
105
+ widget: {
106
+ type: "text";
107
+ };
108
+ };
109
+ description: {
110
+ name: string;
111
+ label: string;
112
+ description: string;
113
+ mandatory: boolean;
114
+ widget: {
115
+ type: "textarea";
116
+ params: {
117
+ class: "mceEditor";
118
+ mention: "1";
119
+ };
120
+ };
121
+ };
122
+ processContext: {
123
+ name: string;
124
+ label: string;
125
+ description: string;
126
+ mandatory: boolean;
127
+ widget: {
128
+ type: "transient";
129
+ };
130
+ };
131
+ tags: {
132
+ name: string;
133
+ label: string;
134
+ description: string;
135
+ mandatory: boolean;
136
+ widget: {
137
+ type: "taxonomy";
138
+ params: {
139
+ idTaxonomy: string;
140
+ };
141
+ };
142
+ };
143
+ };
144
+ };
@@ -0,0 +1,5 @@
1
+ import { EntityState } from '@reduxjs/toolkit';
2
+ import { Model } from 'jamespot-user-api';
3
+ export type ModelRootState = {
4
+ models: EntityState<Model, string>;
5
+ };
@@ -0,0 +1,29 @@
1
+ import { RootState } from '../../types/store';
2
+ export declare const Network: {
3
+ slice: {
4
+ name: "network";
5
+ reducer: import('@reduxjs/toolkit').Reducer<{
6
+ statics: import('./network.types').NetworkStaticsState;
7
+ }, import('@reduxjs/toolkit').UnknownAction, Partial<{
8
+ statics: import('./network.types').NetworkStaticsState | undefined;
9
+ }>>;
10
+ };
11
+ actions: {
12
+ initNetworkStatics: import('@reduxjs/toolkit').ActionCreatorWithPayload<import('./network.types').NetworkStaticsState, "statics/initNetworkStatics">;
13
+ };
14
+ selectors: {
15
+ selectNetworkStatics: (state: RootState) => import('./network.types').NetworkStaticsState;
16
+ selectNetworkPublic: (state: RootState) => {
17
+ type: string;
18
+ uri: string;
19
+ mainType: string;
20
+ title: string;
21
+ } | undefined;
22
+ selectNetworkMe: (state: RootState) => {
23
+ type: string;
24
+ uri: string;
25
+ mainType: string;
26
+ title: string;
27
+ } | undefined;
28
+ };
29
+ };
@@ -0,0 +1,10 @@
1
+ import { NetworkType } from 'jamespot-user-api';
2
+ export type NetworkStaticsState = {
3
+ networkPublic?: NetworkType;
4
+ networkMe?: NetworkType;
5
+ };
6
+ export type NetworkRootState = {
7
+ network: {
8
+ statics: NetworkStaticsState;
9
+ };
10
+ };
@@ -0,0 +1,5 @@
1
+ import { PayloadAction } from '@reduxjs/toolkit';
2
+ import { NetworkStaticsState } from './network.types';
3
+ export declare const NetworkStaticsSlice: import('@reduxjs/toolkit').Slice<NetworkStaticsState, {
4
+ initNetworkStatics: (_: import('@reduxjs/toolkit').WritableDraft<NetworkStaticsState>, { payload }: PayloadAction<NetworkStaticsState>) => NetworkStaticsState;
5
+ }, "statics", "statics", import('@reduxjs/toolkit').SliceSelectors<NetworkStaticsState>>;
@@ -0,0 +1,20 @@
1
+ import { RootState } from '../../types/store';
2
+ export declare const Platform: {
3
+ slice: {
4
+ name: "platform";
5
+ reducer: import('@reduxjs/toolkit').Reducer<{
6
+ config: import('./platform.types').PlatformConfigState;
7
+ }, import('@reduxjs/toolkit').UnknownAction, Partial<{
8
+ config: import('./platform.types').PlatformConfigState | undefined;
9
+ }>>;
10
+ };
11
+ actions: {
12
+ initPlatformConfig: import('@reduxjs/toolkit').ActionCreatorWithPayload<import('./platform.types').PlatformConfigState, "config/initPlatformConfig">;
13
+ };
14
+ selectors: {
15
+ selectPlatformConfig: (state: RootState) => import('./platform.types').PlatformConfigState;
16
+ selectUserHighlightFields: (state: RootState) => string[] | undefined;
17
+ selectUserAccountStatus: (state: RootState) => 0 | 1;
18
+ selectUrlBase: (state: RootState) => string | undefined;
19
+ };
20
+ };
@@ -0,0 +1,11 @@
1
+ export type PlatformConfigState = {
2
+ userHighlightFields?: string[];
3
+ userAccountStatus: 0 | 1;
4
+ urlBase?: string;
5
+ sendAlert: 0 | 1;
6
+ };
7
+ export type PlatformRootState = {
8
+ platform: {
9
+ config: PlatformConfigState;
10
+ };
11
+ };
@@ -0,0 +1,5 @@
1
+ import { PayloadAction } from '@reduxjs/toolkit';
2
+ import { PlatformConfigState } from './platform.types';
3
+ export declare const PlatformConfigSlice: import('@reduxjs/toolkit').Slice<PlatformConfigState, {
4
+ initPlatformConfig: (_: import('@reduxjs/toolkit').WritableDraft<PlatformConfigState>, { payload }: PayloadAction<PlatformConfigState>) => PlatformConfigState;
5
+ }, "config", "config", import('@reduxjs/toolkit').SliceSelectors<PlatformConfigState>>;
@@ -0,0 +1,16 @@
1
+ import { ApiWrapper, jUserLittle } from 'jamespot-user-api';
2
+ export declare const fetchRequest: import('@reduxjs/toolkit').AsyncThunk<ApiWrapper<jUserLittle[], import('jamespot-user-api').BaseMessages>, {
3
+ uri: string;
4
+ idUser?: number;
5
+ }, {
6
+ dispatch: import('../..').AppDispatch;
7
+ state: import('../..').RootState;
8
+ extra: {
9
+ jApi: import('jamespot-user-api').JamespotUserApi;
10
+ };
11
+ rejectValue?: unknown;
12
+ serializedErrorType?: unknown;
13
+ pendingMeta?: unknown;
14
+ fulfilledMeta?: unknown;
15
+ rejectedMeta?: unknown;
16
+ }>;
@@ -0,0 +1,29 @@
1
+ import { RootState } from '../../types/store';
2
+ export declare const Share: {
3
+ slice: import('@reduxjs/toolkit').Slice<import('./share.types').ShareAppState, {
4
+ remove: (state: import('@reduxjs/toolkit').WritableDraft<import('./share.types').ShareAppState>, action: import('@reduxjs/toolkit').PayloadAction<number>) => void;
5
+ }, "share", "share", import('@reduxjs/toolkit').SliceSelectors<import('./share.types').ShareAppState>>;
6
+ selectors: {
7
+ requests: (state: RootState) => {
8
+ loading: "idle" | "pending";
9
+ entities: import('jamespot-user-api').jUserLittle[];
10
+ };
11
+ };
12
+ actions: {
13
+ fetchRequest: import('@reduxjs/toolkit').AsyncThunk<import('jamespot-user-api').ApiWrapper<import('jamespot-user-api').jUserLittle[], import('jamespot-user-api').BaseMessages>, {
14
+ uri: string;
15
+ idUser?: number;
16
+ }, {
17
+ dispatch: import('../..').AppDispatch;
18
+ state: RootState;
19
+ extra: {
20
+ jApi: import('jamespot-user-api').JamespotUserApi;
21
+ };
22
+ rejectValue?: unknown;
23
+ serializedErrorType?: unknown;
24
+ pendingMeta?: unknown;
25
+ fulfilledMeta?: unknown;
26
+ rejectedMeta?: unknown;
27
+ }>;
28
+ };
29
+ };
@@ -0,0 +1,2 @@
1
+ import { ApiWrapper, jUserLittle } from 'jamespot-user-api';
2
+ export declare const getObjectAccessRequest: ApiWrapper<jUserLittle[]>;
@@ -0,0 +1,5 @@
1
+ import { PayloadAction } from '@reduxjs/toolkit';
2
+ import { ShareAppState } from './share.types';
3
+ export declare const ShareSlice: import('@reduxjs/toolkit').Slice<ShareAppState, {
4
+ remove: (state: import('@reduxjs/toolkit').WritableDraft<ShareAppState>, action: PayloadAction<number>) => void;
5
+ }, "share", "share", import('@reduxjs/toolkit').SliceSelectors<ShareAppState>>;
@@ -0,0 +1,9 @@
1
+ import { jUserLittle } from 'jamespot-user-api';
2
+ export type ShareRootState = {
3
+ share: ShareAppState;
4
+ };
5
+ export type ShareAppState = {
6
+ entities: jUserLittle[];
7
+ nbEntities: number;
8
+ loading: 'idle' | 'pending';
9
+ };
@@ -0,0 +1,49 @@
1
+ import { EntityState } from '@reduxjs/toolkit';
2
+ import { SocialAction } from 'jamespot-user-api';
3
+ type RootState = {
4
+ entities: {
5
+ socialActions: EntityState<SocialAction, string>;
6
+ };
7
+ };
8
+ export declare const SocialActions: {
9
+ slice: import('@reduxjs/toolkit').Slice<EntityState<SocialAction, string>, {
10
+ addOne: {
11
+ <S extends EntityState<SocialAction, string> | import('@reduxjs/toolkit').WritableDraft<EntityState<SocialAction, string>>>(state: boolean extends (S extends never ? true : false) ? EntityState<SocialAction, string> : S, entity: SocialAction): S;
12
+ <S extends EntityState<SocialAction, string> | import('@reduxjs/toolkit').WritableDraft<EntityState<SocialAction, string>>>(state: boolean extends (S extends never ? true : false) ? EntityState<SocialAction, string> : S, action: {
13
+ payload: SocialAction;
14
+ type: string;
15
+ }): S;
16
+ };
17
+ addMany: {
18
+ <S extends EntityState<SocialAction, string> | import('@reduxjs/toolkit').WritableDraft<EntityState<SocialAction, string>>>(state: boolean extends (S extends never ? true : false) ? EntityState<SocialAction, string> : S, entities: Record<string, SocialAction> | readonly SocialAction[]): S;
19
+ <S extends EntityState<SocialAction, string> | import('@reduxjs/toolkit').WritableDraft<EntityState<SocialAction, string>>>(state: boolean extends (S extends never ? true : false) ? EntityState<SocialAction, string> : S, entities: {
20
+ payload: Record<string, SocialAction> | readonly SocialAction[];
21
+ type: string;
22
+ }): S;
23
+ };
24
+ setAll: {
25
+ <S extends EntityState<SocialAction, string> | import('@reduxjs/toolkit').WritableDraft<EntityState<SocialAction, string>>>(state: boolean extends (S extends never ? true : false) ? EntityState<SocialAction, string> : S, entities: Record<string, SocialAction> | readonly SocialAction[]): S;
26
+ <S extends EntityState<SocialAction, string> | import('@reduxjs/toolkit').WritableDraft<EntityState<SocialAction, string>>>(state: boolean extends (S extends never ? true : false) ? EntityState<SocialAction, string> : S, entities: {
27
+ payload: Record<string, SocialAction> | readonly SocialAction[];
28
+ type: string;
29
+ }): S;
30
+ };
31
+ clear: <S extends EntityState<SocialAction, string> | import('@reduxjs/toolkit').WritableDraft<EntityState<SocialAction, string>>>(state: boolean extends (S extends never ? true : false) ? EntityState<SocialAction, string> : S) => S;
32
+ updateOne: {
33
+ <S extends EntityState<SocialAction, string> | import('@reduxjs/toolkit').WritableDraft<EntityState<SocialAction, string>>>(state: boolean extends (S extends never ? true : false) ? EntityState<SocialAction, string> : S, update: import('@reduxjs/toolkit').Update<SocialAction, string>): S;
34
+ <S extends EntityState<SocialAction, string> | import('@reduxjs/toolkit').WritableDraft<EntityState<SocialAction, string>>>(state: boolean extends (S extends never ? true : false) ? EntityState<SocialAction, string> : S, update: {
35
+ payload: import('@reduxjs/toolkit').Update<SocialAction, string>;
36
+ type: string;
37
+ }): S;
38
+ };
39
+ }, "socialActions", "socialActions", import('@reduxjs/toolkit').SliceSelectors<EntityState<SocialAction, string>>>;
40
+ actions: {
41
+ addOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<SocialAction, "socialActions/addOne">;
42
+ addMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<Record<string, SocialAction> | readonly SocialAction[], "socialActions/addMany">;
43
+ setAll: import('@reduxjs/toolkit').ActionCreatorWithPayload<Record<string, SocialAction> | readonly SocialAction[], "socialActions/setAll">;
44
+ clear: import('@reduxjs/toolkit').ActionCreatorWithoutPayload<"socialActions/clear">;
45
+ updateOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<import('@reduxjs/toolkit').Update<SocialAction, string>, "socialActions/updateOne">;
46
+ };
47
+ selectors: import('@reduxjs/toolkit').EntitySelectors<SocialAction, RootState, string>;
48
+ };
49
+ export {};
@@ -0,0 +1,2 @@
1
+ import { SocialAction } from 'jamespot-user-api';
2
+ export declare const sociallike: SocialAction;
@@ -0,0 +1,108 @@
1
+ import { AppStatusType, StudioApplication, StudioAppsListState } from './studio.types';
2
+ import { IntlFormatters } from 'react-intl';
3
+ import { BaseMessages } from 'jamespot-user-api';
4
+ export declare const fetchStudioAppsList: import('@reduxjs/toolkit').AsyncThunk<StudioApplication[], IntlFormatters<unknown>, {
5
+ dispatch: import('../..').AppDispatch;
6
+ state: import('../..').RootState;
7
+ extra: {
8
+ jApi: import('jamespot-user-api').JamespotUserApi;
9
+ };
10
+ rejectValue?: unknown;
11
+ serializedErrorType?: unknown;
12
+ pendingMeta?: unknown;
13
+ fulfilledMeta?: unknown;
14
+ rejectedMeta?: unknown;
15
+ }>;
16
+ export declare const createNewStudioApp: import('@reduxjs/toolkit').AsyncThunk<StudioApplication, {
17
+ appName: string;
18
+ callback?: () => void;
19
+ }, {
20
+ dispatch: import('../..').AppDispatch;
21
+ state: import('../..').RootState;
22
+ extra: {
23
+ jApi: import('jamespot-user-api').JamespotUserApi;
24
+ };
25
+ rejectValue?: unknown;
26
+ serializedErrorType?: unknown;
27
+ pendingMeta?: unknown;
28
+ fulfilledMeta?: unknown;
29
+ rejectedMeta?: unknown;
30
+ }>;
31
+ export declare const deleteStudioApp: import('@reduxjs/toolkit').AsyncThunk<BaseMessages, {
32
+ idApp: string;
33
+ status: AppStatusType;
34
+ }, {
35
+ dispatch: import('../..').AppDispatch;
36
+ state: import('../..').RootState;
37
+ extra: {
38
+ jApi: import('jamespot-user-api').JamespotUserApi;
39
+ };
40
+ rejectValue?: unknown;
41
+ serializedErrorType?: unknown;
42
+ pendingMeta?: unknown;
43
+ fulfilledMeta?: unknown;
44
+ rejectedMeta?: unknown;
45
+ }>;
46
+ export declare const suspendStudioApp: import('@reduxjs/toolkit').AsyncThunk<void, {
47
+ idApp: string;
48
+ }, {
49
+ dispatch: import('../..').AppDispatch;
50
+ state: import('../..').RootState;
51
+ extra: {
52
+ jApi: import('jamespot-user-api').JamespotUserApi;
53
+ };
54
+ rejectValue?: unknown;
55
+ serializedErrorType?: unknown;
56
+ pendingMeta?: unknown;
57
+ fulfilledMeta?: unknown;
58
+ rejectedMeta?: unknown;
59
+ }>;
60
+ export declare const restartStudioApp: import('@reduxjs/toolkit').AsyncThunk<void, {
61
+ idApp: string;
62
+ }, {
63
+ dispatch: import('../..').AppDispatch;
64
+ state: import('../..').RootState;
65
+ extra: {
66
+ jApi: import('jamespot-user-api').JamespotUserApi;
67
+ };
68
+ rejectValue?: unknown;
69
+ serializedErrorType?: unknown;
70
+ pendingMeta?: unknown;
71
+ fulfilledMeta?: unknown;
72
+ rejectedMeta?: unknown;
73
+ }>;
74
+ export declare const cloneStudioApp: import('@reduxjs/toolkit').AsyncThunk<StudioApplication, {
75
+ idApp: string;
76
+ inWork?: boolean;
77
+ }, {
78
+ dispatch: import('../..').AppDispatch;
79
+ state: import('../..').RootState;
80
+ extra: {
81
+ jApi: import('jamespot-user-api').JamespotUserApi;
82
+ };
83
+ rejectValue?: unknown;
84
+ serializedErrorType?: unknown;
85
+ pendingMeta?: unknown;
86
+ fulfilledMeta?: unknown;
87
+ rejectedMeta?: unknown;
88
+ }>;
89
+ export declare const createInWorkStudioApp: import('@reduxjs/toolkit').AsyncThunk<StudioApplication, {
90
+ idApp: string;
91
+ }, {
92
+ dispatch: import('../..').AppDispatch;
93
+ state: import('../..').RootState;
94
+ extra: {
95
+ jApi: import('jamespot-user-api').JamespotUserApi;
96
+ };
97
+ rejectValue?: unknown;
98
+ serializedErrorType?: unknown;
99
+ pendingMeta?: unknown;
100
+ fulfilledMeta?: unknown;
101
+ rejectedMeta?: unknown;
102
+ }>;
103
+ export declare const StudioAppsListSlice: import('@reduxjs/toolkit').Slice<StudioAppsListState, {
104
+ setAppsList: (state: import('@reduxjs/toolkit').WritableDraft<StudioAppsListState>, action: {
105
+ payload: any;
106
+ type: string;
107
+ }) => void;
108
+ }, "studioAppsList", "studioAppsList", import('@reduxjs/toolkit').SliceSelectors<StudioAppsListState>>;
@@ -0,0 +1,4 @@
1
+ import { ApiWrapper } from 'jamespot-user-api';
2
+ import { StudioAppBase } from '../studio.types';
3
+ export declare const studioAppsListInworkNoValueMock: ApiWrapper<StudioAppBase[]>;
4
+ export declare const applicationGetMock538991InWorkNoValue: ApiWrapper<StudioAppBase>;