@selfcommunity/react-ui 0.1.4 → 0.1.5-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (211) hide show
  1. package/lib/cjs/components/AccountSignIn/AccountSignIn.js +3 -1
  2. package/lib/cjs/components/BroadcastMessages/BroadcastMessages.js +3 -1
  3. package/lib/cjs/components/BroadcastMessages/Message.js +3 -1
  4. package/lib/cjs/components/CategoriesFollowed/CategoriesFollowed.js +3 -1
  5. package/lib/cjs/components/CategoriesPopular/CategoriesPopular.js +2 -2
  6. package/lib/cjs/components/ChangeCover/ChangeCover.js +2 -2
  7. package/lib/cjs/components/CommentObject/CommentObject.js +5 -3
  8. package/lib/cjs/components/CommentObject/Votes/VotesDialog/VotesDialog.js +3 -1
  9. package/lib/cjs/components/CommentsFeedObject/CommentsFeedObject.js +3 -1
  10. package/lib/cjs/components/CommentsObject/CommentsObject.js +3 -3
  11. package/lib/cjs/components/Composer/Composer.js +4 -4
  12. package/lib/cjs/components/Feed/Feed.js +4 -4
  13. package/lib/cjs/components/FeedObject/Actions/Follow/Follow.js +3 -1
  14. package/lib/cjs/components/FeedObject/Actions/Share/Share.js +3 -1
  15. package/lib/cjs/components/FeedObject/Actions/Share/SharesDialog/SharesDialog.js +3 -1
  16. package/lib/cjs/components/FeedObject/Actions/Vote/Vote.js +4 -2
  17. package/lib/cjs/components/FeedObject/Activities/ActivitiesMenu/ActivitiesMenu.js +3 -1
  18. package/lib/cjs/components/FeedObject/Contributors/Contributors.js +3 -1
  19. package/lib/cjs/components/FeedObject/FeedObject.js +3 -1
  20. package/lib/cjs/components/FeedObject/Poll/Poll.js +2 -2
  21. package/lib/cjs/components/FollowCategoryButton/FollowCategoryButton.js +3 -1
  22. package/lib/cjs/components/FollowUserButton/FollowUserButton.js +3 -1
  23. package/lib/cjs/components/Footer/Footer.js +4 -2
  24. package/lib/cjs/components/Incubator/SubscribeButton/SubscribeButton.js +3 -1
  25. package/lib/cjs/components/IncubatorDetail/IncubatorDetail.js +3 -1
  26. package/lib/cjs/components/IncubatorSuggestion/IncubatorSuggestion.js +3 -1
  27. package/lib/cjs/components/IncubatorsList/CreateIncubatorDialog/CreateIncubatorDialog.js +3 -1
  28. package/lib/cjs/components/IncubatorsList/IncubatorsList.js +2 -2
  29. package/lib/cjs/components/Notification/CollapsedFor/CollapsedFor.js +5 -3
  30. package/lib/cjs/components/Notification/DeletedFor/DeletedFor.js +5 -3
  31. package/lib/cjs/components/Notification/KindlyNoticeFlag/KindlyNoticeFlag.js +3 -1
  32. package/lib/cjs/components/Notification/KindlyNoticeFor/KindlyNoticeFor.js +5 -3
  33. package/lib/cjs/components/Notification/Notification.js +4 -2
  34. package/lib/cjs/components/PollSuggestion/PollSuggestion.js +3 -1
  35. package/lib/cjs/components/RelatedFeedObjects/RelatedFeedObjects.js +4 -2
  36. package/lib/cjs/components/SnippetNotifications/SnippetNotifications.js +3 -1
  37. package/lib/cjs/components/TrendingFeed/TrendingFeed.js +2 -2
  38. package/lib/cjs/components/UserFollowers/UserFollowers.js +3 -1
  39. package/lib/cjs/components/UserProfileEdit/Section/PublicInfo.js +6 -5
  40. package/lib/cjs/components/UserProfileInfo/UserProfileInfo.js +3 -1
  41. package/lib/cjs/components/UsersFollowed/UsersFollowed.js +3 -1
  42. package/lib/cjs/shared/ContributionActionsMenu/index.js +10 -10
  43. package/lib/cjs/shared/Lightbox/Lightbox.js +5 -5
  44. package/lib/cjs/shared/Media/Link/UrlTextField/index.js +3 -3
  45. package/lib/esm/api-services/src/constants/Endpoints.d.ts.map +1 -1
  46. package/lib/esm/api-services/src/index.d.ts +26 -3
  47. package/lib/esm/api-services/src/index.d.ts.map +1 -1
  48. package/lib/esm/api-services/src/services/category/index.d.ts +42 -0
  49. package/lib/esm/api-services/src/services/category/index.d.ts.map +1 -1
  50. package/lib/esm/api-services/src/services/comment/index.d.ts +40 -0
  51. package/lib/esm/api-services/src/services/comment/index.d.ts.map +1 -0
  52. package/lib/esm/api-services/src/services/custom_adv/index.d.ts +16 -0
  53. package/lib/esm/api-services/src/services/custom_adv/index.d.ts.map +1 -0
  54. package/lib/esm/api-services/src/services/custom_page/index.d.ts +16 -0
  55. package/lib/esm/api-services/src/services/custom_page/index.d.ts.map +1 -0
  56. package/lib/esm/api-services/src/services/data_portability/index.d.ts +16 -0
  57. package/lib/esm/api-services/src/services/data_portability/index.d.ts.map +1 -0
  58. package/lib/esm/api-services/src/services/dynamic_preference/index.d.ts +16 -0
  59. package/lib/esm/api-services/src/services/dynamic_preference/index.d.ts.map +1 -0
  60. package/lib/esm/api-services/src/services/embed/index.d.ts +31 -0
  61. package/lib/esm/api-services/src/services/embed/index.d.ts.map +1 -0
  62. package/lib/esm/api-services/src/services/feed/index.d.ts +22 -0
  63. package/lib/esm/api-services/src/services/feed/index.d.ts.map +1 -0
  64. package/lib/esm/api-services/src/services/feed_object/index.d.ts +88 -0
  65. package/lib/esm/api-services/src/services/feed_object/index.d.ts.map +1 -0
  66. package/lib/esm/api-services/src/services/incubator/index.d.ts +28 -0
  67. package/lib/esm/api-services/src/services/incubator/index.d.ts.map +1 -0
  68. package/lib/esm/api-services/src/services/insight/index.d.ts +25 -0
  69. package/lib/esm/api-services/src/services/insight/index.d.ts.map +1 -0
  70. package/lib/esm/api-services/src/services/legal_page/index.d.ts +25 -0
  71. package/lib/esm/api-services/src/services/legal_page/index.d.ts.map +1 -0
  72. package/lib/esm/api-services/src/services/locality/index.d.ts +13 -0
  73. package/lib/esm/api-services/src/services/locality/index.d.ts.map +1 -0
  74. package/lib/esm/api-services/src/services/loyalty/index.d.ts +34 -0
  75. package/lib/esm/api-services/src/services/loyalty/index.d.ts.map +1 -0
  76. package/lib/esm/api-services/src/services/media/index.d.ts +28 -0
  77. package/lib/esm/api-services/src/services/media/index.d.ts.map +1 -0
  78. package/lib/esm/api-services/src/services/moderation/index.d.ts +25 -0
  79. package/lib/esm/api-services/src/services/moderation/index.d.ts.map +1 -0
  80. package/lib/esm/api-services/src/services/notification/index.d.ts +34 -0
  81. package/lib/esm/api-services/src/services/notification/index.d.ts.map +1 -0
  82. package/lib/esm/api-services/src/services/private_message/index.d.ts +37 -0
  83. package/lib/esm/api-services/src/services/private_message/index.d.ts.map +1 -0
  84. package/lib/esm/api-services/src/services/score/index.d.ts +16 -0
  85. package/lib/esm/api-services/src/services/score/index.d.ts.map +1 -0
  86. package/lib/esm/api-services/src/services/sso/index.d.ts +13 -0
  87. package/lib/esm/api-services/src/services/sso/index.d.ts.map +1 -0
  88. package/lib/esm/api-services/src/services/suggestion/index.d.ts +19 -0
  89. package/lib/esm/api-services/src/services/suggestion/index.d.ts.map +1 -0
  90. package/lib/esm/api-services/src/services/tag/index.d.ts +28 -0
  91. package/lib/esm/api-services/src/services/tag/index.d.ts.map +1 -0
  92. package/lib/esm/api-services/src/services/user/index.d.ts +132 -0
  93. package/lib/esm/api-services/src/services/user/index.d.ts.map +1 -1
  94. package/lib/esm/api-services/src/services/webhook/index.d.ts +43 -0
  95. package/lib/esm/api-services/src/services/webhook/index.d.ts.map +1 -0
  96. package/lib/esm/api-services/src/utils/token.d.ts +5 -0
  97. package/lib/esm/api-services/src/utils/token.d.ts.map +1 -1
  98. package/lib/esm/components/AccountSignIn/AccountSignIn.js +3 -1
  99. package/lib/esm/components/BroadcastMessages/BroadcastMessages.js +3 -1
  100. package/lib/esm/components/BroadcastMessages/Message.js +3 -1
  101. package/lib/esm/components/CategoriesFollowed/CategoriesFollowed.js +3 -1
  102. package/lib/esm/components/CategoriesPopular/CategoriesPopular.js +2 -2
  103. package/lib/esm/components/ChangeCover/ChangeCover.js +2 -2
  104. package/lib/esm/components/CommentObject/CommentObject.js +5 -3
  105. package/lib/esm/components/CommentObject/Votes/VotesDialog/VotesDialog.js +3 -1
  106. package/lib/esm/components/CommentsFeedObject/CommentsFeedObject.js +3 -1
  107. package/lib/esm/components/CommentsObject/CommentsObject.js +3 -3
  108. package/lib/esm/components/Composer/Composer.js +4 -4
  109. package/lib/esm/components/Feed/Feed.js +4 -4
  110. package/lib/esm/components/FeedObject/Actions/Follow/Follow.js +3 -1
  111. package/lib/esm/components/FeedObject/Actions/Share/Share.js +3 -1
  112. package/lib/esm/components/FeedObject/Actions/Share/SharesDialog/SharesDialog.js +3 -1
  113. package/lib/esm/components/FeedObject/Actions/Vote/Vote.js +4 -2
  114. package/lib/esm/components/FeedObject/Activities/ActivitiesMenu/ActivitiesMenu.js +3 -1
  115. package/lib/esm/components/FeedObject/Contributors/Contributors.js +3 -1
  116. package/lib/esm/components/FeedObject/FeedObject.js +3 -1
  117. package/lib/esm/components/FeedObject/Poll/Poll.js +2 -2
  118. package/lib/esm/components/FollowCategoryButton/FollowCategoryButton.js +3 -1
  119. package/lib/esm/components/FollowUserButton/FollowUserButton.js +3 -1
  120. package/lib/esm/components/Footer/Footer.js +4 -2
  121. package/lib/esm/components/Incubator/SubscribeButton/SubscribeButton.js +3 -1
  122. package/lib/esm/components/IncubatorDetail/IncubatorDetail.js +3 -1
  123. package/lib/esm/components/IncubatorSuggestion/IncubatorSuggestion.js +3 -1
  124. package/lib/esm/components/IncubatorsList/CreateIncubatorDialog/CreateIncubatorDialog.js +3 -1
  125. package/lib/esm/components/IncubatorsList/IncubatorsList.js +2 -2
  126. package/lib/esm/components/Notification/CollapsedFor/CollapsedFor.js +5 -3
  127. package/lib/esm/components/Notification/DeletedFor/DeletedFor.js +5 -3
  128. package/lib/esm/components/Notification/KindlyNoticeFlag/KindlyNoticeFlag.js +3 -1
  129. package/lib/esm/components/Notification/KindlyNoticeFor/KindlyNoticeFor.js +5 -3
  130. package/lib/esm/components/Notification/Notification.js +4 -2
  131. package/lib/esm/components/PollSuggestion/PollSuggestion.js +3 -1
  132. package/lib/esm/components/RelatedFeedObjects/RelatedFeedObjects.js +4 -2
  133. package/lib/esm/components/SnippetNotifications/SnippetNotifications.js +3 -1
  134. package/lib/esm/components/TrendingFeed/TrendingFeed.js +2 -2
  135. package/lib/esm/components/UserFollowers/UserFollowers.js +3 -1
  136. package/lib/esm/components/UserProfileEdit/Section/PublicInfo.js +6 -5
  137. package/lib/esm/components/UserProfileInfo/UserProfileInfo.js +3 -1
  138. package/lib/esm/components/UsersFollowed/UsersFollowed.js +3 -1
  139. package/lib/esm/react-core/src/hooks/useSCFetchAddressingTagList.d.ts.map +1 -1
  140. package/lib/esm/react-core/src/hooks/useSCFetchCommentObjects.d.ts +1 -2
  141. package/lib/esm/react-core/src/hooks/useSCFetchCommentObjects.d.ts.map +1 -1
  142. package/lib/esm/react-core/src/hooks/useSCWebSocket.d.ts +1 -1
  143. package/lib/esm/react-core/src/hooks/useSCWebSocket.d.ts.map +1 -1
  144. package/lib/esm/react-core/src/index.d.ts +2 -7
  145. package/lib/esm/react-core/src/index.d.ts.map +1 -1
  146. package/lib/esm/react-core/src/utils/validator.d.ts.map +1 -1
  147. package/lib/esm/react-ui/src/components/AccountSignIn/AccountSignIn.d.ts.map +1 -1
  148. package/lib/esm/react-ui/src/components/BroadcastMessages/BroadcastMessages.d.ts.map +1 -1
  149. package/lib/esm/react-ui/src/components/CategoriesFollowed/CategoriesFollowed.d.ts.map +1 -1
  150. package/lib/esm/react-ui/src/components/CommentObject/Votes/VotesDialog/VotesDialog.d.ts.map +1 -1
  151. package/lib/esm/react-ui/src/components/CommentsFeedObject/CommentsFeedObject.d.ts.map +1 -1
  152. package/lib/esm/react-ui/src/components/Feed/Feed.d.ts.map +1 -1
  153. package/lib/esm/react-ui/src/components/FeedObject/Actions/Follow/Follow.d.ts.map +1 -1
  154. package/lib/esm/react-ui/src/components/FeedObject/Actions/Share/SharesDialog/SharesDialog.d.ts.map +1 -1
  155. package/lib/esm/react-ui/src/components/FeedObject/Actions/Vote/Vote.d.ts.map +1 -1
  156. package/lib/esm/react-ui/src/components/FeedObject/Activities/ActivitiesMenu/ActivitiesMenu.d.ts.map +1 -1
  157. package/lib/esm/react-ui/src/components/FeedObject/Contributors/Contributors.d.ts.map +1 -1
  158. package/lib/esm/react-ui/src/components/IncubatorSuggestion/IncubatorSuggestion.d.ts.map +1 -1
  159. package/lib/esm/react-ui/src/components/IncubatorsList/CreateIncubatorDialog/CreateIncubatorDialog.d.ts.map +1 -1
  160. package/lib/esm/react-ui/src/components/Notification/CollapsedFor/CollapsedFor.d.ts.map +1 -1
  161. package/lib/esm/react-ui/src/components/Notification/DeletedFor/DeletedFor.d.ts.map +1 -1
  162. package/lib/esm/react-ui/src/components/Notification/KindlyNoticeFlag/KindlyNoticeFlag.d.ts.map +1 -1
  163. package/lib/esm/react-ui/src/components/Notification/KindlyNoticeFor/KindlyNoticeFor.d.ts.map +1 -1
  164. package/lib/esm/react-ui/src/components/Notification/Notification.d.ts.map +1 -1
  165. package/lib/esm/react-ui/src/components/PollSuggestion/PollSuggestion.d.ts.map +1 -1
  166. package/lib/esm/react-ui/src/components/RelatedFeedObjects/RelatedFeedObjects.d.ts.map +1 -1
  167. package/lib/esm/react-ui/src/components/SnippetNotifications/SnippetNotifications.d.ts.map +1 -1
  168. package/lib/esm/react-ui/src/components/UserFollowers/UserFollowers.d.ts.map +1 -1
  169. package/lib/esm/react-ui/src/components/UserProfileEdit/Section/PublicInfo.d.ts.map +1 -1
  170. package/lib/esm/react-ui/src/components/UserProfileInfo/UserProfileInfo.d.ts.map +1 -1
  171. package/lib/esm/react-ui/src/components/UsersFollowed/UsersFollowed.d.ts.map +1 -1
  172. package/lib/esm/react-ui/src/shared/ContributionActionsMenu/index.d.ts.map +1 -1
  173. package/lib/esm/shared/ContributionActionsMenu/index.js +10 -10
  174. package/lib/esm/shared/Lightbox/Lightbox.js +5 -5
  175. package/lib/esm/shared/Media/Link/UrlTextField/index.js +3 -3
  176. package/lib/esm/utils/src/index.d.ts +8 -3
  177. package/lib/esm/utils/src/index.d.ts.map +1 -1
  178. package/lib/esm/utils/src/utils/browser.d.ts +9 -0
  179. package/lib/esm/utils/src/utils/browser.d.ts.map +1 -0
  180. package/lib/esm/{react-core → utils}/src/utils/logger.d.ts +0 -0
  181. package/lib/esm/utils/src/utils/logger.d.ts.map +1 -0
  182. package/lib/esm/{react-core → utils}/src/utils/object.d.ts +0 -0
  183. package/lib/esm/utils/src/utils/object.d.ts.map +1 -0
  184. package/lib/esm/utils/src/utils/string.d.ts +22 -0
  185. package/lib/esm/utils/src/utils/string.d.ts.map +1 -1
  186. package/lib/esm/utils/src/utils/url.d.ts +11 -0
  187. package/lib/esm/utils/src/utils/url.d.ts.map +1 -1
  188. package/lib/esm/{react-core → utils}/src/utils/websocket.d.ts +0 -0
  189. package/lib/esm/utils/src/utils/websocket.d.ts.map +1 -0
  190. package/lib/umd/react-ui.js +14 -14
  191. package/lib/umd/react-ui.js.map +1 -1
  192. package/package.json +6 -6
  193. package/lib/cjs/scss/styles.scss +0 -0
  194. package/lib/cjs/utils/string.js +0 -65
  195. package/lib/cjs/utils/url.js +0 -24
  196. package/lib/cjs/utils/window.js +0 -41
  197. package/lib/esm/react-core/src/utils/logger.d.ts.map +0 -1
  198. package/lib/esm/react-core/src/utils/object.d.ts.map +0 -1
  199. package/lib/esm/react-core/src/utils/string.d.ts +0 -21
  200. package/lib/esm/react-core/src/utils/string.d.ts.map +0 -1
  201. package/lib/esm/react-core/src/utils/url.d.ts +0 -22
  202. package/lib/esm/react-core/src/utils/url.d.ts.map +0 -1
  203. package/lib/esm/react-core/src/utils/webPushMessaging.d.ts +0 -14
  204. package/lib/esm/react-core/src/utils/webPushMessaging.d.ts.map +0 -1
  205. package/lib/esm/react-core/src/utils/websocket.d.ts.map +0 -1
  206. package/lib/esm/react-ui/src/utils/url.d.ts +0 -7
  207. package/lib/esm/react-ui/src/utils/url.d.ts.map +0 -1
  208. package/lib/esm/scss/styles.scss +0 -0
  209. package/lib/esm/utils/string.js +0 -65
  210. package/lib/esm/utils/url.js +0 -24
  211. package/lib/esm/utils/window.js +0 -41
