@replyke/core 7.0.0-beta.36 → 7.0.0-beta.38

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 (39) hide show
  1. package/dist/cjs/hooks/auth/useAuth.d.ts +4 -0
  2. package/dist/cjs/hooks/auth/useAuth.js.map +1 -1
  3. package/dist/cjs/hooks/comments/useCommentSectionData.js +1 -1
  4. package/dist/cjs/hooks/comments/useCommentSectionData.js.map +1 -1
  5. package/dist/cjs/hooks/users/useUpdateUser.d.ts +4 -0
  6. package/dist/cjs/hooks/users/useUpdateUser.js +43 -5
  7. package/dist/cjs/hooks/users/useUpdateUser.js.map +1 -1
  8. package/dist/cjs/index.d.ts +1 -0
  9. package/dist/cjs/interfaces/models/Entity.d.ts +2 -38
  10. package/dist/cjs/interfaces/models/File.d.ts +38 -0
  11. package/dist/cjs/interfaces/models/File.js +3 -0
  12. package/dist/cjs/interfaces/models/File.js.map +1 -0
  13. package/dist/cjs/interfaces/models/Space.d.ts +7 -3
  14. package/dist/cjs/interfaces/models/User.d.ts +5 -0
  15. package/dist/cjs/store/slices/authThunks.d.ts +4 -0
  16. package/dist/cjs/store/slices/authThunks.js +51 -10
  17. package/dist/cjs/store/slices/authThunks.js.map +1 -1
  18. package/dist/cjs/store/slices/entityListsSlice.d.ts +3000 -72
  19. package/dist/cjs/store/slices/spaceListsSlice.d.ts +984 -24
  20. package/dist/esm/hooks/auth/useAuth.d.ts +4 -0
  21. package/dist/esm/hooks/auth/useAuth.js.map +1 -1
  22. package/dist/esm/hooks/comments/useCommentSectionData.js +1 -1
  23. package/dist/esm/hooks/comments/useCommentSectionData.js.map +1 -1
  24. package/dist/esm/hooks/users/useUpdateUser.d.ts +4 -0
  25. package/dist/esm/hooks/users/useUpdateUser.js +43 -5
  26. package/dist/esm/hooks/users/useUpdateUser.js.map +1 -1
  27. package/dist/esm/index.d.ts +1 -0
  28. package/dist/esm/interfaces/models/Entity.d.ts +2 -38
  29. package/dist/esm/interfaces/models/File.d.ts +38 -0
  30. package/dist/esm/interfaces/models/File.js +2 -0
  31. package/dist/esm/interfaces/models/File.js.map +1 -0
  32. package/dist/esm/interfaces/models/Space.d.ts +7 -3
  33. package/dist/esm/interfaces/models/User.d.ts +5 -0
  34. package/dist/esm/store/slices/authThunks.d.ts +4 -0
  35. package/dist/esm/store/slices/authThunks.js +51 -10
  36. package/dist/esm/store/slices/authThunks.js.map +1 -1
  37. package/dist/esm/store/slices/entityListsSlice.d.ts +3000 -72
  38. package/dist/esm/store/slices/spaceListsSlice.d.ts +984 -24
  39. package/package.json +1 -1
@@ -113,8 +113,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
113
113
  slug: string | null;
114
114
  name: string;
115
115
  description: string | null;
116
- avatar: string | null;
117
- banner: string | null;
116
+ avatarFileId: string | null;
117
+ bannerFileId: string | null;
118
118
  userId: string;
119
119
  readingPermission: import("../..").ReadingPermission;
120
120
  postingPermission: import("../..").PostingPermission;
@@ -130,6 +130,86 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
130
130
  membersCount: number;
131
131
  childSpacesCount: number;
132
132
  isMember?: boolean | undefined;
133
+ avatarFile?: {
134
+ id: string;
135
+ projectId: string;
136
+ userId: string | null;
137
+ entityId: string | null;
138
+ commentId: string | null;
139
+ spaceId: string | null;
140
+ type: "image" | "video" | "document" | "other";
141
+ originalPath: string;
142
+ originalSize: number;
143
+ originalMimeType: string;
144
+ position: number;
145
+ metadata: {
146
+ [x: string]: any;
147
+ };
148
+ image?: {
149
+ fileId: string;
150
+ originalWidth: number;
151
+ originalHeight: number;
152
+ variants: {
153
+ [x: string]: {
154
+ path: string;
155
+ publicPath: string;
156
+ width: number;
157
+ height: number;
158
+ size: number;
159
+ format: string;
160
+ };
161
+ };
162
+ processingStatus: "completed" | "failed";
163
+ processingError: string | null;
164
+ format: string;
165
+ quality: number;
166
+ exifStripped: boolean;
167
+ createdAt: Date;
168
+ updatedAt: Date;
169
+ } | undefined;
170
+ createdAt: Date;
171
+ updatedAt: Date;
172
+ } | undefined;
173
+ bannerFile?: {
174
+ id: string;
175
+ projectId: string;
176
+ userId: string | null;
177
+ entityId: string | null;
178
+ commentId: string | null;
179
+ spaceId: string | null;
180
+ type: "image" | "video" | "document" | "other";
181
+ originalPath: string;
182
+ originalSize: number;
183
+ originalMimeType: string;
184
+ position: number;
185
+ metadata: {
186
+ [x: string]: any;
187
+ };
188
+ image?: {
189
+ fileId: string;
190
+ originalWidth: number;
191
+ originalHeight: number;
192
+ variants: {
193
+ [x: string]: {
194
+ path: string;
195
+ publicPath: string;
196
+ width: number;
197
+ height: number;
198
+ size: number;
199
+ format: string;
200
+ };
201
+ };
202
+ processingStatus: "completed" | "failed";
203
+ processingError: string | null;
204
+ format: string;
205
+ quality: number;
206
+ exifStripped: boolean;
207
+ createdAt: Date;
208
+ updatedAt: Date;
209
+ } | undefined;
210
+ createdAt: Date;
211
+ updatedAt: Date;
212
+ } | undefined;
133
213
  } | null | undefined;
134
214
  user?: {
135
215
  id: string;
@@ -146,6 +226,88 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
146
226
  };
147
227
  reputation: number;
148
228
  createdAt: Date;
229
+ avatarFileId: string | null;
230
+ bannerFileId: string | null;
231
+ avatarFile?: {
232
+ id: string;
233
+ projectId: string;
234
+ userId: string | null;
235
+ entityId: string | null;
236
+ commentId: string | null;
237
+ spaceId: string | null;
238
+ type: "image" | "video" | "document" | "other";
239
+ originalPath: string;
240
+ originalSize: number;
241
+ originalMimeType: string;
242
+ position: number;
243
+ metadata: {
244
+ [x: string]: any;
245
+ };
246
+ image?: {
247
+ fileId: string;
248
+ originalWidth: number;
249
+ originalHeight: number;
250
+ variants: {
251
+ [x: string]: {
252
+ path: string;
253
+ publicPath: string;
254
+ width: number;
255
+ height: number;
256
+ size: number;
257
+ format: string;
258
+ };
259
+ };
260
+ processingStatus: "completed" | "failed";
261
+ processingError: string | null;
262
+ format: string;
263
+ quality: number;
264
+ exifStripped: boolean;
265
+ createdAt: Date;
266
+ updatedAt: Date;
267
+ } | undefined;
268
+ createdAt: Date;
269
+ updatedAt: Date;
270
+ } | null | undefined;
271
+ bannerFile?: {
272
+ id: string;
273
+ projectId: string;
274
+ userId: string | null;
275
+ entityId: string | null;
276
+ commentId: string | null;
277
+ spaceId: string | null;
278
+ type: "image" | "video" | "document" | "other";
279
+ originalPath: string;
280
+ originalSize: number;
281
+ originalMimeType: string;
282
+ position: number;
283
+ metadata: {
284
+ [x: string]: any;
285
+ };
286
+ image?: {
287
+ fileId: string;
288
+ originalWidth: number;
289
+ originalHeight: number;
290
+ variants: {
291
+ [x: string]: {
292
+ path: string;
293
+ publicPath: string;
294
+ width: number;
295
+ height: number;
296
+ size: number;
297
+ format: string;
298
+ };
299
+ };
300
+ processingStatus: "completed" | "failed";
301
+ processingError: string | null;
302
+ format: string;
303
+ quality: number;
304
+ exifStripped: boolean;
305
+ createdAt: Date;
306
+ updatedAt: Date;
307
+ } | undefined;
308
+ createdAt: Date;
309
+ updatedAt: Date;
310
+ } | null | undefined;
149
311
  location: {
150
312
  type: "Point";
151
313
  coordinates: [number, number];
@@ -195,11 +357,11 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
195
357
  format: string;
196
358
  quality: number;
197
359
  exifStripped: boolean;
198
- createdAt: string;
199
- updatedAt: string;
360
+ createdAt: Date;
361
+ updatedAt: Date;
200
362
  } | undefined;
201
- createdAt: string;
202
- updatedAt: string;
363
+ createdAt: Date;
364
+ updatedAt: Date;
203
365
  }[] | undefined;
204
366
  keywords: string[];
205
367
  upvotes: string[];
@@ -243,6 +405,88 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
243
405
  };
244
406
  reputation: number;
245
407
  createdAt: Date;
408
+ avatarFileId: string | null;
409
+ bannerFileId: string | null;
410
+ avatarFile?: {
411
+ id: string;
412
+ projectId: string;
413
+ userId: string | null;
414
+ entityId: string | null;
415
+ commentId: string | null;
416
+ spaceId: string | null;
417
+ type: "image" | "video" | "document" | "other";
418
+ originalPath: string;
419
+ originalSize: number;
420
+ originalMimeType: string;
421
+ position: number;
422
+ metadata: {
423
+ [x: string]: any;
424
+ };
425
+ image?: {
426
+ fileId: string;
427
+ originalWidth: number;
428
+ originalHeight: number;
429
+ variants: {
430
+ [x: string]: {
431
+ path: string;
432
+ publicPath: string;
433
+ width: number;
434
+ height: number;
435
+ size: number;
436
+ format: string;
437
+ };
438
+ };
439
+ processingStatus: "completed" | "failed";
440
+ processingError: string | null;
441
+ format: string;
442
+ quality: number;
443
+ exifStripped: boolean;
444
+ createdAt: Date;
445
+ updatedAt: Date;
446
+ } | undefined;
447
+ createdAt: Date;
448
+ updatedAt: Date;
449
+ } | null | undefined;
450
+ bannerFile?: {
451
+ id: string;
452
+ projectId: string;
453
+ userId: string | null;
454
+ entityId: string | null;
455
+ commentId: string | null;
456
+ spaceId: string | null;
457
+ type: "image" | "video" | "document" | "other";
458
+ originalPath: string;
459
+ originalSize: number;
460
+ originalMimeType: string;
461
+ position: number;
462
+ metadata: {
463
+ [x: string]: any;
464
+ };
465
+ image?: {
466
+ fileId: string;
467
+ originalWidth: number;
468
+ originalHeight: number;
469
+ variants: {
470
+ [x: string]: {
471
+ path: string;
472
+ publicPath: string;
473
+ width: number;
474
+ height: number;
475
+ size: number;
476
+ format: string;
477
+ };
478
+ };
479
+ processingStatus: "completed" | "failed";
480
+ processingError: string | null;
481
+ format: string;
482
+ quality: number;
483
+ exifStripped: boolean;
484
+ createdAt: Date;
485
+ updatedAt: Date;
486
+ } | undefined;
487
+ createdAt: Date;
488
+ updatedAt: Date;
489
+ } | null | undefined;
246
490
  location: {
247
491
  type: "Point";
248
492
  coordinates: [number, number];
@@ -327,8 +571,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
327
571
  slug: string | null;
328
572
  name: string;
329
573
  description: string | null;
330
- avatar: string | null;
331
- banner: string | null;
574
+ avatarFileId: string | null;
575
+ bannerFileId: string | null;
332
576
  userId: string;
333
577
  readingPermission: import("../..").ReadingPermission;
334
578
  postingPermission: import("../..").PostingPermission;
@@ -344,6 +588,86 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
344
588
  membersCount: number;
345
589
  childSpacesCount: number;
346
590
  isMember?: boolean | undefined;
591
+ avatarFile?: {
592
+ id: string;
593
+ projectId: string;
594
+ userId: string | null;
595
+ entityId: string | null;
596
+ commentId: string | null;
597
+ spaceId: string | null;
598
+ type: "image" | "video" | "document" | "other";
599
+ originalPath: string;
600
+ originalSize: number;
601
+ originalMimeType: string;
602
+ position: number;
603
+ metadata: {
604
+ [x: string]: any;
605
+ };
606
+ image?: {
607
+ fileId: string;
608
+ originalWidth: number;
609
+ originalHeight: number;
610
+ variants: {
611
+ [x: string]: {
612
+ path: string;
613
+ publicPath: string;
614
+ width: number;
615
+ height: number;
616
+ size: number;
617
+ format: string;
618
+ };
619
+ };
620
+ processingStatus: "completed" | "failed";
621
+ processingError: string | null;
622
+ format: string;
623
+ quality: number;
624
+ exifStripped: boolean;
625
+ createdAt: Date;
626
+ updatedAt: Date;
627
+ } | undefined;
628
+ createdAt: Date;
629
+ updatedAt: Date;
630
+ } | undefined;
631
+ bannerFile?: {
632
+ id: string;
633
+ projectId: string;
634
+ userId: string | null;
635
+ entityId: string | null;
636
+ commentId: string | null;
637
+ spaceId: string | null;
638
+ type: "image" | "video" | "document" | "other";
639
+ originalPath: string;
640
+ originalSize: number;
641
+ originalMimeType: string;
642
+ position: number;
643
+ metadata: {
644
+ [x: string]: any;
645
+ };
646
+ image?: {
647
+ fileId: string;
648
+ originalWidth: number;
649
+ originalHeight: number;
650
+ variants: {
651
+ [x: string]: {
652
+ path: string;
653
+ publicPath: string;
654
+ width: number;
655
+ height: number;
656
+ size: number;
657
+ format: string;
658
+ };
659
+ };
660
+ processingStatus: "completed" | "failed";
661
+ processingError: string | null;
662
+ format: string;
663
+ quality: number;
664
+ exifStripped: boolean;
665
+ createdAt: Date;
666
+ updatedAt: Date;
667
+ } | undefined;
668
+ createdAt: Date;
669
+ updatedAt: Date;
670
+ } | undefined;
347
671
  } | null | undefined;
