@replyke/core 6.1.1 → 6.2.0-beta.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.
Files changed (259) hide show
  1. package/dist/cjs/context/index.d.ts +1 -0
  2. package/dist/cjs/context/index.js +3 -1
  3. package/dist/cjs/context/index.js.map +1 -1
  4. package/dist/cjs/context/space-context.d.ts +9 -0
  5. package/dist/cjs/context/space-context.js +35 -0
  6. package/dist/cjs/context/space-context.js.map +1 -0
  7. package/dist/cjs/hooks/crypto/useSignTestingJwt.d.ts +1 -2
  8. package/dist/cjs/hooks/crypto/useSignTestingJwt.js +17 -10
  9. package/dist/cjs/hooks/crypto/useSignTestingJwt.js.map +1 -1
  10. package/dist/cjs/hooks/projects/useProjectData.js +1 -1
  11. package/dist/cjs/hooks/projects/useProjectData.js.map +1 -1
  12. package/dist/cjs/hooks/reports/index.d.ts +3 -0
  13. package/dist/cjs/hooks/reports/index.js +7 -1
  14. package/dist/cjs/hooks/reports/index.js.map +1 -1
  15. package/dist/cjs/hooks/reports/useFetchSpaceReports.d.ts +38 -0
  16. package/dist/cjs/hooks/reports/useFetchSpaceReports.js +96 -0
  17. package/dist/cjs/hooks/reports/useFetchSpaceReports.js.map +1 -0
  18. package/dist/cjs/hooks/reports/useHandleSpaceCommentReport.d.ts +30 -0
  19. package/dist/cjs/hooks/reports/useHandleSpaceCommentReport.js +92 -0
  20. package/dist/cjs/hooks/reports/useHandleSpaceCommentReport.js.map +1 -0
  21. package/dist/cjs/hooks/reports/useHandleSpaceEntityReport.d.ts +32 -0
  22. package/dist/cjs/hooks/reports/useHandleSpaceEntityReport.js +94 -0
  23. package/dist/cjs/hooks/reports/useHandleSpaceEntityReport.js.map +1 -0
  24. package/dist/cjs/hooks/space-lists/index.d.ts +3 -0
  25. package/dist/cjs/hooks/space-lists/index.js +11 -0
  26. package/dist/cjs/hooks/space-lists/index.js.map +1 -0
  27. package/dist/cjs/hooks/space-lists/useSpaceList.d.ts +36 -0
  28. package/dist/cjs/hooks/space-lists/useSpaceList.js +293 -0
  29. package/dist/cjs/hooks/space-lists/useSpaceList.js.map +1 -0
  30. package/dist/cjs/hooks/space-lists/useSpaceListActions.d.ts +33 -0
  31. package/dist/cjs/hooks/space-lists/useSpaceListActions.js +210 -0
  32. package/dist/cjs/hooks/space-lists/useSpaceListActions.js.map +1 -0
  33. package/dist/cjs/hooks/spaces/index.d.ts +22 -0
  34. package/dist/cjs/hooks/spaces/index.js +51 -0
  35. package/dist/cjs/hooks/spaces/index.js.map +1 -0
  36. package/dist/cjs/hooks/spaces/useApproveMember.d.ts +7 -0
  37. package/dist/cjs/hooks/spaces/useApproveMember.js +71 -0
  38. package/dist/cjs/hooks/spaces/useApproveMember.js.map +1 -0
  39. package/dist/cjs/hooks/spaces/useCreateSpace.d.ts +15 -0
  40. package/dist/cjs/hooks/spaces/useCreateSpace.js +70 -0
  41. package/dist/cjs/hooks/spaces/useCreateSpace.js.map +1 -0
  42. package/dist/cjs/hooks/spaces/useDeclineMember.d.ts +7 -0
  43. package/dist/cjs/hooks/spaces/useDeclineMember.js +71 -0
  44. package/dist/cjs/hooks/spaces/useDeclineMember.js.map +1 -0
  45. package/dist/cjs/hooks/spaces/useDeleteSpace.d.ts +5 -0
  46. package/dist/cjs/hooks/spaces/useDeleteSpace.js +71 -0
  47. package/dist/cjs/hooks/spaces/useDeleteSpace.js.map +1 -0
  48. package/dist/cjs/hooks/spaces/useFetchMySpaces.d.ts +8 -0
  49. package/dist/cjs/hooks/spaces/useFetchMySpaces.js +85 -0
  50. package/dist/cjs/hooks/spaces/useFetchMySpaces.js.map +1 -0
  51. package/dist/cjs/hooks/spaces/useFetchSpace.d.ts +5 -0
  52. package/dist/cjs/hooks/spaces/useFetchSpace.js +71 -0
  53. package/dist/cjs/hooks/spaces/useFetchSpace.js.map +1 -0
  54. package/dist/cjs/hooks/spaces/useFetchSpaceBreadcrumb.d.ts +5 -0
  55. package/dist/cjs/hooks/spaces/useFetchSpaceBreadcrumb.js +71 -0
  56. package/dist/cjs/hooks/spaces/useFetchSpaceBreadcrumb.js.map +1 -0
  57. package/dist/cjs/hooks/spaces/useFetchSpaceByShortId.d.ts +5 -0
  58. package/dist/cjs/hooks/spaces/useFetchSpaceByShortId.js +71 -0
  59. package/dist/cjs/hooks/spaces/useFetchSpaceByShortId.js.map +1 -0
  60. package/dist/cjs/hooks/spaces/useFetchSpaceBySlug.d.ts +5 -0
  61. package/dist/cjs/hooks/spaces/useFetchSpaceBySlug.js +71 -0
  62. package/dist/cjs/hooks/spaces/useFetchSpaceBySlug.js.map +1 -0
  63. package/dist/cjs/hooks/spaces/useFetchSpaceChildren.d.ts +8 -0
  64. package/dist/cjs/hooks/spaces/useFetchSpaceChildren.js +70 -0
  65. package/dist/cjs/hooks/spaces/useFetchSpaceChildren.js.map +1 -0
  66. package/dist/cjs/hooks/spaces/useFetchSpaceMembers.d.ts +10 -0
  67. package/dist/cjs/hooks/spaces/useFetchSpaceMembers.js +82 -0
  68. package/dist/cjs/hooks/spaces/useFetchSpaceMembers.js.map +1 -0
  69. package/dist/cjs/hooks/spaces/useJoinSpace.d.ts +5 -0
  70. package/dist/cjs/hooks/spaces/useJoinSpace.js +71 -0
  71. package/dist/cjs/hooks/spaces/useJoinSpace.js.map +1 -0
  72. package/dist/cjs/hooks/spaces/useLeaveSpace.d.ts +5 -0
  73. package/dist/cjs/hooks/spaces/useLeaveSpace.js +71 -0
  74. package/dist/cjs/hooks/spaces/useLeaveSpace.js.map +1 -0
  75. package/dist/cjs/hooks/spaces/useRemoveMember.d.ts +9 -0
  76. package/dist/cjs/hooks/spaces/useRemoveMember.js +71 -0
  77. package/dist/cjs/hooks/spaces/useRemoveMember.js.map +1 -0
  78. package/dist/cjs/hooks/spaces/useSpace.d.ts +3 -0
  79. package/dist/cjs/hooks/spaces/useSpace.js +13 -0
  80. package/dist/cjs/hooks/spaces/useSpace.js.map +1 -0
  81. package/dist/cjs/hooks/spaces/useSpaceData.d.ts +32 -0
  82. package/dist/cjs/hooks/spaces/useSpaceData.js +358 -0
  83. package/dist/cjs/hooks/spaces/useSpaceData.js.map +1 -0
  84. package/dist/cjs/hooks/spaces/useSpacePermissions.d.ts +18 -0
  85. package/dist/cjs/hooks/spaces/useSpacePermissions.js +53 -0
  86. package/dist/cjs/hooks/spaces/useSpacePermissions.js.map +1 -0
  87. package/dist/cjs/hooks/spaces/useUpdateMemberRole.d.ts +9 -0
  88. package/dist/cjs/hooks/spaces/useUpdateMemberRole.js +71 -0
  89. package/dist/cjs/hooks/spaces/useUpdateMemberRole.js.map +1 -0
  90. package/dist/cjs/hooks/spaces/useUpdateSpace.d.ts +17 -0
  91. package/dist/cjs/hooks/spaces/useUpdateSpace.js +71 -0
  92. package/dist/cjs/hooks/spaces/useUpdateSpace.js.map +1 -0
  93. package/dist/cjs/index.d.ts +10 -1
  94. package/dist/cjs/index.js +35 -2
  95. package/dist/cjs/index.js.map +1 -1
  96. package/dist/cjs/interfaces/SpaceBreadcrumb.d.ts +5 -0
  97. package/dist/cjs/interfaces/SpaceBreadcrumb.js +3 -0
  98. package/dist/cjs/interfaces/SpaceBreadcrumb.js.map +1 -0
  99. package/dist/cjs/interfaces/SpaceListSortByOptions.d.ts +7 -0
  100. package/dist/cjs/interfaces/SpaceListSortByOptions.js +3 -0
  101. package/dist/cjs/interfaces/SpaceListSortByOptions.js.map +1 -0
  102. package/dist/cjs/interfaces/models/Space.d.ts +122 -0
  103. package/dist/cjs/interfaces/models/Space.js +3 -0
  104. package/dist/cjs/interfaces/models/Space.js.map +1 -0
  105. package/dist/cjs/interfaces/models/SpaceMember.d.ts +27 -0
  106. package/dist/cjs/interfaces/models/SpaceMember.js +3 -0
  107. package/dist/cjs/interfaces/models/SpaceMember.js.map +1 -0
  108. package/dist/cjs/interfaces/models/User.d.ts +1 -1
  109. package/dist/cjs/store/api/appNotificationsApi.d.ts +741 -221
  110. package/dist/cjs/store/api/baseApi.d.ts +1 -1
  111. package/dist/cjs/store/api/baseApi.js +2 -0
  112. package/dist/cjs/store/api/baseApi.js.map +1 -1
  113. package/dist/cjs/store/api/entityListsApi.d.ts +387 -127
  114. package/dist/cjs/store/api/listsApi.d.ts +786 -266
  115. package/dist/cjs/store/api/spacesApi.d.ts +10750 -0
  116. package/dist/cjs/store/api/spacesApi.js +501 -0
  117. package/dist/cjs/store/api/spacesApi.js.map +1 -0
  118. package/dist/cjs/store/api/userApi.d.ts +3 -3
  119. package/dist/cjs/store/index.d.ts +4 -2
  120. package/dist/cjs/store/rootReducer.d.ts +4 -2
  121. package/dist/cjs/store/rootReducer.js +2 -0
  122. package/dist/cjs/store/rootReducer.js.map +1 -1
  123. package/dist/cjs/store/slices/appNotificationsSlice.d.ts +2365 -11
  124. package/dist/cjs/store/slices/entityListsSlice.d.ts +1608 -12
  125. package/dist/cjs/store/slices/listsSlice.d.ts +1414 -14
  126. package/dist/cjs/store/slices/spaceListsSlice.d.ts +850 -0
  127. package/dist/cjs/store/slices/spaceListsSlice.js +226 -0
  128. package/dist/cjs/store/slices/spaceListsSlice.js.map +1 -0
  129. package/dist/cjs/store/slices/userSlice.d.ts +248 -8
  130. package/dist/esm/context/index.d.ts +1 -0
  131. package/dist/esm/context/index.js +1 -0
  132. package/dist/esm/context/index.js.map +1 -1
  133. package/dist/esm/context/space-context.d.ts +9 -0
  134. package/dist/esm/context/space-context.js +28 -0
  135. package/dist/esm/context/space-context.js.map +1 -0
  136. package/dist/esm/hooks/crypto/useSignTestingJwt.d.ts +1 -2
  137. package/dist/esm/hooks/crypto/useSignTestingJwt.js +17 -10
  138. package/dist/esm/hooks/crypto/useSignTestingJwt.js.map +1 -1
  139. package/dist/esm/hooks/projects/useProjectData.js +1 -1
  140. package/dist/esm/hooks/projects/useProjectData.js.map +1 -1
  141. package/dist/esm/hooks/reports/index.d.ts +3 -0
  142. package/dist/esm/hooks/reports/index.js +3 -0
  143. package/dist/esm/hooks/reports/index.js.map +1 -1
  144. package/dist/esm/hooks/reports/useFetchSpaceReports.d.ts +38 -0
  145. package/dist/esm/hooks/reports/useFetchSpaceReports.js +91 -0
  146. package/dist/esm/hooks/reports/useFetchSpaceReports.js.map +1 -0
  147. package/dist/esm/hooks/reports/useHandleSpaceCommentReport.d.ts +30 -0
  148. package/dist/esm/hooks/reports/useHandleSpaceCommentReport.js +87 -0
  149. package/dist/esm/hooks/reports/useHandleSpaceCommentReport.js.map +1 -0
  150. package/dist/esm/hooks/reports/useHandleSpaceEntityReport.d.ts +32 -0
  151. package/dist/esm/hooks/reports/useHandleSpaceEntityReport.js +89 -0
  152. package/dist/esm/hooks/reports/useHandleSpaceEntityReport.js.map +1 -0
  153. package/dist/esm/hooks/space-lists/index.d.ts +3 -0
  154. package/dist/esm/hooks/space-lists/index.js +3 -0
  155. package/dist/esm/hooks/space-lists/index.js.map +1 -0
  156. package/dist/esm/hooks/space-lists/useSpaceList.d.ts +36 -0
  157. package/dist/esm/hooks/space-lists/useSpaceList.js +288 -0
  158. package/dist/esm/hooks/space-lists/useSpaceList.js.map +1 -0
  159. package/dist/esm/hooks/space-lists/useSpaceListActions.d.ts +33 -0
  160. package/dist/esm/hooks/space-lists/useSpaceListActions.js +204 -0
  161. package/dist/esm/hooks/space-lists/useSpaceListActions.js.map +1 -0
  162. package/dist/esm/hooks/spaces/index.d.ts +22 -0
  163. package/dist/esm/hooks/spaces/index.js +26 -0
  164. package/dist/esm/hooks/spaces/index.js.map +1 -0
  165. package/dist/esm/hooks/spaces/useApproveMember.d.ts +7 -0
  166. package/dist/esm/hooks/spaces/useApproveMember.js +66 -0
  167. package/dist/esm/hooks/spaces/useApproveMember.js.map +1 -0
  168. package/dist/esm/hooks/spaces/useCreateSpace.d.ts +15 -0
  169. package/dist/esm/hooks/spaces/useCreateSpace.js +65 -0
  170. package/dist/esm/hooks/spaces/useCreateSpace.js.map +1 -0
  171. package/dist/esm/hooks/spaces/useDeclineMember.d.ts +7 -0
  172. package/dist/esm/hooks/spaces/useDeclineMember.js +66 -0
  173. package/dist/esm/hooks/spaces/useDeclineMember.js.map +1 -0
  174. package/dist/esm/hooks/spaces/useDeleteSpace.d.ts +5 -0
  175. package/dist/esm/hooks/spaces/useDeleteSpace.js +66 -0
  176. package/dist/esm/hooks/spaces/useDeleteSpace.js.map +1 -0
  177. package/dist/esm/hooks/spaces/useFetchMySpaces.d.ts +8 -0
  178. package/dist/esm/hooks/spaces/useFetchMySpaces.js +80 -0
  179. package/dist/esm/hooks/spaces/useFetchMySpaces.js.map +1 -0
  180. package/dist/esm/hooks/spaces/useFetchSpace.d.ts +5 -0
  181. package/dist/esm/hooks/spaces/useFetchSpace.js +66 -0
  182. package/dist/esm/hooks/spaces/useFetchSpace.js.map +1 -0
  183. package/dist/esm/hooks/spaces/useFetchSpaceBreadcrumb.d.ts +5 -0
  184. package/dist/esm/hooks/spaces/useFetchSpaceBreadcrumb.js +66 -0
  185. package/dist/esm/hooks/spaces/useFetchSpaceBreadcrumb.js.map +1 -0
  186. package/dist/esm/hooks/spaces/useFetchSpaceByShortId.d.ts +5 -0
  187. package/dist/esm/hooks/spaces/useFetchSpaceByShortId.js +66 -0
  188. package/dist/esm/hooks/spaces/useFetchSpaceByShortId.js.map +1 -0
  189. package/dist/esm/hooks/spaces/useFetchSpaceBySlug.d.ts +5 -0
  190. package/dist/esm/hooks/spaces/useFetchSpaceBySlug.js +66 -0
  191. package/dist/esm/hooks/spaces/useFetchSpaceBySlug.js.map +1 -0
  192. package/dist/esm/hooks/spaces/useFetchSpaceChildren.d.ts +8 -0
  193. package/dist/esm/hooks/spaces/useFetchSpaceChildren.js +65 -0
  194. package/dist/esm/hooks/spaces/useFetchSpaceChildren.js.map +1 -0
  195. package/dist/esm/hooks/spaces/useFetchSpaceMembers.d.ts +10 -0
  196. package/dist/esm/hooks/spaces/useFetchSpaceMembers.js +77 -0
  197. package/dist/esm/hooks/spaces/useFetchSpaceMembers.js.map +1 -0
  198. package/dist/esm/hooks/spaces/useJoinSpace.d.ts +5 -0
  199. package/dist/esm/hooks/spaces/useJoinSpace.js +66 -0
  200. package/dist/esm/hooks/spaces/useJoinSpace.js.map +1 -0
  201. package/dist/esm/hooks/spaces/useLeaveSpace.d.ts +5 -0
  202. package/dist/esm/hooks/spaces/useLeaveSpace.js +66 -0
  203. package/dist/esm/hooks/spaces/useLeaveSpace.js.map +1 -0
  204. package/dist/esm/hooks/spaces/useRemoveMember.d.ts +9 -0
  205. package/dist/esm/hooks/spaces/useRemoveMember.js +66 -0
  206. package/dist/esm/hooks/spaces/useRemoveMember.js.map +1 -0
  207. package/dist/esm/hooks/spaces/useSpace.d.ts +3 -0
  208. package/dist/esm/hooks/spaces/useSpace.js +11 -0
  209. package/dist/esm/hooks/spaces/useSpace.js.map +1 -0
  210. package/dist/esm/hooks/spaces/useSpaceData.d.ts +32 -0
  211. package/dist/esm/hooks/spaces/useSpaceData.js +353 -0
  212. package/dist/esm/hooks/spaces/useSpaceData.js.map +1 -0
  213. package/dist/esm/hooks/spaces/useSpacePermissions.d.ts +18 -0
  214. package/dist/esm/hooks/spaces/useSpacePermissions.js +51 -0
  215. package/dist/esm/hooks/spaces/useSpacePermissions.js.map +1 -0
  216. package/dist/esm/hooks/spaces/useUpdateMemberRole.d.ts +9 -0
  217. package/dist/esm/hooks/spaces/useUpdateMemberRole.js +66 -0
  218. package/dist/esm/hooks/spaces/useUpdateMemberRole.js.map +1 -0
  219. package/dist/esm/hooks/spaces/useUpdateSpace.d.ts +17 -0
  220. package/dist/esm/hooks/spaces/useUpdateSpace.js +66 -0
  221. package/dist/esm/hooks/spaces/useUpdateSpace.js.map +1 -0
  222. package/dist/esm/index.d.ts +10 -1
  223. package/dist/esm/index.js +8 -1
  224. package/dist/esm/index.js.map +1 -1
  225. package/dist/esm/interfaces/SpaceBreadcrumb.d.ts +5 -0
  226. package/dist/esm/interfaces/SpaceBreadcrumb.js +2 -0
  227. package/dist/esm/interfaces/SpaceBreadcrumb.js.map +1 -0
  228. package/dist/esm/interfaces/SpaceListSortByOptions.d.ts +7 -0
  229. package/dist/esm/interfaces/SpaceListSortByOptions.js +2 -0
  230. package/dist/esm/interfaces/SpaceListSortByOptions.js.map +1 -0
  231. package/dist/esm/interfaces/models/Space.d.ts +122 -0
  232. package/dist/esm/interfaces/models/Space.js +2 -0
  233. package/dist/esm/interfaces/models/Space.js.map +1 -0
  234. package/dist/esm/interfaces/models/SpaceMember.d.ts +27 -0
  235. package/dist/esm/interfaces/models/SpaceMember.js +2 -0
  236. package/dist/esm/interfaces/models/SpaceMember.js.map +1 -0
  237. package/dist/esm/interfaces/models/User.d.ts +1 -1
  238. package/dist/esm/store/api/appNotificationsApi.d.ts +741 -221
  239. package/dist/esm/store/api/baseApi.d.ts +1 -1
  240. package/dist/esm/store/api/baseApi.js +2 -0
  241. package/dist/esm/store/api/baseApi.js.map +1 -1
  242. package/dist/esm/store/api/entityListsApi.d.ts +387 -127
  243. package/dist/esm/store/api/listsApi.d.ts +786 -266
  244. package/dist/esm/store/api/spacesApi.d.ts +10750 -0
  245. package/dist/esm/store/api/spacesApi.js +498 -0
  246. package/dist/esm/store/api/spacesApi.js.map +1 -0
  247. package/dist/esm/store/api/userApi.d.ts +3 -3
  248. package/dist/esm/store/index.d.ts +4 -2
  249. package/dist/esm/store/rootReducer.d.ts +4 -2
  250. package/dist/esm/store/rootReducer.js +2 -0
  251. package/dist/esm/store/rootReducer.js.map +1 -1
  252. package/dist/esm/store/slices/appNotificationsSlice.d.ts +2365 -11
  253. package/dist/esm/store/slices/entityListsSlice.d.ts +1608 -12
  254. package/dist/esm/store/slices/listsSlice.d.ts +1414 -14
  255. package/dist/esm/store/slices/spaceListsSlice.d.ts +850 -0
  256. package/dist/esm/store/slices/spaceListsSlice.js +223 -0
  257. package/dist/esm/store/slices/spaceListsSlice.js.map +1 -0
  258. package/dist/esm/store/slices/userSlice.d.ts +248 -8
  259. package/package.json +1 -1