@@ -13,6 +13,8 @@ var _Icon = _interopRequireDefault(require("@mui/material/Icon"));
13
13
 
14
14
  var _reactCore = require("@selfcommunity/react-core");
15
15
 
16
+ var _utils = require("@selfcommunity/utils");
17
+
16
18
  var _reactIntl = require("react-intl");
17
19
 
18
20
  var _contribution = require("../../../utils/contribution");
@@ -137,7 +139,7 @@ function KindlyNoticeFlagNotification(inProps) {
137
139
  component: "div",
138
140
  color: "inherit",
139
141
  className: classes.flagText
140
- }, intl.formatMessage(messages[_reactCore.StringUtils.camelCase(notificationObject.type)], {
142
+ }, intl.formatMessage(messages[(0, _utils.camelCase)(notificationObject.type)], {
141
143
  b: (...chunks) => /*#__PURE__*/_react.default.createElement("strong", null, chunks)
142
144
  }))),
143
145
  secondary: template === _types.SCNotificationObjectTemplateType.DETAIL && /*#__PURE__*/_react.default.createElement(_DateTimeAgo.default, {
@@ -11,6 +11,8 @@ var _material = require("@mui/material");
11
11
 
12
12
  var _Icon = _interopRequireDefault(require("@mui/material/Icon"));
13
13
 
14
+ var _utils = require("@selfcommunity/utils");
15
+
14
16
  var _reactCore = require("@selfcommunity/react-core");
15
17
 
16
18
  var _reactIntl = require("react-intl");
@@ -152,13 +154,13 @@ function KindlyNoticeForNotification(inProps) {
152
154
  color: "inherit",
153
155
  className: classes.flagText
154
156
  }, /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, {
155
- id: `ui.notification.kindlyNoticeFor.${_reactCore.StringUtils.camelCase(notificationObject.type)}Snippet`,
156
- defaultMessage: `ui.notification.kindlyNoticeFor.${_reactCore.StringUtils.camelCase(notificationObject.type)}Snippet`
157
+ id: `ui.notification.kindlyNoticeFor.${(0, _utils.camelCase)(notificationObject.type)}Snippet`,
158
+ defaultMessage: `ui.notification.kindlyNoticeFor.${(0, _utils.camelCase)(notificationObject.type)}Snippet`
157
159
  }))) : /*#__PURE__*/_react.default.createElement(_material.Typography, {
158
160
  component: "div",
159
161
  color: "inherit",
160
162
  className: classes.flagText
161
- }, intl.formatMessage(messages[_reactCore.StringUtils.camelCase(notificationObject.type)], {
163
+ }, intl.formatMessage(messages[(0, _utils.camelCase)(notificationObject.type)], {
162
164
  b: (...chunks) => /*#__PURE__*/_react.default.createElement("strong", null, chunks)
163
165
  }))),
