@replyke/core 5.1.6-beta.29 → 5.1.6-beta.30

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 (405) hide show
  1. package/dist/esm/hooks/users/follows/index.d.ts +1 -0
  2. package/dist/esm/hooks/users/follows/index.js +1 -0
  3. package/dist/esm/hooks/users/follows/index.js.map +1 -1
  4. package/dist/esm/hooks/users/follows/useFollowManager.d.ts +9 -0
  5. package/dist/{cjs/hooks/comments/useReplies.js → esm/hooks/users/follows/useFollowManager.js} +64 -56
  6. package/dist/esm/hooks/users/follows/useFollowManager.js.map +1 -0
  7. package/dist/esm/hooks/users/index.d.ts +1 -1
  8. package/dist/esm/hooks/users/index.js +1 -1
  9. package/dist/esm/hooks/users/index.js.map +1 -1
  10. package/dist/esm/index.d.ts +1 -1
  11. package/dist/esm/index.js +1 -1
  12. package/dist/esm/index.js.map +1 -1
  13. package/package.json +1 -1
  14. package/dist/cjs/config/axios.d.ts +0 -3
  15. package/dist/cjs/config/axios.js +0 -17
  16. package/dist/cjs/config/axios.js.map +0 -1
  17. package/dist/cjs/config/useAxiosPrivate.d.ts +0 -2
  18. package/dist/cjs/config/useAxiosPrivate.js +0 -82
  19. package/dist/cjs/config/useAxiosPrivate.js.map +0 -1
  20. package/dist/cjs/constants/reportReasons.d.ts +0 -12
  21. package/dist/cjs/constants/reportReasons.js +0 -15
  22. package/dist/cjs/constants/reportReasons.js.map +0 -1
  23. package/dist/cjs/context/comment-section-context.d.ts +0 -9
  24. package/dist/cjs/context/comment-section-context.js +0 -28
  25. package/dist/cjs/context/comment-section-context.js.map +0 -1
  26. package/dist/cjs/context/entity-context.d.ts +0 -9
  27. package/dist/cjs/context/entity-context.js +0 -38
  28. package/dist/cjs/context/entity-context.js.map +0 -1
  29. package/dist/cjs/context/index.d.ts +0 -4
  30. package/dist/cjs/context/index.js +0 -12
  31. package/dist/cjs/context/index.js.map +0 -1
  32. package/dist/cjs/context/replyke-context.d.ts +0 -10
  33. package/dist/cjs/context/replyke-context.js +0 -23
  34. package/dist/cjs/context/replyke-context.js.map +0 -1
  35. package/dist/cjs/context/replyke-store-context.d.ts +0 -13
  36. package/dist/cjs/context/replyke-store-context.js +0 -37
  37. package/dist/cjs/context/replyke-store-context.js.map +0 -1
  38. package/dist/cjs/helpers/addCommentsToTree.d.ts +0 -3
  39. package/dist/cjs/helpers/addCommentsToTree.js +0 -61
  40. package/dist/cjs/helpers/addCommentsToTree.js.map +0 -1
  41. package/dist/cjs/helpers/addNotificationsMessages.d.ts +0 -3
  42. package/dist/cjs/helpers/addNotificationsMessages.js +0 -91
  43. package/dist/cjs/helpers/addNotificationsMessages.js.map +0 -1
  44. package/dist/cjs/helpers/getPublicFileUrl.d.ts +0 -2
  45. package/dist/cjs/helpers/getPublicFileUrl.js +0 -10
  46. package/dist/cjs/helpers/getPublicFileUrl.js.map +0 -1
  47. package/dist/cjs/helpers/getUserName.d.ts +0 -2
  48. package/dist/cjs/helpers/getUserName.js +0 -23
  49. package/dist/cjs/helpers/getUserName.js.map +0 -1
  50. package/dist/cjs/helpers/markCommentAsFailed.d.ts +0 -2
  51. package/dist/cjs/helpers/markCommentAsFailed.js +0 -29
  52. package/dist/cjs/helpers/markCommentAsFailed.js.map +0 -1
  53. package/dist/cjs/helpers/removeCommentFromTree.d.ts +0 -2
  54. package/dist/cjs/helpers/removeCommentFromTree.js +0 -44
  55. package/dist/cjs/helpers/removeCommentFromTree.js.map +0 -1
  56. package/dist/cjs/helpers/safeMergeStyleProps.d.ts +0 -1
  57. package/dist/cjs/helpers/safeMergeStyleProps.js +0 -23
  58. package/dist/cjs/helpers/safeMergeStyleProps.js.map +0 -1
  59. package/dist/cjs/hooks/app-notifications/index.d.ts +0 -3
  60. package/dist/cjs/hooks/app-notifications/index.js +0 -12
  61. package/dist/cjs/hooks/app-notifications/index.js.map +0 -1
  62. package/dist/cjs/hooks/app-notifications/useAppNotifications.d.ts +0 -21
  63. package/dist/cjs/hooks/app-notifications/useAppNotifications.js +0 -108
  64. package/dist/cjs/hooks/app-notifications/useAppNotifications.js.map +0 -1
  65. package/dist/cjs/hooks/app-notifications/useAppNotificationsActions.d.ts +0 -13
  66. package/dist/cjs/hooks/app-notifications/useAppNotificationsActions.js +0 -266
  67. package/dist/cjs/hooks/app-notifications/useAppNotificationsActions.js.map +0 -1
  68. package/dist/cjs/hooks/auth/index.d.ts +0 -1
  69. package/dist/cjs/hooks/auth/index.js +0 -9
  70. package/dist/cjs/hooks/auth/index.js.map +0 -1
  71. package/dist/cjs/hooks/auth/useAuth.d.ts +0 -32
  72. package/dist/cjs/hooks/auth/useAuth.js +0 -180
  73. package/dist/cjs/hooks/auth/useAuth.js.map +0 -1
  74. package/dist/cjs/hooks/comments/index.d.ts +0 -12
  75. package/dist/cjs/hooks/comments/index.js +0 -31
  76. package/dist/cjs/hooks/comments/index.js.map +0 -1
  77. package/dist/cjs/hooks/comments/useCommentSection.d.ts +0 -2
  78. package/dist/cjs/hooks/comments/useCommentSection.js +0 -9
  79. package/dist/cjs/hooks/comments/useCommentSection.js.map +0 -1
  80. package/dist/cjs/hooks/comments/useCommentSectionData.d.ts +0 -60
  81. package/dist/cjs/hooks/comments/useCommentSectionData.js +0 -407
  82. package/dist/cjs/hooks/comments/useCommentSectionData.js.map +0 -1
  83. package/dist/cjs/hooks/comments/useCommentVotes.d.ts +0 -11
  84. package/dist/cjs/hooks/comments/useCommentVotes.js +0 -234
  85. package/dist/cjs/hooks/comments/useCommentVotes.js.map +0 -1
  86. package/dist/cjs/hooks/comments/useCreateComment.d.ts +0 -14
  87. package/dist/cjs/hooks/comments/useCreateComment.js +0 -90
  88. package/dist/cjs/hooks/comments/useCreateComment.js.map +0 -1
  89. package/dist/cjs/hooks/comments/useDeleteComment.d.ts +0 -4
  90. package/dist/cjs/hooks/comments/useDeleteComment.js +0 -70
  91. package/dist/cjs/hooks/comments/useDeleteComment.js.map +0 -1
  92. package/dist/cjs/hooks/comments/useDownvoteComment.d.ts +0 -5
  93. package/dist/cjs/hooks/comments/useDownvoteComment.js +0 -71
  94. package/dist/cjs/hooks/comments/useDownvoteComment.js.map +0 -1
  95. package/dist/cjs/hooks/comments/useEntityComments.d.ts +0 -22
  96. package/dist/cjs/hooks/comments/useEntityComments.js +0 -196
  97. package/dist/cjs/hooks/comments/useEntityComments.js.map +0 -1
  98. package/dist/cjs/hooks/comments/useFetchComment.d.ts +0 -9
  99. package/dist/cjs/hooks/comments/useFetchComment.js +0 -74
  100. package/dist/cjs/hooks/comments/useFetchComment.js.map +0 -1
  101. package/dist/cjs/hooks/comments/useFetchCommentByForeignId.d.ts +0 -9
  102. package/dist/cjs/hooks/comments/useFetchCommentByForeignId.js +0 -75
  103. package/dist/cjs/hooks/comments/useFetchCommentByForeignId.js.map +0 -1
  104. package/dist/cjs/hooks/comments/useFetchManyComments.d.ts +0 -12
  105. package/dist/cjs/hooks/comments/useFetchManyComments.js +0 -88
  106. package/dist/cjs/hooks/comments/useFetchManyComments.js.map +0 -1
  107. package/dist/cjs/hooks/comments/useGroupReplies.d.ts +0 -8
  108. package/dist/cjs/hooks/comments/useGroupReplies.js +0 -24
  109. package/dist/cjs/hooks/comments/useGroupReplies.js.map +0 -1
  110. package/dist/cjs/hooks/comments/useProfileComments.d.ts +0 -18
  111. package/dist/cjs/hooks/comments/useProfileComments.js +0 -179
  112. package/dist/cjs/hooks/comments/useProfileComments.js.map +0 -1
  113. package/dist/cjs/hooks/comments/useRemoveCommentDownvote.d.ts +0 -5
  114. package/dist/cjs/hooks/comments/useRemoveCommentDownvote.js +0 -71
  115. package/dist/cjs/hooks/comments/useRemoveCommentDownvote.js.map +0 -1
  116. package/dist/cjs/hooks/comments/useRemoveCommentUpvote.d.ts +0 -5
  117. package/dist/cjs/hooks/comments/useRemoveCommentUpvote.js +0 -71
  118. package/dist/cjs/hooks/comments/useRemoveCommentUpvote.js.map +0 -1
  119. package/dist/cjs/hooks/comments/useReplies.d.ts +0 -13
  120. package/dist/cjs/hooks/comments/useReplies.js.map +0 -1
  121. package/dist/cjs/hooks/comments/useUpdateComment.d.ts +0 -6
  122. package/dist/cjs/hooks/comments/useUpdateComment.js +0 -73
  123. package/dist/cjs/hooks/comments/useUpdateComment.js.map +0 -1
  124. package/dist/cjs/hooks/comments/useUpvoteComment.d.ts +0 -5
  125. package/dist/cjs/hooks/comments/useUpvoteComment.js +0 -71
  126. package/dist/cjs/hooks/comments/useUpvoteComment.js.map +0 -1
  127. package/dist/cjs/hooks/crypto/index.d.ts +0 -1
  128. package/dist/cjs/hooks/crypto/index.js +0 -9
  129. package/dist/cjs/hooks/crypto/index.js.map +0 -1
  130. package/dist/cjs/hooks/crypto/useSignTestingJwt.d.ts +0 -6
  131. package/dist/cjs/hooks/crypto/useSignTestingJwt.js +0 -74
  132. package/dist/cjs/hooks/crypto/useSignTestingJwt.js.map +0 -1
  133. package/dist/cjs/hooks/entities/index.d.ts +0 -10
  134. package/dist/cjs/hooks/entities/index.js +0 -27
  135. package/dist/cjs/hooks/entities/index.js.map +0 -1
  136. package/dist/cjs/hooks/entities/useCreateEntity.d.ts +0 -18
  137. package/dist/cjs/hooks/entities/useCreateEntity.js +0 -79
  138. package/dist/cjs/hooks/entities/useCreateEntity.js.map +0 -1
  139. package/dist/cjs/hooks/entities/useDeleteEntity.d.ts +0 -4
  140. package/dist/cjs/hooks/entities/useDeleteEntity.js +0 -72
  141. package/dist/cjs/hooks/entities/useDeleteEntity.js.map +0 -1
  142. package/dist/cjs/hooks/entities/useDownvoteEntity.d.ts +0 -5
  143. package/dist/cjs/hooks/entities/useDownvoteEntity.js +0 -71
  144. package/dist/cjs/hooks/entities/useDownvoteEntity.js.map +0 -1
  145. package/dist/cjs/hooks/entities/useEntity.d.ts +0 -2
  146. package/dist/cjs/hooks/entities/useEntity.js +0 -9
  147. package/dist/cjs/hooks/entities/useEntity.js.map +0 -1
  148. package/dist/cjs/hooks/entities/useEntityData.d.ts +0 -24
  149. package/dist/cjs/hooks/entities/useEntityData.js +0 -246
  150. package/dist/cjs/hooks/entities/useEntityData.js.map +0 -1
  151. package/dist/cjs/hooks/entities/useEntityVotes.d.ts +0 -11
  152. package/dist/cjs/hooks/entities/useEntityVotes.js +0 -241
  153. package/dist/cjs/hooks/entities/useEntityVotes.js.map +0 -1
  154. package/dist/cjs/hooks/entities/useFetchEntity.d.ts +0 -5
  155. package/dist/cjs/hooks/entities/useFetchEntity.js +0 -70
  156. package/dist/cjs/hooks/entities/useFetchEntity.js.map +0 -1
  157. package/dist/cjs/hooks/entities/useFetchEntityByForeignId.d.ts +0 -6
  158. package/dist/cjs/hooks/entities/useFetchEntityByForeignId.js +0 -75
  159. package/dist/cjs/hooks/entities/useFetchEntityByForeignId.js.map +0 -1
  160. package/dist/cjs/hooks/entities/useFetchEntityByShortId.d.ts +0 -5
  161. package/dist/cjs/hooks/entities/useFetchEntityByShortId.js +0 -74
  162. package/dist/cjs/hooks/entities/useFetchEntityByShortId.js.map +0 -1
  163. package/dist/cjs/hooks/entities/useIncrementEntityViews.d.ts +0 -5
  164. package/dist/cjs/hooks/entities/useIncrementEntityViews.js +0 -73
  165. package/dist/cjs/hooks/entities/useIncrementEntityViews.js.map +0 -1
  166. package/dist/cjs/hooks/entities/useRemoveEntityDownvote.d.ts +0 -5
  167. package/dist/cjs/hooks/entities/useRemoveEntityDownvote.js +0 -71
  168. package/dist/cjs/hooks/entities/useRemoveEntityDownvote.js.map +0 -1
  169. package/dist/cjs/hooks/entities/useRemoveEntityUpvote.d.ts +0 -5
  170. package/dist/cjs/hooks/entities/useRemoveEntityUpvote.js +0 -71
  171. package/dist/cjs/hooks/entities/useRemoveEntityUpvote.js.map +0 -1
  172. package/dist/cjs/hooks/entities/useUpdateEntity.d.ts +0 -19
  173. package/dist/cjs/hooks/entities/useUpdateEntity.js +0 -77
  174. package/dist/cjs/hooks/entities/useUpdateEntity.js.map +0 -1
  175. package/dist/cjs/hooks/entities/useUpvoteEntity.d.ts +0 -5
  176. package/dist/cjs/hooks/entities/useUpvoteEntity.js +0 -71
  177. package/dist/cjs/hooks/entities/useUpvoteEntity.js.map +0 -1
  178. package/dist/cjs/hooks/entity-lists/index.d.ts +0 -4
  179. package/dist/cjs/hooks/entity-lists/index.js +0 -11
  180. package/dist/cjs/hooks/entity-lists/index.js.map +0 -1
  181. package/dist/cjs/hooks/entity-lists/useEntityList.d.ts +0 -53
  182. package/dist/cjs/hooks/entity-lists/useEntityList.js +0 -358
  183. package/dist/cjs/hooks/entity-lists/useEntityList.js.map +0 -1
  184. package/dist/cjs/hooks/entity-lists/useEntityListActions.d.ts +0 -51
  185. package/dist/cjs/hooks/entity-lists/useEntityListActions.js +0 -196
  186. package/dist/cjs/hooks/entity-lists/useEntityListActions.js.map +0 -1
  187. package/dist/cjs/hooks/entity-lists/useInfusedData.d.ts +0 -8
  188. package/dist/cjs/hooks/entity-lists/useInfusedData.js +0 -130
  189. package/dist/cjs/hooks/entity-lists/useInfusedData.js.map +0 -1
  190. package/dist/cjs/hooks/lists/index.d.ts +0 -3
  191. package/dist/cjs/hooks/lists/index.js +0 -14
  192. package/dist/cjs/hooks/lists/index.js.map +0 -1
  193. package/dist/cjs/hooks/lists/useIsEntitySaved.d.ts +0 -5
  194. package/dist/cjs/hooks/lists/useIsEntitySaved.js +0 -83
  195. package/dist/cjs/hooks/lists/useIsEntitySaved.js.map +0 -1
  196. package/dist/cjs/hooks/lists/useLists.d.ts +0 -36
  197. package/dist/cjs/hooks/lists/useLists.js +0 -239
  198. package/dist/cjs/hooks/lists/useLists.js.map +0 -1
  199. package/dist/cjs/hooks/lists/useListsActions.d.ts +0 -21
  200. package/dist/cjs/hooks/lists/useListsActions.js +0 -341
  201. package/dist/cjs/hooks/lists/useListsActions.js.map +0 -1
  202. package/dist/cjs/hooks/projects/index.d.ts +0 -2
  203. package/dist/cjs/hooks/projects/index.js +0 -11
  204. package/dist/cjs/hooks/projects/index.js.map +0 -1
  205. package/dist/cjs/hooks/projects/useProject.d.ts +0 -2
  206. package/dist/cjs/hooks/projects/useProject.js +0 -9
  207. package/dist/cjs/hooks/projects/useProject.js.map +0 -1
  208. package/dist/cjs/hooks/projects/useProjectData.d.ts +0 -10
  209. package/dist/cjs/hooks/projects/useProjectData.js +0 -78
  210. package/dist/cjs/hooks/projects/useProjectData.js.map +0 -1
  211. package/dist/cjs/hooks/reports/index.d.ts +0 -1
  212. package/dist/cjs/hooks/reports/index.js +0 -9
  213. package/dist/cjs/hooks/reports/index.js.map +0 -1
  214. package/dist/cjs/hooks/reports/useCreateReport.d.ts +0 -14
  215. package/dist/cjs/hooks/reports/useCreateReport.js +0 -108
  216. package/dist/cjs/hooks/reports/useCreateReport.js.map +0 -1
  217. package/dist/cjs/hooks/storage/index.d.ts +0 -1
  218. package/dist/cjs/hooks/storage/index.js +0 -9
  219. package/dist/cjs/hooks/storage/index.js.map +0 -1
  220. package/dist/cjs/hooks/storage/useUploadFile.d.ts +0 -14
  221. package/dist/cjs/hooks/storage/useUploadFile.js +0 -95
  222. package/dist/cjs/hooks/storage/useUploadFile.js.map +0 -1
  223. package/dist/cjs/hooks/user/index.d.ts +0 -2
  224. package/dist/cjs/hooks/user/index.js +0 -12
  225. package/dist/cjs/hooks/user/index.js.map +0 -1
  226. package/dist/cjs/hooks/user/useUser.d.ts +0 -18
  227. package/dist/cjs/hooks/user/useUser.js +0 -116
  228. package/dist/cjs/hooks/user/useUser.js.map +0 -1
  229. package/dist/cjs/hooks/user/useUserActions.d.ts +0 -12
  230. package/dist/cjs/hooks/user/useUserActions.js +0 -125
  231. package/dist/cjs/hooks/user/useUserActions.js.map +0 -1
  232. package/dist/cjs/hooks/users/follows/index.d.ts +0 -3
  233. package/dist/cjs/hooks/users/follows/index.js +0 -13
  234. package/dist/cjs/hooks/users/follows/index.js.map +0 -1
  235. package/dist/cjs/hooks/users/follows/useFetchFollow.d.ts +0 -6
  236. package/dist/cjs/hooks/users/follows/useFetchFollow.js +0 -81
  237. package/dist/cjs/hooks/users/follows/useFetchFollow.js.map +0 -1
  238. package/dist/cjs/hooks/users/follows/useFollowUser.d.ts +0 -4
  239. package/dist/cjs/hooks/users/follows/useFollowUser.js +0 -71
  240. package/dist/cjs/hooks/users/follows/useFollowUser.js.map +0 -1
  241. package/dist/cjs/hooks/users/follows/useUnfollowUser.d.ts +0 -4
  242. package/dist/cjs/hooks/users/follows/useUnfollowUser.js +0 -81
  243. package/dist/cjs/hooks/users/follows/useUnfollowUser.js.map +0 -1
  244. package/dist/cjs/hooks/users/index.d.ts +0 -9
  245. package/dist/cjs/hooks/users/index.js +0 -27
  246. package/dist/cjs/hooks/users/index.js.map +0 -1
  247. package/dist/cjs/hooks/users/useCheckUsernameAvailability.d.ts +0 -6
  248. package/dist/cjs/hooks/users/useCheckUsernameAvailability.js +0 -72
  249. package/dist/cjs/hooks/users/useCheckUsernameAvailability.js.map +0 -1
  250. package/dist/cjs/hooks/users/useFetchUser.d.ts +0 -5
  251. package/dist/cjs/hooks/users/useFetchUser.js +0 -70
  252. package/dist/cjs/hooks/users/useFetchUser.js.map +0 -1
  253. package/dist/cjs/hooks/users/useFetchUserByForeignId.d.ts +0 -5
  254. package/dist/cjs/hooks/users/useFetchUserByForeignId.js +0 -72
  255. package/dist/cjs/hooks/users/useFetchUserByForeignId.js.map +0 -1
  256. package/dist/cjs/hooks/users/useFetchUserFollowersCount.d.ts +0 -6
  257. package/dist/cjs/hooks/users/useFetchUserFollowersCount.js +0 -71
  258. package/dist/cjs/hooks/users/useFetchUserFollowersCount.js.map +0 -1
  259. package/dist/cjs/hooks/users/useFetchUserFollowingCount.d.ts +0 -6
  260. package/dist/cjs/hooks/users/useFetchUserFollowingCount.js +0 -71
  261. package/dist/cjs/hooks/users/useFetchUserFollowingCount.js.map +0 -1
  262. package/dist/cjs/hooks/users/useFetchUserSuggestions.d.ts +0 -5
  263. package/dist/cjs/hooks/users/useFetchUserSuggestions.js +0 -72
  264. package/dist/cjs/hooks/users/useFetchUserSuggestions.js.map +0 -1
  265. package/dist/cjs/hooks/users/useMentions.d.ts +0 -18
  266. package/dist/cjs/hooks/users/useMentions.js +0 -185
  267. package/dist/cjs/hooks/users/useMentions.js.map +0 -1
  268. package/dist/cjs/hooks/users/useUpdateUser.d.ts +0 -19
  269. package/dist/cjs/hooks/users/useUpdateUser.js +0 -73
  270. package/dist/cjs/hooks/users/useUpdateUser.js.map +0 -1
  271. package/dist/cjs/hooks/utils/index.d.ts +0 -1
  272. package/dist/cjs/hooks/utils/index.js +0 -9
  273. package/dist/cjs/hooks/utils/index.js.map +0 -1
  274. package/dist/cjs/hooks/utils/useGetMetadata.d.ts +0 -4
  275. package/dist/cjs/hooks/utils/useGetMetadata.js +0 -79
  276. package/dist/cjs/hooks/utils/useGetMetadata.js.map +0 -1
  277. package/dist/cjs/index.d.ts +0 -32
  278. package/dist/cjs/index.js +0 -141
  279. package/dist/cjs/index.js.map +0 -1
  280. package/dist/cjs/interfaces/CommentsSortByOptions.d.ts +0 -1
  281. package/dist/cjs/interfaces/CommentsSortByOptions.js +0 -3
  282. package/dist/cjs/interfaces/CommentsSortByOptions.js.map +0 -1
  283. package/dist/cjs/interfaces/EntityCommentsTree.d.ts +0 -13
  284. package/dist/cjs/interfaces/EntityCommentsTree.js +0 -3
  285. package/dist/cjs/interfaces/EntityCommentsTree.js.map +0 -1
  286. package/dist/cjs/interfaces/EntityListSortByOptions.d.ts +0 -1
  287. package/dist/cjs/interfaces/EntityListSortByOptions.js +0 -3
  288. package/dist/cjs/interfaces/EntityListSortByOptions.js.map +0 -1
  289. package/dist/cjs/interfaces/TimeFrame.d.ts +0 -1
  290. package/dist/cjs/interfaces/TimeFrame.js +0 -3
  291. package/dist/cjs/interfaces/TimeFrame.js.map +0 -1
  292. package/dist/cjs/interfaces/entity-filters/AttachmentsFilters.d.ts +0 -3
  293. package/dist/cjs/interfaces/entity-filters/AttachmentsFilters.js +0 -3
  294. package/dist/cjs/interfaces/entity-filters/AttachmentsFilters.js.map +0 -1
  295. package/dist/cjs/interfaces/entity-filters/ContentFilters.d.ts +0 -5
  296. package/dist/cjs/interfaces/entity-filters/ContentFilters.js +0 -3
  297. package/dist/cjs/interfaces/entity-filters/ContentFilters.js.map +0 -1
  298. package/dist/cjs/interfaces/entity-filters/KeywordsFilters.d.ts +0 -4
  299. package/dist/cjs/interfaces/entity-filters/KeywordsFilters.js +0 -3
  300. package/dist/cjs/interfaces/entity-filters/KeywordsFilters.js.map +0 -1
  301. package/dist/cjs/interfaces/entity-filters/LocationFilters.d.ts +0 -5
  302. package/dist/cjs/interfaces/entity-filters/LocationFilters.js +0 -3
  303. package/dist/cjs/interfaces/entity-filters/LocationFilters.js.map +0 -1
  304. package/dist/cjs/interfaces/entity-filters/MetadataFilters.d.ts +0 -7
  305. package/dist/cjs/interfaces/entity-filters/MetadataFilters.js +0 -3
  306. package/dist/cjs/interfaces/entity-filters/MetadataFilters.js.map +0 -1
  307. package/dist/cjs/interfaces/entity-filters/TitleFilters.d.ts +0 -5
  308. package/dist/cjs/interfaces/entity-filters/TitleFilters.js +0 -3
  309. package/dist/cjs/interfaces/entity-filters/TitleFilters.js.map +0 -1
  310. package/dist/cjs/interfaces/models/AppNotification.d.ts +0 -140
  311. package/dist/cjs/interfaces/models/AppNotification.js +0 -3
  312. package/dist/cjs/interfaces/models/AppNotification.js.map +0 -1
  313. package/dist/cjs/interfaces/models/Comment.d.ts +0 -32
  314. package/dist/cjs/interfaces/models/Comment.js +0 -3
  315. package/dist/cjs/interfaces/models/Comment.js.map +0 -1
  316. package/dist/cjs/interfaces/models/Entity.d.ts +0 -37
  317. package/dist/cjs/interfaces/models/Entity.js +0 -3
  318. package/dist/cjs/interfaces/models/Entity.js.map +0 -1
  319. package/dist/cjs/interfaces/models/Follow.d.ts +0 -5
  320. package/dist/cjs/interfaces/models/Follow.js +0 -3
  321. package/dist/cjs/interfaces/models/Follow.js.map +0 -1
  322. package/dist/cjs/interfaces/models/List.d.ts +0 -12
  323. package/dist/cjs/interfaces/models/List.js +0 -3
  324. package/dist/cjs/interfaces/models/List.js.map +0 -1
  325. package/dist/cjs/interfaces/models/Mention.d.ts +0 -4
  326. package/dist/cjs/interfaces/models/Mention.js +0 -3
  327. package/dist/cjs/interfaces/models/Mention.js.map +0 -1
  328. package/dist/cjs/interfaces/models/Project.d.ts +0 -14
  329. package/dist/cjs/interfaces/models/Project.js +0 -3
  330. package/dist/cjs/interfaces/models/Project.js.map +0 -1
  331. package/dist/cjs/interfaces/models/User.d.ts +0 -33
  332. package/dist/cjs/interfaces/models/User.js +0 -3
  333. package/dist/cjs/interfaces/models/User.js.map +0 -1
  334. package/dist/cjs/store/api/appNotificationsApi.d.ts +0 -2024
  335. package/dist/cjs/store/api/appNotificationsApi.js +0 -224
  336. package/dist/cjs/store/api/appNotificationsApi.js.map +0 -1
  337. package/dist/cjs/store/api/baseApi.d.ts +0 -1
  338. package/dist/cjs/store/api/baseApi.js +0 -43
  339. package/dist/cjs/store/api/baseApi.js.map +0 -1
  340. package/dist/cjs/store/api/entityListsApi.d.ts +0 -1719
  341. package/dist/cjs/store/api/entityListsApi.js +0 -237
  342. package/dist/cjs/store/api/entityListsApi.js.map +0 -1
  343. package/dist/cjs/store/api/index.d.ts +0 -4
  344. package/dist/cjs/store/api/index.js +0 -29
  345. package/dist/cjs/store/api/index.js.map +0 -1
  346. package/dist/cjs/store/api/listsApi.d.ts +0 -3044
  347. package/dist/cjs/store/api/listsApi.js +0 -288
  348. package/dist/cjs/store/api/listsApi.js.map +0 -1
  349. package/dist/cjs/store/api/userApi.d.ts +0 -183
  350. package/dist/cjs/store/api/userApi.js +0 -38
  351. package/dist/cjs/store/api/userApi.js.map +0 -1
  352. package/dist/cjs/store/index.d.ts +0 -21
  353. package/dist/cjs/store/index.js +0 -73
  354. package/dist/cjs/store/index.js.map +0 -1
  355. package/dist/cjs/store/middleware.d.ts +0 -4
  356. package/dist/cjs/store/middleware.js +0 -43
  357. package/dist/cjs/store/middleware.js.map +0 -1
  358. package/dist/cjs/store/rootReducer.d.ts +0 -16
  359. package/dist/cjs/store/rootReducer.js +0 -26
  360. package/dist/cjs/store/rootReducer.js.map +0 -1
  361. package/dist/cjs/store/slices/appNotificationsSlice.d.ts +0 -58
  362. package/dist/cjs/store/slices/appNotificationsSlice.js +0 -135
  363. package/dist/cjs/store/slices/appNotificationsSlice.js.map +0 -1
  364. package/dist/cjs/store/slices/authSlice.d.ts +0 -24
  365. package/dist/cjs/store/slices/authSlice.js +0 -79
  366. package/dist/cjs/store/slices/authSlice.js.map +0 -1
  367. package/dist/cjs/store/slices/authThunks.d.ts +0 -40
  368. package/dist/cjs/store/slices/authThunks.js +0 -363
  369. package/dist/cjs/store/slices/authThunks.js.map +0 -1
  370. package/dist/cjs/store/slices/entityListsSlice.d.ts +0 -364
  371. package/dist/cjs/store/slices/entityListsSlice.js +0 -295
  372. package/dist/cjs/store/slices/entityListsSlice.js.map +0 -1
  373. package/dist/cjs/store/slices/index.d.ts +0 -0
  374. package/dist/cjs/store/slices/index.js +0 -7
  375. package/dist/cjs/store/slices/index.js.map +0 -1
  376. package/dist/cjs/store/slices/listsSlice.d.ts +0 -147
  377. package/dist/cjs/store/slices/listsSlice.js +0 -211
  378. package/dist/cjs/store/slices/listsSlice.js.map +0 -1
  379. package/dist/cjs/store/slices/userSlice.d.ts +0 -29
  380. package/dist/cjs/store/slices/userSlice.js +0 -87
  381. package/dist/cjs/store/slices/userSlice.js.map +0 -1
  382. package/dist/cjs/store/types/index.d.ts +0 -8
  383. package/dist/cjs/store/types/index.js +0 -3
  384. package/dist/cjs/store/types/index.js.map +0 -1
  385. package/dist/cjs/utils/constants.d.ts +0 -1
  386. package/dist/cjs/utils/constants.js +0 -5
  387. package/dist/cjs/utils/constants.js.map +0 -1
  388. package/dist/cjs/utils/env.d.ts +0 -19
  389. package/dist/cjs/utils/env.js +0 -102
  390. package/dist/cjs/utils/env.js.map +0 -1
  391. package/dist/cjs/utils/handleError.d.ts +0 -1
  392. package/dist/cjs/utils/handleError.js +0 -24
  393. package/dist/cjs/utils/handleError.js.map +0 -1
  394. package/dist/cjs/utils/isAbsoluteUrl.d.ts +0 -1
  395. package/dist/cjs/utils/isAbsoluteUrl.js +0 -9
  396. package/dist/cjs/utils/isAbsoluteUrl.js.map +0 -1
  397. package/dist/cjs/utils/isReactNative.d.ts +0 -1
  398. package/dist/cjs/utils/isReactNative.js +0 -8
  399. package/dist/cjs/utils/isReactNative.js.map +0 -1
  400. package/dist/cjs/utils/isUUID.d.ts +0 -1
  401. package/dist/cjs/utils/isUUID.js +0 -8
  402. package/dist/cjs/utils/isUUID.js.map +0 -1
  403. package/dist/cjs/utils/keywordHelpers.d.ts +0 -30
  404. package/dist/cjs/utils/keywordHelpers.js +0 -101
  405. package/dist/cjs/utils/keywordHelpers.js.map +0 -1