@@ -88,27 +88,1623 @@ export interface EntitiesSetPayload {
88
88
  append?: boolean;
89
89
  }
90
90
  export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityListsState, {
91
- initializeList: (state: import("@reduxjs/toolkit").WritableDraft<EntityListsState>, action: PayloadAction<InitializeListPayload>) => void;
92
- updateFiltersAndSort: (state: import("@reduxjs/toolkit").WritableDraft<EntityListsState>, action: PayloadAction<FilterUpdatePayload>) => void;
93
- setEntityListLoading: (state: import("@reduxjs/toolkit").WritableDraft<EntityListsState>, action: PayloadAction<{
91
+ initializeList: (state: {
92
+ lists: {
93
+ [x: string]: {
94
+ entities: {
95
+ id: string;
96
+ foreignId: string | null;
97
+ shortId: string;
98
+ projectId: string;
99
+ sourceId: string | null;
100
+ user?: {
101
+ id: string;
102
+ projectId: string;
103
+ foreignId: string | null;
104
+ role: import("../..").UserRole;
105
+ name: string | null;
106
+ username: string | null;
107
+ avatar: string | null;
108
+ bio: string | null;
109
+ birthdate: Date | null;
110
+ metadata: {
111
+ [x: string]: any;
112
+ };
113
+ reputation: number;
114
+ createdAt: Date;
115
+ location: {
116
+ type: "Point";
117
+ coordinates: [number, number];
118
+ } | null;
119
+ } | null | undefined;
120
+ title: string | null;
121
+ content: string | null;
122
+ mentions: {
123
+ id: string;
124
+ foreignId?: string | null | undefined;
125
+ username: string;
126
+ }[];
127
+ attachments: {
128
+ [x: string]: any;
129
+ }[];
130
+ keywords: string[];
131
+ upvotes: string[];
132
+ downvotes: string[];
133
+ repliesCount: number;
134
+ views: number;
135
+ score: number;
136
+ scoreUpdatedAt: Date;
137
+ location: {
138
+ type: "Point";
139
+ coordinates: [number, number];
140
+ } | null;
141
+ metadata: {
142
+ [x: string]: any;
143
+ };
144
+ topComment: {
145
+ id: string;
146
+ user: {
147
+ id: string;
148
+ projectId: string;
149
+ foreignId: string | null;
150
+ role: import("../..").UserRole;
151
+ name: string | null;
152
+ username: string | null;
153
+ avatar: string | null;
154
+ bio: string | null;
155
+ birthdate: Date | null;
156
+ metadata: {
157
+ [x: string]: any;
158
+ };
159
+ reputation: number;
160
+ createdAt: Date;
161
+ location: {
162
+ type: "Point";
163
+ coordinates: [number, number];
164
+ } | null;
165
+ };
166
+ upvotesCount: number;
167
+ content: string;
168
+ createdAt: string;
169
+ } | null;
170
+ createdAt: Date;
171
+ updatedAt: Date;
172
+ deletedAt: Date | null;
173
+ }[];
174
+ page: number;
175
+ loading: boolean;
176
+ hasMore: boolean;
177
+ error: string | null;
178
+ lastFetched: number | null;
179
+ sourceId: string | null;
180
+ limit: number;
181
+ sortBy: EntityListSortByOptions;
182
+ sortDir: SortDirection | null;
183
+ sortType: SortType;
184
+ timeFrame: TimeFrame | null;
185
+ userId: string | null;
186
+ followedOnly: boolean;
187
+ keywordsFilters: {
188
+ includes?: string[] | undefined;
189
+ doesNotInclude?: string[] | undefined;
190
+ } | null;
191
+ titleFilters: {
192
+ hasTitle?: boolean | undefined;
193
+ includes?: string | string[] | undefined;
194
+ doesNotInclude?: string | string[] | undefined;
195
+ } | null;
196
+ contentFilters: {
197
+ hasContent?: boolean | undefined;
198
+ includes?: string | string[] | undefined;
199
+ doesNotInclude?: string | string[] | undefined;
200
+ } | null;
201
+ attachmentsFilters: {
202
+ hasAttachments?: boolean | undefined;
203
+ } | null;
204
+ locationFilters: {
205
+ latitude: number;
206
+ longitude: number;
207
+ radius: number;
208
+ } | null;
209
+ metadataFilters: {
210
+ includes?: {
211
+ [x: string]: unknown;
212
+ } | undefined;
213
+ includesAny?: {
214
+ [x: string]: unknown;
215
+ }[] | undefined;
216
+ doesNotInclude?: {
217
+ [x: string]: unknown;
218
+ } | undefined;
219
+ exists?: string[] | undefined;
220
+ doesNotExist?: string[] | undefined;
221
+ } | null;
222
+ };
223
+ };
224
+ }, action: PayloadAction<InitializeListPayload>) => void;
225
+ updateFiltersAndSort: (state: {
226
+ lists: {
227
+ [x: string]: {
228
+ entities: {
229
+ id: string;
230
+ foreignId: string | null;
231
+ shortId: string;
232
+ projectId: string;
233
+ sourceId: string | null;
234
+ user?: {
235
+ id: string;
236
+ projectId: string;
237
+ foreignId: string | null;
238
+ role: import("../..").UserRole;
239
+ name: string | null;
240
+ username: string | null;
241
+ avatar: string | null;
242
+ bio: string | null;
243
+ birthdate: Date | null;
244
+ metadata: {
245
+ [x: string]: any;
246
+ };
247
+ reputation: number;
248
+ createdAt: Date;
249
+ location: {
250
+ type: "Point";
251
+ coordinates: [number, number];
252
+ } | null;
253
+ } | null | undefined;
254
+ title: string | null;
255
+ content: string | null;
256
+ mentions: {
257
+ id: string;
258
+ foreignId?: string | null | undefined;
259
+ username: string;
260
+ }[];
261
+ attachments: {
262
+ [x: string]: any;
263
+ }[];
264
+ keywords: string[];
265
+ upvotes: string[];
266
+ downvotes: string[];
267
+ repliesCount: number;
268
+ views: number;
269
+ score: number;
270
+ scoreUpdatedAt: Date;
271
+ location: {
272
+ type: "Point";
273
+ coordinates: [number, number];
274
+ } | null;
275
+ metadata: {
276
+ [x: string]: any;
277
+ };
278
+ topComment: {
279
+ id: string;
280
+ user: {
281
+ id: string;
282
+ projectId: string;
283
+ foreignId: string | null;
284
+ role: import("../..").UserRole;
285
+ name: string | null;
286
+ username: string | null;
287
+ avatar: string | null;
288
+ bio: string | null;
289
+ birthdate: Date | null;
290
+ metadata: {
291
+ [x: string]: any;
292
+ };
293
+ reputation: number;
294
+ createdAt: Date;
295
+ location: {
296
+ type: "Point";
297
+ coordinates: [number, number];
298
+ } | null;
299
+ };
300
+ upvotesCount: number;
301
+ content: string;
302
+ createdAt: string;
303
+ } | null;
304
+ createdAt: Date;
305
+ updatedAt: Date;
306
+ deletedAt: Date | null;
307
+ }[];
308
+ page: number;
309
+ loading: boolean;
310
+ hasMore: boolean;
311
+ error: string | null;
312
+ lastFetched: number | null;
313
+ sourceId: string | null;
314
+ limit: number;
315
+ sortBy: EntityListSortByOptions;
316
+ sortDir: SortDirection | null;
317
+ sortType: SortType;
318
+ timeFrame: TimeFrame | null;
319
+ userId: string | null;
320
+ followedOnly: boolean;
321
+ keywordsFilters: {
322
+ includes?: string[] | undefined;
323
+ doesNotInclude?: string[] | undefined;
324
+ } | null;
325
+ titleFilters: {
326
+ hasTitle?: boolean | undefined;
327
+ includes?: string | string[] | undefined;
328
+ doesNotInclude?: string | string[] | undefined;
329
+ } | null;
330
+ contentFilters: {
331
+ hasContent?: boolean | undefined;
332
+ includes?: string | string[] | undefined;
333
+ doesNotInclude?: string | string[] | undefined;
334
+ } | null;
335
+ attachmentsFilters: {
336
+ hasAttachments?: boolean | undefined;
337
+ } | null;
338
+ locationFilters: {
339
+ latitude: number;
340
+ longitude: number;
341
+ radius: number;
342
+ } | null;
343
+ metadataFilters: {
344
+ includes?: {
345
+ [x: string]: unknown;
346
+ } | undefined;
347
+ includesAny?: {
348
+ [x: string]: unknown;
349
+ }[] | undefined;
350
+ doesNotInclude?: {
351
+ [x: string]: unknown;
352
+ } | undefined;
353
+ exists?: string[] | undefined;
354
+ doesNotExist?: string[] | undefined;
355
+ } | null;
356
+ };
357
+ };
358
+ }, action: PayloadAction<FilterUpdatePayload>) => void;
359
+ setEntityListLoading: (state: {
360
+ lists: {
361
+ [x: string]: {
362
+ entities: {
363
+ id: string;
364
+ foreignId: string | null;
365
+ shortId: string;
366
+ projectId: string;
367
+ sourceId: string | null;
368
+ user?: {
369
+ id: string;
370
+ projectId: string;
371
+ foreignId: string | null;
372
+ role: import("../..").UserRole;
373
+ name: string | null;
374
+ username: string | null;
375
+ avatar: string | null;
376
+ bio: string | null;
377
+ birthdate: Date | null;
378
+ metadata: {
379
+ [x: string]: any;
380
+ };
381
+ reputation: number;
382
+ createdAt: Date;
383
+ location: {
384
+ type: "Point";
385
+ coordinates: [number, number];
386
+ } | null;
387
+ } | null | undefined;
388
+ title: string | null;
389
+ content: string | null;
390
+ mentions: {
391
+ id: string;
392
+ foreignId?: string | null | undefined;
393
+ username: string;
394
+ }[];
395
+ attachments: {
396
+ [x: string]: any;
397
+ }[];
398
+ keywords: string[];
399
+ upvotes: string[];
400
+ downvotes: string[];
401
+ repliesCount: number;
402
+ views: number;
403
+ score: number;
404
+ scoreUpdatedAt: Date;
405
+ location: {
406
+ type: "Point";
407
+ coordinates: [number, number];
408
+ } | null;
409
+ metadata: {
410
+ [x: string]: any;
411
+ };
412
+ topComment: {
413
+ id: string;
414
+ user: {
415
+ id: string;
416
+ projectId: string;
417
+ foreignId: string | null;
418
+ role: import("../..").UserRole;
419
+ name: string | null;
420
+ username: string | null;
421
+ avatar: string | null;
422
+ bio: string | null;
423
+ birthdate: Date | null;
424
+ metadata: {
425
+ [x: string]: any;
426
+ };
427
+ reputation: number;
428
+ createdAt: Date;
429
+ location: {
430
+ type: "Point";
431
+ coordinates: [number, number];
432
+ } | null;
433
+ };
434
+ upvotesCount: number;
435
+ content: string;
436
+ createdAt: string;
437
+ } | null;
438
+ createdAt: Date;
439
+ updatedAt: Date;
440
+ deletedAt: Date | null;
441
+ }[];
442
+ page: number;
443
+ loading: boolean;
444
+ hasMore: boolean;
445
+ error: string | null;
446
+ lastFetched: number | null;
447
+ sourceId: string | null;
448
+ limit: number;
449
+ sortBy: EntityListSortByOptions;
450
+ sortDir: SortDirection | null;
451
+ sortType: SortType;
452
+ timeFrame: TimeFrame | null;
453
+ userId: string | null;
454
+ followedOnly: boolean;
455
+ keywordsFilters: {
456
+ includes?: string[] | undefined;
457
+ doesNotInclude?: string[] | undefined;
458
+ } | null;
459
+ titleFilters: {
460
+ hasTitle?: boolean | undefined;
461
+ includes?: string | string[] | undefined;
462
+ doesNotInclude?: string | string[] | undefined;
463
+ } | null;
464
+ contentFilters: {
465
+ hasContent?: boolean | undefined;
466
+ includes?: string | string[] | undefined;
467
+ doesNotInclude?: string | string[] | undefined;
468
+ } | null;
469
+ attachmentsFilters: {
470
+ hasAttachments?: boolean | undefined;
471
+ } | null;
472
+ locationFilters: {
473
+ latitude: number;
474
+ longitude: number;
475
+ radius: number;
476
+ } | null;
477
+ metadataFilters: {
478
+ includes?: {
479
+ [x: string]: unknown;
480
+ } | undefined;
481
+ includesAny?: {
482
+ [x: string]: unknown;
483
+ }[] | undefined;
484
+ doesNotInclude?: {
485
+ [x: string]: unknown;
486
+ } | undefined;
487
+ exists?: string[] | undefined;
488
+ doesNotExist?: string[] | undefined;
489
+ } | null;
490
+ };
491
+ };
492
+ }, action: PayloadAction<{
94
493
  listId: string;
95
494
  loading: boolean;
96
495
  }>) => void;
97
- setEntityListEntities: (state: import("@reduxjs/toolkit").WritableDraft<EntityListsState>, action: PayloadAction<EntitiesSetPayload>) => void;
98
- incrementPage: (state: import("@reduxjs/toolkit").WritableDraft<EntityListsState>, action: PayloadAction<string>) => void;
99
- setEntityListHasMore: (state: import("@reduxjs/toolkit").WritableDraft<EntityListsState>, action: PayloadAction<{
496
+ setEntityListEntities: (state: {
497
+ lists: {
498
+ [x: string]: {
499
+ entities: {
500
+ id: string;
501
+ foreignId: string | null;
502
+ shortId: string;
503
+ projectId: string;
504
+ sourceId: string | null;
505
+ user?: {
506
+ id: string;
507
+ projectId: string;
508
+ foreignId: string | null;
509
+ role: import("../..").UserRole;
510
+ name: string | null;
511
+ username: string | null;
512
+ avatar: string | null;
513
+ bio: string | null;
514
+ birthdate: Date | null;
515
+ metadata: {
516
+ [x: string]: any;
517
+ };
518
+ reputation: number;
519
+ createdAt: Date;
520
+ location: {
521
+ type: "Point";
522
+ coordinates: [number, number];
523
+ } | null;
524
+ } | null | undefined;
525
+ title: string | null;
526
+ content: string | null;
527
+ mentions: {
528
+ id: string;
529
+ foreignId?: string | null | undefined;
530
+ username: string;
531
+ }[];
532
+ attachments: {
533
+ [x: string]: any;
534
+ }[];
535
+ keywords: string[];
536
+ upvotes: string[];
537
+ downvotes: string[];
538
+ repliesCount: number;
539
+ views: number;
540
+ score: number;
541
+ scoreUpdatedAt: Date;
542
+ location: {
543
+ type: "Point";
544
+ coordinates: [number, number];
545
+ } | null;
546
+ metadata: {
547
+ [x: string]: any;
548
+ };
549
+ topComment: {
550
+ id: string;
551
+ user: {
552
+ id: string;
553
+ projectId: string;
554
+ foreignId: string | null;
555
+ role: import("../..").UserRole;
556
+ name: string | null;
557
+ username: string | null;
558
+ avatar: string | null;
559
+ bio: string | null;
560
+ birthdate: Date | null;
561
+ metadata: {
562
+ [x: string]: any;
563
+ };
564
+ reputation: number;
565
+ createdAt: Date;
566
+ location: {
567
+ type: "Point";
568
+ coordinates: [number, number];
569
+ } | null;
570
+ };
571
+ upvotesCount: number;
572
+ content: string;
573
+ createdAt: string;
574
+ } | null;
575
+ createdAt: Date;
576
+ updatedAt: Date;
577
+ deletedAt: Date | null;
578
+ }[];
579
+ page: number;
580
+ loading: boolean;
581
+ hasMore: boolean;
582
+ error: string | null;
583
+ lastFetched: number | null;
584
+ sourceId: string | null;
585
+ limit: number;
586
+ sortBy: EntityListSortByOptions;
587
+ sortDir: SortDirection | null;
588
+ sortType: SortType;
589
+ timeFrame: TimeFrame | null;
590
+ userId: string | null;
591
+ followedOnly: boolean;
592
+ keywordsFilters: {
593
+ includes?: string[] | undefined;
594
+ doesNotInclude?: string[] | undefined;
595
+ } | null;
596
+ titleFilters: {
597
+ hasTitle?: boolean | undefined;
598
+ includes?: string | string[] | undefined;
599
+ doesNotInclude?: string | string[] | undefined;
600
+ } | null;
601
+ contentFilters: {
602
+ hasContent?: boolean | undefined;
603
+ includes?: string | string[] | undefined;
604
+ doesNotInclude?: string | string[] | undefined;
605
+ } | null;
606
+ attachmentsFilters: {
607
+ hasAttachments?: boolean | undefined;
608
+ } | null;
609
+ locationFilters: {
610
+ latitude: number;
611
+ longitude: number;
612
+ radius: number;
613
+ } | null;
614
+ metadataFilters: {
615
+ includes?: {
616
+ [x: string]: unknown;
617
+ } | undefined;
618
+ includesAny?: {
619
+ [x: string]: unknown;
620
+ }[] | undefined;
621
+ doesNotInclude?: {
622
+ [x: string]: unknown;
623
+ } | undefined;
624
+ exists?: string[] | undefined;
625
+ doesNotExist?: string[] | undefined;
626
+ } | null;
627
+ };
628
+ };
629
+ }, action: PayloadAction<EntitiesSetPayload>) => void;
630
+ incrementPage: (state: {
631
+ lists: {
632
+ [x: string]: {
633
+ entities: {
634
+ id: string;
635
+ foreignId: string | null;
636
+ shortId: string;
637
+ projectId: string;
638
+ sourceId: string | null;
639
+ user?: {
640
+ id: string;
641
+ projectId: string;
642
+ foreignId: string | null;
643
+ role: import("../..").UserRole;
644
+ name: string | null;
645
+ username: string | null;
646
+ avatar: string | null;
647
+ bio: string | null;
648
+ birthdate: Date | null;
649
+ metadata: {
650
+ [x: string]: any;
651
+ };
652
+ reputation: number;
653
+ createdAt: Date;
654
+ location: {
655
+ type: "Point";
656
+ coordinates: [number, number];
657
+ } | null;
658
+ } | null | undefined;
659
+ title: string | null;
660
+ content: string | null;
661
+ mentions: {
662
+ id: string;
663
+ foreignId?: string | null | undefined;
664
+ username: string;
665
+ }[];
666
+ attachments: {
667
+ [x: string]: any;
668
+ }[];
669
+ keywords: string[];
670
+ upvotes: string[];
671
+ downvotes: string[];
672
+ repliesCount: number;
673
+ views: number;
674
+ score: number;
675
+ scoreUpdatedAt: Date;
676
+ location: {
677
+ type: "Point";
678
+ coordinates: [number, number];
679
+ } | null;
680
+ metadata: {
681
+ [x: string]: any;
682
+ };
683
+ topComment: {
684
+ id: string;
685
+ user: {
686
+ id: string;
687
+ projectId: string;
688
+ foreignId: string | null;
689
+ role: import("../..").UserRole;
690
+ name: string | null;
691
+ username: string | null;
692
+ avatar: string | null;
693
+ bio: string | null;
694
+ birthdate: Date | null;
695
+ metadata: {
696
+ [x: string]: any;
697
+ };
698
+ reputation: number;
699
+ createdAt: Date;
700
+ location: {
701
+ type: "Point";
702
+ coordinates: [number, number];
703
+ } | null;
704
+ };
705
+ upvotesCount: number;
706
+ content: string;
707
+ createdAt: string;
708
+ } | null;
709
+ createdAt: Date;
710
+ updatedAt: Date;
711
+ deletedAt: Date | null;
712
+ }[];
713
+ page: number;
714
+ loading: boolean;
715
+ hasMore: boolean;
716
+ error: string | null;
717
+ lastFetched: number | null;
718
+ sourceId: string | null;
719
+ limit: number;
720
+ sortBy: EntityListSortByOptions;
721
+ sortDir: SortDirection | null;
722
+ sortType: SortType;
723
+ timeFrame: TimeFrame | null;
724
+ userId: string | null;
725
+ followedOnly: boolean;
726
+ keywordsFilters: {
727
+ includes?: string[] | undefined;
728
+ doesNotInclude?: string[] | undefined;
729
+ } | null;
730
+ titleFilters: {
731
+ hasTitle?: boolean | undefined;
732
+ includes?: string | string[] | undefined;
733
+ doesNotInclude?: string | string[] | undefined;
734
+ } | null;
735
+ contentFilters: {
736
+ hasContent?: boolean | undefined;
737
+ includes?: string | string[] | undefined;
738
+ doesNotInclude?: string | string[] | undefined;
739
+ } | null;
740
+ attachmentsFilters: {
741
+ hasAttachments?: boolean | undefined;
742
+ } | null;
743
+ locationFilters: {
744
+ latitude: number;
745
+ longitude: number;
746
+ radius: number;
747
+ } | null;
748
+ metadataFilters: {
749
+ includes?: {
750
+ [x: string]: unknown;
751
+ } | undefined;
752
+ includesAny?: {
753
+ [x: string]: unknown;
754
+ }[] | undefined;
755
+ doesNotInclude?: {
756
+ [x: string]: unknown;
757
+ } | undefined;
758
+ exists?: string[] | undefined;
759
+ doesNotExist?: string[] | undefined;
760
+ } | null;
761
+ };
762
+ };
763
+ }, action: PayloadAction<string>) => void;
764
+ setEntityListHasMore: (state: {
765
+ lists: {
766
+ [x: string]: {
767
+ entities: {
768
+ id: string;
769
+ foreignId: string | null;
770
+ shortId: string;
771
+ projectId: string;
772
+ sourceId: string | null;
773
+ user?: {
774
+ id: string;
775
+ projectId: string;
776
+ foreignId: string | null;
777
+ role: import("../..").UserRole;
778
+ name: string | null;
779
+ username: string | null;
780
+ avatar: string | null;
781
+ bio: string | null;
782
+ birthdate: Date | null;
783
+ metadata: {
784
+ [x: string]: any;
785
+ };
786
+ reputation: number;
787
+ createdAt: Date;
788
+ location: {
789
+ type: "Point";
790
+ coordinates: [number, number];
791
+ } | null;
792
+ } | null | undefined;
793
+ title: string | null;
794
+ content: string | null;
795
+ mentions: {
796
+ id: string;
797
+ foreignId?: string | null | undefined;
798
+ username: string;
799
+ }[];
800
+ attachments: {
801
+ [x: string]: any;
802
+ }[];
803
+ keywords: string[];
804
+ upvotes: string[];
805
+ downvotes: string[];
806
+ repliesCount: number;
807
+ views: number;
808
+ score: number;
809
+ scoreUpdatedAt: Date;
810
+ location: {
811
+ type: "Point";
812
+ coordinates: [number, number];
813
+ } | null;
814
+ metadata: {
815
+ [x: string]: any;
816
+ };
817
+ topComment: {
818
+ id: string;
819
+ user: {
820
+ id: string;
821
+ projectId: string;
822
+ foreignId: string | null;
823
+ role: import("../..").UserRole;
824
+ name: string | null;
825
+ username: string | null;
826
+ avatar: string | null;
827
+ bio: string | null;
828
+ birthdate: Date | null;
829
+ metadata: {
830
+ [x: string]: any;
831
+ };
832
+ reputation: number;
833
+ createdAt: Date;
834
+ location: {
835
+ type: "Point";
836
+ coordinates: [number, number];
837
+ } | null;
838
+ };
839
+ upvotesCount: number;
840
+ content: string;
841
+ createdAt: string;
842
+ } | null;
843
+ createdAt: Date;
844
+ updatedAt: Date;
845
+ deletedAt: Date | null;
846
+ }[];
847
+ page: number;
848
+ loading: boolean;
849
+ hasMore: boolean;
850
+ error: string | null;
851
+ lastFetched: number | null;
852
+ sourceId: string | null;
853
+ limit: number;
854
+ sortBy: EntityListSortByOptions;
855
+ sortDir: SortDirection | null;
856
+ sortType: SortType;
857
+ timeFrame: TimeFrame | null;
858
+ userId: string | null;
859
+ followedOnly: boolean;
860
+ keywordsFilters: {
861
+ includes?: string[] | undefined;
862
+ doesNotInclude?: string[] | undefined;
863
+ } | null;
864
+ titleFilters: {
865
+ hasTitle?: boolean | undefined;
866
+ includes?: string | string[] | undefined;
867
+ doesNotInclude?: string | string[] | undefined;
868
+ } | null;
869
+ contentFilters: {
870
+ hasContent?: boolean | undefined;
871
+ includes?: string | string[] | undefined;
872
+ doesNotInclude?: string | string[] | undefined;
873
+ } | null;
874
+ attachmentsFilters: {
875
+ hasAttachments?: boolean | undefined;
876
+ } | null;
877
+ locationFilters: {
878
+ latitude: number;
879
+ longitude: number;
880
+ radius: number;
881
+ } | null;
882
+ metadataFilters: {
883
+ includes?: {
884
+ [x: string]: unknown;
885
+ } | undefined;
886
+ includesAny?: {
887
+ [x: string]: unknown;
888
+ }[] | undefined;
889
+ doesNotInclude?: {
890
+ [x: string]: unknown;
891
+ } | undefined;
892
+ exists?: string[] | undefined;
893
+ doesNotExist?: string[] | undefined;
894
+ } | null;
895
+ };
896
+ };
897
+ }, action: PayloadAction<{
100
898
  listId: string;
101
899
  hasMore: boolean;
102
900
  }>) => void;
103
- setEntityListError: (state: import("@reduxjs/toolkit").WritableDraft<EntityListsState>, action: PayloadAction<{
901
+ setEntityListError: (state: {
902
+ lists: {
903
+ [x: string]: {
904
+ entities: {
905
+ id: string;
906
+ foreignId: string | null;
907
+ shortId: string;
908
+ projectId: string;
909
+ sourceId: string | null;
910
+ user?: {
911
+ id: string;
912
+ projectId: string;
913
+ foreignId: string | null;
914
+ role: import("../..").UserRole;
915
+ name: string | null;
916
+ username: string | null;
917
+ avatar: string | null;
918
+ bio: string | null;
919
+ birthdate: Date | null;
920
+ metadata: {
921
+ [x: string]: any;
922
+ };
923
+ reputation: number;
924
+ createdAt: Date;
925
+ location: {
926
+ type: "Point";
927
+ coordinates: [number, number];
928
+ } | null;
929
+ } | null | undefined;
930
+ title: string | null;
931
+ content: string | null;
932
+ mentions: {
933
+ id: string;
934
+ foreignId?: string | null | undefined;
935
+ username: string;
936
+ }[];
937
+ attachments: {
938
+ [x: string]: any;
939
+ }[];
940
+ keywords: string[];
941
+ upvotes: string[];
942
+ downvotes: string[];
943
+ repliesCount: number;
944
+ views: number;
945
+ score: number;
946
+ scoreUpdatedAt: Date;
947
+ location: {
948
+ type: "Point";
949
+ coordinates: [number, number];
950
+ } | null;
951
+ metadata: {
952
+ [x: string]: any;
953
+ };
954
+ topComment: {
955
+ id: string;
956
+ user: {
957
+ id: string;
958
+ projectId: string;
959
+ foreignId: string | null;
960
+ role: import("../..").UserRole;
961
+ name: string | null;
962
+ username: string | null;
963
+ avatar: string | null;
964
+ bio: string | null;
965
+ birthdate: Date | null;
966
+ metadata: {
967
+ [x: string]: any;
968
+ };
969
+ reputation: number;
970
+ createdAt: Date;
971
+ location: {
972
+ type: "Point";
973
+ coordinates: [number, number];
974
+ } | null;
975
+ };
976
+ upvotesCount: number;
977
+ content: string;
978
+ createdAt: string;
979
+ } | null;
980
+ createdAt: Date;
981
+ updatedAt: Date;
982
+ deletedAt: Date | null;
983
+ }[];
984
+ page: number;
985
+ loading: boolean;
986
+ hasMore: boolean;
987
+ error: string | null;
988
+ lastFetched: number | null;
989
+ sourceId: string | null;
990
+ limit: number;
991
+ sortBy: EntityListSortByOptions;
992
+ sortDir: SortDirection | null;
993
+ sortType: SortType;
994
+ timeFrame: TimeFrame | null;
995
+ userId: string | null;
996
+ followedOnly: boolean;
997
+ keywordsFilters: {
998
+ includes?: string[] | undefined;
999
+ doesNotInclude?: string[] | undefined;
1000
+ } | null;
1001
+ titleFilters: {
1002
+ hasTitle?: boolean | undefined;
1003
+ includes?: string | string[] | undefined;
1004
+ doesNotInclude?: string | string[] | undefined;
1005
+ } | null;
1006
+ contentFilters: {
1007
+ hasContent?: boolean | undefined;
1008
+ includes?: string | string[] | undefined;
1009
+ doesNotInclude?: string | string[] | undefined;
1010
+ } | null;
1011
+ attachmentsFilters: {
1012
+ hasAttachments?: boolean | undefined;
1013
+ } | null;
1014
+ locationFilters: {
1015
+ latitude: number;
1016
+ longitude: number;
1017
+ radius: number;
1018
+ } | null;
1019
+ metadataFilters: {
1020
+ includes?: {
1021
+ [x: string]: unknown;
1022
+ } | undefined;
1023
+ includesAny?: {
1024
+ [x: string]: unknown;
1025
+ }[] | undefined;
1026
+ doesNotInclude?: {
1027
+ [x: string]: unknown;
1028
+ } | undefined;
1029
+ exists?: string[] | undefined;
1030
+ doesNotExist?: string[] | undefined;
1031
+ } | null;
1032
+ };
1033
+ };
1034
+ }, action: PayloadAction<{
104
1035
  listId: string;
105
1036
  error: string | null;
106
1037
  }>) => void;
107
- addEntity: (state: import("@reduxjs/toolkit").WritableDraft<EntityListsState>, action: PayloadAction<EntityAddPayload>) => void;
108
- removeEntity: (state: import("@reduxjs/toolkit").WritableDraft<EntityListsState>, action: PayloadAction<EntityRemovePayload>) => void;
109
- updateKeywordsFilters: (state: import("@reduxjs/toolkit").WritableDraft<EntityListsState>, action: PayloadAction<KeywordsUpdatePayload>) => void;
110
- cleanupList: (state: import("@reduxjs/toolkit").WritableDraft<EntityListsState>, action: PayloadAction<string>) => void;
111
- cleanupOldLists: (state: import("@reduxjs/toolkit").WritableDraft<EntityListsState>, action: PayloadAction<number>) => void;
1038
+ addEntity: (state: {
1039
+ lists: {
1040
+ [x: string]: {
1041
+ entities: {
1042
+ id: string;
1043
+ foreignId: string | null;
1044
+ shortId: string;
1045
+ projectId: string;
1046
+ sourceId: string | null;
1047
+ user?: {
1048
+ id: string;
1049
+ projectId: string;
1050
+ foreignId: string | null;
1051
+ role: import("../..").UserRole;
1052
+ name: string | null;
1053
+ username: string | null;
1054
+ avatar: string | null;
1055
+ bio: string | null;
1056
+ birthdate: Date | null;
1057
+ metadata: {
1058
+ [x: string]: any;
1059
+ };
1060
+ reputation: number;
1061
+ createdAt: Date;
1062
+ location: {
1063
+ type: "Point";
1064
+ coordinates: [number, number];
1065
+ } | null;
1066
+ } | null | undefined;
1067
+ title: string | null;
1068
+ content: string | null;
1069
+ mentions: {
1070
+ id: string;
1071
+ foreignId?: string | null | undefined;
1072
+ username: string;
1073
+ }[];
1074
+ attachments: {
1075
+ [x: string]: any;
1076
+ }[];
1077
+ keywords: string[];
1078
+ upvotes: string[];
1079
+ downvotes: string[];
1080
+ repliesCount: number;
1081
+ views: number;
1082
+ score: number;
1083
+ scoreUpdatedAt: Date;
1084
+ location: {
1085
+ type: "Point";
1086
+ coordinates: [number, number];
1087
+ } | null;
1088
+ metadata: {
1089
+ [x: string]: any;
1090
+ };
1091
+ topComment: {
1092
+ id: string;
1093
+ user: {
1094
+ id: string;
1095
+ projectId: string;
1096
+ foreignId: string | null;
1097
+ role: import("../..").UserRole;
1098
+ name: string | null;
1099
+ username: string | null;
1100
+ avatar: string | null;
1101
+ bio: string | null;
1102
+ birthdate: Date | null;
1103
+ metadata: {
1104
+ [x: string]: any;
1105
+ };
1106
+ reputation: number;
1107
+ createdAt: Date;
1108
+ location: {
1109
+ type: "Point";
1110
+ coordinates: [number, number];
1111
+ } | null;
1112
+ };
1113
+ upvotesCount: number;
1114
+ content: string;
1115
+ createdAt: string;
1116
+ } | null;
1117
+ createdAt: Date;
1118
+ updatedAt: Date;
1119
+ deletedAt: Date | null;
1120
+ }[];
1121
+ page: number;
1122
+ loading: boolean;
1123
+ hasMore: boolean;
1124
+ error: string | null;
1125
+ lastFetched: number | null;
1126
+ sourceId: string | null;
1127
+ limit: number;
1128
+ sortBy: EntityListSortByOptions;
1129
+ sortDir: SortDirection | null;
1130
+ sortType: SortType;
1131
+ timeFrame: TimeFrame | null;
1132
+ userId: string | null;
1133
+ followedOnly: boolean;
1134
+ keywordsFilters: {
1135
+ includes?: string[] | undefined;
1136
+ doesNotInclude?: string[] | undefined;
1137
+ } | null;
1138
+ titleFilters: {
1139
+ hasTitle?: boolean | undefined;
1140
+ includes?: string | string[] | undefined;
1141
+ doesNotInclude?: string | string[] | undefined;
1142
+ } | null;
1143
+ contentFilters: {
1144
+ hasContent?: boolean | undefined;
1145
+ includes?: string | string[] | undefined;
1146
+ doesNotInclude?: string | string[] | undefined;
1147
+ } | null;
1148
+ attachmentsFilters: {
1149
+ hasAttachments?: boolean | undefined;
1150
+ } | null;
1151
+ locationFilters: {
1152
+ latitude: number;
1153
+ longitude: number;
1154
+ radius: number;
1155
+ } | null;
1156
+ metadataFilters: {
1157
+ includes?: {
1158
+ [x: string]: unknown;
1159
+ } | undefined;
1160
+ includesAny?: {
1161
+ [x: string]: unknown;
1162
+ }[] | undefined;
1163
+ doesNotInclude?: {
1164
+ [x: string]: unknown;
1165
+ } | undefined;
1166
+ exists?: string[] | undefined;
1167
+ doesNotExist?: string[] | undefined;
1168
+ } | null;
1169
+ };
1170
+ };
1171
+ }, action: PayloadAction<EntityAddPayload>) => void;
1172
+ removeEntity: (state: {
1173
+ lists: {
1174
+ [x: string]: {
1175
+ entities: {
1176
+ id: string;
1177
+ foreignId: string | null;
1178
+ shortId: string;
1179
+ projectId: string;
1180
+ sourceId: string | null;
1181
+ user?: {
1182
+ id: string;
1183
+ projectId: string;
1184
+ foreignId: string | null;
1185
+ role: import("../..").UserRole;
1186
+ name: string | null;
1187
+ username: string | null;
1188
+ avatar: string | null;
1189
+ bio: string | null;
1190
+ birthdate: Date | null;
1191
+ metadata: {
1192
+ [x: string]: any;
1193
+ };
1194
+ reputation: number;
1195
+ createdAt: Date;
1196
+ location: {
1197
+ type: "Point";
1198
+ coordinates: [number, number];
1199
+ } | null;
1200
+ } | null | undefined;
1201
+ title: string | null;
1202
+ content: string | null;
1203
+ mentions: {
1204
+ id: string;
1205
+ foreignId?: string | null | undefined;
1206
+ username: string;
1207
+ }[];
1208
+ attachments: {
1209
+ [x: string]: any;
1210
+ }[];
1211
+ keywords: string[];
1212
+ upvotes: string[];
1213
+ downvotes: string[];
1214
+ repliesCount: number;
1215
+ views: number;
1216
+ score: number;
1217
+ scoreUpdatedAt: Date;
1218
+ location: {
1219
+ type: "Point";
1220
+ coordinates: [number, number];
1221
+ } | null;
1222
+ metadata: {
1223
+ [x: string]: any;
1224
+ };
1225
+ topComment: {
1226
+ id: string;
1227
+ user: {
1228
+ id: string;
1229
+ projectId: string;
1230
+ foreignId: string | null;
1231
+ role: import("../..").UserRole;
1232
+ name: string | null;
1233
+ username: string | null;
1234
+ avatar: string | null;
1235
+ bio: string | null;
1236
+ birthdate: Date | null;
1237
+ metadata: {
1238
+ [x: string]: any;
1239
+ };
1240
+ reputation: number;
1241
+ createdAt: Date;
1242
+ location: {
1243
+ type: "Point";
1244
+ coordinates: [number, number];
1245
+ } | null;
1246
+ };
1247
+ upvotesCount: number;
1248
+ content: string;
1249
+ createdAt: string;
1250
+ } | null;
1251
+ createdAt: Date;
1252
+ updatedAt: Date;
1253
+ deletedAt: Date | null;
1254
+ }[];
1255
+ page: number;
1256
+ loading: boolean;
1257
+ hasMore: boolean;
1258
+ error: string | null;
1259
+ lastFetched: number | null;
1260
+ sourceId: string | null;
1261
+ limit: number;
1262
+ sortBy: EntityListSortByOptions;
1263
+ sortDir: SortDirection | null;
1264
+ sortType: SortType;
1265
+ timeFrame: TimeFrame | null;
1266
+ userId: string | null;
1267
+ followedOnly: boolean;
1268
+ keywordsFilters: {
1269
+ includes?: string[] | undefined;
1270
+ doesNotInclude?: string[] | undefined;
1271
+ } | null;
1272
+ titleFilters: {
1273
+ hasTitle?: boolean | undefined;
1274
+ includes?: string | string[] | undefined;
1275
+ doesNotInclude?: string | string[] | undefined;
1276
+ } | null;
1277
+ contentFilters: {
1278
+ hasContent?: boolean | undefined;
1279
+ includes?: string | string[] | undefined;
1280
+ doesNotInclude?: string | string[] | undefined;
1281
+ } | null;
1282
+ attachmentsFilters: {
1283
+ hasAttachments?: boolean | undefined;
1284
+ } | null;
1285
+ locationFilters: {
1286
+ latitude: number;
1287
+ longitude: number;
1288
+ radius: number;
1289
+ } | null;
1290
+ metadataFilters: {
1291
+ includes?: {
1292
+ [x: string]: unknown;
1293
+ } | undefined;
1294
+ includesAny?: {
1295
+ [x: string]: unknown;
1296
+ }[] | undefined;
1297
+ doesNotInclude?: {
1298
+ [x: string]: unknown;
1299
+ } | undefined;
1300
+ exists?: string[] | undefined;
1301
+ doesNotExist?: string[] | undefined;
1302
+ } | null;
1303
+ };
1304
+ };
1305
+ }, action: PayloadAction<EntityRemovePayload>) => void;
1306
+ updateKeywordsFilters: (state: {
1307
+ lists: {
1308
+ [x: string]: {
1309
+ entities: {
1310
+ id: string;
1311
+ foreignId: string | null;
1312
+ shortId: string;
1313
+ projectId: string;
1314
+ sourceId: string | null;
1315
+ user?: {
1316
+ id: string;
1317
+ projectId: string;
1318
+ foreignId: string | null;
1319
+ role: import("../..").UserRole;
1320
+ name: string | null;
1321
+ username: string | null;
1322
+ avatar: string | null;
1323
+ bio: string | null;
1324
+ birthdate: Date | null;
1325
+ metadata: {
1326
+ [x: string]: any;
1327
+ };
1328
+ reputation: number;
1329
+ createdAt: Date;
1330
+ location: {
1331
+ type: "Point";
1332
+ coordinates: [number, number];
1333
+ } | null;
1334
+ } | null | undefined;
1335
+ title: string | null;
1336
+ content: string | null;
1337
+ mentions: {
1338
+ id: string;
1339
+ foreignId?: string | null | undefined;
1340
+ username: string;
1341
+ }[];
1342
+ attachments: {
1343
+ [x: string]: any;
1344
+ }[];
1345
+ keywords: string[];
1346
+ upvotes: string[];
1347
+ downvotes: string[];
1348
+ repliesCount: number;
1349
+ views: number;
1350
+ score: number;
1351
+ scoreUpdatedAt: Date;
1352
+ location: {
1353
+ type: "Point";
1354
+ coordinates: [number, number];
1355
+ } | null;
1356
+ metadata: {
1357
+ [x: string]: any;
1358
+ };
1359
+ topComment: {
1360
+ id: string;
1361
+ user: {
1362
+ id: string;
1363
+ projectId: string;
1364
+ foreignId: string | null;
1365
+ role: import("../..").UserRole;
1366
+ name: string | null;
1367
+ username: string | null;
1368
+ avatar: string | null;
1369
+ bio: string | null;
1370
+ birthdate: Date | null;
1371
+ metadata: {
1372
+ [x: string]: any;
1373
+ };
1374
+ reputation: number;
1375
+ createdAt: Date;
1376
+ location: {
1377
+ type: "Point";
1378
+ coordinates: [number, number];
1379
+ } | null;
1380
+ };
1381
+ upvotesCount: number;
1382
+ content: string;
1383
+ createdAt: string;
1384
+ } | null;
1385
+ createdAt: Date;
1386
+ updatedAt: Date;
1387
+ deletedAt: Date | null;
1388
+ }[];
1389
+ page: number;
1390
+ loading: boolean;
1391
+ hasMore: boolean;
1392
+ error: string | null;
1393
+ lastFetched: number | null;
1394
+ sourceId: string | null;
1395
+ limit: number;
1396
+ sortBy: EntityListSortByOptions;
1397
+ sortDir: SortDirection | null;
1398
+ sortType: SortType;
1399
+ timeFrame: TimeFrame | null;
1400
+ userId: string | null;
1401
+ followedOnly: boolean;
1402
+ keywordsFilters: {
1403
+ includes?: string[] | undefined;
1404
+ doesNotInclude?: string[] | undefined;
1405
+ } | null;
1406
+ titleFilters: {
1407
+ hasTitle?: boolean | undefined;
1408
+ includes?: string | string[] | undefined;
1409
+ doesNotInclude?: string | string[] | undefined;
1410
+ } | null;
1411
+ contentFilters: {
1412
+ hasContent?: boolean | undefined;
1413
+ includes?: string | string[] | undefined;
1414
+ doesNotInclude?: string | string[] | undefined;
1415
+ } | null;
1416
+ attachmentsFilters: {
1417
+ hasAttachments?: boolean | undefined;
1418
+ } | null;
1419
+ locationFilters: {
1420
+ latitude: number;
1421
+ longitude: number;
1422
+ radius: number;
1423
+ } | null;
1424
+ metadataFilters: {
1425
+ includes?: {
1426
+ [x: string]: unknown;
1427
+ } | undefined;
1428
+ includesAny?: {
1429
+ [x: string]: unknown;
1430
+ }[] | undefined;
1431
+ doesNotInclude?: {
1432
+ [x: string]: unknown;
1433
+ } | undefined;
1434
+ exists?: string[] | undefined;
1435
+ doesNotExist?: string[] | undefined;
1436
+ } | null;
1437
+ };
1438
+ };
1439
+ }, action: PayloadAction<KeywordsUpdatePayload>) => void;
1440
+ cleanupList: (state: {
1441
+ lists: {
1442
+ [x: string]: {
1443
+ entities: {
1444
+ id: string;
1445
+ foreignId: string | null;
1446
+ shortId: string;
1447
+ projectId: string;
1448
+ sourceId: string | null;
1449
+ user?: {
1450
+ id: string;
1451
+ projectId: string;
1452
+ foreignId: string | null;
1453
+ role: import("../..").UserRole;
1454
+ name: string | null;
1455
+ username: string | null;
1456
+ avatar: string | null;
1457
+ bio: string | null;
1458
+ birthdate: Date | null;
1459
+ metadata: {
1460
+ [x: string]: any;
1461
+ };
1462
+ reputation: number;
1463
+ createdAt: Date;
1464
+ location: {
1465
+ type: "Point";
1466
+ coordinates: [number, number];
1467
+ } | null;
1468
+ } | null | undefined;
1469
+ title: string | null;
1470
+ content: string | null;
1471
+ mentions: {
1472
+ id: string;
1473
+ foreignId?: string | null | undefined;
1474
+ username: string;
1475
+ }[];
1476
+ attachments: {
1477
+ [x: string]: any;
1478
+ }[];
1479
+ keywords: string[];
1480
+ upvotes: string[];
1481
+ downvotes: string[];
1482
+ repliesCount: number;
1483
+ views: number;
1484
+ score: number;
1485
+ scoreUpdatedAt: Date;
1486
+ location: {
1487
+ type: "Point";
1488
+ coordinates: [number, number];
1489
+ } | null;
1490
+ metadata: {
1491
+ [x: string]: any;
1492
+ };
1493
+ topComment: {
1494
+ id: string;
1495
+ user: {
1496
+ id: string;
1497
+ projectId: string;
1498
+ foreignId: string | null;
1499
+ role: import("../..").UserRole;
1500
+ name: string | null;
1501
+ username: string | null;
1502
+ avatar: string | null;
1503
+ bio: string | null;
1504
+ birthdate: Date | null;
1505
+ metadata: {
1506
+ [x: string]: any;
1507
+ };
1508
+ reputation: number;
1509
+ createdAt: Date;
1510
+ location: {
1511
+ type: "Point";
1512
+ coordinates: [number, number];
1513
+ } | null;
1514
+ };
1515
+ upvotesCount: number;
1516
+ content: string;
1517
+ createdAt: string;
1518
+ } | null;
1519
+ createdAt: Date;
1520
+ updatedAt: Date;
1521
+ deletedAt: Date | null;
1522
+ }[];
1523
+ page: number;
1524
+ loading: boolean;
1525
+ hasMore: boolean;
1526
+ error: string | null;
1527
+ lastFetched: number | null;
1528
+ sourceId: string | null;
1529
+ limit: number;
1530
+ sortBy: EntityListSortByOptions;
1531
+ sortDir: SortDirection | null;
1532
+ sortType: SortType;
1533
+ timeFrame: TimeFrame | null;
1534
+ userId: string | null;
1535
+ followedOnly: boolean;
1536
+ keywordsFilters: {
1537
+ includes?: string[] | undefined;
1538
+ doesNotInclude?: string[] | undefined;
1539
+ } | null;
1540
+ titleFilters: {
1541
+ hasTitle?: boolean | undefined;
1542
+ includes?: string | string[] | undefined;
1543
+ doesNotInclude?: string | string[] | undefined;
1544
+ } | null;
1545
+ contentFilters: {
1546
+ hasContent?: boolean | undefined;
1547
+ includes?: string | string[] | undefined;
1548
+ doesNotInclude?: string | string[] | undefined;
1549
+ } | null;
1550
+ attachmentsFilters: {
1551
+ hasAttachments?: boolean | undefined;
1552
+ } | null;
1553
+ locationFilters: {
1554
+ latitude: number;
1555
+ longitude: number;
1556
+ radius: number;
1557
+ } | null;
1558
+ metadataFilters: {
1559
+ includes?: {
1560
+ [x: string]: unknown;
1561
+ } | undefined;
1562
+ includesAny?: {
1563
+ [x: string]: unknown;
1564
+ }[] | undefined;
1565
+ doesNotInclude?: {
1566
+ [x: string]: unknown;
1567
+ } | undefined;
1568
+ exists?: string[] | undefined;
1569
+ doesNotExist?: string[] | undefined;
1570
+ } | null;
1571
+ };
1572
+ };
1573
+ }, action: PayloadAction<string>) => void;
1574
+ cleanupOldLists: (state: {
1575
+ lists: {
1576
+ [x: string]: {
1577
+ entities: {
1578
+ id: string;
1579
+ foreignId: string | null;
1580
+ shortId: string;
1581
+ projectId: string;
1582
+ sourceId: string | null;
1583
+ user?: {
1584
+ id: string;
1585
+ projectId: string;
1586
+ foreignId: string | null;
1587
+ role: import("../..").UserRole;
1588
+ name: string | null;
1589
+ username: string | null;
1590
+ avatar: string | null;
1591
+ bio: string | null;
1592
+ birthdate: Date | null;
1593
+ metadata: {
1594
+ [x: string]: any;
1595
+ };
1596
+ reputation: number;
1597
+ createdAt: Date;
1598
+ location: {
1599
+ type: "Point";
1600
+ coordinates: [number, number];
1601
+ } | null;
1602
+ } | null | undefined;
1603
+ title: string | null;
1604
+ content: string | null;
1605
+ mentions: {
1606
+ id: string;
1607
+ foreignId?: string | null | undefined;
1608
+ username: string;
1609
+ }[];
1610
+ attachments: {
1611
+ [x: string]: any;
1612
+ }[];
1613
+ keywords: string[];
1614
+ upvotes: string[];
1615
+ downvotes: string[];
1616
+ repliesCount: number;
1617
+ views: number;
1618
+ score: number;
1619
+ scoreUpdatedAt: Date;
1620
+ location: {
1621
+ type: "Point";
1622
+ coordinates: [number, number];
1623
+ } | null;
1624
+ metadata: {
1625
+ [x: string]: any;
1626
+ };
1627
+ topComment: {
1628
+ id: string;
1629
+ user: {
1630
+ id: string;
1631
+ projectId: string;
1632
+ foreignId: string | null;
1633
+ role: import("../..").UserRole;
1634
+ name: string | null;
1635
+ username: string | null;
1636
+ avatar: string | null;
1637
+ bio: string | null;
1638
+ birthdate: Date | null;
1639
+ metadata: {
1640
+ [x: string]: any;
1641
+ };
1642
+ reputation: number;
1643
+ createdAt: Date;
1644
+ location: {
1645
+ type: "Point";
1646
+ coordinates: [number, number];
1647
+ } | null;
1648
+ };
1649
+ upvotesCount: number;
1650
+ content: string;
1651
+ createdAt: string;
1652
+ } | null;
1653
+ createdAt: Date;
1654
+ updatedAt: Date;
1655
+ deletedAt: Date | null;
1656
+ }[];
1657
+ page: number;
1658
+ loading: boolean;
1659
+ hasMore: boolean;
1660
+ error: string | null;
1661
+ lastFetched: number | null;
1662
+ sourceId: string | null;
1663
+ limit: number;
1664
+ sortBy: EntityListSortByOptions;
1665
+ sortDir: SortDirection | null;
1666
+ sortType: SortType;
1667
+ timeFrame: TimeFrame | null;
1668
+ userId: string | null;
1669
+ followedOnly: boolean;
1670
+ keywordsFilters: {
1671
+ includes?: string[] | undefined;
1672
+ doesNotInclude?: string[] | undefined;
1673
+ } | null;
1674
+ titleFilters: {
1675
+ hasTitle?: boolean | undefined;
1676
+ includes?: string | string[] | undefined;
1677
+ doesNotInclude?: string | string[] | undefined;
1678
+ } | null;
1679
+ contentFilters: {
1680
+ hasContent?: boolean | undefined;
1681
+ includes?: string | string[] | undefined;
1682
+ doesNotInclude?: string | string[] | undefined;
1683
+ } | null;
1684
+ attachmentsFilters: {
1685
+ hasAttachments?: boolean | undefined;
1686
+ } | null;
1687
+ locationFilters: {
1688
+ latitude: number;
1689
+ longitude: number;
1690
+ radius: number;
1691
+ } | null;
1692
+ metadataFilters: {
1693
+ includes?: {
1694
+ [x: string]: unknown;
1695
+ } | undefined;
1696
+ includesAny?: {
1697
+ [x: string]: unknown;
1698
+ }[] | undefined;
1699
+ doesNotInclude?: {
1700
+ [x: string]: unknown;
1701
+ } | undefined;
1702
+ exists?: string[] | undefined;
1703
+ doesNotExist?: string[] | undefined;
1704
+ } | null;
1705
+ };
1706
+ };
1707
+ }, action: PayloadAction<number>) => void;
112
1708
  }, "entityLists", "entityLists", import("@reduxjs/toolkit").SliceSelectors<EntityListsState>>;
113
1709
  export declare const initializeList: import("@reduxjs/toolkit").ActionCreatorWithPayload<InitializeListPayload, "entityLists/initializeList">, updateFiltersAndSort: import("@reduxjs/toolkit").ActionCreatorWithPayload<FilterUpdatePayload, "entityLists/updateFiltersAndSort">, setEntityListLoading: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
114
1710
  listId: string;