@replyke/core 7.0.0-beta.47 → 7.0.0-beta.48

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 (37) hide show
  1. package/dist/cjs/hooks/user/index.d.ts +1 -0
  2. package/dist/cjs/hooks/user/useUserActions.js +19 -2
  3. package/dist/cjs/hooks/user/useUserActions.js.map +1 -1
  4. package/dist/cjs/hooks/users/index.d.ts +0 -1
  5. package/dist/cjs/hooks/users/index.js +1 -3
  6. package/dist/cjs/hooks/users/index.js.map +1 -1
  7. package/dist/cjs/index.d.ts +2 -2
  8. package/dist/cjs/index.js +2 -3
  9. package/dist/cjs/index.js.map +1 -1
  10. package/dist/cjs/interfaces/models/User.d.ts +1 -1
  11. package/dist/cjs/store/api/userApi.d.ts +9 -1
  12. package/dist/cjs/store/api/userApi.js +61 -10
  13. package/dist/cjs/store/api/userApi.js.map +1 -1
  14. package/dist/cjs/store/slices/entityListsSlice.d.ts +168 -168
  15. package/dist/cjs/store/slices/userSlice.d.ts +696 -0
  16. package/dist/esm/hooks/user/index.d.ts +1 -0
  17. package/dist/esm/hooks/user/useUserActions.js +19 -2
  18. package/dist/esm/hooks/user/useUserActions.js.map +1 -1
  19. package/dist/esm/hooks/users/index.d.ts +0 -1
  20. package/dist/esm/hooks/users/index.js +0 -1
  21. package/dist/esm/hooks/users/index.js.map +1 -1
  22. package/dist/esm/index.d.ts +2 -2
  23. package/dist/esm/index.js +1 -1
  24. package/dist/esm/index.js.map +1 -1
  25. package/dist/esm/interfaces/models/User.d.ts +1 -1
  26. package/dist/esm/store/api/userApi.d.ts +9 -1
  27. package/dist/esm/store/api/userApi.js +61 -10
  28. package/dist/esm/store/api/userApi.js.map +1 -1
  29. package/dist/esm/store/slices/entityListsSlice.d.ts +168 -168
  30. package/dist/esm/store/slices/userSlice.d.ts +696 -0
  31. package/package.json +1 -1
  32. package/dist/cjs/hooks/users/useUpdateUser.d.ts +0 -26
  33. package/dist/cjs/hooks/users/useUpdateUser.js +0 -124
  34. package/dist/cjs/hooks/users/useUpdateUser.js.map +0 -1
  35. package/dist/esm/hooks/users/useUpdateUser.d.ts +0 -26
  36. package/dist/esm/hooks/users/useUpdateUser.js +0 -119
  37. package/dist/esm/hooks/users/useUpdateUser.js.map +0 -1
@@ -19,8 +19,94 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
19
19
  name: string | null;
20
20
  username: string | null;
21
21
  avatar: string | null;