164
166
  secondary: template === _types.SCNotificationObjectTemplateType.DETAIL && /*#__PURE__*/_react.default.createElement(_DateTimeAgo.default, {
@@ -59,6 +59,8 @@ var _useThemeProps = _interopRequireDefault(require("@mui/material/styles/useThe
59
59
 
60
60
  var _BaseItem = _interopRequireDefault(require("../../shared/BaseItem"));
61
61
 
62
+ var _utils = require("@selfcommunity/utils");
63
+
62
64
  var _types = require("@selfcommunity/types");
63
65
 
64
66
  var _apiServices = require("@selfcommunity/api-services");
@@ -241,7 +243,7 @@ function UserNotification(inProps) {
241
243
  setObj(newObj);
242
244
  setLoadingSuspendNotification(false);
243
245
  }).catch(error => {
244
- _reactCore.Logger.error(_Errors.SCOPE_SC_UI, error);
246
+ _utils.Logger.error(_Errors.SCOPE_SC_UI, error);
245
247
  });
246
248
  }
247
249
  /**
@@ -284,7 +286,7 @@ function UserNotification(inProps) {
284
286
  setObj(newObj);
285
287
  setLoadingVote(null);
286
288
  }).catch(error => {
287
- _reactCore.Logger.error(_Errors.SCOPE_SC_UI, error);
289
+ _utils.Logger.error(_Errors.SCOPE_SC_UI, error);
288
290
  });
289
291
  }
290
292
  /**
@@ -13,6 +13,8 @@ var _material = require("@mui/material");
13
13
 
14
14
  var _apiServices = require("@selfcommunity/api-services");
15
15
 
16
+ var _utils = require("@selfcommunity/utils");
17
+
16
18
  var _reactCore = require("@selfcommunity/react-core");
17
19
 
18
20
  var _Skeleton = _interopRequireDefault(require("../TrendingFeed/Skeleton"));
@@ -138,7 +140,7 @@ function PollSuggestion(inProps) {
138
140
  setLoading(false);
139
141
  setNext(data['next']);
140
142
  }).catch(error => {
141
- _reactCore.Logger.error(_Errors.SCOPE_SC_UI, error);
143
+ _utils.Logger.error(_Errors.SCOPE_SC_UI, error);
142
144
  });
143
145
  }
144
146
  }
@@ -37,10 +37,12 @@ var _useThemeProps = _interopRequireDefault(require("@mui/material/styles/useThe
37
37
 
38
38
  var _apiServices = require("@selfcommunity/api-services");
39
39
 
40
- var _reactCore = require("@selfcommunity/react-core");
40
+ var _utils = require("@selfcommunity/utils");
41
41
 
42
42
  var _types = require("@selfcommunity/types");
43
43
 
44
+ var _reactCore = require("@selfcommunity/react-core");
45
+
44
46
  const _excluded = ["feedObject", "feedObjectId", "feedObjectType", "template", "FeedObjectProps", "className", "autoHide"];
45
47
 
46
48
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -187,7 +189,7 @@ function RelatedFeedObjects(inProps) {
187
189
  setTotal(data.count);
188
190
  setNext(data['next']);
189
191
  }).catch(error => {
190
- _reactCore.Logger.error(_Errors.SCOPE_SC_UI, error);
192
+ _utils.Logger.error(_Errors.SCOPE_SC_UI, error);
191
193
  });
192
194
  }
193
195
  }
@@ -55,6 +55,8 @@ var _types2 = require("@selfcommunity/types");
55
55
 
56
56
  var _apiServices = require("@selfcommunity/api-services");
57
57
 
58
+ var _utils = require("@selfcommunity/utils");
59
+
58
60
  var _reactCore = require("@selfcommunity/react-core");
59
61
 
60
62
  var _useThemeProps = _interopRequireDefault(require("@mui/material/styles/useThemeProps"));
@@ -187,7 +189,7 @@ function SnippetNotifications(inProps) {
187
189
  setLoading(false);
188
190
  scUserContext.refreshNotificationCounters();
189
191
  }).catch(error => {
190
- _reactCore.Logger.error(_Errors.SCOPE_SC_UI, error);
192
+ _utils.Logger.error(_Errors.SCOPE_SC_UI, error);
191
193
  });
192
194
  }
193
195
  /**
@@ -15,7 +15,7 @@ var _Widget = _interopRequireDefault(require("../Widget"));
15
15
 
16
16
  var _apiServices = require("@selfcommunity/api-services");
17
17
 
18
- var _reactCore = require("@selfcommunity/react-core");
18
+ var _utils = require("@selfcommunity/utils");
19
19
 
20
20
  var _Errors = require("../../constants/Errors");
21
21
 
@@ -140,7 +140,7 @@ function TrendingFeed(inProps) {
140
140
  }).catch(error => {
141
141
  setLoading(false);
142
142
 
143
- _reactCore.Logger.error(_Errors.SCOPE_SC_UI, error);
143
+ _utils.Logger.error(_Errors.SCOPE_SC_UI, error);
144
144
  });
145
145
  }
146
146
  }
@@ -15,6 +15,8 @@ var _Widget = _interopRequireDefault(require("../Widget"));
15
15
 
16
16
  var _apiServices = require("@selfcommunity/api-services");
17
17
 
18
+ var _utils = require("@selfcommunity/utils");
19
+
18
20
  var _reactCore = require("@selfcommunity/react-core");
19
21
 
20
22
  var _Skeleton = _interopRequireDefault(require("./Skeleton"));
@@ -150,7 +152,7 @@ function UserFollowers(inProps) {
150
152
  }).catch(error => {
151
153
  setLoading(false);
152
154
 
153
- _reactCore.Logger.error(_Errors.SCOPE_SC_UI, error);
155
+ _utils.Logger.error(_Errors.SCOPE_SC_UI, error);
154
156
  });
155
157
  }
156
158
  }
@@ -17,6 +17,8 @@ var _types = require("@selfcommunity/types");
17
17
 
18
18
  var _apiServices = require("@selfcommunity/api-services");
19
19
 
20
+ var _utils = require("@selfcommunity/utils");
21
+
20
22
  var _reactCore = require("@selfcommunity/react-core");
21
23
 
22
24
  var _UserProfile = require("../../../constants/UserProfile");
@@ -118,8 +120,8 @@ function PublicInfo(inProps) {
118
120
  return event => {
119
121
  setEditing([...editing, field]);
120
122
 
121
- if (error[`${_reactCore.StringUtils.camelCase(field)}Error`]) {
122
- delete error[`${_reactCore.StringUtils.camelCase(field)}Error`];
123
+ if (error[`${(0, _utils.camelCase)(field)}Error`]) {
124
+ delete error[`${(0, _utils.camelCase)(field)}Error`];
123
125
  setError(error);
124
126
  }
125
127
  };
@@ -189,8 +191,7 @@ function PublicInfo(inProps) {
189
191
  const renderField = field => {
190
192
  const isEditing = editing.includes(field);
191
193
  const isSaving = saving.includes(field);
192
-
193
- const camelField = _reactCore.StringUtils.camelCase(field);
194
+ const camelField = (0, _utils.camelCase)(field);
194
195
 
195
196
  const _error = error !== null && error[`${camelField}Error`] && error[`${camelField}Error`].error;
196
197
 
@@ -229,7 +230,7 @@ function PublicInfo(inProps) {
229
230
  key: field
230
231
  }, /*#__PURE__*/_react.default.createElement(_lab.DatePicker, {
231
232
  label: intl.formatMessage({
232
- id: `ui.userProfileInfo.${_reactCore.StringUtils.camelCase(field)}`,
233
+ id: `ui.userProfileInfo.${(0, _utils.camelCase)(field)}`,
233
234
  defaultMessage: `ui.userProfileInfo.${field}`
234
235
  }),
235
236
  value: user[field],
@@ -11,6 +11,8 @@ var _material = require("@mui/material");
11
11
 
12
12
  var _reactIntl = require("react-intl");
13
13
 
14
+ var _utils = require("@selfcommunity/utils");
15
+
14
16
  var _types = require("@selfcommunity/types");
15
17
 
16
18
  var _reactCore = require("@selfcommunity/react-core");
@@ -171,7 +173,7 @@ function UserProfileInfo(inProps) {
171
173
  variant: "body2"
172
174
  }, /*#__PURE__*/_react.default.createElement("span", {
173
175
  className: classes.field
174
- }, intl.formatMessage(messages[_reactCore.StringUtils.camelCase(field)]), ":"), " ", renderField(scUser, field)));
176
+ }, intl.formatMessage(messages[(0, _utils.camelCase)(field)]), ":"), " ", renderField(scUser, field)));
175
177
  }
