@stream-io/feeds-client 0.3.25 → 0.3.27

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 (167) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/cjs/index.js +1 -1
  3. package/dist/cjs/react-bindings.js +60 -931
  4. package/dist/cjs/react-bindings.js.map +1 -1
  5. package/dist/es/index.mjs +2 -2
  6. package/dist/es/react-bindings.mjs +9 -885
  7. package/dist/es/react-bindings.mjs.map +1 -1
  8. package/dist/{feeds-client-BULS-w1O.mjs → feeds-client-Db36zlJs.mjs} +9 -10
  9. package/dist/{feeds-client-BULS-w1O.mjs.map → feeds-client-Db36zlJs.mjs.map} +1 -1
  10. package/dist/{feeds-client-DUD5wy6N.js → feeds-client-DwFyePYB.js} +9 -10
  11. package/dist/{feeds-client-DUD5wy6N.js.map → feeds-client-DwFyePYB.js.map} +1 -1
  12. package/dist/tsconfig.lib.tsbuildinfo +1 -0
  13. package/dist/types/activity-with-state-updates/activity-with-state-updates.d.ts +4 -4
  14. package/dist/types/activity-with-state-updates/activity-with-state-updates.d.ts.map +1 -1
  15. package/dist/types/activity-with-state-updates/get-feed.d.ts +2 -2
  16. package/dist/types/bindings/react/contexts/StreamFeedContext.d.ts +2 -2
  17. package/dist/types/bindings/react/contexts/StreamFeedContext.d.ts.map +1 -1
  18. package/dist/types/bindings/react/contexts/StreamFeedsContext.d.ts +2 -2
  19. package/dist/types/bindings/react/contexts/StreamFeedsContext.d.ts.map +1 -1
  20. package/dist/types/bindings/react/contexts/StreamSearchContext.d.ts +2 -2
  21. package/dist/types/bindings/react/contexts/StreamSearchContext.d.ts.map +1 -1
  22. package/dist/types/bindings/react/contexts/StreamSearchResultsContext.d.ts +2 -2
  23. package/dist/types/bindings/react/contexts/StreamSearchResultsContext.d.ts.map +1 -1
  24. package/dist/types/bindings/react/hooks/client-state-hooks/useClientConnectedUser.d.ts +1 -1
  25. package/dist/types/bindings/react/hooks/client-state-hooks/useClientConnectedUser.d.ts.map +1 -1
  26. package/dist/types/bindings/react/hooks/client-state-hooks/useWsConnectionState.d.ts.map +1 -1
  27. package/dist/types/bindings/react/hooks/feed-state-hooks/useActivityComments.d.ts +5 -3
  28. package/dist/types/bindings/react/hooks/feed-state-hooks/useActivityComments.d.ts.map +1 -1
  29. package/dist/types/bindings/react/hooks/feed-state-hooks/useAggregatedActivities.d.ts +2 -2
  30. package/dist/types/bindings/react/hooks/feed-state-hooks/useAggregatedActivities.d.ts.map +1 -1
  31. package/dist/types/bindings/react/hooks/feed-state-hooks/useComments.d.ts +3 -1
  32. package/dist/types/bindings/react/hooks/feed-state-hooks/useComments.d.ts.map +1 -1
  33. package/dist/types/bindings/react/hooks/feed-state-hooks/useFeedActivities.d.ts +3 -3
  34. package/dist/types/bindings/react/hooks/feed-state-hooks/useFeedActivities.d.ts.map +1 -1
  35. package/dist/types/bindings/react/hooks/feed-state-hooks/useFeedMetadata.d.ts +2 -2
  36. package/dist/types/bindings/react/hooks/feed-state-hooks/useFeedMetadata.d.ts.map +1 -1
  37. package/dist/types/bindings/react/hooks/feed-state-hooks/useFollowers.d.ts +4 -4
  38. package/dist/types/bindings/react/hooks/feed-state-hooks/useFollowers.d.ts.map +1 -1
  39. package/dist/types/bindings/react/hooks/feed-state-hooks/useFollowing.d.ts +4 -4
  40. package/dist/types/bindings/react/hooks/feed-state-hooks/useFollowing.d.ts.map +1 -1
  41. package/dist/types/bindings/react/hooks/feed-state-hooks/useIsAggregatedActivityRead.d.ts +2 -1
  42. package/dist/types/bindings/react/hooks/feed-state-hooks/useIsAggregatedActivityRead.d.ts.map +1 -1
  43. package/dist/types/bindings/react/hooks/feed-state-hooks/useIsAggregatedActivitySeen.d.ts +2 -1
  44. package/dist/types/bindings/react/hooks/feed-state-hooks/useIsAggregatedActivitySeen.d.ts.map +1 -1
  45. package/dist/types/bindings/react/hooks/feed-state-hooks/useNotificationStatus.d.ts +1 -1
  46. package/dist/types/bindings/react/hooks/feed-state-hooks/useNotificationStatus.d.ts.map +1 -1
  47. package/dist/types/bindings/react/hooks/feed-state-hooks/useOwnCapabilities.d.ts +2 -1
  48. package/dist/types/bindings/react/hooks/feed-state-hooks/useOwnCapabilities.d.ts.map +1 -1
  49. package/dist/types/bindings/react/hooks/feed-state-hooks/useOwnFollows.d.ts +2 -2
  50. package/dist/types/bindings/react/hooks/feed-state-hooks/useOwnFollows.d.ts.map +1 -1
  51. package/dist/types/bindings/react/hooks/search-state-hooks/useSearchQuery.d.ts +1 -1
  52. package/dist/types/bindings/react/hooks/search-state-hooks/useSearchQuery.d.ts.map +1 -1
  53. package/dist/types/bindings/react/hooks/search-state-hooks/useSearchResult.d.ts +2 -2
  54. package/dist/types/bindings/react/hooks/search-state-hooks/useSearchResult.d.ts.map +1 -1
  55. package/dist/types/bindings/react/hooks/search-state-hooks/useSearchSources.d.ts +2 -2
  56. package/dist/types/bindings/react/hooks/search-state-hooks/useSearchSources.d.ts.map +1 -1
  57. package/dist/types/bindings/react/hooks/useCreateFeedsClient.d.ts +4 -1
  58. package/dist/types/bindings/react/hooks/useCreateFeedsClient.d.ts.map +1 -1
  59. package/dist/types/bindings/react/wrappers/StreamFeed.d.ts +2 -2
  60. package/dist/types/bindings/react/wrappers/StreamFeed.d.ts.map +1 -1
  61. package/dist/types/bindings/react/wrappers/StreamFeeds.d.ts +2 -2
  62. package/dist/types/bindings/react/wrappers/StreamSearch.d.ts +2 -2
  63. package/dist/types/bindings/react/wrappers/StreamSearch.d.ts.map +1 -1
  64. package/dist/types/bindings/react/wrappers/StreamSearchResults.d.ts +2 -2
  65. package/dist/types/bindings/react/wrappers/StreamSearchResults.d.ts.map +1 -1
  66. package/dist/types/common/ApiClient.d.ts +3 -3
  67. package/dist/types/common/EventDispatcher.d.ts +1 -1
  68. package/dist/types/common/Poll.d.ts +2 -2
  69. package/dist/types/common/rate-limit.d.ts +1 -1
  70. package/dist/types/common/real-time/StableWSConnection.d.ts +6 -6
  71. package/dist/types/common/real-time/event-models.d.ts +2 -1
  72. package/dist/types/common/real-time/event-models.d.ts.map +1 -1
  73. package/dist/types/common/search/ActivitySearchSource.d.ts +3 -3
  74. package/dist/types/common/search/BaseSearchSource.d.ts +2 -2
  75. package/dist/types/common/search/FeedSearchSource.d.ts +3 -3
  76. package/dist/types/common/search/SearchController.d.ts +1 -1
  77. package/dist/types/common/search/UserSearchSource.d.ts +4 -4
  78. package/dist/types/common/types.d.ts +1 -1
  79. package/dist/types/feed/event-handlers/activity/handle-activity-added.d.ts +3 -3
  80. package/dist/types/feed/event-handlers/activity/handle-activity-deleted.d.ts +3 -3
  81. package/dist/types/feed/event-handlers/activity/handle-activity-feedback.d.ts +2 -2
  82. package/dist/types/feed/event-handlers/activity/handle-activity-feedback.d.ts.map +1 -1
  83. package/dist/types/feed/event-handlers/activity/handle-activity-marked.d.ts +3 -3
  84. package/dist/types/feed/event-handlers/activity/handle-activity-pinned.d.ts +2 -2
  85. package/dist/types/feed/event-handlers/activity/handle-activity-reaction-added.d.ts +3 -3
  86. package/dist/types/feed/event-handlers/activity/handle-activity-reaction-deleted.d.ts +3 -3
  87. package/dist/types/feed/event-handlers/activity/handle-activity-reaction-updated.d.ts +3 -3
  88. package/dist/types/feed/event-handlers/activity/handle-activity-removed-from-feed.d.ts +2 -2
  89. package/dist/types/feed/event-handlers/activity/handle-activity-unpinned.d.ts +2 -2
  90. package/dist/types/feed/event-handlers/activity/handle-activity-updated.d.ts +3 -3
  91. package/dist/types/feed/event-handlers/activity-updater.d.ts +15 -15
  92. package/dist/types/feed/event-handlers/add-aggregated-activities-to-state.d.ts +2 -2
  93. package/dist/types/feed/event-handlers/bookmark/handle-bookmark-added.d.ts +3 -3
  94. package/dist/types/feed/event-handlers/bookmark/handle-bookmark-deleted.d.ts +3 -3
  95. package/dist/types/feed/event-handlers/bookmark/handle-bookmark-updated.d.ts +3 -3
  96. package/dist/types/feed/event-handlers/comment/handle-comment-added.d.ts +2 -2
  97. package/dist/types/feed/event-handlers/comment/handle-comment-deleted.d.ts +3 -2
  98. package/dist/types/feed/event-handlers/comment/handle-comment-reaction-added.d.ts +3 -2
  99. package/dist/types/feed/event-handlers/comment/handle-comment-reaction-deleted.d.ts +3 -2
  100. package/dist/types/feed/event-handlers/comment/handle-comment-reaction-updated.d.ts +3 -2
  101. package/dist/types/feed/event-handlers/comment/handle-comment-updated.d.ts +3 -2
  102. package/dist/types/feed/event-handlers/comment/utils/update-comment-count.d.ts +2 -1
  103. package/dist/types/feed/event-handlers/comment/utils/update-comment-count.d.ts.map +1 -1
  104. package/dist/types/feed/event-handlers/feed/handle-feed-updated.d.ts +2 -2
  105. package/dist/types/feed/event-handlers/feed-member/handle-feed-member-added.d.ts +2 -2
  106. package/dist/types/feed/event-handlers/feed-member/handle-feed-member-removed.d.ts +2 -2
  107. package/dist/types/feed/event-handlers/feed-member/handle-feed-member-updated.d.ts +2 -2
  108. package/dist/types/feed/event-handlers/follow/handle-follow-created.d.ts +3 -3
  109. package/dist/types/feed/event-handlers/follow/handle-follow-deleted.d.ts +3 -3
  110. package/dist/types/feed/event-handlers/follow/handle-follow-updated.d.ts +2 -2
  111. package/dist/types/feed/event-handlers/is-activity-pin.d.ts +1 -1
  112. package/dist/types/feed/event-handlers/notification-feed/handle-notification-feed-updated.d.ts +3 -3
  113. package/dist/types/feed/event-handlers/story-feeds/handle-story-feeds-updated.d.ts +3 -3
  114. package/dist/types/feed/event-handlers/watch/handle-watch-started.d.ts +1 -1
  115. package/dist/types/feed/event-handlers/watch/handle-watch-stopped.d.ts +1 -1
  116. package/dist/types/feed/feed.d.ts +9 -9
  117. package/dist/types/feeds-client/active-activity.d.ts +1 -1
  118. package/dist/types/feeds-client/event-handlers/user/handle-user-updated.d.ts +2 -2
  119. package/dist/types/feeds-client/feeds-client.d.ts +22 -22
  120. package/dist/types/feeds-client/feeds-client.d.ts.map +1 -1
  121. package/dist/types/feeds-client/get-or-create-active-feed.d.ts +2 -2
  122. package/dist/types/gen/feeds/FeedApi.d.ts +2 -2
  123. package/dist/types/gen/feeds/FeedsApi.d.ts +2 -2
  124. package/dist/types/gen/model-decoders/event-decoder-mapping.d.ts +1 -1
  125. package/dist/types/gen/moderation/ModerationApi.d.ts +2 -2
  126. package/dist/types/types-internal.d.ts +1 -1
  127. package/dist/types/types.d.ts +5 -4
  128. package/dist/types/utils/check-own-fields-equality.d.ts +2 -2
  129. package/dist/types/utils/event-triggered-by-connected-user.d.ts +2 -2
  130. package/dist/types/utils/own-feed-fields.d.ts +1 -1
  131. package/dist/types/utils/state-update-queue.d.ts +4 -4
  132. package/dist/types/utils/throttling/throttled-get-batched-own-capabilities.d.ts +2 -2
  133. package/dist/types/utils/throttling/throttled-get-batched-own-capabilities.d.ts.map +1 -1
  134. package/dist/types/utils/type-assertions.d.ts +2 -2
  135. package/package.json +11 -12
  136. package/src/activity-with-state-updates/activity-with-state-updates.ts +2 -2
  137. package/src/bindings/react/contexts/StreamFeedContext.tsx +2 -1
  138. package/src/bindings/react/contexts/StreamFeedsContext.tsx +2 -1
  139. package/src/bindings/react/contexts/StreamSearchContext.tsx +2 -1
  140. package/src/bindings/react/contexts/StreamSearchResultsContext.tsx +2 -1
  141. package/src/bindings/react/hooks/client-state-hooks/useClientConnectedUser.ts +2 -1
  142. package/src/bindings/react/hooks/client-state-hooks/useWsConnectionState.ts +2 -1
  143. package/src/bindings/react/hooks/feed-state-hooks/useActivityComments.ts +7 -11
  144. package/src/bindings/react/hooks/feed-state-hooks/useAggregatedActivities.ts +3 -2
  145. package/src/bindings/react/hooks/feed-state-hooks/useComments.ts +5 -9
  146. package/src/bindings/react/hooks/feed-state-hooks/useFeedActivities.ts +4 -3
  147. package/src/bindings/react/hooks/feed-state-hooks/useFeedMetadata.ts +3 -2
  148. package/src/bindings/react/hooks/feed-state-hooks/useFollowers.ts +2 -1
  149. package/src/bindings/react/hooks/feed-state-hooks/useFollowing.ts +3 -1
  150. package/src/bindings/react/hooks/feed-state-hooks/useIsAggregatedActivityRead.ts +4 -2
  151. package/src/bindings/react/hooks/feed-state-hooks/useIsAggregatedActivitySeen.ts +4 -2
  152. package/src/bindings/react/hooks/feed-state-hooks/useNotificationStatus.ts +3 -1
  153. package/src/bindings/react/hooks/feed-state-hooks/useOwnCapabilities.ts +5 -2
  154. package/src/bindings/react/hooks/feed-state-hooks/useOwnFollows.ts +3 -2
  155. package/src/bindings/react/hooks/search-state-hooks/useSearchQuery.ts +6 -2
  156. package/src/bindings/react/hooks/search-state-hooks/useSearchResult.ts +4 -2
  157. package/src/bindings/react/hooks/search-state-hooks/useSearchSources.ts +3 -5
  158. package/src/bindings/react/hooks/useCreateFeedsClient.ts +5 -6
  159. package/src/bindings/react/wrappers/StreamFeed.tsx +2 -1
  160. package/src/bindings/react/wrappers/StreamSearch.tsx +2 -1
  161. package/src/bindings/react/wrappers/StreamSearchResults.tsx +2 -1
  162. package/src/common/real-time/event-models.ts +2 -2
  163. package/src/feed/event-handlers/activity/handle-activity-feedback.ts +4 -8
  164. package/src/feed/event-handlers/comment/utils/update-comment-count.ts +2 -2
  165. package/src/feed/feed.ts +1 -1
  166. package/src/feeds-client/feeds-client.ts +10 -12
  167. package/src/utils/throttling/throttled-get-batched-own-capabilities.ts +1 -1