@@ -1,140 +0,0 @@
1
- type AppNotificationType = "system" | "entity-comment" | "comment-reply" | "entity-mention" | "comment-mention" | "entity-upvote" | "comment-upvote" | "new-follow";
2
- interface BaseAppNotification {
3
- id: string;
4
- userId: string;
5
- type: AppNotificationType;
6
- isRead: boolean;
7
- metadata: Record<string, any>;
8
- title?: string;
9
- content?: string;
10
- createdAt: string;
11
- }
12
- export interface SystemNotification extends BaseAppNotification {
13
- type: "system";
14
- action: string;
15
- metadata: {
16
- buttonData: {
17
- text: string;
18
- url: string;
19
- } | null;
20
- };
21
- }
22
- export interface EntityCommentNotification extends BaseAppNotification {
23
- type: "entity-comment";
24
- action: "open-comment";
25
- metadata: {
26
- entityId: string;
27
- entityShortId: string;
28
- entityTitle: string | null | undefined;
29
- entityContent: string | null | undefined;
30
- commentId: string;
31
- commentContent: string | null | undefined;
32
- initiatorId: string;
33
- initiatorName: string | null | undefined;
34
- initiatorUsername: string | null | undefined;
35
- initiatorAvatar: string | null | undefined;
36
- };
37
- }
38
- export interface CommentReplyNotification extends BaseAppNotification {
39
- type: "comment-reply";
40
- action: "open-comment";
41
- metadata: {
42
- entityId: string;
43
- entityShortId: string;
44
- entityTitle: string | null | undefined;
45
- entityContent: string | null | undefined;
46
- commentId: string;
47
- commentContent: string | null | undefined;
48
- replyId: string;
49
- replyContent: string | null | undefined;
50
- initiatorId: string;
51
- initiatorName: string | null | undefined;
52
- initiatorUsername: string | null | undefined;
53
- initiatorAvatar: string | null | undefined;
54
- };
55
- }
56
- export interface EntityMentionNotification extends BaseAppNotification {
57
- type: "entity-mention";
58
- action: "open-entity";
59
- metadata: {
60
- entityId: string;
61
- entityShortId: string;
62
- entityTitle: string | null | undefined;
63
- entityContent: string | null | undefined;
64
- initiatorId: string;
65
- initiatorName: string | null | undefined;
66
- initiatorUsername: string | null | undefined;
67
- initiatorAvatar: string | null | undefined;
68
- };
69
- }
70
- export interface CommentMentionNotification extends BaseAppNotification {
71
- type: "comment-mention";
72
- action: "open-comment";
73
- metadata: {
74
- entityId: string;
75
- entityShortId: string;
76
- entityTitle: string | null | undefined;
77
- entityContent: string | null | undefined;
78
- commentId: string;
79
- commentContent: string | null | undefined;
80
- initiatorId: string;
81
- initiatorName: string | null | undefined;
82
- initiatorUsername: string | null | undefined;
83
- initiatorAvatar: string | null | undefined;
84
- };
85
- }
86
- export interface EntityUpvoteNotification extends BaseAppNotification {
87
- type: "entity-upvote";
88
- action: "open-entity";
89
- metadata: {
90
- entityId: string;
91
- entityShortId: string;
92
- entityTitle: string | null | undefined;
93
- entityContent: string | null | undefined;
94
- initiatorId: string;
95
- initiatorName: string | null | undefined;
96
- initiatorUsername: string | null | undefined;
97
- initiatorAvatar: string | null | undefined;
98
- };
99
- }
100
- export interface CommentUpvoteNotification extends BaseAppNotification {
101
- type: "comment-upvote";
102
- action: "open-comment";
103
- metadata: {
104
- entityId: string;
105
- entityShortId: string;
106
- entityTitle: string | null | undefined;
107
- entityContent: string | null | undefined;
108
- commentId: string;
109
- commentContent: string | null | undefined;
110
- initiatorId: string;
111
- initiatorName: string | null | undefined;
112
- initiatorUsername: string | null | undefined;
113
- initiatorAvatar: string | null | undefined;
114
- };
115
- }
116
- export interface NewFollowNotification extends BaseAppNotification {
117
- type: "new-follow";
118
- action: "open-profile";
119
- metadata: {
120
- initiatorId: string;
121
- initiatorName: string | null | undefined;
122
- initiatorUsername: string | null | undefined;
123
- initiatorAvatar: string | null | undefined;
124
- };
125
- }
126
- export type UnifiedAppNotification = SystemNotification | EntityCommentNotification | CommentReplyNotification | EntityMentionNotification | CommentMentionNotification | EntityUpvoteNotification | CommentUpvoteNotification | NewFollowNotification;
127
- export type NotificationTemplate = {
128
- title?: string;
129
- content?: string;
130
- };
131
- export type NotificationTemplates = {
132
- entityComment: NotificationTemplate;
133
- commentReply: NotificationTemplate;
134
- entityMention: NotificationTemplate;
135
- commentMention: NotificationTemplate;
136
- entityUpvote: NotificationTemplate;
137
- commentUpvote: NotificationTemplate;
138
- newFollow: NotificationTemplate;
139
- };
140
- export {};
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=AppNotification.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AppNotification.js","sourceRoot":"","sources":["../../../../src/interfaces/models/AppNotification.ts"],"names":[],"mappings":""}
@@ -1,32 +0,0 @@
1
- import { Entity } from "./Entity";
2
- import { Mention } from "./Mention";
3
- import { User } from "./User";
4
- export interface GifData {
5
- id: string;
6
- url: string;
7
- gifUrl: string;
8
- gifPreviewUrl: string;
9
- altText: string | undefined;
10
- aspectRatio: number;
11
- }
12
- export interface Comment {
13
- id: string;
14
- projectId: string;
15
- foreignId: string | null;
16
- entityId: string;
17
- entity?: Entity;
18
- userId: string;
19
- user: User;
20
- parentId: string | null;
21
- content: string | null;
22
- gif: GifData | null;
23
- mentions: Mention[];
24
- upvotes: string[];
25
- downvotes: string[];
26
- repliesCount: number;
27
- metadata: Record<string, any>;
28
- createdAt: Date;
29
- updatedAt: Date;
30
- deletedAt: Date | null;
31
- parentDeletedAt: Date | null;
32
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Comment.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Comment.js","sourceRoot":"","sources":["../../../../src/interfaces/models/Comment.ts"],"names":[],"mappings":""}
@@ -1,37 +0,0 @@
1
- import { Mention } from "./Mention";
2
- import { User } from "./User";
3
- export interface TopComment {
4
- id: string;
5
- user: User;
6
- upvotesCount: number;
7
- content: string;
8
- createdAt: string;
9
- }
10
- export interface Entity {
11
- id: string;
12
- foreignId: string | null;
13
- shortId: string;
14
- projectId: string;
15
- sourceId: string | null;
16
- user?: User | null;
17
- title: string | null;
18
- content: string | null;
19
- mentions: Mention[];
20
- attachments: Record<string, any>[];
21
- keywords: string[];
22
- upvotes: string[];
23
- downvotes: string[];
24
- repliesCount: number;
25
- views: number;
26
- score: number;
27
- scoreUpdatedAt: Date;
28
- location: {
29
- type: "Point";
30
- coordinates: [number, number];
31
- } | null;
32
- metadata: Record<string, any>;
33
- topComment: TopComment | null;
34
- createdAt: Date;
35
- updatedAt: Date;
36
- deletedAt: Date | null;
37
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Entity.js","sourceRoot":"","sources":["../../../../src/interfaces/models/Entity.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- export interface Follow {
2
- followerId: string;
3
- followedId: string;
4
- createdAt: Date;
5
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Follow.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Follow.js","sourceRoot":"","sources":["../../../../src/interfaces/models/Follow.ts"],"names":[],"mappings":""}
@@ -1,12 +0,0 @@
1
- import { Entity } from "./Entity";
2
- export interface List {
3
- id: string;
4
- projectId: string;
5
- userId: string;
6
- parentId: string | null;
7
- name: string;
8
- entityIds: string[];
9
- entities: Partial<Entity>[];
10
- createdAt: Date;
11
- updatedAt: Date;
12
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=List.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"List.js","sourceRoot":"","sources":["../../../../src/interfaces/models/List.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- export interface Mention {
2
- id: string;
3
- username: string;
4
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Mention.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Mention.js","sourceRoot":"","sources":["../../../../src/interfaces/models/Mention.ts"],"names":[],"mappings":""}
@@ -1,14 +0,0 @@
1
- export interface Project {
2
- id: string;
3
- clientId: string;
4
- name: string;
5
- integrations: {
6
- id: string;
7
- projectId: string;
8
- name: string;
9
- data: Record<string, any>;
10
- createdAt: Date;
11
- }[];
12
- createdAt: Date;
13
- updatedAt: Date;
14
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Project.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Project.js","sourceRoot":"","sources":["../../../../src/interfaces/models/Project.ts"],"names":[],"mappings":""}
@@ -1,33 +0,0 @@
1
- export type UserFull = {
2
- id: string;
3
- projectId: string;
4
- foreignId: string | null;
5
- role: "admin" | "editor" | "visitor";
6
- email: string | null;
7
- name: string | null;
8
- username: string | null;
9
- avatar: string | null;
10
- bio: string | null;
11
- birthdate: Date | null;
12
- location: {
13
- type: "Point";
14
- coordinates: [number, number];
15
- } | null;
16
- metadata: Record<string, any>;
17
- secureMetadata: Record<string, any>;
18
- reputation: number;
19
- isVerified: boolean;
20
- isActive: boolean;
21
- lastActive: Date;
22
- createdAt: Date;
23
- updatedAt: Date;
24
- deletedAt: Date | null;
25
- };
26
- export type AuthUser = Pick<UserFull, "id" | "projectId" | "foreignId" | "role" | "email" | "name" | "username" | "avatar" | "bio" | "birthdate" | "metadata" | "reputation" | "isVerified" | "isActive" | "lastActive"> & {
27
- suspensions: {
28
- reason: string | null;
29
- startDate: Date;
30
- endDate: Date | null;
31
- }[];
32
- };
33
- export type User = Omit<UserFull, "foreignId" | "email" | "secureMetadata" | "isVerified" | "isActive" | "lastActive" | "updatedAt" | "deletedAt">;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=User.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"User.js","sourceRoot":"","sources":["../../../../src/interfaces/models/User.ts"],"names":[],"mappings":""}