@sublay/core 7.4.0 → 7.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/helpers/markCommentAsDeletedInTree.js +1 -1
- package/dist/cjs/helpers/markCommentAsDeletedInTree.js.map +1 -1
- package/dist/cjs/hooks/chat/messages/useSendMessage.js +1 -1
- package/dist/cjs/hooks/chat/messages/useSendMessage.js.map +1 -1
- package/dist/cjs/hooks/comments/useCommentSectionData.js +4 -4
- package/dist/cjs/hooks/comments/useCommentSectionData.js.map +1 -1
- package/dist/cjs/hooks/reports/useFetchModeratedReports.d.ts +4 -4
- package/dist/cjs/hooks/user/useUserActions.js +3 -1
- package/dist/cjs/hooks/user/useUserActions.js.map +1 -1
- package/dist/cjs/interfaces/models/ChatMessage.d.ts +5 -5
- package/dist/cjs/interfaces/models/Collection.d.ts +2 -2
- package/dist/cjs/interfaces/models/Comment.d.ts +8 -8
- package/dist/cjs/interfaces/models/Conversation.d.ts +3 -3
- package/dist/cjs/interfaces/models/ConversationMember.d.ts +5 -5
- package/dist/cjs/interfaces/models/Entity.d.ts +5 -5
- package/dist/cjs/interfaces/models/File.d.ts +4 -4
- package/dist/cjs/interfaces/models/Follow.d.ts +1 -1
- package/dist/cjs/interfaces/models/Project.d.ts +3 -3
- package/dist/cjs/interfaces/models/Rule.d.ts +2 -2
- package/dist/cjs/interfaces/models/Space.d.ts +8 -8
- package/dist/cjs/interfaces/models/SpaceMember.d.ts +3 -3
- package/dist/cjs/interfaces/models/User.d.ts +6 -6
- package/dist/cjs/store/slices/chatSlice.js +1 -1
- package/dist/cjs/store/slices/chatSlice.js.map +1 -1
- package/dist/cjs/store/slices/collectionsSlice.d.ts +798 -798
- package/dist/cjs/store/slices/entityListsSlice.d.ts +480 -480
- package/dist/cjs/store/slices/spaceListsSlice.d.ts +132 -132
- package/dist/cjs/store/slices/userSlice.d.ts +112 -112
- package/dist/cjs/types/socket.d.ts +2 -2
- package/dist/esm/helpers/markCommentAsDeletedInTree.js +1 -1
- package/dist/esm/helpers/markCommentAsDeletedInTree.js.map +1 -1
- package/dist/esm/hooks/chat/messages/useSendMessage.js +1 -1
- package/dist/esm/hooks/chat/messages/useSendMessage.js.map +1 -1
- package/dist/esm/hooks/comments/useCommentSectionData.js +4 -4
- package/dist/esm/hooks/comments/useCommentSectionData.js.map +1 -1
- package/dist/esm/hooks/reports/useFetchModeratedReports.d.ts +4 -4
- package/dist/esm/hooks/user/useUserActions.js +3 -1
- package/dist/esm/hooks/user/useUserActions.js.map +1 -1
- package/dist/esm/interfaces/models/ChatMessage.d.ts +5 -5
- package/dist/esm/interfaces/models/Collection.d.ts +2 -2
- package/dist/esm/interfaces/models/Comment.d.ts +8 -8
- package/dist/esm/interfaces/models/Conversation.d.ts +3 -3
- package/dist/esm/interfaces/models/ConversationMember.d.ts +5 -5
- package/dist/esm/interfaces/models/Entity.d.ts +5 -5
- package/dist/esm/interfaces/models/File.d.ts +4 -4
- package/dist/esm/interfaces/models/Follow.d.ts +1 -1
- package/dist/esm/interfaces/models/Project.d.ts +3 -3
- package/dist/esm/interfaces/models/Rule.d.ts +2 -2
- package/dist/esm/interfaces/models/Space.d.ts +8 -8
- package/dist/esm/interfaces/models/SpaceMember.d.ts +3 -3
- package/dist/esm/interfaces/models/User.d.ts +6 -6
- package/dist/esm/store/slices/chatSlice.js +1 -1
- package/dist/esm/store/slices/chatSlice.js.map +1 -1
- package/dist/esm/store/slices/collectionsSlice.d.ts +798 -798
- package/dist/esm/store/slices/entityListsSlice.d.ts +480 -480
- package/dist/esm/store/slices/spaceListsSlice.d.ts +132 -132
- package/dist/esm/store/slices/userSlice.d.ts +112 -112
- package/dist/esm/types/socket.d.ts +2 -2
- package/package.json +1 -1
|
@@ -56,11 +56,11 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
56
56
|
format: string;
|
|
57
57
|
quality: number;
|
|
58
58
|
exifStripped: boolean;
|
|
59
|
-
createdAt:
|
|
60
|
-
updatedAt:
|
|
59
|
+
createdAt: string;
|
|
60
|
+
updatedAt: string;
|
|
61
61
|
} | undefined;
|
|
62
|
-
createdAt:
|
|
63
|
-
updatedAt:
|
|
62
|
+
createdAt: string;
|
|
63
|
+
updatedAt: string;
|
|
64
64
|
} | null | undefined;
|
|
65
65
|
bannerFile?: {
|
|
66
66
|
id: string;
|
|
@@ -97,14 +97,14 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
97
97
|
format: string;
|
|
98
98
|
quality: number;
|
|
99
99
|
exifStripped: boolean;
|
|
100
|
-
createdAt:
|
|
101
|
-
updatedAt:
|
|
100
|
+
createdAt: string;
|
|
101
|
+
updatedAt: string;
|
|
102
102
|
} | undefined;
|
|
103
|
-
createdAt:
|
|
104
|
-
updatedAt:
|
|
103
|
+
createdAt: string;
|
|
104
|
+
updatedAt: string;
|
|
105
105
|
} | null | undefined;
|
|
106
106
|
bio: string | null;
|
|
107
|
-
birthdate:
|
|
107
|
+
birthdate: string | null;
|
|
108
108
|
location: {
|
|
109
109
|
type: "Point";
|
|
110
110
|
coordinates: [number, number];
|
|
@@ -116,13 +116,13 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
116
116
|
spaceReputation?: number | undefined;
|
|
117
117
|
isVerified: boolean;
|
|
118
118
|
isActive: boolean;
|
|
119
|
-
lastActive:
|
|
120
|
-
createdAt:
|
|
121
|
-
updatedAt:
|
|
119
|
+
lastActive: string;
|
|
120
|
+
createdAt: string;
|
|
121
|
+
updatedAt: string;
|
|
122
122
|
suspensions: {
|
|
123
123
|
reason: string | null;
|
|
124
|
-
startDate:
|
|
125
|
-
endDate:
|
|
124
|
+
startDate: string;
|
|
125
|
+
endDate: string | null;
|
|
126
126
|
}[];
|
|
127
127
|
authMethods: string[];
|
|
128
128
|
} | null;
|
|
@@ -178,11 +178,11 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
178
178
|
format: string;
|
|
179
179
|
quality: number;
|
|
180
180
|
exifStripped: boolean;
|
|
181
|
-
createdAt:
|
|
182
|
-
updatedAt:
|
|
181
|
+
createdAt: string;
|
|
182
|
+
updatedAt: string;
|
|
183
183
|
} | undefined;
|
|
184
|
-
createdAt:
|
|
185
|
-
updatedAt:
|
|
184
|
+
createdAt: string;
|
|
185
|
+
updatedAt: string;
|
|
186
186
|
} | null | undefined;
|
|
187
187
|
bannerFile?: {
|
|
188
188
|
id: string;
|
|
@@ -219,14 +219,14 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
219
219
|
format: string;
|
|
220
220
|
quality: number;
|
|
221
221
|
exifStripped: boolean;
|
|
222
|
-
createdAt:
|
|
223
|
-
updatedAt:
|
|
222
|
+
createdAt: string;
|
|
223
|
+
updatedAt: string;
|
|
224
224
|
} | undefined;
|
|
225
|
-
createdAt:
|
|
226
|
-
updatedAt:
|
|
225
|
+
createdAt: string;
|
|
226
|
+
updatedAt: string;
|
|
227
227
|
} | null | undefined;
|
|
228
228
|
bio: string | null;
|
|
229
|
-
birthdate:
|
|
229
|
+
birthdate: string | null;
|
|
230
230
|
location: {
|
|
231
231
|
type: "Point";
|
|
232
232
|
coordinates: [number, number];
|
|
@@ -238,13 +238,13 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
238
238
|
spaceReputation?: number | undefined;
|
|
239
239
|
isVerified: boolean;
|
|
240
240
|
isActive: boolean;
|
|
241
|
-
lastActive:
|
|
242
|
-
createdAt:
|
|
243
|
-
updatedAt:
|
|
241
|
+
lastActive: string;
|
|
242
|
+
createdAt: string;
|
|
243
|
+
updatedAt: string;
|
|
244
244
|
suspensions: {
|
|
245
245
|
reason: string | null;
|
|
246
|
-
startDate:
|
|
247
|
-
endDate:
|
|
246
|
+
startDate: string;
|
|
247
|
+
endDate: string | null;
|
|
248
248
|
}[];
|
|
249
249
|
authMethods: string[];
|
|
250
250
|
} | null;
|
|
@@ -300,11 +300,11 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
300
300
|
format: string;
|
|
301
301
|
quality: number;
|
|
302
302
|
exifStripped: boolean;
|
|
303
|
-
createdAt:
|
|
304
|
-
updatedAt:
|
|
303
|
+
createdAt: string;
|
|
304
|
+
updatedAt: string;
|
|
305
305
|
} | undefined;
|
|
306
|
-
createdAt:
|
|
307
|
-
updatedAt:
|
|
306
|
+
createdAt: string;
|
|
307
|
+
updatedAt: string;
|
|
308
308
|
} | null | undefined;
|
|
309
309
|
bannerFile?: {
|
|
310
310
|
id: string;
|
|
@@ -341,14 +341,14 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
341
341
|
format: string;
|
|
342
342
|
quality: number;
|
|
343
343
|
exifStripped: boolean;
|
|
344
|
-
createdAt:
|
|
345
|
-
updatedAt:
|
|
344
|
+
createdAt: string;
|
|
345
|
+
updatedAt: string;
|
|
346
346
|
} | undefined;
|
|
347
|
-
createdAt:
|
|
348
|
-
updatedAt:
|
|
347
|
+
createdAt: string;
|
|
348
|
+
updatedAt: string;
|
|
349
349
|
} | null | undefined;
|
|
350
350
|
bio: string | null;
|
|
351
|
-
birthdate:
|
|
351
|
+
birthdate: string | null;
|
|
352
352
|
location: {
|
|
353
353
|
type: "Point";
|
|
354
354
|
coordinates: [number, number];
|
|
@@ -360,13 +360,13 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
360
360
|
spaceReputation?: number | undefined;
|
|
361
361
|
isVerified: boolean;
|
|
362
362
|
isActive: boolean;
|
|
363
|
-
lastActive:
|
|
364
|
-
createdAt:
|
|
365
|
-
updatedAt:
|
|
363
|
+
lastActive: string;
|
|
364
|
+
createdAt: string;
|
|
365
|
+
updatedAt: string;
|
|
366
366
|
suspensions: {
|
|
367
367
|
reason: string | null;
|
|
368
|
-
startDate:
|
|
369
|
-
endDate:
|
|
368
|
+
startDate: string;
|
|
369
|
+
endDate: string | null;
|
|
370
370
|
}[];
|
|
371
371
|
authMethods: string[];
|
|
372
372
|
} | null;
|
|
@@ -422,11 +422,11 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
422
422
|
format: string;
|
|
423
423
|
quality: number;
|
|
424
424
|
exifStripped: boolean;
|
|
425
|
-
createdAt:
|
|
426
|
-
updatedAt:
|
|
425
|
+
createdAt: string;
|
|
426
|
+
updatedAt: string;
|
|
427
427
|
} | undefined;
|
|
428
|
-
createdAt:
|
|
429
|
-
updatedAt:
|
|
428
|
+
createdAt: string;
|
|
429
|
+
updatedAt: string;
|
|
430
430
|
} | null | undefined;
|
|
431
431
|
bannerFile?: {
|
|
432
432
|
id: string;
|
|
@@ -463,14 +463,14 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
463
463
|
format: string;
|
|
464
464
|
quality: number;
|
|
465
465
|
exifStripped: boolean;
|
|
466
|
-
createdAt:
|
|
467
|
-
updatedAt:
|
|
466
|
+
createdAt: string;
|
|
467
|
+
updatedAt: string;
|
|
468
468
|
} | undefined;
|
|
469
|
-
createdAt:
|
|
470
|
-
updatedAt:
|
|
469
|
+
createdAt: string;
|
|
470
|
+
updatedAt: string;
|
|
471
471
|
} | null | undefined;
|
|
472
472
|
bio: string | null;
|
|
473
|
-
birthdate:
|
|
473
|
+
birthdate: string | null;
|
|
474
474
|
location: {
|
|
475
475
|
type: "Point";
|
|
476
476
|
coordinates: [number, number];
|
|
@@ -482,13 +482,13 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
482
482
|
spaceReputation?: number | undefined;
|
|
483
483
|
isVerified: boolean;
|
|
484
484
|
isActive: boolean;
|
|
485
|
-
lastActive:
|
|
486
|
-
createdAt:
|
|
487
|
-
updatedAt:
|
|
485
|
+
lastActive: string;
|
|
486
|
+
createdAt: string;
|
|
487
|
+
updatedAt: string;
|
|
488
488
|
suspensions: {
|
|
489
489
|
reason: string | null;
|
|
490
|
-
startDate:
|
|
491
|
-
endDate:
|
|
490
|
+
startDate: string;
|
|
491
|
+
endDate: string | null;
|
|
492
492
|
}[];
|
|
493
493
|
authMethods: string[];
|
|
494
494
|
} | null;
|
|
@@ -544,11 +544,11 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
544
544
|
format: string;
|
|
545
545
|
quality: number;
|
|
546
546
|
exifStripped: boolean;
|
|
547
|
-
createdAt:
|
|
548
|
-
updatedAt:
|
|
547
|
+
createdAt: string;
|
|
548
|
+
updatedAt: string;
|
|
549
549
|
} | undefined;
|
|
550
|
-
createdAt:
|
|
551
|
-
updatedAt:
|
|
550
|
+
createdAt: string;
|
|
551
|
+
updatedAt: string;
|
|
552
552
|
} | null | undefined;
|
|
553
553
|
bannerFile?: {
|
|
554
554
|
id: string;
|
|
@@ -585,14 +585,14 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
585
585
|
format: string;
|
|
586
586
|
quality: number;
|
|
587
587
|
exifStripped: boolean;
|
|
588
|
-
createdAt:
|
|
589
|
-
updatedAt:
|
|
588
|
+
createdAt: string;
|
|
589
|
+
updatedAt: string;
|
|
590
590
|
} | undefined;
|
|
591
|
-
createdAt:
|
|
592
|
-
updatedAt:
|
|
591
|
+
createdAt: string;
|
|
592
|
+
updatedAt: string;
|
|
593
593
|
} | null | undefined;
|
|
594
594
|
bio: string | null;
|
|
595
|
-
birthdate:
|
|
595
|
+
birthdate: string | null;
|
|
596
596
|
location: {
|
|
597
597
|
type: "Point";
|
|
598
598
|
coordinates: [number, number];
|
|
@@ -604,13 +604,13 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
604
604
|
spaceReputation?: number | undefined;
|
|
605
605
|
isVerified: boolean;
|
|
606
606
|
isActive: boolean;
|
|
607
|
-
lastActive:
|
|
608
|
-
createdAt:
|
|
609
|
-
updatedAt:
|
|
607
|
+
lastActive: string;
|
|
608
|
+
createdAt: string;
|
|
609
|
+
updatedAt: string;
|
|
610
610
|
suspensions: {
|
|
611
611
|
reason: string | null;
|
|
612
|
-
startDate:
|
|
613
|
-
endDate:
|
|
612
|
+
startDate: string;
|
|
613
|
+
endDate: string | null;
|
|
614
614
|
}[];
|
|
615
615
|
authMethods: string[];
|
|
616
616
|
} | null;
|
|
@@ -666,11 +666,11 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
666
666
|
format: string;
|
|
667
667
|
quality: number;
|
|
668
668
|
exifStripped: boolean;
|
|
669
|
-
createdAt:
|
|
670
|
-
updatedAt:
|
|
669
|
+
createdAt: string;
|
|
670
|
+
updatedAt: string;
|
|
671
671
|
} | undefined;
|
|
672
|
-
createdAt:
|
|
673
|
-
updatedAt:
|
|
672
|
+
createdAt: string;
|
|
673
|
+
updatedAt: string;
|
|
674
674
|
} | null | undefined;
|
|
675
675
|
bannerFile?: {
|
|
676
676
|
id: string;
|
|
@@ -707,14 +707,14 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
707
707
|
format: string;
|
|
708
708
|
quality: number;
|
|
709
709
|
exifStripped: boolean;
|
|
710
|
-
createdAt:
|
|
711
|
-
updatedAt:
|
|
710
|
+
createdAt: string;
|
|
711
|
+
updatedAt: string;
|
|
712
712
|
} | undefined;
|
|
713
|
-
createdAt:
|
|
714
|
-
updatedAt:
|
|
713
|
+
createdAt: string;
|
|
714
|
+
updatedAt: string;
|
|
715
715
|
} | null | undefined;
|
|
716
716
|
bio: string | null;
|
|
717
|
-
birthdate:
|
|
717
|
+
birthdate: string | null;
|
|
718
718
|
location: {
|
|
719
719
|
type: "Point";
|
|
720
720
|
coordinates: [number, number];
|
|
@@ -726,13 +726,13 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
726
726
|
spaceReputation?: number | undefined;
|
|
727
727
|
isVerified: boolean;
|
|
728
728
|
isActive: boolean;
|
|
729
|
-
lastActive:
|
|
730
|
-
createdAt:
|
|
731
|
-
updatedAt:
|
|
729
|
+
lastActive: string;
|
|
730
|
+
createdAt: string;
|
|
731
|
+
updatedAt: string;
|
|
732
732
|
suspensions: {
|
|
733
733
|
reason: string | null;
|
|
734
|
-
startDate:
|
|
735
|
-
endDate:
|
|
734
|
+
startDate: string;
|
|
735
|
+
endDate: string | null;
|
|
736
736
|
}[];
|
|
737
737
|
authMethods: string[];
|
|
738
738
|
} | null;
|
|
@@ -788,11 +788,11 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
788
788
|
format: string;
|
|
789
789
|
quality: number;
|
|
790
790
|
exifStripped: boolean;
|
|
791
|
-
createdAt:
|
|
792
|
-
updatedAt:
|
|
791
|
+
createdAt: string;
|
|
792
|
+
updatedAt: string;
|
|
793
793
|
} | undefined;
|
|
794
|
-
createdAt:
|
|
795
|
-
updatedAt:
|
|
794
|
+
createdAt: string;
|
|
795
|
+
updatedAt: string;
|
|
796
796
|
} | null | undefined;
|
|
797
797
|
bannerFile?: {
|
|
798
798
|
id: string;
|
|
@@ -829,14 +829,14 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
829
829
|
format: string;
|
|
830
830
|
quality: number;
|
|
831
831
|
exifStripped: boolean;
|
|
832
|
-
createdAt:
|
|
833
|
-
updatedAt:
|
|
832
|
+
createdAt: string;
|
|
833
|
+
updatedAt: string;
|
|
834
834
|
} | undefined;
|
|
835
|
-
createdAt:
|
|
836
|
-
updatedAt:
|
|
835
|
+
createdAt: string;
|
|
836
|
+
updatedAt: string;
|
|
837
837
|
} | null | undefined;
|
|
838
838
|
bio: string | null;
|
|
839
|
-
birthdate:
|
|
839
|
+
birthdate: string | null;
|
|
840
840
|
location: {
|
|
841
841
|
type: "Point";
|
|
842
842
|
coordinates: [number, number];
|
|
@@ -848,13 +848,13 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
848
848
|
spaceReputation?: number | undefined;
|
|
849
849
|
isVerified: boolean;
|
|
850
850
|
isActive: boolean;
|
|
851
|
-
lastActive:
|
|
852
|
-
createdAt:
|
|
853
|
-
updatedAt:
|
|
851
|
+
lastActive: string;
|
|
852
|
+
createdAt: string;
|
|
853
|
+
updatedAt: string;
|
|
854
854
|
suspensions: {
|
|
855
855
|
reason: string | null;
|
|
856
|
-
startDate:
|
|
857
|
-
endDate:
|
|
856
|
+
startDate: string;
|
|
857
|
+
endDate: string | null;
|
|
858
858
|
}[];
|
|
859
859
|
authMethods: string[];
|
|
860
860
|
} | null;
|
|
@@ -910,11 +910,11 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
910
910
|
format: string;
|
|
911
911
|
quality: number;
|
|
912
912
|
exifStripped: boolean;
|
|
913
|
-
createdAt:
|
|
914
|
-
updatedAt:
|
|
913
|
+
createdAt: string;
|
|
914
|
+
updatedAt: string;
|
|
915
915
|
} | undefined;
|
|
916
|
-
createdAt:
|
|
917
|
-
updatedAt:
|
|
916
|
+
createdAt: string;
|
|
917
|
+
updatedAt: string;
|
|
918
918
|
} | null | undefined;
|
|
919
919
|
bannerFile?: {
|
|
920
920
|
id: string;
|
|
@@ -951,14 +951,14 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
951
951
|
format: string;
|
|
952
952
|
quality: number;
|
|
953
953
|
exifStripped: boolean;
|
|
954
|
-
createdAt:
|
|
955
|
-
updatedAt:
|
|
954
|
+
createdAt: string;
|
|
955
|
+
updatedAt: string;
|
|
956
956
|
} | undefined;
|
|
957
|
-
createdAt:
|
|
958
|
-
updatedAt:
|
|
957
|
+
createdAt: string;
|
|
958
|
+
updatedAt: string;
|
|
959
959
|
} | null | undefined;
|
|
960
960
|
bio: string | null;
|
|
961
|
-
birthdate:
|
|
961
|
+
birthdate: string | null;
|
|
962
962
|
location: {
|
|
963
963
|
type: "Point";
|
|
964
964
|
coordinates: [number, number];
|
|
@@ -970,13 +970,13 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
970
970
|
spaceReputation?: number | undefined;
|
|
971
971
|
isVerified: boolean;
|
|
972
972
|
isActive: boolean;
|
|
973
|
-
lastActive:
|
|
974
|
-
createdAt:
|
|
975
|
-
updatedAt:
|
|
973
|
+
lastActive: string;
|
|
974
|
+
createdAt: string;
|
|
975
|
+
updatedAt: string;
|
|
976
976
|
suspensions: {
|
|
977
977
|
reason: string | null;
|
|
978
|
-
startDate:
|
|
979
|
-
endDate:
|
|
978
|
+
startDate: string;
|
|
979
|
+
endDate: string | null;
|
|
980
980
|
}[];
|
|
981
981
|
authMethods: string[];
|
|
982
982
|
} | null;
|
|
@@ -10,12 +10,12 @@ export interface ServerToClientEvents {
|
|
|
10
10
|
gif: ChatMessage["gif"];
|
|
11
11
|
mentions: ChatMessage["mentions"];
|
|
12
12
|
metadata: Record<string, any>;
|
|
13
|
-
editedAt:
|
|
13
|
+
editedAt: string | null;
|
|
14
14
|
}) => void;
|
|
15
15
|
"message:deleted": (payload: {
|
|
16
16
|
messageId: string;
|
|
17
17
|
conversationId: string;
|
|
18
|
-
userDeletedAt:
|
|
18
|
+
userDeletedAt: string;
|
|
19
19
|
}) => void;
|
|
20
20
|
"message:removed": (payload: {
|
|
21
21
|
messageId: string;
|