@selfcommunity/react-core 0.1.6-alpha.2 → 0.1.6-alpha.3

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 (267) hide show
  1. package/lib/cjs/hooks/useSCFetchAddressingTagList.js +12 -4
  2. package/lib/esm/hooks/useSCFetchAddressingTagList.js +12 -4
  3. package/lib/{esm/react-core/src → types}/components/provider/SCAlertMessagesProvider/index.d.ts +0 -0
  4. package/lib/types/components/provider/SCAlertMessagesProvider/index.d.ts.map +1 -0
  5. package/lib/{esm/react-core/src → types}/components/provider/SCContextProvider/index.d.ts +0 -0
  6. package/lib/types/components/provider/SCContextProvider/index.d.ts.map +1 -0
  7. package/lib/{esm/react-core/src → types}/components/provider/SCLocaleProvider/index.d.ts +0 -0
  8. package/lib/types/components/provider/SCLocaleProvider/index.d.ts.map +1 -0
  9. package/lib/{esm/react-core/src → types}/components/provider/SCNotificationProvider/index.d.ts +0 -0
  10. package/lib/types/components/provider/SCNotificationProvider/index.d.ts.map +1 -0
  11. package/lib/{esm/react-core/src → types}/components/provider/SCPreferencesProvider/index.d.ts +0 -0
  12. package/lib/types/components/provider/SCPreferencesProvider/index.d.ts.map +1 -0
  13. package/lib/{esm/react-core/src → types}/components/provider/SCRoutingProvider/index.d.ts +0 -0
  14. package/lib/types/components/provider/SCRoutingProvider/index.d.ts.map +1 -0
  15. package/lib/{esm/react-core/src → types}/components/provider/SCThemeProvider/index.d.ts +0 -0
  16. package/lib/types/components/provider/SCThemeProvider/index.d.ts.map +1 -0
  17. package/lib/{esm/react-core/src → types}/components/provider/SCUserProvider/index.d.ts +0 -0
  18. package/lib/types/components/provider/SCUserProvider/index.d.ts.map +1 -0
  19. package/lib/{esm/react-core/src → types}/components/router/index.d.ts +0 -0
  20. package/lib/types/components/router/index.d.ts.map +1 -0
  21. package/lib/{esm/react-core/src → types}/constants/Actions.d.ts +0 -0
  22. package/lib/types/constants/Actions.d.ts.map +1 -0
  23. package/lib/{esm/react-core/src → types}/constants/ContextProviders.d.ts +0 -0
  24. package/lib/types/constants/ContextProviders.d.ts.map +1 -0
  25. package/lib/{esm/react-core/src → types}/constants/Device.d.ts +0 -0
  26. package/lib/types/constants/Device.d.ts.map +1 -0
  27. package/lib/{esm/react-core/src → types}/constants/Errors.d.ts +0 -0
  28. package/lib/types/constants/Errors.d.ts.map +1 -0
  29. package/lib/{esm/react-core/src → types}/constants/Features.d.ts +0 -0
  30. package/lib/types/constants/Features.d.ts.map +1 -0
  31. package/lib/{esm/react-core/src → types}/constants/Locale.d.ts +0 -0
  32. package/lib/types/constants/Locale.d.ts.map +1 -0
  33. package/lib/{esm/react-core/src → types}/constants/Notification.d.ts +0 -0
  34. package/lib/types/constants/Notification.d.ts.map +1 -0
  35. package/lib/{esm/react-core/src → types}/constants/Notifications.d.ts +0 -0
  36. package/lib/types/constants/Notifications.d.ts.map +1 -0
  37. package/lib/{esm/react-core/src → types}/constants/Routes.d.ts +0 -0
  38. package/lib/types/constants/Routes.d.ts.map +1 -0
  39. package/lib/{esm/react-core/src → types}/constants/Session.d.ts +0 -0
  40. package/lib/types/constants/Session.d.ts.map +1 -0
  41. package/lib/{esm/react-core/src → types}/constants/Theme.d.ts +0 -0
  42. package/lib/types/constants/Theme.d.ts.map +1 -0
  43. package/lib/{esm/react-core/src → types}/hooks/useSCAuth.d.ts +0 -0
  44. package/lib/types/hooks/useSCAuth.d.ts.map +1 -0
  45. package/lib/{esm/react-core/src → types}/hooks/useSCCachingManager.d.ts +0 -0
  46. package/lib/types/hooks/useSCCachingManager.d.ts.map +1 -0
  47. package/lib/{esm/react-core/src → types}/hooks/useSCConnectionsManager.d.ts +0 -0
  48. package/lib/types/hooks/useSCConnectionsManager.d.ts.map +1 -0
  49. package/lib/{esm/react-core/src → types}/hooks/useSCFetchAddressingTagList.d.ts +0 -0
  50. package/lib/types/hooks/useSCFetchAddressingTagList.d.ts.map +1 -0
  51. package/lib/{esm/react-core/src → types}/hooks/useSCFetchCategories.d.ts +0 -0
  52. package/lib/types/hooks/useSCFetchCategories.d.ts.map +1 -0
  53. package/lib/{esm/react-core/src → types}/hooks/useSCFetchCategory.d.ts +0 -0
  54. package/lib/types/hooks/useSCFetchCategory.d.ts.map +1 -0
  55. package/lib/{esm/react-core/src → types}/hooks/useSCFetchCommentObject.d.ts +0 -0
  56. package/lib/types/hooks/useSCFetchCommentObject.d.ts.map +1 -0
  57. package/lib/{esm/react-core/src → types}/hooks/useSCFetchCommentObjects.d.ts +0 -0
  58. package/lib/types/hooks/useSCFetchCommentObjects.d.ts.map +1 -0
  59. package/lib/{esm/react-core/src → types}/hooks/useSCFetchCustomAdv.d.ts +0 -0
  60. package/lib/types/hooks/useSCFetchCustomAdv.d.ts.map +1 -0
  61. package/lib/{esm/react-core/src → types}/hooks/useSCFetchFeedObject.d.ts +2 -2
  62. package/lib/types/hooks/useSCFetchFeedObject.d.ts.map +1 -0
  63. package/lib/{esm/react-core/src → types}/hooks/useSCFetchIncubator.d.ts +0 -0
  64. package/lib/types/hooks/useSCFetchIncubator.d.ts.map +1 -0
  65. package/lib/{esm/react-core/src → types}/hooks/useSCFetchTag.d.ts +0 -0
  66. package/lib/types/hooks/useSCFetchTag.d.ts.map +1 -0
  67. package/lib/{esm/react-core/src → types}/hooks/useSCFetchUser.d.ts +0 -0
  68. package/lib/types/hooks/useSCFetchUser.d.ts.map +1 -0
  69. package/lib/{esm/react-core/src → types}/hooks/useSCFollowedCategoriesManager.d.ts +0 -0
  70. package/lib/types/hooks/useSCFollowedCategoriesManager.d.ts.map +1 -0
  71. package/lib/{esm/react-core/src → types}/hooks/useSCFollowersManager.d.ts +0 -0
  72. package/lib/types/hooks/useSCFollowersManager.d.ts.map +1 -0
  73. package/lib/{esm/react-core/src → types}/hooks/useSCMediaClick.d.ts +0 -0
  74. package/lib/types/hooks/useSCMediaClick.d.ts.map +1 -0
  75. package/lib/{esm/react-core/src → types}/hooks/useSCSubscribedIncubatorsManager.d.ts +0 -0
  76. package/lib/types/hooks/useSCSubscribedIncubatorsManager.d.ts.map +1 -0
  77. package/lib/{esm/react-core/src → types}/hooks/useSCWebPushMessaging.d.ts +0 -0
  78. package/lib/types/hooks/useSCWebPushMessaging.d.ts.map +1 -0
  79. package/lib/{esm/react-core/src → types}/hooks/useSCWebSocket.d.ts +0 -0
  80. package/lib/types/hooks/useSCWebSocket.d.ts.map +1 -0
  81. package/lib/{esm/react-core/src → types}/index.d.ts +1 -1
  82. package/lib/types/index.d.ts.map +1 -0
  83. package/lib/types/tsconfig.build.tsbuildinfo +1 -0
  84. package/lib/{esm/react-core/src → types}/types/context.d.ts +0 -0
  85. package/lib/types/types/context.d.ts.map +1 -0
  86. package/lib/{esm/react-core/src → types}/types/index.d.ts +0 -0
  87. package/lib/types/types/index.d.ts.map +1 -0
  88. package/lib/{esm/react-core/src → types}/utils/errors.d.ts +0 -0
  89. package/lib/types/utils/errors.d.ts.map +1 -0
  90. package/lib/{esm/react-core/src → types}/utils/locale.d.ts +0 -0
  91. package/lib/types/utils/locale.d.ts.map +1 -0
  92. package/lib/{esm/react-core/src → types}/utils/user.d.ts +0 -0
  93. package/lib/types/utils/user.d.ts.map +1 -0
  94. package/lib/{esm/react-core/src → types}/utils/validator.d.ts +0 -0
  95. package/lib/types/utils/validator.d.ts.map +1 -0
  96. package/lib/umd/react-core.js +1 -1
  97. package/package.json +8 -7
  98. package/lib/esm/api-services/src/client/index.d.ts +0 -115
  99. package/lib/esm/api-services/src/client/index.d.ts.map +0 -1
  100. package/lib/esm/api-services/src/constants/Endpoints.d.ts +0 -10
  101. package/lib/esm/api-services/src/constants/Endpoints.d.ts.map +0 -1
  102. package/lib/esm/api-services/src/index.d.ts +0 -51
  103. package/lib/esm/api-services/src/index.d.ts.map +0 -1
  104. package/lib/esm/api-services/src/services/category/index.d.ts +0 -55
  105. package/lib/esm/api-services/src/services/category/index.d.ts.map +0 -1
  106. package/lib/esm/api-services/src/services/comment/index.d.ts +0 -40
  107. package/lib/esm/api-services/src/services/comment/index.d.ts.map +0 -1
  108. package/lib/esm/api-services/src/services/custom_adv/index.d.ts +0 -16
  109. package/lib/esm/api-services/src/services/custom_adv/index.d.ts.map +0 -1
  110. package/lib/esm/api-services/src/services/custom_page/index.d.ts +0 -16
  111. package/lib/esm/api-services/src/services/custom_page/index.d.ts.map +0 -1
  112. package/lib/esm/api-services/src/services/data_portability/index.d.ts +0 -16
  113. package/lib/esm/api-services/src/services/data_portability/index.d.ts.map +0 -1
  114. package/lib/esm/api-services/src/services/embed/index.d.ts +0 -31
  115. package/lib/esm/api-services/src/services/embed/index.d.ts.map +0 -1
  116. package/lib/esm/api-services/src/services/feature/index.d.ts +0 -10
  117. package/lib/esm/api-services/src/services/feature/index.d.ts.map +0 -1
  118. package/lib/esm/api-services/src/services/feed/index.d.ts +0 -22
  119. package/lib/esm/api-services/src/services/feed/index.d.ts.map +0 -1
  120. package/lib/esm/api-services/src/services/feed_object/index.d.ts +0 -88
  121. package/lib/esm/api-services/src/services/feed_object/index.d.ts.map +0 -1
  122. package/lib/esm/api-services/src/services/incubator/index.d.ts +0 -28
  123. package/lib/esm/api-services/src/services/incubator/index.d.ts.map +0 -1
  124. package/lib/esm/api-services/src/services/insight/index.d.ts +0 -25
  125. package/lib/esm/api-services/src/services/insight/index.d.ts.map +0 -1
  126. package/lib/esm/api-services/src/services/legal_page/index.d.ts +0 -25
  127. package/lib/esm/api-services/src/services/legal_page/index.d.ts.map +0 -1
  128. package/lib/esm/api-services/src/services/locality/index.d.ts +0 -13
  129. package/lib/esm/api-services/src/services/locality/index.d.ts.map +0 -1
  130. package/lib/esm/api-services/src/services/loyalty/index.d.ts +0 -34
  131. package/lib/esm/api-services/src/services/loyalty/index.d.ts.map +0 -1
  132. package/lib/esm/api-services/src/services/media/index.d.ts +0 -28
  133. package/lib/esm/api-services/src/services/media/index.d.ts.map +0 -1
  134. package/lib/esm/api-services/src/services/moderation/index.d.ts +0 -25
  135. package/lib/esm/api-services/src/services/moderation/index.d.ts.map +0 -1
  136. package/lib/esm/api-services/src/services/notification/index.d.ts +0 -34
  137. package/lib/esm/api-services/src/services/notification/index.d.ts.map +0 -1
  138. package/lib/esm/api-services/src/services/preference/index.d.ts +0 -16
  139. package/lib/esm/api-services/src/services/preference/index.d.ts.map +0 -1
  140. package/lib/esm/api-services/src/services/private_message/index.d.ts +0 -37
  141. package/lib/esm/api-services/src/services/private_message/index.d.ts.map +0 -1
  142. package/lib/esm/api-services/src/services/score/index.d.ts +0 -16
  143. package/lib/esm/api-services/src/services/score/index.d.ts.map +0 -1
  144. package/lib/esm/api-services/src/services/sso/index.d.ts +0 -13
  145. package/lib/esm/api-services/src/services/sso/index.d.ts.map +0 -1
  146. package/lib/esm/api-services/src/services/suggestion/index.d.ts +0 -19
  147. package/lib/esm/api-services/src/services/suggestion/index.d.ts.map +0 -1
  148. package/lib/esm/api-services/src/services/tag/index.d.ts +0 -28
  149. package/lib/esm/api-services/src/services/tag/index.d.ts.map +0 -1
  150. package/lib/esm/api-services/src/services/user/index.d.ts +0 -148
  151. package/lib/esm/api-services/src/services/user/index.d.ts.map +0 -1
  152. package/lib/esm/api-services/src/services/webhook/index.d.ts +0 -100
  153. package/lib/esm/api-services/src/services/webhook/index.d.ts.map +0 -1
  154. package/lib/esm/api-services/src/types/index.d.ts +0 -4
  155. package/lib/esm/api-services/src/types/index.d.ts.map +0 -1
  156. package/lib/esm/api-services/src/types/paginatedResponse.d.ts +0 -10
  157. package/lib/esm/api-services/src/types/paginatedResponse.d.ts.map +0 -1
  158. package/lib/esm/api-services/src/types/webhook.d.ts +0 -32
  159. package/lib/esm/api-services/src/types/webhook.d.ts.map +0 -1
  160. package/lib/esm/api-services/src/utils/apiRequest.d.ts +0 -2
  161. package/lib/esm/api-services/src/utils/apiRequest.d.ts.map +0 -1
  162. package/lib/esm/api-services/src/utils/http.d.ts +0 -6
  163. package/lib/esm/api-services/src/utils/http.d.ts.map +0 -1
  164. package/lib/esm/api-services/src/utils/token.d.ts +0 -21
  165. package/lib/esm/api-services/src/utils/token.d.ts.map +0 -1
  166. package/lib/esm/react-core/src/components/provider/SCAlertMessagesProvider/index.d.ts.map +0 -1
  167. package/lib/esm/react-core/src/components/provider/SCContextProvider/index.d.ts.map +0 -1
  168. package/lib/esm/react-core/src/components/provider/SCLocaleProvider/index.d.ts.map +0 -1
  169. package/lib/esm/react-core/src/components/provider/SCNotificationProvider/index.d.ts.map +0 -1
  170. package/lib/esm/react-core/src/components/provider/SCPreferencesProvider/index.d.ts.map +0 -1
  171. package/lib/esm/react-core/src/components/provider/SCRoutingProvider/index.d.ts.map +0 -1
  172. package/lib/esm/react-core/src/components/provider/SCThemeProvider/index.d.ts.map +0 -1
  173. package/lib/esm/react-core/src/components/provider/SCUserProvider/index.d.ts.map +0 -1
  174. package/lib/esm/react-core/src/components/router/index.d.ts.map +0 -1
  175. package/lib/esm/react-core/src/constants/Actions.d.ts.map +0 -1
  176. package/lib/esm/react-core/src/constants/ContextProviders.d.ts.map +0 -1
  177. package/lib/esm/react-core/src/constants/Device.d.ts.map +0 -1
  178. package/lib/esm/react-core/src/constants/Errors.d.ts.map +0 -1
  179. package/lib/esm/react-core/src/constants/Features.d.ts.map +0 -1
  180. package/lib/esm/react-core/src/constants/Locale.d.ts.map +0 -1
  181. package/lib/esm/react-core/src/constants/Notification.d.ts.map +0 -1
  182. package/lib/esm/react-core/src/constants/Notifications.d.ts.map +0 -1
  183. package/lib/esm/react-core/src/constants/Routes.d.ts.map +0 -1
  184. package/lib/esm/react-core/src/constants/Session.d.ts.map +0 -1
  185. package/lib/esm/react-core/src/constants/Theme.d.ts.map +0 -1
  186. package/lib/esm/react-core/src/hooks/useSCAuth.d.ts.map +0 -1
  187. package/lib/esm/react-core/src/hooks/useSCCachingManager.d.ts.map +0 -1
  188. package/lib/esm/react-core/src/hooks/useSCConnectionsManager.d.ts.map +0 -1
  189. package/lib/esm/react-core/src/hooks/useSCFetchAddressingTagList.d.ts.map +0 -1
  190. package/lib/esm/react-core/src/hooks/useSCFetchCategories.d.ts.map +0 -1
  191. package/lib/esm/react-core/src/hooks/useSCFetchCategory.d.ts.map +0 -1
  192. package/lib/esm/react-core/src/hooks/useSCFetchCommentObject.d.ts.map +0 -1
  193. package/lib/esm/react-core/src/hooks/useSCFetchCommentObjects.d.ts.map +0 -1
  194. package/lib/esm/react-core/src/hooks/useSCFetchCustomAdv.d.ts.map +0 -1
  195. package/lib/esm/react-core/src/hooks/useSCFetchFeedObject.d.ts.map +0 -1
  196. package/lib/esm/react-core/src/hooks/useSCFetchIncubator.d.ts.map +0 -1
  197. package/lib/esm/react-core/src/hooks/useSCFetchTag.d.ts.map +0 -1
  198. package/lib/esm/react-core/src/hooks/useSCFetchUser.d.ts.map +0 -1
  199. package/lib/esm/react-core/src/hooks/useSCFollowedCategoriesManager.d.ts.map +0 -1
  200. package/lib/esm/react-core/src/hooks/useSCFollowersManager.d.ts.map +0 -1
  201. package/lib/esm/react-core/src/hooks/useSCMediaClick.d.ts.map +0 -1
  202. package/lib/esm/react-core/src/hooks/useSCSubscribedIncubatorsManager.d.ts.map +0 -1
  203. package/lib/esm/react-core/src/hooks/useSCWebPushMessaging.d.ts.map +0 -1
  204. package/lib/esm/react-core/src/hooks/useSCWebSocket.d.ts.map +0 -1
  205. package/lib/esm/react-core/src/index.d.ts.map +0 -1
  206. package/lib/esm/react-core/src/types/context.d.ts.map +0 -1
  207. package/lib/esm/react-core/src/types/index.d.ts.map +0 -1
  208. package/lib/esm/react-core/src/utils/errors.d.ts.map +0 -1
  209. package/lib/esm/react-core/src/utils/locale.d.ts.map +0 -1
  210. package/lib/esm/react-core/src/utils/user.d.ts.map +0 -1
  211. package/lib/esm/react-core/src/utils/validator.d.ts.map +0 -1
  212. package/lib/esm/react-i18n/src/index.d.ts +0 -819
  213. package/lib/esm/react-i18n/src/index.d.ts.map +0 -1
  214. package/lib/esm/types/src/index.d.ts +0 -9
  215. package/lib/esm/types/src/index.d.ts.map +0 -1
  216. package/lib/esm/types/src/types/auth.d.ts +0 -26
  217. package/lib/esm/types/src/types/auth.d.ts.map +0 -1
  218. package/lib/esm/types/src/types/broadcastMessage.d.ts +0 -73
  219. package/lib/esm/types/src/types/broadcastMessage.d.ts.map +0 -1
  220. package/lib/esm/types/src/types/category.d.ts +0 -100
  221. package/lib/esm/types/src/types/category.d.ts.map +0 -1
  222. package/lib/esm/types/src/types/comment.d.ts +0 -97
  223. package/lib/esm/types/src/types/comment.d.ts.map +0 -1
  224. package/lib/esm/types/src/types/customAdv.d.ts +0 -53
  225. package/lib/esm/types/src/types/customAdv.d.ts.map +0 -1
  226. package/lib/esm/types/src/types/customNotification.d.ts +0 -28
  227. package/lib/esm/types/src/types/customNotification.d.ts.map +0 -1
  228. package/lib/esm/types/src/types/embed.d.ts +0 -33
  229. package/lib/esm/types/src/types/embed.d.ts.map +0 -1
  230. package/lib/esm/types/src/types/feed.d.ts +0 -208
  231. package/lib/esm/types/src/types/feed.d.ts.map +0 -1
  232. package/lib/esm/types/src/types/incubator.d.ts +0 -53
  233. package/lib/esm/types/src/types/incubator.d.ts.map +0 -1
  234. package/lib/esm/types/src/types/index.d.ts +0 -23
  235. package/lib/esm/types/src/types/index.d.ts.map +0 -1
  236. package/lib/esm/types/src/types/location.d.ts +0 -61
  237. package/lib/esm/types/src/types/location.d.ts.map +0 -1
  238. package/lib/esm/types/src/types/media.d.ts +0 -52
  239. package/lib/esm/types/src/types/media.d.ts.map +0 -1
  240. package/lib/esm/types/src/types/notification.d.ts +0 -416
  241. package/lib/esm/types/src/types/notification.d.ts.map +0 -1
  242. package/lib/esm/types/src/types/poll.d.ts +0 -77
  243. package/lib/esm/types/src/types/poll.d.ts.map +0 -1
  244. package/lib/esm/types/src/types/privateMessage.d.ts +0 -109
  245. package/lib/esm/types/src/types/privateMessage.d.ts.map +0 -1
  246. package/lib/esm/types/src/types/prize.d.ts +0 -48
  247. package/lib/esm/types/src/types/prize.d.ts.map +0 -1
  248. package/lib/esm/types/src/types/tag.d.ts +0 -47
  249. package/lib/esm/types/src/types/tag.d.ts.map +0 -1
  250. package/lib/esm/types/src/types/user.d.ts +0 -231
  251. package/lib/esm/types/src/types/user.d.ts.map +0 -1
  252. package/lib/esm/types/src/types/webhook.d.ts +0 -91
  253. package/lib/esm/types/src/types/webhook.d.ts.map +0 -1
  254. package/lib/esm/utils/src/index.d.ts +0 -12
  255. package/lib/esm/utils/src/index.d.ts.map +0 -1
  256. package/lib/esm/utils/src/utils/browser.d.ts +0 -9
  257. package/lib/esm/utils/src/utils/browser.d.ts.map +0 -1
  258. package/lib/esm/utils/src/utils/logger.d.ts +0 -11
  259. package/lib/esm/utils/src/utils/logger.d.ts.map +0 -1
  260. package/lib/esm/utils/src/utils/object.d.ts +0 -13
  261. package/lib/esm/utils/src/utils/object.d.ts.map +0 -1
  262. package/lib/esm/utils/src/utils/string.d.ts +0 -43
  263. package/lib/esm/utils/src/utils/string.d.ts.map +0 -1
  264. package/lib/esm/utils/src/utils/url.d.ts +0 -33
  265. package/lib/esm/utils/src/utils/url.d.ts.map +0 -1
  266. package/lib/esm/utils/src/utils/websocket.d.ts +0 -177
  267. package/lib/esm/utils/src/utils/websocket.d.ts.map +0 -1