348
672
  user?: {
349
673
  id: string;
@@ -360,6 +684,88 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
360
684
  };
361
685
  reputation: number;
362
686
  createdAt: Date;
687
+ avatarFileId: string | null;
688
+ bannerFileId: string | null;
689
+ avatarFile?: {
690
+ id: string;
691
+ projectId: string;
692
+ userId: string | null;
693
+ entityId: string | null;
694
+ commentId: string | null;
695
+ spaceId: string | null;
696
+ type: "image" | "video" | "document" | "other";
697
+ originalPath: string;
698
+ originalSize: number;
699
+ originalMimeType: string;
700
+ position: number;
701
+ metadata: {
702
+ [x: string]: any;
703
+ };
704
+ image?: {
705
+ fileId: string;
706
+ originalWidth: number;
707
+ originalHeight: number;
708
+ variants: {
709
+ [x: string]: {
710
+ path: string;
711
+ publicPath: string;
712
+ width: number;
713
+ height: number;
714
+ size: number;
715
+ format: string;
716
+ };
717
+ };
718
+ processingStatus: "completed" | "failed";
719
+ processingError: string | null;
720
+ format: string;
721
+ quality: number;
722
+ exifStripped: boolean;
723
+ createdAt: Date;
724
+ updatedAt: Date;
725
+ } | undefined;
726
+ createdAt: Date;
727
+ updatedAt: Date;
728
+ } | null | undefined;
729
+ bannerFile?: {
730
+ id: string;
731
+ projectId: string;
732
+ userId: string | null;
733
+ entityId: string | null;
734
+ commentId: string | null;
735
+ spaceId: string | null;
736
+ type: "image" | "video" | "document" | "other";
737
+ originalPath: string;
738
+ originalSize: number;
739
+ originalMimeType: string;
740
+ position: number;
741
+ metadata: {
742
+ [x: string]: any;
743
+ };
744
+ image?: {
745
+ fileId: string;
746
+ originalWidth: number;
747
+ originalHeight: number;
748
+ variants: {
749
+ [x: string]: {
750
+ path: string;
751
+ publicPath: string;
752
+ width: number;
753
+ height: number;
754
+ size: number;
755
+ format: string;
756
+ };
757
+ };
758
+ processingStatus: "completed" | "failed";
759
+ processingError: string | null;
760
+ format: string;
761
+ quality: number;
762
+ exifStripped: boolean;
763
+ createdAt: Date;
764
+ updatedAt: Date;
765
+ } | undefined;
766
+ createdAt: Date;
767
+ updatedAt: Date;
768
+ } | null | undefined;
363
769
  location: {
364
770
  type: "Point";
365
771
  coordinates: [number, number];
@@ -409,11 +815,11 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
409
815
  format: string;
410
816
  quality: number;
411
817
  exifStripped: boolean;
412
- createdAt: string;
413
- updatedAt: string;
818
+ createdAt: Date;
819
+ updatedAt: Date;
414
820
  } | undefined;
415
- createdAt: string;
416
- updatedAt: string;
821
+ createdAt: Date;
822
+ updatedAt: Date;
417
823
  }[] | undefined;
418
824
  keywords: string[];
419
825
  upvotes: string[];
@@ -457,6 +863,88 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
457
863
  };
458
864
  reputation: number;
459
865
  createdAt: Date;
866
+ avatarFileId: string | null;
867
+ bannerFileId: string | null;
868
+ avatarFile?: {
869
+ id: string;
870
+ projectId: string;
871
+ userId: string | null;
872
+ entityId: string | null;
873
+ commentId: string | null;
874
+ spaceId: string | null;
875
+ type: "image" | "video" | "document" | "other";
876
+ originalPath: string;
877
+ originalSize: number;
878
+ originalMimeType: string;
879
+ position: number;
880
+ metadata: {
881
+ [x: string]: any;
882
+ };
883
+ image?: {
884
+ fileId: string;
885
+ originalWidth: number;
886
+ originalHeight: number;
887
+ variants: {
888
+ [x: string]: {
889
+ path: string;
890
+ publicPath: string;
891
+ width: number;
892
+ height: number;
893
+ size: number;
894
+ format: string;
895
+ };
896
+ };
897
+ processingStatus: "completed" | "failed";
898
+ processingError: string | null;
899
+ format: string;
900
+ quality: number;
901
+ exifStripped: boolean;
902
+ createdAt: Date;
903
+ updatedAt: Date;
904
+ } | undefined;
905
+ createdAt: Date;
906
+ updatedAt: Date;
907
+ } | null | undefined;
908
+ bannerFile?: {
909
+ id: string;
910
+ projectId: string;
911
+ userId: string | null;
912
+ entityId: string | null;
913
+ commentId: string | null;
914
+ spaceId: string | null;
915
+ type: "image" | "video" | "document" | "other";
916
+ originalPath: string;
917
+ originalSize: number;
918
+ originalMimeType: string;
919
+ position: number;
920
+ metadata: {
921
+ [x: string]: any;
922
+ };
923
+ image?: {
924
+ fileId: string;
925
+ originalWidth: number;
926
+ originalHeight: number;
927
+ variants: {
928
+ [x: string]: {
929
+ path: string;
930
+ publicPath: string;
931
+ width: number;
932
+ height: number;
933
+ size: number;
934
+ format: string;
935
+ };
936
+ };
937
+ processingStatus: "completed" | "failed";
938
+ processingError: string | null;
939
+ format: string;
940
+ quality: number;
941
+ exifStripped: boolean;
942
+ createdAt: Date;
943
+ updatedAt: Date;
944
+ } | undefined;
945
+ createdAt: Date;
946
+ updatedAt: Date;
947
+ } | null | undefined;
460
948
  location: {
461
949
  type: "Point";
462
950
  coordinates: [number, number];
@@ -541,8 +1029,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
541
1029
  slug: string | null;
542
1030
  name: string;
543
1031
  description: string | null;
544
- avatar: string | null;
545
- banner: string | null;
1032
+ avatarFileId: string | null;
1033
+ bannerFileId: string | null;
546
1034
  userId: string;
547
1035
  readingPermission: import("../..").ReadingPermission;
548
1036
  postingPermission: import("../..").PostingPermission;
@@ -558,6 +1046,86 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
558
1046
  membersCount: number;
559
1047
  childSpacesCount: number;
560
1048
  isMember?: boolean | undefined;
1049
+ avatarFile?: {
1050
+ id: string;
1051
+ projectId: string;
1052
+ userId: string | null;
1053
+ entityId: string | null;
1054
+ commentId: string | null;
1055
+ spaceId: string | null;
1056
+ type: "image" | "video" | "document" | "other";
1057
+ originalPath: string;
1058
+ originalSize: number;
1059
+ originalMimeType: string;
1060
+ position: number;
1061
+ metadata: {
1062
+ [x: string]: any;
1063
+ };
1064
+ image?: {
1065
+ fileId: string;
1066
+ originalWidth: number;
1067
+ originalHeight: number;
1068
+ variants: {
1069
+ [x: string]: {
1070
+ path: string;
1071
+ publicPath: string;
1072
+ width: number;
1073
+ height: number;
1074
+ size: number;
1075
+ format: string;
1076
+ };
1077
+ };
1078
+ processingStatus: "completed" | "failed";
1079
+ processingError: string | null;
1080
+ format: string;
1081
+ quality: number;
1082
+ exifStripped: boolean;
1083
+ createdAt: Date;
1084
+ updatedAt: Date;
1085
+ } | undefined;
1086
+ createdAt: Date;
1087
+ updatedAt: Date;
1088
+ } | undefined;
1089
+ bannerFile?: {
1090
+ id: string;
1091
+ projectId: string;
1092
+ userId: string | null;
1093
+ entityId: string | null;
1094
+ commentId: string | null;
1095
+ spaceId: string | null;
1096
+ type: "image" | "video" | "document" | "other";
1097
+ originalPath: string;
1098
+ originalSize: number;
1099
+ originalMimeType: string;
1100
+ position: number;
1101
+ metadata: {
1102
+ [x: string]: any;
1103
+ };
1104
+ image?: {
1105
+ fileId: string;
1106
+ originalWidth: number;
1107
+ originalHeight: number;
1108
+ variants: {
1109
+ [x: string]: {
1110
+ path: string;
1111
+ publicPath: string;
1112
+ width: number;
1113
+ height: number;
1114
+ size: number;
1115
+ format: string;
1116
+ };
1117
+ };
1118
+ processingStatus: "completed" | "failed";
1119
+ processingError: string | null;
1120
+ format: string;
1121
+ quality: number;
1122
+ exifStripped: boolean;
1123
+ createdAt: Date;
1124
+ updatedAt: Date;
1125
+ } | undefined;
1126
+ createdAt: Date;
1127
+ updatedAt: Date;
1128
+ } | undefined;
561
1129
  } | null | undefined;
562
1130
  user?: {
563
1131
  id: string;
@@ -574,6 +1142,88 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
574
1142
  };
575
1143
  reputation: number;
576
1144
  createdAt: Date;
1145
+ avatarFileId: string | null;
1146
+ bannerFileId: string | null;
1147
+ avatarFile?: {
1148
+ id: string;
1149
+ projectId: string;
1150
+ userId: string | null;
1151
+ entityId: string | null;
1152
+ commentId: string | null;
1153
+ spaceId: string | null;
1154
+ type: "image" | "video" | "document" | "other";
1155
+ originalPath: string;
1156
+ originalSize: number;
1157
+ originalMimeType: string;
1158
+ position: number;
1159
+ metadata: {
1160
+ [x: string]: any;
1161
+ };
1162
+ image?: {
1163
+ fileId: string;
1164
+ originalWidth: number;
1165
+ originalHeight: number;
1166
+ variants: {
1167
+ [x: string]: {
1168
+ path: string;
1169
+ publicPath: string;
1170
+ width: number;
1171
+ height: number;
1172
+ size: number;
1173
+ format: string;
1174
+ };
1175
+ };
1176
+ processingStatus: "completed" | "failed";
1177
+ processingError: string | null;
1178
+ format: string;
1179
+ quality: number;
1180
+ exifStripped: boolean;
1181
+ createdAt: Date;
1182
+ updatedAt: Date;
1183
+ } | undefined;
1184
+ createdAt: Date;
1185
+ updatedAt: Date;
1186
+ } | null | undefined;
1187
+ bannerFile?: {
1188
+ id: string;
1189
+ projectId: string;
1190
+ userId: string | null;
1191
+ entityId: string | null;
1192
+ commentId: string | null;
1193
+ spaceId: string | null;
1194
+ type: "image" | "video" | "document" | "other";
1195
+ originalPath: string;
1196
+ originalSize: number;
1197
+ originalMimeType: string;
1198
+ position: number;
1199
+ metadata: {
1200
+ [x: string]: any;
1201
+ };
1202
+ image?: {
1203
+ fileId: string;
1204
+ originalWidth: number;
1205
+ originalHeight: number;
1206
+ variants: {
1207
+ [x: string]: {
1208
+ path: string;
1209
+ publicPath: string;
1210
+ width: number;
1211
+ height: number;
1212
+ size: number;
1213
+ format: string;
1214
+ };
1215
+ };
1216
+ processingStatus: "completed" | "failed";
1217
+ processingError: string | null;
1218
+ format: string;
1219
+ quality: number;
1220
+ exifStripped: boolean;
1221
+ createdAt: Date;
1222
+ updatedAt: Date;
1223
+ } | undefined;
1224
+ createdAt: Date;
1225
+ updatedAt: Date;
1226
+ } | null | undefined;
577
1227
  location: {
578
1228
  type: "Point";
579
1229
  coordinates: [number, number];
@@ -623,11 +1273,11 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
623
1273
  format: string;
624
1274
  quality: number;
625
1275
  exifStripped: boolean;
626
- createdAt: string;
627
- updatedAt: string;
1276
+ createdAt: Date;
1277
+ updatedAt: Date;
628
1278
  } | undefined;
629
- createdAt: string;
630
- updatedAt: string;
1279
+ createdAt: Date;
1280
+ updatedAt: Date;
631
1281
  }[] | undefined;
632
1282
  keywords: string[];
633
1283
  upvotes: string[];
@@ -671,6 +1321,88 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
671
1321
  };
672
1322
  reputation: number;
673
1323
  createdAt: Date;