176
178
 
177
179
  return null;
@@ -15,6 +15,8 @@ var _Widget = _interopRequireDefault(require("../Widget"));
15
15
 
16
16
  var _apiServices = require("@selfcommunity/api-services");
17
17
 
18
+ var _utils = require("@selfcommunity/utils");
19
+
18
20
  var _reactCore = require("@selfcommunity/react-core");
19
21
 
20
22
  var _Skeleton = _interopRequireDefault(require("./Skeleton"));
@@ -176,7 +178,7 @@ function UsersFollowed(inProps) {
176
178
  }).catch(error => {
177
179
  setLoading(false);
178
180
 
179
- _reactCore.Logger.error(_Errors.SCOPE_SC_UI, error);
181
+ _utils.Logger.error(_Errors.SCOPE_SC_UI, error);
180
182
  });
181
183
  }
182
184
  }
@@ -17,7 +17,7 @@ var _CentralProgress = _interopRequireDefault(require("../CentralProgress"));
17
17
 
18
18
  var _Errors = require("../../constants/Errors");
19
19
 
20
- var _string = require("../../utils/string");
20
+ var _utils = require("@selfcommunity/utils");
21
21
 
22
22
  var _notistack = require("notistack");
23
23
 
@@ -320,7 +320,7 @@ function ContributionActionsMenu(props) {
320
320
  onSuspendNotificationContribution && onSuspendNotificationContribution(_feedObj);
321
321
  setCurrentActionLoading(null);
322
322
  }).catch(error => {
323
- _reactCore.Logger.error(_Errors.SCOPE_SC_UI, error);
323
+ _utils.Logger.error(_Errors.SCOPE_SC_UI, error);
324
324
 
325
325
  setCurrentAction(null);
326
326
  setCurrentActionLoading(null);
@@ -452,7 +452,7 @@ function ContributionActionsMenu(props) {
452
452
  }).catch(error => {
453
453
  console.dir(error);
454
454
 
455
- _reactCore.Logger.error(_Errors.SCOPE_SC_UI, error);
455
+ _utils.Logger.error(_Errors.SCOPE_SC_UI, error);
456
456
  });
457
457
  }