@@ -1,53 +0,0 @@
1
- import { SCUserType } from './user';
2
- import { SCCategoryType } from './category';
3
- /**
4
- * Interface SCIncubatorType.
5
- * Incubator Schema.
6
- */
7
- export interface SCIncubatorType {
8
- /**
9
- * The ID of the incubator.
10
- */
11
- id: number;
12
- /**
13
- * The name of the incubator.
14
- */
15
- name: string;
16
- /**
17
- * The slug of the incubator.
18
- */
19
- slug?: string;
20
- /**
21
- * The slogan of the incubator.
22
- */
23
- slogan?: string;
24
- /**
25
- * Incubator status
26
- */
27
- status: number;
28
- /**
29
- * Subscribers count
30
- */
31
- subscribers_count: number;
32
- /**
33
- * Subscribers threshold
34
- */
35
- subscribers_threshold: number;
36
- /**
37
- * User who proposed the incubator
38
- */
39
- user: SCUserType;
40
- /**
41
- * Approved incubator
42
- */
43
- approved_category?: SCCategoryType;
44
- /**
45
- * Added at
46
- */
47
- added_at: Date;
48
- /**
49
- * If the logged user has subscribed to the incubator
50
- */
51
- subscribed: boolean;
52
- }
53
- //# sourceMappingURL=incubator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"incubator.d.ts","sourceRoot":"","sources":["../../../../../../types/src/types/incubator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,QAAQ,CAAC;AAClC,OAAO,EAAC,cAAc,EAAC,MAAM,YAAY,CAAC;AAE1C;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAE9B;;OAEG;IACH,IAAI,EAAE,UAAU,CAAC;IAEjB;;OAEG;IACH,iBAAiB,CAAC,EAAE,cAAc,CAAC;IAEnC;;OAEG;IACH,QAAQ,EAAE,IAAI,CAAC;IACf;;OAEG;IACH,UAAU,EAAE,OAAO,CAAC;CACrB"}
@@ -1,23 +0,0 @@
1
- import { SCAuthTokenType } from './auth';
2
- import { SCBannerType, SCBroadcastMessageBannerType, SCBroadcastMessageType } from './broadcastMessage';
3
- import { SCCustomAdvPosition, SCCustomAdvType } from './customAdv';
4
- import { SCUserType, SCUserBlockedSettingsType, SCUserFields, SCUserSettingsType, SCUserStatus } from './user';
5
- import { SCTagType } from './tag';
6
- import { SCCategoryType } from './category';
7
- import { SCEmbedType } from './embed';
8
- import { SCMediaType } from './media';
9
- import { SCContributionLocation, SCLocalityType } from './location';
10
- import { SCPollChoiceType, SCPollType } from './poll';
11
- import { SCCommentType, SCCommentTypologyType, SCCommentsOrderBy } from './comment';
12
- import { SCPrivateMessageType, SCPrivateMessageStatusType, SCPrivateMessageFileType, SCMessageFileType } from './privateMessage';
13
- import { SCIncubatorType } from './incubator';
14
- import { SCCustomNotificationType } from './customNotification';
15
- import { SCPrizeType } from './prize';
16
- import { SCFeedUnitType, SCFeedUnitActivityType, SCFeedObjectType, SCFeedPostType, SCFeedDiscussionType, SCFeedStatusType, SCFeedObjectTypologyType, SCFeedUnitActivityTypologyType, SCFeedTypologyType } from './feed';
17
- import { SCNotificationTypologyType, SCNotificationAggregatedType, SCNotificationCommentType, SCNotificationConnectionAcceptType, SCNotificationConnectionRequestType, SCNotificationPrivateMessageType, SCNotificationMentionType, SCNotificationType, SCNotificationBlockedUserType, SCNotificationCollapsedForType, SCNotificationCustomNotificationType, SCNotificationDeletedForType, SCNotificationFollowType, SCNotificationKindlyNoticeType, SCNotificationUnBlockedUserType, SCNotificationUnDeletedForType, SCNotificationUserFollowType, SCNotificationVoteUpType, SCNotificationIncubatorType, SCNotificationTopicType } from './notification';
18
- import { SCWebhookEndpointType, SCWebhookEndpointAttemptType, SCWebhookEndpointSecretType, SCWebhookEventsType } from './webhook';
19
- /**
20
- * Exports all types
21
- */
22
- export { SCBannerType, SCBroadcastMessageBannerType, SCBroadcastMessageType, SCAuthTokenType, SCUserFields, SCUserType, SCUserSettingsType, SCUserStatus, SCUserBlockedSettingsType, SCTagType, SCCategoryType, SCCustomAdvPosition, SCCustomAdvType, SCEmbedType, SCMediaType, SCContributionLocation, SCLocalityType, SCPollChoiceType, SCPollType, SCFeedUnitType, SCFeedUnitActivityType, SCFeedObjectType, SCFeedPostType, SCFeedDiscussionType, SCFeedStatusType, SCFeedObjectTypologyType, SCFeedUnitActivityTypologyType, SCFeedTypologyType, SCCommentTypologyType, SCCommentsOrderBy, SCCommentType, SCPrivateMessageType, SCPrivateMessageStatusType, SCPrivateMessageFileType, SCMessageFileType, SCNotificationTypologyType, SCNotificationAggregatedType, SCNotificationCommentType, SCNotificationConnectionAcceptType, SCNotificationConnectionRequestType, SCNotificationPrivateMessageType, SCNotificationMentionType, SCNotificationType, SCNotificationBlockedUserType, SCNotificationCollapsedForType, SCNotificationCustomNotificationType, SCNotificationDeletedForType, SCNotificationFollowType, SCNotificationKindlyNoticeType, SCNotificationUnBlockedUserType, SCNotificationUnDeletedForType, SCNotificationUserFollowType, SCNotificationVoteUpType, SCCustomNotificationType, SCNotificationTopicType, SCIncubatorType, SCNotificationIncubatorType, SCPrizeType, SCWebhookEndpointType, SCWebhookEndpointAttemptType, SCWebhookEndpointSecretType, SCWebhookEventsType };
23
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../types/src/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,QAAQ,CAAC;AACvC,OAAO,EAAC,YAAY,EAAE,4BAA4B,EAAE,sBAAsB,EAAC,MAAM,oBAAoB,CAAC;AACtG,OAAO,EAAC,mBAAmB,EAAE,eAAe,EAAC,MAAM,aAAa,CAAC;AACjE,OAAO,EAAC,UAAU,EAAE,yBAAyB,EAAE,YAAY,EAAE,kBAAkB,EAAE,YAAY,EAAC,MAAM,QAAQ,CAAC;AAC7G,OAAO,EAAC,SAAS,EAAC,MAAM,OAAO,CAAC;AAChC,OAAO,EAAC,cAAc,EAAC,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAC,WAAW,EAAC,MAAM,SAAS,CAAC;AACpC,OAAO,EAAC,WAAW,EAAC,MAAM,SAAS,CAAC;AACpC,OAAO,EAAC,sBAAsB,EAAE,cAAc,EAAC,MAAM,YAAY,CAAC;AAClE,OAAO,EAAC,gBAAgB,EAAE,UAAU,EAAC,MAAM,QAAQ,CAAC;AACpD,OAAO,EAAC,aAAa,EAAE,qBAAqB,EAAE,iBAAiB,EAAC,MAAM,WAAW,CAAC;AAClF,OAAO,EAAC,oBAAoB,EAAE,0BAA0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BAAoB,EACpB,0BAA0B,EAC1B,wBAAwB,EACxB,iBAAiB,EACjB,0BAA0B,EAC1B,4BAA4B,EAC5B,yBAAyB,EACzB,kCAAkC,EAClC,mCAAmC,EACnC,gCAAgC,EAChC,yBAAyB,EACzB,kBAAkB,EAClB,6BAA6B,EAC7B,8BAA8B,EAC9B,oCAAoC,EACpC,4BAA4B,EAC5B,wBAAwB,EACxB,8BAA8B,EAC9B,+BAA+B,EAC/B,8BAA8B,EAC9B,4BAA4B,EAC5B,wBAAwB,EACxB,wBAAwB,EACxB,uBAAuB,EACvB,eAAe,EACf,2BAA2B,EAC3B,WAAW,EACX,qBAAqB,EACrB,4BAA4B,EAC5B,2BAA2B,EAC3B,mBAAmB,EACpB,CAAC"}
@@ -1,61 +0,0 @@
1
- /**
2
- * Interface SCContributionLocation.
3
- * Location Schema.
4
- */
5
- export interface SCContributionLocation {
6
- /**
7
- * location
8
- */
9
- location: string;
10
- /**
11
- * Latitude
12
- */
13
- lat?: number;
14
- /**
15
- * Longitude
16
- */
17
- lon?: number;
18
- }
19
- /**
20
- * Interface SCLocalityType.
21
- * Locality Schema.
22
- */
23
- export interface SCLocalityType {
24
- /**
25
- * full_address
26
- */
27
- full_address: string;
28
- /**
29
- * country
30
- */
31
- country: string;
32
- /**
33
- * Latitude
34
- */
35
- lat: number;
36
- /**
37
- * Longitude
38
- */
39
- lng: number;
40
- /**
41
- * postal_code
42
- */
43
- postal_code: string;
44
- /**
45
- * province
46
- */
47
- province: string;
48
- /**
49
- * province_short
50
- */
51
- province_short: string;
52
- /**
53
- * region
54
- */
55
- region?: string;
56
- /**
57
- * town
58
- */
59
- town: string;
60
- }
61
- //# sourceMappingURL=location.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"location.d.ts","sourceRoot":"","sources":["../../../../../../types/src/types/location.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd"}
@@ -1,52 +0,0 @@
1
- import { SCEmbedType } from './embed';
2
- /**
3
- * Interface SCMediaType.
4
- * Media Schema.
5
- */
6
- export interface SCMediaType {
7
- /**
8
- * Id of the media
9
- */
10
- id: number;
11
- /**
12
- * Added at
13
- */
14
- added_at: Date;
15
- /**
16
- * Media type
17
- */
18
- type: string;
19
- /**
20
- * Title
21
- */
22
- title?: string;
23
- /**
24
- * Title
25
- */
26
- description?: string;
27
- /**
28
- * Media Url
29
- */
30
- url?: string;
31
- /**
32
- * Media image
33
- */
34
- image?: string;
35
- /**
36
- * Media image width
37
- */
38
- image_width?: number;
39
- /**
40
- * Media image height
41
- */
42
- image_height?: number;
43
- /**
44
- * Order in the list of medias
45
- */
46
- order?: number;
47
- /**
48
- * Embed associated
49
- */
50
- embed?: SCEmbedType;
51
- }
52
- //# sourceMappingURL=media.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"media.d.ts","sourceRoot":"","sources":["../../../../../../types/src/types/media.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,SAAS,CAAC;AAEpC;;;GAGG;AACH,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,QAAQ,EAAE,IAAI,CAAC;IAEf;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,KAAK,CAAC,EAAE,WAAW,CAAC;CACrB"}
@@ -1,416 +0,0 @@
1
- import { SCCommentType, SCFeedDiscussionType, SCFeedPostType, SCFeedStatusType, SCUserType } from '../index';
2
- import { SCPrivateMessageType } from './privateMessage';
3
- import { SCUserBlockedSettingsType } from './user';
4
- import { SCCustomNotificationType } from './customNotification';
5
- import { SCIncubatorType } from './incubator';
6
- /**
7
- * Notification types
8
- */
9
- export declare enum SCNotificationTypologyType {
10
- COMMENT = "comment",
11
- NESTED_COMMENT = "nested_comment",
12
- CONNECTION_REQUEST = "connection_request",
13
- CONNECTION_ACCEPT = "connection_accept",
14
- CONNECTION_REMOVE = "connection_remove",
15
- CONNECTION_REJECT = "connection_reject",
16
- CONNECTION_CANCEL_REJECT = "connection_cancel_reject",
17
- CONNECTION_CANCEL_REQUEST = "connection_cancel_reject",
18
- MENTION = "mention",
19
- VOTE_UP = "vote_up",
20
- FOLLOW = "follow",
21
- PRIVATE_MESSAGE = "private_message",
22
- DELETE_PRIVATE_MESSAGE = "delete_private_message",
23
- DELETED_FOR_ADVERTISING = "deleted_for_advertising",
24
- DELETED_FOR_AGGRESSIVE = "deleted_for_aggressive",
25
- DELETED_FOR_VULGAR = "deleted_for_vulgar",
26
- DELETED_FOR_POOR = "deleted_for_poor",
27
- DELETED_FOR_OFFTOPIC = "deleted_for_offtopic",
28
- UNDELETED_FOR = "undeleted_for",
29
- COLLAPSED_FOR_ADVERTISING = "collapsed_for_advertising",
30
- COLLAPSED_FOR_AGGRESSIVE = "collapsed_for_aggressive",
31
- COLLAPSED_FOR_VULGAR = "collapsed_for_vulgar",
32
- COLLAPSED_FOR_POOR = "collapsed_for_poor",
33
- COLLAPSED_FOR_OFFTOPIC = "collapsed_for_offtopic",
34
- USER_FOLLOW = "user_follow",
35
- USER_UNFOLLOW = "user_unfollow",
36
- KINDLY_NOTICE_ADVERTISING = "kindly_notice_advertising",
37
- KINDLY_NOTICE_AGGRESSIVE = "kindly_notice_aggressive",
38
- KINDLY_NOTICE_VULGAR = "kindly_notice_vulgar",
39
- KINDLY_NOTICE_POOR = "kindly_notice_poor",
40
- KINDLY_NOTICE_OFFTOPIC = "kindly_notice_offtopic",
41
- KINDLY_NOTICE_FLAG = "kindly_notice_flag",
42
- BLOCKED_USER = "blocked_user",
43
- UNBLOCKED_USER = "unblocked_user",
44
- INCUBATOR_APPROVED = "incubator_approved",
45
- CUSTOM_NOTIFICATION = "custom_notification",
46
- NOTIFICATION_BANNER = "notification_banner"
47
- }
48
- /**
49
- * Define topic for notifications
50
- * Usefull for websocket
51
- */
52
- export declare enum SCNotificationTopicType {
53
- INTERACTION = "interaction",
54
- NEWS = "news"
55
- }
56
- /**
57
- * Interface SCNotificationAggregatedType.
58
- * Notification aggregated Schema.
59
- */
60
- export interface SCNotificationAggregatedType {
61
- /**
62
- * Serialization id of the macro notification aggregate block
63
- */
64
- sid: string;
65
- /**
66
- * It's true if in the aggregated group there is at least one
67
- * notification not yet seen by the user making the request
68
- */
69
- is_new: boolean;
70
- /**
71
- * Primary object involved (object that is common to notifications group)
72
- * if it is a discusssion. For some types of notifications it will not be present.
73
- */
74
- discussion?: SCFeedDiscussionType;
75
- /**
76
- * Primary object involved (object that is common to notifications group)
77
- * if it is a post. For some types of notifications it will not be present.
78
- */
79
- post?: SCFeedPostType;
80
- /**
81
- * Primary object involved (object that is common to notifications group)
82
- * if it is a status. For some types of notifications it will not be present.
83
- */
84
- status?: SCFeedStatusType;
85
- /**
86
- * List of aggregated notifications by type.
87
- * Types Object: NotificationTypeComment, NotificationTypeMention,
88
- * NotificationTypeConnectionAccept, NotificationTypeConnectionRequest,
89
- * NotificationTypePrivateMessage, NotificationTypeFollow, NotificationTypeVoteUp,
90
- * NotificationTypeBlockedUser, NotificationTypeUnBlockedUser,
91
- * NotificationTypeKindlyNotice, NotificationTypeCollapsedFor,
92
- * NotificationTypeDeletedFor, NotificationTypeCustomNotification
93
- */
94
- aggregated: SCNotificationType[];
95
- }
96
- /**
97
- * Interface SCNotificationType.
98
- * Notification Schema.
99
- */
100
- export interface SCNotificationType {
101
- /**
102
- * True if the notification has been read, otherwise false
103
- */
104
- is_new: boolean;
105
- /**
106
- * Serialization id of the single notification
107
- */
108
- sid: string;
109
- /**
110
- * Type of the notification
111
- */
112
- type: SCNotificationTypologyType;
113
- /**
114
- * Time when the notification was generated
115
- */
116
- active_at: Date;
117
- }
118
- /**
119
- * Interface SCNotificationCommentType.
120
- * Comment Notification Schema.
121
- */
122
- export interface SCNotificationCommentType extends SCNotificationType {
123
- /**
124
- * Comment of first/second level
125
- */
126
- comment: SCCommentType;
127
- /**
128
- * Type Comment or Nested_comment
129
- */
130
- type: SCNotificationTypologyType.COMMENT | SCNotificationTypologyType.NESTED_COMMENT;
131
- }
132
- /**
133
- * Interface SCNotificationMentionType.
134
- * Mention Notification Schema.
135
- */
136
- export interface SCNotificationMentionType extends SCNotificationType {
137
- /**
138
- * Type Mention
139
- */
140
- type: SCNotificationTypologyType.MENTION;
141
- /**
142
- * If user is mentioned in a discussion
143
- */
144
- discussion?: SCFeedDiscussionType;
145
- /**
146
- * If the user is mentioned in a post
147
- */
148
- post?: SCFeedPostType;
149
- /**
150
- * If user is mentioned in a status
151
- */
152
- status?: SCFeedStatusType;
153
- /**
154
- * If user is mentioned in a comment
155
- */
156
- comment?: SCCommentType;
157
- }
158
- /**
159
- * Interface SCNotificationConnectionRequestType.
160
- * Connection Request Notification Schema.
161
- */
162
- export interface SCNotificationConnectionRequestType extends SCNotificationType {
163
- /**
164
- * Type Connection request
165
- */
166
- type: SCNotificationTypologyType.CONNECTION_REQUEST;
167
- /**
168
- * User request the connection
169
- */
170
- request_user: SCUserType;
171
- }
172
- /**
173
- * Interface SCNotificationConnectionAcceptType.
174
- * Connection Accept Notification Schema.
175
- */
176
- export interface SCNotificationConnectionAcceptType extends SCNotificationType {
177
- /**
178
- * Type Connection accept
179
- */
180
- type: SCNotificationTypologyType.CONNECTION_ACCEPT;
181
- /**
182
- * User accepted the connection request
183
- */
184
- accept_user: SCUserType;
185
- }
186
- /**
187
- * Interface SCNotificationPrivateMessageType.
188
- * Private Message Notification Schema.
189
- */
190
- export interface SCNotificationPrivateMessageType extends SCNotificationType {
191
- /**
192
- * Type Private message
193
- */
194
- type: SCNotificationTypologyType.PRIVATE_MESSAGE;
195
- /**
196
- * Private message
197
- */
198
- message: SCPrivateMessageType;
199
- }
200
- /**
201
- * Interface SCNotificationFollowType.
202
- * Follow Notification Schema.
203
- * (discussion, post, status)
204
- */
205
- export interface SCNotificationFollowType extends SCNotificationType {
206
- /**
207
- * Type Follow
208
- */
209
- type: SCNotificationTypologyType.FOLLOW;
210
- /**
211
- * If user is mentioned in a discussion
212
- */
213
- discussion?: SCFeedDiscussionType;
214
- /**
215
- * If the user is mentioned in a post
216
- */
217
- post?: SCFeedPostType;
218
- /**
219
- * If user is mentioned in a status
220
- */
221
- status?: SCFeedStatusType;
222
- }
223
- /**
224
- * Interface SCNotificationVoteUpType.
225
- * VoteUp Notification Schema.
226
- */
227
- export interface SCNotificationVoteUpType extends SCNotificationType {
228
- /**
229
- * Type VoteUp
230
- */
231
- type: SCNotificationTypologyType.VOTE_UP;
232
- /**
233
- * If user is mentioned in a discussion
234
- */
235
- discussion?: SCFeedDiscussionType;
236
- /**
237
- * If the user is mentioned in a post
238
- */
239
- post?: SCFeedPostType;
240
- /**
241
- * If user is mentioned in a status
242
- */
243
- status?: SCFeedStatusType;
244
- /**
245
- * If user is mentioned in a comment
246
- */
247
- comment?: SCCommentType;
248
- /**
249
- * User voted up
250
- */
251
- user?: SCUserType;
252
- }
253
- /**
254
- * Interface SCNotificationBlockedUserType.
255
- * Blocked User Notification Schema.
256
- */
257
- export interface SCNotificationBlockedUserType extends SCNotificationType {
258
- /**
259
- * Type Blocked User
260
- */
261
- type: SCNotificationTypologyType.BLOCKED_USER;
262
- /**
263
- * Data of user block
264
- */
265
- blocked_settings: SCUserBlockedSettingsType;
266
- }
267
- /**
268
- * Interface SCNotificationUnBlockedUserType.
269
- * UnBlocked User Notification Schema.
270
- */
271
- export interface SCNotificationUnBlockedUserType extends SCNotificationType {
272
- /**
273
- * Type UnBlocked User
274
- */
275
- type: SCNotificationTypologyType.UNBLOCKED_USER;
276
- }
277
- /**
278
- * Interface SCNotificationKindlyNoticeType.
279
- * Kindly notice User Notification Schema.
280
- */
281
- export interface SCNotificationKindlyNoticeType extends SCNotificationType {
282
- /**
283
- * Type Kindly Notice User
284
- */
285
- type: SCNotificationTypologyType.KINDLY_NOTICE_ADVERTISING | SCNotificationTypologyType.KINDLY_NOTICE_FLAG | SCNotificationTypologyType.KINDLY_NOTICE_VULGAR | SCNotificationTypologyType.KINDLY_NOTICE_AGGRESSIVE | SCNotificationTypologyType.KINDLY_NOTICE_POOR | SCNotificationTypologyType.KINDLY_NOTICE_OFFTOPIC;
286
- /**
287
- * If the contribute is a discussion
288
- */
289
- discussion?: SCFeedDiscussionType;
290
- /**
291
- * If the contribute is a post
292
- */
293
- post?: SCFeedPostType;
294
- /**
295
- * If the contribute is a status
296
- */
297
- status?: SCFeedStatusType;
298
- /**
299
- * If the contribute is a comment
300
- */
301
- comment?: SCCommentType;
302
- }
303
- /**
304
- * Interface SCNotificationCollapsedForType.
305
- * Collapsed for Notification Schema.
306
- * Only for comments.
307
- */
308
- export interface SCNotificationCollapsedForType extends SCNotificationType {
309
- /**
310
- * Type Kindly Notice User
311
- */
312
- type: SCNotificationTypologyType.COLLAPSED_FOR_ADVERTISING | SCNotificationTypologyType.COLLAPSED_FOR_AGGRESSIVE | SCNotificationTypologyType.COLLAPSED_FOR_POOR | SCNotificationTypologyType.COLLAPSED_FOR_OFFTOPIC | SCNotificationTypologyType.COLLAPSED_FOR_VULGAR;
313
- /**
314
- * comment collapsed
315
- */
316
- comment: SCCommentType;
317
- }
318
- /**
319
- * Interface SCNotificationDeletedForType.
320
- * Deleted for Notification Schema.
321
- */
322
- export interface SCNotificationDeletedForType extends SCNotificationType {
323
- /**
324
- * Type Deleted for
325
- */
326
- type: SCNotificationTypologyType.DELETED_FOR_ADVERTISING | SCNotificationTypologyType.DELETED_FOR_AGGRESSIVE | SCNotificationTypologyType.DELETED_FOR_VULGAR | SCNotificationTypologyType.DELETED_FOR_POOR | SCNotificationTypologyType.DELETED_FOR_OFFTOPIC;
327
- /**
328
- * If a discussion is deleted
329
- */
330
- discussion?: SCFeedDiscussionType;
331
- /**
332
- * If a post is deleted
333
- */
334
- post?: SCFeedPostType;
335
- /**
336
- * If a comment is deleted
337
- */
338
- status?: SCFeedStatusType;
339
- /**
340
- * If a status is deleted
341
- */
342
- comment?: SCCommentType;
343
- }
344
- /**
345
- * Interface SCNotificationUnDeletedForType.
346
- * Undeleted for Notification Schema.
347
- */
348
- export interface SCNotificationUnDeletedForType extends SCNotificationType {
349
- /**
350
- * Type Undeleted for
351
- */
352
- type: SCNotificationTypologyType.UNDELETED_FOR;
353
- /**
354
- * If a discussion is undeleted
355
- */
356
- discussion?: SCFeedDiscussionType;
357
- /**
358
- * If a post is undeleted
359
- */
360
- post?: SCFeedPostType;
361
- /**
362
- * If a comment is undeleted
363
- */
364
- status?: SCFeedStatusType;
365
- /**
366
- * If a status is undeleted
367
- */
368
- comment?: SCCommentType;
369
- }
370
- /**
371
- * Interface SCNotificationUserFollowType.
372
- * User Follow Notification Schema.
373
- */
374
- export interface SCNotificationUserFollowType extends SCNotificationType {
375
- /**
376
- * Type User Follow
377
- */
378
- type: SCNotificationTypologyType.USER_FOLLOW;
379
- /**
380
- * Follower
381
- */
382
- follower: SCUserType;
383
- }
384
- /**
385
- * Interface SCNotificationIncubatorType.
386
- * The incubator proposed by the user has been approved
387
- */
388
- export interface SCNotificationIncubatorType extends SCNotificationType {
389
- /**
390
- * Type Incubator Approved
391
- */
392
- type: SCNotificationTypologyType.INCUBATOR_APPROVED;
393
- /**
394
- * Incubator
395
- */
396
- incubator: SCIncubatorType;
397
- }
398
- /**
399
- * Interface SCNotificationCustomNotificationType.
400
- * CustomNotification Notification Schema.
401
- */
402
- export interface SCNotificationCustomNotificationType extends SCNotificationType {
403
- /**
404
- * Type User Follow
405
- */
406
- type: SCNotificationTypologyType.CUSTOM_NOTIFICATION;
407
- /**
408
- * User generate the custom notification
409
- */
410
- user: SCUserType;
411
- /**
412
- * Custom notification data
413
- */
414
- custom_notification: SCCustomNotificationType;
415
- }
416
- //# sourceMappingURL=notification.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"notification.d.ts","sourceRoot":"","sources":["../../../../../../types/src/types/notification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,aAAa,EAAE,oBAAoB,EAAE,cAAc,EAAE,gBAAgB,EAAE,UAAU,EAAC,MAAM,UAAU,CAAC;AAC3H,OAAO,EAAC,oBAAoB,EAAC,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAAC,yBAAyB,EAAC,MAAM,QAAQ,CAAC;AACjD,OAAO,EAAC,wBAAwB,EAAC,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAC,eAAe,EAAC,MAAM,aAAa,CAAC;AAE5C;;GAEG;AACH,oBAAY,0BAA0B;IACpC,OAAO,YAAY;IACnB,cAAc,mBAAmB;IACjC,kBAAkB,uBAAuB;IACzC,iBAAiB,s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