jamespot-front-business 1.3.35 → 1.3.36

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.
@@ -1,6 +1,6 @@
1
1
  import { PayloadAction } from '@reduxjs/toolkit';
2
- import { AdminLogsObjectsSliceState } from './types';
3
2
  import { AdminLogObject, Filters, ListQueryParameters, Orders, PagingResults } from 'jamespot-user-api';
3
+ import { AdminLogsObjectsSliceState } from './types';
4
4
  export declare const fetchLogsObjects: import('@reduxjs/toolkit').AsyncThunk<PagingResults<AdminLogObject>, ListQueryParameters, {
5
5
  dispatch: import('../../..').AppDispatch;
6
6
  state: import('../../..').RootState;
@@ -1,6 +1,6 @@
1
1
  import { PayloadAction } from '@reduxjs/toolkit';
2
- import { AdminLogsSearchSliceState } from './types';
3
2
  import { AdminLogSearch, Filters, ListQueryParameters, Orders, PagingResults } from 'jamespot-user-api';
3
+ import { AdminLogsSearchSliceState } from './types';
4
4
  export declare const fetchLogsSearch: import('@reduxjs/toolkit').AsyncThunk<PagingResults<AdminLogSearch>, ListQueryParameters, {
5
5
  dispatch: import('../../..').AppDispatch;
6
6
  state: import('../../..').RootState;
@@ -24,21 +24,21 @@ export declare const Bookmark: {
24
24
  srcType: string;
25
25
  targetId: number;
26
26
  targetType: string | null;
27
- url?: string | null | undefined;
28
27
  dateCreation?: string | undefined;
29
28
  dateModified?: string | null | undefined;
30
- _src?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
29
+ url?: string | null | undefined;
30
+ _src?: import('jamespot-user-api').jObjectLittle | import('jamespot-user-api').jUserLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
31
31
  level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
32
32
  dateCreation: string;
33
33
  dateModified: string;
34
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"> & {
35
+ }) | undefined;
36
+ _target?: import('jamespot-user-api').jObjectLittle | import('jamespot-user-api').jUserLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
37
37
  level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
38
38
  dateCreation: string;
39
39
  dateModified: string;
40
40
  variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
41
- }) | import('jamespot-user-api').jUserLittle | undefined;
41
+ }) | undefined;
42
42
  bookmarkUrl?: string | null | undefined;
43
43
  bookmarkOrder?: number | undefined;
44
44
  bookmarkLabel?: string | undefined;
@@ -54,21 +54,21 @@ export declare const Bookmark: {
54
54
  srcType: string;
55
55
  targetId: number;
56
56
  targetType: string | null;
57
- url?: string | null | undefined;
58
57
  dateCreation?: string | undefined;
59
58
  dateModified?: string | null | undefined;
60
- _src?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
59
+ url?: string | null | undefined;
60
+ _src?: import('jamespot-user-api').jObjectLittle | import('jamespot-user-api').jUserLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
61
61
  level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
62
62
  dateCreation: string;
63
63
  dateModified: string;
64
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"> & {
65
+ }) | undefined;
66
+ _target?: import('jamespot-user-api').jObjectLittle | import('jamespot-user-api').jUserLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
67
67
  level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
68
68
  dateCreation: string;
69
69
  dateModified: string;
70
70
  variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
71
- }) | import('jamespot-user-api').jUserLittle | undefined;
71
+ }) | undefined;
72
72
  bookmarkUrl?: string | null | undefined;
73
73
  bookmarkOrder?: number | undefined;
74
74
  bookmarkLabel?: string | undefined;
@@ -84,21 +84,21 @@ export declare const Bookmark: {
84
84
  srcType: string;
85
85
  targetId: number;
86
86
  targetType: string | null;
87
- url?: string | null | undefined;
88
87
  dateCreation?: string | undefined;
89
88
  dateModified?: string | null | undefined;
90
- _src?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
89
+ url?: string | null | undefined;
90
+ _src?: import('jamespot-user-api').jObjectLittle | import('jamespot-user-api').jUserLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
91
91
  level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
92
92
  dateCreation: string;
93
93
  dateModified: string;
94
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"> & {
95
+ }) | undefined;
96
+ _target?: import('jamespot-user-api').jObjectLittle | import('jamespot-user-api').jUserLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
97
97
  level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
98
98
  dateCreation: string;
99
99
  dateModified: string;
100
100
  variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