1324
+ avatarFileId: string | null;
1325
+ bannerFileId: string | null;
1326
+ avatarFile?: {
1327
+ id: string;
1328
+ projectId: string;
1329
+ userId: string | null;
1330
+ entityId: string | null;
1331
+ commentId: string | null;
1332
+ spaceId: string | null;
1333
+ type: "image" | "video" | "document" | "other";
1334
+ originalPath: string;
1335
+ originalSize: number;
1336
+ originalMimeType: string;
1337
+ position: number;
1338
+ metadata: {
1339
+ [x: string]: any;
1340
+ };
1341
+ image?: {
1342
+ fileId: string;
1343
+ originalWidth: number;
1344
+ originalHeight: number;
1345
+ variants: {
1346
+ [x: string]: {
1347
+ path: string;
1348
+ publicPath: string;
1349
+ width: number;
1350
+ height: number;
1351
+ size: number;
1352
+ format: string;
1353
+ };
1354
+ };
1355
+ processingStatus: "completed" | "failed";
1356
+ processingError: string | null;
1357
+ format: string;
1358
+ quality: number;
1359
+ exifStripped: boolean;
1360
+ createdAt: Date;
1361
+ updatedAt: Date;
1362
+ } | undefined;
1363
+ createdAt: Date;
1364
+ updatedAt: Date;
1365
+ } | null | undefined;
1366
+ bannerFile?: {
1367
+ id: string;
1368
+ projectId: string;
1369
+ userId: string | null;
1370
+ entityId: string | null;
1371
+ commentId: string | null;
1372
+ spaceId: string | null;
1373
+ type: "image" | "video" | "document" | "other";
1374
+ originalPath: string;
1375
+ originalSize: number;
1376
+ originalMimeType: string;
1377
+ position: number;
1378
+ metadata: {
1379
+ [x: string]: any;
1380
+ };
1381
+ image?: {
1382
+ fileId: string;
1383
+ originalWidth: number;
1384
+ originalHeight: number;
1385
+ variants: {
1386
+ [x: string]: {
1387
+ path: string;
1388
+ publicPath: string;
1389
+ width: number;
1390
+ height: number;
1391
+ size: number;
1392
+ format: string;
1393
+ };
1394
+ };
1395
+ processingStatus: "completed" | "failed";
1396
+ processingError: string | null;
1397
+ format: string;
1398
+ quality: number;
1399
+ exifStripped: boolean;
1400
+ createdAt: Date;
1401
+ updatedAt: Date;
1402
+ } | undefined;
1403
+ createdAt: Date;
1404
+ updatedAt: Date;
1405
+ } | null | undefined;
674
1406
  location: {
675
1407
  type: "Point";
676
1408
  coordinates: [number, number];
@@ -758,8 +1490,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
758
1490
  slug: string | null;
759
1491
  name: string;
760
1492
  description: string | null;
761
- avatar: string | null;
762
- banner: string | null;
1493
+ avatarFileId: string | null;
1494
+ bannerFileId: string | null;
763
1495
  userId: string;
764
1496
  readingPermission: import("../..").ReadingPermission;
765
1497
  postingPermission: import("../..").PostingPermission;
@@ -775,6 +1507,86 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
775
1507
  membersCount: number;
776
1508
  childSpacesCount: number;
777
1509
  isMember?: boolean | undefined;
1510
+ avatarFile?: {
1511
+ id: string;
1512
+ projectId: string;
1513
+ userId: string | null;
1514
+ entityId: string | null;
1515
+ commentId: string | null;
1516
+ spaceId: string | null;
1517
+ type: "image" | "video" | "document" | "other";
1518
+ originalPath: string;
1519
+ originalSize: number;
1520
+ originalMimeType: string;
1521
+ position: number;
1522
+ metadata: {
1523
+ [x: string]: any;
1524
+ };
1525
+ image?: {
1526
+ fileId: string;
1527
+ originalWidth: number;
1528
+ originalHeight: number;
1529
+ variants: {
1530
+ [x: string]: {
1531
+ path: string;
1532
+ publicPath: string;
1533
+ width: number;
1534
+ height: number;
1535
+ size: number;
1536
+ format: string;
1537
+ };
1538
+ };
1539
+ processingStatus: "completed" | "failed";
1540
+ processingError: string | null;
1541
+ format: string;
1542
+ quality: number;
1543
+ exifStripped: boolean;
1544
+ createdAt: Date;
1545
+ updatedAt: Date;
1546
+ } | undefined;
1547
+ createdAt: Date;
1548
+ updatedAt: Date;
1549
+ } | undefined;
1550
+ bannerFile?: {
1551
+ id: string;
1552
+ projectId: string;
1553
+ userId: string | null;
1554
+ entityId: string | null;
1555
+ commentId: string | null;
1556
+ spaceId: string | null;
1557
+ type: "image" | "video" | "document" | "other";
1558
+ originalPath: string;
1559
+ originalSize: number;
1560
+ originalMimeType: string;
1561
+ position: number;
1562
+ metadata: {
1563
+ [x: string]: any;
1564
+ };
1565
+ image?: {
1566
+ fileId: string;
1567
+ originalWidth: number;
1568
+ originalHeight: number;
1569
+ variants: {
1570
+ [x: string]: {
1571
+ path: string;
1572
+ publicPath: string;
1573
+ width: number;
1574
+ height: number;
1575
+ size: number;
1576
+ format: string;
1577
+ };
1578
+ };
1579
+ processingStatus: "completed" | "failed";
1580
+ processingError: string | null;
1581
+ format: string;
1582
+ quality: number;
1583
+ exifStripped: boolean;
1584
+ createdAt: Date;
1585
+ updatedAt: Date;
1586
+ } | undefined;
1587
+ createdAt: Date;
1588
+ updatedAt: Date;
1589
+ } | undefined;
778
1590
  } | null | undefined;
779
1591
  user?: {
780
1592
  id: string;
@@ -791,6 +1603,88 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
791
1603
  };
792
1604
  reputation: number;
793
1605
  createdAt: Date;
1606
+ avatarFileId: string | null;
1607
+ bannerFileId: string | null;
1608
+ avatarFile?: {
1609
+ id: string;
1610
+ projectId: string;
1611
+ userId: string | null;
1612
+ entityId: string | null;
1613
+ commentId: string | null;
1614
+ spaceId: string | null;
1615
+ type: "image" | "video" | "document" | "other";
1616
+ originalPath: string;
1617
+ originalSize: number;
1618
+ originalMimeType: string;
1619
+ position: number;
1620
+ metadata: {
1621
+ [x: string]: any;
1622
+ };
1623
+ image?: {
1624
+ fileId: string;
1625
+ originalWidth: number;
1626
+ originalHeight: number;
1627
+ variants: {
1628
+ [x: string]: {
1629
+ path: string;
1630
+ publicPath: string;
1631
+ width: number;
1632
+ height: number;
1633
+ size: number;
1634
+ format: string;
1635
+ };
1636
+ };
1637
+ processingStatus: "completed" | "failed";
1638
+ processingError: string | null;
1639
+ format: string;
1640
+ quality: number;
1641
+ exifStripped: boolean;
1642
+ createdAt: Date;
1643
+ updatedAt: Date;
1644
+ } | undefined;
1645
+ createdAt: Date;
1646
+ updatedAt: Date;
1647
+ } | null | undefined;
1648
+ bannerFile?: {
1649
+ id: string;
1650
+ projectId: string;
1651
+ userId: string | null;
1652
+ entityId: string | null;
1653
+ commentId: string | null;
1654
+ spaceId: string | null;
1655
+ type: "image" | "video" | "document" | "other";
1656
+ originalPath: string;
1657
+ originalSize: number;
1658
+ originalMimeType: string;
1659
+ position: number;
1660
+ metadata: {
1661
+ [x: string]: any;
1662
+ };
1663
+ image?: {
1664
+ fileId: string;
1665
+ originalWidth: number;
1666
+ originalHeight: number;
1667
+ variants: {
1668
+ [x: string]: {
1669
+ path: string;
1670
+ publicPath: string;
1671
+ width: number;
1672
+ height: number;
1673
+ size: number;
1674
+ format: string;
1675
+ };
1676
+ };
1677
+ processingStatus: "completed" | "failed";
1678
+ processingError: string | null;
1679
+ format: string;
1680
+ quality: number;
1681
+ exifStripped: boolean;
1682
+ createdAt: Date;
1683
+ updatedAt: Date;
1684
+ } | undefined;
1685
+ createdAt: Date;
1686
+ updatedAt: Date;
1687
+ } | null | undefined;
794
1688
  location: {
795
1689
  type: "Point";
796
1690
  coordinates: [number, number];
@@ -840,11 +1734,11 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
840
1734
  format: string;
841
1735
  quality: number;
842
1736
  exifStripped: boolean;
843
- createdAt: string;
844
- updatedAt: string;
1737
+ createdAt: Date;
1738
+ updatedAt: Date;
845
1739
  } | undefined;
846
- createdAt: string;
847
- updatedAt: string;
1740
+ createdAt: Date;
1741
+ updatedAt: Date;
848
1742
  }[] | undefined;
849
1743
  keywords: string[];
850
1744
  upvotes: string[];
@@ -888,6 +1782,88 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
888
1782
  };
889
1783
  reputation: number;
890
1784
  createdAt: Date;
1785
+ avatarFileId: string | null;
1786
+ bannerFileId: string | null;
1787
+ avatarFile?: {
1788
+ id: string;
1789
+ projectId: string;
1790
+ userId: string | null;
1791
+ entityId: string | null;
1792
+ commentId: string | null;
1793
+ spaceId: string | null;
1794
+ type: "image" | "video" | "document" | "other";
1795
+ originalPath: string;
1796
+ originalSize: number;
1797
+ originalMimeType: string;
1798
+ position: number;
1799
+ metadata: {
1800
+ [x: string]: any;
1801
+ };
1802
+ image?: {
1803
+ fileId: string;
1804
+ originalWidth: number;
1805
+ originalHeight: number;
1806
+ variants: {
1807
+ [x: string]: {
1808
+ path: string;
1809
+ publicPath: string;
1810
+ width: number;
1811
+ height: number;
1812
+ size: number;
1813
+ format: string;
1814
+ };
1815
+ };
1816
+ processingStatus: "completed" | "failed";
1817
+ processingError: string | null;
1818
+ format: string;
1819
+ quality: number;
1820
+ exifStripped: boolean;
1821
+ createdAt: Date;
1822
+ updatedAt: Date;
1823
+ } | undefined;
1824
+ createdAt: Date;
1825
+ updatedAt: Date;
1826
+ } | null | undefined;
1827
+ bannerFile?: {
1828
+ id: string;
1829
+ projectId: string;
1830
+ userId: string | null;
1831
+ entityId: string | null;
1832
+ commentId: string | null;
1833
+ spaceId: string | null;
1834
+ type: "image" | "video" | "document" | "other";
1835
+ originalPath: string;
1836
+ originalSize: number;
1837
+ originalMimeType: string;
1838
+ position: number;
1839
+ metadata: {
1840
+ [x: string]: any;
1841
+ };
1842
+ image?: {
1843
+ fileId: string;
1844
+ originalWidth: number;
1845
+ originalHeight: number;
1846
+ variants: {
1847
+ [x: string]: {
1848
+ path: string;
1849
+ publicPath: string;
1850
+ width: number;
1851
+ height: number;
1852
+ size: number;
1853
+ format: string;
1854
+ };
1855
+ };
1856
+ processingStatus: "completed" | "failed";
1857
+ processingError: string | null;
1858
+ format: string;
1859
+ quality: number;
1860
+ exifStripped: boolean;
1861
+ createdAt: Date;
1862
+ updatedAt: Date;
1863
+ } | undefined;
1864
+ createdAt: Date;
1865
+ updatedAt: Date;
1866
+ } | null | undefined;
891
1867
  location: {
892
1868
  type: "Point";
893
1869
  coordinates: [number, number];
@@ -972,8 +1948,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
972
1948
  slug: string | null;
973
1949
  name: string;
974
1950
  description: string | null;
975
- avatar: string | null;
976
- banner: string | null;
1951
+ avatarFileId: string | null;
1952
+ bannerFileId: string | null;
977
1953
  userId: string;
978
1954
  readingPermission: import("../..").ReadingPermission;
979
1955
  postingPermission: import("../..").PostingPermission;
@@ -989,6 +1965,86 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
989
1965
  membersCount: number;
990
1966
  childSpacesCount: number;
991
1967
  isMember?: boolean | undefined;
1968
+ avatarFile?: {
1969
+ id: string;
1970
+ projectId: string;
1971
+ userId: string | null;
1972
+ entityId: string | null;
1973
+ commentId: string | null;
1974
+ spaceId: string | null;
1975
+ type: "image" | "video" | "document" | "other";
1976
+ originalPath: string;
1977
+ originalSize: number;
1978
+ originalMimeType: string;
1979
+ position: number;
1980
+ metadata: {
1981
+ [x: string]: any;
1982
+ };
1983
+ image?: {
1984
+ fileId: string;
1985
+ originalWidth: number;
1986
+ originalHeight: number;
1987
+ variants: {
1988
+ [x: string]: {
1989
+ path: string;
1990
+ publicPath: string;
1991
+ width: number;
1992
+ height: number;
1993
+ size: number;
1994
+ format: string;
1995
+ };
1996
+ };
1997
+ processingStatus: "completed" | "failed";
1998
+ processingError: string | null;
1999
+ format: string;
2000
+ quality: number;
2001
+ exifStripped: boolean;
2002
+ createdAt: Date;
2003
+ updatedAt: Date;
2004
+ } | undefined;
2005
+ createdAt: Date;
2006
+ updatedAt: Date;
2007
+ } | undefined;
2008
+ bannerFile?: {
2009
+ id: string;
2010
+ projectId: string;
2011
+ userId: string | null;
2012
+ entityId: string | null;
2013
+ commentId: string | null;
2014
+ spaceId: string | null;
2015
+ type: "image" | "video" | "document" | "other";
2016
+ originalPath: string;
2017
+ originalSize: number;
2018
+ originalMimeType: string;
2019
+ position: number;
2020
+ metadata: {
2021
+ [x: string]: any;
2022
+ };
2023
+ image?: {
2024
+ fileId: string;
2025
+ originalWidth: number;
2026
+ originalHeight: number;
2027
+ variants: {
2028
+ [x: string]: {
2029
+ path: string;
2030
+ publicPath: string;
2031
+ width: number;
2032
+ height: number;
2033
+ size: number;
2034
+ format: string;
2035
+ };
2036
+ };
2037
+ processingStatus: "completed" | "failed";
2038
+ processingError: string | null;
2039
+ format: string;
2040
+ quality: number;
2041
+ exifStripped: boolean;
2042
+ createdAt: Date;
2043
+ updatedAt: Date;
2044
+ } | undefined;
2045
+ createdAt: Date;
2046
+ updatedAt: Date;
2047
+ } | undefined;
992
2048
  } | null | undefined;
993
2049
  user?: {
994
2050
  id: string;
@@ -1005,6 +2061,88 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1005
2061
  };
1006
2062
  reputation: number;
1007
2063
  createdAt: Date;