458
458
 
@@ -475,7 +475,7 @@ function ContributionActionsMenu(props) {
475
475
  }
476
476
  }
477
477
  }).catch(error => {
478
- _reactCore.Logger.error(_Errors.SCOPE_SC_UI, error);
478
+ _utils.Logger.error(_Errors.SCOPE_SC_UI, error);
479
479
  });
480
480
  }
481
481
 
@@ -503,7 +503,7 @@ function ContributionActionsMenu(props) {
503
503
  setFlagType(flagType === type ? null : type);
504
504
  setIsFlagging(false);
505
505
  }).catch(error => {
506
- _reactCore.Logger.error(_Errors.SCOPE_SC_UI, error);
506
+ _utils.Logger.error(_Errors.SCOPE_SC_UI, error);
507
507
  });
508
508
  }
509
509
  }
@@ -571,7 +571,7 @@ function ContributionActionsMenu(props) {
571
571
  }
572
572
 
573
573
  if (action === _ContributionsActionsMenu.GET_CONTRIBUTION_PERMALINK) {
574
- (0, _string.copyTextToClipboard)(`${location.protocol}//${location.host}${scRoutingContext.url((0, _contribution.getContributionRouteName)(contributionObj), (0, _contribution.getRouteData)(contributionObj))}`).then(() => {
574
+ (0, _utils.copyTextToClipboard)(`${location.protocol}//${location.host}${scRoutingContext.url((0, _contribution.getContributionRouteName)(contributionObj), (0, _contribution.getRouteData)(contributionObj))}`).then(() => {
575
575
  setOpen(false);
576
576
  enqueueSnackbar( /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, {
577
577
  id: "ui.common.permanentLinkCopied",
@@ -667,7 +667,7 @@ function ContributionActionsMenu(props) {
667
667
  onDeleteContribution && onDeleteContribution(contributionObj);
668
668
  performPostConfirmAction(true);
669
669
  }).catch(error => {
670
- _reactCore.Logger.error(_Errors.SCOPE_SC_UI, error);
670
+ _utils.Logger.error(_Errors.SCOPE_SC_UI, error);
671
671
 
672
672
  performPostConfirmAction(false);
673
673
  });
@@ -677,7 +677,7 @@ function ContributionActionsMenu(props) {
677
677
  onRestoreContribution && onRestoreContribution(contributionObj);
678
678
  performPostConfirmAction(true);
679
679
  }).catch(error => {
680
- _reactCore.Logger.error(_Errors.SCOPE_SC_UI, error);
680
+ _utils.Logger.error(_Errors.SCOPE_SC_UI, error);
681
681
 
682
682
  performPostConfirmAction(false);
683
683
  });
@@ -689,7 +689,7 @@ function ContributionActionsMenu(props) {
689
689
  onHideContribution && onHideContribution(contributionObj);
690
690
  performPostConfirmAction(true);
691
691
  }).catch(error => {
692
- _reactCore.Logger.error(_Errors.SCOPE_SC_UI, error);
692
+ _utils.Logger.error(_Errors.SCOPE_SC_UI, error);
693
693
 
694
694
  performPostConfirmAction(false);
695
695
  });
@@ -701,7 +701,7 @@ function ContributionActionsMenu(props) {
701
701
  onDeleteContribution && onDeleteContribution(contributionObj);
702
702
  performPostConfirmAction(true);
703
703
  }).catch(error => {
704
- _reactCore.Logger.error(_Errors.SCOPE_SC_UI, error);
704
+ _utils.Logger.error(_Errors.SCOPE_SC_UI, error);
705
705
 
706
706
  performPostConfirmAction(false);
707
707
  });
@@ -17,7 +17,7 @@ var _classnames = _interopRequireDefault(require("classnames"));
17
17
 
18
18
  var _react2 = require("@emotion/react");
19
19
 
20
- var _window = require("../../utils/window.js");
20
+ var _utils = require("@selfcommunity/utils");
21
21
 
22
22
  var _Lightbox = require("../../constants/Lightbox");
23
23
 
@@ -622,7 +622,7 @@ class ReactImageLightbox extends _react.default.Component {
622
622
  targetWidth
623
623
  }) {
624
624
  let nextX = x;
625
- const windowWidth = (0, _window.getWindowWidth)();
625
+ const windowWidth = (0, _utils.getWindowWidth)();
626
626
 
627
627
  if (width > windowWidth) {
628
628
  nextX += (windowWidth - width) / 2;
@@ -643,7 +643,7 @@ class ReactImageLightbox extends _react.default.Component {
643
643
  } // Prevents cross-origin errors when using a cross-origin iframe
644
644
 
645
645
 
646
- this['windowContext'] = (0, _window.getHighestSafeWindowContext)();
646
+ this['windowContext'] = (0, _utils.getHighestSafeWindowContext)();
647
647
  this['listeners'] = {
648
648
  resize: this.handleWindowResize,
649
649
  mouseup: this.handleMouseUp,
@@ -864,8 +864,8 @@ class ReactImageLightbox extends _react.default.Component {
864
864
  }
865
865
 
866
866
  return {
867
- width: (0, _window.getWindowWidth)(),
868
- height: (0, _window.getWindowHeight)(),
867
+ width: (0, _utils.getWindowWidth)(),
868
+ height: (0, _utils.getWindowHeight)(),
869
869
  top: 0,
870
870
  right: 0,
871
871
  bottom: 0,
@@ -15,7 +15,7 @@ var _TextField = _interopRequireDefault(require("@mui/material/TextField"));
15
15
 
16
16
  var _apiServices = require("@selfcommunity/api-services");
17
17
 
18
- var _reactCore = require("@selfcommunity/react-core");
18
+ var _utils = require("@selfcommunity/utils");
19
19
 
20
20
  var _Media = require("../../../../constants/Media");
21
21
 
@@ -77,7 +77,7 @@ var _default = props => {
77
77
  const target = event.target;
78
78
  setState({
79
79
  url: target.value,
80
- urlError: _reactCore.UrlUtils.isValidUrl(target.value) ? null : intl.formatMessage(_common.default.urlError)
80
+ urlError: (0, _utils.isValidUrl)(target.value) ? null : intl.formatMessage(_common.default.urlError)
81
81
  });
82
82
  };
83
83
 
@@ -110,7 +110,7 @@ var _default = props => {
110
110
  const handlePaste = event => {
111
111
  timerRef.current && clearTimeout(timerRef.current);
112
112
  timerRef.current = setTimeout(() => {
113
- if (_reactCore.UrlUtils.isValidUrl(urlRef.current)) {
113
+ if ((0, _utils.isValidUrl)(urlRef.current)) {
114
114
  handleSubmit(event);
115
115
  }
116
116
  }, 500);
@@ -1 +1 @@
1
- {"version":3,"file":"Endpoints.d.ts","sourceRoot":"","sources":["../../../../../../api-services/src/constants/Endpoints.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,UAAU,EAAC,MAAM,WAAW,CAAC;AAErC,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,CAAC,MAAM,CAAC,EAAE,MAAM,KAAK,MAAM,CAAC;IACjC,MAAM,EAAE,UAAU,CAAC;CACpB;AAED,QAAA,MAAM,SAAS,EAAE;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,YAAY,CAAA;CAglB5C,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"Endpoints.d.ts","sourceRoot":"","sources":["../../../../../../api-services/src/constants/Endpoints.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,UAAU,EAAC,MAAM,WAAW,CAAC;AAErC,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,CAAC,MAAM,CAAC,EAAE,MAAM,KAAK,MAAM,CAAC;IACjC,MAAM,EAAE,UAAU,CAAC;CACpB;AAED,QAAA,MAAM,SAAS,EAAE;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,YAAY,CAAA;CAsgC5C,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -10,15 +10,38 @@ import Endpoints, { EndpointType } from './constants/Endpoints';
10
10
  * Utils
11
11
  */
12
12
  import { formatHttpError } from './utils/http';
13
+ import { generateJWTToken, parseJwt } from './utils/token';
13
14
  /**
14
15
  * Services
15
16
  */
17
+ import CategoryService, { CategoryApiClient, CategoryApiClientInterface } from './services/category';
18
+ import CommentService, { CommentApiClient, CommentApiClientInterface } from './services/comment';
19
+ import CustomAdvService, { CustomAdvApiClient, CustomAdvApiClientInterface } from './services/custom_adv';
20
+ import CustomPageService, { CustomPageApiClient, CustomPageApiClientInterface } from './services/custom_page';
21
+ import DataPortabilityService, { DataPortabilityApiClient, DataPortabilityApiClientInterface } from './services/data_portability';
22
+ import DynamicPreferenceService, { DynamicPreferenceApiClient, DynamicPreferenceApiClientInterface } from './services/dynamic_preference';
23
+ import EmbedService, { EmbedApiClient, EmbedApiClientInterface } from './services/embed';
24
+ import FeatureService, { FeatureApiClient, FeatureApiClientInterface } from './services/feature';
25
+ import FeedService, { FeedApiClient, FeedApiClientInterface } from './services/feed';
26
+ import FeedObjectService, { FeedObjectApiClient, FeedObjectApiClientInterface } from './services/feed_object';
27
+ import IncubatorService, { IncubatorApiClient, IncubatorApiClientInterface } from './services/incubator';
28
+ import InsightService, { InsightApiClient, InsightApiClientInterface } from './services/insight';
29
+ import LegalPageService, { LegalPageApiClient, LegalPageApiClientInterface } from './services/legal_page';
30
+ import LocalityService, { LocalityApiClient, LocalityApiClientInterface } from './services/locality';
31
+ import LoyaltyService, { LoyaltyApiClient, LoyaltyApiClientInterface } from './services/loyalty';
32
+ import MediaService, { MediaApiClient, MediaApiClientInterface } from './services/media';
33
+ import ModerationService, { ModerationApiClient, ModerationApiClientInterface } from './services/moderation';
34
+ import NotificationService, { NotificationApiClient, NotificationApiClientInterface } from './services/notification';
16
35
  import PreferenceService, { PreferenceApiClient, PreferenceApiClientInterface } from './services/preference';
36
+ import PrivateMessageService, { PrivateMessageApiClient, PrivateMessageApiClientInterface } from './services/private_message';
37
+ import ScoreService, { ScoreApiClient, ScoreApiClientInterface } from './services/score';
38
+ import SSOService, { SSOApiClient, SSOApiClientInterface } from './services/sso';
39
+ import SuggestionService, { SuggestionApiClient, SuggestionApiClientInterface } from './services/suggestion';
40
+ import TagService, { TagApiClient, TagApiClientInterface } from './services/tag';
17
41
  import UserService, { UserApiClient, UserApiClientInterface } from './services/user';
18
- import FeatureService, { FeatureApiClient, FeatureApiClientInterface } from './services/feature';
19
- import CategoryService, { CategoryApiClient, CategoryApiClientInterface } from './services/category';
42
+ import WebhookService, { WebhookApiClient, WebhookApiClientInterface } from './services/webhook';
20
43
  /**
21
44
  * Export all
22
45
  */
23
- export { http, HttpResponse, HttpMethod, formatHttpError, Endpoints, EndpointType, PreferenceService, PreferenceApiClient, PreferenceApiClientInterface, UserService, UserApiClient, UserApiClientInterface, FeatureService, FeatureApiClient, FeatureApiClientInterface, CategoryService, CategoryApiClient, CategoryApiClientInterface };
46
+ export { http, HttpResponse, HttpMethod, formatHttpError, generateJWTToken, parseJwt, Endpoints, EndpointType, PreferenceService, PreferenceApiClient, PreferenceApiClientInterface, UserService, UserApiClient, UserApiClientInterface, FeatureService, FeatureApiClient, FeatureApiClientInterface, CategoryService, CategoryApiClient, CategoryApiClientInterface, CommentService, CommentApiClient, CommentApiClientInterface, CustomAdvService, CustomAdvApiClient, CustomAdvApiClientInterface, CustomPageService, CustomPageApiClient, CustomPageApiClientInterface, DataPortabilityService, DataPortabilityApiClient, DataPortabilityApiClientInterface, DynamicPreferenceService, DynamicPreferenceApiClient, DynamicPreferenceApiClientInterface, EmbedService, EmbedApiClient, EmbedApiClientInterface, FeedService, FeedApiClient, FeedApiClientInterface, FeedObjectService, FeedObjectApiClient, FeedObjectApiClientInterface, IncubatorService, IncubatorApiClient, IncubatorApiClientInterface, InsightService, InsightApiClient, InsightApiClientInterface, LegalPageService, LegalPageApiClient, LegalPageApiClientInterface, LocalityService, LocalityApiClient, LocalityApiClientInterface, LoyaltyService, LoyaltyApiClient, LoyaltyApiClientInterface, MediaService, MediaApiClient, MediaApiClientInterface, ModerationService, ModerationApiClient, ModerationApiClientInterface, NotificationService, NotificationApiClient, NotificationApiClientInterface, PrivateMessageService, PrivateMessageApiClient, PrivateMessageApiClientInterface, ScoreService, ScoreApiClient, ScoreApiClientInterface, SSOService, SSOApiClient, SSOApiClientInterface, SuggestionService, SuggestionApiClient, SuggestionApiClientInterface, TagService, TagApiClient, TagApiClientInterface, WebhookService, WebhookApiClient, WebhookApiClientInterface };
24
47
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../api-services/src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,IAAI,EAAE,EAAC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,EACjC,wBAAwB,EACxB,0BAA0B,EAC1B,mCAAmC,EACnC,YAAY,EACZ,cAAc,EACd,uBAAuB,EACvB,WAAW,EACX,aAAa,EACb,sBAAsB,EACtB,iBAAiB,EACjB,mBAAmB,EACnB,4BAA4B,EAC5B,gBAAgB,EAChB,kBAAkB,EAClB,2BAA2B,EAC3B,cAAc,EACd,gBAAgB,EAChB,yBAAyB,EACzB,gBAAgB,EAChB,kBAAkB,EAClB,2BAA2B,EAC3B,eAAe,EACf,iBAAiB,EACjB,0BAA0B,EAC1B,cAAc,EACd,gBAAgB,EAChB,yBAAyB,EACzB,YAAY,EACZ,cAAc,EACd,uBAAuB,EACvB,iBAAiB,EACjB,mBAAmB,EACnB,4BAA4B,EAC5B,mBAAmB,EACnB,qBAAqB,EACrB,8BAA8B,EAC9B,qBAAqB,EACrB,uBAAuB,EACvB,gCAAgC,EAChC,YAAY,EACZ,cAAc,EACd,uBAAuB,EACvB,UAAU,EACV,YAAY,EACZ,qBAAqB,EACrB,iBAAiB,EACjB,mBAAmB,EACnB,4BAA4B,EAC5B,UAAU,EACV,YAAY,EACZ,qBAAqB,EACrB,cAAc,EACd,gBAAgB,EAChB,yBAAyB,EAC1B,CAAC"}
@@ -1,13 +1,55 @@
1
1
  export interface CategoryApiClientInterface {
2
2
  getAllCategories(): Promise<any>;
3
+ searchCategory(): Promise<any>;
4
+ createCategory(): Promise<any>;
3
5
  getSpecificCategory(id: number): Promise<any>;
6
+ updateASpecificCategory(id: number): Promise<any>;
7
+ patchASpecificCategory(id: number): Promise<any>;
8
+ deleteASpecificCategory(id: number): Promise<any>;
9
+ getCategoryAudience(id: number): Promise<any>;
10
+ getCategoryFollowers(id: number): Promise<any>;
11
+ getCategoryFeed(id: number): Promise<any>;
12
+ getCategoryTrendingFeed(id: number): Promise<any>;
13
+ getCategoryTrendingFollowers(id: number): Promise<any>;
14
+ followCategory(id: number): Promise<any>;
15
+ checkCategoryIsFollowed(id: number): Promise<any>;
16
+ getFollowedCategories(): Promise<any>;
17
+ getPopularCategories(): Promise<any>;
4
18
  }
5
19
  export declare class CategoryApiClient {
6
20
  static getAllCategories(): Promise<any>;
21
+ static searchCategory(): Promise<any>;
22
+ static createCategory(): Promise<any>;
7
23
  static getSpecificCategory(id: number): Promise<any>;
24
+ static updateASpecificCategory(id: number): Promise<any>;
25
+ static patchASpecificCategory(id: number): Promise<any>;
26
+ static deleteASpecificCategory(id: number): Promise<any>;
27
+ static getCategoryAudience(id: number): Promise<any>;
28
+ static getCategoryFollowers(id: number): Promise<any>;
29
+ static getCategoryFeed(id: number): Promise<any>;
30
+ static getCategoryTrendingFeed(id: number): Promise<any>;
31
+ static getCategoryTrendingFollowers(id: number): Promise<any>;
32
+ static followCategory(id: number): Promise<any>;
33
+ static checkCategoryIsFollowed(id: number): Promise<any>;
34
+ static getFollowedCategories(): Promise<any>;
35
+ static getPopularCategories(): Promise<any>;
8
36
  }
9
37
  export default class CategoryService {
10
38
  static getAllCategories(): Promise<any>;
39
+ static searchCategory(): Promise<any>;
40
+ static createCategory(): Promise<any>;
11
41
  static getSpecificCategory(id: number): Promise<any>;
42
+ static updateASpecificCategory(id: number): Promise<any>;
43
+ static patchASpecificCategory(id: number): Promise<any>;
44
+ static deleteASpecificCategory(id: number): Promise<any>;
45
+ static getCategoryAudience(id: number): Promise<any>;
46
+ static getCategoryFollowers(id: number): Promise<any>;
47
+ static getCategoryFeed(id: number): Promise<any>;
48
+ static getCategoryTrendingFeed(id: number): Promise<any>;
49
+ static getCategoryTrendingFollowers(id: number): Promise<any>;
50
+ static followCategory(id: number): Promise<any>;
51
+ static checkCategoryIsFollowed(id: number): Promise<any>;
52
+ static getFollowedCategories(): Promise<any>;
53
+ static getPopularCategories(): Promise<any>;
12
54
  }
13
55
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../api-services/src/services/category/index.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,0BAA0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MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;WAIxC,uBAAuB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;WAIjD,qBAAqB,IAAI,OAAO,CAAC,GAAG,CAAC;WAIrC,oBAAoB,IAAI,OAAO,CAAC,GAAG,CAAC;CAGlD"}
@@ -0,0 +1,40 @@
1
+ export interface CommentApiClientInterface {
2
+ getAllComments(): Promise<any>;
3
+ createComment(): Promise<any>;
4
+ getASpecificComment(id: number): Promise<any>;
5
+ updateComment(id: number): Promise<any>;
6
+ deleteComment(id: number): Promise<any>;
7
+ restoreComment(id: number): Promise<any>;
8
+ getSpecificCommentVotesList(id: number): Promise<any>;
9
+ upvoteComment(id: number): Promise<any>;
10
+ getSpecificCommentFlags(id: number): Promise<any>;
11
+ flagComment(id: number): Promise<any>;
12
+ getSpecificCommentFlagStatus(id: number): Promise<any>;
13
+ }
14
+ export declare class CommentApiClient {
15
+ static getAllComments(): Promise<any>;
16
+ static createComment(): Promise<any>;
17
+ static getASpecificComment(id: number): Promise<any>;
18
+ static updateComment(id: number): Promise<any>;
19
+ static deleteComment(id: number): Promise<any>;
20
+ static restoreComment(id: number): Promise<any>;
21
+ static getSpecificCommentVotesList(id: number): Promise<any>;
22
+ static upvoteComment(id: number): Promise<any>;
23
+ static getSpecificCommentFlags(id: number): Promise<any>;
24
+ static flagComment(id: number): Promise<any>;
25
+ static getSpecificCommentFlagStatus(id: number): Promise<any>;
26
+ }
27
+ export default class CommentService {
28
+ static getAllComments(): Promise<any>;
29
+ static createComment(): Promise<any>;
30
+ static getASpecificComment(id: number): Promise<any>;
31
+ static updateComment(id: number): Promise<any>;
32
+ static deleteComment(id: number): Promise<any>;
33
+ static restoreComment(id: number): Promise<any>;
34
+ static getSpecificCommentVotesList(id: number): Promise<any>;
35
+ static upvoteComment(id: number): Promise<any>;
36
+ static getSpecificCommentFlags(id: number): Promise<any>;
37
+ static flagComment(id: number): Promise<any>;
38
+ static getSpecificCommentFlagStatus(id: number): Promise<any>;
39
+ }
40
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../api-services/src/services/comment/index.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,yBAAyB;IACxC,cAAc,IAAI,OAAO,CAAC,GAAG,CAAC,CAAC;IAC/B,aAAa,IAAI,OAAO,CAAC,GAAG,CAAC,CAAC;IAC9B,mBAAmB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;IAC9C,aAAa,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;IACxC,aAAa,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;IACxC,cAAc,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;IACzC,2BAA2B,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;IACtD,aAAa,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;IACxC,uBAAuB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;IAClD,WAAW,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;IACtC,4BAA4B,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;CACxD;AAED,qBAAa,gBAAgB;IAC3B,MAAM,CAAC,cAAc,IAAI,OAAO,CAAC,GAAG,CAAC;IAmBrC,MAAM,CAAC,aAAa,IAAI,OAAO,CAAC,GAAG,CAAC;IAmBpC,MAAM,CAAC,mBAAmB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;IAmBpD,MAAM,CAAC,aAAa,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC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AG,OAAO,CAAC,GAAG,CAAC;WAGrC,4BAA4B,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;CAGpE"}
@@ -0,0 +1,16 @@
1
+ export interface CustomAdvApiClientInterface {
2
+ getASpecificCustomAdv(id: number): Promise<any>;
3
+ getAllCustomAdv(): Promise<any>;
4
+ searchCustomAdv(): Promise<any>;
5
+ }
6
+ export declare class CustomAdvApiClient {
7
+ static getASpecificCustomAdv(id: number): Promise<any>;
8
+ static getAllCustomAdv(): Promise<any>;
9
+ static searchCustomAdv(): Promise<any>;
10
+ }
11
+ export default class CustomAdvService {
12
+ static getASpecificCustomAdv(id: number): Promise<any>;
13
+ static getAllCustomAdv(): Promise<any>;
14
+ static searchCustomAdv(): Promise<any>;
15
+ }
16
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../api-services/src/services/custom_adv/index.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,2BAA2B;IAC1C,qBAAqB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;IAChD,eAAe,IAAI,OAAO,CAAC,GAAG,CAAC,CAAC;IAChC,eAAe,IAAI,OAAO,CAAC,GAAG,CAAC,CAAC;CACjC;AAED,qBAAa,kBAAkB;IAC7B,MAAM,CAAC,qBAAqB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;IAkBtD,MAAM,CAAC,eAAe,IAAI,OAAO,CAAC,GAAG,CAAC;IAkBtC,MAAM,CAAC,eAAe,IAAI,OAAO,CAAC,GAAG,CAAC;CAkBvC;AAED,MAAM,CAAC,OAAO,OAAO,gBAAgB;WACtB,qBAAqB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;WAG/C,eAAe,IAAI,OAAO,CAAC,GAAG,CAAC;WAG/B,eAAe,IAAI,OAAO,CAAC,GAAG,CAAC;CAG7C"}
@@ -0,0 +1,16 @@
1
+ export interface CustomPageApiClientInterface {
2
+ getASpecificCustomPage(id: number): Promise<any>;
3
+ getAllCustomPages(): Promise<any>;
4
+ searchCustomPages(): Promise<any>;
5
+ }
6
+ export declare class CustomPageApiClient {
7
+ static getASpecificCustomPage(id: number): Promise<any>;
8
+ static getAllCustomPages(): Promise<any>;
9
+ static searchCustomPages(): Promise<any>;
10
+ }
11
+ export default class CustomPageService {
12
+ static getASpecificCustomPage(id: number): Promise<any>;
13
+ static getAllCustomPages(): Promise<any>;
14
+ static searchCustomPages(): Promise<any>;
15
+ }
16
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../api-services/src/services/custom_page/index.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,4BAA4B;IAC3C,sBAAsB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;IACjD,iBAAiB,IAAI,OAAO,CAAC,GAAG,CAAC,CAAC;IAClC,iBAAiB,IAAI,OAAO,CAAC,GAAG,CAAC,CAAC;CACnC;AAED,qBAAa,mBAAmB;IAC9B,MAAM,CAAC,sBAAsB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;IAkBvD,MAAM,CAAC,iBAAiB,IAAI,OAAO,CAAC,GAAG,CAAC;IAkBxC,MAAM,CAAC,iBAAiB,IAAI,OAAO,CAAC,GAAG,CAAC;CAkBzC;AAED,MAAM,CAAC,OAAO,OAAO,iBAAiB;WACvB,sBAAsB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;WAGhD,iBAAiB,IAAI,OAAO,CAAC,GAAG,CAAC;WAGjC,iBAAiB,IAAI,OAAO,CAAC,GAAG,CAAC;CAG/C"}