101
- }) | import('jamespot-user-api').jUserLittle | undefined;
101
+ }) | undefined;
102
102
  bookmarkUrl?: string | null | undefined;
103
103
  bookmarkOrder?: number | undefined;
104
104
  bookmarkLabel?: string | undefined;
@@ -114,21 +114,21 @@ export declare const Bookmark: {
114
114
  srcType: string;
115
115
  targetId: number;
116
116
  targetType: string | null;
117
- url?: string | null | undefined;
118
117
  dateCreation?: string | undefined;
119
118
  dateModified?: string | null | undefined;
120
- _src?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
119
+ url?: string | null | undefined;
120
+ _src?: import('jamespot-user-api').jObjectLittle | import('jamespot-user-api').jUserLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
121
121
  level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
122
122
  dateCreation: string;
123
123
  dateModified: string;
124
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"> & {
125
+ }) | undefined;
126
+ _target?: import('jamespot-user-api').jObjectLittle | import('jamespot-user-api').jUserLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
127
127
  level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
128
128
  dateCreation: string;
129
129
  dateModified: string;
130
130
  variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
131
- }) | import('jamespot-user-api').jUserLittle | undefined;
131
+ }) | undefined;
132
132
  bookmarkUrl?: string | null | undefined;
133
133
  bookmarkOrder?: number | undefined;
134
134
  bookmarkLabel?: string | undefined;
@@ -146,21 +146,21 @@ export declare const Bookmark: {
146
146
  srcType: string;
147
147
  targetId: number;
148
148
  targetType: string | null;
149
- url?: string | null | undefined;
150
149
  dateCreation?: string | undefined;
151
150
  dateModified?: string | null | undefined;
152
- _src?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
151
+ url?: string | null | undefined;
152
+ _src?: import('jamespot-user-api').jObjectLittle | import('jamespot-user-api').jUserLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
153
153
  level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
154
154
  dateCreation: string;
155
155
  dateModified: string;
156
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"> & {
157
+ }) | undefined;
158
+ _target?: import('jamespot-user-api').jObjectLittle | import('jamespot-user-api').jUserLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
159
159
  level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
160
160
  dateCreation: string;
161
161
  dateModified: string;
162
162
  variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
163
- }) | import('jamespot-user-api').jUserLittle | undefined;
163
+ }) | undefined;
164
164
  bookmarkUrl?: string | null | undefined;
165
165
  bookmarkOrder?: number | undefined;
166
166
  bookmarkLabel?: string | undefined;
@@ -190,21 +190,21 @@ export declare const Bookmark: {
190
190
  srcType: string;
191
191
  targetId: number;
192
192
  targetType: string | null;
193
- url?: string | null | undefined;
194
193
  dateCreation?: string | undefined;
195
194
  dateModified?: string | null | undefined;
196
- _src?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
195
+ url?: string | null | undefined;
196
+ _src?: import('jamespot-user-api').jObjectLittle | import('jamespot-user-api').jUserLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
197
197
  level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
198
198
  dateCreation: string;
199
199
  dateModified: string;
200
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"> & {
201
+ }) | undefined;
202
+ _target?: import('jamespot-user-api').jObjectLittle | import('jamespot-user-api').jUserLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
203
203
  level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
204
204
  dateCreation: string;
205
205
  dateModified: string;
206
206
  variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
207
- }) | import('jamespot-user-api').jUserLittle | undefined;
207
+ }) | undefined;
208
208
  bookmarkUrl?: string | null | undefined;
209
209
  bookmarkOrder?: number | undefined;
210
210
  bookmarkLabel?: string | undefined;
@@ -242,21 +242,21 @@ export declare const Bookmark: {
242
242
  srcType: string;
243
243
  targetId: number;
244
244
  targetType: string | null;
245
- url?: string | null | undefined;
246
245
  dateCreation?: string | undefined;
247
246
  dateModified?: string | null | undefined;
248
- _src?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
247
+ url?: string | null | undefined;
248
+ _src?: import('jamespot-user-api').jObjectLittle | import('jamespot-user-api').jUserLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
249
249
  level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
250
250
  dateCreation: string;
251
251
  dateModified: string;
252
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"> & {
253
+ }) | undefined;
254
+ _target?: import('jamespot-user-api').jObjectLittle | import('jamespot-user-api').jUserLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
255
255
  level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
256
256
  dateCreation: string;
257
257
  dateModified: string;