2064
+ avatarFileId: string | null;
2065
+ bannerFileId: string | null;
2066
+ avatarFile?: {
2067
+ id: string;
2068
+ projectId: string;
2069
+ userId: string | null;
2070
+ entityId: string | null;
2071
+ commentId: string | null;
2072
+ spaceId: string | null;
2073
+ type: "image" | "video" | "document" | "other";
2074
+ originalPath: string;
2075
+ originalSize: number;
2076
+ originalMimeType: string;
2077
+ position: number;
2078
+ metadata: {
2079
+ [x: string]: any;
2080
+ };
2081
+ image?: {
2082
+ fileId: string;
2083
+ originalWidth: number;
2084
+ originalHeight: number;
2085
+ variants: {
2086
+ [x: string]: {
2087
+ path: string;
2088
+ publicPath: string;
2089
+ width: number;
2090
+ height: number;
2091
+ size: number;
2092
+ format: string;
2093
+ };
2094
+ };
2095
+ processingStatus: "completed" | "failed";
2096
+ processingError: string | null;
2097
+ format: string;
2098
+ quality: number;
2099
+ exifStripped: boolean;
2100
+ createdAt: Date;
2101
+ updatedAt: Date;
2102
+ } | undefined;
2103
+ createdAt: Date;
2104
+ updatedAt: Date;
2105
+ } | null | undefined;
2106
+ bannerFile?: {
2107
+ id: string;
2108
+ projectId: string;
2109
+ userId: string | null;
2110
+ entityId: string | null;
2111
+ commentId: string | null;
2112
+ spaceId: string | null;
2113
+ type: "image" | "video" | "document" | "other";
2114
+ originalPath: string;
2115
+ originalSize: number;
2116
+ originalMimeType: string;
2117
+ position: number;
2118
+ metadata: {
2119
+ [x: string]: any;
2120
+ };
2121
+ image?: {
2122
+ fileId: string;
2123
+ originalWidth: number;
2124
+ originalHeight: number;
2125
+ variants: {
2126
+ [x: string]: {
2127
+ path: string;
2128
+ publicPath: string;
2129
+ width: number;
2130
+ height: number;
2131
+ size: number;
2132
+ format: string;
2133
+ };
2134
+ };
2135
+ processingStatus: "completed" | "failed";
2136
+ processingError: string | null;
2137
+ format: string;
2138
+ quality: number;
2139
+ exifStripped: boolean;
2140
+ createdAt: Date;
2141
+ updatedAt: Date;
2142
+ } | undefined;
2143
+ createdAt: Date;
2144
+ updatedAt: Date;
2145
+ } | null | undefined;
1008
2146
  location: {
1009
2147
  type: "Point";
1010
2148
  coordinates: [number, number];
@@ -1054,11 +2192,11 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1054
2192
  format: string;
1055
2193
  quality: number;
1056
2194
  exifStripped: boolean;
1057
- createdAt: string;
1058
- updatedAt: string;
2195
+ createdAt: Date;
2196
+ updatedAt: Date;
1059
2197
  } | undefined;
1060
- createdAt: string;
1061
- updatedAt: string;
2198
+ createdAt: Date;
2199
+ updatedAt: Date;
1062
2200
  }[] | undefined;
1063
2201
  keywords: string[];
1064
2202
  upvotes: string[];
@@ -1102,6 +2240,88 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1102
2240
  };
1103
2241
  reputation: number;
1104
2242
  createdAt: Date;
2243
+ avatarFileId: string | null;
2244
+ bannerFileId: string | null;
2245
+ avatarFile?: {
2246
+ id: string;
2247
+ projectId: string;
2248
+ userId: string | null;
2249
+ entityId: string | null;
2250
+ commentId: string | null;
2251
+ spaceId: string | null;
2252
+ type: "image" | "video" | "document" | "other";
2253
+ originalPath: string;
2254
+ originalSize: number;
2255
+ originalMimeType: string;
2256
+ position: number;
2257
+ metadata: {
2258
+ [x: string]: any;
2259
+ };
2260
+ image?: {
2261
+ fileId: string;
2262
+ originalWidth: number;
2263
+ originalHeight: number;
2264
+ variants: {
2265
+ [x: string]: {
2266
+ path: string;
2267
+ publicPath: string;
2268
+ width: number;
2269
+ height: number;
2270
+ size: number;
2271
+ format: string;
2272
+ };
2273
+ };
2274
+ processingStatus: "completed" | "failed";
2275
+ processingError: string | null;
2276
+ format: string;
2277
+ quality: number;
2278
+ exifStripped: boolean;
2279
+ createdAt: Date;
2280
+ updatedAt: Date;
2281
+ } | undefined;
2282
+ createdAt: Date;
2283
+ updatedAt: Date;
2284
+ } | null | undefined;
2285
+ bannerFile?: {
2286
+ id: string;
2287
+ projectId: string;
2288
+ userId: string | null;
2289
+ entityId: string | null;
2290
+ commentId: string | null;
2291
+ spaceId: string | null;
2292
+ type: "image" | "video" | "document" | "other";
2293
+ originalPath: string;
2294
+ originalSize: number;
2295
+ originalMimeType: string;
2296
+ position: number;
2297
+ metadata: {
2298
+ [x: string]: any;
2299
+ };
2300
+ image?: {
2301
+ fileId: string;
2302
+ originalWidth: number;
2303
+ originalHeight: number;
2304
+ variants: {
2305
+ [x: string]: {
2306
+ path: string;
2307
+ publicPath: string;
2308
+ width: number;
2309
+ height: number;
2310
+ size: number;
2311
+ format: string;
2312
+ };
2313
+ };
2314
+ processingStatus: "completed" | "failed";
2315
+ processingError: string | null;
2316
+ format: string;
2317
+ quality: number;
2318
+ exifStripped: boolean;
2319
+ createdAt: Date;
2320
+ updatedAt: Date;
2321
+ } | undefined;
2322
+ createdAt: Date;
2323
+ updatedAt: Date;
2324
+ } | null | undefined;
1105
2325
  location: {
1106
2326
  type: "Point";
1107
2327
  coordinates: [number, number];
@@ -1186,8 +2406,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1186
2406
  slug: string | null;
1187
2407
  name: string;
1188
2408
  description: string | null;
1189
- avatar: string | null;
1190
- banner: string | null;
2409
+ avatarFileId: string | null;
2410
+ bannerFileId: string | null;
1191
2411
  userId: string;
1192
2412
  readingPermission: import("../..").ReadingPermission;
1193
2413
  postingPermission: import("../..").PostingPermission;
@@ -1203,6 +2423,86 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1203
2423
  membersCount: number;
1204
2424
  childSpacesCount: number;
1205
2425
  isMember?: boolean | undefined;
2426
+ avatarFile?: {
2427
+ id: string;
2428
+ projectId: string;
2429
+ userId: string | null;
2430
+ entityId: string | null;
2431
+ commentId: string | null;
2432
+ spaceId: string | null;
2433
+ type: "image" | "video" | "document" | "other";
2434
+ originalPath: string;
2435
+ originalSize: number;
2436
+ originalMimeType: string;
2437
+ position: number;
2438
+ metadata: {
2439
+ [x: string]: any;
2440
+ };
2441
+ image?: {
2442
+ fileId: string;
2443
+ originalWidth: number;
2444
+ originalHeight: number;
2445
+ variants: {
2446
+ [x: string]: {
2447
+ path: string;
2448
+ publicPath: string;
2449
+ width: number;
2450
+ height: number;
2451
+ size: number;
2452
+ format: string;
2453
+ };
2454
+ };
2455
+ processingStatus: "completed" | "failed";
2456
+ processingError: string | null;
2457
+ format: string;
2458
+ quality: number;
2459
+ exifStripped: boolean;
2460
+ createdAt: Date;
2461
+ updatedAt: Date;
2462
+ } | undefined;
2463
+ createdAt: Date;
2464
+ updatedAt: Date;
2465
+ } | undefined;
2466
+ bannerFile?: {
2467
+ id: string;
2468
+ projectId: string;
2469
+ userId: string | null;
2470
+ entityId: string | null;
2471
+ commentId: string | null;
2472
+ spaceId: string | null;
2473
+ type: "image" | "video" | "document" | "other";
2474
+ originalPath: string;
2475
+ originalSize: number;
2476
+ originalMimeType: string;
2477
+ position: number;
2478
+ metadata: {
2479
+ [x: string]: any;
2480
+ };
2481
+ image?: {
2482
+ fileId: string;
2483
+ originalWidth: number;
2484
+ originalHeight: number;
2485
+ variants: {
2486
+ [x: string]: {
2487
+ path: string;
2488
+ publicPath: string;
2489
+ width: number;
2490
+ height: number;
2491
+ size: number;
2492
+ format: string;
2493
+ };
2494
+ };
2495
+ processingStatus: "completed" | "failed";
2496
+ processingError: string | null;
2497
+ format: string;
2498
+ quality: number;
2499
+ exifStripped: boolean;
2500
+ createdAt: Date;
2501
+ updatedAt: Date;
2502
+ } | undefined;
2503
+ createdAt: Date;
2504
+ updatedAt: Date;
2505
+ } | undefined;
1206
2506
  } | null | undefined;
1207
2507
  user?: {
1208
2508
  id: string;
@@ -1219,6 +2519,88 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1219
2519
  };
1220
2520
  reputation: number;
1221
2521
  createdAt: Date;
2522
+ avatarFileId: string | null;
2523
+ bannerFileId: string | null;
2524
+ avatarFile?: {
2525
+ id: string;
2526
+ projectId: string;
2527
+ userId: string | null;
2528
+ entityId: string | null;
2529
+ commentId: string | null;
2530
+ spaceId: string | null;
2531
+ type: "image" | "video" | "document" | "other";
2532
+ originalPath: string;
2533
+ originalSize: number;
2534
+ originalMimeType: string;
2535
+ position: number;
2536
+ metadata: {
2537
+ [x: string]: any;
2538
+ };
2539
+ image?: {
2540
+ fileId: string;
2541
+ originalWidth: number;
2542
+ originalHeight: number;
2543
+ variants: {
2544
+ [x: string]: {
2545
+ path: string;
2546
+ publicPath: string;
2547
+ width: number;
2548
+ height: number;
2549
+ size: number;
2550
+ format: string;
2551
+ };
2552
+ };
2553
+ processingStatus: "completed" | "failed";
2554
+ processingError: string | null;
2555
+ format: string;
2556
+ quality: number;
2557
+ exifStripped: boolean;
2558
+ createdAt: Date;
2559
+ updatedAt: Date;
2560
+ } | undefined;
2561
+ createdAt: Date;
2562
+ updatedAt: Date;
2563
+ } | null | undefined;
2564
+ bannerFile?: {
2565
+ id: string;
2566
+ projectId: string;
2567
+ userId: string | null;
2568
+ entityId: string | null;
2569
+ commentId: string | null;
2570
+ spaceId: string | null;
2571
+ type: "image" | "video" | "document" | "other";
2572
+ originalPath: string;
2573
+ originalSize: number;
2574
+ originalMimeType: string;
2575
+ position: number;
2576
+ metadata: {
2577
+ [x: string]: any;
2578
+ };
2579
+ image?: {
2580
+ fileId: string;
2581
+ originalWidth: number;
2582
+ originalHeight: number;
2583
+ variants: {
2584
+ [x: string]: {
2585
+ path: string;
2586
+ publicPath: string;
2587
+ width: number;
2588
+ height: number;
2589
+ size: number;
2590
+ format: string;
2591
+ };
2592
+ };
2593
+ processingStatus: "completed" | "failed";
2594
+ processingError: string | null;
2595
+ format: string;
2596
+ quality: number;
2597
+ exifStripped: boolean;
2598
+ createdAt: Date;
2599
+ updatedAt: Date;
2600
+ } | undefined;
2601
+ createdAt: Date;
2602
+ updatedAt: Date;
2603
+ } | null | undefined;
1222
2604
  location: {
1223
2605
  type: "Point";
1224
2606
  coordinates: [number, number];
@@ -1268,11 +2650,11 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1268
2650
  format: string;
1269
2651
  quality: number;
1270
2652
  exifStripped: boolean;
1271
- createdAt: string;
1272
- updatedAt: string;
2653
+ createdAt: Date;
2654
+ updatedAt: Date;
1273
2655
  } | undefined;
1274
- createdAt: string;
1275
- updatedAt: string;
2656
+ createdAt: Date;
2657
+ updatedAt: Date;
1276
2658
  }[] | undefined;
1277
2659
  keywords: string[];
1278
2660
  upvotes: string[];
@@ -1316,6 +2698,88 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1316
2698
  };
1317
2699
  reputation: number;
1318
2700
  createdAt: Date;
