jamespot-front-business 1.3.11 → 1.3.13
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/jamespot-front-business.cjs +113 -0
- package/dist/jamespot-front-business.js +5046 -46
- package/dist/src/store/bookmark/bookmark.d.ts +1 -5
- package/dist/src/store/bookmark/bookmarkList.d.ts +2 -6
- package/dist/src/store/calendar/calendar.d.ts +3 -345
- package/dist/src/store/calendar/calendar.types.d.ts +2 -2
- package/dist/src/store/calendar/calendarEvents.d.ts +4 -118
- package/dist/src/store/calendar/calendarEvents.mock.d.ts +2 -2
- package/dist/src/store/calendar/calendarRTHandlers.mock.d.ts +2 -2
- package/dist/src/store/hook/hook.d.ts +3 -3
- package/dist/src/store/network/network.d.ts +2 -2
- package/dist/src/store/tinymce/tinymce.d.ts +1 -1
- package/dist/src/store/wedoc/wedoc.actions.d.ts +16 -16
- package/dist/src/store/wedoc/wedoc.d.ts +32 -32
- package/dist/src/store/widget/widget.d.ts +1 -1
- package/dist/src/store/widget/widget.slice.d.ts +2 -1
- package/dist/src/store/widgetEditor/widgetEditor.types.d.ts +2 -1
- package/dist/src/types/oldStudio.d.ts +4 -4
- package/jest.config.ts +26 -0
- package/package.json +16 -13
- package/dist/jamespot-front-business.mjs +0 -5113
|
@@ -265,11 +265,7 @@ export declare const Bookmark: {
|
|
|
265
265
|
bookmarkUrl?: string | null | undefined;
|
|
266
266
|
bookmarkLabel?: string | undefined;
|
|
267
267
|
bookmarkMeta?: string | null | undefined;
|
|
268
|
-
} | {
|
|
269
|
-
targetId: number;
|
|
270
|
-
targetType: string;
|
|
271
|
-
format?: "raw-list" | "list" | undefined;
|
|
272
|
-
}) & {
|
|
268
|
+
} | import('jamespot-user-api').BookmarkLink) & {
|
|
273
269
|
requestId?: string | undefined;
|
|
274
270
|
}, {
|
|
275
271
|
dispatch: import('../..').AppDispatch;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
-
import { ApiPagingResults, ApiWrapper, BaseMessagesOne, BookmarkRawList } from 'jamespot-user-api';
|
|
2
|
+
import { ApiPagingResults, ApiWrapper, BaseMessagesOne, BookmarkLink, BookmarkRawList } from 'jamespot-user-api';
|
|
3
3
|
import { bookmarkListState } from './bookmark.types';
|
|
4
4
|
export declare const fetchBookmark: import('@reduxjs/toolkit').AsyncThunk<ApiPagingResults<{
|
|
5
5
|
id: number;
|
|
@@ -130,11 +130,7 @@ export declare const addBookmark: import('@reduxjs/toolkit').AsyncThunk<ApiWrapp
|
|
|
130
130
|
bookmarkUrl?: string | null | undefined;
|
|
131
131
|
bookmarkLabel?: string | undefined;
|
|
132
132
|
bookmarkMeta?: string | null | undefined;
|
|
133
|
-
} | {
|
|
134
|
-
targetId: number;
|
|
135
|
-
targetType: string;
|
|
136
|
-
format?: "raw-list" | "list" | undefined;
|
|
137
|
-
}) & {
|
|
133
|
+
} | BookmarkLink) & {
|
|
138
134
|
requestId?: string | undefined;
|
|
139
135
|
}, {
|
|
140
136
|
dispatch: import('../..').AppDispatch;
|
|
@@ -9,355 +9,13 @@ export declare const Calendar: {
|
|
|
9
9
|
}>>;
|
|
10
10
|
};
|
|
11
11
|
actions: {
|
|
12
|
-
addEvent: import('@reduxjs/toolkit').ActionCreatorWithPayload<import('jamespot-user-api').CalendarEventWithExtensions<
|
|
13
|
-
type: string;
|
|
14
|
-
uri: string;
|
|
15
|
-
id: number;
|
|
16
|
-
mainType: string;
|
|
17
|
-
dateCreation: string;
|
|
18
|
-
dateModified: string;
|
|
19
|
-
title: string;
|
|
20
|
-
_url: string;
|
|
21
|
-
_user: Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
22
|
-
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
23
|
-
dateCreation: string;
|
|
24
|
-
dateModified: string;
|
|
25
|
-
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
26
|
-
};
|
|
27
|
-
_right: import('jamespot-user-api').Rights;
|
|
28
|
-
_audience: ((Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
29
|
-
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
30
|
-
dateCreation: string;
|
|
31
|
-
dateModified: string;
|
|
32
|
-
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
33
|
-
}) | import('jamespot-user-api').jGroupLittle | import('jamespot-user-api').jFolderLittle)[];
|
|
34
|
-
_attachedFiles: import('jamespot-user-api').jFileLittle[];
|
|
35
|
-
image?: import('jamespot-user-api').ImageSize | undefined;
|
|
36
|
-
place?: string | undefined;
|
|
37
|
-
description?: string | null | undefined;
|
|
38
|
-
backgroundColor?: string | null | undefined;
|
|
39
|
-
textColor?: string | undefined;
|
|
40
|
-
articleWidgets?: import('jamespot-user-api').WidgetWrapperGeneric<import('jamespot-user-api').CombinedWidgetType>[] | undefined;
|
|
41
|
-
metas?: {
|
|
42
|
-
object?: import('jamespot-user-api').jObjectLittle | undefined;
|
|
43
|
-
uri?: string | undefined;
|
|
44
|
-
"og:type"?: "jamespot" | undefined;
|
|
45
|
-
} | {
|
|
46
|
-
url?: string | undefined;
|
|
47
|
-
title?: string | undefined;
|
|
48
|
-
description?: string | undefined;
|
|
49
|
-
"og:image"?: string | undefined;
|
|
50
|
-
"og:video:height"?: string | undefined;
|
|
51
|
-
"og:video:width"?: string | undefined;
|
|
52
|
-
"og:video:url"?: string | undefined;
|
|
53
|
-
"og:type"?: "youtube" | undefined;
|
|
54
|
-
} | {
|
|
55
|
-
url?: string | undefined;
|
|
56
|
-
uri?: string | undefined;
|
|
57
|
-
title?: string | undefined;
|
|
58
|
-
description?: string | undefined;
|
|
59
|
-
"og:image"?: string | undefined;
|
|
60
|
-
"og:title"?: string | undefined;
|
|
61
|
-
"og:url"?: string | undefined;
|
|
62
|
-
"og:video"?: string | undefined;
|
|
63
|
-
"og:description"?: string | undefined;
|
|
64
|
-
"og:video:height"?: string | undefined;
|
|
65
|
-
"og:video:width"?: string | undefined;
|
|
66
|
-
"og:video:url"?: string | undefined;
|
|
67
|
-
"og:type"?: string | undefined;
|
|
68
|
-
count?: number | undefined;
|
|
69
|
-
} | undefined;
|
|
70
|
-
tags?: {
|
|
71
|
-
type: string;
|
|
72
|
-
class: string;
|
|
73
|
-
uri: string;
|
|
74
|
-
name: string;
|
|
75
|
-
id: string;
|
|
76
|
-
mainType: string;
|
|
77
|
-
title: string;
|
|
78
|
-
label: string;
|
|
79
|
-
shortUri: string;
|
|
80
|
-
cssClass: string;
|
|
81
|
-
cssColor: string;
|
|
82
|
-
}[] | undefined;
|
|
83
|
-
processContext?: null | undefined;
|
|
84
|
-
_transientCtx?: null | undefined;
|
|
85
|
-
uiObjectLink?: import('jamespot-user-api').jObjectLittle[] | undefined;
|
|
86
|
-
dateEnd?: string | undefined;
|
|
87
|
-
dateStart?: string | undefined;
|
|
88
|
-
address?: string | undefined;
|
|
89
|
-
noGestion?: boolean | null | undefined;
|
|
90
|
-
allDay?: boolean | undefined;
|
|
91
|
-
socialEventUseCeiling?: boolean | undefined;
|
|
92
|
-
socialEventCeiling?: number | null | undefined;
|
|
93
|
-
urlGestion?: string | undefined;
|
|
94
|
-
webinarUrlForGuests?: string | undefined;
|
|
95
|
-
qrCodeValue?: string | undefined;
|
|
96
|
-
agenda?: string | undefined;
|
|
97
|
-
report?: string | undefined;
|
|
98
|
-
reportFile?: import('jamespot-user-api').jFileLittle | null | undefined;
|
|
99
|
-
webinarUrl?: string | undefined;
|
|
100
|
-
visioConnectUrl?: string | undefined;
|
|
101
|
-
} | import('jamespot-user-api').jRecurringEventOccurrenceViewTruthy | import('jamespot-user-api').Merge<import('jamespot-user-api').Merge<{
|
|
102
|
-
dateModified: null;
|
|
103
|
-
dateCreation: null;
|
|
104
|
-
id: -1;
|
|
105
|
-
uri: "";
|
|
106
|
-
title: "";
|
|
107
|
-
_url: "";
|
|
108
|
-
type: "recurringEventOccurrence";
|
|
109
|
-
mainType: import('jamespot-user-api').jRecurringEventOccurrenceLittleTruthy["mainType"];
|
|
110
|
-
dateStart: import('jamespot-user-api').jRecurringEventOccurrenceLittleTruthy["dateStart"];
|
|
111
|
-
dateEnd: import('jamespot-user-api').jRecurringEventOccurrenceLittleTruthy["dateEnd"];
|
|
112
|
-
}, {
|
|
113
|
-
title: "";
|
|
114
|
-
description: "";
|
|
115
|
-
image: null;
|
|
116
|
-
articleWidgets: null;
|
|
117
|
-
_user: never;
|
|
118
|
-
_audience: import('jamespot-user-api').jArticleList["_audience"];
|
|
119
|
-
_right: never;
|
|
120
|
-
}>, {
|
|
121
|
-
_attachedFiles: null;
|
|
122
|
-
tags: null;
|
|
123
|
-
processContext: null;
|
|
124
|
-
_transientCtx: null;
|
|
125
|
-
uiObjectLink: null;
|
|
126
|
-
}>, ["socialEventRecord", "recurringEventRecord"]>, "events/addEvent">;
|
|
12
|
+
addEvent: import('@reduxjs/toolkit').ActionCreatorWithPayload<import('jamespot-user-api').CalendarEventWithExtensions<import('jamespot-user-api').CalendarEventView, ["socialEventRecord", "recurringEventRecord"]>, "events/addEvent">;
|
|
127
13
|
removeEvent: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
128
14
|
uri: string;
|
|
129
15
|
}, "events/removeEvent">;
|
|
130
|
-
updateEvent: import('@reduxjs/toolkit').ActionCreatorWithPayload<import('jamespot-user-api').CalendarEventWithExtensions<
|
|
131
|
-
type: string;
|
|
132
|
-
uri: string;
|
|
133
|
-
id: number;
|
|
134
|
-
mainType: string;
|
|
135
|
-
dateCreation: string;
|
|
136
|
-
dateModified: string;
|
|
137
|
-
title: string;
|
|
138
|
-
_url: string;
|
|
139
|
-
_user: Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
140
|
-
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
141
|
-
dateCreation: string;
|
|
142
|
-
dateModified: string;
|
|
143
|
-
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
144
|
-
};
|
|
145
|
-
_right: import('jamespot-user-api').Rights;
|
|
146
|
-
_audience: ((Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
147
|
-
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
148
|
-
dateCreation: string;
|
|
149
|
-
dateModified: string;
|
|
150
|
-
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
151
|
-
}) | import('jamespot-user-api').jGroupLittle | import('jamespot-user-api').jFolderLittle)[];
|
|
152
|
-
_attachedFiles: import('jamespot-user-api').jFileLittle[];
|
|
153
|
-
image?: import('jamespot-user-api').ImageSize | undefined;
|
|
154
|
-
place?: string | undefined;
|
|
155
|
-
description?: string | null | undefined;
|
|
156
|
-
backgroundColor?: string | null | undefined;
|
|
157
|
-
textColor?: string | undefined;
|
|
158
|
-
articleWidgets?: import('jamespot-user-api').WidgetWrapperGeneric<import('jamespot-user-api').CombinedWidgetType>[] | undefined;
|
|
159
|
-
metas?: {
|
|
160
|
-
object?: import('jamespot-user-api').jObjectLittle | undefined;
|
|
161
|
-
uri?: string | undefined;
|
|
162
|
-
"og:type"?: "jamespot" | undefined;
|
|
163
|
-
} | {
|
|
164
|
-
url?: string | undefined;
|
|
165
|
-
title?: string | undefined;
|
|
166
|
-
description?: string | undefined;
|
|
167
|
-
"og:image"?: string | undefined;
|
|
168
|
-
"og:video:height"?: string | undefined;
|
|
169
|
-
"og:video:width"?: string | undefined;
|
|
170
|
-
"og:video:url"?: string | undefined;
|
|
171
|
-
"og:type"?: "youtube" | undefined;
|
|
172
|
-
} | {
|
|
173
|
-
url?: string | undefined;
|
|
174
|
-
uri?: string | undefined;
|
|
175
|
-
title?: string | undefined;
|
|
176
|
-
description?: string | undefined;
|
|
177
|
-
"og:image"?: string | undefined;
|
|
178
|
-
"og:title"?: string | undefined;
|
|
179
|
-
"og:url"?: string | undefined;
|
|
180
|
-
"og:video"?: string | undefined;
|
|
181
|
-
"og:description"?: string | undefined;
|
|
182
|
-
"og:video:height"?: string | undefined;
|
|
183
|
-
"og:video:width"?: string | undefined;
|
|
184
|
-
"og:video:url"?: string | undefined;
|
|
185
|
-
"og:type"?: string | undefined;
|
|
186
|
-
count?: number | undefined;
|
|
187
|
-
} | undefined;
|
|
188
|
-
tags?: {
|
|
189
|
-
type: string;
|
|
190
|
-
class: string;
|
|
191
|
-
uri: string;
|
|
192
|
-
name: string;
|
|
193
|
-
id: string;
|
|
194
|
-
mainType: string;
|
|
195
|
-
title: string;
|
|
196
|
-
label: string;
|
|
197
|
-
shortUri: string;
|
|
198
|
-
cssClass: string;
|
|
199
|
-
cssColor: string;
|
|
200
|
-
}[] | undefined;
|
|
201
|
-
processContext?: null | undefined;
|
|
202
|
-
_transientCtx?: null | undefined;
|
|
203
|
-
uiObjectLink?: import('jamespot-user-api').jObjectLittle[] | undefined;
|
|
204
|
-
dateEnd?: string | undefined;
|
|
205
|
-
dateStart?: string | undefined;
|
|
206
|
-
address?: string | undefined;
|
|
207
|
-
noGestion?: boolean | null | undefined;
|
|
208
|
-
allDay?: boolean | undefined;
|
|
209
|
-
socialEventUseCeiling?: boolean | undefined;
|
|
210
|
-
socialEventCeiling?: number | null | undefined;
|
|
211
|
-
urlGestion?: string | undefined;
|
|
212
|
-
webinarUrlForGuests?: string | undefined;
|
|
213
|
-
qrCodeValue?: string | undefined;
|
|
214
|
-
agenda?: string | undefined;
|
|
215
|
-
report?: string | undefined;
|
|
216
|
-
reportFile?: import('jamespot-user-api').jFileLittle | null | undefined;
|
|
217
|
-
webinarUrl?: string | undefined;
|
|
218
|
-
visioConnectUrl?: string | undefined;
|
|
219
|
-
} | import('jamespot-user-api').jRecurringEventOccurrenceViewTruthy | import('jamespot-user-api').Merge<import('jamespot-user-api').Merge<{
|
|
220
|
-
dateModified: null;
|
|
221
|
-
dateCreation: null;
|
|
222
|
-
id: -1;
|
|
223
|
-
uri: "";
|
|
224
|
-
title: "";
|
|
225
|
-
_url: "";
|
|
226
|
-
type: "recurringEventOccurrence";
|
|
227
|
-
mainType: import('jamespot-user-api').jRecurringEventOccurrenceLittleTruthy["mainType"];
|
|
228
|
-
dateStart: import('jamespot-user-api').jRecurringEventOccurrenceLittleTruthy["dateStart"];
|
|
229
|
-
dateEnd: import('jamespot-user-api').jRecurringEventOccurrenceLittleTruthy["dateEnd"];
|
|
230
|
-
}, {
|
|
231
|
-
title: "";
|
|
232
|
-
description: "";
|
|
233
|
-
image: null;
|
|
234
|
-
articleWidgets: null;
|
|
235
|
-
_user: never;
|
|
236
|
-
_audience: import('jamespot-user-api').jArticleList["_audience"];
|
|
237
|
-
_right: never;
|
|
238
|
-
}>, {
|
|
239
|
-
_attachedFiles: null;
|
|
240
|
-
tags: null;
|
|
241
|
-
processContext: null;
|
|
242
|
-
_transientCtx: null;
|
|
243
|
-
uiObjectLink: null;
|
|
244
|
-
}>, ["socialEventRecord", "recurringEventRecord"]>, "events/updateEvent">;
|
|
16
|
+
updateEvent: import('@reduxjs/toolkit').ActionCreatorWithPayload<import('jamespot-user-api').CalendarEventWithExtensions<import('jamespot-user-api').CalendarEventView, ["socialEventRecord", "recurringEventRecord"]>, "events/updateEvent">;
|
|
245
17
|
reset: import('@reduxjs/toolkit').ActionCreatorWithoutPayload<"events/reset">;
|
|
246
|
-
fetchEvents: import('@reduxjs/toolkit').AsyncThunk<import('jamespot-user-api').CalendarEventWithExtensions<{
|
|
247
|
-
type: string;
|
|
248
|
-
uri: string;
|
|
249
|
-
id: number;
|
|
250
|
-
mainType: string;
|
|
251
|
-
dateCreation: string;
|
|
252
|
-
dateModified: string;
|
|
253
|
-
title: string;
|
|
254
|
-
_url: string;
|
|
255
|
-
_user: Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
256
|
-
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
257
|
-
dateCreation: string;
|
|
258
|
-
dateModified: string;
|
|
259
|
-
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
260
|
-
};
|
|
261
|
-
_right: import('jamespot-user-api').Rights;
|
|
262
|
-
_audience: ((Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
263
|
-
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
264
|
-
dateCreation: string;
|
|
265
|
-
dateModified: string;
|
|
266
|
-
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
267
|
-
}) | import('jamespot-user-api').jGroupLittle | import('jamespot-user-api').jFolderLittle)[];
|
|
268
|
-
_attachedFiles: import('jamespot-user-api').jFileLittle[];
|
|
269
|
-
image?: import('jamespot-user-api').ImageSize | undefined;
|
|
270
|
-
place?: string | undefined;
|
|
271
|
-
description?: string | null | undefined;
|
|
272
|
-
backgroundColor?: string | null | undefined;
|
|
273
|
-
textColor?: string | undefined;
|
|
274
|
-
articleWidgets?: import('jamespot-user-api').WidgetWrapperGeneric<import('jamespot-user-api').CombinedWidgetType>[] | undefined;
|
|
275
|
-
metas?: {
|
|
276
|
-
object?: import('jamespot-user-api').jObjectLittle | undefined;
|
|
277
|
-
uri?: string | undefined;
|
|
278
|
-
"og:type"?: "jamespot" | undefined;
|
|
279
|
-
} | {
|
|
280
|
-
url?: string | undefined;
|
|
281
|
-
title?: string | undefined;
|
|
282
|
-
description?: string | undefined;
|
|
283
|
-
"og:image"?: string | undefined;
|
|
284
|
-
"og:video:height"?: string | undefined;
|
|
285
|
-
"og:video:width"?: string | undefined;
|
|
286
|
-
"og:video:url"?: string | undefined;
|
|
287
|
-
"og:type"?: "youtube" | undefined;
|
|
288
|
-
} | {
|
|
289
|
-
url?: string | undefined;
|
|
290
|
-
uri?: string | undefined;
|
|
291
|
-
title?: string | undefined;
|
|
292
|
-
description?: string | undefined;
|
|
293
|
-
"og:image"?: string | undefined;
|
|
294
|
-
"og:title"?: string | undefined;
|
|
295
|
-
"og:url"?: string | undefined;
|
|
296
|
-
"og:video"?: string | undefined;
|
|
297
|
-
"og:description"?: string | undefined;
|
|
298
|
-
"og:video:height"?: string | undefined;
|
|
299
|
-
"og:video:width"?: string | undefined;
|
|
300
|
-
"og:video:url"?: string | undefined;
|
|
301
|
-
"og:type"?: string | undefined;
|
|
302
|
-
count?: number | undefined;
|
|
303
|
-
} | undefined;
|
|
304
|
-
tags?: {
|
|
305
|
-
type: string;
|
|
306
|
-
class: string;
|
|
307
|
-
uri: string;
|
|
308
|
-
name: string;
|
|
309
|
-
id: string;
|
|
310
|
-
mainType: string;
|
|
311
|
-
title: string;
|
|
312
|
-
label: string;
|
|
313
|
-
shortUri: string;
|
|
314
|
-
cssClass: string;
|
|
315
|
-
cssColor: string;
|
|
316
|
-
}[] | undefined;
|
|
317
|
-
processContext?: null | undefined;
|
|
318
|
-
_transientCtx?: null | undefined;
|
|
319
|
-
uiObjectLink?: import('jamespot-user-api').jObjectLittle[] | undefined;
|
|
320
|
-
dateEnd?: string | undefined;
|
|
321
|
-
dateStart?: string | undefined;
|
|
322
|
-
address?: string | undefined;
|
|
323
|
-
noGestion?: boolean | null | undefined;
|
|
324
|
-
allDay?: boolean | undefined;
|
|
325
|
-
socialEventUseCeiling?: boolean | undefined;
|
|
326
|
-
socialEventCeiling?: number | null | undefined;
|
|
327
|
-
urlGestion?: string | undefined;
|
|
328
|
-
webinarUrlForGuests?: string | undefined;
|
|
329
|
-
qrCodeValue?: string | undefined;
|
|
330
|
-
agenda?: string | undefined;
|
|
331
|
-
report?: string | undefined;
|
|
332
|
-
reportFile?: import('jamespot-user-api').jFileLittle | null | undefined;
|
|
333
|
-
webinarUrl?: string | undefined;
|
|
334
|
-
visioConnectUrl?: string | undefined;
|
|
335
|
-
} | import('jamespot-user-api').jRecurringEventOccurrenceViewTruthy | import('jamespot-user-api').Merge<import('jamespot-user-api').Merge<{
|
|
336
|
-
dateModified: null;
|
|
337
|
-
dateCreation: null;
|
|
338
|
-
id: -1;
|
|
339
|
-
uri: "";
|
|
340
|
-
title: "";
|
|
341
|
-
_url: "";
|
|
342
|
-
type: "recurringEventOccurrence";
|
|
343
|
-
mainType: import('jamespot-user-api').jRecurringEventOccurrenceLittleTruthy["mainType"];
|
|
344
|
-
dateStart: import('jamespot-user-api').jRecurringEventOccurrenceLittleTruthy["dateStart"];
|
|
345
|
-
dateEnd: import('jamespot-user-api').jRecurringEventOccurrenceLittleTruthy["dateEnd"];
|
|
346
|
-
}, {
|
|
347
|
-
title: "";
|
|
348
|
-
description: "";
|
|
349
|
-
image: null;
|
|
350
|
-
articleWidgets: null;
|
|
351
|
-
_user: never;
|
|
352
|
-
_audience: import('jamespot-user-api').jArticleList["_audience"];
|
|
353
|
-
_right: never;
|
|
354
|
-
}>, {
|
|
355
|
-
_attachedFiles: null;
|
|
356
|
-
tags: null;
|
|
357
|
-
processContext: null;
|
|
358
|
-
_transientCtx: null;
|
|
359
|
-
uiObjectLink: null;
|
|
360
|
-
}>, ["socialEventRecord", "recurringEventRecord"]>[], Partial<Pick<import('./calendar.types').CalendarEventsRootState, "dates" | "types">>, {
|
|
18
|
+
fetchEvents: import('@reduxjs/toolkit').AsyncThunk<import('jamespot-user-api').CalendarEventWithExtensions<import('jamespot-user-api').CalendarEventView, ["socialEventRecord", "recurringEventRecord"]>[], Partial<Pick<import('./calendar.types').CalendarEventsRootState, "dates" | "types">>, {
|
|
361
19
|
dispatch: import('../..').AppDispatch;
|
|
362
20
|
state: RootState;
|
|
363
21
|
extra: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CalendarEventView, CalendarEventWithExtensions, EventStatusFilter, UserResponseStatus } from 'jamespot-user-api';
|
|
2
2
|
import { Loading } from '../../types/utils';
|
|
3
3
|
export type CalendarEventsRootState = Loading & {
|
|
4
|
-
list: CalendarEventWithExtensions<
|
|
4
|
+
list: CalendarEventWithExtensions<CalendarEventView, ['socialEventRecord']>[];
|
|
5
5
|
statuses: EventStatusFilter[];
|
|
6
6
|
types: Array<'socialEvent' | 'meeting' | 'animatedMeeting' | 'boardCard' | 'recurringEvent'>;
|
|
7
7
|
dates?: {
|
|
@@ -1,122 +1,8 @@
|
|
|
1
1
|
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
-
import {
|
|
2
|
+
import { CalendarEventView, CalendarEventWithExtensions, UserResponseStatus } from 'jamespot-user-api';
|
|
3
3
|
import { CalendarEventsRootState } from './calendar.types';
|
|
4
4
|
import { AppDispatch } from '../../types';
|
|
5
|
-
export declare const fetchEvents: import('@reduxjs/toolkit').AsyncThunk<CalendarEventWithExtensions<{
|
|
6
|
-
type: string;
|
|
7
|
-
uri: string;
|
|
8
|
-
id: number;
|
|
9
|
-
mainType: string;
|
|
10
|
-
dateCreation: string;
|
|
11
|
-
dateModified: string;
|
|
12
|
-
title: string;
|
|
13
|
-
_url: string;
|
|
14
|
-
_user: Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
15
|
-
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
16
|
-
dateCreation: string;
|
|
17
|
-
dateModified: string;
|
|
18
|
-
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
19
|
-
};
|
|
20
|
-
_right: import('jamespot-user-api').Rights;
|
|
21
|
-
_audience: ((Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
|
|
22
|
-
level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
|
|
23
|
-
dateCreation: string;
|
|
24
|
-
dateModified: string;
|
|
25
|
-
variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
|
|
26
|
-
}) | import('jamespot-user-api').jGroupLittle | import('jamespot-user-api').jFolderLittle)[];
|
|
27
|
-
_attachedFiles: import('jamespot-user-api').jFileLittle[];
|
|
28
|
-
image?: import('jamespot-user-api').ImageSize | undefined;
|
|
29
|
-
place?: string | undefined;
|
|
30
|
-
description?: string | null | undefined;
|
|
31
|
-
backgroundColor?: string | null | undefined;
|
|
32
|
-
textColor?: string | undefined;
|
|
33
|
-
articleWidgets?: import('jamespot-user-api').WidgetWrapperGeneric<import('jamespot-user-api').CombinedWidgetType>[] | undefined;
|
|
34
|
-
metas?: {
|
|
35
|
-
object?: import('jamespot-user-api').jObjectLittle | undefined;
|
|
36
|
-
uri?: string | undefined;
|
|
37
|
-
"og:type"?: "jamespot" | undefined;
|
|
38
|
-
} | {
|
|
39
|
-
url?: string | undefined;
|
|
40
|
-
title?: string | undefined;
|
|
41
|
-
description?: string | undefined;
|
|
42
|
-
"og:image"?: string | undefined;
|
|
43
|
-
"og:video:height"?: string | undefined;
|
|
44
|
-
"og:video:width"?: string | undefined;
|
|
45
|
-
"og:video:url"?: string | undefined;
|
|
46
|
-
"og:type"?: "youtube" | undefined;
|
|
47
|
-
} | {
|
|
48
|
-
url?: string | undefined;
|
|
49
|
-
uri?: string | undefined;
|
|
50
|
-
title?: string | undefined;
|
|
51
|
-
description?: string | undefined;
|
|
52
|
-
"og:image"?: string | undefined;
|
|
53
|
-
"og:title"?: string | undefined;
|
|
54
|
-
"og:url"?: string | undefined;
|
|
55
|
-
"og:video"?: string | undefined;
|
|
56
|
-
"og:description"?: string | undefined;
|
|
57
|
-
"og:video:height"?: string | undefined;
|
|
58
|
-
"og:video:width"?: string | undefined;
|
|
59
|
-
"og:video:url"?: string | undefined;
|
|
60
|
-
"og:type"?: string | undefined;
|
|
61
|
-
count?: number | undefined;
|
|
62
|
-
} | undefined;
|
|
63
|
-
tags?: {
|
|
64
|
-
type: string;
|
|
65
|
-
class: string;
|
|
66
|
-
uri: string;
|
|
67
|
-
name: string;
|
|
68
|
-
id: string;
|
|
69
|
-
mainType: string;
|
|
70
|
-
title: string;
|
|
71
|
-
label: string;
|
|
72
|
-
shortUri: string;
|
|
73
|
-
cssClass: string;
|
|
74
|
-
cssColor: string;
|
|
75
|
-
}[] | undefined;
|
|
76
|
-
processContext?: null | undefined;
|
|
77
|
-
_transientCtx?: null | undefined;
|
|
78
|
-
uiObjectLink?: import('jamespot-user-api').jObjectLittle[] | undefined;
|
|
79
|
-
dateEnd?: string | undefined;
|
|
80
|
-
dateStart?: string | undefined;
|
|
81
|
-
address?: string | undefined;
|
|
82
|
-
noGestion?: boolean | null | undefined;
|
|
83
|
-
allDay?: boolean | undefined;
|
|
84
|
-
socialEventUseCeiling?: boolean | undefined;
|
|
85
|
-
socialEventCeiling?: number | null | undefined;
|
|
86
|
-
urlGestion?: string | undefined;
|
|
87
|
-
webinarUrlForGuests?: string | undefined;
|
|
88
|
-
qrCodeValue?: string | undefined;
|
|
89
|
-
agenda?: string | undefined;
|
|
90
|
-
report?: string | undefined;
|
|
91
|
-
reportFile?: import('jamespot-user-api').jFileLittle | null | undefined;
|
|
92
|
-
webinarUrl?: string | undefined;
|
|
93
|
-
visioConnectUrl?: string | undefined;
|
|
94
|
-
} | import('jamespot-user-api').jRecurringEventOccurrenceViewTruthy | import('jamespot-user-api').Merge<import('jamespot-user-api').Merge<{
|
|
95
|
-
dateModified: null;
|
|
96
|
-
dateCreation: null;
|
|
97
|
-
id: -1;
|
|
98
|
-
uri: "";
|
|
99
|
-
title: "";
|
|
100
|
-
_url: "";
|
|
101
|
-
type: "recurringEventOccurrence";
|
|
102
|
-
mainType: import('jamespot-user-api').jRecurringEventOccurrenceLittleTruthy["mainType"];
|
|
103
|
-
dateStart: import('jamespot-user-api').jRecurringEventOccurrenceLittleTruthy["dateStart"];
|
|
104
|
-
dateEnd: import('jamespot-user-api').jRecurringEventOccurrenceLittleTruthy["dateEnd"];
|
|
105
|
-
}, {
|
|
106
|
-
title: "";
|
|
107
|
-
description: "";
|
|
108
|
-
image: null;
|
|
109
|
-
articleWidgets: null;
|
|
110
|
-
_user: never;
|
|
111
|
-
_audience: import('jamespot-user-api').jArticleList["_audience"];
|
|
112
|
-
_right: never;
|
|
113
|
-
}>, {
|
|
114
|
-
_attachedFiles: null;
|
|
115
|
-
tags: null;
|
|
116
|
-
processContext: null;
|
|
117
|
-
_transientCtx: null;
|
|
118
|
-
uiObjectLink: null;
|
|
119
|
-
}>, ["socialEventRecord", "recurringEventRecord"]>[], Partial<Pick<CalendarEventsRootState, "dates" | "types">>, {
|
|
5
|
+
export declare const fetchEvents: import('@reduxjs/toolkit').AsyncThunk<CalendarEventWithExtensions<CalendarEventView, ["socialEventRecord", "recurringEventRecord"]>[], Partial<Pick<CalendarEventsRootState, "dates" | "types">>, {
|
|
120
6
|
dispatch: AppDispatch;
|
|
121
7
|
state: import('../..').RootState;
|
|
122
8
|
extra: {
|
|
@@ -184,10 +70,10 @@ export declare const changeResponse: import('@reduxjs/toolkit').AsyncThunk<boole
|
|
|
184
70
|
rejectedMeta?: unknown;
|
|
185
71
|
}>;
|
|
186
72
|
export declare const CalendarEventsSlice: import('@reduxjs/toolkit').Slice<CalendarEventsRootState, {
|
|
187
|
-
addEvent: (state: import('@reduxjs/toolkit').WritableDraft<CalendarEventsRootState>, action: PayloadAction<CalendarEventWithExtensions<
|
|
73
|
+
addEvent: (state: import('@reduxjs/toolkit').WritableDraft<CalendarEventsRootState>, action: PayloadAction<CalendarEventWithExtensions<CalendarEventView, ["socialEventRecord", "recurringEventRecord"]>>) => void;
|
|
188
74
|
removeEvent: (state: import('@reduxjs/toolkit').WritableDraft<CalendarEventsRootState>, action: PayloadAction<{
|
|
189
75
|
uri: string;
|
|
190
76
|
}>) => void;
|
|
191
|
-
updateEvent: (state: import('@reduxjs/toolkit').WritableDraft<CalendarEventsRootState>, action: PayloadAction<CalendarEventWithExtensions<
|
|
77
|
+
updateEvent: (state: import('@reduxjs/toolkit').WritableDraft<CalendarEventsRootState>, action: PayloadAction<CalendarEventWithExtensions<CalendarEventView, ["socialEventRecord", "recurringEventRecord"]>>) => void;
|
|
192
78
|
reset: () => CalendarEventsRootState;
|
|
193
79
|
}, "events", "events", import('@reduxjs/toolkit').SliceSelectors<CalendarEventsRootState>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ApiWrapper,
|
|
2
|
-
export declare const calendarListEventsView: ApiWrapper<CalendarEventWithExtensions<Record<string, any> &
|
|
1
|
+
import { ApiWrapper, CalendarEventView, CalendarEventWithExtensions } from 'jamespot-user-api';
|
|
2
|
+
export declare const calendarListEventsView: ApiWrapper<CalendarEventWithExtensions<Record<string, any> & CalendarEventView, [
|
|
3
3
|
'socialEventRecord'
|
|
4
4
|
]>[]>;
|
|
5
5
|
export declare const mockActionUpdate: ApiWrapper<boolean>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApiWrapper,
|
|
1
|
+
import { ApiWrapper, CalendarEventView, CalendarEventWithExtensions, jLinkLittle, RTMessageObject } from 'jamespot-user-api';
|
|
2
2
|
export declare const eventCreateMessage: RTMessageObject<'JAMESPOT', 'article-create', {
|
|
3
3
|
title: string;
|
|
4
4
|
_url: string;
|
|
@@ -13,4 +13,4 @@ export declare const eventUpdateMessage: RTMessageObject<'JAMESPOT', 'article-up
|
|
|
13
13
|
}>;
|
|
14
14
|
export declare const customActionUpdateMessage: RTMessageObject<'CUSTOM-ACTION', 'update', jLinkLittle>;
|
|
15
15
|
export declare const customActionRemoveMessage: RTMessageObject<'CUSTOM-ACTION', 'remove', jLinkLittle>;
|
|
16
|
-
export declare const articleGetEvent: ApiWrapper<CalendarEventWithExtensions<
|
|
16
|
+
export declare const articleGetEvent: ApiWrapper<CalendarEventWithExtensions<CalendarEventView, ['socialEventRecord']>>;
|
|
@@ -74,6 +74,7 @@ export declare const Hook: {
|
|
|
74
74
|
description: string;
|
|
75
75
|
label: string;
|
|
76
76
|
isActive: boolean;
|
|
77
|
+
hasLicense: boolean;
|
|
77
78
|
templates: {
|
|
78
79
|
color: string;
|
|
79
80
|
description: string;
|
|
@@ -83,7 +84,6 @@ export declare const Hook: {
|
|
|
83
84
|
}[];
|
|
84
85
|
allowAllDocuments: boolean;
|
|
85
86
|
allowPdfEdit: boolean;
|
|
86
|
-
hasLicense: boolean;
|
|
87
87
|
} | undefined;
|
|
88
88
|
AdminAdvancedHook?: {
|
|
89
89
|
sendAlert: boolean;
|
|
@@ -239,6 +239,7 @@ export declare const Hook: {
|
|
|
239
239
|
description: string;
|
|
240
240
|
label: string;
|
|
241
241
|
isActive: boolean;
|
|
242
|
+
hasLicense: boolean;
|
|
242
243
|
templates: {
|
|
243
244
|
color: string;
|
|
244
245
|
description: string;
|
|
@@ -248,7 +249,6 @@ export declare const Hook: {
|
|
|
248
249
|
}[];
|
|
249
250
|
allowAllDocuments: boolean;
|
|
250
251
|
allowPdfEdit: boolean;
|
|
251
|
-
hasLicense: boolean;
|
|
252
252
|
} | undefined;
|
|
253
253
|
AdminAdvancedHook?: {
|
|
254
254
|
sendAlert: boolean;
|
|
@@ -404,6 +404,7 @@ export declare const Hook: {
|
|
|
404
404
|
description: string;
|
|
405
405
|
label: string;
|
|
406
406
|
isActive: boolean;
|
|
407
|
+
hasLicense: boolean;
|
|
407
408
|
templates: {
|
|
408
409
|
color: string;
|
|
409
410
|
description: string;
|
|
@@ -413,7 +414,6 @@ export declare const Hook: {
|
|
|
413
414
|
}[];
|
|
414
415
|
allowAllDocuments: boolean;
|
|
415
416
|
allowPdfEdit: boolean;
|
|
416
|
-
hasLicense: boolean;
|
|
417
417
|
} | undefined;
|
|
418
418
|
AdminAdvancedHook?: {
|
|
419
419
|
sendAlert: boolean;
|
|
@@ -15,14 +15,14 @@ export declare const Network: {
|
|
|
15
15
|
selectNetworkStatics: (state: RootState) => import('./network.types').NetworkStaticsState;
|
|
16
16
|
selectNetworkPublic: (state: RootState) => {
|
|
17
17
|
type: string;
|
|
18
|
-
uri: string;
|
|
19
18
|
mainType: string;
|
|
19
|
+
uri: string;
|
|
20
20
|
title: string;
|
|
21
21
|
} | undefined;
|
|
22
22
|
selectNetworkMe: (state: RootState) => {
|
|
23
23
|
type: string;
|
|
24
|
-
uri: string;
|
|
25
24
|
mainType: string;
|
|
25
|
+
uri: string;
|
|
26
26
|
title: string;
|
|
27
27
|
} | undefined;
|
|
28
28
|
};
|