258
258
  variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
259
- }) | import('jamespot-user-api').jUserLittle | undefined;
259
+ }) | undefined;
260
260
  bookmarkUrl?: string | null | undefined;
261
261
  bookmarkOrder?: number | undefined;
262
262
  bookmarkLabel?: string | undefined;
@@ -311,21 +311,21 @@ export declare const Bookmark: {
311
311
  srcType: string;
312
312
  targetId: number;
313
313
  targetType: string | null;
314
- url?: string | null | undefined;
315
314
  dateCreation?: string | undefined;
316
315
  dateModified?: string | null | undefined;
317
- _src?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
316
+ url?: string | null | undefined;
317
+ _src?: import('jamespot-user-api').jObjectLittle | import('jamespot-user-api').jUserLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
318
318
  level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
319
319
  dateCreation: string;
320
320
  dateModified: string;
321
321
  variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
322
- }) | import('jamespot-user-api').jUserLittle | undefined;
323
- _target?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
322
+ }) | undefined;
323
+ _target?: import('jamespot-user-api').jObjectLittle | import('jamespot-user-api').jUserLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
324
324
  level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
325
325
  dateCreation: string;
326
326
  dateModified: string;
327
327
  variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
328
- }) | import('jamespot-user-api').jUserLittle | undefined;
328
+ }) | undefined;
329
329
  bookmarkUrl?: string | null | undefined;
330
330
  bookmarkOrder?: number | undefined;
331
331
  bookmarkLabel?: string | undefined;
@@ -357,21 +357,21 @@ export declare const Bookmark: {
357
357
  srcType: string;
358
358
  targetId: number;
359
359
  targetType: string | null;
360
- url?: string | null | undefined;
361
360
  dateCreation?: string | undefined;
362
361
  dateModified?: string | null | undefined;
363
- _src?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
362
+ url?: string | null | undefined;
363
+ _src?: import('jamespot-user-api').jObjectLittle | import('jamespot-user-api').jUserLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
364
364
  level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
365
365
  dateCreation: string;
366
366
  dateModified: string;
367
367
  variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
368
- }) | import('jamespot-user-api').jUserLittle | undefined;
369
- _target?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
368
+ }) | undefined;
369
+ _target?: import('jamespot-user-api').jObjectLittle | import('jamespot-user-api').jUserLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
370
370
  level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
371
371
  dateCreation: string;
372
372
  dateModified: string;
373
373
  variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
374
- }) | import('jamespot-user-api').jUserLittle | undefined;
374
+ }) | undefined;
375
375
  bookmarkUrl?: string | null | undefined;
376
376
  bookmarkOrder?: number | undefined;
377
377
  bookmarkLabel?: string | undefined;
@@ -405,21 +405,21 @@ export declare const Bookmark: {
405
405
  srcType: string;
406
406
  targetId: number;
407
407
  targetType: string | null;
408
- url?: string | null | undefined;
409
408
  dateCreation?: string | undefined;
410
409
  dateModified?: string | null | undefined;
411
- _src?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
410
+ url?: string | null | undefined;
411
+ _src?: import('jamespot-user-api').jObjectLittle | import('jamespot-user-api').jUserLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
412
412
  level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
413
413
  dateCreation: string;
414
414
  dateModified: string;
415
415
  variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
416
- }) | import('jamespot-user-api').jUserLittle | undefined;
417
- _target?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
416
+ }) | undefined;
417
+ _target?: import('jamespot-user-api').jObjectLittle | import('jamespot-user-api').jUserLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
418
418
  level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
419
419
  dateCreation: string;
420
420
  dateModified: string;
421
421
  variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
422
- }) | import('jamespot-user-api').jUserLittle | undefined;
422
+ }) | undefined;
423
423
  bookmarkUrl?: string | null | undefined;
424
424
  bookmarkOrder?: number | undefined;
425
425
  bookmarkLabel?: string | undefined;
@@ -435,21 +435,21 @@ export declare const Bookmark: {
435
435
  srcType: string;
436
436
  targetId: number;
437
437
  targetType: string | null;
438
- url?: string | null | undefined;
439
438
  dateCreation?: string | undefined;
440
439
  dateModified?: string | null | undefined;
441
- _src?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
440
+ url?: string | null | undefined;
441
+ _src?: import('jamespot-user-api').jObjectLittle | import('jamespot-user-api').jUserLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
442
442
  level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
443
443
  dateCreation: string;
444
444
  dateModified: string;
445
445
  variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
446
- }) | import('jamespot-user-api').jUserLittle | undefined;
447
- _target?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
446
+ }) | undefined;
447
+ _target?: import('jamespot-user-api').jObjectLittle | import('jamespot-user-api').jUserLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
448
448
  level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