2701
+ avatarFileId: string | null;
2702
+ bannerFileId: string | null;
2703
+ avatarFile?: {
2704
+ id: string;
2705
+ projectId: string;
2706
+ userId: string | null;
2707
+ entityId: string | null;
2708
+ commentId: string | null;
2709
+ spaceId: string | null;
2710
+ type: "image" | "video" | "document" | "other";
2711
+ originalPath: string;
2712
+ originalSize: number;
2713
+ originalMimeType: string;
2714
+ position: number;
2715
+ metadata: {
2716
+ [x: string]: any;
2717
+ };
2718
+ image?: {
2719
+ fileId: string;
2720
+ originalWidth: number;
2721
+ originalHeight: number;
2722
+ variants: {
2723
+ [x: string]: {
2724
+ path: string;
2725
+ publicPath: string;
2726
+ width: number;
2727
+ height: number;
2728
+ size: number;
2729
+ format: string;
2730
+ };
2731
+ };
2732
+ processingStatus: "completed" | "failed";
2733
+ processingError: string | null;
2734
+ format: string;
2735
+ quality: number;
2736
+ exifStripped: boolean;
2737
+ createdAt: Date;
2738
+ updatedAt: Date;
2739
+ } | undefined;
2740
+ createdAt: Date;
2741
+ updatedAt: Date;
2742
+ } | null | undefined;
2743
+ bannerFile?: {
2744
+ id: string;
2745
+ projectId: string;
2746
+ userId: string | null;
2747
+ entityId: string | null;
2748
+ commentId: string | null;
2749
+ spaceId: string | null;
2750
+ type: "image" | "video" | "document" | "other";
2751
+ originalPath: string;
2752
+ originalSize: number;
2753
+ originalMimeType: string;
2754
+ position: number;
2755
+ metadata: {
2756
+ [x: string]: any;
2757
+ };
2758
+ image?: {
2759
+ fileId: string;
2760
+ originalWidth: number;
2761
+ originalHeight: number;
2762
+ variants: {
2763
+ [x: string]: {
2764
+ path: string;
2765
+ publicPath: string;
2766
+ width: number;
2767
+ height: number;
2768
+ size: number;
2769
+ format: string;
2770
+ };
2771
+ };
2772
+ processingStatus: "completed" | "failed";
2773
+ processingError: string | null;
2774
+ format: string;
2775
+ quality: number;
2776
+ exifStripped: boolean;
2777
+ createdAt: Date;
2778
+ updatedAt: Date;
2779
+ } | undefined;
2780
+ createdAt: Date;
2781
+ updatedAt: Date;
2782
+ } | null | undefined;
1319
2783
  location: {
1320
2784
  type: "Point";
1321
2785
  coordinates: [number, number];
@@ -1403,8 +2867,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1403
2867
  slug: string | null;
1404
2868
  name: string;
1405
2869
  description: string | null;
1406
- avatar: string | null;
1407
- banner: string | null;
2870
+ avatarFileId: string | null;
2871
+ bannerFileId: string | null;
1408
2872
  userId: string;
1409
2873
  readingPermission: import("../..").ReadingPermission;
1410
2874
  postingPermission: import("../..").PostingPermission;
@@ -1420,6 +2884,86 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1420
2884
  membersCount: number;
1421
2885
  childSpacesCount: number;
1422
2886
  isMember?: boolean | undefined;
2887
+ avatarFile?: {
2888
+ id: string;
2889
+ projectId: string;
2890
+ userId: string | null;
2891
+ entityId: string | null;
2892
+ commentId: string | null;
2893
+ spaceId: string | null;
2894
+ type: "image" | "video" | "document" | "other";
2895
+ originalPath: string;
2896
+ originalSize: number;
2897
+ originalMimeType: string;
2898
+ position: number;
2899
+ metadata: {
2900
+ [x: string]: any;
2901
+ };
2902
+ image?: {
2903
+ fileId: string;
2904
+ originalWidth: number;
2905
+ originalHeight: number;
2906
+ variants: {
2907
+ [x: string]: {
2908
+ path: string;
2909
+ publicPath: string;
2910
+ width: number;
2911
+ height: number;
2912
+ size: number;
2913
+ format: string;
2914
+ };
2915
+ };
2916
+ processingStatus: "completed" | "failed";
2917
+ processingError: string | null;
2918
+ format: string;
2919
+ quality: number;
2920
+ exifStripped: boolean;
2921
+ createdAt: Date;
2922
+ updatedAt: Date;
2923
+ } | undefined;
2924
+ createdAt: Date;
2925
+ updatedAt: Date;
2926
+ } | undefined;
2927
+ bannerFile?: {
2928
+ id: string;
2929
+ projectId: string;
2930
+ userId: string | null;
2931
+ entityId: string | null;
2932
+ commentId: string | null;
2933
+ spaceId: string | null;
2934
+ type: "image" | "video" | "document" | "other";
2935
+ originalPath: string;
2936
+ originalSize: number;
2937
+ originalMimeType: string;
2938
+ position: number;
2939
+ metadata: {
2940
+ [x: string]: any;
2941
+ };
2942
+ image?: {
2943
+ fileId: string;
2944
+ originalWidth: number;
2945
+ originalHeight: number;
2946
+ variants: {
2947
+ [x: string]: {
2948
+ path: string;
2949
+ publicPath: string;
2950
+ width: number;
2951
+ height: number;
2952
+ size: number;
2953
+ format: string;
2954
+ };
2955
+ };
2956
+ processingStatus: "completed" | "failed";
2957
+ processingError: string | null;
2958
+ format: string;
2959
+ quality: number;
2960
+ exifStripped: boolean;
2961
+ createdAt: Date;
2962
+ updatedAt: Date;
2963
+ } | undefined;
2964
+ createdAt: Date;
2965
+ updatedAt: Date;
2966
+ } | undefined;
1423
2967
  } | null | undefined;
1424
2968
  user?: {
1425
2969
  id: string;
@@ -1436,6 +2980,88 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1436
2980
  };
1437
2981
  reputation: number;
1438
2982
  createdAt: Date;
2983
+ avatarFileId: string | null;
2984
+ bannerFileId: string | null;
2985
+ avatarFile?: {
2986
+ id: string;
2987
+ projectId: string;
2988
+ userId: string | null;
2989
+ entityId: string | null;
2990
+ commentId: string | null;
2991
+ spaceId: string | null;
2992
+ type: "image" | "video" | "document" | "other";
2993
+ originalPath: string;
2994
+ originalSize: number;
2995
+ originalMimeType: string;
2996
+ position: number;
2997
+ metadata: {
2998
+ [x: string]: any;
2999
+ };
3000
+ image?: {
3001
+ fileId: string;
3002
+ originalWidth: number;
3003
+ originalHeight: number;
3004
+ variants: {
3005
+ [x: string]: {
3006
+ path: string;
3007
+ publicPath: string;
3008
+ width: number;
3009
+ height: number;
3010
+ size: number;
3011
+ format: string;
3012
+ };
3013
+ };
3014
+ processingStatus: "completed" | "failed";
3015
+ processingError: string | null;
3016
+ format: string;
3017
+ quality: number;
3018
+ exifStripped: boolean;
3019
+ createdAt: Date;
3020
+ updatedAt: Date;
3021
+ } | undefined;
3022
+ createdAt: Date;
3023
+ updatedAt: Date;
3024
+ } | null | undefined;
3025
+ bannerFile?: {
3026
+ id: string;
3027
+ projectId: string;
3028
+ userId: string | null;
3029
+ entityId: string | null;
3030
+ commentId: string | null;
3031
+ spaceId: string | null;
3032
+ type: "image" | "video" | "document" | "other";
3033
+ originalPath: string;
3034
+ originalSize: number;
3035
+ originalMimeType: string;
3036
+ position: number;
3037
+ metadata: {
3038
+ [x: string]: any;
3039
+ };
3040
+ image?: {
3041
+ fileId: string;
3042
+ originalWidth: number;
3043
+ originalHeight: number;
3044
+ variants: {
3045
+ [x: string]: {
3046
+ path: string;
3047
+ publicPath: string;
3048
+ width: number;
3049
+ height: number;
3050
+ size: number;
3051
+ format: string;
3052
+ };
3053
+ };
3054
+ processingStatus: "completed" | "failed";
3055
+ processingError: string | null;
3056
+ format: string;
3057
+ quality: number;
3058
+ exifStripped: boolean;
3059
+ createdAt: Date;
3060
+ updatedAt: Date;
3061
+ } | undefined;
3062
+ createdAt: Date;
3063
+ updatedAt: Date;
3064
+ } | null | undefined;
1439
3065
  location: {
1440
3066
  type: "Point";
1441
3067
  coordinates: [number, number];
@@ -1485,11 +3111,11 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1485
3111
  format: string;
1486
3112
  quality: number;
1487
3113
  exifStripped: boolean;
1488
- createdAt: string;
1489
- updatedAt: string;
3114
+ createdAt: Date;
3115
+ updatedAt: Date;
1490
3116
  } | undefined;
1491
- createdAt: string;
1492
- updatedAt: string;
3117
+ createdAt: Date;
3118
+ updatedAt: Date;
1493
3119
  }[] | undefined;
1494
3120
  keywords: string[];
1495
3121
  upvotes: string[];
@@ -1533,6 +3159,88 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1533
3159
  };
1534
3160
  reputation: number;
1535
3161
  createdAt: Date;
3162
+ avatarFileId: string | null;
3163
+ bannerFileId: string | null;
3164
+ avatarFile?: {
3165
+ id: string;
3166
+ projectId: string;
3167
+ userId: string | null;
3168
+ entityId: string | null;
3169
+ commentId: string | null;
3170
+ spaceId: string | null;
3171
+ type: "image" | "video" | "document" | "other";
3172
+ originalPath: string;
3173
+ originalSize: number;
3174
+ originalMimeType: string;
3175
+ position: number;
3176
+ metadata: {
3177
+ [x: string]: any;
3178
+ };
3179
+ image?: {
3180
+ fileId: string;
3181
+ originalWidth: number;
3182
+ originalHeight: number;
3183
+ variants: {
3184
+ [x: string]: {
3185
+ path: string;
3186
+ publicPath: string;
3187
+ width: number;
3188
+ height: number;
3189
+ size: number;
3190
+ format: string;
3191
+ };
3192
+ };
3193
+ processingStatus: "completed" | "failed";
3194
+ processingError: string | null;
3195
+ format: string;
3196
+ quality: number;
3197
+ exifStripped: boolean;
3198
+ createdAt: Date;
3199
+ updatedAt: Date;
3200
+ } | undefined;
3201
+ createdAt: Date;
3202
+ updatedAt: Date;
3203
+ } | null | undefined;
3204
+ bannerFile?: {
3205
+ id: string;
3206
+ projectId: string;
3207
+ userId: string | null;
3208
+ entityId: string | null;
3209
+ commentId: string | null;
3210
+ spaceId: string | null;
3211
+ type: "image" | "video" | "document" | "other";
3212
+ originalPath: string;
3213
+ originalSize: number;
3214
+ originalMimeType: string;
3215
+ position: number;
3216
+ metadata: {
3217
+ [x: string]: any;
3218
+ };
3219
+ image?: {
3220
+ fileId: string;
3221
+ originalWidth: number;
3222
+ originalHeight: number;
3223
+ variants: {
3224
+ [x: string]: {
3225
+ path: string;
3226
+ publicPath: string;
3227
+ width: number;
3228
+ height: number;
3229
+ size: number;
3230
+ format: string;
3231
+ };
3232
+ };
3233
+ processingStatus: "completed" | "failed";
3234
+ processingError: string | null;
3235
+ format: string;
3236
+ quality: number;
3237
+ exifStripped: boolean;
3238
+ createdAt: Date;
3239
+ updatedAt: Date;
3240
+ } | undefined;
3241
+ createdAt: Date;
3242
+ updatedAt: Date;
3243
+ } | null | undefined;
1536
3244
  location: {
1537
3245
  type: "Point";
1538
3246
  coordinates: [number, number];
@@ -1620,8 +3328,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1620
3328
  slug: string | null;
1621
3329
  name: string;
1622
3330
  description: string | null;
1623
- avatar: string | null;
1624
- banner: string | null;
3331
+ avatarFileId: string | null;
3332
+ bannerFileId: string | null;
1625
3333
  userId: string;
1626
3334
  readingPermission: import("../..").ReadingPermission;
1627
3335
  postingPermission: import("../..").PostingPermission;
@@ -1637,6 +3345,86 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1637
3345
  membersCount: number;
1638
3346
  childSpacesCount: number;
1639
3347
  isMember?: boolean | undefined;
3348
+ avatarFile?: {
3349
+ id: string;
3350
+ projectId: string;
3351
+ userId: string | null;
3352
+ entityId: string | null;
3353
+ commentId: string | null;
3354
+ spaceId: string | null;
3355
+ type: "image" | "video" | "document" | "other";
3356
+ originalPath: string;
3357
+ originalSize: number;
3358
+ originalMimeType: string;
3359
+ position: number;
3360
+ metadata: {
3361
+ [x: string]: any;
3362
+ };
3363
+ image?: {
3364
+ fileId: string;
3365
+ originalWidth: number;
3366
+ originalHeight: number;
3367
+ variants: {
3368
+ [x: string]: {
3369
+ path: string;
3370
+ publicPath: string;
3371
+ width: number;
3372
+ height: number;
3373
+ size: number;
3374
+ format: string;
3375
+ };
3376
+ };
3377
+ processingStatus: "completed" | "failed";
3378
+ processingError: string | null;
3379
+ format: string;
3380
+ quality: number;
3381
+ exifStripped: boolean;
3382
+ createdAt: Date;
3383
+ updatedAt: Date;
3384
+ } | undefined;
3385
+ createdAt: Date;
3386
+ updatedAt: Date;
3387
+ } | undefined;
3388
+ bannerFile?: {
3389
+ id: string;
3390
+ projectId: string;
3391
+ userId: string | null;
3392
+ entityId: string | null;
3393
+ commentId: string | null;
3394
+ spaceId: string | null;
3395
+ type: "image" | "video" | "document" | "other";
3396
+ originalPath: string;
3397
+ originalSize: number;
3398
+ originalMimeType: string;
3399
+ position: number;
3400
+ metadata: {
3401
+ [x: string]: any;
3402
+ };
3403
+ image?: {
3404
+ fileId: string;
3405
+ originalWidth: number;
3406
+ originalHeight: number;
3407
+ variants: {
3408
+ [x: string]: {
3409
+ path: string;
3410
+ publicPath: string;
3411
+ width: number;
3412
+ height: number;
3413
+ size: number;
3414
+ format: string;
3415
+ };
3416
+ };
3417
+ processingStatus: "completed" | "failed";
3418
+ processingError: string | null;
3419
+ format: string;
3420
+ quality: number;
3421
+ exifStripped: boolean;
3422
+ createdAt: Date;
3423
+ updatedAt: Date;
3424
+ } | undefined;
3425
+ createdAt: Date;
3426
+ updatedAt: Date;
3427
+ } | undefined;
1640
3428
  } | null | undefined;
1641
3429
  user?: {
1642
3430
  id: string;
@@ -1653,6 +3441,88 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1653
3441
  };
1654
3442
  reputation: number;
1655
3443
  createdAt: Date;
