@amityco/ts-sdk 7.27.0 → 7.27.1-075c277.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 (194) hide show
  1. package/dist/@types/core/events.d.ts +5 -0
  2. package/dist/@types/core/events.d.ts.map +1 -1
  3. package/dist/@types/core/payload.d.ts +26 -0
  4. package/dist/@types/core/payload.d.ts.map +1 -1
  5. package/dist/@types/core/permissions.d.ts +10 -4
  6. package/dist/@types/core/permissions.d.ts.map +1 -1
  7. package/dist/@types/domains/analytics.d.ts +3 -1
  8. package/dist/@types/domains/analytics.d.ts.map +1 -1
  9. package/dist/@types/domains/channel.d.ts +5 -0
  10. package/dist/@types/domains/channel.d.ts.map +1 -1
  11. package/dist/@types/domains/client.d.ts +18 -0
  12. package/dist/@types/domains/client.d.ts.map +1 -1
  13. package/dist/@types/domains/comment.d.ts +27 -0
  14. package/dist/@types/domains/comment.d.ts.map +1 -1
  15. package/dist/@types/domains/community.d.ts +1 -0
  16. package/dist/@types/domains/community.d.ts.map +1 -1
  17. package/dist/@types/domains/curatedContent.d.ts +25 -0
  18. package/dist/@types/domains/curatedContent.d.ts.map +1 -0
  19. package/dist/@types/domains/pinnedMessage.d.ts +43 -0
  20. package/dist/@types/domains/pinnedMessage.d.ts.map +1 -0
  21. package/dist/@types/domains/post.d.ts +11 -0
  22. package/dist/@types/domains/post.d.ts.map +1 -1
  23. package/dist/@types/index.d.ts +3 -1
  24. package/dist/@types/index.d.ts.map +1 -1
  25. package/dist/analytic/service/analytic/AnalyticsEngine.d.ts +3 -0
  26. package/dist/analytic/service/analytic/AnalyticsEngine.d.ts.map +1 -1
  27. package/dist/analytic/service/analytic/AnalyticsEventCapturer.d.ts +3 -0
  28. package/dist/analytic/service/analytic/AnalyticsEventCapturer.d.ts.map +1 -1
  29. package/dist/channelRepository/events/index.d.ts +2 -0
  30. package/dist/channelRepository/events/index.d.ts.map +1 -1
  31. package/dist/channelRepository/events/onChannelMemberRoleAdded.d.ts +22 -0
  32. package/dist/channelRepository/events/onChannelMemberRoleAdded.d.ts.map +1 -1
  33. package/dist/channelRepository/events/onChannelMemberRoleRemoved.d.ts +22 -0
  34. package/dist/channelRepository/events/onChannelMemberRoleRemoved.d.ts.map +1 -1
  35. package/dist/channelRepository/events/onChannelMessagePinned.d.ts +24 -0
  36. package/dist/channelRepository/events/onChannelMessagePinned.d.ts.map +1 -0
  37. package/dist/channelRepository/events/onChannelMessageUnpinned.d.ts +21 -0
  38. package/dist/channelRepository/events/onChannelMessageUnpinned.d.ts.map +1 -0
  39. package/dist/channelRepository/events/onChannelPinnedMessageDeleted.d.ts +12 -0
  40. package/dist/channelRepository/events/onChannelPinnedMessageDeleted.d.ts.map +1 -0
  41. package/dist/channelRepository/events/tests/onChannelMemberRoleAdded.test.d.ts +2 -0
  42. package/dist/channelRepository/events/tests/onChannelMemberRoleAdded.test.d.ts.map +1 -0
  43. package/dist/channelRepository/events/tests/onChannelMemberRoleRemoved.test.d.ts +2 -0
  44. package/dist/channelRepository/events/tests/onChannelMemberRoleRemoved.test.d.ts.map +1 -0
  45. package/dist/channelRepository/events/tests/onChannelMessagePinned.test.d.ts +2 -0
  46. package/dist/channelRepository/events/tests/onChannelMessagePinned.test.d.ts.map +1 -0
  47. package/dist/channelRepository/observers/getChannel.d.ts.map +1 -1
  48. package/dist/channelRepository/observers/getChannels/ChannelLiveCollectionController.d.ts.map +1 -1
  49. package/dist/channelRepository/observers/getMyMembership.d.ts.map +1 -1
  50. package/dist/channelRepository/observers/searchChannels/SearchChannelLiveCollectionController.d.ts.map +1 -1
  51. package/dist/channelRepository/utils/applyChannelRolePayload.d.ts +21 -0
  52. package/dist/channelRepository/utils/applyChannelRolePayload.d.ts.map +1 -0
  53. package/dist/channelRepository/utils/index.d.ts +2 -0
  54. package/dist/channelRepository/utils/index.d.ts.map +1 -1
  55. package/dist/channelRepository/utils/tests/pinnedMessage.test.d.ts +2 -0
  56. package/dist/channelRepository/utils/tests/pinnedMessage.test.d.ts.map +1 -0
  57. package/dist/channelRepository/utils/updatePinnedMessageCache.d.ts +24 -0
  58. package/dist/channelRepository/utils/updatePinnedMessageCache.d.ts.map +1 -0
  59. package/dist/client/api/createClient.d.ts +5 -1
  60. package/dist/client/api/createClient.d.ts.map +1 -1
  61. package/dist/client/api/getSocialSettings.d.ts.map +1 -1
  62. package/dist/client/api/setupLoginSubscriptions.d.ts.map +1 -1
  63. package/dist/client/api/tests/getSocialSettings.test.d.ts +2 -0
  64. package/dist/client/api/tests/getSocialSettings.test.d.ts.map +1 -0
  65. package/dist/commentRepository/api/approveComment.d.ts +17 -0
  66. package/dist/commentRepository/api/approveComment.d.ts.map +1 -0
  67. package/dist/commentRepository/api/createComment.d.ts +12 -1
  68. package/dist/commentRepository/api/createComment.d.ts.map +1 -1
  69. package/dist/commentRepository/api/declineComment.d.ts +18 -0
  70. package/dist/commentRepository/api/declineComment.d.ts.map +1 -0
  71. package/dist/commentRepository/api/deleteComment.d.ts.map +1 -1
  72. package/dist/commentRepository/api/index.d.ts +2 -0
  73. package/dist/commentRepository/api/index.d.ts.map +1 -1
  74. package/dist/commentRepository/api/tests/approveComment.test.d.ts +2 -0
  75. package/dist/commentRepository/api/tests/approveComment.test.d.ts.map +1 -0
  76. package/dist/commentRepository/api/tests/createComment.optimistic.test.d.ts +2 -0
  77. package/dist/commentRepository/api/tests/createComment.optimistic.test.d.ts.map +1 -0
  78. package/dist/commentRepository/api/tests/declineComment.test.d.ts +2 -0
  79. package/dist/commentRepository/api/tests/declineComment.test.d.ts.map +1 -0
  80. package/dist/commentRepository/api/updateComment.d.ts.map +1 -1
  81. package/dist/commentRepository/events/index.d.ts +1 -0
  82. package/dist/commentRepository/events/index.d.ts.map +1 -1
  83. package/dist/commentRepository/events/onCommentApproved.d.ts +17 -0
  84. package/dist/commentRepository/events/onCommentApproved.d.ts.map +1 -0
  85. package/dist/commentRepository/events/tests/onCommentApproved.test.d.ts +2 -0
  86. package/dist/commentRepository/events/tests/onCommentApproved.test.d.ts.map +1 -0
  87. package/dist/commentRepository/events/tests/onCommentCreated.count.test.d.ts +2 -0
  88. package/dist/commentRepository/events/tests/onCommentCreated.count.test.d.ts.map +1 -0
  89. package/dist/commentRepository/events/utils.d.ts.map +1 -1
  90. package/dist/commentRepository/internalApi/getComment.d.ts.map +1 -1
  91. package/dist/commentRepository/observers/getComment.d.ts.map +1 -1
  92. package/dist/commentRepository/observers/getCommentReviewQueue/LiveCollectionController.d.ts +13 -0
  93. package/dist/commentRepository/observers/getCommentReviewQueue/LiveCollectionController.d.ts.map +1 -0
  94. package/dist/commentRepository/observers/getCommentReviewQueue/PaginationController.d.ts +5 -0
  95. package/dist/commentRepository/observers/getCommentReviewQueue/PaginationController.d.ts.map +1 -0
  96. package/dist/commentRepository/observers/getCommentReviewQueue/QueryStreamController.d.ts +15 -0
  97. package/dist/commentRepository/observers/getCommentReviewQueue/QueryStreamController.d.ts.map +1 -0
  98. package/dist/commentRepository/observers/getCommentReviewQueue.d.ts +22 -0
  99. package/dist/commentRepository/observers/getCommentReviewQueue.d.ts.map +1 -0
  100. package/dist/commentRepository/observers/getComments/CommentLiveCollectionController.d.ts +1 -1
  101. package/dist/commentRepository/observers/getComments/CommentLiveCollectionController.d.ts.map +1 -1
  102. package/dist/commentRepository/observers/getComments/CommentQueryStreamController.d.ts.map +1 -1
  103. package/dist/commentRepository/observers/getComments/enums.d.ts +1 -0
  104. package/dist/commentRepository/observers/getComments/enums.d.ts.map +1 -1
  105. package/dist/commentRepository/observers/index.d.ts +1 -0
  106. package/dist/commentRepository/observers/index.d.ts.map +1 -1
  107. package/dist/commentRepository/observers/tests/integrations/getCommentReviewQueue.integration.test.d.ts +2 -0
  108. package/dist/commentRepository/observers/tests/integrations/getCommentReviewQueue.integration.test.d.ts.map +1 -0
  109. package/dist/commentRepository/utils/approval.d.ts +49 -0
  110. package/dist/commentRepository/utils/approval.d.ts.map +1 -0
  111. package/dist/commentRepository/utils/payload.d.ts +6 -0
  112. package/dist/commentRepository/utils/payload.d.ts.map +1 -1
  113. package/dist/commentRepository/utils/tests/approval.test.d.ts +2 -0
  114. package/dist/commentRepository/utils/tests/approval.test.d.ts.map +1 -0
  115. package/dist/commentRepository/utils/tests/payload.test.d.ts +2 -0
  116. package/dist/commentRepository/utils/tests/payload.test.d.ts.map +1 -0
  117. package/dist/communityRepository/api/createCommunity.d.ts +1 -1
  118. package/dist/communityRepository/api/createCommunity.d.ts.map +1 -1
  119. package/dist/communityRepository/api/updateCommunity.d.ts +1 -1
  120. package/dist/communityRepository/api/updateCommunity.d.ts.map +1 -1
  121. package/dist/core/device.d.ts +1 -1
  122. package/dist/core/device.d.ts.map +1 -1
  123. package/dist/core/events.d.ts +3 -3
  124. package/dist/core/events.d.ts.map +1 -1
  125. package/dist/core/tests/device.test.d.ts +2 -0
  126. package/dist/core/tests/device.test.d.ts.map +1 -0
  127. package/dist/core/transports/http.d.ts.map +1 -1
  128. package/dist/core/transports/utils.d.ts +8 -0
  129. package/dist/core/transports/utils.d.ts.map +1 -1
  130. package/dist/curatedContentRepository/api/getPool.d.ts +2 -0
  131. package/dist/curatedContentRepository/api/getPool.d.ts.map +1 -0
  132. package/dist/curatedContentRepository/api/index.d.ts +2 -0
  133. package/dist/curatedContentRepository/api/index.d.ts.map +1 -0
  134. package/dist/curatedContentRepository/api/tests/getPool.test.d.ts +2 -0
  135. package/dist/curatedContentRepository/api/tests/getPool.test.d.ts.map +1 -0
  136. package/dist/curatedContentRepository/api/tests/integration/getPool.integration.test.d.ts +2 -0
  137. package/dist/curatedContentRepository/api/tests/integration/getPool.integration.test.d.ts.map +1 -0
  138. package/dist/curatedContentRepository/index.d.ts +2 -0
  139. package/dist/curatedContentRepository/index.d.ts.map +1 -0
  140. package/dist/index.cjs.js +1730 -477
  141. package/dist/index.d.ts +1 -0
  142. package/dist/index.d.ts.map +1 -1
  143. package/dist/index.esm.js +1705 -453
  144. package/dist/index.umd.js +2 -2
  145. package/dist/messagePreview/utils/getChannelMessagePreviewWithUser.d.ts +1 -0
  146. package/dist/messagePreview/utils/getChannelMessagePreviewWithUser.d.ts.map +1 -1
  147. package/dist/messageRepository/api/index.d.ts +2 -0
  148. package/dist/messageRepository/api/index.d.ts.map +1 -1
  149. package/dist/messageRepository/api/pinMessage.d.ts +29 -0
  150. package/dist/messageRepository/api/pinMessage.d.ts.map +1 -0
  151. package/dist/messageRepository/api/tests/pinMessage.test.d.ts +2 -0
  152. package/dist/messageRepository/api/tests/pinMessage.test.d.ts.map +1 -0
  153. package/dist/messageRepository/api/tests/unpinMessage.test.d.ts +2 -0
  154. package/dist/messageRepository/api/tests/unpinMessage.test.d.ts.map +1 -0
  155. package/dist/messageRepository/api/unpinMessage.d.ts +28 -0
  156. package/dist/messageRepository/api/unpinMessage.d.ts.map +1 -0
  157. package/dist/messageRepository/utils/refreshChannelPermissionsForMessage.d.ts +13 -0
  158. package/dist/messageRepository/utils/refreshChannelPermissionsForMessage.d.ts.map +1 -0
  159. package/dist/postRepository/utils/PostCommentCountEngine/ApproveTask.d.ts +16 -0
  160. package/dist/postRepository/utils/PostCommentCountEngine/ApproveTask.d.ts.map +1 -0
  161. package/dist/postRepository/utils/PostCommentCountEngine/PostCommentCountEngine.d.ts +25 -1
  162. package/dist/postRepository/utils/PostCommentCountEngine/PostCommentCountEngine.d.ts.map +1 -1
  163. package/dist/postRepository/utils/PostCommentCountEngine/postCommentCountEngineOnLoginHandler.d.ts +9 -0
  164. package/dist/postRepository/utils/PostCommentCountEngine/postCommentCountEngineOnLoginHandler.d.ts.map +1 -0
  165. package/dist/postRepository/utils/PostCommentCountEngine/tests/getLocalCommentCount.test.d.ts +2 -0
  166. package/dist/postRepository/utils/PostCommentCountEngine/tests/getLocalCommentCount.test.d.ts.map +1 -0
  167. package/dist/postRepository/utils/PostCommentCountEngine/tests/pendingAuthoredComments.test.d.ts +2 -0
  168. package/dist/postRepository/utils/PostCommentCountEngine/tests/pendingAuthoredComments.test.d.ts.map +1 -0
  169. package/dist/postRepository/utils/latestComments.d.ts +10 -0
  170. package/dist/postRepository/utils/latestComments.d.ts.map +1 -0
  171. package/dist/postRepository/utils/payload.d.ts.map +1 -1
  172. package/dist/postRepository/utils/tests/latestComments.test.d.ts +2 -0
  173. package/dist/postRepository/utils/tests/latestComments.test.d.ts.map +1 -0
  174. package/dist/postRepository/utils/tests/payload.test.d.ts +2 -0
  175. package/dist/postRepository/utils/tests/payload.test.d.ts.map +1 -0
  176. package/dist/utils/constants.d.ts +4 -0
  177. package/dist/utils/constants.d.ts.map +1 -1
  178. package/dist/utils/linkedObject/commentLinkedObject.d.ts.map +1 -1
  179. package/dist/utils/linkedObject/curatedContentTopicLinkedObject.d.ts +2 -0
  180. package/dist/utils/linkedObject/curatedContentTopicLinkedObject.d.ts.map +1 -0
  181. package/dist/utils/linkedObject/index.d.ts +1 -0
  182. package/dist/utils/linkedObject/index.d.ts.map +1 -1
  183. package/dist/utils/linkedObject/messageLinkedObject.d.ts.map +1 -1
  184. package/dist/utils/linkedObject/postLinkedObject.d.ts.map +1 -1
  185. package/dist/utils/linkedObject/tests/postLinkedObject.test.d.ts +2 -0
  186. package/dist/utils/linkedObject/tests/postLinkedObject.test.d.ts.map +1 -0
  187. package/dist/utils/tests/dummy/comment.d.ts +1 -0
  188. package/dist/utils/tests/dummy/comment.d.ts.map +1 -1
  189. package/dist/utils/tests/dummy/index.d.ts +1 -0
  190. package/dist/utils/tests/dummy/index.d.ts.map +1 -1
  191. package/dist/utils/tests/dummy/pinnedMessage.d.ts +2 -0
  192. package/dist/utils/tests/dummy/pinnedMessage.d.ts.map +1 -0
  193. package/dist/utils/tests/dummy/post.d.ts.map +1 -1
  194. package/package.json +3 -2