22
+ avatarFileId: string | null;
23
+ bannerFileId: string | null;
24
+ avatarFile?: {
25
+ id: string;
26
+ projectId: string;
27
+ userId: string | null;
28
+ entityId: string | null;
29
+ commentId: string | null;
30
+ spaceId: string | null;
31
+ type: "image" | "video" | "document" | "other";
32
+ originalPath: string;
33
+ originalSize: number;
34
+ originalMimeType: string;
35
+ position: number;
36
+ metadata: {
37
+ [x: string]: any;
38
+ };
39
+ image?: {
40
+ fileId: string;
41
+ originalWidth: number;
42
+ originalHeight: number;
43
+ variants: {
44
+ [x: string]: {
45
+ path: string;
46
+ publicPath: string;
47
+ width: number;
48
+ height: number;
49
+ size: number;
50
+ format: string;
51
+ };
52
+ };
53
+ processingStatus: "completed" | "failed";
54
+ processingError: string | null;
55
+ format: string;
56
+ quality: number;
57
+ exifStripped: boolean;
58
+ createdAt: Date;
59
+ updatedAt: Date;
60
+ } | undefined;
61
+ createdAt: Date;
62
+ updatedAt: Date;
63
+ } | null | undefined;
64
+ bannerFile?: {
65
+ id: string;
66
+ projectId: string;
67
+ userId: string | null;
68
+ entityId: string | null;
69
+ commentId: string | null;
70
+ spaceId: string | null;
71
+ type: "image" | "video" | "document" | "other";
72
+ originalPath: string;
73
+ originalSize: number;
74
+ originalMimeType: string;
75
+ position: number;
76
+ metadata: {
77
+ [x: string]: any;
78
+ };
79
+ image?: {
80
+ fileId: string;
81
+ originalWidth: number;
82
+ originalHeight: number;
83
+ variants: {
84
+ [x: string]: {
85
+ path: string;
86
+ publicPath: string;
87
+ width: number;
88
+ height: number;
89
+ size: number;
90
+ format: string;
91
+ };
92
+ };
93
+ processingStatus: "completed" | "failed";
94
+ processingError: string | null;
95
+ format: string;
96
+ quality: number;
97
+ exifStripped: boolean;
98
+ createdAt: Date;
99
+ updatedAt: Date;
100
+ } | undefined;
101
+ createdAt: Date;
102
+ updatedAt: Date;
103
+ } | null | undefined;
22
104
  bio: string | null;
23
105
  birthdate: Date | null;
106
+ location: {
107
+ type: "Point";
108
+ coordinates: [number, number];
109
+ } | null;
24
110
  metadata: {
25
111
  [x: string]: any;
26
112
  };
@@ -29,6 +115,7 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
29
115
  isActive: boolean;
30
116
  lastActive: Date;
31
117
  createdAt: Date;