3444
+ avatarFileId: string | null;
3445
+ bannerFileId: string | null;
3446
+ avatarFile?: {
3447
+ id: string;
3448
+ projectId: string;
3449
+ userId: string | null;
3450
+ entityId: string | null;
3451
+ commentId: string | null;
3452
+ spaceId: string | null;
3453
+ type: "image" | "video" | "document" | "other";
3454
+ originalPath: string;
3455
+ originalSize: number;
3456
+ originalMimeType: string;
3457
+ position: number;
3458
+ metadata: {
3459
+ [x: string]: any;
3460
+ };
3461
+ image?: {
3462
+ fileId: string;
3463
+ originalWidth: number;
3464
+ originalHeight: number;
3465
+ variants: {
3466
+ [x: string]: {
3467
+ path: string;
3468
+ publicPath: string;
3469
+ width: number;
3470
+ height: number;
3471
+ size: number;
3472
+ format: string;
3473
+ };
3474
+ };
3475
+ processingStatus: "completed" | "failed";
3476
+ processingError: string | null;
3477
+ format: string;
3478
+ quality: number;
3479
+ exifStripped: boolean;
3480
+ createdAt: Date;
3481
+ updatedAt: Date;
3482
+ } | undefined;
3483
+ createdAt: Date;
3484
+ updatedAt: Date;
3485
+ } | null | undefined;
3486
+ bannerFile?: {
3487
+ id: string;
3488
+ projectId: string;
3489
+ userId: string | null;
3490
+ entityId: string | null;
3491
+ commentId: string | null;
3492
+ spaceId: string | null;
3493
+ type: "image" | "video" | "document" | "other";
3494
+ originalPath: string;
3495
+ originalSize: number;
3496
+ originalMimeType: string;
3497
+ position: number;
3498
+ metadata: {
3499
+ [x: string]: any;
3500
+ };
3501
+ image?: {
3502
+ fileId: string;
3503
+ originalWidth: number;
3504
+ originalHeight: number;
3505
+ variants: {
3506
+ [x: string]: {
3507
+ path: string;
3508
+ publicPath: string;
3509
+ width: number;
3510
+ height: number;
3511
+ size: number;
3512
+ format: string;
3513
+ };
3514
+ };
3515
+ processingStatus: "completed" | "failed";
3516
+ processingError: string | null;
3517
+ format: string;
3518
+ quality: number;
3519
+ exifStripped: boolean;
3520
+ createdAt: Date;
3521
+ updatedAt: Date;
3522
+ } | undefined;
3523
+ createdAt: Date;
3524
+ updatedAt: Date;
3525
+ } | null | undefined;
1656
3526
  location: {
1657
3527
  type: "Point";
1658
3528
  coordinates: [number, number];
@@ -1702,11 +3572,11 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1702
3572
  format: string;
1703
3573
  quality: number;
1704
3574
  exifStripped: boolean;
1705
- createdAt: string;
1706
- updatedAt: string;
3575
+ createdAt: Date;
3576
+ updatedAt: Date;
1707
3577
  } | undefined;
1708
- createdAt: string;
1709
- updatedAt: string;
3578
+ createdAt: Date;
3579
+ updatedAt: Date;
1710
3580
  }[] | undefined;
1711
3581
  keywords: string[];
1712
3582
  upvotes: string[];
@@ -1750,6 +3620,88 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1750
3620
  };
1751
3621
  reputation: number;
1752
3622
  createdAt: Date;
3623
+ avatarFileId: string | null;
3624
+ bannerFileId: string | null;
3625
+ avatarFile?: {
3626
+ id: string;
3627
+ projectId: string;
3628
+ userId: string | null;
3629
+ entityId: string | null;
3630
+ commentId: string | null;
3631
+ spaceId: string | null;
3632
+ type: "image" | "video" | "document" | "other";
3633
+ originalPath: string;
3634
+ originalSize: number;
3635
+ originalMimeType: string;
3636
+ position: number;
3637
+ metadata: {
3638
+ [x: string]: any;
3639
+ };
3640
+ image?: {
3641
+ fileId: string;
3642
+ originalWidth: number;
3643
+ originalHeight: number;
3644
+ variants: {
3645
+ [x: string]: {
3646
+ path: string;
3647
+ publicPath: string;
3648
+ width: number;
3649
+ height: number;
3650
+ size: number;
3651
+ format: string;
3652
+ };
3653
+ };
3654
+ processingStatus: "completed" | "failed";
3655
+ processingError: string | null;
3656
+ format: string;
3657
+ quality: number;
3658
+ exifStripped: boolean;
3659
+ createdAt: Date;
3660
+ updatedAt: Date;
3661
+ } | undefined;
3662
+ createdAt: Date;
3663
+ updatedAt: Date;
3664
+ } | null | undefined;
3665
+ bannerFile?: {
3666
+ id: string;
3667
+ projectId: string;
3668
+ userId: string | null;
3669
+ entityId: string | null;
3670
+ commentId: string | null;
3671
+ spaceId: string | null;
3672
+ type: "image" | "video" | "document" | "other";
3673
+ originalPath: string;
3674
+ originalSize: number;
3675
+ originalMimeType: string;
3676
+ position: number;
3677
+ metadata: {
3678
+ [x: string]: any;
3679
+ };
3680
+ image?: {
3681
+ fileId: string;
3682
+ originalWidth: number;
3683
+ originalHeight: number;
3684
+ variants: {
3685
+ [x: string]: {
3686
+ path: string;
3687
+ publicPath: string;
3688
+ width: number;
3689
+ height: number;
3690
+ size: number;
3691
+ format: string;
3692
+ };
3693
+ };
3694
+ processingStatus: "completed" | "failed";
3695
+ processingError: string | null;
3696
+ format: string;
3697
+ quality: number;
3698
+ exifStripped: boolean;
3699
+ createdAt: Date;
3700
+ updatedAt: Date;
3701
+ } | undefined;
3702
+ createdAt: Date;
3703
+ updatedAt: Date;
3704
+ } | null | undefined;
1753
3705
  location: {
1754
3706
  type: "Point";
1755
3707
  coordinates: [number, number];
@@ -1834,8 +3786,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1834
3786
  slug: string | null;
1835
3787
  name: string;
1836
3788
  description: string | null;
1837
- avatar: string | null;
1838
- banner: string | null;
3789
+ avatarFileId: string | null;
3790
+ bannerFileId: string | null;
1839
3791
  userId: string;
1840
3792
  readingPermission: import("../..").ReadingPermission;
1841
3793
  postingPermission: import("../..").PostingPermission;
@@ -1851,6 +3803,86 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1851
3803
  membersCount: number;
1852
3804
  childSpacesCount: number;
1853
3805
  isMember?: boolean | undefined;
3806
+ avatarFile?: {
3807
+ id: string;
3808
+ projectId: string;
3809
+ userId: string | null;
3810
+ entityId: string | null;
3811
+ commentId: string | null;
3812
+ spaceId: string | null;
3813
+ type: "image" | "video" | "document" | "other";
3814
+ originalPath: string;
3815
+ originalSize: number;
3816
+ originalMimeType: string;
3817
+ position: number;
3818
+ metadata: {
3819
+ [x: string]: any;
3820
+ };
3821
+ image?: {
3822
+ fileId: string;
3823
+ originalWidth: number;
3824
+ originalHeight: number;
3825
+ variants: {
3826
+ [x: string]: {
3827
+ path: string;
3828
+ publicPath: string;
3829
+ width: number;
3830
+ height: number;
3831
+ size: number;
3832
+ format: string;
3833
+ };
3834
+ };
3835
+ processingStatus: "completed" | "failed";
3836
+ processingError: string | null;
3837
+ format: string;
3838
+ quality: number;
3839
+ exifStripped: boolean;
3840
+ createdAt: Date;
3841
+ updatedAt: Date;
3842
+ } | undefined;
3843
+ createdAt: Date;
3844
+ updatedAt: Date;
3845
+ } | undefined;
3846
+ bannerFile?: {
3847
+ id: string;
3848
+ projectId: string;
3849
+ userId: string | null;
3850
+ entityId: string | null;
3851
+ commentId: string | null;
3852
+ spaceId: string | null;
3853
+ type: "image" | "video" | "document" | "other";
3854
+ originalPath: string;
3855
+ originalSize: number;
3856
+ originalMimeType: string;
3857
+ position: number;
3858
+ metadata: {
3859
+ [x: string]: any;
3860
+ };
3861
+ image?: {
3862
+ fileId: string;
3863
+ originalWidth: number;
3864
+ originalHeight: number;
3865
+ variants: {
3866
+ [x: string]: {
3867
+ path: string;
3868
+ publicPath: string;
3869
+ width: number;
3870
+ height: number;
3871
+ size: number;
3872
+ format: string;
3873
+ };
3874
+ };
3875
+ processingStatus: "completed" | "failed";
3876
+ processingError: string | null;
3877
+ format: string;
3878
+ quality: number;
3879
+ exifStripped: boolean;
3880
+ createdAt: Date;
3881
+ updatedAt: Date;
3882
+ } | undefined;
3883
+ createdAt: Date;
3884
+ updatedAt: Date;
3885
+ } | undefined;
1854
3886
  } | null | undefined;
1855
3887
  user?: {
1856
3888
  id: string;
@@ -1867,6 +3899,88 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1867
3899
  };
1868
3900
  reputation: number;
1869
3901
  createdAt: Date;
3902
+ avatarFileId: string | null;
3903
+ bannerFileId: string | null;
3904
+ avatarFile?: {
3905
+ id: string;
3906
+ projectId: string;
3907
+ userId: string | null;
3908
+ entityId: string | null;
3909
+ commentId: string | null;
3910
+ spaceId: string | null;
3911
+ type: "image" | "video" | "document" | "other";
3912
+ originalPath: string;
3913
+ originalSize: number;
3914
+ originalMimeType: string;
3915
+ position: number;
3916
+ metadata: {
3917
+ [x: string]: any;
3918
+ };
3919
+ image?: {
3920
+ fileId: string;
3921
+ originalWidth: number;
3922
+ originalHeight: number;
3923
+ variants: {
3924
+ [x: string]: {
3925
+ path: string;
3926
+ publicPath: string;
3927
+ width: number;
3928
+ height: number;
3929
+ size: number;
3930
+ format: string;
3931
+ };
3932
+ };
3933
+ processingStatus: "completed" | "failed";
3934
+ processingError: string | null;
3935
+ format: string;
3936
+ quality: number;
3937
+ exifStripped: boolean;
3938
+ createdAt: Date;
3939
+ updatedAt: Date;
3940
+ } | undefined;
3941
+ createdAt: Date;
3942
+ updatedAt: Date;
3943
+ } | null | undefined;
3944
+ bannerFile?: {
3945
+ id: string;
3946
+ projectId: string;
3947
+ userId: string | null;
3948
+ entityId: string | null;
3949
+ commentId: string | null;
3950
+ spaceId: string | null;
3951
+ type: "image" | "video" | "document" | "other";
3952
+ originalPath: string;
3953
+ originalSize: number;
3954
+ originalMimeType: string;
3955
+ position: number;
3956
+ metadata: {
3957
+ [x: string]: any;
3958
+ };
3959
+ image?: {
3960
+ fileId: string;
3961
+ originalWidth: number;
3962
+ originalHeight: number;
3963
+ variants: {
3964
+ [x: string]: {
3965
+ path: string;
3966
+ publicPath: string;
3967
+ width: number;
3968
+ height: number;
3969
+ size: number;
3970
+ format: string;
3971
+ };
3972
+ };
3973
+ processingStatus: "completed" | "failed";
3974
+ processingError: string | null;
3975
+ format: string;
3976
+ quality: number;
3977
+ exifStripped: boolean;
3978
+ createdAt: Date;
3979
+ updatedAt: Date;
3980
+ } | undefined;
3981
+ createdAt: Date;
3982
+ updatedAt: Date;
3983
+ } | null | undefined;
1870
3984
  location: {
1871
3985
  type: "Point";
1872
3986
  coordinates: [number, number];
@@ -1916,11 +4030,11 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1916
4030
  format: string;
1917
4031
  quality: number;
1918
4032
  exifStripped: boolean;
1919
- createdAt: string;
1920
- updatedAt: string;
4033
+ createdAt: Date;
4034
+ updatedAt: Date;
1921
4035
  } | undefined;
1922
- createdAt: string;
1923
- updatedAt: string;
4036
+ createdAt: Date;
4037
+ updatedAt: Date;
1924
4038
  }[] | undefined;
1925
4039
  keywords: string[];
1926
4040
  upvotes: string[];
@@ -1964,6 +4078,88 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1964
4078
  };
1965
4079
  reputation: number;
1966
4080
  createdAt: Date;
