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

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