@@ -1,6 +1,7 @@
1
1
  export * from './onCommentCreated';
2
2
  export * from './onCommentUpdated';
3
3
  export * from './onCommentDeleted';
4
+ export * from './onCommentApproved';
4
5
  export * from './onCommentFlagged';
5
6
  export * from './onCommentUnflagged';
6
7
  export * from './onCommentReactionAdded';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commentRepository/events/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AAEnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AAErC,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commentRepository/events/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AAEpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AAErC,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * ```js
3
+ * import { onCommentApproved } from '@amityco/ts-sdk'
4
+ * const dispose = onCommentApproved(comment => {
5
+ * // ...
6
+ * })
7
+ * ```
8
+ *
9
+ * Fired when a {@link Amity.InternalComment} held for review has been approved
10
+ *
11
+ * @param callback The function to call when the event was fired
12
+ * @returns an {@link Amity.Unsubscriber} function to stop listening
13
+ *
14
+ * @category Comment Events
15
+ */
16
+ export declare const onCommentApproved: (callback: Amity.Listener<Amity.InternalComment>) => Amity.Unsubscriber;
17
+ //# sourceMappingURL=onCommentApproved.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"onCommentApproved.d.ts","sourceRoot":"","sources":["../../../src/commentRepository/events/onCommentApproved.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,iBAAiB,aAClB,MAAM,QAAQ,CAAC,MAAM,eAAe,CAAC,KAC9C,MAAM,YAA0E,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=onCommentApproved.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"onCommentApproved.test.d.ts","sourceRoot":"","sources":["../../../../src/commentRepository/events/tests/onCommentApproved.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=onCommentCreated.count.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"onCommentCreated.count.test.d.ts","sourceRoot":"","sources":["../../../../src/commentRepository/events/tests/onCommentCreated.count.test.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/commentRepository/events/utils.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,4BAA4B,UAChC,MAAM,MAAM,iBAAiB,YAC1B,MAAM,QAAQ,CAAC,MAAM,eAAe,CAAC,uBAoFhD,CAAC;AAEF,eAAO,MAAM,iCAAiC,UACrC,MAAM,KACX,MAAM,kBAAkB,EACxB,2BAA2B,GAAG,8BAA8B,CAC7D,YACS,MAAM,QAAQ,CAAC,MAAM,eAAe,CAAC,uBAqIhD,CAAC"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/commentRepository/events/utils.ts"],"names":[],"mappings":"AA6DA,eAAO,MAAM,4BAA4B,UAChC,MAAM,MAAM,iBAAiB,YAC1B,MAAM,QAAQ,CAAC,MAAM,eAAe,CAAC,uBA2ChD,CAAC;AAEF,eAAO,MAAM,iCAAiC,UACrC,MAAM,KACX,MAAM,kBAAkB,EACxB,2BAA2B,GAAG,8BAA8B,CAC7D,YACS,MAAM,QAAQ,CAAC,MAAM,eAAe,CAAC,uBAuIhD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"getComment.d.ts","sourceRoot":"","sources":["../../../src/commentRepository/internalApi/getComment.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,UAAU;gBACV,MAAM,eAAe,CAAC,WAAW,CAAC,GAC5C,QAAQ,MAAM,MAAM,CAAC,MAAM,eAAe,CAAC,CAAC;uBAkClC,MAAM,eAAe,CAAC,WAAW,CAAC,GAC5C,MAAM,MAAM,CAAC,MAAM,eAAe,CAAC,GAAG,SAAS;CAJjD,CAAC"}
1
+ {"version":3,"file":"getComment.d.ts","sourceRoot":"","sources":["../../../src/commentRepository/internalApi/getComment.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,UAAU;gBACV,MAAM,eAAe,CAAC,WAAW,CAAC,GAC5C,QAAQ,MAAM,MAAM,CAAC,MAAM,eAAe,CAAC,CAAC;uBAuClC,MAAM,eAAe,CAAC,WAAW,CAAC,GAC5C,MAAM,MAAM,CAAC,MAAM,eAAe,CAAC,GAAG,SAAS;CAJjD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"getComment.d.ts","sourceRoot":"","sources":["../../../src/commentRepository/observers/getComment.ts"],"names":[],"mappings":"AAmBA;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,UAAU,cACV,aAAa,CAAC,WAAW,CAAC,YAC3B,MAAM,kBAAkB,CAAC,aAAa,CAAC,KAChD,MAAM,YAYR,CAAC"}
1
+ {"version":3,"file":"getComment.d.ts","sourceRoot":"","sources":["../../../src/commentRepository/observers/getComment.ts"],"names":[],"mappings":"AAoBA;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,UAAU,cACV,aAAa,CAAC,WAAW,CAAC,YAC3B,MAAM,kBAAkB,CAAC,aAAa,CAAC,KAChD,MAAM,YAaR,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { LiveCollectionController } from '~/core/liveCollection/LiveCollectionController';
2
+ import { CommentReviewQueuePaginationController } from './PaginationController';
3
+ export declare class CommentReviewQueueLiveCollectionController extends LiveCollectionController<'comment', Amity.CommentReviewQueueLiveCollection, Amity.Comment, CommentReviewQueuePaginationController> {
4
+ private queryStreamController;
5
+ private query;
6
+ constructor(query: Amity.CommentReviewQueueLiveCollection, callback: Amity.LiveCollectionCallback<Amity.Comment>);
7
+ protected setup(): void;
8
+ protected persistModel(queryPayload: Amity.CommentPayload & Amity.Pagination): Promise<void>;
9
+ protected persistQueryStream({ response, direction, refresh, }: Amity.LiveCollectionPersistQueryStreamParams<'comment'>): void;
10
+ startSubscription(): Amity.Unsubscriber[];
11
+ notifyChange({ origin, loading, error }: Amity.LiveCollectionNotifyParams): void;
12
+ }
13
+ //# sourceMappingURL=LiveCollectionController.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LiveCollectionController.d.ts","sourceRoot":"","sources":["../../../../src/commentRepository/observers/getCommentReviewQueue/LiveCollectionController.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,gDAAgD,CAAC;AAY1F,OAAO,EAAE,sCAAsC,EAAE,MAAM,wBAAwB,CAAC;AAGhF,qBAAa,0CAA2C,SAAQ,wBAAwB,CACtF,SAAS,EACT,KAAK,CAAC,gCAAgC,EACtC,KAAK,CAAC,OAAO,EACb,sCAAsC,CACvC;IACC,OAAO,CAAC,qBAAqB,CAA0C;IAEvE,OAAO,CAAC,KAAK,CAAyC;gBAGpD,KAAK,EAAE,KAAK,CAAC,gCAAgC,EAC7C,QAAQ,EAAE,KAAK,CAAC,sBAAsB,CAAC,KAAK,CAAC,OAAO,CAAC;IAmBvD,SAAS,CAAC,KAAK;cAYC,YAAY,CAAC,YAAY,EAAE,KAAK,CAAC,cAAc,GAAG,KAAK,CAAC,UAAU;IAIlF,SAAS,CAAC,kBAAkB,CAAC,EAC3B,QAAQ,EACR,SAAS,EACT,OAAO,GACR,EAAE,KAAK,CAAC,sCAAsC,CAAC,SAAS,CAAC;IAI1D,iBAAiB;IAWjB,YAAY,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,CAAC,0BAA0B;CA4B1E"}
@@ -0,0 +1,5 @@
1
+ import { PaginationController } from '~/core/liveCollection/PaginationController';
2
+ export declare class CommentReviewQueuePaginationController extends PaginationController<'comment', Amity.CommentReviewQueueLiveCollection> {
3
+ getRequest(queryParams: Amity.CommentReviewQueueLiveCollection, token: string | undefined): Promise<Amity.CommentPayload<any> & Amity.Pagination>;
4
+ }
5
+ //# sourceMappingURL=PaginationController.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PaginationController.d.ts","sourceRoot":"","sources":["../../../../src/commentRepository/observers/getCommentReviewQueue/PaginationController.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,4CAA4C,CAAC;AAOlF,qBAAa,sCAAuC,SAAQ,oBAAoB,CAC9E,SAAS,EACT,KAAK,CAAC,gCAAgC,CACvC;IACO,UAAU,CAAC,WAAW,EAAE,KAAK,CAAC,gCAAgC,EAAE,KAAK,EAAE,MAAM,GAAG,SAAS;CAyBhG"}
@@ -0,0 +1,15 @@
1
+ import { QueryStreamController } from '~/core/liveCollection/QueryStreamController';
2
+ import { EnumCommentActions } from '../getComments/enums';
3
+ export declare class CommentReviewQueueQueryStreamController extends QueryStreamController<Amity.CommentPayload, Amity.CommentReviewQueueLiveCollection> {
4
+ private notifyChange;
5
+ constructor(query: Amity.CommentReviewQueueLiveCollection, cacheKey: string[], notifyChange: (params: Amity.LiveCollectionNotifyParams) => void);
6
+ saveToMainDB(response: Amity.CommentPayload): Promise<void>;
7
+ appendToQueryStream(response: Amity.CommentPayload & Partial<Amity.Pagination>, direction: Amity.LiveCollectionPageDirection, refresh?: boolean): void;
8
+ private matchesQuery;
9
+ reactor(action: EnumCommentActions): (comment: Amity.InternalComment) => void;
10
+ subscribeRTE(createSubscriber: {
11
+ fn: (reactor: (comment: Amity.InternalComment) => void) => Amity.Unsubscriber;
12
+ action: EnumCommentActions;
13
+ }[]): Amity.Unsubscriber[];
14
+ }
15
+ //# sourceMappingURL=QueryStreamController.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryStreamController.d.ts","sourceRoot":"","sources":["../../../../src/commentRepository/observers/getCommentReviewQueue/QueryStreamController.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AAOpF,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,qBAAa,uCAAwC,SAAQ,qBAAqB,CAChF,KAAK,CAAC,cAAc,EACpB,KAAK,CAAC,gCAAgC,CACvC;IACC,OAAO,CAAC,YAAY,CAAqD;gBAGvE,KAAK,EAAE,KAAK,CAAC,gCAAgC,EAC7C,QAAQ,EAAE,MAAM,EAAE,EAClB,YAAY,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC,0BAA0B,KAAK,IAAI;IAM5D,YAAY,CAAC,QAAQ,EAAE,KAAK,CAAC,cAAc;IAWjD,mBAAmB,CACjB,QAAQ,EAAE,KAAK,CAAC,cAAc,GAAG,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,EAC1D,SAAS,EAAE,KAAK,CAAC,2BAA2B,EAC5C,OAAO,UAAQ;IAwBjB,OAAO,CAAC,YAAY;IAQpB,OAAO,CAAC,MAAM,EAAE,kBAAkB,aACf,MAAM,eAAe;IAqCxC,YAAY,CACV,gBAAgB,EAAE;QAChB,EAAE,EAAE,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE,KAAK,CAAC,eAAe,KAAK,IAAI,KAAK,KAAK,CAAC,YAAY,CAAC;QAC9E,MAAM,EAAE,kBAAkB,CAAC;KAC5B,EAAE;CAIN"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * ```js
3
+ * import { CommentRepository } from '@amityco/ts-sdk'
4
+ *
5
+ * const unsub = CommentRepository.getCommentReviewQueue(
6
+ * { communityId: 'communityId' },
7
+ * ({ data: comments, hasNextPage, onNextPage }) => {
8
+ * // every comment is awaiting review
9
+ * },
10
+ * )
11
+ * ```
12
+ *
13
+ * Observe the {@link Amity.Comment} list awaiting moderator review in a community, oldest first
14
+ *
15
+ * @param params the community to read the queue of, optionally narrowed to one post and a date range
16
+ * @param callback the function to call when new data are available
17
+ * @returns An {@link Amity.Unsubscriber} function to run when willing to stop observing the queue
18
+ *
19
+ * @category Comments Live Collection
20
+ */
21
+ export declare const getCommentReviewQueue: (params: Amity.CommentReviewQueueLiveCollection, callback: Amity.LiveCollectionCallback<Amity.Comment>) => Amity.Unsubscriber;
22
+ //# sourceMappingURL=getCommentReviewQueue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getCommentReviewQueue.d.ts","sourceRoot":"","sources":["../../../src/commentRepository/observers/getCommentReviewQueue.ts"],"names":[],"mappings":"AASA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,qBAAqB,WACxB,MAAM,gCAAgC,YACpC,MAAM,sBAAsB,CAAC,aAAa,CAAC,KACpD,MAAM,YAwBR,CAAC"}
@@ -1,5 +1,5 @@
1
- import { CommentPaginationController } from './CommentPaginationController';
2
1
  import { LiveCollectionController } from '~/core/liveCollection/LiveCollectionController';
2
+ import { CommentPaginationController } from './CommentPaginationController';
3
3
  export declare class CommentLiveCollectionController extends LiveCollectionController<'comment', Amity.CommentLiveCollection, Amity.Comment, CommentPaginationController> {
4
4
  private queryStreamController;
5
5
  private query;
@@ -1 +1 @@
1
- {"version":3,"file":"CommentLiveCollectionController.d.ts","sourceRoot":"","sources":["../../../../src/commentRepository/observers/getComments/CommentLiveCollectionController.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAE5E,OAAO,EAAE,wBAAwB,EAAE,MAAM,gDAAgD,CAAC;AA0B1F,qBAAa,+BAAgC,SAAQ,wBAAwB,CAC3E,SAAS,EACT,KAAK,CAAC,qBAAqB,EAC3B,KAAK,CAAC,OAAO,EACb,2BAA2B,CAC5B;IACC,OAAO,CAAC,qBAAqB,CAA+B;IAE5D,OAAO,CAAC,KAAK,CAA8B;gBAGzC,KAAK,EAAE,KAAK,CAAC,qBAAqB,EAClC,QAAQ,EAAE,KAAK,CAAC,sBAAsB,CAAC,KAAK,CAAC,OAAO,CAAC;IAoBvD,SAAS,CAAC,KAAK;cAUC,YAAY,CAAC,YAAY,EAAE,KAAK,CAAC,cAAc,GAAG,KAAK,CAAC,UAAU;IAIlF,SAAS,CAAC,kBAAkB,CAAC,EAC3B,QAAQ,EACR,SAAS,EACT,OAAO,GACR,EAAE,KAAK,CAAC,sCAAsC,CAAC,SAAS,CAAC;IAI1D,iBAAiB;IAyBjB,YAAY,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,CAAC,0BAA0B;IAsBzE,WAAW,CAAC,IAAI,EAAE,KAAK,CAAC,eAAe,EAAE;CAyD1C"}
1
+ {"version":3,"file":"CommentLiveCollectionController.d.ts","sourceRoot":"","sources":["../../../../src/commentRepository/observers/getComments/CommentLiveCollectionController.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,gDAAgD,CAAC;AA4B1F,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAE5E,qBAAa,+BAAgC,SAAQ,wBAAwB,CAC3E,SAAS,EACT,KAAK,CAAC,qBAAqB,EAC3B,KAAK,CAAC,OAAO,EACb,2BAA2B,CAC5B;IACC,OAAO,CAAC,qBAAqB,CAA+B;IAE5D,OAAO,CAAC,KAAK,CAA8B;gBAGzC,KAAK,EAAE,KAAK,CAAC,qBAAqB,EAClC,QAAQ,EAAE,KAAK,CAAC,sBAAsB,CAAC,KAAK,CAAC,OAAO,CAAC;IAoBvD,SAAS,CAAC,KAAK;cAUC,YAAY,CAAC,YAAY,EAAE,KAAK,CAAC,cAAc,GAAG,KAAK,CAAC,UAAU;IAIlF,SAAS,CAAC,kBAAkB,CAAC,EAC3B,QAAQ,EACR,SAAS,EACT,OAAO,GACR,EAAE,KAAK,CAAC,sCAAsC,CAAC,SAAS,CAAC;IAI1D,iBAAiB;IA0BjB,YAAY,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,CAAC,0BAA0B;IAsBzE,WAAW,CAAC,IAAI,EAAE,KAAK,CAAC,eAAe,EAAE;CA0D1C"}
@@ -1 +1 @@
1
- {"version":3,"file":"CommentQueryStreamController.d.ts","sourceRoot":"","sources":["../../../../src/commentRepository/observers/getComments/CommentQueryStreamController.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AAKpF,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAE7C,qBAAa,4BAA6B,SAAQ,qBAAqB,CACrE,KAAK,CAAC,cAAc,EACpB,KAAK,CAAC,qBAAqB,CAC5B;IACC,OAAO,CAAC,YAAY,CAAqD;IAEzE,OAAO,CAAC,cAAc,CAAoE;gBAGxF,KAAK,EAAE,KAAK,CAAC,qBAAqB,EAClC,QAAQ,EAAE,MAAM,EAAE,EAClB,YAAY,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC,0BAA0B,KAAK,IAAI,EAChE,cAAc,EAAE,CAAC,QAAQ,EAAE,KAAK,CAAC,cAAc,KAAK,KAAK,CAAC,uBAAuB;IAO7E,YAAY,CAAC,QAAQ,EAAE,KAAK,CAAC,cAAc;IAWjD,mBAAmB,CACjB,QAAQ,EAAE,KAAK,CAAC,cAAc,GAAG,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,EAC1D,SAAS,EAAE,KAAK,CAAC,2BAA2B,EAC5C,OAAO,UAAQ;IAkBjB,OAAO,CAAC,MAAM,EAAE,kBAAkB,aACf,MAAM,eAAe;IA4BxC,YAAY,CACV,gBAAgB,EAAE;QAChB,EAAE,EAAE,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE,KAAK,CAAC,eAAe,KAAK,IAAI,KAAK,KAAK,CAAC,YAAY,CAAC;QAC9E,MAAM,EAAE,kBAAkB,CAAC;KAC5B,EAAE;CAIN"}
1
+ {"version":3,"file":"CommentQueryStreamController.d.ts","sourceRoot":"","sources":["../../../../src/commentRepository/observers/getComments/CommentQueryStreamController.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AAMpF,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAE7C,qBAAa,4BAA6B,SAAQ,qBAAqB,CACrE,KAAK,CAAC,cAAc,EACpB,KAAK,CAAC,qBAAqB,CAC5B;IACC,OAAO,CAAC,YAAY,CAAqD;IAEzE,OAAO,CAAC,cAAc,CAAoE;gBAGxF,KAAK,EAAE,KAAK,CAAC,qBAAqB,EAClC,QAAQ,EAAE,MAAM,EAAE,EAClB,YAAY,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC,0BAA0B,KAAK,IAAI,EAChE,cAAc,EAAE,CAAC,QAAQ,EAAE,KAAK,CAAC,cAAc,KAAK,KAAK,CAAC,uBAAuB;IAO7E,YAAY,CAAC,QAAQ,EAAE,KAAK,CAAC,cAAc;IAWjD,mBAAmB,CACjB,QAAQ,EAAE,KAAK,CAAC,cAAc,GAAG,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,EAC1D,SAAS,EAAE,KAAK,CAAC,2BAA2B,EAC5C,OAAO,UAAQ;IAqBjB,OAAO,CAAC,MAAM,EAAE,kBAAkB,aACf,MAAM,eAAe;IAyCxC,YAAY,CACV,gBAAgB,EAAE;QAChB,EAAE,EAAE,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE,KAAK,CAAC,eAAe,KAAK,IAAI,KAAK,KAAK,CAAC,YAAY,CAAC;QAC9E,MAAM,EAAE,kBAAkB,CAAC;KAC5B,EAAE;CAIN"}
@@ -2,6 +2,7 @@ export declare enum EnumCommentActions {
2
2
  OnCommentCreated = "onCommentCreated",
3
3
  OnCommentUpdated = "onCommentUpdated",
4
4
  OnCommentDeleted = "onCommentDeleted",
5
+ OnCommentApproved = "onCommentApproved",
5
6
  OnCommentFlagged = "onCommentFlagged",
6
7
  OnCommentUnflagged = "onCommentUnflagged",
7
8
  OnCommentReactionAdded = "onCommentReactionAdded",
@@ -1 +1 @@
1
- {"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../../src/commentRepository/observers/getComments/enums.ts"],"names":[],"mappings":"AAAA,oBAAY,kBAAkB;IAC5B,gBAAgB,qBAAqB;IACrC,gBAAgB,qBAAqB;IACrC,gBAAgB,qBAAqB;IACrC,gBAAgB,qBAAqB;IACrC,kBAAkB,uBAAuB;IACzC,sBAAsB,2BAA2B;IACjD,wBAAwB,6BAA6B;CACtD"}
1
+ {"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../../src/commentRepository/observers/getComments/enums.ts"],"names":[],"mappings":"AAAA,oBAAY,kBAAkB;IAC5B,gBAAgB,qBAAqB;IACrC,gBAAgB,qBAAqB;IACrC,gBAAgB,qBAAqB;IACrC,iBAAiB,sBAAsB;IACvC,gBAAgB,qBAAqB;IACrC,kBAAkB,uBAAuB;IACzC,sBAAsB,2BAA2B;IACjD,wBAAwB,6BAA6B;CACtD"}
@@ -1,3 +1,4 @@
1
1
  export * from './getComment';
2
2
  export * from './getComments';
3
+ export * from './getCommentReviewQueue';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commentRepository/observers/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commentRepository/observers/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,yBAAyB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=getCommentReviewQueue.integration.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getCommentReviewQueue.integration.test.d.ts","sourceRoot":"","sources":["../../../../../src/commentRepository/observers/tests/integrations/getCommentReviewQueue.integration.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,49 @@
1
+ declare type ApprovalAware = Pick<Amity.InternalComment, 'approvalStatus'>;
2
+ export declare const isCommentPending: (comment: ApprovalAware) => boolean;
3
+ export declare const isCommentApproved: (comment: ApprovalAware) => boolean;
4
+ /**
5
+ * Whether a comment on this reference would be held for review, read from the cached post's
6
+ * community. `true` when that cannot be known — the post or its community is not cached yet.
7
+ * A pending guess that turns out approved is corrected by the response and the comment then
8
+ * enters the list; an approved guess that turns out pending has already been shown in a public
9
+ * list with nothing to take it back out. Only shapes the optimistic object — the server
10
+ * response is the authority on the actual status.
11
+ */
12
+ export declare const isCommentApprovalRequired: (bundle: Pick<Amity.InternalComment, 'referenceType' | 'referenceId'>) => boolean;
13
+ /**
14
+ * An approved comment arrived over realtime: one `CreateTask` carrying its own `createdAt`, so
15
+ * the timestamp filter skips anything the last post payload already counted. The author's own
16
+ * comment reaches here as an echo too; the engine de-duplicates it by id against the task the
17
+ * create response queued.
18
+ */
19
+ export declare const applyCommentCreatedCount: (comment: Pick<Amity.InternalComment, 'referenceType' | 'referenceId' | 'commentId' | 'createdAt'>) => void;
20
+ /**
21
+ * The author's own pending comment counts in their view only. Recorded as separate engine state
22
+ * so it survives a post refresh (`ResetTask`).
23
+ */
24
+ export declare const recordPendingAuthoredComment: (comment: Pick<Amity.InternalComment, 'referenceType' | 'referenceId' | 'commentId' | 'userId'>, options?: {
25
+ publish?: boolean;
26
+ }) => void;
27
+ /**
28
+ * A pending comment was declined or deleted: it was never in the server count, so no
29
+ * `DeleteTask` — only the author-local +1 goes away.
30
+ */
31
+ export declare const releasePendingAuthoredComment: (comment: Pick<Amity.InternalComment, 'referenceType' | 'referenceId' | 'commentId'>) => void;
32
+ /**
33
+ * Reveal: exactly one `ApproveTask`. The engine de-duplicates by comment id, so the approve
34
+ * response and the `comment.approved` event may both call this. `ApproveTask` bypasses the age
35
+ * guard on purpose — the comment was written before the last server sync but enters the public
36
+ * count now — matching the iOS `ApproveTask` (plan 40 §9, guard off for approve).
37
+ */
38
+ export declare const applyCommentApprovedCount: (comment: Pick<Amity.InternalComment, 'referenceType' | 'referenceId' | 'commentId'>) => void;
39
+ /**
40
+ * Re-review: an approved comment edited back to pending leaves the public count once. The
41
+ * author keeps their own +1 through the pending set, so their count does not move.
42
+ */
43
+ export declare const applyCommentReReviewCount: (comment: Pick<Amity.InternalComment, 'referenceType' | 'referenceId' | 'commentId' | 'userId'>) => void;
44
+ /** Adds a reply to its cached parent's `children` (and count) once. */
45
+ export declare const linkCommentToParent: (comment: Pick<Amity.InternalComment, 'commentId' | 'parentId'>) => void;
46
+ /** Removes a reply from its cached parent's `children` (and count) once. */
47
+ export declare const unlinkCommentFromParent: (comment: Pick<Amity.InternalComment, 'commentId' | 'parentId'>) => void;
48
+ export {};
49
+ //# sourceMappingURL=approval.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"approval.d.ts","sourceRoot":"","sources":["../../../src/commentRepository/utils/approval.ts"],"names":[],"mappings":"AAQA,aAAK,aAAa,GAAG,IAAI,CAAC,KAAK,CAAC,eAAe,EAAE,gBAAgB,CAAC,CAAC;AAEnE,eAAO,MAAM,gBAAgB,YAAa,aAAa,YAC2C,CAAC;AAEnG,eAAO,MAAM,iBAAiB,YAAa,aAAa,YAC2C,CAAC;AASpG;;;;;;;GAOG;AACH,eAAO,MAAM,yBAAyB,WAC5B,KAAK,MAAM,eAAe,EAAE,eAAe,GAAG,aAAa,CAAC,KACnE,OAkBF,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB,YAC1B,KAAK,MAAM,eAAe,EAAE,eAAe,GAAG,aAAa,GAAG,WAAW,GAAG,WAAW,CAAC,SAOlG,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,4BAA4B,YAC9B,KAAK,MAAM,eAAe,EAAE,eAAe,GAAG,aAAa,GAAG,WAAW,GAAG,QAAQ,CAAC,YACpF;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,SAShC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,6BAA6B,YAC/B,KAAK,MAAM,eAAe,EAAE,eAAe,GAAG,aAAa,GAAG,WAAW,CAAC,SAQpF,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,yBAAyB,YAC3B,KAAK,MAAM,eAAe,EAAE,eAAe,GAAG,aAAa,GAAG,WAAW,CAAC,SAOpF,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,yBAAyB,YAC3B,KAAK,MAAM,eAAe,EAAE,eAAe,GAAG,aAAa,GAAG,WAAW,GAAG,QAAQ,CAAC,SAQ/F,CAAC;AAEF,uEAAuE;AACvE,eAAO,MAAM,mBAAmB,YACrB,KAAK,MAAM,eAAe,EAAE,WAAW,GAAG,UAAU,CAAC,SAc/D,CAAC;AAEF,4EAA4E;AAC5E,eAAO,MAAM,uBAAuB,YACzB,KAAK,MAAM,eAAe,EAAE,WAAW,GAAG,UAAU,CAAC,SAc/D,CAAC"}
@@ -1,2 +1,8 @@
1
+ /**
2
+ * The server sends `approvalStatus` only while a comment is held for review or after it was
3
+ * rejected. Absent, `null`, or an unrecognised value all resolve to `approved` — never to
4
+ * `pending`, which would mark every comment written before the feature as unpublished.
5
+ */
6
+ export declare const resolveCommentApprovalStatus: (approvalStatus?: string | null) => Amity.CommentApprovalStatus;
1
7
  export declare function prepareCommentPayload(commentPayload: Amity.CommentPayload): Amity.ProcessedCommentPayload;
2
8
  //# sourceMappingURL=payload.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../src/commentRepository/utils/payload.ts"],"names":[],"mappings":"AAAA,wBAAgB,qBAAqB,CACnC,cAAc,EAAE,KAAK,CAAC,cAAc,GACnC,KAAK,CAAC,uBAAuB,CAgB/B"}
1
+ {"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../src/commentRepository/utils/payload.ts"],"names":[],"mappings":"AAMA;;;;GAIG;AACH,eAAO,MAAM,4BAA4B,oBACtB,MAAM,GAAG,IAAI,KAC7B,MAAM,qBAMR,CAAC;AAYF,wBAAgB,qBAAqB,CACnC,cAAc,EAAE,KAAK,CAAC,cAAc,GACnC,KAAK,CAAC,uBAAuB,CAQ/B"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=approval.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"approval.test.d.ts","sourceRoot":"","sources":["../../../../src/commentRepository/utils/tests/approval.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=payload.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.test.d.ts","sourceRoot":"","sources":["../../../../src/commentRepository/utils/tests/payload.test.ts"],"names":[],"mappings":""}
@@ -12,7 +12,7 @@
12
12
  * @category Community API
13
13
  * @async
14
14
  */
15
- export declare const createCommunity: (bundle: Pick<Amity.Community, 'displayName' | 'avatarFileId' | 'description' | 'isPublic' | 'isOfficial' | 'postSetting' | 'tags' | 'metadata' | 'isDiscoverable' | 'requiresJoinApproval'> & Amity.CommunityStorySettings & {
15
+ export declare const createCommunity: (bundle: Pick<Amity.Community, 'displayName' | 'avatarFileId' | 'description' | 'isPublic' | 'isOfficial' | 'postSetting' | 'tags' | 'metadata' | 'isDiscoverable' | 'requiresJoinApproval' | 'needApprovalOnCommentCreation'> & Amity.CommunityStorySettings & {
16
16
  userIds?: string[];
17
17
  categoryIds?: string[];
18
18
  isUniqueDisplayName?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"createCommunity.d.ts","sourceRoot":"","sources":["../../../src/communityRepository/api/createCommunity.ts"],"names":[],"mappings":"AAWA;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,eAAe,WAClB,KACN,MAAM,SAAS,EACb,aAAa,GACb,cAAc,GACd,aAAa,GACb,UAAU,GACV,YAAY,GACZ,aAAa,GACb,MAAM,GACN,UAAU,GACV,gBAAgB,GAChB,sBAAsB,CACzB,GACC,MAAM,sBAAsB,GAAG;IAC7B,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B,KACF,QAAQ,MAAM,MAAM,CAAC,MAAM,SAAS,CAAC,CAwBvC,CAAC"}
1
+ {"version":3,"file":"createCommunity.d.ts","sourceRoot":"","sources":["../../../src/communityRepository/api/createCommunity.ts"],"names":[],"mappings":"AAWA;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,eAAe,WAClB,KACN,MAAM,SAAS,EACb,aAAa,GACb,cAAc,GACd,aAAa,GACb,UAAU,GACV,YAAY,GACZ,aAAa,GACb,MAAM,GACN,UAAU,GACV,gBAAgB,GAChB,sBAAsB,GACtB,+BAA+B,CAClC,GACC,MAAM,sBAAsB,GAAG;IAC7B,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B,KACF,QAAQ,MAAM,MAAM,CAAC,MAAM,SAAS,CAAC,CAwBvC,CAAC"}
@@ -13,5 +13,5 @@
13
13
  * @category Community API
14
14
  * @async
15
15
  */
16
- export declare const updateCommunity: (communityId: Amity.Community['communityId'], patch: Patch<Amity.Community, 'displayName' | 'avatarFileId' | 'description' | 'postSetting' | 'tags' | 'metadata' | 'isDiscoverable' | 'requiresJoinApproval' | 'isPublic' | 'categoryIds'> & Amity.CommunityStorySettings) => Promise<Amity.Cached<Amity.Community>>;
16
+ export declare const updateCommunity: (communityId: Amity.Community['communityId'], patch: Patch<Amity.Community, 'displayName' | 'avatarFileId' | 'description' | 'postSetting' | 'tags' | 'metadata' | 'isDiscoverable' | 'requiresJoinApproval' | 'needApprovalOnCommentCreation' | 'isPublic' | 'categoryIds'> & Amity.CommunityStorySettings) => Promise<Amity.Cached<Amity.Community>>;
17
17
  //# sourceMappingURL=updateCommunity.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"updateCommunity.d.ts","sourceRoot":"","sources":["../../../src/communityRepository/api/updateCommunity.ts"],"names":[],"mappings":"AAYA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,eAAe,gBACb,MAAM,SAAS,CAAC,aAAa,CAAC,SACpC,MACL,MAAM,SAAS,EACb,aAAa,GACb,cAAc,GACd,aAAa,GACb,aAAa,GACb,MAAM,GACN,UAAU,GACV,gBAAgB,GAChB,sBAAsB,GACtB,UAAU,GACV,aAAa,CAChB,GACC,MAAM,sBAAsB,KAC7B,QAAQ,MAAM,MAAM,CAAC,MAAM,SAAS,CAAC,CA2BvC,CAAC"}
1
+ {"version":3,"file":"updateCommunity.d.ts","sourceRoot":"","sources":["../../../src/communityRepository/api/updateCommunity.ts"],"names":[],"mappings":"AAYA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,eAAe,gBACb,MAAM,SAAS,CAAC,aAAa,CAAC,SACpC,MACL,MAAM,SAAS,EACb,aAAa,GACb,cAAc,GACd,aAAa,GACb,aAAa,GACb,MAAM,GACN,UAAU,GACV,gBAAgB,GAChB,sBAAsB,GACtB,+BAA+B,GAC/B,UAAU,GACV,aAAa,CAChB,GACC,MAAM,sBAAsB,KAC7B,QAAQ,MAAM,MAAM,CAAC,MAAM,SAAS,CAAC,CA2BvC,CAAC"}
@@ -2,7 +2,7 @@
2
2
  export declare const getDeviceId: () => Promise<string>;
3
3
  export declare const getMQTTClientId: (userId: Amity.InternalUser['userId']) => Promise<string>;
4
4
  /** @hidden */
5
- export declare const getDeviceModel: () => string;
5
+ export declare const getDeviceModel: () => string | undefined;
6
6
  /** @hidden */
7
7
  export declare const getDeviceInfo: () => Amity.Device['deviceInfo'];
8
8
  //# sourceMappingURL=device.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"device.d.ts","sourceRoot":"","sources":["../../src/core/device.ts"],"names":[],"mappings":"AAuDA,cAAc;AACd,eAAO,MAAM,WAAW,uBAgBvB,CAAC;AAEF,eAAO,MAAM,eAAe,WAAkB,MAAM,YAAY,CAAC,QAAQ,CAAC,oBAGzE,CAAC;AAEF,cAAc;AACd,eAAO,MAAM,cAAc,cAO1B,CAAC;AAEF,cAAc;AACd,eAAO,MAAM,aAAa,QAAO,MAAM,MAAM,CAAC,YAAY,CASzD,CAAC"}
1
+ {"version":3,"file":"device.d.ts","sourceRoot":"","sources":["../../src/core/device.ts"],"names":[],"mappings":"AAwDA,cAAc;AACd,eAAO,MAAM,WAAW,uBAgBvB,CAAC;AAEF,eAAO,MAAM,eAAe,WAAkB,MAAM,YAAY,CAAC,QAAQ,CAAC,oBAGzE,CAAC;AAEF,cAAc;AACd,eAAO,MAAM,cAAc,QAAO,MAAM,GAAG,SAI1C,CAAC;AAwCF,cAAc;AACd,eAAO,MAAM,aAAa,QAAO,MAAM,MAAM,CAAC,YAAY,CAqBzD,CAAC"}
@@ -13,12 +13,12 @@ export declare const proxyMqttEvents: (mqttClient: Amity.Client['mqtt'], emitter
13
13
  * @category Transport
14
14
  * @hidden
15
15
  */
16
- export declare const createEventSubscriber: <T extends "message" | "error" | "disconnected" | "connect_error" | "reconnect_error" | "reconnect_failed" | "connect" | "disconnect" | "close" | "end" | "reconnect" | "video-streaming.didStart" | "video-streaming.didRecord" | "video-streaming.didStop" | "video-streaming.didFlag" | "video-streaming.didTerminate" | "video-streaming.viewerDidBan" | "video-streaming.viewerDidUnban" | "user.didGlobalBan" | "liveReaction.created" | "channel.created" | "channel.updated" | "channel.deleted" | "channel.setMuted" | "channel.setMutedUsers" | "channel.joined" | "channel.left" | "channel.membersAdded" | "channel.membersRemoved" | "channel.banned" | "channel.unbanned" | "message-feed.created" | "message-feed.updated" | "message-feed.deleted" | "message.created" | "message.updated" | "message.deleted" | "message.flagged" | "message.unflagged" | "message.flagCleared" | "message.reactionAdded" | "message.reactionRemoved" | "community.created" | "community.updated" | "community.deleted" | "community.joined" | "community.left" | "community.userAdded" | "community.userRemoved" | "community.userChanged" | "community.userBanned" | "community.userUnbanned" | "community.roleAdded" | "community.roleRemoved" | "post.created" | "post.updated" | "post.deleted" | "post.approved" | "post.declined" | "post.flagged" | "post.unflagged" | "post.addReaction" | "post.removeReaction" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.flagged" | "comment.unflagged" | "comment.addReaction" | "comment.removeReaction" | "user.fetched" | "user.updated" | "user.deleted" | "user.flagged" | "user.unflagged" | "user.flagCleared" | "follow.created" | "follow.requested" | "follow.accepted" | "follow.unfollowed" | "follow.requestCanceled" | "follow.requestDeclined" | "follow.followerDeleted" | "user.didBlock" | "user.didUnblock" | "marker.marked-message" | "marker.feed-updated" | "marker.user-sync" | "marker.userFeed-updated" | "story.created" | "story.updated" | "story.deleted" | "story.flagged" | "story.unflagged" | "story.reactionAdded" | "story.reactionRemoved" | "room.startBroadcasting" | "room.waitingReconnect" | "room.endBroadcasting" | "room.recordedAvailable" | "room.participantJoined" | "room.participantLeft" | "room.participantStageJoined" | "room.participantStageLeft" | "room.participantRemoved" | "room.didCohostInvite" | "room.didCohostInviteAccept" | "room.didCohostInviteReject" | "room.didCohostInviteCancel" | "room.terminated" | "room.didUpdate" | "event.created" | "event.updated" | "event.deleted" | "event.started" | "event.ended" | "event.cancelled" | "event.rsvp.created" | "event.rsvp.updated" | "event.rsvp.changed" | "event.reminder" | "event.invitation" | "local.channel.updated" | "local.channel.fetched" | "local.channel.archived" | "local.channel.unarchived" | "local.channel-moderator.role-added" | "local.channel-moderator.role-removed" | "local.message.created" | "local.message.updated" | "local.message.deleted" | "local.message.fetched" | "local.message-feed.updated" | "local.message-feed.fetched" | "local.message-feed.deleted" | "poll.updated" | "poll.deleted" | "local.feedMarker.fetched" | "local.channelMarker.fetched" | "local.channelMarker.updated" | "local.subChannelMarker.fetched" | "local.subChannelMarker.updated" | "local.messageMarker.fetched" | "local.userMarker.fetched" | "local.userMessageFeedMarker.fetched" | "local.channel.resolved" | "local.userMessageFeedMarkers.resolved" | "local.subChannelUnread.updated" | "local.channelUnreadInfo.updated" | "local.channelUnread.updated" | "local.story.created" | "local.story.updated" | "local.story.deleted" | "local.story.flagged" | "local.story.unflagged" | "local.story.reactionAdded" | "local.story.reactionRemoved" | "local.story.error" | "local.story.reload" | "local.notificationTraySeen.updated" | "local.notificationTrayItem.updated" | "local.invitation.created" | "local.invitation.updated" | "local.invitation.canceled" | "v4.local.community.joined" | "local.joinRequest.created" | "local.joinRequest.updated" | "local.joinRequest.deleted" | "local.liveReaction.created" | "local.room.created" | "local.room.updated" | "local.room.deleted" | "local.room.stopped" | "local.room.participantRemoved" | "local.room.left" | "local.room.didUpdate" | "sessionStateChange" | "tokenExpired" | "tokenTerminated" | "unreadCountEnabled" | "visitorUsageLimitReached" | "local.post.updated" | "local.post.deleted" | "local.post.addReaction" | "local.post.removeReaction" | "local.comment.created" | "local.comment.deleted" | "local.comment.addReaction" | "local.comment.removeReaction" | "local.community.joined" | "local.community.left" | "local.community.roleAdded" | "local.community.roleRemoved" | "local.community.userAdded" | "local.community.userRemoved" | "local.follow.created" | "local.follow.requested" | "local.follow.accepted" | "local.follow.unfollowed" | "local.follow.requestDeclined" | "local.event.created" | "local.event.updated" | "local.event.deleted" | "local.event.started" | "local.event.ended" | "local.event.cancelled" | "local.event.rsvp.changed" | "local.rsvp.created" | "local.rsvp.updated" | "local.event.reminder" | "local.event.invitation">(client: Amity.Client, namespace: string, event: T, fn: Amity.Listener<Amity.Events[T], any>) => Amity.Unsubscriber;
17
- export declare const createMqttMessageSubscriber: <T extends "message" | "error" | "disconnected" | "connect_error" | "reconnect_error" | "reconnect_failed" | "connect" | "disconnect" | "close" | "end" | "reconnect" | "video-streaming.didStart" | "video-streaming.didRecord" | "video-streaming.didStop" | "video-streaming.didFlag" | "video-streaming.didTerminate" | "video-streaming.viewerDidBan" | "video-streaming.viewerDidUnban" | "user.didGlobalBan" | "liveReaction.created" | "channel.created" | "channel.updated" | "channel.deleted" | "channel.setMuted" | "channel.setMutedUsers" | "channel.joined" | "channel.left" | "channel.membersAdded" | "channel.membersRemoved" | "channel.banned" | "channel.unbanned" | "message-feed.created" | "message-feed.updated" | "message-feed.deleted" | "message.created" | "message.updated" | "message.deleted" | "message.flagged" | "message.unflagged" | "message.flagCleared" | "message.reactionAdded" | "message.reactionRemoved" | "community.created" | "community.updated" | "community.deleted" | "community.joined" | "community.left" | "community.userAdded" | "community.userRemoved" | "community.userChanged" | "community.userBanned" | "community.userUnbanned" | "community.roleAdded" | "community.roleRemoved" | "post.created" | "post.updated" | "post.deleted" | "post.approved" | "post.declined" | "post.flagged" | "post.unflagged" | "post.addReaction" | "post.removeReaction" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.flagged" | "comment.unflagged" | "comment.addReaction" | "comment.removeReaction" | "user.fetched" | "user.updated" | "user.deleted" | "user.flagged" | "user.unflagged" | "user.flagCleared" | "follow.created" | "follow.requested" | "follow.accepted" | "follow.unfollowed" | "follow.requestCanceled" | "follow.requestDeclined" | "follow.followerDeleted" | "user.didBlock" | "user.didUnblock" | "marker.marked-message" | "marker.feed-updated" | "marker.user-sync" | "marker.userFeed-updated" | "story.created" | "story.updated" | "story.deleted" | "story.flagged" | "story.unflagged" | "story.reactionAdded" | "story.reactionRemoved" | "room.startBroadcasting" | "room.waitingReconnect" | "room.endBroadcasting" | "room.recordedAvailable" | "room.participantJoined" | "room.participantLeft" | "room.participantStageJoined" | "room.participantStageLeft" | "room.participantRemoved" | "room.didCohostInvite" | "room.didCohostInviteAccept" | "room.didCohostInviteReject" | "room.didCohostInviteCancel" | "room.terminated" | "room.didUpdate" | "event.created" | "event.updated" | "event.deleted" | "event.started" | "event.ended" | "event.cancelled" | "event.rsvp.created" | "event.rsvp.updated" | "event.rsvp.changed" | "event.reminder" | "event.invitation" | "local.channel.updated" | "local.channel.fetched" | "local.channel.archived" | "local.channel.unarchived" | "local.channel-moderator.role-added" | "local.channel-moderator.role-removed" | "local.message.created" | "local.message.updated" | "local.message.deleted" | "local.message.fetched" | "local.message-feed.updated" | "local.message-feed.fetched" | "local.message-feed.deleted" | "poll.updated" | "poll.deleted" | "local.feedMarker.fetched" | "local.channelMarker.fetched" | "local.channelMarker.updated" | "local.subChannelMarker.fetched" | "local.subChannelMarker.updated" | "local.messageMarker.fetched" | "local.userMarker.fetched" | "local.userMessageFeedMarker.fetched" | "local.channel.resolved" | "local.userMessageFeedMarkers.resolved" | "local.subChannelUnread.updated" | "local.channelUnreadInfo.updated" | "local.channelUnread.updated" | "local.story.created" | "local.story.updated" | "local.story.deleted" | "local.story.flagged" | "local.story.unflagged" | "local.story.reactionAdded" | "local.story.reactionRemoved" | "local.story.error" | "local.story.reload" | "local.notificationTraySeen.updated" | "local.notificationTrayItem.updated" | "local.invitation.created" | "local.invitation.updated" | "local.invitation.canceled" | "v4.local.community.joined" | "local.joinRequest.created" | "local.joinRequest.updated" | "local.joinRequest.deleted" | "local.liveReaction.created" | "local.room.created" | "local.room.updated" | "local.room.deleted" | "local.room.stopped" | "local.room.participantRemoved" | "local.room.left" | "local.room.didUpdate" | "sessionStateChange" | "tokenExpired" | "tokenTerminated" | "unreadCountEnabled" | "visitorUsageLimitReached" | "local.post.updated" | "local.post.deleted" | "local.post.addReaction" | "local.post.removeReaction" | "local.comment.created" | "local.comment.deleted" | "local.comment.addReaction" | "local.comment.removeReaction" | "local.community.joined" | "local.community.left" | "local.community.roleAdded" | "local.community.roleRemoved" | "local.community.userAdded" | "local.community.userRemoved" | "local.follow.created" | "local.follow.requested" | "local.follow.accepted" | "local.follow.unfollowed" | "local.follow.requestDeclined" | "local.event.created" | "local.event.updated" | "local.event.deleted" | "local.event.started" | "local.event.ended" | "local.event.cancelled" | "local.event.rsvp.changed" | "local.rsvp.created" | "local.rsvp.updated" | "local.event.reminder" | "local.event.invitation">(client: Amity.Client, namespace: string, event: T, fn: (params: Record<string, unknown>) => void) => Amity.Unsubscriber;
16
+ export declare const createEventSubscriber: <T extends "message" | "error" | "disconnected" | "connect_error" | "reconnect_error" | "reconnect_failed" | "connect" | "disconnect" | "close" | "end" | "reconnect" | "video-streaming.didStart" | "video-streaming.didRecord" | "video-streaming.didStop" | "video-streaming.didFlag" | "video-streaming.didTerminate" | "video-streaming.viewerDidBan" | "video-streaming.viewerDidUnban" | "user.didGlobalBan" | "liveReaction.created" | "channel.created" | "channel.updated" | "channel.deleted" | "channel.setMuted" | "channel.setMutedUsers" | "channel.messagePinned" | "channel.messageUnpinned" | "channel.joined" | "channel.left" | "channel.membersAdded" | "channel.membersRemoved" | "channel.banned" | "channel.unbanned" | "channel.roleAdded" | "channel.roleRemoved" | "message-feed.created" | "message-feed.updated" | "message-feed.deleted" | "message.created" | "message.updated" | "message.deleted" | "message.flagged" | "message.unflagged" | "message.flagCleared" | "message.reactionAdded" | "message.reactionRemoved" | "community.created" | "community.updated" | "community.deleted" | "community.joined" | "community.left" | "community.userAdded" | "community.userRemoved" | "community.userChanged" | "community.userBanned" | "community.userUnbanned" | "community.roleAdded" | "community.roleRemoved" | "post.created" | "post.updated" | "post.deleted" | "post.approved" | "post.declined" | "post.flagged" | "post.unflagged" | "post.addReaction" | "post.removeReaction" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.approved" | "comment.flagged" | "comment.unflagged" | "comment.addReaction" | "comment.removeReaction" | "user.fetched" | "user.updated" | "user.deleted" | "user.flagged" | "user.unflagged" | "user.flagCleared" | "follow.created" | "follow.requested" | "follow.accepted" | "follow.unfollowed" | "follow.requestCanceled" | "follow.requestDeclined" | "follow.followerDeleted" | "user.didBlock" | "user.didUnblock" | "marker.marked-message" | "marker.feed-updated" | "marker.user-sync" | "marker.userFeed-updated" | "story.created" | "story.updated" | "story.deleted" | "story.flagged" | "story.unflagged" | "story.reactionAdded" | "story.reactionRemoved" | "room.startBroadcasting" | "room.waitingReconnect" | "room.endBroadcasting" | "room.recordedAvailable" | "room.participantJoined" | "room.participantLeft" | "room.participantStageJoined" | "room.participantStageLeft" | "room.participantRemoved" | "room.didCohostInvite" | "room.didCohostInviteAccept" | "room.didCohostInviteReject" | "room.didCohostInviteCancel" | "room.terminated" | "room.didUpdate" | "event.created" | "event.updated" | "event.deleted" | "event.started" | "event.ended" | "event.cancelled" | "event.rsvp.created" | "event.rsvp.updated" | "event.rsvp.changed" | "event.reminder" | "event.invitation" | "local.channel.updated" | "local.channel.fetched" | "local.channel.archived" | "local.channel.unarchived" | "local.channel-moderator.role-added" | "local.channel-moderator.role-removed" | "local.message.created" | "local.message.updated" | "local.message.deleted" | "local.message.fetched" | "local.message-feed.updated" | "local.message-feed.fetched" | "local.message-feed.deleted" | "poll.updated" | "poll.deleted" | "local.feedMarker.fetched" | "local.channelMarker.fetched" | "local.channelMarker.updated" | "local.subChannelMarker.fetched" | "local.subChannelMarker.updated" | "local.messageMarker.fetched" | "local.userMarker.fetched" | "local.userMessageFeedMarker.fetched" | "local.channel.resolved" | "local.userMessageFeedMarkers.resolved" | "local.subChannelUnread.updated" | "local.channelUnreadInfo.updated" | "local.channelUnread.updated" | "local.story.created" | "local.story.updated" | "local.story.deleted" | "local.story.flagged" | "local.story.unflagged" | "local.story.reactionAdded" | "local.story.reactionRemoved" | "local.story.error" | "local.story.reload" | "local.notificationTraySeen.updated" | "local.notificationTrayItem.updated" | "local.invitation.created" | "local.invitation.updated" | "local.invitation.canceled" | "v4.local.community.joined" | "local.joinRequest.created" | "local.joinRequest.updated" | "local.joinRequest.deleted" | "local.liveReaction.created" | "local.room.created" | "local.room.updated" | "local.room.deleted" | "local.room.stopped" | "local.room.participantRemoved" | "local.room.left" | "local.room.didUpdate" | "sessionStateChange" | "tokenExpired" | "tokenTerminated" | "unreadCountEnabled" | "visitorUsageLimitReached" | "local.post.updated" | "local.post.deleted" | "local.post.addReaction" | "local.post.removeReaction" | "local.comment.created" | "local.comment.deleted" | "local.comment.addReaction" | "local.comment.removeReaction" | "local.community.joined" | "local.community.left" | "local.community.roleAdded" | "local.community.roleRemoved" | "local.community.userAdded" | "local.community.userRemoved" | "local.follow.created" | "local.follow.requested" | "local.follow.accepted" | "local.follow.unfollowed" | "local.follow.requestDeclined" | "local.event.created" | "local.event.updated" | "local.event.deleted" | "local.event.started" | "local.event.ended" | "local.event.cancelled" | "local.event.rsvp.changed" | "local.rsvp.created" | "local.rsvp.updated" | "local.event.reminder" | "local.event.invitation">(client: Amity.Client, namespace: string, event: T, fn: Amity.Listener<Amity.Events[T], any>) => Amity.Unsubscriber;
17
+ export declare const createMqttMessageSubscriber: <T extends "message" | "error" | "disconnected" | "connect_error" | "reconnect_error" | "reconnect_failed" | "connect" | "disconnect" | "close" | "end" | "reconnect" | "video-streaming.didStart" | "video-streaming.didRecord" | "video-streaming.didStop" | "video-streaming.didFlag" | "video-streaming.didTerminate" | "video-streaming.viewerDidBan" | "video-streaming.viewerDidUnban" | "user.didGlobalBan" | "liveReaction.created" | "channel.created" | "channel.updated" | "channel.deleted" | "channel.setMuted" | "channel.setMutedUsers" | "channel.messagePinned" | "channel.messageUnpinned" | "channel.joined" | "channel.left" | "channel.membersAdded" | "channel.membersRemoved" | "channel.banned" | "channel.unbanned" | "channel.roleAdded" | "channel.roleRemoved" | "message-feed.created" | "message-feed.updated" | "message-feed.deleted" | "message.created" | "message.updated" | "message.deleted" | "message.flagged" | "message.unflagged" | "message.flagCleared" | "message.reactionAdded" | "message.reactionRemoved" | "community.created" | "community.updated" | "community.deleted" | "community.joined" | "community.left" | "community.userAdded" | "community.userRemoved" | "community.userChanged" | "community.userBanned" | "community.userUnbanned" | "community.roleAdded" | "community.roleRemoved" | "post.created" | "post.updated" | "post.deleted" | "post.approved" | "post.declined" | "post.flagged" | "post.unflagged" | "post.addReaction" | "post.removeReaction" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.approved" | "comment.flagged" | "comment.unflagged" | "comment.addReaction" | "comment.removeReaction" | "user.fetched" | "user.updated" | "user.deleted" | "user.flagged" | "user.unflagged" | "user.flagCleared" | "follow.created" | "follow.requested" | "follow.accepted" | "follow.unfollowed" | "follow.requestCanceled" | "follow.requestDeclined" | "follow.followerDeleted" | "user.didBlock" | "user.didUnblock" | "marker.marked-message" | "marker.feed-updated" | "marker.user-sync" | "marker.userFeed-updated" | "story.created" | "story.updated" | "story.deleted" | "story.flagged" | "story.unflagged" | "story.reactionAdded" | "story.reactionRemoved" | "room.startBroadcasting" | "room.waitingReconnect" | "room.endBroadcasting" | "room.recordedAvailable" | "room.participantJoined" | "room.participantLeft" | "room.participantStageJoined" | "room.participantStageLeft" | "room.participantRemoved" | "room.didCohostInvite" | "room.didCohostInviteAccept" | "room.didCohostInviteReject" | "room.didCohostInviteCancel" | "room.terminated" | "room.didUpdate" | "event.created" | "event.updated" | "event.deleted" | "event.started" | "event.ended" | "event.cancelled" | "event.rsvp.created" | "event.rsvp.updated" | "event.rsvp.changed" | "event.reminder" | "event.invitation" | "local.channel.updated" | "local.channel.fetched" | "local.channel.archived" | "local.channel.unarchived" | "local.channel-moderator.role-added" | "local.channel-moderator.role-removed" | "local.message.created" | "local.message.updated" | "local.message.deleted" | "local.message.fetched" | "local.message-feed.updated" | "local.message-feed.fetched" | "local.message-feed.deleted" | "poll.updated" | "poll.deleted" | "local.feedMarker.fetched" | "local.channelMarker.fetched" | "local.channelMarker.updated" | "local.subChannelMarker.fetched" | "local.subChannelMarker.updated" | "local.messageMarker.fetched" | "local.userMarker.fetched" | "local.userMessageFeedMarker.fetched" | "local.channel.resolved" | "local.userMessageFeedMarkers.resolved" | "local.subChannelUnread.updated" | "local.channelUnreadInfo.updated" | "local.channelUnread.updated" | "local.story.created" | "local.story.updated" | "local.story.deleted" | "local.story.flagged" | "local.story.unflagged" | "local.story.reactionAdded" | "local.story.reactionRemoved" | "local.story.error" | "local.story.reload" | "local.notificationTraySeen.updated" | "local.notificationTrayItem.updated" | "local.invitation.created" | "local.invitation.updated" | "local.invitation.canceled" | "v4.local.community.joined" | "local.joinRequest.created" | "local.joinRequest.updated" | "local.joinRequest.deleted" | "local.liveReaction.created" | "local.room.created" | "local.room.updated" | "local.room.deleted" | "local.room.stopped" | "local.room.participantRemoved" | "local.room.left" | "local.room.didUpdate" | "sessionStateChange" | "tokenExpired" | "tokenTerminated" | "unreadCountEnabled" | "visitorUsageLimitReached" | "local.post.updated" | "local.post.deleted" | "local.post.addReaction" | "local.post.removeReaction" | "local.comment.created" | "local.comment.deleted" | "local.comment.addReaction" | "local.comment.removeReaction" | "local.community.joined" | "local.community.left" | "local.community.roleAdded" | "local.community.roleRemoved" | "local.community.userAdded" | "local.community.userRemoved" | "local.follow.created" | "local.follow.requested" | "local.follow.accepted" | "local.follow.unfollowed" | "local.follow.requestDeclined" | "local.event.created" | "local.event.updated" | "local.event.deleted" | "local.event.started" | "local.event.ended" | "local.event.cancelled" | "local.event.rsvp.changed" | "local.rsvp.created" | "local.rsvp.updated" | "local.event.reminder" | "local.event.invitation">(client: Amity.Client, namespace: string, event: T, fn: (params: Record<string, unknown>) => void) => Amity.Unsubscriber;
18
18
  /**
19
19
  * Wrapper around dispatch event
20
20
  *
21
21
  * @hidden
22
22
  */
23
- export declare const fireEvent: <T extends "message" | "error" | "disconnected" | "connect_error" | "reconnect_error" | "reconnect_failed" | "connect" | "disconnect" | "close" | "end" | "reconnect" | "video-streaming.didStart" | "video-streaming.didRecord" | "video-streaming.didStop" | "video-streaming.didFlag" | "video-streaming.didTerminate" | "video-streaming.viewerDidBan" | "video-streaming.viewerDidUnban" | "user.didGlobalBan" | "liveReaction.created" | "channel.created" | "channel.updated" | "channel.deleted" | "channel.setMuted" | "channel.setMutedUsers" | "channel.joined" | "channel.left" | "channel.membersAdded" | "channel.membersRemoved" | "channel.banned" | "channel.unbanned" | "message-feed.created" | "message-feed.updated" | "message-feed.deleted" | "message.created" | "message.updated" | "message.deleted" | "message.flagged" | "message.unflagged" | "message.flagCleared" | "message.reactionAdded" | "message.reactionRemoved" | "community.created" | "community.updated" | "community.deleted" | "community.joined" | "community.left" | "community.userAdded" | "community.userRemoved" | "community.userChanged" | "community.userBanned" | "community.userUnbanned" | "community.roleAdded" | "community.roleRemoved" | "post.created" | "post.updated" | "post.deleted" | "post.approved" | "post.declined" | "post.flagged" | "post.unflagged" | "post.addReaction" | "post.removeReaction" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.flagged" | "comment.unflagged" | "comment.addReaction" | "comment.removeReaction" | "user.fetched" | "user.updated" | "user.deleted" | "user.flagged" | "user.unflagged" | "user.flagCleared" | "follow.created" | "follow.requested" | "follow.accepted" | "follow.unfollowed" | "follow.requestCanceled" | "follow.requestDeclined" | "follow.followerDeleted" | "user.didBlock" | "user.didUnblock" | "marker.marked-message" | "marker.feed-updated" | "marker.user-sync" | "marker.userFeed-updated" | "story.created" | "story.updated" | "story.deleted" | "story.flagged" | "story.unflagged" | "story.reactionAdded" | "story.reactionRemoved" | "room.startBroadcasting" | "room.waitingReconnect" | "room.endBroadcasting" | "room.recordedAvailable" | "room.participantJoined" | "room.participantLeft" | "room.participantStageJoined" | "room.participantStageLeft" | "room.participantRemoved" | "room.didCohostInvite" | "room.didCohostInviteAccept" | "room.didCohostInviteReject" | "room.didCohostInviteCancel" | "room.terminated" | "room.didUpdate" | "event.created" | "event.updated" | "event.deleted" | "event.started" | "event.ended" | "event.cancelled" | "event.rsvp.created" | "event.rsvp.updated" | "event.rsvp.changed" | "event.reminder" | "event.invitation" | "local.channel.updated" | "local.channel.fetched" | "local.channel.archived" | "local.channel.unarchived" | "local.channel-moderator.role-added" | "local.channel-moderator.role-removed" | "local.message.created" | "local.message.updated" | "local.message.deleted" | "local.message.fetched" | "local.message-feed.updated" | "local.message-feed.fetched" | "local.message-feed.deleted" | "poll.updated" | "poll.deleted" | "local.feedMarker.fetched" | "local.channelMarker.fetched" | "local.channelMarker.updated" | "local.subChannelMarker.fetched" | "local.subChannelMarker.updated" | "local.messageMarker.fetched" | "local.userMarker.fetched" | "local.userMessageFeedMarker.fetched" | "local.channel.resolved" | "local.userMessageFeedMarkers.resolved" | "local.subChannelUnread.updated" | "local.channelUnreadInfo.updated" | "local.channelUnread.updated" | "local.story.created" | "local.story.updated" | "local.story.deleted" | "local.story.flagged" | "local.story.unflagged" | "local.story.reactionAdded" | "local.story.reactionRemoved" | "local.story.error" | "local.story.reload" | "local.notificationTraySeen.updated" | "local.notificationTrayItem.updated" | "local.invitation.created" | "local.invitation.updated" | "local.invitation.canceled" | "v4.local.community.joined" | "local.joinRequest.created" | "local.joinRequest.updated" | "local.joinRequest.deleted" | "local.liveReaction.created" | "local.room.created" | "local.room.updated" | "local.room.deleted" | "local.room.stopped" | "local.room.participantRemoved" | "local.room.left" | "local.room.didUpdate" | "sessionStateChange" | "tokenExpired" | "tokenTerminated" | "unreadCountEnabled" | "visitorUsageLimitReached" | "local.post.updated" | "local.post.deleted" | "local.post.addReaction" | "local.post.removeReaction" | "local.comment.created" | "local.comment.deleted" | "local.comment.addReaction" | "local.comment.removeReaction" | "local.community.joined" | "local.community.left" | "local.community.roleAdded" | "local.community.roleRemoved" | "local.community.userAdded" | "local.community.userRemoved" | "local.follow.created" | "local.follow.requested" | "local.follow.accepted" | "local.follow.unfollowed" | "local.follow.requestDeclined" | "local.event.created" | "local.event.updated" | "local.event.deleted" | "local.event.started" | "local.event.ended" | "local.event.cancelled" | "local.event.rsvp.changed" | "local.rsvp.created" | "local.rsvp.updated" | "local.event.reminder" | "local.event.invitation">(event: T, payload: Amity.Events[T]) => void;
23
+ export declare const fireEvent: <T extends "message" | "error" | "disconnected" | "connect_error" | "reconnect_error" | "reconnect_failed" | "connect" | "disconnect" | "close" | "end" | "reconnect" | "video-streaming.didStart" | "video-streaming.didRecord" | "video-streaming.didStop" | "video-streaming.didFlag" | "video-streaming.didTerminate" | "video-streaming.viewerDidBan" | "video-streaming.viewerDidUnban" | "user.didGlobalBan" | "liveReaction.created" | "channel.created" | "channel.updated" | "channel.deleted" | "channel.setMuted" | "channel.setMutedUsers" | "channel.messagePinned" | "channel.messageUnpinned" | "channel.joined" | "channel.left" | "channel.membersAdded" | "channel.membersRemoved" | "channel.banned" | "channel.unbanned" | "channel.roleAdded" | "channel.roleRemoved" | "message-feed.created" | "message-feed.updated" | "message-feed.deleted" | "message.created" | "message.updated" | "message.deleted" | "message.flagged" | "message.unflagged" | "message.flagCleared" | "message.reactionAdded" | "message.reactionRemoved" | "community.created" | "community.updated" | "community.deleted" | "community.joined" | "community.left" | "community.userAdded" | "community.userRemoved" | "community.userChanged" | "community.userBanned" | "community.userUnbanned" | "community.roleAdded" | "community.roleRemoved" | "post.created" | "post.updated" | "post.deleted" | "post.approved" | "post.declined" | "post.flagged" | "post.unflagged" | "post.addReaction" | "post.removeReaction" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.approved" | "comment.flagged" | "comment.unflagged" | "comment.addReaction" | "comment.removeReaction" | "user.fetched" | "user.updated" | "user.deleted" | "user.flagged" | "user.unflagged" | "user.flagCleared" | "follow.created" | "follow.requested" | "follow.accepted" | "follow.unfollowed" | "follow.requestCanceled" | "follow.requestDeclined" | "follow.followerDeleted" | "user.didBlock" | "user.didUnblock" | "marker.marked-message" | "marker.feed-updated" | "marker.user-sync" | "marker.userFeed-updated" | "story.created" | "story.updated" | "story.deleted" | "story.flagged" | "story.unflagged" | "story.reactionAdded" | "story.reactionRemoved" | "room.startBroadcasting" | "room.waitingReconnect" | "room.endBroadcasting" | "room.recordedAvailable" | "room.participantJoined" | "room.participantLeft" | "room.participantStageJoined" | "room.participantStageLeft" | "room.participantRemoved" | "room.didCohostInvite" | "room.didCohostInviteAccept" | "room.didCohostInviteReject" | "room.didCohostInviteCancel" | "room.terminated" | "room.didUpdate" | "event.created" | "event.updated" | "event.deleted" | "event.started" | "event.ended" | "event.cancelled" | "event.rsvp.created" | "event.rsvp.updated" | "event.rsvp.changed" | "event.reminder" | "event.invitation" | "local.channel.updated" | "local.channel.fetched" | "local.channel.archived" | "local.channel.unarchived" | "local.channel-moderator.role-added" | "local.channel-moderator.role-removed" | "local.message.created" | "local.message.updated" | "local.message.deleted" | "local.message.fetched" | "local.message-feed.updated" | "local.message-feed.fetched" | "local.message-feed.deleted" | "poll.updated" | "poll.deleted" | "local.feedMarker.fetched" | "local.channelMarker.fetched" | "local.channelMarker.updated" | "local.subChannelMarker.fetched" | "local.subChannelMarker.updated" | "local.messageMarker.fetched" | "local.userMarker.fetched" | "local.userMessageFeedMarker.fetched" | "local.channel.resolved" | "local.userMessageFeedMarkers.resolved" | "local.subChannelUnread.updated" | "local.channelUnreadInfo.updated" | "local.channelUnread.updated" | "local.story.created" | "local.story.updated" | "local.story.deleted" | "local.story.flagged" | "local.story.unflagged" | "local.story.reactionAdded" | "local.story.reactionRemoved" | "local.story.error" | "local.story.reload" | "local.notificationTraySeen.updated" | "local.notificationTrayItem.updated" | "local.invitation.created" | "local.invitation.updated" | "local.invitation.canceled" | "v4.local.community.joined" | "local.joinRequest.created" | "local.joinRequest.updated" | "local.joinRequest.deleted" | "local.liveReaction.created" | "local.room.created" | "local.room.updated" | "local.room.deleted" | "local.room.stopped" | "local.room.participantRemoved" | "local.room.left" | "local.room.didUpdate" | "sessionStateChange" | "tokenExpired" | "tokenTerminated" | "unreadCountEnabled" | "visitorUsageLimitReached" | "local.post.updated" | "local.post.deleted" | "local.post.addReaction" | "local.post.removeReaction" | "local.comment.created" | "local.comment.deleted" | "local.comment.addReaction" | "local.comment.removeReaction" | "local.community.joined" | "local.community.left" | "local.community.roleAdded" | "local.community.roleRemoved" | "local.community.userAdded" | "local.community.userRemoved" | "local.follow.created" | "local.follow.requested" | "local.follow.accepted" | "local.follow.unfollowed" | "local.follow.requestDeclined" | "local.event.created" | "local.event.updated" | "local.event.deleted" | "local.event.started" | "local.event.ended" | "local.event.cancelled" | "local.event.rsvp.changed" | "local.rsvp.created" | "local.rsvp.updated" | "local.event.reminder" | "local.event.invitation">(event: T, payload: Amity.Events[T]) => void;
24
24
  //# sourceMappingURL=events.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/core/events.ts"],"names":[],"mappings":"AAwCA,cAAc;AACd,eAAO,MAAM,kBAAkB,4CAE9B,CAAC;AAEF,eAAO,MAAM,eAAe,eACd,MAAM,MAAM,CAAC,MAAM,CAAC,WACvB,MAAM,MAAM,CAAC,SAAS,CAAC,SAajC,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,qBAAqB,0kKACxB,MAAM,MAAM,aACT,MAAM,yDAGhB,MAAM,YAsBR,CAAC;AAEF,eAAO,MAAM,2BAA2B,0kKAC9B,MAAM,MAAM,aACT,MAAM,yBAEJ,OAAO,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,KAC5C,MAAM,YAQR,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,SAAS,6mKAKrB,CAAC"}
1
+ {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/core/events.ts"],"names":[],"mappings":"AAwCA,cAAc;AACd,eAAO,MAAM,kBAAkB,4CAE9B,CAAC;AAEF,eAAO,MAAM,eAAe,eACd,MAAM,MAAM,CAAC,MAAM,CAAC,WACvB,MAAM,MAAM,CAAC,SAAS,CAAC,SAajC,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,qBAAqB,msKACxB,MAAM,MAAM,aACT,MAAM,yDAGhB,MAAM,YAsBR,CAAC;AAEF,eAAO,MAAM,2BAA2B,msKAC9B,MAAM,MAAM,aACT,MAAM,yBAEJ,OAAO,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,KAC5C,MAAM,YAQR,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,SAAS,suKAKrB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=device.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"device.test.d.ts","sourceRoot":"","sources":["../../../src/core/tests/device.test.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../../src/core/transports/http.ts"],"names":[],"mappings":"AAeA,oBAAY,kBAAkB;IAC5B,WAAW,iBAAiB;IAC5B,gBAAgB,uBAAuB;IACvC,YAAY,kBAAkB;CAC/B;AAUD,yDAAyD;AACzD,eAAO,MAAM,oBAAoB,YAEhC,CAAC;AAuDF,mDAAmD;AACnD,eAAO,MAAM,yBAAyB,YAErC,CAAC;AAGF;;;;;;;;GAQG;AACH,eAAO,MAAM,mBAAmB,aAAc,MAAM,kCA+HnD,CAAC"}
1
+ {"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../../src/core/transports/http.ts"],"names":[],"mappings":"AAgBA,oBAAY,kBAAkB;IAC5B,WAAW,iBAAiB;IAC5B,gBAAgB,uBAAuB;IACvC,YAAY,kBAAkB;CAC/B;AAUD,yDAAyD;AACzD,eAAO,MAAM,oBAAoB,YAEhC,CAAC;AAuDF,mDAAmD;AACnD,eAAO,MAAM,yBAAyB,YAErC,CAAC;AAGF;;;;;;;;GAQG;AACH,eAAO,MAAM,mBAAmB,aAAc,MAAM,kCA6InD,CAAC"}
@@ -10,4 +10,12 @@
10
10
  * @hidden
11
11
  */
12
12
  export declare const unwrapPayload: <T>(response: Amity.Response<T>) => T;
13
+ /**
14
+ * W3C Trace Context `traceparent`: `version-<16-byte trace-id>-<8-byte span-id>-<flags>`.
15
+ * The SDK is the trace originator, so it mints a fresh trace + span id per request; flags `01` = sampled.
16
+ *
17
+ * @category Transport
18
+ * @hidden
19
+ */
20
+ export declare const generateTraceparent: () => string;
13
21
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/core/transports/utils.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AACH,eAAO,MAAM,aAAa,uCAYzB,CAAC"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/core/transports/utils.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;GAUG;AACH,eAAO,MAAM,aAAa,uCAYzB,CAAC;AAYF;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB,QAAO,MAAkD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const getPool: (topicId: string, limit?: number) => Promise<Amity.CuratedContentPool>;
2
+ //# sourceMappingURL=getPool.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getPool.d.ts","sourceRoot":"","sources":["../../../src/curatedContentRepository/api/getPool.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,OAAO,YACT,MAAM,UACP,MAAM,KACb,QAAQ,MAAM,kBAAkB,CAoClC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './getPool';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/curatedContentRepository/api/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=getPool.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getPool.test.d.ts","sourceRoot":"","sources":["../../../../src/curatedContentRepository/api/tests/getPool.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=getPool.integration.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getPool.integration.test.d.ts","sourceRoot":"","sources":["../../../../../src/curatedContentRepository/api/tests/integration/getPool.integration.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export * from './api';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/curatedContentRepository/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC"}