4081
+ avatarFileId: string | null;
4082
+ bannerFileId: string | null;
4083
+ avatarFile?: {
4084
+ id: string;
4085
+ projectId: string;
4086
+ userId: string | null;
4087
+ entityId: string | null;
4088
+ commentId: string | null;
4089
+ spaceId: string | null;
4090
+ type: "image" | "video" | "document" | "other";
4091
+ originalPath: string;
4092
+ originalSize: number;
4093
+ originalMimeType: string;
4094
+ position: number;
4095
+ metadata: {
4096
+ [x: string]: any;
4097
+ };
4098
+ image?: {
4099
+ fileId: string;
4100
+ originalWidth: number;
4101
+ originalHeight: number;
4102
+ variants: {
4103
+ [x: string]: {
4104
+ path: string;
4105
+ publicPath: string;
4106
+ width: number;
4107
+ height: number;
4108
+ size: number;
4109
+ format: string;
4110
+ };
4111
+ };
4112
+ processingStatus: "completed" | "failed";
4113
+ processingError: string | null;
4114
+ format: string;
4115
+ quality: number;
4116
+ exifStripped: boolean;
4117
+ createdAt: Date;
4118
+ updatedAt: Date;
4119
+ } | undefined;
4120
+ createdAt: Date;
4121
+ updatedAt: Date;
4122
+ } | null | undefined;
4123
+ bannerFile?: {
4124
+ id: string;
4125
+ projectId: string;
4126
+ userId: string | null;
4127
+ entityId: string | null;
4128
+ commentId: string | null;
4129
+ spaceId: string | null;
4130
+ type: "image" | "video" | "document" | "other";
4131
+ originalPath: string;
4132
+ originalSize: number;
4133
+ originalMimeType: string;
4134
+ position: number;
4135
+ metadata: {
4136
+ [x: string]: any;
4137
+ };
4138
+ image?: {
4139
+ fileId: string;
4140
+ originalWidth: number;
4141
+ originalHeight: number;
4142
+ variants: {
4143
+ [x: string]: {
4144
+ path: string;
4145
+ publicPath: string;
4146
+ width: number;
4147
+ height: number;
4148
+ size: number;
4149
+ format: string;
4150
+ };
4151
+ };
4152
+ processingStatus: "completed" | "failed";
4153
+ processingError: string | null;
4154
+ format: string;
4155
+ quality: number;
4156
+ exifStripped: boolean;
4157
+ createdAt: Date;
4158
+ updatedAt: Date;
4159
+ } | undefined;
4160
+ createdAt: Date;
4161
+ updatedAt: Date;
4162
+ } | null | undefined;
1967
4163
  location: {
1968
4164
  type: "Point";
1969
4165
  coordinates: [number, number];
@@ -2048,8 +4244,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
2048
4244
  slug: string | null;
2049
4245
  name: string;
2050
4246
  description: string | null;
2051
- avatar: string | null;
2052
- banner: string | null;
4247
+ avatarFileId: string | null;
4248
+ bannerFileId: string | null;
2053
4249
  userId: string;
2054
4250
  readingPermission: import("../..").ReadingPermission;
2055
4251
  postingPermission: import("../..").PostingPermission;
@@ -2065,6 +4261,86 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
2065
4261
  membersCount: number;
2066
4262
  childSpacesCount: number;
2067
4263
  isMember?: boolean | undefined;
4264
+ avatarFile?: {
4265
+ id: string;
4266
+ projectId: string;
4267
+ userId: string | null;
4268
+ entityId: string | null;
4269
+ commentId: string | null;
4270
+ spaceId: string | null;
4271
+ type: "image" | "video" | "document" | "other";
4272
+ originalPath: string;
4273
+ originalSize: number;
4274
+ originalMimeType: string;
4275
+ position: number;
4276
+ metadata: {
4277
+ [x: string]: any;
4278
+ };
4279
+ image?: {
4280
+ fileId: string;
4281
+ originalWidth: number;
4282
+ originalHeight: number;
4283
+ variants: {
4284
+ [x: string]: {
4285
+ path: string;
4286
+ publicPath: string;
4287
+ width: number;
4288
+ height: number;
4289
+ size: number;
4290
+ format: string;
4291
+ };
4292
+ };
4293
+ processingStatus: "completed" | "failed";
4294
+ processingError: string | null;
4295
+ format: string;
4296
+ quality: number;
4297
+ exifStripped: boolean;
4298
+ createdAt: Date;
4299
+ updatedAt: Date;
4300
+ } | undefined;
4301
+ createdAt: Date;
4302
+ updatedAt: Date;
4303
+ } | undefined;
4304
+ bannerFile?: {
4305
+ id: string;
4306
+ projectId: string;
4307
+ userId: string | null;
4308
+ entityId: string | null;
4309
+ commentId: string | null;
4310
+ spaceId: string | null;
4311
+ type: "image" | "video" | "document" | "other";
4312
+ originalPath: string;
4313
+ originalSize: number;
4314
+ originalMimeType: string;
4315
+ position: number;
4316
+ metadata: {
4317
+ [x: string]: any;
4318
+ };
4319
+ image?: {
4320
+ fileId: string;
4321
+ originalWidth: number;
4322
+ originalHeight: number;
4323
+ variants: {
4324
+ [x: string]: {
4325
+ path: string;
4326
+ publicPath: string;
4327
+ width: number;
4328
+ height: number;
4329
+ size: number;
4330
+ format: string;
4331
+ };
4332
+ };
4333
+ processingStatus: "completed" | "failed";
4334
+ processingError: string | null;
4335
+ format: string;
4336
+ quality: number;
4337
+ exifStripped: boolean;
4338
+ createdAt: Date;
4339
+ updatedAt: Date;
4340
+ } | undefined;
4341
+ createdAt: Date;
4342
+ updatedAt: Date;
4343
+ } | undefined;
2068
4344
  } | null | undefined;
2069
4345
  user?: {
2070
4346
  id: string;
@@ -2081,6 +4357,88 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
2081
4357
  };
2082
4358
  reputation: number;
2083
4359
  createdAt: Date;
4360
+ avatarFileId: string | null;
4361
+ bannerFileId: string | null;
4362
+ avatarFile?: {
4363
+ id: string;
4364
+ projectId: string;
4365
+ userId: string | null;
4366
+ entityId: string | null;
4367
+ commentId: string | null;
4368
+ spaceId: string | null;
4369
+ type: "image" | "video" | "document" | "other";
4370
+ originalPath: string;
4371
+ originalSize: number;
4372
+ originalMimeType: string;
4373
+ position: number;
4374
+ metadata: {
4375
+ [x: string]: any;
4376
+ };
4377
+ image?: {
4378
+ fileId: string;
4379
+ originalWidth: number;
4380
+ originalHeight: number;
4381
+ variants: {
4382
+ [x: string]: {
4383
+ path: string;
4384
+ publicPath: string;
4385
+ width: number;
4386
+ height: number;
4387
+ size: number;
4388
+ format: string;
4389
+ };
4390
+ };
4391
+ processingStatus: "completed" | "failed";
4392
+ processingError: string | null;
4393
+ format: string;
4394
+ quality: number;
4395
+ exifStripped: boolean;
4396
+ createdAt: Date;
4397
+ updatedAt: Date;
4398
+ } | undefined;
4399
+ createdAt: Date;
4400
+ updatedAt: Date;
4401
+ } | null | undefined;
4402
+ bannerFile?: {
4403
+ id: string;
4404
+ projectId: string;
4405
+ userId: string | null;
4406
+ entityId: string | null;
4407
+ commentId: string | null;
4408
+ spaceId: string | null;
4409
+ type: "image" | "video" | "document" | "other";
4410
+ originalPath: string;
4411
+ originalSize: number;
4412
+ originalMimeType: string;
4413
+ position: number;
4414
+ metadata: {
4415
+ [x: string]: any;
4416
+ };
4417
+ image?: {
4418
+ fileId: string;
4419
+ originalWidth: number;
4420
+ originalHeight: number;
4421
+ variants: {
4422
+ [x: string]: {
4423
+ path: string;
4424
+ publicPath: string;
4425
+ width: number;
4426
+ height: number;
4427
+ size: number;
4428
+ format: string;
4429
+ };
4430
+ };
4431
+ processingStatus: "completed" | "failed";
4432
+ processingError: string | null;
4433
+ format: string;
4434
+ quality: number;
4435
+ exifStripped: boolean;
4436
+ createdAt: Date;
4437
+ updatedAt: Date;
4438
+ } | undefined;
4439
+ createdAt: Date;
4440
+ updatedAt: Date;
4441
+ } | null | undefined;
2084
4442
  location: {
2085
4443
  type: "Point";
2086
4444
  coordinates: [number, number];
@@ -2130,11 +4488,11 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
2130
4488
  format: string;
2131
4489
  quality: number;
2132
4490
  exifStripped: boolean;
2133
- createdAt: string;
2134
- updatedAt: string;
4491
+ createdAt: Date;
4492
+ updatedAt: Date;
2135
4493
  } | undefined;
2136
- createdAt: string;
2137
- updatedAt: string;
4494
+ createdAt: Date;
4495
+ updatedAt: Date;
2138
4496
  }[] | undefined;
2139
4497
  keywords: string[];
2140
4498
  upvotes: string[];
@@ -2178,6 +4536,88 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
2178
4536
  };
2179
4537
  reputation: number;
2180
4538
  createdAt: Date;
4539
+ avatarFileId: string | null;
4540
+ bannerFileId: string | null;
4541
+ avatarFile?: {
4542
+ id: string;
4543
+ projectId: string;
4544
+ userId: string | null;
4545
+ entityId: string | null;
4546
+ commentId: string | null;
4547
+ spaceId: string | null;
4548
+ type: "image" | "video" | "document" | "other";
4549
+ originalPath: string;
4550
+ originalSize: number;
4551
+ originalMimeType: string;
4552
+ position: number;
4553
+ metadata: {
4554
+ [x: string]: any;
4555
+ };
4556
+ image?: {
4557
+ fileId: string;
4558
+ originalWidth: number;
4559
+ originalHeight: number;
4560
+ variants: {
4561
+ [x: string]: {
4562
+ path: string;
4563
+ publicPath: string;
4564
+ width: number;
4565
+ height: number;
4566
+ size: number;
4567
+ format: string;
4568
+ };
4569
+ };
4570
+ processingStatus: "completed" | "failed";
4571
+ processingError: string | null;
4572
+ format: string;
4573
+ quality: number;
4574
+ exifStripped: boolean;
4575
+ createdAt: Date;
4576
+ updatedAt: Date;
4577
+ } | undefined;
4578
+ createdAt: Date;
4579
+ updatedAt: Date;
4580
+ } | null | undefined;
4581
+ bannerFile?: {
4582
+ id: string;
4583
+ projectId: string;
4584
+ userId: string | null;
4585
+ entityId: string | null;
4586
+ commentId: string | null;
4587
+ spaceId: string | null;
4588
+ type: "image" | "video" | "document" | "other";
4589
+ originalPath: string;
4590
+ originalSize: number;
4591
+ originalMimeType: string;
4592
+ position: number;
4593
+ metadata: {
4594
+ [x: string]: any;
4595
+ };
4596
+ image?: {
4597
+ fileId: string;
4598
+ originalWidth: number;
4599
+ originalHeight: number;
4600
+ variants: {
4601
+ [x: string]: {
4602
+ path: string;
4603
+ publicPath: string;
4604
+ width: number;
4605
+ height: number;
4606
+ size: number;
4607
+ format: string;
4608
+ };
4609
+ };
4610
+ processingStatus: "completed" | "failed";
4611
+ processingError: string | null;
4612
+ format: string;
4613
+ quality: number;
4614
+ exifStripped: boolean;
4615
+ createdAt: Date;
4616
+ updatedAt: Date;
4617
+ } | undefined;
4618
+ createdAt: Date;
4619
+ updatedAt: Date;
4620
+ } | null | undefined;
2181
4621
  location: {
2182
4622
  type: "Point";
2183
4623
  coordinates: [number, number];
@@ -2262,8 +4702,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
2262
4702
  slug: string | null;
2263
4703
  name: string;
2264
4704
  description: string | null;
2265
- avatar: string | null;
2266
- banner: string | null;
4705
+ avatarFileId: string | null;
4706
+ bannerFileId: string | null;
2267
4707
  userId: string;
2268
4708
  readingPermission: import("../..").ReadingPermission;
2269
4709
  postingPermission: import("../..").PostingPermission;
@@ -2279,6 +4719,86 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
2279
4719
  membersCount: number;
2280
4720
  childSpacesCount: number;
2281
4721
  isMember?: boolean | undefined;
4722
+ avatarFile?: {
4723
+ id: string;
4724
+ projectId: string;
4725
+ userId: string | null;
4726
+ entityId: string | null;
4727
+ commentId: string | null;
4728
+ spaceId: string | null;
4729
+ type: "image" | "video" | "document" | "other";
4730
+ originalPath: string;
4731
+ originalSize: number;
4732
+ originalMimeType: string;
4733
+ position: number;
4734
+ metadata: {
4735
+ [x: string]: any;
4736
+ };
4737
+ image?: {
4738
+ fileId: string;
4739
+ originalWidth: number;
4740
+ originalHeight: number;
4741
+ variants: {
4742
+ [x: string]: {
4743
+ path: string;
4744
+ publicPath: string;
4745
+ width: number;
4746
+ height: number;
4747
+ size: number;
4748
+ format: string;
4749
+ };
4750
+ };
4751
+ processingStatus: "completed" | "failed";
4752
+ processingError: string | null;
4753
+ format: string;
4754
+ quality: number;
4755
+ exifStripped: boolean;
4756
+ createdAt: Date;
4757
+ updatedAt: Date;
4758
+ } | undefined;
4759
+ createdAt: Date;
4760
+ updatedAt: Date;
4761
+ } | undefined;
4762
+ bannerFile?: {
4763
+ id: string;
4764
+ projectId: string;
4765
+ userId: string | null;
4766
+ entityId: string | null;
4767
+ commentId: string | null;
4768
+ spaceId: string | null;
4769
+ type: "image" | "video" | "document" | "other";
4770
+ originalPath: string;
4771
+ originalSize: number;
4772
+ originalMimeType: string;
4773
+ position: number;
4774
+ metadata: {
4775
+ [x: string]: any;
4776
+ };
4777
+ image?: {
4778
+ fileId: string;
4779
+ originalWidth: number;
4780
+ originalHeight: number;
4781
+ variants: {
4782
+ [x: string]: {
4783
+ path: string;
4784
+ publicPath: string;
4785
+ width: number;
4786
+ height: number;
4787
+ size: number;
4788
+ format: string;
4789
+ };
4790
+ };
4791
+ processingStatus: "completed" | "failed";
4792
+ processingError: string | null;
4793
+ format: string;
4794
+ quality: number;
4795
+ exifStripped: boolean;
4796
+ createdAt: Date;
4797
+ updatedAt: Date;
4798
+ } | undefined;
4799
+ createdAt: Date;
4800
+ updatedAt: Date;
4801
+ } | undefined;
2282
4802
  } | null | undefined;
2283
4803
  user?: {
2284
4804
  id: string;
@@ -2295,6 +4815,88 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
2295
4815
  };
2296
4816
  reputation: number;
2297
4817
  createdAt: Date;