449
449
  dateCreation: string;
450
450
  dateModified: string;
451
451
  variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
452
- }) | import('jamespot-user-api').jUserLittle | undefined;
452
+ }) | undefined;
453
453
  bookmarkUrl?: string | null | undefined;
454
454
  bookmarkOrder?: number | undefined;
455
455
  bookmarkLabel?: string | undefined;
@@ -11,21 +11,21 @@ export declare const fetchBookmark: import('@reduxjs/toolkit').AsyncThunk<ApiPag
11
11
  srcType: string;
12
12
  targetId: number;
13
13
  targetType: string | null;
14
- url?: string | null | undefined;
15
14
  dateCreation?: string | undefined;
16
15
  dateModified?: string | null | undefined;
17
- _src?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
16
+ url?: string | null | undefined;
17
+ _src?: import('jamespot-user-api').jObjectLittle | import('jamespot-user-api').jUserLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
18
18
  level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
19
19
  dateCreation: string;
20
20
  dateModified: string;
21
21
  variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
22
- }) | import('jamespot-user-api').jUserLittle | undefined;
23
- _target?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
22
+ }) | undefined;
23
+ _target?: import('jamespot-user-api').jObjectLittle | import('jamespot-user-api').jUserLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
24
24
  level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
25
25
  dateCreation: string;
26
26
  dateModified: string;
27
27
  variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
28
- }) | import('jamespot-user-api').jUserLittle | undefined;
28
+ }) | undefined;
29
29
  bookmarkUrl?: string | null | undefined;
30
30
  bookmarkOrder?: number | undefined;
31
31
  bookmarkLabel?: string | undefined;
@@ -55,21 +55,21 @@ export declare const addBookmark: import('@reduxjs/toolkit').AsyncThunk<ApiWrapp
55
55
  srcType: string;
56
56
  targetId: number;
57
57
  targetType: string | null;
58
- url?: string | null | undefined;
59
58
  dateCreation?: string | undefined;
60
59
  dateModified?: string | null | undefined;
61
- _src?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
60
+ url?: string | null | undefined;
61
+ _src?: import('jamespot-user-api').jObjectLittle | import('jamespot-user-api').jUserLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
62
62
  level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
63
63
  dateCreation: string;
64
64
  dateModified: string;
65
65
  variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
66
- }) | import('jamespot-user-api').jUserLittle | undefined;
67
- _target?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
66
+ }) | undefined;
67
+ _target?: import('jamespot-user-api').jObjectLittle | import('jamespot-user-api').jUserLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
68
68
  level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
69
69
  dateCreation: string;
70
70
  dateModified: string;
71
71
  variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
72
- }) | import('jamespot-user-api').jUserLittle | undefined;
72
+ }) | undefined;
73
73
  bookmarkUrl?: string | null | undefined;
74
74
  bookmarkOrder?: number | undefined;
75
75
  bookmarkLabel?: string | undefined;
@@ -107,21 +107,21 @@ export declare const addBookmark: import('@reduxjs/toolkit').AsyncThunk<ApiWrapp
107
107
  srcType: string;
108
108
  targetId: number;
109
109
  targetType: string | null;
110
- url?: string | null | undefined;
111
110
  dateCreation?: string | undefined;
112
111
  dateModified?: string | null | undefined;
113
- _src?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
112
+ url?: string | null | undefined;
113
+ _src?: import('jamespot-user-api').jObjectLittle | import('jamespot-user-api').jUserLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
114
114
  level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
115
115
  dateCreation: string;
116
116
  dateModified: string;
117
117
  variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
118
- }) | import('jamespot-user-api').jUserLittle | undefined;
119
- _target?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
118
+ }) | undefined;
119
+ _target?: import('jamespot-user-api').jObjectLittle | import('jamespot-user-api').jUserLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
120
120
  level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
121
121
  dateCreation: string;
122
122
  dateModified: string;
123
123
  variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
124
- }) | import('jamespot-user-api').jUserLittle | undefined;
124
+ }) | undefined;
125
125
  bookmarkUrl?: string | null | undefined;