118
+ updatedAt: Date;
32
119
  suspensions: {
33
120
  reason: string | null;
34
121
  startDate: Date;
@@ -50,8 +137,94 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
50
137
  name: string | null;
51
138
  username: string | null;
52
139
  avatar: string | null;
140
+ avatarFileId: string | null;
141
+ bannerFileId: string | null;
142
+ avatarFile?: {
143
+ id: string;
144
+ projectId: string;
145
+ userId: string | null;
146
+ entityId: string | null;
147
+ commentId: string | null;
148
+ spaceId: string | null;
149
+ type: "image" | "video" | "document" | "other";
150
+ originalPath: string;
151
+ originalSize: number;
152
+ originalMimeType: string;
153
+ position: number;
154
+ metadata: {
155
+ [x: string]: any;
156
+ };
157
+ image?: {
158
+ fileId: string;
159
+ originalWidth: number;
160
+ originalHeight: number;
161
+ variants: {
162
+ [x: string]: {
163
+ path: string;
164
+ publicPath: string;
165
+ width: number;
166
+ height: number;
167
+ size: number;
168
+ format: string;
169
+ };
170
+ };
171
+ processingStatus: "completed" | "failed";
172
+ processingError: string | null;
173
+ format: string;
174
+ quality: number;
175
+ exifStripped: boolean;
176
+ createdAt: Date;
177
+ updatedAt: Date;
178
+ } | undefined;
179
+ createdAt: Date;
180
+ updatedAt: Date;
181
+ } | null | undefined;
182
+ bannerFile?: {
183
+ id: string;
184
+ projectId: string;
185
+ userId: string | null;
186
+ entityId: string | null;
187
+ commentId: string | null;
188
+ spaceId: string | null;
189
+ type: "image" | "video" | "document" | "other";
190
+ originalPath: string;
191
+ originalSize: number;
192
+ originalMimeType: string;
193
+ position: number;
194
+ metadata: {
195
+ [x: string]: any;
196
+ };
197
+ image?: {
198
+ fileId: string;
199
+ originalWidth: number;
200
+ originalHeight: number;
201
+ variants: {
202
+ [x: string]: {
203
+ path: string;
204
+ publicPath: string;
205
+ width: number;
206
+ height: number;
207
+ size: number;
208
+ format: string;
209
+ };
210
+ };
211
+ processingStatus: "completed" | "failed";
212
+ processingError: string | null;
213
+ format: string;
214
+ quality: number;
215
+ exifStripped: boolean;
216
+ createdAt: Date;
217
+ updatedAt: Date;
218
+ } | undefined;
219
+ createdAt: Date;
220
+ updatedAt: Date;
221
+ } | null | undefined;
53
222
  bio: string | null;
54
223
  birthdate: Date | null;
224
+ location: {
225
+ type: "Point";
226
+ coordinates: [number, number];
227
+ } | null;
55
228
  metadata: {
56
229
  [x: string]: any;
57
230
  };
@@ -60,6 +233,7 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
60
233
  isActive: boolean;
61
234
  lastActive: Date;
62
235
  createdAt: Date;
236
+ updatedAt: Date;
63
237
  suspensions: {
64
238
  reason: string | null;
65
239
  startDate: Date;
@@ -81,8 +255,94 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
81
255
  name: string | null;
82
256
  username: string | null;
83
257
  avatar: string | null;
258
+ avatarFileId: string | null;
259
+ bannerFileId: string | null;
260
+ avatarFile?: {
261
+ id: string;
262
+ projectId: string;
263
+ userId: string | null;
264
+ entityId: string | null;
265
+ commentId: string | null;
266
+ spaceId: string | null;
267
+ type: "image" | "video" | "document" | "other";
268
+ originalPath: string;
269
+ originalSize: number;
270
+ originalMimeType: string;
271
+ position: number;
272
+ metadata: {
273
+ [x: string]: any;
274
+ };
275
+ image?: {
276
+ fileId: string;
277
+ originalWidth: number;
278
+ originalHeight: number;
279
+ variants: {
280
+ [x: string]: {
281
+ path: string;
282
+ publicPath: string;
283
+ width: number;
284
+ height: number;
285
+ size: number;
286
+ format: string;
287
+ };
288
+ };
289
+ processingStatus: "completed" | "failed";
290
+ processingError: string | null;
291
+ format: string;
292
+ quality: number;
293
+ exifStripped: boolean;
294
+ createdAt: Date;
295
+ updatedAt: Date;
296
+ } | undefined;
297
+ createdAt: Date;
298
+ updatedAt: Date;
299
+ } | null | undefined;
300
+ bannerFile?: {
301
+ id: string;
302
+ projectId: string;
303
+ userId: string | null;
304
+ entityId: string | null;
305
+ commentId: string | null;
306
+ spaceId: string | null;
307
+ type: "image" | "video" | "document" | "other";
308
+ originalPath: string;
309
+ originalSize: number;
310
+ originalMimeType: string;
311
+ position: number;
312
+ metadata: {
313
+ [x: string]: any;
314
+ };
315
+ image?: {
316
+ fileId: string;
317
+ originalWidth: number;
318
+ originalHeight: number;
319
+ variants: {
320
+ [x: string]: {
321
+ path: string;
322
+ publicPath: string;
323
+ width: number;
324
+ height: number;
325
+ size: number;
326
+ format: string;
327
+ };
328
+ };
329
+ processingStatus: "completed" | "failed";
330
+ processingError: string | null;
331
+ format: string;
332
+ quality: number;
333
+ exifStripped: boolean;
334
+ createdAt: Date;
335
+ updatedAt: Date;
336
+ } | undefined;
337
+ createdAt: Date;
338
+ updatedAt: Date;
339
+ } | null | undefined;
84
340
  bio: string | null;
85
341
  birthdate: Date | null;
342
+ location: {
343
+ type: "Point";
344
+ coordinates: [number, number];
345
+ } | null;
86
346
  metadata: {
87
347
  [x: string]: any;
88
348
  };
@@ -91,6 +351,7 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
91
351
  isActive: boolean;
92
352
  lastActive: Date;
93
353
  createdAt: Date;
354
+ updatedAt: Date;
94
355
  suspensions: {
95
356
  reason: string | null;
96
357
  startDate: Date;
@@ -112,8 +373,94 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
112
373
  name: string | null;
113
374
  username: string | null;
114
375
  avatar: string | null;
376
+ avatarFileId: string | null;
377
+ bannerFileId: string | null;
378
+ avatarFile?: {
379
+ id: string;
380
+ projectId: string;
381
+ userId: string | null;
382
+ entityId: string | null;
383
+ commentId: string | null;
384
+ spaceId: string | null;
385
+ type: "image" | "video" | "document" | "other";
386
+ originalPath: string;
387
+ originalSize: number;
388
+ originalMimeType: string;
389
+ position: number;
390
+ metadata: {
391
+ [x: string]: any;
392
+ };
393
+ image?: {
394
+ fileId: string;
395
+ originalWidth: number;
396
+ originalHeight: number;
397
+ variants: {
398
+ [x: string]: {
399
+ path: string;
400
+ publicPath: string;
401
+ width: number;
402
+ height: number;
403
+ size: number;
404
+ format: string;
405
+ };
406
+ };
407
+ processingStatus: "completed" | "failed";
408
+ processingError: string | null;
409
+ format: string;
410
+ quality: number;
411
+ exifStripped: boolean;
412
+ createdAt: Date;
413
+ updatedAt: Date;
414
+ } | undefined;
415
+ createdAt: Date;
416
+ updatedAt: Date;
417
+ } | null | undefined;
418
+ bannerFile?: {
419
+ id: string;
420
+ projectId: string;
421
+ userId: string | null;
422
+ entityId: string | null;
423
+ commentId: string | null;
424
+ spaceId: string | null;
425
+ type: "image" | "video" | "document" | "other";
426
+ originalPath: string;
427
+ originalSize: number;
428
+ originalMimeType: string;
429
+ position: number;
430
+ metadata: {
431
+ [x: string]: any;
432
+ };
433
+ image?: {
434
+ fileId: string;
435
+ originalWidth: number;
436
+ originalHeight: number;
437
+ variants: {
438
+ [x: string]: {
439
+ path: string;
440
+ publicPath: string;
441
+ width: number;
442
+ height: number;
443
+ size: number;
444
+ format: string;
445
+ };
446
+ };
447
+ processingStatus: "completed" | "failed";
448
+ processingError: string | null;
449
+ format: string;
450
+ quality: number;
451
+ exifStripped: boolean;
452
+ createdAt: Date;
453
+ updatedAt: Date;
454
+ } | undefined;
455
+ createdAt: Date;
456
+ updatedAt: Date;
457
+ } | null | undefined;
115
458
  bio: string | null;
116
459
  birthdate: Date | null;
460
+ location: {
461
+ type: "Point";
462
+ coordinates: [number, number];
463
+ } | null;
117
464
  metadata: {
118
465
  [x: string]: any;
119
466
  };
@@ -122,6 +469,7 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
122
469
  isActive: boolean;
123
470
  lastActive: Date;
124
471
  createdAt: Date;
472
+ updatedAt: Date;
125
473
  suspensions: {
126
474
  reason: string | null;
127
475
  startDate: Date;
@@ -143,8 +491,94 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
143
491
  name: string | null;
144
492
  username: string | null;
145
493
  avatar: string | null;
494
+ avatarFileId: string | null;
495
+ bannerFileId: string | null;
496
+ avatarFile?: {
497
+ id: string;
498
+ projectId: string;
499
+ userId: string | null;
500
+ entityId: string | null;
501
+ commentId: string | null;
502
+ spaceId: string | null;
503
+ type: "image" | "video" | "document" | "other";
504
+ originalPath: string;
505
+ originalSize: number;
506
+ originalMimeType: string;
507
+ position: number;
508
+ metadata: {
509
+ [x: string]: any;
510
+ };
511
+ image?: {
512
+ fileId: string;
513
+ originalWidth: number;
514
+ originalHeight: number;
515
+ variants: {
516
+ [x: string]: {
517
+ path: string;
518
+ publicPath: string;
519
+ width: number;
520
+ height: number;
521
+ size: number;
522
+ format: string;
523
+ };
524
+ };
525
+ processingStatus: "completed" | "failed";
526
+ processingError: string | null;
527
+ format: string;
528
+ quality: number;
529
+ exifStripped: boolean;
530
+ createdAt: Date;
531
+ updatedAt: Date;
532
+ } | undefined;
533
+ createdAt: Date;
534
+ updatedAt: Date;
535
+ } | null | undefined;
536
+ bannerFile?: {
537
+ id: string;
538
+ projectId: string;
539
+ userId: string | null;
540
+ entityId: string | null;
541
+ commentId: string | null;
542
+ spaceId: string | null;
543
+ type: "image" | "video" | "document" | "other";
544
+ originalPath: string;
545
+ originalSize: number;
546
+ originalMimeType: string;
547
+ position: number;
548
+ metadata: {
549
+ [x: string]: any;
550
+ };
551
+ image?: {
552
+ fileId: string;
553
+ originalWidth: number;
554
+ originalHeight: number;
555
+ variants: {
556
+ [x: string]: {
557
+ path: string;
558
+ publicPath: string;
559
+ width: number;
560
+ height: number;
561
+ size: number;
562
+ format: string;
563
+ };
564
+ };
565
+ processingStatus: "completed" | "failed";
566
+ processingError: string | null;
567
+ format: string;
568
+ quality: number;
569
+ exifStripped: boolean;
570
+ createdAt: Date;
571
+ updatedAt: Date;
572
+ } | undefined;
573
+ createdAt: Date;
574
+ updatedAt: Date;
575
+ } | null | undefined;
146
576
  bio: string | null;
147
577
  birthdate: Date | null;
578
+ location: {
579
+ type: "Point";
580
+ coordinates: [number, number];
581
+ } | null;
148
582
  metadata: {
149
583
  [x: string]: any;
150
584
  };
@@ -153,6 +587,7 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
153
587
  isActive: boolean;
154
588
  lastActive: Date;
155
589
  createdAt: Date;
590
+ updatedAt: Date;
156
591
  suspensions: {
157
592
  reason: string | null;
158
593
  startDate: Date;
@@ -174,8 +609,94 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
174
609
  name: string | null;
175
610
  username: string | null;
176
611
  avatar: string | null;
612
+ avatarFileId: string | null;
613
+ bannerFileId: string | null;
614
+ avatarFile?: {
615
+ id: string;
616
+ projectId: string;
617
+ userId: string | null;
618
+ entityId: string | null;
619
+ commentId: string | null;
620
+ spaceId: string | null;
621
+ type: "image" | "video" | "document" | "other";
622
+ originalPath: string;
623
+ originalSize: number;
624
+ originalMimeType: string;
625
+ position: number;
626
+ metadata: {
627
+ [x: string]: any;
628
+ };
629
+ image?: {
630
+ fileId: string;
631
+ originalWidth: number;
632
+ originalHeight: number;
633
+ variants: {
634
+ [x: string]: {
635
+ path: string;
636
+ publicPath: string;
637
+ width: number;
638
+ height: number;
639
+ size: number;
640
+ format: string;
641
+ };
642
+ };
643
+ processingStatus: "completed" | "failed";
644
+ processingError: string | null;
645
+ format: string;
646
+ quality: number;
647
+ exifStripped: boolean;
648
+ createdAt: Date;
649
+ updatedAt: Date;
650
+ } | undefined;
651
+ createdAt: Date;
652
+ updatedAt: Date;
653
+ } | null | undefined;
654
+ bannerFile?: {
655
+ id: string;
656
+ projectId: string;
657
+ userId: string | null;
658
+ entityId: string | null;
659
+ commentId: string | null;
660
+ spaceId: string | null;
661
+ type: "image" | "video" | "document" | "other";
662
+ originalPath: string;
663
+ originalSize: number;
664
+ originalMimeType: string;
665
+ position: number;
666
+ metadata: {
667
+ [x: string]: any;
668
+ };
669
+ image?: {
670
+ fileId: string;
671
+ originalWidth: number;
672
+ originalHeight: number;
673
+ variants: {
674
+ [x: string]: {
675
+ path: string;
676
+ publicPath: string;
677
+ width: number;
678
+ height: number;
679
+ size: number;
680
+ format: string;
681
+ };
682
+ };
683
+ processingStatus: "completed" | "failed";
684
+ processingError: string | null;
685
+ format: string;
686
+ quality: number;
687
+ exifStripped: boolean;
688
+ createdAt: Date;
689
+ updatedAt: Date;
690
+ } | undefined;
691
+ createdAt: Date;
692
+ updatedAt: Date;
693
+ } | null | undefined;
177
694
  bio: string | null;
178
695
  birthdate: Date | null;
696
+ location: {
697
+ type: "Point";
698
+ coordinates: [number, number];
699
+ } | null;
179
700
  metadata: {
180
701
  [x: string]: any;
181
702
  };
@@ -184,6 +705,7 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
184
705
  isActive: boolean;
185
706
  lastActive: Date;
186
707
  createdAt: Date;
708
+ updatedAt: Date;
187
709
  suspensions: {
188
710
  reason: string | null;
189
711
  startDate: Date;
@@ -205,8 +727,94 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
205
727
  name: string | null;
206
728
  username: string | null;
207
729
  avatar: string | null;
730
+ avatarFileId: string | null;
731
+ bannerFileId: string | null;
732
+ avatarFile?: {
733
+ id: string;
734
+ projectId: string;
735
+ userId: string | null;
736
+ entityId: string | null;
737
+ commentId: string | null;
738
+ spaceId: string | null;
739
+ type: "image" | "video" | "document" | "other";
740
+ originalPath: string;
741
+ originalSize: number;
742
+ originalMimeType: string;
743
+ position: number;
744
+ metadata: {
745
+ [x: string]: any;
746
+ };
747
+ image?: {
748
+ fileId: string;
749
+ originalWidth: number;
750
+ originalHeight: number;
751
+ variants: {
752
+ [x: string]: {
753
+ path: string;
754
+ publicPath: string;
755
+ width: number;
756
+ height: number;
757
+ size: number;
758
+ format: string;
759
+ };
760
+ };
761
+ processingStatus: "completed" | "failed";
762
+ processingError: string | null;
763
+ format: string;
764
+ quality: number;
765
+ exifStripped: boolean;
766
+ createdAt: Date;
767
+ updatedAt: Date;
768
+ } | undefined;
769
+ createdAt: Date;
770
+ updatedAt: Date;
771
+ } | null | undefined;
772
+ bannerFile?: {
773
+ id: string;
774
+ projectId: string;
775
+ userId: string | null;
776
+ entityId: string | null;
777
+ commentId: string | null;
778
+ spaceId: string | null;
779
+ type: "image" | "video" | "document" | "other";
780
+ originalPath: string;
781
+ originalSize: number;
782
+ originalMimeType: string;
783
+ position: number;
784
+ metadata: {
785
+ [x: string]: any;
786
+ };
787
+ image?: {
788
+ fileId: string;
789
+ originalWidth: number;
790
+ originalHeight: number;
791
+ variants: {
792
+ [x: string]: {
793
+ path: string;
794
+ publicPath: string;
795
+ width: number;
796
+ height: number;
797
+ size: number;
798
+ format: string;
799
+ };
800
+ };
801
+ processingStatus: "completed" | "failed";
802
+ processingError: string | null;
803
+ format: string;
804
+ quality: number;
805
+ exifStripped: boolean;
806
+ createdAt: Date;
807
+ updatedAt: Date;
808
+ } | undefined;
809
+ createdAt: Date;
810
+ updatedAt: Date;
811
+ } | null | undefined;
208
812
  bio: string | null;
209
813
  birthdate: Date | null;
814
+ location: {
815
+ type: "Point";
816
+ coordinates: [number, number];
817
+ } | null;
210
818
  metadata: {
211
819
  [x: string]: any;
212
820
  };
@@ -215,6 +823,7 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
215
823
  isActive: boolean;
216
824
  lastActive: Date;
217
825
  createdAt: Date;
826
+ updatedAt: Date;
218
827
  suspensions: {
219
828
  reason: string | null;
220
829
  startDate: Date;
@@ -236,8 +845,94 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
236
845
  name: string | null;
237
846
  username: string | null;
238
847
  avatar: string | null;
848
+ avatarFileId: string | null;
849
+ bannerFileId: string | null;
850
+ avatarFile?: {
851
+ id: string;
852
+ projectId: string;
853
+ userId: string | null;
854
+ entityId: string | null;
855
+ commentId: string | null;
856
+ spaceId: string | null;
857
+ type: "image" | "video" | "document" | "other";
858
+ originalPath: string;
859
+ originalSize: number;
860
+ originalMimeType: string;
861
+ position: number;
862
+ metadata: {
863
+ [x: string]: any;
864
+ };
865
+ image?: {
866
+ fileId: string;
867
+ originalWidth: number;
868
+ originalHeight: number;
869
+ variants: {
870
+ [x: string]: {
871
+ path: string;
872
+ publicPath: string;
873
+ width: number;
874
+ height: number;
875
+ size: number;
876
+ format: string;
877
+ };
878
+ };
879
+ processingStatus: "completed" | "failed";
880
+ processingError: string | null;
881
+ format: string;
882
+ quality: number;
883
+ exifStripped: boolean;
884
+ createdAt: Date;
885
+ updatedAt: Date;
886
+ } | undefined;
887
+ createdAt: Date;
888
+ updatedAt: Date;
889
+ } | null | undefined;
890
+ bannerFile?: {
891
+ id: string;
892
+ projectId: string;
893
+ userId: string | null;
894
+ entityId: string | null;
895
+ commentId: string | null;
896
+ spaceId: string | null;
897
+ type: "image" | "video" | "document" | "other";
898
+ originalPath: string;
899
+ originalSize: number;
900
+ originalMimeType: string;
901
+ position: number;
902
+ metadata: {
903
+ [x: string]: any;
904
+ };
905
+ image?: {
906
+ fileId: string;
907
+ originalWidth: number;
908
+ originalHeight: number;
909
+ variants: {
910
+ [x: string]: {
911
+ path: string;
912
+ publicPath: string;
913
+ width: number;
914
+ height: number;
915
+ size: number;
916
+ format: string;
917
+ };
918
+ };
919
+ processingStatus: "completed" | "failed";
920
+ processingError: string | null;
921
+ format: string;
922
+ quality: number;
923
+ exifStripped: boolean;
924
+ createdAt: Date;
925
+ updatedAt: Date;
926
+ } | undefined;
927
+ createdAt: Date;
928
+ updatedAt: Date;
929
+ } | null | undefined;
239
930
  bio: string | null;
240
931
  birthdate: Date | null;
932
+ location: {
933
+ type: "Point";
934
+ coordinates: [number, number];
935
+ } | null;
241
936
  metadata: {
242
937
  [x: string]: any;
243
938
  };
@@ -246,6 +941,7 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
246
941
  isActive: boolean;
247
942
  lastActive: Date;
248
943
  createdAt: Date;
944
+ updatedAt: Date;
249
945
  suspensions: {
250
946
  reason: string | null;
251
947
  startDate: Date;