4818
+ avatarFileId: string | null;
4819
+ bannerFileId: string | null;
4820
+ avatarFile?: {
4821
+ id: string;
4822
+ projectId: string;
4823
+ userId: string | null;
4824
+ entityId: string | null;
4825
+ commentId: string | null;
4826
+ spaceId: string | null;
4827
+ type: "image" | "video" | "document" | "other";
4828
+ originalPath: string;
4829
+ originalSize: number;
4830
+ originalMimeType: string;
4831
+ position: number;
4832
+ metadata: {
4833
+ [x: string]: any;
4834
+ };
4835
+ image?: {
4836
+ fileId: string;
4837
+ originalWidth: number;
4838
+ originalHeight: number;
4839
+ variants: {
4840
+ [x: string]: {
4841
+ path: string;
4842
+ publicPath: string;
4843
+ width: number;
4844
+ height: number;
4845
+ size: number;
4846
+ format: string;
4847
+ };
4848
+ };
4849
+ processingStatus: "completed" | "failed";
4850
+ processingError: string | null;
4851
+ format: string;
4852
+ quality: number;
4853
+ exifStripped: boolean;
4854
+ createdAt: Date;
4855
+ updatedAt: Date;
4856
+ } | undefined;
4857
+ createdAt: Date;
4858
+ updatedAt: Date;
4859
+ } | null | undefined;
4860
+ bannerFile?: {
4861
+ id: string;
4862
+ projectId: string;
4863
+ userId: string | null;
4864
+ entityId: string | null;
4865
+ commentId: string | null;
4866
+ spaceId: string | null;
4867
+ type: "image" | "video" | "document" | "other";
4868
+ originalPath: string;
4869
+ originalSize: number;
4870
+ originalMimeType: string;
4871
+ position: number;
4872
+ metadata: {
4873
+ [x: string]: any;
4874
+ };
4875
+ image?: {
4876
+ fileId: string;
4877
+ originalWidth: number;
4878
+ originalHeight: number;
4879
+ variants: {
4880
+ [x: string]: {
4881
+ path: string;
4882
+ publicPath: string;
4883
+ width: number;
4884
+ height: number;
4885
+ size: number;
4886
+ format: string;
4887
+ };
4888
+ };
4889
+ processingStatus: "completed" | "failed";
4890
+ processingError: string | null;
4891
+ format: string;
4892
+ quality: number;
4893
+ exifStripped: boolean;
4894
+ createdAt: Date;
4895
+ updatedAt: Date;
4896
+ } | undefined;
4897
+ createdAt: Date;
4898
+ updatedAt: Date;
4899
+ } | null | undefined;
2298
4900
  location: {
2299
4901
  type: "Point";
2300
4902
  coordinates: [number, number];
@@ -2344,11 +4946,11 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
2344
4946
  format: string;
2345
4947
  quality: number;
2346
4948
  exifStripped: boolean;
2347
- createdAt: string;
2348
- updatedAt: string;
4949
+ createdAt: Date;
4950
+ updatedAt: Date;
2349
4951
  } | undefined;
2350
- createdAt: string;
2351
- updatedAt: string;
4952
+ createdAt: Date;
4953
+ updatedAt: Date;
2352
4954
  }[] | undefined;
2353
4955
  keywords: string[];
2354
4956
  upvotes: string[];
@@ -2392,6 +4994,88 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
2392
4994
  };
2393
4995
  reputation: number;
2394
4996
  createdAt: Date;
4997
+ avatarFileId: string | null;
4998
+ bannerFileId: string | null;
4999
+ avatarFile?: {
5000
+ id: string;
5001
+ projectId: string;
5002
+ userId: string | null;
5003
+ entityId: string | null;
5004
+ commentId: string | null;
5005
+ spaceId: string | null;
5006
+ type: "image" | "video" | "document" | "other";
5007
+ originalPath: string;
5008
+ originalSize: number;
5009
+ originalMimeType: string;
5010
+ position: number;
5011
+ metadata: {
5012
+ [x: string]: any;
5013
+ };
5014
+ image?: {
5015
+ fileId: string;
5016
+ originalWidth: number;
5017
+ originalHeight: number;
5018
+ variants: {
5019
+ [x: string]: {
5020
+ path: string;
5021
+ publicPath: string;
5022
+ width: number;
5023
+ height: number;
5024
+ size: number;
5025
+ format: string;
5026
+ };
5027
+ };
5028
+ processingStatus: "completed" | "failed";
5029
+ processingError: string | null;
5030
+ format: string;
5031
+ quality: number;
5032
+ exifStripped: boolean;
5033
+ createdAt: Date;
5034
+ updatedAt: Date;
5035
+ } | undefined;
5036
+ createdAt: Date;
5037
+ updatedAt: Date;
5038
+ } | null | undefined;
5039
+ bannerFile?: {
5040
+ id: string;
5041
+ projectId: string;
5042
+ userId: string | null;
5043
+ entityId: string | null;
5044
+ commentId: string | null;
5045
+ spaceId: string | null;
5046
+ type: "image" | "video" | "document" | "other";
5047
+ originalPath: string;
5048
+ originalSize: number;
5049
+ originalMimeType: string;
5050
+ position: number;
5051
+ metadata: {
5052
+ [x: string]: any;
5053
+ };
5054
+ image?: {
5055
+ fileId: string;
5056
+ originalWidth: number;
5057
+ originalHeight: number;
5058
+ variants: {
5059
+ [x: string]: {
5060
+ path: string;
5061
+ publicPath: string;
5062
+ width: number;
5063
+ height: number;
5064
+ size: number;
5065
+ format: string;
5066
+ };
5067
+ };
5068
+ processingStatus: "completed" | "failed";
5069
+ processingError: string | null;
5070
+ format: string;
5071
+ quality: number;
5072
+ exifStripped: boolean;
5073
+ createdAt: Date;
5074
+ updatedAt: Date;
5075
+ } | undefined;
5076
+ createdAt: Date;
5077
+ updatedAt: Date;
5078
+ } | null | undefined;
2395
5079
  location: {
2396
5080
  type: "Point";
2397
5081
  coordinates: [number, number];
@@ -2476,8 +5160,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
2476
5160
  slug: string | null;
2477
5161
  name: string;
2478
5162
  description: string | null;
2479
- avatar: string | null;
2480
- banner: string | null;
5163
+ avatarFileId: string | null;
5164
+ bannerFileId: string | null;
2481
5165
  userId: string;
2482
5166
  readingPermission: import("../..").ReadingPermission;
2483
5167
  postingPermission: import("../..").PostingPermission;
@@ -2493,6 +5177,86 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
2493
5177
  membersCount: number;
2494
5178
  childSpacesCount: number;
2495
5179
  isMember?: boolean | undefined;
5180
+ avatarFile?: {
5181
+ id: string;
5182
+ projectId: string;
5183
+ userId: string | null;
5184
+ entityId: string | null;
5185
+ commentId: string | null;
5186
+ spaceId: string | null;
5187
+ type: "image" | "video" | "document" | "other";
5188
+ originalPath: string;
5189
+ originalSize: number;
5190
+ originalMimeType: string;
5191
+ position: number;
5192
+ metadata: {
5193
+ [x: string]: any;
5194
+ };
5195
+ image?: {
5196
+ fileId: string;
5197
+ originalWidth: number;
5198
+ originalHeight: number;
5199
+ variants: {
5200
+ [x: string]: {
5201
+ path: string;
5202
+ publicPath: string;
5203
+ width: number;
5204
+ height: number;
5205
+ size: number;
5206
+ format: string;
5207
+ };
5208
+ };
5209
+ processingStatus: "completed" | "failed";
5210
+ processingError: string | null;
5211
+ format: string;
5212
+ quality: number;
5213
+ exifStripped: boolean;
5214
+ createdAt: Date;
5215
+ updatedAt: Date;
5216
+ } | undefined;
5217
+ createdAt: Date;
5218
+ updatedAt: Date;
5219
+ } | undefined;
5220
+ bannerFile?: {
5221
+ id: string;
5222
+ projectId: string;
5223
+ userId: string | null;
5224
+ entityId: string | null;
5225
+ commentId: string | null;
5226
+ spaceId: string | null;
5227
+ type: "image" | "video" | "document" | "other";
5228
+ originalPath: string;
5229
+ originalSize: number;
5230
+ originalMimeType: string;
5231
+ position: number;
5232
+ metadata: {
5233
+ [x: string]: any;
5234
+ };
5235
+ image?: {
5236
+ fileId: string;
5237
+ originalWidth: number;
5238
+ originalHeight: number;
5239
+ variants: {
5240
+ [x: string]: {
5241
+ path: string;
5242
+ publicPath: string;
5243
+ width: number;
5244
+ height: number;
5245
+ size: number;
5246
+ format: string;
5247
+ };
5248
+ };
5249
+ processingStatus: "completed" | "failed";
5250
+ processingError: string | null;
5251
+ format: string;
5252
+ quality: number;
5253
+ exifStripped: boolean;
5254
+ createdAt: Date;
5255
+ updatedAt: Date;
5256
+ } | undefined;
5257
+ createdAt: Date;
5258
+ updatedAt: Date;
5259
+ } | undefined;
2496
5260
  } | null | undefined;
2497
5261
  user?: {
2498
5262
  id: string;
@@ -2509,6 +5273,88 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
2509
5273
  };
2510
5274
  reputation: number;
2511
5275
  createdAt: Date;
5276
+ avatarFileId: string | null;
5277
+ bannerFileId: string | null;
5278
+ avatarFile?: {
5279
+ id: string;
5280
+ projectId: string;
5281
+ userId: string | null;
5282
+ entityId: string | null;
5283
+ commentId: string | null;
5284
+ spaceId: string | null;
5285
+ type: "image" | "video" | "document" | "other";
5286
+ originalPath: string;
5287
+ originalSize: number;
5288
+ originalMimeType: string;
5289
+ position: number;
5290
+ metadata: {
5291
+ [x: string]: any;
5292
+ };
5293
+ image?: {
5294
+ fileId: string;
5295
+ originalWidth: number;
5296
+ originalHeight: number;
5297
+ variants: {
5298
+ [x: string]: {
5299
+ path: string;
5300
+ publicPath: string;
5301
+ width: number;
5302
+ height: number;
5303
+ size: number;
5304
+ format: string;
5305
+ };
5306
+ };
5307
+ processingStatus: "completed" | "failed";
5308
+ processingError: string | null;
5309
+ format: string;
5310
+ quality: number;
5311
+ exifStripped: boolean;
5312
+ createdAt: Date;
5313
+ updatedAt: Date;
5314
+ } | undefined;
5315
+ createdAt: Date;
5316
+ updatedAt: Date;
5317
+ } | null | undefined;
5318
+ bannerFile?: {
5319
+ id: string;
5320
+ projectId: string;
5321
+ userId: string | null;
5322
+ entityId: string | null;
5323
+ commentId: string | null;
5324
+ spaceId: string | null;
5325
+ type: "image" | "video" | "document" | "other";
5326
+ originalPath: string;
5327
+ originalSize: number;
5328
+ originalMimeType: string;
5329
+ position: number;
5330
+ metadata: {
5331
+ [x: string]: any;
5332
+ };
5333
+ image?: {
5334
+ fileId: string;
5335
+ originalWidth: number;
5336
+ originalHeight: number;
5337
+ variants: {
5338
+ [x: string]: {
5339
+ path: string;
5340
+ publicPath: string;
5341
+ width: number;
5342
+ height: number;
5343
+ size: number;
5344
+ format: string;
5345
+ };
5346
+ };
5347
+ processingStatus: "completed" | "failed";
5348
+ processingError: string | null;
5349
+ format: string;
5350
+ quality: number;
5351
+ exifStripped: boolean;
5352
+ createdAt: Date;
5353
+ updatedAt: Date;
5354
+ } | undefined;
5355
+ createdAt: Date;
5356
+ updatedAt: Date;
5357
+ } | null | undefined;
2512
5358
  location: {
2513
5359
  type: "Point";
2514
5360
  coordinates: [number, number];
@@ -2558,11 +5404,11 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
2558
5404
  format: string;
2559
5405
  quality: number;
2560
5406
  exifStripped: boolean;
2561
- createdAt: string;
2562
- updatedAt: string;
5407
+ createdAt: Date;
5408
+ updatedAt: Date;
2563
5409
  } | undefined;
2564
- createdAt: string;
2565
- updatedAt: string;
5410
+ createdAt: Date;
5411
+ updatedAt: Date;
2566
5412
  }[] | undefined;
2567
5413
  keywords: string[];
2568
5414
  upvotes: string[];
@@ -2606,6 +5452,88 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
2606
5452
  };
2607
5453
  reputation: number;
2608
5454
  createdAt: Date;
5455
+ avatarFileId: string | null;
5456
+ bannerFileId: string | null;
5457
+ avatarFile?: {
5458
+ id: string;
5459
+ projectId: string;
5460
+ userId: string | null;
5461
+ entityId: string | null;
5462
+ commentId: string | null;
5463
+ spaceId: string | null;
5464
+ type: "image" | "video" | "document" | "other";
5465
+ originalPath: string;
5466
+ originalSize: number;
5467
+ originalMimeType: string;
5468
+ position: number;
5469
+ metadata: {
5470
+ [x: string]: any;
5471
+ };
5472
+ image?: {
5473
+ fileId: string;
5474
+ originalWidth: number;
5475
+ originalHeight: number;
5476
+ variants: {
5477
+ [x: string]: {
5478
+ path: string;
5479
+ publicPath: string;
5480
+ width: number;
5481
+ height: number;
5482
+ size: number;
5483
+ format: string;
5484
+ };
5485
+ };
5486
+ processingStatus: "completed" | "failed";
5487
+ processingError: string | null;
5488
+ format: string;
5489
+ quality: number;
5490
+ exifStripped: boolean;
5491
+ createdAt: Date;
5492
+ updatedAt: Date;
5493
+ } | undefined;
5494
+ createdAt: Date;
5495
+ updatedAt: Date;
5496
+ } | null | undefined;
5497
+ bannerFile?: {
5498
+ id: string;
5499
+ projectId: string;
5500
+ userId: string | null;
5501
+ entityId: string | null;
5502
+ commentId: string | null;
5503
+ spaceId: string | null;
5504
+ type: "image" | "video" | "document" | "other";
5505
+ originalPath: string;
5506
+ originalSize: number;
5507
+ originalMimeType: string;
5508
+ position: number;
5509
+ metadata: {
5510
+ [x: string]: any;
5511
+ };
5512
+ image?: {
5513
+ fileId: string;
5514
+ originalWidth: number;
5515
+ originalHeight: number;
5516
+ variants: {
5517
+ [x: string]: {
5518
+ path: string;
5519
+ publicPath: string;
5520
+ width: number;
5521
+ height: number;
5522
+ size: number;
5523
+ format: string;
5524
+ };
5525
+ };
5526
+ processingStatus: "completed" | "failed";
5527
+ processingError: string | null;
5528
+ format: string;
5529
+ quality: number;
5530
+ exifStripped: boolean;
5531
+ createdAt: Date;
5532
+ updatedAt: Date;
5533
+ } | undefined;
5534
+ createdAt: Date;
5535
+ updatedAt: Date;
5536
+ } | null | undefined;
2609
5537
  location: {
2610
5538
  type: "Point";
2611
5539
  coordinates: [number, number];