126
126
  bookmarkOrder?: number | undefined;
127
127
  bookmarkLabel?: string | undefined;
@@ -176,21 +176,21 @@ export declare const deleteBookmark: import('@reduxjs/toolkit').AsyncThunk<void,
176
176
  srcType: string;
177
177
  targetId: number;
178
178
  targetType: string | null;
179
- url?: string | null | undefined;
180
179
  dateCreation?: string | undefined;
181
180
  dateModified?: string | null | undefined;
182
- _src?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
181
+ url?: string | null | undefined;
182
+ _src?: import('jamespot-user-api').jObjectLittle | import('jamespot-user-api').jUserLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
183
183
  level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
184
184
  dateCreation: string;
185
185
  dateModified: string;
186
186
  variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
187
- }) | import('jamespot-user-api').jUserLittle | undefined;
188
- _target?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
187
+ }) | undefined;
188
+ _target?: import('jamespot-user-api').jObjectLittle | import('jamespot-user-api').jUserLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
189
189
  level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
190
190
  dateCreation: string;
191
191
  dateModified: string;
192
192
  variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
193
- }) | import('jamespot-user-api').jUserLittle | undefined;
193
+ }) | undefined;
194
194
  bookmarkUrl?: string | null | undefined;
195
195
  bookmarkOrder?: number | undefined;
196
196
  bookmarkLabel?: string | undefined;
@@ -11,21 +11,21 @@ export declare const editBookmark: import('@reduxjs/toolkit').AsyncThunk<void, P
11
11
  srcType: string;
12
12
  targetId: number;
13
13
  targetType: string | null;
14
- url?: string | null | undefined;
15
14
  dateCreation?: string | undefined;
16
15
  dateModified?: string | null | undefined;
17
- _src?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
16
+ url?: string | null | undefined;
17
+ _src?: import('jamespot-user-api').jObjectLittle | import('jamespot-user-api').jUserLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
18
18
  level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
19
19
  dateCreation: string;
20
20
  dateModified: string;
21
21
  variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
22
- }) | import('jamespot-user-api').jUserLittle | undefined;
23
- _target?: import('jamespot-user-api').jObjectLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
22
+ }) | undefined;
23
+ _target?: import('jamespot-user-api').jObjectLittle | import('jamespot-user-api').jUserLittle | (Omit<import('jamespot-user-api').jObjectLittle, "dateCreation" | "dateModified" | "level" | "variant"> & {
24
24
  level: typeof import('jamespot-user-api').UserLevel[keyof typeof import('jamespot-user-api').UserLevel];
25
25
  dateCreation: string;
26
26
  dateModified: string;
27
27
  variant?: typeof import('jamespot-user-api').UserVariant[keyof typeof import('jamespot-user-api').UserVariant] | undefined;
28
- }) | import('jamespot-user-api').jUserLittle | undefined;
28
+ }) | undefined;
29
29
  bookmarkUrl?: string | null | undefined;
30
30
  bookmarkOrder?: number | undefined;
31
31
  bookmarkLabel?: string | undefined;
@@ -1,7 +1,7 @@
1
1
  import { PayloadAction } from '@reduxjs/toolkit';
2
2
  import { CalendarEventView, CalendarEventWithExtensions, UserResponseStatus } from 'jamespot-user-api';
3
+ import { AppDispatch } from '../../types/store';
3
4
  import { CalendarEventsRootState } from './calendar.types';