@@ -1,4 +1,6 @@
1
- import { ActivityResponse, CommentResponse, CommentParent, Feed, FeedState } from '../../../..';
1
+ import type { ActivityResponse, CommentResponse } from '../../../../gen/models';
2
+ import type { Feed, FeedState } from '../../../../feed';
3
+ import type { CommentParent } from '../../../../types';
2
4
  type UseCommentsReturnType<T extends ActivityResponse | CommentResponse> = {
3
5
  comments: NonNullable<FeedState['comments_by_entity_id'][T['id']]>['comments'];
4
6
  comments_pagination: NonNullable<FeedState['comments_by_entity_id'][T['id']]>['pagination'];
@@ -1 +1 @@
1
- {"version":3,"file":"useComments.d.ts","sourceRoot":"","sources":["../../../../../../src/bindings/react/hooks/feed-state-hooks/useComments.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,IAAI,EACT,KAAK,SAAS,EAGf,MAAM,OAAO,CAAC;AAIf,KAAK,qBAAqB,CAAC,CAAC,SAAS,gBAAgB,GAAG,eAAe,IAAI;IACzE,QAAQ,EAAE,WAAW,CACnB,SAAS,CAAC,uBAAuB,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAC5C,CAAC,UAAU,CAAC,CAAC;IACd,mBAAmB,EAAE,WAAW,CAC9B,SAAS,CAAC,uBAAuB,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAC5C,CAAC,YAAY,CAAC,CAAC;IAChB,aAAa,EAAE,OAAO,CAAC;IACvB,oBAAoB,EAAE,OAAO,CAAC;IAC9B,YAAY,EAAE,CACZ,OAAO,CAAC,EAAE,CAAC,SAAS,eAAe,GAC/B,UAAU,CAAC,IAAI,CAAC,4BAA4B,CAAC,CAAC,CAAC,CAAC,CAAC,GACjD,UAAU,CAAC,IAAI,CAAC,8BAA8B,CAAC,CAAC,CAAC,CAAC,CAAC,KACpD,OAAO,CAAC,IAAI,CAAC,CAAC;CACpB,CAAC;AAEF;;;GAGG;AACH,wBAAgB,WAAW,CAAC,CAAC,SAAS,aAAa,EAAE,CAAC,EAAE;IACtD,IAAI,EAAE,IAAI,CAAC;IACX,MAAM,EAAE,CAAC,CAAC;CACX,GAAG,qBAAqB,CAAC,CAAC,CAAC,CAAC;AAC7B,wBAAgB,WAAW,CAAC,CAAC,SAAS,aAAa,EAAE,CAAC,EAAE;IACtD,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,MAAM,EAAE,CAAC,CAAC;CACX,GAAG,qBAAqB,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC"}
1
+ {"version":3,"file":"useComments.d.ts","sourceRoot":"","sources":["../../../../../../src/bindings/react/hooks/feed-state-hooks/useComments.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAChF,OAAO,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAEvD,KAAK,qBAAqB,CAAC,CAAC,SAAS,gBAAgB,GAAG,eAAe,IAAI;IACzE,QAAQ,EAAE,WAAW,CACnB,SAAS,CAAC,uBAAuB,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAC5C,CAAC,UAAU,CAAC,CAAC;IACd,mBAAmB,EAAE,WAAW,CAC9B,SAAS,CAAC,uBAAuB,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAC5C,CAAC,YAAY,CAAC,CAAC;IAChB,aAAa,EAAE,OAAO,CAAC;IACvB,oBAAoB,EAAE,OAAO,CAAC;IAC9B,YAAY,EAAE,CACZ,OAAO,CAAC,EAAE,CAAC,SAAS,eAAe,GAC/B,UAAU,CAAC,IAAI,CAAC,4BAA4B,CAAC,CAAC,CAAC,CAAC,CAAC,GACjD,UAAU,CAAC,IAAI,CAAC,8BAA8B,CAAC,CAAC,CAAC,CAAC,CAAC,KACpD,OAAO,CAAC,IAAI,CAAC,CAAC;CACpB,CAAC;AAEF;;;GAGG;AACH,wBAAgB,WAAW,CAAC,CAAC,SAAS,aAAa,EAAE,CAAC,EAAE;IACtD,IAAI,EAAE,IAAI,CAAC;IACX,MAAM,EAAE,CAAC,CAAC;CACX,GAAG,qBAAqB,CAAC,CAAC,CAAC,CAAC;AAC7B,wBAAgB,WAAW,CAAC,CAAC,SAAS,aAAa,EAAE,CAAC,EAAE;IACtD,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,MAAM,EAAE,CAAC,CAAC;CACX,GAAG,qBAAqB,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC"}
@@ -1,12 +1,12 @@
1
- import { Feed } from '../../../..';
1
+ import type { Feed } from '../../../../feed';
2
2
  /**
3
3
  * A React hook that returns a reactive object containing the current activities,
4
4
  * loading state and whether there is a next page to paginate to or not.
5
5
  */
6
6
  export declare const useFeedActivities: (feedFromProps?: Feed) => {
7
- loadNextPage: import('../internal').StableCallback<[], Promise<void>>;
7
+ loadNextPage: import("../internal").StableCallback<[], Promise<void>>;
8
8
  is_loading?: boolean | undefined;
9
9
  has_next_page?: boolean | undefined;
10
- activities?: import('../../../..').ActivityResponse[] | undefined;
10
+ activities?: import("../../../..").ActivityResponse[] | undefined;
11
11
  };
12
12
  //# sourceMappingURL=useFeedActivities.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useFeedActivities.d.ts","sourceRoot":"","sources":["../../../../../../src/bindings/react/hooks/feed-state-hooks/useFeedActivities.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAa,MAAM,OAAO,CAAC;AAK7C;;;GAGG;AACH,eAAO,MAAM,iBAAiB,GAAI,gBAAgB,IAAI;;;;;CAerD,CAAC"}
1
+ {"version":3,"file":"useFeedActivities.d.ts","sourceRoot":"","sources":["../../../../../../src/bindings/react/hooks/feed-state-hooks/useFeedActivities.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,IAAI,EAAa,MAAM,kBAAkB,CAAC;AAExD;;;GAGG;AACH,eAAO,MAAM,iBAAiB,GAAI,gBAAgB,IAAI;;;;;CAerD,CAAC"}
@@ -1,10 +1,10 @@
1
- import { Feed } from '../../../..';
1
+ import type { Feed } from '../../../../feed';
2
2
  /**
3
3
  * A React hook that returns a reactive object containing some often used
4
4
  * metadata for a feed.
5
5
  */
6
6
  export declare const useFeedMetadata: (feedFromProps?: Feed) => {
7
- created_by: import('../../../..').UserResponse | undefined;
7
+ created_by: import("../../../..").UserResponse | undefined;
8
8
  follower_count: number;
9
9
  following_count: number;
10
10
  created_at: Date | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"useFeedMetadata.d.ts","sourceRoot":"","sources":["../../../../../../src/bindings/react/hooks/feed-state-hooks/useFeedMetadata.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAa,MAAM,OAAO,CAAC;AAI7C;;;GAGG;AACH,eAAO,MAAM,eAAe,GAAI,gBAAgB,IAAI;;;;;;aAKnD,CAAC"}
1
+ {"version":3,"file":"useFeedMetadata.d.ts","sourceRoot":"","sources":["../../../../../../src/bindings/react/hooks/feed-state-hooks/useFeedMetadata.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,IAAI,EAAa,MAAM,kBAAkB,CAAC;AAExD;;;GAGG;AACH,eAAO,MAAM,eAAe,GAAI,gBAAgB,IAAI;;;;;;aAKnD,CAAC"}
@@ -1,9 +1,9 @@
1
- import { Feed, FeedState } from '../../../..';
1
+ import type { Feed, FeedState } from '../../../../feed';
2
2
  declare const selector: ({ follower_count, followers, followers_pagination, }: FeedState) => {
3
3
  follower_count: number | undefined;
4
- followers: import('../../../..').FollowResponse[] | undefined;
5
- followers_pagination: (import('../../../..').PagerResponse & import('../../../..').LoadingStates & {
6
- sort?: import('../../../..').SortParamRequest[];
4
+ followers: import("../../../..").FollowResponse[] | undefined;
5
+ followers_pagination: (import("../../../..").PagerResponse & import("../../../..").LoadingStates & {
6
+ sort?: import("../../../..").SortParamRequest[];
7
7
  }) | undefined;
8
8
  };
9
9
  type UseFollowersReturnType = ReturnType<typeof selector> & {
@@ -1 +1 @@
1
- {"version":3,"file":"useFollowers.d.ts","sourceRoot":"","sources":["../../../../../../src/bindings/react/hooks/feed-state-hooks/useFollowers.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,IAAI,EAAE,KAAK,SAAS,EAAuB,MAAM,OAAO,CAAC;AAIvE,QAAA,MAAM,QAAQ,GAAI,sDAIf,SAAS;;;;;;CAIV,CAAC;AAEH,KAAK,sBAAsB,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,GAAG;IAC1D,oBAAoB,EAAE,OAAO,CAAC;IAC9B,aAAa,EAAE,OAAO,CAAC;IACvB,YAAY,EAAE,CACZ,GAAG,OAAO,EAAE,UAAU,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC,KAClD,OAAO,CAAC,IAAI,CAAC,CAAC;CACpB,CAAC;AAEF,wBAAgB,YAAY,CAAC,IAAI,EAAE,IAAI,GAAG,sBAAsB,CAAC;AACjE,wBAAgB,YAAY,CAAC,IAAI,CAAC,EAAE,IAAI,GAAG,sBAAsB,GAAG,SAAS,CAAC"}
1
+ {"version":3,"file":"useFollowers.d.ts","sourceRoot":"","sources":["../../../../../../src/bindings/react/hooks/feed-state-hooks/useFollowers.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAGxD,QAAA,MAAM,QAAQ,GAAI,sDAIf,SAAS;;;;;;CAIV,CAAC;AAEH,KAAK,sBAAsB,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,GAAG;IAC1D,oBAAoB,EAAE,OAAO,CAAC;IAC9B,aAAa,EAAE,OAAO,CAAC;IACvB,YAAY,EAAE,CACZ,GAAG,OAAO,EAAE,UAAU,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC,KAClD,OAAO,CAAC,IAAI,CAAC,CAAC;CACpB,CAAC;AAEF,wBAAgB,YAAY,CAAC,IAAI,EAAE,IAAI,GAAG,sBAAsB,CAAC;AACjE,wBAAgB,YAAY,CAAC,IAAI,CAAC,EAAE,IAAI,GAAG,sBAAsB,GAAG,SAAS,CAAC"}
@@ -1,9 +1,9 @@
1
- import { Feed, FeedState } from '../../../..';
1
+ import type { Feed, FeedState } from '../../../../feed';
2
2
  declare const selector: ({ following_count, following, following_pagination, }: FeedState) => {
3
3
  following_count: number | undefined;
4
- following: import('../../../..').FollowResponse[] | undefined;
5
- following_pagination: (import('../../../..').PagerResponse & import('../../../..').LoadingStates & {
6
- sort?: import('../../../..').SortParamRequest[];
4
+ following: import("../../../..").FollowResponse[] | undefined;
5
+ following_pagination: (import("../../../..").PagerResponse & import("../../../..").LoadingStates & {
6
+ sort?: import("../../../..").SortParamRequest[];
7
7
  }) | undefined;
8
8
  };
9
9
  type UseFollowingReturnType = ReturnType<typeof selector> & {
@@ -1 +1 @@
1
- {"version":3,"file":"useFollowing.d.ts","sourceRoot":"","sources":["../../../../../../src/bindings/react/hooks/feed-state-hooks/useFollowing.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,IAAI,EAAE,KAAK,SAAS,EAAuB,MAAM,OAAO,CAAC;AAIvE,QAAA,MAAM,QAAQ,GAAI,uDAIf,SAAS;;;;;;CAIV,CAAC;AAEH,KAAK,sBAAsB,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,GAAG;IAC1D,oBAAoB,EAAE,OAAO,CAAC;IAC9B,aAAa,EAAE,OAAO,CAAC;IACvB,YAAY,EAAE,CACZ,GAAG,OAAO,EAAE,UAAU,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC,KAClD,OAAO,CAAC,IAAI,CAAC,CAAC;CACpB,CAAC;AAEF,wBAAgB,YAAY,CAAC,IAAI,EAAE,IAAI,GAAG,sBAAsB,CAAC;AACjE,wBAAgB,YAAY,CAAC,IAAI,CAAC,EAAE,IAAI,GAAG,sBAAsB,GAAG,SAAS,CAAC"}
1
+ {"version":3,"file":"useFollowing.d.ts","sourceRoot":"","sources":["../../../../../../src/bindings/react/hooks/feed-state-hooks/useFollowing.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAExD,QAAA,MAAM,QAAQ,GAAI,uDAIf,SAAS;;;;;;CAIV,CAAC;AAEH,KAAK,sBAAsB,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,GAAG;IAC1D,oBAAoB,EAAE,OAAO,CAAC;IAC9B,aAAa,EAAE,OAAO,CAAC;IACvB,YAAY,EAAE,CACZ,GAAG,OAAO,EAAE,UAAU,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC,KAClD,OAAO,CAAC,IAAI,CAAC,CAAC;CACpB,CAAC;AAEF,wBAAgB,YAAY,CAAC,IAAI,EAAE,IAAI,GAAG,sBAAsB,CAAC;AACjE,wBAAgB,YAAY,CAAC,IAAI,CAAC,EAAE,IAAI,GAAG,sBAAsB,GAAG,SAAS,CAAC"}
@@ -1,4 +1,5 @@
1
- import { AggregatedActivityResponse, Feed } from '../../../..';
1
+ import type { Feed } from '../../../../feed';
2
+ import type { AggregatedActivityResponse } from '../../../../gen/models';
2
3
  export declare const useIsAggregatedActivityRead: ({ feed: feedFromProps, aggregatedActivity, }: {
3
4
  feed?: Feed;
4
5
  aggregatedActivity: AggregatedActivityResponse;
@@ -1 +1 @@
1
- {"version":3,"file":"useIsAggregatedActivityRead.d.ts","sourceRoot":"","sources":["../../../../../../src/bindings/react/hooks/feed-state-hooks/useIsAggregatedActivityRead.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,0BAA0B,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAE9D,eAAO,MAAM,2BAA2B,GAAI,8CAGzC;IACD,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,kBAAkB,EAAE,0BAA0B,CAAC;CAChD,YAgBA,CAAC"}
1
+ {"version":3,"file":"useIsAggregatedActivityRead.d.ts","sourceRoot":"","sources":["../../../../../../src/bindings/react/hooks/feed-state-hooks/useIsAggregatedActivityRead.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AAEzE,eAAO,MAAM,2BAA2B,GAAI,8CAGzC;IACD,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,kBAAkB,EAAE,0BAA0B,CAAC;CAChD,YAgBA,CAAC"}
@@ -1,4 +1,5 @@
1
- import { AggregatedActivityResponse, Feed } from '../../../..';
1
+ import type { Feed } from '../../../../feed';
2
+ import type { AggregatedActivityResponse } from '../../../../gen/models';
2
3
  export declare const useIsAggregatedActivitySeen: ({ feed: feedFromProps, aggregatedActivity, }: {
3
4
  feed?: Feed;
4
5
  aggregatedActivity: AggregatedActivityResponse;
@@ -1 +1 @@
1
- {"version":3,"file":"useIsAggregatedActivitySeen.d.ts","sourceRoot":"","sources":["../../../../../../src/bindings/react/hooks/feed-state-hooks/useIsAggregatedActivitySeen.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,0BAA0B,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAE9D,eAAO,MAAM,2BAA2B,GAAI,8CAGzC;IACD,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,kBAAkB,EAAE,0BAA0B,CAAC;CAChD,YAgBA,CAAC"}
1
+ {"version":3,"file":"useIsAggregatedActivitySeen.d.ts","sourceRoot":"","sources":["../../../../../../src/bindings/react/hooks/feed-state-hooks/useIsAggregatedActivitySeen.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AAEzE,eAAO,MAAM,2BAA2B,GAAI,8CAGzC;IACD,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,kBAAkB,EAAE,0BAA0B,CAAC;CAChD,YAgBA,CAAC"}
@@ -1,4 +1,4 @@
1
- import { Feed, FeedState } from '../../../..';
1
+ import type { Feed, FeedState } from '../../../../feed';
2
2
  declare const selector: ({ notification_status }: FeedState) => {
3
3
  unread: number;
4
4
  unseen: number;
@@ -1 +1 @@
1
- {"version":3,"file":"useNotificationStatus.d.ts","sourceRoot":"","sources":["../../../../../../src/bindings/react/hooks/feed-state-hooks/useNotificationStatus.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,SAAS,EAA8B,MAAM,OAAO,CAAC;AAIzE,QAAA,MAAM,QAAQ,GAAI,yBAAyB,SAAS;;;;;;;CAQX,CAAC;AAE1C,KAAK,+BAA+B,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC;AAEnE,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,IAAI,GACT,+BAA+B,CAAC;AACnC,wBAAgB,qBAAqB,CACnC,IAAI,CAAC,EAAE,IAAI,GACV,+BAA+B,GAAG,SAAS,CAAC"}
1
+ {"version":3,"file":"useNotificationStatus.d.ts","sourceRoot":"","sources":["../../../../../../src/bindings/react/hooks/feed-state-hooks/useNotificationStatus.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAGxD,QAAA,MAAM,QAAQ,GAAI,yBAAyB,SAAS;;;;;;;CAQX,CAAC;AAE1C,KAAK,+BAA+B,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC;AAEnE,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,IAAI,GACT,+BAA+B,CAAC;AACnC,wBAAgB,qBAAqB,CACnC,IAAI,CAAC,EAAE,IAAI,GACV,+BAA+B,GAAG,SAAS,CAAC"}
@@ -1,3 +1,4 @@
1
- import { FeedOwnCapability, Feed } from '../../../..';
1
+ import type { Feed } from '../../../../feed';
2
+ import type { FeedOwnCapability } from '../../../../gen/models';
2
3
  export declare const useOwnCapabilities: (feedFromProps?: Feed | string) => readonly FeedOwnCapability[];
3
4
  //# sourceMappingURL=useOwnCapabilities.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useOwnCapabilities.d.ts","sourceRoot":"","sources":["../../../../../../src/bindings/react/hooks/feed-state-hooks/useOwnCapabilities.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,IAAI,EAAoB,MAAM,OAAO,CAAC;AAQvE,eAAO,MAAM,kBAAkB,GAAI,gBAAgB,IAAI,GAAG,MAAM,iCA0B/D,CAAC"}
1
+ {"version":3,"file":"useOwnCapabilities.d.ts","sourceRoot":"","sources":["../../../../../../src/bindings/react/hooks/feed-state-hooks/useOwnCapabilities.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAKhE,eAAO,MAAM,kBAAkB,GAAI,gBAAgB,IAAI,GAAG,MAAM,iCA0B/D,CAAC"}
@@ -1,9 +1,9 @@
1
- import { Feed } from '../../../..';
1
+ import type { Feed } from '../../../../feed';
2
2
  /**
3
3
  * A React hook that returns a reactive array of feeds that the current user
4
4
  * owns and are following the respective feed that we are observing.
5
5
  */
6
6
  export declare const useOwnFollows: (feedFromProps?: Feed) => {
7
- own_follows: import('../../../..').FollowResponse[] | undefined;
7
+ own_follows: import("../../../..").FollowResponse[] | undefined;
8
8
  } | undefined;
9
9
  //# sourceMappingURL=useOwnFollows.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useOwnFollows.d.ts","sourceRoot":"","sources":["../../../../../../src/bindings/react/hooks/feed-state-hooks/useOwnFollows.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAa,MAAM,OAAO,CAAC;AAI7C;;;GAGG;AACH,eAAO,MAAM,aAAa,GAAI,gBAAgB,IAAI;;aAKjD,CAAC"}
1
+ {"version":3,"file":"useOwnFollows.d.ts","sourceRoot":"","sources":["../../../../../../src/bindings/react/hooks/feed-state-hooks/useOwnFollows.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,IAAI,EAAa,MAAM,kBAAkB,CAAC;AAExD;;;GAGG;AACH,eAAO,MAAM,aAAa,GAAI,gBAAgB,IAAI;;aAKjD,CAAC"}
@@ -1,4 +1,4 @@
1
- import { SearchController } from '../../../..';
1
+ import type { SearchController } from '../../../../common/search';
2
2
  export declare const useSearchQuery: (controllerFromProps?: SearchController) => {
3
3
  searchQuery: string;
4
4
  } | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"useSearchQuery.d.ts","sourceRoot":"","sources":["../../../../../../src/bindings/react/hooks/search-state-hooks/useSearchQuery.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAyB,MAAM,OAAO,CAAC;AAIrE,eAAO,MAAM,cAAc,GAAI,sBAAsB,gBAAgB;;aAKpE,CAAC"}
1
+ {"version":3,"file":"useSearchQuery.d.ts","sourceRoot":"","sources":["../../../../../../src/bindings/react/hooks/search-state-hooks/useSearchQuery.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,gBAAgB,EAEjB,MAAM,2BAA2B,CAAC;AAGnC,eAAO,MAAM,cAAc,GAAI,sBAAsB,gBAAgB;;aAKpE,CAAC"}
@@ -1,9 +1,9 @@
1
- import { SearchSource } from '../../../..';
1
+ import type { SearchSource } from '../../../../common/search';
2
2
  export declare const useSearchResult: (sourceFromProps?: SearchSource) => {
3
3
  items: any[] | undefined;
4
4
  error: Error | undefined;
5
5
  isLoading: boolean | undefined;
6
6
  hasNext: boolean | undefined;
7
- loadMore: import('../internal').StableCallback<[], Promise<void>>;
7
+ loadMore: import("../internal").StableCallback<[], Promise<void>>;
8
8
  };
9
9
  //# sourceMappingURL=useSearchResult.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useSearchResult.d.ts","sourceRoot":"","sources":["../../../../../../src/bindings/react/hooks/search-state-hooks/useSearchResult.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAqB,MAAM,OAAO,CAAC;AAM7D,eAAO,MAAM,eAAe,GAAI,kBAAkB,YAAY;;;;;;CAiB7D,CAAC"}
1
+ {"version":3,"file":"useSearchResult.d.ts","sourceRoot":"","sources":["../../../../../../src/bindings/react/hooks/search-state-hooks/useSearchResult.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAE9D,eAAO,MAAM,eAAe,GAAI,kBAAkB,YAAY;;;;;;CAiB7D,CAAC"}
@@ -1,5 +1,5 @@
1
- import { SearchController } from '../../../..';
1
+ import type { SearchController } from '../../../../common/search';
2
2
  export declare const useSearchSources: (controllerFromProps?: SearchController) => {
3
- sources: import('../../../..').SearchSource<any>[];
3
+ sources: import("../../../..").SearchSource<any>[];
4
4
  } | undefined;
5
5
  //# sourceMappingURL=useSearchSources.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useSearchSources.d.ts","sourceRoot":"","sources":["../../../../../../src/bindings/react/hooks/search-state-hooks/useSearchSources.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAEjB,MAAM,OAAO,CAAC;AAIf,eAAO,MAAM,gBAAgB,GAAI,sBAAsB,gBAAgB;;aAKtE,CAAC"}
1
+ {"version":3,"file":"useSearchSources.d.ts","sourceRoot":"","sources":["../../../../../../src/bindings/react/hooks/search-state-hooks/useSearchSources.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAyB,MAAM,2BAA2B,CAAC;AAEzF,eAAO,MAAM,gBAAgB,GAAI,sBAAsB,gBAAgB;;aAKtE,CAAC"}
@@ -1,4 +1,7 @@
1
- import { FeedsClient, FeedsClientOptions, UserRequest, TokenOrProvider } from '../../..';
1
+ import { FeedsClient } from '../../../feeds-client';
2
+ import type { TokenOrProvider } from '../../../types';
3
+ import type { UserRequest } from '../../../gen/models';
4
+ import type { FeedsClientOptions } from '../../../common/types';
2
5
  /**
3
6
  * A React hook to create, connect and return an instance of `FeedsClient`.
4
7
  */
@@ -1 +1 @@
1
- {"version":3,"file":"useCreateFeedsClient.d.ts","sourceRoot":"","sources":["../../../../../src/bindings/react/hooks/useCreateFeedsClient.ts"],"names":[],"mappings":"AACA,OAAO,EACL,WAAW,EACX,KAAK,kBAAkB,EACvB,KAAK,WAAW,EAChB,KAAK,eAAe,EACrB,MAAM,OAAO,CAAC;AAEf;;GAEG;AACH,eAAO,MAAM,oBAAoB,GAAI,iDAKlC;IACD,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,eAAe,CAAC;IACjC,QAAQ,EAAE,WAAW,CAAC;IACtB,OAAO,CAAC,EAAE,kBAAkB,CAAC;CAC9B,uBA6CA,CAAC"}
1
+ {"version":3,"file":"useCreateFeedsClient.d.ts","sourceRoot":"","sources":["../../../../../src/bindings/react/hooks/useCreateFeedsClient.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAEhE;;GAEG;AACH,eAAO,MAAM,oBAAoB,GAAI,iDAKlC;IACD,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,eAAe,CAAC;IACjC,QAAQ,EAAE,WAAW,CAAC;IACtB,OAAO,CAAC,EAAE,kBAAkB,CAAC;CAC9B,uBA6CA,CAAC"}
@@ -1,5 +1,5 @@
1
- import { PropsWithChildren } from 'react';
2
- import { Feed } from '../../..';
1
+ import type { PropsWithChildren } from 'react';
2
+ import type { Feed } from '../../../feed';
3
3
  /**
4
4
  * The props for the StreamFeed component. It accepts a `Feed` instance.
5
5
  */
@@ -1 +1 @@
1
- {"version":3,"file":"StreamFeed.d.ts","sourceRoot":"","sources":["../../../../../src/bindings/react/wrappers/StreamFeed.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAElC;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE,IAAI,CAAC;CACZ,CAAC;AAEF,eAAO,MAAM,UAAU;0BAGpB,iBAAiB,CAAC,eAAe,CAAC;;CAMpC,CAAC"}
1
+ {"version":3,"file":"StreamFeed.d.ts","sourceRoot":"","sources":["../../../../../src/bindings/react/wrappers/StreamFeed.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG/C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAE1C;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE,IAAI,CAAC;CACZ,CAAC;AAEF,eAAO,MAAM,UAAU;0BAGpB,iBAAiB,CAAC,eAAe,CAAC;;CAMpC,CAAC"}
@@ -1,5 +1,5 @@
1
- import { PropsWithChildren } from 'react';
2
- import { StreamFeedsContextProps } from '../contexts/StreamFeedsContext';
1
+ import type { PropsWithChildren } from 'react';
2
+ import type { StreamFeedsContextProps } from '../contexts/StreamFeedsContext';
3
3
  export declare const StreamFeeds: {
4
4
  ({ client, children }: PropsWithChildren<StreamFeedsContextProps>): import("react/jsx-runtime").JSX.Element;
5
5
  displayName: string;
@@ -1,5 +1,5 @@
1
- import { PropsWithChildren } from 'react';
2
- import { SearchController } from '../../..';
1
+ import type { PropsWithChildren } from 'react';
2
+ import type { SearchController } from '../../../common/search';
3
3
  /**
4
4
  * The props for the StreamSearch component. It accepts a `SearchController` instance.
5
5
  */
@@ -1 +1 @@
1
- {"version":3,"file":"StreamSearch.d.ts","sourceRoot":"","sources":["../../../../../src/bindings/react/wrappers/StreamSearch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAE9C;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,gBAAgB,EAAE,gBAAgB,GAAG,SAAS,CAAC;CAChD,CAAC;AAEF,eAAO,MAAM,YAAY;sCAGtB,iBAAiB,CAAC,iBAAiB,CAAC;;CAMtC,CAAC"}
1
+ {"version":3,"file":"StreamSearch.d.ts","sourceRoot":"","sources":["../../../../../src/bindings/react/wrappers/StreamSearch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG/C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE/D;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,gBAAgB,EAAE,gBAAgB,GAAG,SAAS,CAAC;CAChD,CAAC;AAEF,eAAO,MAAM,YAAY;sCAGtB,iBAAiB,CAAC,iBAAiB,CAAC;;CAMtC,CAAC"}
@@ -1,5 +1,5 @@
1
- import { PropsWithChildren } from 'react';
2
- import { SearchSource } from '../../..';
1
+ import type { PropsWithChildren } from 'react';
2
+ import type { SearchSource } from '../../../common/search';
3
3
  /**
4
4
  * The props for the StreamSearchResults component. It accepts a `SearchSource` instance.
5
5
  */
@@ -1 +1 @@
1
- {"version":3,"file":"StreamSearchResults.d.ts","sourceRoot":"","sources":["../../../../../src/bindings/react/wrappers/StreamSearchResults.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC,MAAM,EAAE,YAAY,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,mBAAmB;4BAG7B,iBAAiB,CAAC,wBAAwB,CAAC;;CAM7C,CAAC"}
1
+ {"version":3,"file":"StreamSearchResults.d.ts","sourceRoot":"","sources":["../../../../../src/bindings/react/wrappers/StreamSearchResults.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAE3D;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC,MAAM,EAAE,YAAY,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,mBAAmB;4BAG7B,iBAAiB,CAAC,wBAAwB,CAAC;;CAM7C,CAAC"}
@@ -1,6 +1,6 @@
1
- import { RequestMetadata, FeedsClientOptions } from './types';
2
- import { TokenManager } from './TokenManager';
3
- import { ConnectionIdManager } from './ConnectionIdManager';
1
+ import type { RequestMetadata, FeedsClientOptions } from './types';
2
+ import type { TokenManager } from './TokenManager';
3
+ import type { ConnectionIdManager } from './ConnectionIdManager';
4
4
  type RequiredAtLeastOne<T> = {
5
5
  [K in keyof T]: Required<Pick<T, K>> & Partial<Omit<T, K>>;
6
6
  }[keyof T];
@@ -1,4 +1,4 @@
1
- import { FeedsEvent } from '../types';
1
+ import type { FeedsEvent } from '../types';
2
2
  export declare class EventDispatcher<Type extends string = FeedsEvent['type'], Event extends {
3
3
  type: string;
4
4
  } = FeedsEvent> {
@@ -1,6 +1,6 @@
1
1
  import { StateStore } from '@stream-io/state-store';
2
- import { FeedsClient } from '../feeds-client';
3
- import { PollVoteResponseData, QueryPollVotesRequest, PollUpdatedFeedEvent, PollClosedFeedEvent, PollVoteCastedFeedEvent, PollVoteChangedFeedEvent, PollVoteRemovedFeedEvent, PollResponseData } from '../gen/models';
2
+ import type { FeedsClient } from '../feeds-client';
3
+ import type { PollVoteResponseData, QueryPollVotesRequest, PollUpdatedFeedEvent, PollClosedFeedEvent, PollVoteCastedFeedEvent, PollVoteChangedFeedEvent, PollVoteRemovedFeedEvent, PollResponseData } from '../gen/models';
4
4
  export declare const isVoteAnswer: (vote: PollVoteResponseData) => boolean;
5
5
  export type PollAnswersQueryParams = QueryPollVotesRequest & {
6
6
  poll_id: string;
@@ -1,3 +1,3 @@
1
- import { RateLimit } from './types';
1
+ import type { RateLimit } from './types';
2
2
  export declare const getRateLimitFromResponseHeader: (response_headers: Record<string, string>) => RateLimit;
3
3
  //# sourceMappingURL=rate-limit.d.ts.map
@@ -1,7 +1,7 @@
1
- import { UserRequest } from '../../gen/models';
2
- import { TokenManager } from '../TokenManager';
3
- import { ConnectionIdManager } from '../ConnectionIdManager';
4
- import { ConnectedEvent } from './event-models';
1
+ import type { UserRequest } from '../../gen/models';
2
+ import type { TokenManager } from '../TokenManager';
3
+ import type { ConnectionIdManager } from '../ConnectionIdManager';
4
+ import type { ConnectedEvent } from './event-models';
5
5
  export type WSConfig = {
6
6
  baseUrl: string;
7
7
  user: UserRequest;
@@ -56,8 +56,8 @@ export declare class StableWSConnection {
56
56
  private readonly clientId;
57
57
  private readonly logger;
58
58
  constructor(config: WSConfig, tokenManager: TokenManager, connectionIdManager: ConnectionIdManager, decoders?: Array<(event: any) => any>);
59
- on: (eventName: "network.changed" | "all" | "app.updated" | "feeds.activity.added" | "feeds.activity.deleted" | "feeds.activity.feedback" | "feeds.activity.marked" | "feeds.activity.pinned" | "feeds.activity.reaction.added" | "feeds.activity.reaction.deleted" | "feeds.activity.reaction.updated" | "feeds.activity.removed_from_feed" | "feeds.activity.unpinned" | "feeds.activity.updated" | "feeds.bookmark.added" | "feeds.bookmark.deleted" | "feeds.bookmark.updated" | "feeds.bookmark_folder.deleted" | "feeds.bookmark_folder.updated" | "feeds.comment.added" | "feeds.comment.deleted" | "feeds.comment.reaction.added" | "feeds.comment.reaction.deleted" | "feeds.comment.reaction.updated" | "feeds.comment.updated" | "feeds.feed.created" | "feeds.feed.deleted" | "feeds.feed.updated" | "feeds.feed_group.changed" | "feeds.feed_group.deleted" | "feeds.feed_member.added" | "feeds.feed_member.removed" | "feeds.feed_member.updated" | "feeds.follow.created" | "feeds.follow.deleted" | "feeds.follow.updated" | "feeds.notification_feed.updated" | "feeds.poll.closed" | "feeds.poll.deleted" | "feeds.poll.updated" | "feeds.poll.vote_casted" | "feeds.poll.vote_changed" | "feeds.poll.vote_removed" | "feeds.stories_feed.updated" | "health.check" | "moderation.custom_action" | "moderation.mark_reviewed" | "user.updated" | "moderation.flagged" | "user.banned" | "user.deactivated" | "user.muted" | "user.reactivated" | "connection.changed" | "errors.unhandled", handler: (event: import('../..').FeedsEvent) => void) => () => void;
60
- off: (eventName: "network.changed" | "all" | "app.updated" | "feeds.activity.added" | "feeds.activity.deleted" | "feeds.activity.feedback" | "feeds.activity.marked" | "feeds.activity.pinned" | "feeds.activity.reaction.added" | "feeds.activity.reaction.deleted" | "feeds.activity.reaction.updated" | "feeds.activity.removed_from_feed" | "feeds.activity.unpinned" | "feeds.activity.updated" | "feeds.bookmark.added" | "feeds.bookmark.deleted" | "feeds.bookmark.updated" | "feeds.bookmark_folder.deleted" | "feeds.bookmark_folder.updated" | "feeds.comment.added" | "feeds.comment.deleted" | "feeds.comment.reaction.added" | "feeds.comment.reaction.deleted" | "feeds.comment.reaction.updated" | "feeds.comment.updated" | "feeds.feed.created" | "feeds.feed.deleted" | "feeds.feed.updated" | "feeds.feed_group.changed" | "feeds.feed_group.deleted" | "feeds.feed_member.added" | "feeds.feed_member.removed" | "feeds.feed_member.updated" | "feeds.follow.created" | "feeds.follow.deleted" | "feeds.follow.updated" | "feeds.notification_feed.updated" | "feeds.poll.closed" | "feeds.poll.deleted" | "feeds.poll.updated" | "feeds.poll.vote_casted" | "feeds.poll.vote_changed" | "feeds.poll.vote_removed" | "feeds.stories_feed.updated" | "health.check" | "moderation.custom_action" | "moderation.mark_reviewed" | "user.updated" | "moderation.flagged" | "user.banned" | "user.deactivated" | "user.muted" | "user.reactivated" | "connection.changed" | "errors.unhandled", handler: (event: import('../..').FeedsEvent) => void) => void;
59
+ on: (eventName: "network.changed" | "all" | "app.updated" | "feeds.activity.added" | "feeds.activity.deleted" | "feeds.activity.feedback" | "feeds.activity.marked" | "feeds.activity.pinned" | "feeds.activity.reaction.added" | "feeds.activity.reaction.deleted" | "feeds.activity.reaction.updated" | "feeds.activity.removed_from_feed" | "feeds.activity.unpinned" | "feeds.activity.updated" | "feeds.bookmark.added" | "feeds.bookmark.deleted" | "feeds.bookmark.updated" | "feeds.bookmark_folder.deleted" | "feeds.bookmark_folder.updated" | "feeds.comment.added" | "feeds.comment.deleted" | "feeds.comment.reaction.added" | "feeds.comment.reaction.deleted" | "feeds.comment.reaction.updated" | "feeds.comment.updated" | "feeds.feed.created" | "feeds.feed.deleted" | "feeds.feed.updated" | "feeds.feed_group.changed" | "feeds.feed_group.deleted" | "feeds.feed_member.added" | "feeds.feed_member.removed" | "feeds.feed_member.updated" | "feeds.follow.created" | "feeds.follow.deleted" | "feeds.follow.updated" | "feeds.notification_feed.updated" | "feeds.poll.closed" | "feeds.poll.deleted" | "feeds.poll.updated" | "feeds.poll.vote_casted" | "feeds.poll.vote_changed" | "feeds.poll.vote_removed" | "feeds.stories_feed.updated" | "health.check" | "moderation.custom_action" | "moderation.mark_reviewed" | "user.updated" | "moderation.flagged" | "user.banned" | "user.deactivated" | "user.muted" | "user.reactivated" | "connection.changed" | "errors.unhandled", handler: (event: import("../..").FeedsEvent) => void) => () => void;
60
+ off: (eventName: "network.changed" | "all" | "app.updated" | "feeds.activity.added" | "feeds.activity.deleted" | "feeds.activity.feedback" | "feeds.activity.marked" | "feeds.activity.pinned" | "feeds.activity.reaction.added" | "feeds.activity.reaction.deleted" | "feeds.activity.reaction.updated" | "feeds.activity.removed_from_feed" | "feeds.activity.unpinned" | "feeds.activity.updated" | "feeds.bookmark.added" | "feeds.bookmark.deleted" | "feeds.bookmark.updated" | "feeds.bookmark_folder.deleted" | "feeds.bookmark_folder.updated" | "feeds.comment.added" | "feeds.comment.deleted" | "feeds.comment.reaction.added" | "feeds.comment.reaction.deleted" | "feeds.comment.reaction.updated" | "feeds.comment.updated" | "feeds.feed.created" | "feeds.feed.deleted" | "feeds.feed.updated" | "feeds.feed_group.changed" | "feeds.feed_group.deleted" | "feeds.feed_member.added" | "feeds.feed_member.removed" | "feeds.feed_member.updated" | "feeds.follow.created" | "feeds.follow.deleted" | "feeds.follow.updated" | "feeds.notification_feed.updated" | "feeds.poll.closed" | "feeds.poll.deleted" | "feeds.poll.updated" | "feeds.poll.vote_casted" | "feeds.poll.vote_changed" | "feeds.poll.vote_removed" | "feeds.stories_feed.updated" | "health.check" | "moderation.custom_action" | "moderation.mark_reviewed" | "user.updated" | "moderation.flagged" | "user.banned" | "user.deactivated" | "user.muted" | "user.reactivated" | "connection.changed" | "errors.unhandled", handler: (event: import("../..").FeedsEvent) => void) => void;
61
61
  offAll: (eventName?: "network.changed" | "all" | "app.updated" | "feeds.activity.added" | "feeds.activity.deleted" | "feeds.activity.feedback" | "feeds.activity.marked" | "feeds.activity.pinned" | "feeds.activity.reaction.added" | "feeds.activity.reaction.deleted" | "feeds.activity.reaction.updated" | "feeds.activity.removed_from_feed" | "feeds.activity.unpinned" | "feeds.activity.updated" | "feeds.bookmark.added" | "feeds.bookmark.deleted" | "feeds.bookmark.updated" | "feeds.bookmark_folder.deleted" | "feeds.bookmark_folder.updated" | "feeds.comment.added" | "feeds.comment.deleted" | "feeds.comment.reaction.added" | "feeds.comment.reaction.deleted" | "feeds.comment.reaction.updated" | "feeds.comment.updated" | "feeds.feed.created" | "feeds.feed.deleted" | "feeds.feed.updated" | "feeds.feed_group.changed" | "feeds.feed_group.deleted" | "feeds.feed_member.added" | "feeds.feed_member.removed" | "feeds.feed_member.updated" | "feeds.follow.created" | "feeds.follow.deleted" | "feeds.follow.updated" | "feeds.notification_feed.updated" | "feeds.poll.closed" | "feeds.poll.deleted" | "feeds.poll.updated" | "feeds.poll.vote_casted" | "feeds.poll.vote_changed" | "feeds.poll.vote_removed" | "feeds.stories_feed.updated" | "health.check" | "moderation.custom_action" | "moderation.mark_reviewed" | "user.updated" | "moderation.flagged" | "user.banned" | "user.deactivated" | "user.muted" | "user.reactivated" | "connection.changed" | "errors.unhandled" | undefined) => void;
62
62
  /**
63
63
  * connect - Connect to the WS URL
@@ -1,4 +1,5 @@
1
- import { ConnectedUser, StreamApiError } from '../..';
1
+ import type { ConnectedUser } from '../../types';
2
+ import type { StreamApiError } from '../types';
2
3
  export interface ConnectionChangedEvent {
3
4
  type: 'connection.changed';
4
5
  online: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"event-models.d.ts","sourceRoot":"","sources":["../../../../src/common/real-time/event-models.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,oBAAoB,CAAC;IAC3B,MAAM,EAAE,OAAO,CAAC;CACjB;AAED;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC7B;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,EAAE,EAAE,aAAa,CAAC;IAClB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;CACd;AAED,oBAAY,kBAAkB;IAC5B,0BAA0B,gCAAgC;IAC1D,oCAAoC,8CAA8C;CACnF;AAED,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,OAAO,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,EAAE,kBAAkB,CAAC;IACzB,UAAU,EAAE,kBAAkB,CAAC;CAChC,GAAG,CACA;IACE,UAAU,EAAE,kBAAkB,CAAC,0BAA0B,CAAC;IAC1D,QAAQ,EAAE,WAAW,EAAE,CAAC;CACzB,GACD;IACE,UAAU,EAAE,kBAAkB,CAAC,oCAAoC,CAAC;IACpE,KAAK,EAAE,cAAc,CAAC;CACvB,CACJ,CAAC"}
1
+ {"version":3,"file":"event-models.d.ts","sourceRoot":"","sources":["../../../../src/common/real-time/event-models.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,oBAAoB,CAAC;IAC3B,MAAM,EAAE,OAAO,CAAC;CACjB;AAED;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC7B;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,EAAE,EAAE,aAAa,CAAC;IAClB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;CACd;AAED,oBAAY,kBAAkB;IAC5B,0BAA0B,gCAAgC;IAC1D,oCAAoC,8CAA8C;CACnF;AAED,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,OAAO,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,EAAE,kBAAkB,CAAC;IACzB,UAAU,EAAE,kBAAkB,CAAC;CAChC,GAAG,CACA;IACE,UAAU,EAAE,kBAAkB,CAAC,0BAA0B,CAAC;IAC1D,QAAQ,EAAE,WAAW,EAAE,CAAC;CACzB,GACD;IACE,UAAU,EAAE,kBAAkB,CAAC,oCAAoC,CAAC;IACpE,KAAK,EAAE,cAAc,CAAC;CACvB,CACJ,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { BaseSearchSource } from './BaseSearchSource';
2
- import { SearchSourceOptions } from './types';
3
- import { FeedsClient } from '../../feeds-client';
4
- import { ActivityResponse } from '../../gen/models';
2
+ import type { SearchSourceOptions } from './types';
3
+ import type { FeedsClient } from '../../feeds-client';
4
+ import type { ActivityResponse } from '../../gen/models';
5
5
  export declare class ActivitySearchSource extends BaseSearchSource<ActivityResponse> {
6
6
  readonly type: "activity";
7
7
  private readonly client;
@@ -1,6 +1,6 @@
1
1
  import { StateStore } from '@stream-io/state-store';
2
- import { DebouncedFunc } from '../utils';
3
- import { QueryReturnValue, SearchSourceOptions, SearchSourceState, SearchSourceType } from './types';
2
+ import { type DebouncedFunc } from '../utils';
3
+ import type { QueryReturnValue, SearchSourceOptions, SearchSourceState, SearchSourceType } from './types';
4
4
  export type DebounceOptions = {
5
5
  debounceMs: number;
6
6
  };
@@ -1,7 +1,7 @@
1
1
  import { BaseSearchSource } from './BaseSearchSource';
2
- import { SearchSourceOptions } from './types';
3
- import { FeedsClient } from '../../feeds-client';
4
- import { Feed } from '../../feed';
2
+ import type { SearchSourceOptions } from './types';
3
+ import type { FeedsClient } from '../../feeds-client';
4
+ import type { Feed } from '../../feed';
5
5
  export type FeedSearchSourceOptions = SearchSourceOptions & {
6
6
  groupId?: string;
7
7
  };
@@ -1,5 +1,5 @@
1
1
  import { StateStore } from '@stream-io/state-store';
2
- import { SearchSource } from './BaseSearchSource';
2
+ import type { SearchSource } from './BaseSearchSource';
3
3
  export type SearchControllerState = {
4
4
  isActive: boolean;
5
5
  searchQuery: string;
@@ -1,7 +1,7 @@
1
1
  import { BaseSearchSource } from './BaseSearchSource';
2
- import { SearchSourceOptions } from './types';
3
- import { FeedsClient } from '../../feeds-client';
4
- import { UserResponse } from '../../gen/models';
2
+ import type { SearchSourceOptions } from './types';
3
+ import type { FeedsClient } from '../../feeds-client';
4
+ import type { UserResponse } from '../../gen/models';
5
5
  export declare class UserSearchSource extends BaseSearchSource<UserResponse> {
6
6
  readonly type: "user";
7
7
  private readonly client;
@@ -10,7 +10,7 @@ export declare class UserSearchSource extends BaseSearchSource<UserResponse> {
10
10
  items: never[];
11
11
  next?: undefined;
12
12
  } | {
13
- items: import('../..').FullUserResponse[];
13
+ items: import("../..").FullUserResponse[];
14
14
  next: undefined;
15
15
  }>;
16
16
  protected filterQueryResults(items: UserResponse[]): UserResponse[];
@@ -1,4 +1,4 @@
1
- import { ConfigureLoggersOptions } from '../utils/logger';
1
+ import type { ConfigureLoggersOptions } from '../utils/logger';
2
2
  export * from './search/types';
3
3
  export type FeedsClientOptions = {
4
4
  base_url?: string;
@@ -1,6 +1,6 @@
1
- import { Feed } from '../../feed';
2
- import { ActivityResponse } from '../../../gen/models';
3
- import { EventPayload } from '../../../types-internal';
1
+ import type { Feed } from '../../feed';
2
+ import type { ActivityResponse } from '../../../gen/models';
3
+ import type { EventPayload } from '../../../types-internal';
4
4
  export declare function addActivitiesToState(this: Feed, newActivities: ActivityResponse[], activities: ActivityResponse[] | undefined, position: 'start' | 'end', { fromWebSocket }?: {
5
5
  fromWebSocket: boolean;
6
6
  }): {
@@ -1,6 +1,6 @@
1
- import { Feed } from '../../feed';
2
- import { ActivityPinResponse, ActivityResponse } from '../../../gen/models';
3
- import { EventPayload, UpdateStateResult } from '../../../types-internal';
1
+ import type { Feed } from '../../feed';
2
+ import type { ActivityPinResponse, ActivityResponse } from '../../../gen/models';
3
+ import type { EventPayload, UpdateStateResult } from '../../../types-internal';
4
4
  export declare function removeActivityFromState(this: Feed, activityResponse: ActivityResponse, activities: ActivityResponse[] | undefined): UpdateStateResult<{
5
5
  activities: ActivityResponse[] | undefined;
6
6
  }>;
@@ -1,4 +1,4 @@
1
- import { Feed } from '../../..';
2
- import { EventPayload } from '../../../types-internal';
1
+ import type { Feed } from '../../feed';
2
+ import type { EventPayload } from '../../../types-internal';
3
3
  export declare function handleActivityFeedback(this: Feed, event: EventPayload<'feeds.activity.feedback'>): void;
4
4
  //# sourceMappingURL=handle-activity-feedback.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"handle-activity-feedback.d.ts","sourceRoot":"","sources":["../../../../../src/feed/event-handlers/activity/handle-activity-feedback.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,IAAI,EACV,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAwC5D,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,YAAY,CAAC,yBAAyB,CAAC,QA4B/C"}
1
+ {"version":3,"file":"handle-activity-feedback.d.ts","sourceRoot":"","sources":["../../../../../src/feed/event-handlers/activity/handle-activity-feedback.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAwC5D,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,YAAY,CAAC,yBAAyB,CAAC,QA4B/C"}
@@ -1,6 +1,6 @@
1
- import { ActivityMarkEvent, NotificationStatusResponse } from '../../../gen/models';
2
- import { EventPayload, UpdateStateResult } from '../../../types-internal';
3
- import { Feed } from '../../feed';
1
+ import type { ActivityMarkEvent, NotificationStatusResponse } from '../../../gen/models';
2
+ import type { EventPayload, UpdateStateResult } from '../../../types-internal';
3
+ import type { Feed } from '../../feed';
4
4
  export declare const updateNotificationStatusFromActivityMarked: (event: ActivityMarkEvent, currentNotificationStatus: NotificationStatusResponse | undefined, aggregatedActivities?: Array<{
5
5
  group: string;
6
6
  }>) => UpdateStateResult<{
@@ -1,4 +1,4 @@
1
- import { EventPayload } from '../../../types-internal';
2
- import { Feed } from '../../feed';
1
+ import type { EventPayload } from '../../../types-internal';
2
+ import type { Feed } from '../../feed';
3
3
  export declare function handleActivityPinned(this: Feed, event: EventPayload<'feeds.activity.pinned'>): void;
4
4
  //# sourceMappingURL=handle-activity-pinned.d.ts.map
@@ -1,6 +1,6 @@
1
- import { Feed } from '../../feed';
2
- import { ActivityPinResponse, ActivityResponse } from '../../../gen/models';
3
- import { EventPayload, PartializeAllBut } from '../../../types-internal';
1
+ import type { Feed } from '../../feed';
2
+ import type { ActivityPinResponse, ActivityResponse } from '../../../gen/models';
3
+ import type { EventPayload, PartializeAllBut } from '../../../types-internal';
4
4
  export type ActivityReactionAddedPayload = PartializeAllBut<EventPayload<'feeds.activity.reaction.added'>, 'activity' | 'reaction'>;
5
5
  export declare const addReactionToActivities: (payload: ActivityReactionAddedPayload, activities: ActivityResponse[] | undefined, eventBelongsToCurrentUser: boolean) => {
6
6
  changed: boolean;
@@ -1,6 +1,6 @@
1
- import { Feed } from '../../feed';
2
- import { ActivityPinResponse, ActivityResponse } from '../../../gen/models';
3
- import { EventPayload, PartializeAllBut } from '../../../types-internal';
1
+ import type { Feed } from '../../feed';
2
+ import type { ActivityPinResponse, ActivityResponse } from '../../../gen/models';
3
+ import type { EventPayload, PartializeAllBut } from '../../../types-internal';
4
4
  export type ActivityReactionDeletedPayload = PartializeAllBut<EventPayload<'feeds.activity.reaction.deleted'>, 'activity' | 'reaction'>;
5
5
  export declare const removeReactionFromActivities: (payload: ActivityReactionDeletedPayload, activities: ActivityResponse[] | undefined, eventBelongsToCurrentUser: boolean) => {
6
6
  changed: boolean;
@@ -1,6 +1,6 @@
1
- import { Feed } from '../../feed';
2
- import { ActivityPinResponse, ActivityResponse } from '../../../gen/models';
3
- import { EventPayload, PartializeAllBut } from '../../../types-internal';
1
+ import type { Feed } from '../../feed';
2
+ import type { ActivityPinResponse, ActivityResponse } from '../../../gen/models';
3
+ import type { EventPayload, PartializeAllBut } from '../../../types-internal';
4
4
  export type ActivityReactionUpdatedPayload = PartializeAllBut<EventPayload<'feeds.activity.reaction.updated'>, 'activity' | 'reaction'>;
5
5
  export declare const updateReactionInActivities: (payload: ActivityReactionUpdatedPayload, activities: ActivityResponse[] | undefined, eventBelongsToCurrentUser: boolean) => {
6
6
  changed: boolean;
@@ -1,4 +1,4 @@
1
- import { Feed } from '../../../feed';
2
- import { EventPayload } from '../../../types-internal';
1
+ import type { Feed } from '../../../feed';
2
+ import type { EventPayload } from '../../../types-internal';
3
3
  export declare function handleActivityRemovedFromFeed(this: Feed, event: EventPayload<'feeds.activity.removed_from_feed'>): void;
4
4
  //# sourceMappingURL=handle-activity-removed-from-feed.d.ts.map
@@ -1,4 +1,4 @@
1
- import { EventPayload } from '../../../types-internal';
2
- import { Feed } from '../../feed';
1
+ import type { EventPayload } from '../../../types-internal';
2
+ import type { Feed } from '../../feed';
3
3
  export declare function handleActivityUnpinned(this: Feed, event: EventPayload<'feeds.activity.unpinned'>): void;
4
4
  //# sourceMappingURL=handle-activity-unpinned.d.ts.map