@sublay/core 7.2.0 → 7.4.0
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/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/conversations/useConversations.d.ts +1 -0
- package/dist/cjs/hooks/chat/conversations/useConversations.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 +8 -3
- package/dist/cjs/hooks/chat/messages/useSendMessage.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 +7 -0
- 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/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/Conversation.d.ts +2 -0
- package/dist/cjs/interfaces/models/User.d.ts +1 -0
- 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/collectionsSlice.d.ts +38 -0
- package/dist/cjs/store/slices/entityListsSlice.d.ts +65 -0
- package/dist/cjs/store/slices/entityListsSlice.js +10 -0
- package/dist/cjs/store/slices/entityListsSlice.js.map +1 -1
- package/dist/cjs/store/slices/userSlice.d.ts +8 -0
- 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/conversations/useConversations.d.ts +1 -0
- package/dist/esm/hooks/chat/conversations/useConversations.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 +8 -3
- package/dist/esm/hooks/chat/messages/useSendMessage.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 +7 -0
- 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/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/Conversation.d.ts +2 -0
- package/dist/esm/interfaces/models/User.d.ts +1 -0
- 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/collectionsSlice.d.ts +38 -0
- package/dist/esm/store/slices/entityListsSlice.d.ts +65 -0
- package/dist/esm/store/slices/entityListsSlice.js +10 -0
- package/dist/esm/store/slices/entityListsSlice.js.map +1 -1
- package/dist/esm/store/slices/userSlice.d.ts +8 -0
- package/package.json +1 -1
|
@@ -254,6 +254,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
|
|
|
254
254
|
[x: string]: any;
|
|
255
255
|
};
|
|
256
256
|
reputation: number;
|
|
257
|
+
spaceReputation?: number | undefined;
|
|
257
258
|
createdAt: Date;
|
|
258
259
|
} | null | undefined;
|
|
259
260
|
title: string | null;
|
|
@@ -441,6 +442,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
|
|
|
441
442
|
[x: string]: any;
|
|
442
443
|
};
|
|
443
444
|
reputation: number;
|
|
445
|
+
spaceReputation?: number | undefined;
|
|
444
446
|
createdAt: Date;
|
|
445
447
|
};
|
|
446
448
|
upvotesCount: number;
|
|
@@ -698,6 +700,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
|
|
|
698
700
|
[x: string]: any;
|
|
699
701
|
};
|
|
700
702
|
reputation: number;
|
|
703
|
+
spaceReputation?: number | undefined;
|
|
701
704
|
createdAt: Date;
|
|
702
705
|
} | null | undefined;
|
|
703
706
|
title: string | null;
|
|
@@ -885,6 +888,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
|
|
|
885
888
|
[x: string]: any;
|
|
886
889
|
};
|
|
887
890
|
reputation: number;
|
|
891
|
+
spaceReputation?: number | undefined;
|
|
888
892
|
createdAt: Date;
|
|
889
893
|
};
|
|
890
894
|
upvotesCount: number;
|
|
@@ -1142,6 +1146,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
|
|
|
1142
1146
|
[x: string]: any;
|
|
1143
1147
|
};
|
|
1144
1148
|
reputation: number;
|
|
1149
|
+
spaceReputation?: number | undefined;
|
|
1145
1150
|
createdAt: Date;
|
|
1146
1151
|
} | null | undefined;
|
|
1147
1152
|
title: string | null;
|
|
@@ -1329,6 +1334,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
|
|
|
1329
1334
|
[x: string]: any;
|
|
1330
1335
|
};
|
|
1331
1336
|
reputation: number;
|
|
1337
|
+
spaceReputation?: number | undefined;
|
|
1332
1338
|
createdAt: Date;
|
|
1333
1339
|
};
|
|
1334
1340
|
upvotesCount: number;
|
|
@@ -1586,6 +1592,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
|
|
|
1586
1592
|
[x: string]: any;
|
|
1587
1593
|
};
|
|
1588
1594
|
reputation: number;
|
|
1595
|
+
spaceReputation?: number | undefined;
|
|
1589
1596
|
createdAt: Date;
|
|
1590
1597
|
} | null | undefined;
|
|
1591
1598
|
title: string | null;
|
|
@@ -1773,6 +1780,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
|
|
|
1773
1780
|
[x: string]: any;
|
|
1774
1781
|
};
|
|
1775
1782
|
reputation: number;
|
|
1783
|
+
spaceReputation?: number | undefined;
|
|
1776
1784
|
createdAt: Date;
|
|
1777
1785
|
};
|
|
1778
1786
|
upvotesCount: number;
|
|
@@ -2030,6 +2038,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
|
|
|
2030
2038
|
[x: string]: any;
|
|
2031
2039
|
};
|
|
2032
2040
|
reputation: number;
|
|
2041
|
+
spaceReputation?: number | undefined;
|
|
2033
2042
|
createdAt: Date;
|
|
2034
2043
|
} | null | undefined;
|
|
2035
2044
|
title: string | null;
|
|
@@ -2217,6 +2226,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
|
|
|
2217
2226
|
[x: string]: any;
|
|
2218
2227
|
};
|
|
2219
2228
|
reputation: number;
|
|
2229
|
+
spaceReputation?: number | undefined;
|
|
2220
2230
|
createdAt: Date;
|
|
2221
2231
|
};
|
|
2222
2232
|
upvotesCount: number;
|
|
@@ -2474,6 +2484,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
|
|
|
2474
2484
|
[x: string]: any;
|
|
2475
2485
|
};
|
|
2476
2486
|
reputation: number;
|
|
2487
|
+
spaceReputation?: number | undefined;
|
|
2477
2488
|
createdAt: Date;
|
|
2478
2489
|
} | null | undefined;
|
|
2479
2490
|
title: string | null;
|
|
@@ -2661,6 +2672,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
|
|
|
2661
2672
|
[x: string]: any;
|
|
2662
2673
|
};
|
|
2663
2674
|
reputation: number;
|
|
2675
|
+
spaceReputation?: number | undefined;
|
|
2664
2676
|
createdAt: Date;
|
|
2665
2677
|
};
|
|
2666
2678
|
upvotesCount: number;
|
|
@@ -2918,6 +2930,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
|
|
|
2918
2930
|
[x: string]: any;
|
|
2919
2931
|
};
|
|
2920
2932
|
reputation: number;
|
|
2933
|
+
spaceReputation?: number | undefined;
|
|
2921
2934
|
createdAt: Date;
|
|
2922
2935
|
} | null | undefined;
|
|
2923
2936
|
title: string | null;
|
|
@@ -3105,6 +3118,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
|
|
|
3105
3118
|
[x: string]: any;
|
|
3106
3119
|
};
|
|
3107
3120
|
reputation: number;
|
|
3121
|
+
spaceReputation?: number | undefined;
|
|
3108
3122
|
createdAt: Date;
|
|
3109
3123
|
};
|
|
3110
3124
|
upvotesCount: number;
|
|
@@ -3365,6 +3379,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
|
|
|
3365
3379
|
[x: string]: any;
|
|
3366
3380
|
};
|
|
3367
3381
|
reputation: number;
|
|
3382
|
+
spaceReputation?: number | undefined;
|
|
3368
3383
|
createdAt: Date;
|
|
3369
3384
|
} | null | undefined;
|
|
3370
3385
|
title: string | null;
|
|
@@ -3552,6 +3567,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
|
|
|
3552
3567
|
[x: string]: any;
|
|
3553
3568
|
};
|
|
3554
3569
|
reputation: number;
|
|
3570
|
+
spaceReputation?: number | undefined;
|
|
3555
3571
|
createdAt: Date;
|
|
3556
3572
|
};
|
|
3557
3573
|
upvotesCount: number;
|
|
@@ -3809,6 +3825,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
|
|
|
3809
3825
|
[x: string]: any;
|
|
3810
3826
|
};
|
|
3811
3827
|
reputation: number;
|
|
3828
|
+
spaceReputation?: number | undefined;
|
|
3812
3829
|
createdAt: Date;
|
|
3813
3830
|
} | null | undefined;
|
|
3814
3831
|
title: string | null;
|
|
@@ -3996,6 +4013,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
|
|
|
3996
4013
|
[x: string]: any;
|
|
3997
4014
|
};
|
|
3998
4015
|
reputation: number;
|
|
4016
|
+
spaceReputation?: number | undefined;
|
|
3999
4017
|
createdAt: Date;
|
|
4000
4018
|
};
|
|
4001
4019
|
upvotesCount: number;
|
|
@@ -4253,6 +4271,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
|
|
|
4253
4271
|
[x: string]: any;
|
|
4254
4272
|
};
|
|
4255
4273
|
reputation: number;
|
|
4274
|
+
spaceReputation?: number | undefined;
|
|
4256
4275
|
createdAt: Date;
|
|
4257
4276
|
} | null | undefined;
|
|
4258
4277
|
title: string | null;
|
|
@@ -4440,6 +4459,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
|
|
|
4440
4459
|
[x: string]: any;
|
|
4441
4460
|
};
|
|
4442
4461
|
reputation: number;
|
|
4462
|
+
spaceReputation?: number | undefined;
|
|
4443
4463
|
createdAt: Date;
|
|
4444
4464
|
};
|
|
4445
4465
|
upvotesCount: number;
|
|
@@ -4697,6 +4717,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
|
|
|
4697
4717
|
[x: string]: any;
|
|
4698
4718
|
};
|
|
4699
4719
|
reputation: number;
|
|
4720
|
+
spaceReputation?: number | undefined;
|
|
4700
4721
|
createdAt: Date;
|
|
4701
4722
|
} | null | undefined;
|
|
4702
4723
|
title: string | null;
|
|
@@ -4884,6 +4905,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
|
|
|
4884
4905
|
[x: string]: any;
|
|
4885
4906
|
};
|
|
4886
4907
|
reputation: number;
|
|
4908
|
+
spaceReputation?: number | undefined;
|
|
4887
4909
|
createdAt: Date;
|
|
4888
4910
|
};
|
|
4889
4911
|
upvotesCount: number;
|
|
@@ -5141,6 +5163,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
|
|
|
5141
5163
|
[x: string]: any;
|
|
5142
5164
|
};
|
|
5143
5165
|
reputation: number;
|
|
5166
|
+
spaceReputation?: number | undefined;
|
|
5144
5167
|
createdAt: Date;
|
|
5145
5168
|
} | null | undefined;
|
|
5146
5169
|
title: string | null;
|
|
@@ -5328,6 +5351,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
|
|
|
5328
5351
|
[x: string]: any;
|
|
5329
5352
|
};
|
|
5330
5353
|
reputation: number;
|
|
5354
|
+
spaceReputation?: number | undefined;
|
|
5331
5355
|
createdAt: Date;
|
|
5332
5356
|
};
|
|
5333
5357
|
upvotesCount: number;
|
|
@@ -5588,6 +5612,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
|
|
|
5588
5612
|
[x: string]: any;
|
|
5589
5613
|
};
|
|
5590
5614
|
reputation: number;
|
|
5615
|
+
spaceReputation?: number | undefined;
|
|
5591
5616
|
createdAt: Date;
|
|
5592
5617
|
} | null | undefined;
|
|
5593
5618
|
title: string | null;
|
|
@@ -5775,6 +5800,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
|
|
|
5775
5800
|
[x: string]: any;
|
|
5776
5801
|
};
|
|
5777
5802
|
reputation: number;
|
|
5803
|
+
spaceReputation?: number | undefined;
|
|
5778
5804
|
createdAt: Date;
|
|
5779
5805
|
};
|
|
5780
5806
|
upvotesCount: number;
|
|
@@ -6035,6 +6061,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
|
|
|
6035
6061
|
[x: string]: any;
|
|
6036
6062
|
};
|
|
6037
6063
|
reputation: number;
|
|
6064
|
+
spaceReputation?: number | undefined;
|
|
6038
6065
|
createdAt: Date;
|
|
6039
6066
|
} | null | undefined;
|
|
6040
6067
|
title: string | null;
|
|
@@ -6222,6 +6249,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
|
|
|
6222
6249
|
[x: string]: any;
|
|
6223
6250
|
};
|
|
6224
6251
|
reputation: number;
|
|
6252
|
+
spaceReputation?: number | undefined;
|
|
6225
6253
|
createdAt: Date;
|
|
6226
6254
|
};
|
|
6227
6255
|
upvotesCount: number;
|
|
@@ -6482,6 +6510,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
|
|
|
6482
6510
|
[x: string]: any;
|
|
6483
6511
|
};
|
|
6484
6512
|
reputation: number;
|
|
6513
|
+
spaceReputation?: number | undefined;
|
|
6485
6514
|
createdAt: Date;
|
|
6486
6515
|
} | null | undefined;
|
|
6487
6516
|
title: string | null;
|
|
@@ -6669,6 +6698,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
|
|
|
6669
6698
|
[x: string]: any;
|
|
6670
6699
|
};
|
|
6671
6700
|
reputation: number;
|
|
6701
|
+
spaceReputation?: number | undefined;
|
|
6672
6702
|
createdAt: Date;
|
|
6673
6703
|
};
|
|
6674
6704
|
upvotesCount: number;
|
|
@@ -6929,6 +6959,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
|
|
|
6929
6959
|
[x: string]: any;
|
|
6930
6960
|
};
|
|
6931
6961
|
reputation: number;
|
|
6962
|
+
spaceReputation?: number | undefined;
|
|
6932
6963
|
createdAt: Date;
|
|
6933
6964
|
} | null | undefined;
|
|
6934
6965
|
title: string | null;
|
|
@@ -7116,6 +7147,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
|
|
|
7116
7147
|
[x: string]: any;
|
|
7117
7148
|
};
|
|
7118
7149
|
reputation: number;
|
|
7150
|
+
spaceReputation?: number | undefined;
|
|
7119
7151
|
createdAt: Date;
|
|
7120
7152
|
};
|
|
7121
7153
|
upvotesCount: number;
|
|
@@ -7376,6 +7408,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
|
|
|
7376
7408
|
[x: string]: any;
|
|
7377
7409
|
};
|
|
7378
7410
|
reputation: number;
|
|
7411
|
+
spaceReputation?: number | undefined;
|
|
7379
7412
|
createdAt: Date;
|
|
7380
7413
|
} | null | undefined;
|
|
7381
7414
|
title: string | null;
|
|
@@ -7563,6 +7596,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
|
|
|
7563
7596
|
[x: string]: any;
|
|
7564
7597
|
};
|
|
7565
7598
|
reputation: number;
|
|
7599
|
+
spaceReputation?: number | undefined;
|
|
7566
7600
|
createdAt: Date;
|
|
7567
7601
|
};
|
|
7568
7602
|
upvotesCount: number;
|
|
@@ -7824,6 +7858,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
|
|
|
7824
7858
|
[x: string]: any;
|
|
7825
7859
|
};
|
|
7826
7860
|
reputation: number;
|
|
7861
|
+
spaceReputation?: number | undefined;
|
|
7827
7862
|
createdAt: Date;
|
|
7828
7863
|
} | null | undefined;
|
|
7829
7864
|
title: string | null;
|
|
@@ -8011,6 +8046,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
|
|
|
8011
8046
|
[x: string]: any;
|
|
8012
8047
|
};
|
|
8013
8048
|
reputation: number;
|
|
8049
|
+
spaceReputation?: number | undefined;
|
|
8014
8050
|
createdAt: Date;
|
|
8015
8051
|
};
|
|
8016
8052
|
upvotesCount: number;
|
|
@@ -8268,6 +8304,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
|
|
|
8268
8304
|
[x: string]: any;
|
|
8269
8305
|
};
|
|
8270
8306
|
reputation: number;
|
|
8307
|
+
spaceReputation?: number | undefined;
|
|
8271
8308
|
createdAt: Date;
|
|
8272
8309
|
} | null | undefined;
|
|
8273
8310
|
title: string | null;
|
|
@@ -8455,6 +8492,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
|
|
|
8455
8492
|
[x: string]: any;
|
|
8456
8493
|
};
|
|
8457
8494
|
reputation: number;
|
|
8495
|
+
spaceReputation?: number | undefined;
|
|
8458
8496
|
createdAt: Date;
|
|
8459
8497
|
};
|
|
8460
8498
|
upvotesCount: number;
|
|
@@ -20,6 +20,8 @@ export interface EntityListState {
|
|
|
20
20
|
spaceId: string | null;
|
|
21
21
|
limit: number;
|
|
22
22
|
include: EntityIncludeParam | null;
|
|
23
|
+
spaceReputationId: string | null;
|
|
24
|
+
spaceReputationDescendants: boolean | null;
|
|
23
25
|
sortBy: EntityListSortByOptions;
|
|
24
26
|
sortByReaction: SortByReaction;
|
|
25
27
|
sortDir: SortDirection | null;
|
|
@@ -61,6 +63,13 @@ export interface EntityListConfig {
|
|
|
61
63
|
spaceId?: string | null;
|
|
62
64
|
limit?: number;
|
|
63
65
|
include?: EntityIncludeParam | null;
|
|
66
|
+
/**
|
|
67
|
+
* Opt into per-row `spaceReputation` on embedded authors. Accepted forms: a
|
|
68
|
+
* space `<uuid>`, `"none"`, or `"context"`.
|
|
69
|
+
*/
|
|
70
|
+
spaceReputationId?: string | null;
|
|
71
|
+
/** Only honored with an explicit `<uuid>` `spaceReputationId`. */
|
|
72
|
+
spaceReputationDescendants?: boolean | null;
|
|
64
73
|
}
|
|
65
74
|
export interface EntityListFetchOptions {
|
|
66
75
|
resetFilters?: boolean;
|
|
@@ -319,6 +328,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
319
328
|
[x: string]: any;
|
|
320
329
|
};
|
|
321
330
|
reputation: number;
|
|
331
|
+
spaceReputation?: number | undefined;
|
|
322
332
|
createdAt: Date;
|
|
323
333
|
} | null | undefined;
|
|
324
334
|
title: string | null;
|
|
@@ -506,6 +516,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
506
516
|
[x: string]: any;
|
|
507
517
|
};
|
|
508
518
|
reputation: number;
|
|
519
|
+
spaceReputation?: number | undefined;
|
|
509
520
|
createdAt: Date;
|
|
510
521
|
};
|
|
511
522
|
upvotesCount: number;
|
|
@@ -532,6 +543,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
532
543
|
spaceId: string | null;
|
|
533
544
|
limit: number;
|
|
534
545
|
include: string | import("../..").EntityInclude[] | null;
|
|
546
|
+
spaceReputationId: string | null;
|
|
547
|
+
spaceReputationDescendants: boolean | null;
|
|
535
548
|
sortBy: EntityListSortByOptions;
|
|
536
549
|
sortByReaction: SortByReaction;
|
|
537
550
|
sortDir: SortDirection | null;
|
|
@@ -797,6 +810,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
797
810
|
[x: string]: any;
|
|
798
811
|
};
|
|
799
812
|
reputation: number;
|
|
813
|
+
spaceReputation?: number | undefined;
|
|
800
814
|
createdAt: Date;
|
|
801
815
|
} | null | undefined;
|
|
802
816
|
title: string | null;
|
|
@@ -984,6 +998,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
984
998
|
[x: string]: any;
|
|
985
999
|
};
|
|
986
1000
|
reputation: number;
|
|
1001
|
+
spaceReputation?: number | undefined;
|
|
987
1002
|
createdAt: Date;
|
|
988
1003
|
};
|
|
989
1004
|
upvotesCount: number;
|
|
@@ -1010,6 +1025,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1010
1025
|
spaceId: string | null;
|
|
1011
1026
|
limit: number;
|
|
1012
1027
|
include: string | import("../..").EntityInclude[] | null;
|
|
1028
|
+
spaceReputationId: string | null;
|
|
1029
|
+
spaceReputationDescendants: boolean | null;
|
|
1013
1030
|
sortBy: EntityListSortByOptions;
|
|
1014
1031
|
sortByReaction: SortByReaction;
|
|
1015
1032
|
sortDir: SortDirection | null;
|
|
@@ -1275,6 +1292,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1275
1292
|
[x: string]: any;
|
|
1276
1293
|
};
|
|
1277
1294
|
reputation: number;
|
|
1295
|
+
spaceReputation?: number | undefined;
|
|
1278
1296
|
createdAt: Date;
|
|
1279
1297
|
} | null | undefined;
|
|
1280
1298
|
title: string | null;
|
|
@@ -1462,6 +1480,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1462
1480
|
[x: string]: any;
|
|
1463
1481
|
};
|
|
1464
1482
|
reputation: number;
|
|
1483
|
+
spaceReputation?: number | undefined;
|
|
1465
1484
|
createdAt: Date;
|
|
1466
1485
|
};
|
|
1467
1486
|
upvotesCount: number;
|
|
@@ -1488,6 +1507,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1488
1507
|
spaceId: string | null;
|
|
1489
1508
|
limit: number;
|
|
1490
1509
|
include: string | import("../..").EntityInclude[] | null;
|
|
1510
|
+
spaceReputationId: string | null;
|
|
1511
|
+
spaceReputationDescendants: boolean | null;
|
|
1491
1512
|
sortBy: EntityListSortByOptions;
|
|
1492
1513
|
sortByReaction: SortByReaction;
|
|
1493
1514
|
sortDir: SortDirection | null;
|
|
@@ -1756,6 +1777,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1756
1777
|
[x: string]: any;
|
|
1757
1778
|
};
|
|
1758
1779
|
reputation: number;
|
|
1780
|
+
spaceReputation?: number | undefined;
|
|
1759
1781
|
createdAt: Date;
|
|
1760
1782
|
} | null | undefined;
|
|
1761
1783
|
title: string | null;
|
|
@@ -1943,6 +1965,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1943
1965
|
[x: string]: any;
|
|
1944
1966
|
};
|
|
1945
1967
|
reputation: number;
|
|
1968
|
+
spaceReputation?: number | undefined;
|
|
1946
1969
|
createdAt: Date;
|
|
1947
1970
|
};
|
|
1948
1971
|
upvotesCount: number;
|
|
@@ -1969,6 +1992,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1969
1992
|
spaceId: string | null;
|
|
1970
1993
|
limit: number;
|
|
1971
1994
|
include: string | import("../..").EntityInclude[] | null;
|
|
1995
|
+
spaceReputationId: string | null;
|
|
1996
|
+
spaceReputationDescendants: boolean | null;
|
|
1972
1997
|
sortBy: EntityListSortByOptions;
|
|
1973
1998
|
sortByReaction: SortByReaction;
|
|
1974
1999
|
sortDir: SortDirection | null;
|
|
@@ -2234,6 +2259,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
2234
2259
|
[x: string]: any;
|
|
2235
2260
|
};
|
|
2236
2261
|
reputation: number;
|
|
2262
|
+
spaceReputation?: number | undefined;
|
|
2237
2263
|
createdAt: Date;
|
|
2238
2264
|
} | null | undefined;
|
|
2239
2265
|
title: string | null;
|
|
@@ -2421,6 +2447,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
2421
2447
|
[x: string]: any;
|
|
2422
2448
|
};
|
|
2423
2449
|
reputation: number;
|
|
2450
|
+
spaceReputation?: number | undefined;
|
|
2424
2451
|
createdAt: Date;
|
|
2425
2452
|
};
|
|
2426
2453
|
upvotesCount: number;
|
|
@@ -2447,6 +2474,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
2447
2474
|
spaceId: string | null;
|
|
2448
2475
|
limit: number;
|
|
2449
2476
|
include: string | import("../..").EntityInclude[] | null;
|
|
2477
|
+
spaceReputationId: string | null;
|
|
2478
|
+
spaceReputationDescendants: boolean | null;
|
|
2450
2479
|
sortBy: EntityListSortByOptions;
|
|
2451
2480
|
sortByReaction: SortByReaction;
|
|
2452
2481
|
sortDir: SortDirection | null;
|
|
@@ -2712,6 +2741,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
2712
2741
|
[x: string]: any;
|
|
2713
2742
|
};
|
|
2714
2743
|
reputation: number;
|
|
2744
|
+
spaceReputation?: number | undefined;
|
|
2715
2745
|
createdAt: Date;
|
|
2716
2746
|
} | null | undefined;
|
|
2717
2747
|
title: string | null;
|
|
@@ -2899,6 +2929,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
2899
2929
|
[x: string]: any;
|
|
2900
2930
|
};
|
|
2901
2931
|
reputation: number;
|
|
2932
|
+
spaceReputation?: number | undefined;
|
|
2902
2933
|
createdAt: Date;
|
|
2903
2934
|
};
|
|
2904
2935
|
upvotesCount: number;
|
|
@@ -2925,6 +2956,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
2925
2956
|
spaceId: string | null;
|
|
2926
2957
|
limit: number;
|
|
2927
2958
|
include: string | import("../..").EntityInclude[] | null;
|
|
2959
|
+
spaceReputationId: string | null;
|
|
2960
|
+
spaceReputationDescendants: boolean | null;
|
|
2928
2961
|
sortBy: EntityListSortByOptions;
|
|
2929
2962
|
sortByReaction: SortByReaction;
|
|
2930
2963
|
sortDir: SortDirection | null;
|
|
@@ -3193,6 +3226,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
3193
3226
|
[x: string]: any;
|
|
3194
3227
|
};
|
|
3195
3228
|
reputation: number;
|
|
3229
|
+
spaceReputation?: number | undefined;
|
|
3196
3230
|
createdAt: Date;
|
|
3197
3231
|
} | null | undefined;
|
|
3198
3232
|
title: string | null;
|
|
@@ -3380,6 +3414,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
3380
3414
|
[x: string]: any;
|
|
3381
3415
|
};
|
|
3382
3416
|
reputation: number;
|
|
3417
|
+
spaceReputation?: number | undefined;
|
|
3383
3418
|
createdAt: Date;
|
|
3384
3419
|
};
|
|
3385
3420
|
upvotesCount: number;
|
|
@@ -3406,6 +3441,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
3406
3441
|
spaceId: string | null;
|
|
3407
3442
|
limit: number;
|
|
3408
3443
|
include: string | import("../..").EntityInclude[] | null;
|
|
3444
|
+
spaceReputationId: string | null;
|
|
3445
|
+
spaceReputationDescendants: boolean | null;
|
|
3409
3446
|
sortBy: EntityListSortByOptions;
|
|
3410
3447
|
sortByReaction: SortByReaction;
|
|
3411
3448
|
sortDir: SortDirection | null;
|
|
@@ -3674,6 +3711,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
3674
3711
|
[x: string]: any;
|
|
3675
3712
|
};
|
|
3676
3713
|
reputation: number;
|
|
3714
|
+
spaceReputation?: number | undefined;
|
|
3677
3715
|
createdAt: Date;
|
|
3678
3716
|
} | null | undefined;
|
|
3679
3717
|
title: string | null;
|
|
@@ -3861,6 +3899,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
3861
3899
|
[x: string]: any;
|
|
3862
3900
|
};
|
|
3863
3901
|
reputation: number;
|
|
3902
|
+
spaceReputation?: number | undefined;
|
|
3864
3903
|
createdAt: Date;
|
|
3865
3904
|
};
|
|
3866
3905
|
upvotesCount: number;
|
|
@@ -3887,6 +3926,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
3887
3926
|
spaceId: string | null;
|
|
3888
3927
|
limit: number;
|
|
3889
3928
|
include: string | import("../..").EntityInclude[] | null;
|
|
3929
|
+
spaceReputationId: string | null;
|
|
3930
|
+
spaceReputationDescendants: boolean | null;
|
|
3890
3931
|
sortBy: EntityListSortByOptions;
|
|
3891
3932
|
sortByReaction: SortByReaction;
|
|
3892
3933
|
sortDir: SortDirection | null;
|
|
@@ -4152,6 +4193,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
4152
4193
|
[x: string]: any;
|
|
4153
4194
|
};
|
|
4154
4195
|
reputation: number;
|
|
4196
|
+
spaceReputation?: number | undefined;
|
|
4155
4197
|
createdAt: Date;
|
|
4156
4198
|
} | null | undefined;
|
|
4157
4199
|
title: string | null;
|
|
@@ -4339,6 +4381,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
4339
4381
|
[x: string]: any;
|
|
4340
4382
|
};
|
|
4341
4383
|
reputation: number;
|
|
4384
|
+
spaceReputation?: number | undefined;
|
|
4342
4385
|
createdAt: Date;
|
|
4343
4386
|
};
|
|
4344
4387
|
upvotesCount: number;
|
|
@@ -4365,6 +4408,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
4365
4408
|
spaceId: string | null;
|
|
4366
4409
|
limit: number;
|
|
4367
4410
|
include: string | import("../..").EntityInclude[] | null;
|
|
4411
|
+
spaceReputationId: string | null;
|
|
4412
|
+
spaceReputationDescendants: boolean | null;
|
|
4368
4413
|
sortBy: EntityListSortByOptions;
|
|
4369
4414
|
sortByReaction: SortByReaction;
|
|
4370
4415
|
sortDir: SortDirection | null;
|
|
@@ -4630,6 +4675,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
4630
4675
|
[x: string]: any;
|
|
4631
4676
|
};
|
|
4632
4677
|
reputation: number;
|
|
4678
|
+
spaceReputation?: number | undefined;
|
|
4633
4679
|
createdAt: Date;
|
|
4634
4680
|
} | null | undefined;
|
|
4635
4681
|
title: string | null;
|
|
@@ -4817,6 +4863,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
4817
4863
|
[x: string]: any;
|
|
4818
4864
|
};
|
|
4819
4865
|
reputation: number;
|
|
4866
|
+
spaceReputation?: number | undefined;
|
|
4820
4867
|
createdAt: Date;
|
|
4821
4868
|
};
|
|
4822
4869
|
upvotesCount: number;
|
|
@@ -4843,6 +4890,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
4843
4890
|
spaceId: string | null;
|
|
4844
4891
|
limit: number;
|
|
4845
4892
|
include: string | import("../..").EntityInclude[] | null;
|
|
4893
|
+
spaceReputationId: string | null;
|
|
4894
|
+
spaceReputationDescendants: boolean | null;
|
|
4846
4895
|
sortBy: EntityListSortByOptions;
|
|
4847
4896
|
sortByReaction: SortByReaction;
|
|
4848
4897
|
sortDir: SortDirection | null;
|
|
@@ -5108,6 +5157,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
5108
5157
|
[x: string]: any;
|
|
5109
5158
|
};
|
|
5110
5159
|
reputation: number;
|
|
5160
|
+
spaceReputation?: number | undefined;
|
|
5111
5161
|
createdAt: Date;
|
|
5112
5162
|
} | null | undefined;
|
|
5113
5163
|
title: string | null;
|
|
@@ -5295,6 +5345,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
5295
5345
|
[x: string]: any;
|
|
5296
5346
|
};
|
|
5297
5347
|
reputation: number;
|
|
5348
|
+
spaceReputation?: number | undefined;
|
|
5298
5349
|
createdAt: Date;
|
|
5299
5350
|
};
|
|
5300
5351
|
upvotesCount: number;
|
|
@@ -5321,6 +5372,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
5321
5372
|
spaceId: string | null;
|
|
5322
5373
|
limit: number;
|
|
5323
5374
|
include: string | import("../..").EntityInclude[] | null;
|
|
5375
|
+
spaceReputationId: string | null;
|
|
5376
|
+
spaceReputationDescendants: boolean | null;
|
|
5324
5377
|
sortBy: EntityListSortByOptions;
|
|
5325
5378
|
sortByReaction: SortByReaction;
|
|
5326
5379
|
sortDir: SortDirection | null;
|
|
@@ -5586,6 +5639,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
5586
5639
|
[x: string]: any;
|
|
5587
5640
|
};
|
|
5588
5641
|
reputation: number;
|
|
5642
|
+
spaceReputation?: number | undefined;
|
|
5589
5643
|
createdAt: Date;
|
|
5590
5644
|
} | null | undefined;
|
|
5591
5645
|
title: string | null;
|
|
@@ -5773,6 +5827,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
5773
5827
|
[x: string]: any;
|
|
5774
5828
|
};
|
|
5775
5829
|
reputation: number;
|
|
5830
|
+
spaceReputation?: number | undefined;
|
|
5776
5831
|
createdAt: Date;
|
|
5777
5832
|
};
|
|
5778
5833
|
upvotesCount: number;
|
|
@@ -5799,6 +5854,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
5799
5854
|
spaceId: string | null;
|
|
5800
5855
|
limit: number;
|
|
5801
5856
|
include: string | import("../..").EntityInclude[] | null;
|
|
5857
|
+
spaceReputationId: string | null;
|
|
5858
|
+
spaceReputationDescendants: boolean | null;
|
|
5802
5859
|
sortBy: EntityListSortByOptions;
|
|
5803
5860
|
sortByReaction: SortByReaction;
|
|
5804
5861
|
sortDir: SortDirection | null;
|
|
@@ -6158,6 +6215,8 @@ export declare const selectEntityListConfig: ((state: {
|
|
|
6158
6215
|
spaceId: string | null;
|
|
6159
6216
|
limit: number;
|
|
6160
6217
|
include: EntityIncludeParam | null;
|
|
6218
|
+
spaceReputationId: string | null;
|
|
6219
|
+
spaceReputationDescendants: boolean | null;
|
|
6161
6220
|
} | null) & {
|
|
6162
6221
|
clearCache: () => void;
|
|
6163
6222
|
resultsCount: () => number;
|
|
@@ -6168,12 +6227,16 @@ export declare const selectEntityListConfig: ((state: {
|
|
|
6168
6227
|
spaceId: string | null;
|
|
6169
6228
|
limit: number;
|
|
6170
6229
|
include: EntityIncludeParam | null;
|
|
6230
|
+
spaceReputationId: string | null;
|
|
6231
|
+
spaceReputationDescendants: boolean | null;
|
|
6171
6232
|
} | null;
|
|
6172
6233
|
memoizedResultFunc: ((resultFuncArgs_0: EntityListState | undefined) => {
|
|
6173
6234
|
sourceId: string | null;
|
|
6174
6235
|
spaceId: string | null;
|
|
6175
6236
|
limit: number;
|
|
6176
6237
|
include: EntityIncludeParam | null;
|
|
6238
|
+
spaceReputationId: string | null;
|
|
6239
|
+
spaceReputationDescendants: boolean | null;
|
|
6177
6240
|
} | null) & {
|
|
6178
6241
|
clearCache: () => void;
|
|
6179
6242
|
resultsCount: () => number;
|
|
@@ -6184,6 +6247,8 @@ export declare const selectEntityListConfig: ((state: {
|
|
|
6184
6247
|
spaceId: string | null;
|
|
6185
6248
|
limit: number;
|
|
6186
6249
|
include: EntityIncludeParam | null;
|
|
6250
|
+
spaceReputationId: string | null;
|
|
6251
|
+
spaceReputationDescendants: boolean | null;
|
|
6187
6252
|
} | null;
|
|
6188
6253
|
dependencies: [((state: {
|
|
6189
6254
|
sublay: SublayState;
|
|
@@ -12,6 +12,8 @@ const createDefaultEntityListState = () => ({
|
|
|
12
12
|
spaceId: null,
|
|
13
13
|
limit: 10,
|
|
14
14
|
include: null,
|
|
15
|
+
spaceReputationId: null,
|
|
16
|
+
spaceReputationDescendants: null,
|
|
15
17
|
// Default filters (user-controlled only)
|
|
16
18
|
sortBy: "hot",
|
|
17
19
|
sortByReaction: "upvote",
|
|
@@ -103,6 +105,12 @@ export const entityListsSlice = createSlice({
|
|
|
103
105
|
if (config.include !== undefined) {
|
|
104
106
|
list.include = config.include;
|
|
105
107
|
}
|
|
108
|
+
if (config.spaceReputationId !== undefined) {
|
|
109
|
+
list.spaceReputationId = config.spaceReputationId;
|
|
110
|
+
}
|
|
111
|
+
if (config.spaceReputationDescendants !== undefined) {
|
|
112
|
+
list.spaceReputationDescendants = config.spaceReputationDescendants;
|
|
113
|
+
}
|
|
106
114
|
}
|
|
107
115
|
// Reset pagination when filters or sort changes
|
|
108
116
|
list.page = 1;
|
|
@@ -303,6 +311,8 @@ export const selectEntityListConfig = createSelector([selectEntityList], (entity
|
|
|
303
311
|
spaceId: entityList.spaceId,
|
|
304
312
|
limit: entityList.limit,
|
|
305
313
|
include: entityList.include,
|
|
314
|
+
spaceReputationId: entityList.spaceReputationId,
|
|
315
|
+
spaceReputationDescendants: entityList.spaceReputationDescendants,
|
|
306
316
|
};
|
|
307
317
|
});
|
|
308
318
|
export default entityListsSlice.reducer;
|