4
- import { AppDispatch } from '../../types';
5
5
  export declare const fetchEvents: import('@reduxjs/toolkit').AsyncThunk<CalendarEventWithExtensions<CalendarEventView, ["socialEventRecord", "recurringEventRecord"]>[], Partial<Pick<CalendarEventsRootState, "dates" | "types">>, {
6
6
  dispatch: AppDispatch;
7
7
  state: import('../..').RootState;
@@ -1,5 +1,5 @@
1
1
  import { JArticleApi, Namespaces, RTMessageHandler } from 'jamespot-user-api';
2
- import { AppDispatch } from '../../types';
2
+ import { AppDispatch } from '../../types/store';
3
3
  export declare const getCalendarRTHandlers: (dispatch: AppDispatch, jApi: {
4
4
  article: Pick<JArticleApi, "get">;
5
5
  }) => Array<RTMessageHandler<"JAMESPOT", Namespaces["JAMESPOT"]> | RTMessageHandler<"CUSTOM-ACTION", Namespaces["CUSTOM-ACTION"]>>;
@@ -1,3 +1,3 @@
1
1
  import { Namespaces, RTMessageHandler } from 'jamespot-user-api';
2
- import { AppDispatch } from '../../types';
2
+ import { AppDispatch } from '../../types/store';
3
3
  export declare const getCommentRTHandlers: (dispatch: AppDispatch, idArticle: number) => Array<RTMessageHandler<"JAMESPOT", Namespaces["JAMESPOT"]>>;
@@ -1,3 +1,3 @@
1
1
  import { Namespaces, RTMessageHandler } from 'jamespot-user-api';
2
- import { AppDispatch } from '../../types';
2
+ import { AppDispatch } from '../../types/store';
3
3
  export declare const getCommentsLikeRTHandlers: (dispatch: AppDispatch, idComments: number[] | undefined, idArticle: number) => Array<RTMessageHandler<"CUSTOM-ACTION", Namespaces["CUSTOM-ACTION"]>>;
@@ -1,4 +1,4 @@
1
- import { RootState } from '../../types';
1
+ import { RootState } from '../../types/store';
2
2
  export declare const jland: {
3
3
  slice: {
4
4
  name: "jland";
@@ -1,3 +1,3 @@
1
1
  import { ApiWrapper } from 'jamespot-user-api';
2
- import { StudioAppBase } from 'src/types';
2
+ import { StudioAppBase } from '../../studio.types';
3
3
  export declare const getConge: ApiWrapper<StudioAppBase>;
@@ -1,3 +1,3 @@
1
1
  import { ApiWrapper } from 'jamespot-user-api';
2
- import { StudioAppBase } from 'src/types';
2
+ import { StudioAppBase } from '../../studio.types';
3
3
  export declare const getIncident: ApiWrapper<StudioAppBase>;
@@ -1,6 +1,6 @@
1
1
  import { AppFormItemTypesValues, AppViewFieldItem, ExtraAppFieldsItemViewsValues, StudioApplication } from '../studio.types';
2
2
  export declare function appToXml(studioApp: StudioApplication): string;
3
- export declare function fieldType(fieldType: AppFormItemTypesValues | ExtraAppFieldsItemViewsValues): "dateCreation" | "IMAGE" | "TEXT" | "TEXTAREA" | "TEXTAREAHTML" | "DATE" | "DATETIME" | "NUMBER" | "URL" | "EMAIL" | "SELECT" | "CHECKBOX" | "TOGGLE" | "RADIO" | "TAGS" | "ADDFILEATTACHMENT" | "CODEHTML" | "USERLINK" | "CONTENTLINK" | "RANGE" | "title" | "publishTo" | "sendAlert" | "alertAuthor" | "description" | "idUser";
3
+ export declare function fieldType(fieldType: AppFormItemTypesValues | ExtraAppFieldsItemViewsValues): "IMAGE" | "TEXT" | "TEXTAREA" | "TEXTAREAHTML" | "DATE" | "DATETIME" | "NUMBER" | "URL" | "EMAIL" | "SELECT" | "CHECKBOX" | "TOGGLE" | "RADIO" | "TAGS" | "ADDFILEATTACHMENT" | "CODEHTML" | "USERLINK" | "CONTENTLINK" | "RANGE" | "title" | "publishTo" | "sendAlert" | "alertAuthor" | "dateCreation" | "description" | "idUser";
4
4
  export declare function getDisplayName(fieldId: string, view: AppViewFieldItem): string;
5
5
  export declare function renderDisplayAttr(fieldId: string, view: AppViewFieldItem): string;
6
6
  export declare function pad(s: number): string | number;
@@ -126,7 +126,7 @@ export declare const Widget: {
126
126
  selectWidgetObjectRights: (state: RootState, uniqid: string) => import('jamespot-user-api').Rights | undefined;
127
127
  selectAllWidgetRTObject: (state: RootState, uniqid: string) => import('jamespot-user-api').WidgetRtObject[];
128
128
  selectFlushedWidgets: (state: RootState) => string[];
129
- selectWidgetContext: (state: RootState, uniqid: string) => "comment" | "article" | undefined;
129
+ selectWidgetContext: (state: RootState, uniqid: string) => "article" | "comment" | undefined;
130
130
  selectWidgetLevel: (state: RootState, uniqid: string) => 1 | 2 | 3 | 4 | undefined;
131
131
  selectWidgetWrapperStyle: (state: RootState, uniqid: string) => Record<string, string | number>;
132
132
  selectWidgetTitleStyle: (state: RootState, uniqid: string) => Record<string, string | number>;
@@ -1,3 +1,3 @@
1
1
  import { Namespaces, RTMessageHandler } from 'jamespot-user-api';
2
- import { AppDispatch } from '../../types';
2
+ import { AppDispatch } from '../../types/store';
3
3
  export declare const getWidgetRTHandlers: (dispatch: AppDispatch, uniqid: string) => Array<RTMessageHandler<"WIDGET", Namespaces["WIDGET"]>>;
@@ -28,7 +28,7 @@ import { ModelRootState } from '../store/model/model.types';
28
28
  import { CalendarRootState } from '../store/calendar/calendar.types';
29
29
  import { FileIntegrityRootState } from '../store/fileIntegrity/fileIntegrity.types';
30
30
  import { WallShapeRootState } from '../store/wall/wall.types';
31
- import { VisioConnectRootState } from 'src/store/visioConnect/visioConnect.types';
31
+ import { VisioConnectRootState } from '../store/visioConnect/visioConnect.types';
32
32
  type AsyncReducers = AdminLogsRootState & AnimationsRootState & AssetReservationRootState & BookmarkRootState & CalendarRootState & ContentReportRootState & EditorsRootState & ExtraBotRootState & FaqRootState & FileIntegrityRootState & JLandRootState & MagicPadRootState & MediaLibraryRootState & ShareRootState & StudioRootState & TeamWorkRootState & TinyMCERootState & TVDisplayRootState & VisioConnectRootState & WedocAppRootState & WidgetsRootState & WallShapeRootState;
33
33
  type StaticReducers = {
34
34
  entities: ApplicationRootState & ModelRootState;
@@ -0,0 +1,5 @@
1
+ import * as noBarrelImports from './rules/no-barrel-imports.js';
2
+
3
+ export const rules = {
4
+ 'no-barrel-imports': noBarrelImports,
5
+ };
@@ -0,0 +1,46 @@
1
+ import fs from 'fs';
2
+ import path from 'path';
3
+
4
+ const blockedPaths = ['types'];
5
+
6
+ export const meta = {
7
+ type: 'problem',
8
+ docs: {
9
+ description: 'Interdire les imports depuis un barrel (index.ts) dans certains dossiers',
10
+ },
11
+ messages: {
12
+ noBarrel: "Importer depuis '{{path}}' est interdit. Importez le fichier spécifique directement.",
13
+ },
14
+ schema: [],
15
+ };
16
+
17
+ export function create(context) {
18
+ const checkValue = (value, node) => {
19
+ if (!value) return;
20
+
21
+ value = value.replace(/\\/g, '/');
22
+
23
+ if (!value.startsWith('./') && !value.startsWith('../')) return;
24
+
25
+ // Résolution absolue du chemin depuis le fichier courant
26
+ const absolutePath = path.resolve(path.dirname(context.getFilename()), value);
27
+
28
+ // Vérifie si c'est un dossier existant
29
+ if (fs.existsSync(absolutePath) && fs.lstatSync(absolutePath).isDirectory()) {
30
+ const lastSegment = path.basename(absolutePath);
31
+ if (blockedPaths.includes(lastSegment)) {
32
+ context.report({
33
+ node,
34
+ messageId: 'noBarrel',
35
+ data: { path: value },
36
+ });
37
+ }
38
+ }
39
+ };
40
+
41
+ return {
42
+ ImportDeclaration(node) {
43
+ checkValue(node.source.value, node);
44
+ },
45
+ };
46
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jamespot-front-business",
3
- "version": "1.3.35",
3
+ "version": "1.3.36",
4
4
  "description": "typescript utils",
5
5
  "main": "dist/jamespot-front-business.js",
6
6
  "module": "dist/jamespot-front-business.mjs",
@@ -37,7 +37,7 @@
37
37
  "eslint-import-resolver-typescript": "^4.4.4",
38
38
  "eslint-plugin-import": "^2.32.0",
39
39
  "globals": "^16.5.0",
40
- "jamespot-user-api": "^1.3.35",
40
+ "jamespot-user-api": "^1.3.36",
41
41
  "jest": "^30.2.0",
42
42
  "jest-environment-jsdom": "^30.2.0",
43
43
  "knip": "^5.70.0",