@sublay/core 7.3.0 → 7.4.1
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/conversations/useConversationMembers.d.ts +8 -1
- package/dist/cjs/hooks/chat/conversations/useConversationMembers.js +8 -3
- package/dist/cjs/hooks/chat/conversations/useConversationMembers.js.map +1 -1
- package/dist/cjs/hooks/chat/messages/useFetchManyChatMessages.d.ts +7 -0
- package/dist/cjs/hooks/chat/messages/useFetchManyChatMessages.js +5 -1
- package/dist/cjs/hooks/chat/messages/useFetchManyChatMessages.js.map +1 -1
- package/dist/cjs/hooks/chat/messages/useFetchManyChatMessagesWrapper.d.ts +7 -0
- package/dist/cjs/hooks/chat/messages/useFetchManyChatMessagesWrapper.js +7 -3
- package/dist/cjs/hooks/chat/messages/useFetchManyChatMessagesWrapper.js.map +1 -1
- package/dist/cjs/hooks/chat/messages/useSendMessage.d.ts +11 -0
- package/dist/cjs/hooks/chat/messages/useSendMessage.js +9 -4
- 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/comments/useEntityComments.d.ts +7 -0
- package/dist/cjs/hooks/comments/useEntityComments.js +6 -2
- package/dist/cjs/hooks/comments/useEntityComments.js.map +1 -1
- package/dist/cjs/hooks/comments/useFetchComment.d.ts +7 -0
- package/dist/cjs/hooks/comments/useFetchComment.js +5 -1
- package/dist/cjs/hooks/comments/useFetchComment.js.map +1 -1
- package/dist/cjs/hooks/comments/useFetchManyComments.d.ts +7 -0
- package/dist/cjs/hooks/comments/useFetchManyComments.js +5 -1
- package/dist/cjs/hooks/comments/useFetchManyComments.js.map +1 -1
- package/dist/cjs/hooks/comments/useFetchManyCommentsWrapper.d.ts +7 -0
- package/dist/cjs/hooks/comments/useFetchManyCommentsWrapper.js +9 -1
- package/dist/cjs/hooks/comments/useFetchManyCommentsWrapper.js.map +1 -1
- package/dist/cjs/hooks/entities/useFetchEntity.d.ts +7 -0
- package/dist/cjs/hooks/entities/useFetchEntity.js +9 -4
- package/dist/cjs/hooks/entities/useFetchEntity.js.map +1 -1
- package/dist/cjs/hooks/entities/useFetchManyEntities.d.ts +7 -0
- package/dist/cjs/hooks/entities/useFetchManyEntities.js +4 -0
- package/dist/cjs/hooks/entities/useFetchManyEntities.js.map +1 -1
- package/dist/cjs/hooks/entities/useFetchManyEntitiesWrapper.d.ts +7 -0
- package/dist/cjs/hooks/entities/useFetchManyEntitiesWrapper.js +9 -1
- package/dist/cjs/hooks/entities/useFetchManyEntitiesWrapper.js.map +1 -1
- package/dist/cjs/hooks/entity-lists/useEntityList.js +6 -0
- package/dist/cjs/hooks/entity-lists/useEntityList.js.map +1 -1
- package/dist/cjs/hooks/entity-lists/useEntityListActions.d.ts +2 -0
- package/dist/cjs/hooks/entity-lists/useEntityListActions.js +2 -0
- package/dist/cjs/hooks/entity-lists/useEntityListActions.js.map +1 -1
- package/dist/cjs/hooks/reactions/useFetchCommentReactions.d.ts +7 -0
- package/dist/cjs/hooks/reactions/useFetchCommentReactions.js +5 -1
- package/dist/cjs/hooks/reactions/useFetchCommentReactions.js.map +1 -1
- package/dist/cjs/hooks/reactions/useFetchEntityReactions.d.ts +7 -0
- package/dist/cjs/hooks/reactions/useFetchEntityReactions.js +5 -1
- package/dist/cjs/hooks/reactions/useFetchEntityReactions.js.map +1 -1
- package/dist/cjs/hooks/relationships/connections/useFetchConnectionsByUserId.d.ts +8 -0
- package/dist/cjs/hooks/relationships/connections/useFetchConnectionsByUserId.js +7 -5
- package/dist/cjs/hooks/relationships/connections/useFetchConnectionsByUserId.js.map +1 -1
- package/dist/cjs/hooks/relationships/follows/useFetchFollowersByUserId.d.ts +8 -0
- package/dist/cjs/hooks/relationships/follows/useFetchFollowersByUserId.js +7 -2
- package/dist/cjs/hooks/relationships/follows/useFetchFollowersByUserId.js.map +1 -1
- package/dist/cjs/hooks/relationships/follows/useFetchFollowingByUserId.d.ts +8 -0
- package/dist/cjs/hooks/relationships/follows/useFetchFollowingByUserId.js +7 -5
- package/dist/cjs/hooks/relationships/follows/useFetchFollowingByUserId.js.map +1 -1
- package/dist/cjs/hooks/reports/useFetchModeratedReports.d.ts +11 -4
- package/dist/cjs/hooks/reports/useFetchModeratedReports.js +7 -2
- package/dist/cjs/hooks/reports/useFetchModeratedReports.js.map +1 -1
- package/dist/cjs/hooks/search/useAskContent.d.ts +8 -0
- package/dist/cjs/hooks/search/useAskContent.js +13 -2
- package/dist/cjs/hooks/search/useAskContent.js.map +1 -1
- package/dist/cjs/hooks/search/useSearchContent.d.ts +8 -0
- package/dist/cjs/hooks/search/useSearchContent.js +7 -2
- package/dist/cjs/hooks/search/useSearchContent.js.map +1 -1
- package/dist/cjs/hooks/spaces/useFetchSpaceMembers.d.ts +7 -0
- package/dist/cjs/hooks/spaces/useFetchSpaceMembers.js +7 -2
- package/dist/cjs/hooks/spaces/useFetchSpaceMembers.js.map +1 -1
- package/dist/cjs/hooks/spaces/useFetchSpaceTeam.d.ts +7 -0
- package/dist/cjs/hooks/spaces/useFetchSpaceTeam.js +7 -2
- package/dist/cjs/hooks/spaces/useFetchSpaceTeam.js.map +1 -1
- package/dist/cjs/hooks/user/useUserActions.js +3 -1
- package/dist/cjs/hooks/user/useUserActions.js.map +1 -1
- package/dist/cjs/hooks/users/useFetchUser.d.ts +8 -0
- package/dist/cjs/hooks/users/useFetchUser.js +9 -4
- package/dist/cjs/hooks/users/useFetchUser.js.map +1 -1
- package/dist/cjs/hooks/users/useFetchUserByForeignId.d.ts +8 -0
- package/dist/cjs/hooks/users/useFetchUserByForeignId.js +10 -5
- package/dist/cjs/hooks/users/useFetchUserByForeignId.js.map +1 -1
- package/dist/cjs/hooks/users/useFetchUserByUsername.d.ts +8 -0
- package/dist/cjs/hooks/users/useFetchUserByUsername.js +10 -5
- package/dist/cjs/hooks/users/useFetchUserByUsername.js.map +1 -1
- package/dist/cjs/hooks/users/useFetchUserSuggestions.d.ts +8 -0
- package/dist/cjs/hooks/users/useFetchUserSuggestions.js +7 -4
- package/dist/cjs/hooks/users/useFetchUserSuggestions.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 +6 -6
- 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 +7 -6
- package/dist/cjs/store/api/entityListsApi.d.ts +2 -0
- package/dist/cjs/store/api/entityListsApi.js +3 -1
- package/dist/cjs/store/api/entityListsApi.js.map +1 -1
- 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 +836 -798
- package/dist/cjs/store/slices/entityListsSlice.d.ts +545 -480
- package/dist/cjs/store/slices/entityListsSlice.js +10 -0
- package/dist/cjs/store/slices/entityListsSlice.js.map +1 -1
- package/dist/cjs/store/slices/spaceListsSlice.d.ts +132 -132
- package/dist/cjs/store/slices/userSlice.d.ts +120 -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/conversations/useConversationMembers.d.ts +8 -1
- package/dist/esm/hooks/chat/conversations/useConversationMembers.js +8 -3
- package/dist/esm/hooks/chat/conversations/useConversationMembers.js.map +1 -1
- package/dist/esm/hooks/chat/messages/useFetchManyChatMessages.d.ts +7 -0
- package/dist/esm/hooks/chat/messages/useFetchManyChatMessages.js +5 -1
- package/dist/esm/hooks/chat/messages/useFetchManyChatMessages.js.map +1 -1
- package/dist/esm/hooks/chat/messages/useFetchManyChatMessagesWrapper.d.ts +7 -0
- package/dist/esm/hooks/chat/messages/useFetchManyChatMessagesWrapper.js +7 -3
- package/dist/esm/hooks/chat/messages/useFetchManyChatMessagesWrapper.js.map +1 -1
- package/dist/esm/hooks/chat/messages/useSendMessage.d.ts +11 -0
- package/dist/esm/hooks/chat/messages/useSendMessage.js +9 -4
- 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/comments/useEntityComments.d.ts +7 -0
- package/dist/esm/hooks/comments/useEntityComments.js +6 -2
- package/dist/esm/hooks/comments/useEntityComments.js.map +1 -1
- package/dist/esm/hooks/comments/useFetchComment.d.ts +7 -0
- package/dist/esm/hooks/comments/useFetchComment.js +5 -1
- package/dist/esm/hooks/comments/useFetchComment.js.map +1 -1
- package/dist/esm/hooks/comments/useFetchManyComments.d.ts +7 -0
- package/dist/esm/hooks/comments/useFetchManyComments.js +5 -1
- package/dist/esm/hooks/comments/useFetchManyComments.js.map +1 -1
- package/dist/esm/hooks/comments/useFetchManyCommentsWrapper.d.ts +7 -0
- package/dist/esm/hooks/comments/useFetchManyCommentsWrapper.js +9 -1
- package/dist/esm/hooks/comments/useFetchManyCommentsWrapper.js.map +1 -1
- package/dist/esm/hooks/entities/useFetchEntity.d.ts +7 -0
- package/dist/esm/hooks/entities/useFetchEntity.js +9 -4
- package/dist/esm/hooks/entities/useFetchEntity.js.map +1 -1
- package/dist/esm/hooks/entities/useFetchManyEntities.d.ts +7 -0
- package/dist/esm/hooks/entities/useFetchManyEntities.js +4 -0
- package/dist/esm/hooks/entities/useFetchManyEntities.js.map +1 -1
- package/dist/esm/hooks/entities/useFetchManyEntitiesWrapper.d.ts +7 -0
- package/dist/esm/hooks/entities/useFetchManyEntitiesWrapper.js +9 -1
- package/dist/esm/hooks/entities/useFetchManyEntitiesWrapper.js.map +1 -1
- package/dist/esm/hooks/entity-lists/useEntityList.js +6 -0
- package/dist/esm/hooks/entity-lists/useEntityList.js.map +1 -1
- package/dist/esm/hooks/entity-lists/useEntityListActions.d.ts +2 -0
- package/dist/esm/hooks/entity-lists/useEntityListActions.js +2 -0
- package/dist/esm/hooks/entity-lists/useEntityListActions.js.map +1 -1
- package/dist/esm/hooks/reactions/useFetchCommentReactions.d.ts +7 -0
- package/dist/esm/hooks/reactions/useFetchCommentReactions.js +5 -1
- package/dist/esm/hooks/reactions/useFetchCommentReactions.js.map +1 -1
- package/dist/esm/hooks/reactions/useFetchEntityReactions.d.ts +7 -0
- package/dist/esm/hooks/reactions/useFetchEntityReactions.js +5 -1
- package/dist/esm/hooks/reactions/useFetchEntityReactions.js.map +1 -1
- package/dist/esm/hooks/relationships/connections/useFetchConnectionsByUserId.d.ts +8 -0
- package/dist/esm/hooks/relationships/connections/useFetchConnectionsByUserId.js +7 -5
- package/dist/esm/hooks/relationships/connections/useFetchConnectionsByUserId.js.map +1 -1
- package/dist/esm/hooks/relationships/follows/useFetchFollowersByUserId.d.ts +8 -0
- package/dist/esm/hooks/relationships/follows/useFetchFollowersByUserId.js +7 -2
- package/dist/esm/hooks/relationships/follows/useFetchFollowersByUserId.js.map +1 -1
- package/dist/esm/hooks/relationships/follows/useFetchFollowingByUserId.d.ts +8 -0
- package/dist/esm/hooks/relationships/follows/useFetchFollowingByUserId.js +7 -5
- package/dist/esm/hooks/relationships/follows/useFetchFollowingByUserId.js.map +1 -1
- package/dist/esm/hooks/reports/useFetchModeratedReports.d.ts +11 -4
- package/dist/esm/hooks/reports/useFetchModeratedReports.js +7 -2
- package/dist/esm/hooks/reports/useFetchModeratedReports.js.map +1 -1
- package/dist/esm/hooks/search/useAskContent.d.ts +8 -0
- package/dist/esm/hooks/search/useAskContent.js +13 -2
- package/dist/esm/hooks/search/useAskContent.js.map +1 -1
- package/dist/esm/hooks/search/useSearchContent.d.ts +8 -0
- package/dist/esm/hooks/search/useSearchContent.js +7 -2
- package/dist/esm/hooks/search/useSearchContent.js.map +1 -1
- package/dist/esm/hooks/spaces/useFetchSpaceMembers.d.ts +7 -0
- package/dist/esm/hooks/spaces/useFetchSpaceMembers.js +7 -2
- package/dist/esm/hooks/spaces/useFetchSpaceMembers.js.map +1 -1
- package/dist/esm/hooks/spaces/useFetchSpaceTeam.d.ts +7 -0
- package/dist/esm/hooks/spaces/useFetchSpaceTeam.js +7 -2
- package/dist/esm/hooks/spaces/useFetchSpaceTeam.js.map +1 -1
- package/dist/esm/hooks/user/useUserActions.js +3 -1
- package/dist/esm/hooks/user/useUserActions.js.map +1 -1
- package/dist/esm/hooks/users/useFetchUser.d.ts +8 -0
- package/dist/esm/hooks/users/useFetchUser.js +9 -4
- package/dist/esm/hooks/users/useFetchUser.js.map +1 -1
- package/dist/esm/hooks/users/useFetchUserByForeignId.d.ts +8 -0
- package/dist/esm/hooks/users/useFetchUserByForeignId.js +10 -5
- package/dist/esm/hooks/users/useFetchUserByForeignId.js.map +1 -1
- package/dist/esm/hooks/users/useFetchUserByUsername.d.ts +8 -0
- package/dist/esm/hooks/users/useFetchUserByUsername.js +10 -5
- package/dist/esm/hooks/users/useFetchUserByUsername.js.map +1 -1
- package/dist/esm/hooks/users/useFetchUserSuggestions.d.ts +8 -0
- package/dist/esm/hooks/users/useFetchUserSuggestions.js +7 -4
- package/dist/esm/hooks/users/useFetchUserSuggestions.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 +6 -6
- 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 +7 -6
- package/dist/esm/store/api/entityListsApi.d.ts +2 -0
- package/dist/esm/store/api/entityListsApi.js +3 -1
- package/dist/esm/store/api/entityListsApi.js.map +1 -1
- 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 +836 -798
- package/dist/esm/store/slices/entityListsSlice.d.ts +545 -480
- package/dist/esm/store/slices/entityListsSlice.js +10 -0
- package/dist/esm/store/slices/entityListsSlice.js.map +1 -1
- package/dist/esm/store/slices/spaceListsSlice.d.ts +132 -132
- package/dist/esm/store/slices/userSlice.d.ts +120 -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];
|
|
@@ -113,15 +113,16 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
113
113
|
[x: string]: any;
|
|
114
114
|
};
|
|
115
115
|
reputation: number;
|
|
116
|
+
spaceReputation?: number | undefined;
|
|
116
117
|
isVerified: boolean;
|
|
117
118
|
isActive: boolean;
|
|
118
|
-
lastActive:
|
|
119
|
-
createdAt:
|
|
120
|
-
updatedAt:
|
|
119
|
+
lastActive: string;
|
|
120
|
+
createdAt: string;
|
|
121
|
+
updatedAt: string;
|
|
121
122
|
suspensions: {
|
|
122
123
|
reason: string | null;
|
|
123
|
-
startDate:
|
|
124
|
-
endDate:
|
|
124
|
+
startDate: string;
|
|
125
|
+
endDate: string | null;
|
|
125
126
|
}[];
|
|
126
127
|
authMethods: string[];
|
|
127
128
|
} | null;
|
|
@@ -177,11 +178,11 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
177
178
|
format: string;
|
|
178
179
|
quality: number;
|
|
179
180
|
exifStripped: boolean;
|
|
180
|
-
createdAt:
|
|
181
|
-
updatedAt:
|
|
181
|
+
createdAt: string;
|
|
182
|
+
updatedAt: string;
|
|
182
183
|
} | undefined;
|
|
183
|
-
createdAt:
|
|
184
|
-
updatedAt:
|
|
184
|
+
createdAt: string;
|
|
185
|
+
updatedAt: string;
|
|
185
186
|
} | null | undefined;
|
|
186
187
|
bannerFile?: {
|
|
187
188
|
id: string;
|
|
@@ -218,14 +219,14 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
218
219
|
format: string;
|
|
219
220
|
quality: number;
|
|
220
221
|
exifStripped: boolean;
|
|
221
|
-
createdAt:
|
|
222
|
-
updatedAt:
|
|
222
|
+
createdAt: string;
|
|
223
|
+
updatedAt: string;
|
|
223
224
|
} | undefined;
|
|
224
|
-
createdAt:
|
|
225
|
-
updatedAt:
|
|
225
|
+
createdAt: string;
|
|
226
|
+
updatedAt: string;
|
|
226
227
|
} | null | undefined;
|
|
227
228
|
bio: string | null;
|
|
228
|
-
birthdate:
|
|
229
|
+
birthdate: string | null;
|
|
229
230
|
location: {
|
|
230
231
|
type: "Point";
|
|
231
232
|
coordinates: [number, number];
|
|
@@ -234,15 +235,16 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
234
235
|
[x: string]: any;
|
|
235
236
|
};
|
|
236
237
|
reputation: number;
|
|
238
|
+
spaceReputation?: number | undefined;
|
|
237
239
|
isVerified: boolean;
|
|
238
240
|
isActive: boolean;
|
|
239
|
-
lastActive:
|
|
240
|
-
createdAt:
|
|
241
|
-
updatedAt:
|
|
241
|
+
lastActive: string;
|
|
242
|
+
createdAt: string;
|
|
243
|
+
updatedAt: string;
|
|
242
244
|
suspensions: {
|
|
243
245
|
reason: string | null;
|
|
244
|
-
startDate:
|
|
245
|
-
endDate:
|
|
246
|
+
startDate: string;
|
|
247
|
+
endDate: string | null;
|
|
246
248
|
}[];
|
|
247
249
|
authMethods: string[];
|
|
248
250
|
} | null;
|
|
@@ -298,11 +300,11 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
298
300
|
format: string;
|
|
299
301
|
quality: number;
|
|
300
302
|
exifStripped: boolean;
|
|
301
|
-
createdAt:
|
|
302
|
-
updatedAt:
|
|
303
|
+
createdAt: string;
|
|
304
|
+
updatedAt: string;
|
|
303
305
|
} | undefined;
|
|
304
|
-
createdAt:
|
|
305
|
-
updatedAt:
|
|
306
|
+
createdAt: string;
|
|
307
|
+
updatedAt: string;
|
|
306
308
|
} | null | undefined;
|
|
307
309
|
bannerFile?: {
|
|
308
310
|
id: string;
|
|
@@ -339,14 +341,14 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
339
341
|
format: string;
|
|
340
342
|
quality: number;
|
|
341
343
|
exifStripped: boolean;
|
|
342
|
-
createdAt:
|
|
343
|
-
updatedAt:
|
|
344
|
+
createdAt: string;
|
|
345
|
+
updatedAt: string;
|
|
344
346
|
} | undefined;
|
|
345
|
-
createdAt:
|
|
346
|
-
updatedAt:
|
|
347
|
+
createdAt: string;
|
|
348
|
+
updatedAt: string;
|
|
347
349
|
} | null | undefined;
|
|
348
350
|
bio: string | null;
|
|
349
|
-
birthdate:
|
|
351
|
+
birthdate: string | null;
|
|
350
352
|
location: {
|
|
351
353
|
type: "Point";
|
|
352
354
|
coordinates: [number, number];
|
|
@@ -355,15 +357,16 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
355
357
|
[x: string]: any;
|
|
356
358
|
};
|
|
357
359
|
reputation: number;
|
|
360
|
+
spaceReputation?: number | undefined;
|
|
358
361
|
isVerified: boolean;
|
|
359
362
|
isActive: boolean;
|
|
360
|
-
lastActive:
|
|
361
|
-
createdAt:
|
|
362
|
-
updatedAt:
|
|
363
|
+
lastActive: string;
|
|
364
|
+
createdAt: string;
|
|
365
|
+
updatedAt: string;
|
|
363
366
|
suspensions: {
|
|
364
367
|
reason: string | null;
|
|
365
|
-
startDate:
|
|
366
|
-
endDate:
|
|
368
|
+
startDate: string;
|
|
369
|
+
endDate: string | null;
|
|
367
370
|
}[];
|
|
368
371
|
authMethods: string[];
|
|
369
372
|
} | null;
|
|
@@ -419,11 +422,11 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
419
422
|
format: string;
|
|
420
423
|
quality: number;
|
|
421
424
|
exifStripped: boolean;
|
|
422
|
-
createdAt:
|
|
423
|
-
updatedAt:
|
|
425
|
+
createdAt: string;
|
|
426
|
+
updatedAt: string;
|
|
424
427
|
} | undefined;
|
|
425
|
-
createdAt:
|
|
426
|
-
updatedAt:
|
|
428
|
+
createdAt: string;
|
|
429
|
+
updatedAt: string;
|
|
427
430
|
} | null | undefined;
|
|
428
431
|
bannerFile?: {
|
|
429
432
|
id: string;
|
|
@@ -460,14 +463,14 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
460
463
|
format: string;
|
|
461
464
|
quality: number;
|
|
462
465
|
exifStripped: boolean;
|
|
463
|
-
createdAt:
|
|
464
|
-
updatedAt:
|
|
466
|
+
createdAt: string;
|
|
467
|
+
updatedAt: string;
|
|
465
468
|
} | undefined;
|
|
466
|
-
createdAt:
|
|
467
|
-
updatedAt:
|
|
469
|
+
createdAt: string;
|
|
470
|
+
updatedAt: string;
|
|
468
471
|
} | null | undefined;
|
|
469
472
|
bio: string | null;
|
|
470
|
-
birthdate:
|
|
473
|
+
birthdate: string | null;
|
|
471
474
|
location: {
|
|
472
475
|
type: "Point";
|
|
473
476
|
coordinates: [number, number];
|
|
@@ -476,15 +479,16 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
476
479
|
[x: string]: any;
|
|
477
480
|
};
|
|
478
481
|
reputation: number;
|
|
482
|
+
spaceReputation?: number | undefined;
|
|
479
483
|
isVerified: boolean;
|
|
480
484
|
isActive: boolean;
|
|
481
|
-
lastActive:
|
|
482
|
-
createdAt:
|
|
483
|
-
updatedAt:
|
|
485
|
+
lastActive: string;
|
|
486
|
+
createdAt: string;
|
|
487
|
+
updatedAt: string;
|
|
484
488
|
suspensions: {
|
|
485
489
|
reason: string | null;
|
|
486
|
-
startDate:
|
|
487
|
-
endDate:
|
|
490
|
+
startDate: string;
|
|
491
|
+
endDate: string | null;
|
|
488
492
|
}[];
|
|
489
493
|
authMethods: string[];
|
|
490
494
|
} | null;
|
|
@@ -540,11 +544,11 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
540
544
|
format: string;
|
|
541
545
|
quality: number;
|
|
542
546
|
exifStripped: boolean;
|
|
543
|
-
createdAt:
|
|
544
|
-
updatedAt:
|
|
547
|
+
createdAt: string;
|
|
548
|
+
updatedAt: string;
|
|
545
549
|
} | undefined;
|
|
546
|
-
createdAt:
|
|
547
|
-
updatedAt:
|
|
550
|
+
createdAt: string;
|
|
551
|
+
updatedAt: string;
|
|
548
552
|
} | null | undefined;
|
|
549
553
|
bannerFile?: {
|
|
550
554
|
id: string;
|
|
@@ -581,14 +585,14 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
581
585
|
format: string;
|
|
582
586
|
quality: number;
|
|
583
587
|
exifStripped: boolean;
|
|
584
|
-
createdAt:
|
|
585
|
-
updatedAt:
|
|
588
|
+
createdAt: string;
|
|
589
|
+
updatedAt: string;
|
|
586
590
|
} | undefined;
|
|
587
|
-
createdAt:
|
|
588
|
-
updatedAt:
|
|
591
|
+
createdAt: string;
|
|
592
|
+
updatedAt: string;
|
|
589
593
|
} | null | undefined;
|
|
590
594
|
bio: string | null;
|
|
591
|
-
birthdate:
|
|
595
|
+
birthdate: string | null;
|
|
592
596
|
location: {
|
|
593
597
|
type: "Point";
|
|
594
598
|
coordinates: [number, number];
|
|
@@ -597,15 +601,16 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
597
601
|
[x: string]: any;
|
|
598
602
|
};
|
|
599
603
|
reputation: number;
|
|
604
|
+
spaceReputation?: number | undefined;
|
|
600
605
|
isVerified: boolean;
|
|
601
606
|
isActive: boolean;
|
|
602
|
-
lastActive:
|
|
603
|
-
createdAt:
|
|
604
|
-
updatedAt:
|
|
607
|
+
lastActive: string;
|
|
608
|
+
createdAt: string;
|
|
609
|
+
updatedAt: string;
|
|
605
610
|
suspensions: {
|
|
606
611
|
reason: string | null;
|
|
607
|
-
startDate:
|
|
608
|
-
endDate:
|
|
612
|
+
startDate: string;
|
|
613
|
+
endDate: string | null;
|
|
609
614
|
}[];
|
|
610
615
|
authMethods: string[];
|
|
611
616
|
} | null;
|
|
@@ -661,11 +666,11 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
661
666
|
format: string;
|
|
662
667
|
quality: number;
|
|
663
668
|
exifStripped: boolean;
|
|
664
|
-
createdAt:
|
|
665
|
-
updatedAt:
|
|
669
|
+
createdAt: string;
|
|
670
|
+
updatedAt: string;
|
|
666
671
|
} | undefined;
|
|
667
|
-
createdAt:
|
|
668
|
-
updatedAt:
|
|
672
|
+
createdAt: string;
|
|
673
|
+
updatedAt: string;
|
|
669
674
|
} | null | undefined;
|
|
670
675
|
bannerFile?: {
|
|
671
676
|
id: string;
|
|
@@ -702,14 +707,14 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
702
707
|
format: string;
|
|
703
708
|
quality: number;
|
|
704
709
|
exifStripped: boolean;
|
|
705
|
-
createdAt:
|
|
706
|
-
updatedAt:
|
|
710
|
+
createdAt: string;
|
|
711
|
+
updatedAt: string;
|
|
707
712
|
} | undefined;
|
|
708
|
-
createdAt:
|
|
709
|
-
updatedAt:
|
|
713
|
+
createdAt: string;
|
|
714
|
+
updatedAt: string;
|
|
710
715
|
} | null | undefined;
|
|
711
716
|
bio: string | null;
|
|
712
|
-
birthdate:
|
|
717
|
+
birthdate: string | null;
|
|
713
718
|
location: {
|
|
714
719
|
type: "Point";
|
|
715
720
|
coordinates: [number, number];
|
|
@@ -718,15 +723,16 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
718
723
|
[x: string]: any;
|
|
719
724
|
};
|
|
720
725
|
reputation: number;
|
|
726
|
+
spaceReputation?: number | undefined;
|
|
721
727
|
isVerified: boolean;
|
|
722
728
|
isActive: boolean;
|
|
723
|
-
lastActive:
|
|
724
|
-
createdAt:
|
|
725
|
-
updatedAt:
|
|
729
|
+
lastActive: string;
|
|
730
|
+
createdAt: string;
|
|
731
|
+
updatedAt: string;
|
|
726
732
|
suspensions: {
|
|
727
733
|
reason: string | null;
|
|
728
|
-
startDate:
|
|
729
|
-
endDate:
|
|
734
|
+
startDate: string;
|
|
735
|
+
endDate: string | null;
|
|
730
736
|
}[];
|
|
731
737
|
authMethods: string[];
|
|
732
738
|
} | null;
|
|
@@ -782,11 +788,11 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
782
788
|
format: string;
|
|
783
789
|
quality: number;
|
|
784
790
|
exifStripped: boolean;
|
|
785
|
-
createdAt:
|
|
786
|
-
updatedAt:
|
|
791
|
+
createdAt: string;
|
|
792
|
+
updatedAt: string;
|
|
787
793
|
} | undefined;
|
|
788
|
-
createdAt:
|
|
789
|
-
updatedAt:
|
|
794
|
+
createdAt: string;
|
|
795
|
+
updatedAt: string;
|
|
790
796
|
} | null | undefined;
|
|
791
797
|
bannerFile?: {
|
|
792
798
|
id: string;
|
|
@@ -823,14 +829,14 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
823
829
|
format: string;
|
|
824
830
|
quality: number;
|
|
825
831
|
exifStripped: boolean;
|
|
826
|
-
createdAt:
|
|
827
|
-
updatedAt:
|
|
832
|
+
createdAt: string;
|
|
833
|
+
updatedAt: string;
|
|
828
834
|
} | undefined;
|
|
829
|
-
createdAt:
|
|
830
|
-
updatedAt:
|
|
835
|
+
createdAt: string;
|
|
836
|
+
updatedAt: string;
|
|
831
837
|
} | null | undefined;
|
|
832
838
|
bio: string | null;
|
|
833
|
-
birthdate:
|
|
839
|
+
birthdate: string | null;
|
|
834
840
|
location: {
|
|
835
841
|
type: "Point";
|
|
836
842
|
coordinates: [number, number];
|
|
@@ -839,15 +845,16 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
839
845
|
[x: string]: any;
|
|
840
846
|
};
|
|
841
847
|
reputation: number;
|
|
848
|
+
spaceReputation?: number | undefined;
|
|
842
849
|
isVerified: boolean;
|
|
843
850
|
isActive: boolean;
|
|
844
|
-
lastActive:
|
|
845
|
-
createdAt:
|
|
846
|
-
updatedAt:
|
|
851
|
+
lastActive: string;
|
|
852
|
+
createdAt: string;
|
|
853
|
+
updatedAt: string;
|
|
847
854
|
suspensions: {
|
|
848
855
|
reason: string | null;
|
|
849
|
-
startDate:
|
|
850
|
-
endDate:
|
|
856
|
+
startDate: string;
|
|
857
|
+
endDate: string | null;
|
|
851
858
|
}[];
|
|
852
859
|
authMethods: string[];
|
|
853
860
|
} | null;
|
|
@@ -903,11 +910,11 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
903
910
|
format: string;
|
|
904
911
|
quality: number;
|
|
905
912
|
exifStripped: boolean;
|
|
906
|
-
createdAt:
|
|
907
|
-
updatedAt:
|
|
913
|
+
createdAt: string;
|
|
914
|
+
updatedAt: string;
|
|
908
915
|
} | undefined;
|
|
909
|
-
createdAt:
|
|
910
|
-
updatedAt:
|
|
916
|
+
createdAt: string;
|
|
917
|
+
updatedAt: string;
|
|
911
918
|
} | null | undefined;
|
|
912
919
|
bannerFile?: {
|
|
913
920
|
id: string;
|
|
@@ -944,14 +951,14 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
944
951
|
format: string;
|
|
945
952
|
quality: number;
|
|
946
953
|
exifStripped: boolean;
|
|
947
|
-
createdAt:
|
|
948
|
-
updatedAt:
|
|
954
|
+
createdAt: string;
|
|
955
|
+
updatedAt: string;
|
|
949
956
|
} | undefined;
|
|
950
|
-
createdAt:
|
|
951
|
-
updatedAt:
|
|
957
|
+
createdAt: string;
|
|
958
|
+
updatedAt: string;
|
|
952
959
|
} | null | undefined;
|
|
953
960
|
bio: string | null;
|
|
954
|
-
birthdate:
|
|
961
|
+
birthdate: string | null;
|
|
955
962
|
location: {
|
|
956
963
|
type: "Point";
|
|
957
964
|
coordinates: [number, number];
|
|
@@ -960,15 +967,16 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
960
967
|
[x: string]: any;
|
|
961
968
|
};
|
|
962
969
|
reputation: number;
|
|
970
|
+
spaceReputation?: number | undefined;
|
|
963
971
|
isVerified: boolean;
|
|
964
972
|
isActive: boolean;
|
|
965
|
-
lastActive:
|
|
966
|
-
createdAt:
|
|
967
|
-
updatedAt:
|
|
973
|
+
lastActive: string;
|
|
974
|
+
createdAt: string;
|
|
975
|
+
updatedAt: string;
|
|
968
976
|
suspensions: {
|
|
969
977
|
reason: string | null;
|
|
970
|
-
startDate:
|
|
971
|
-
endDate:
|
|
978
|
+
startDate: string;
|
|
979
|
+
endDate: string | null;
|
|
972
980
|
}[];
|
|
973
981
|
authMethods: string[];
|
|
974
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;
|