@amityco/ts-sdk 7.17.0 → 7.17.1-1f0ca75.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 (54) hide show
  1. package/dist/@types/domains/community.d.ts +2 -0
  2. package/dist/@types/domains/community.d.ts.map +1 -1
  3. package/dist/@types/domains/content.d.ts +1 -1
  4. package/dist/cache/api/ingestInCache.d.ts.map +1 -1
  5. package/dist/commentRepository/api/tests/integration/createComment.integration.test.d.ts +2 -0
  6. package/dist/commentRepository/api/tests/integration/createComment.integration.test.d.ts.map +1 -0
  7. package/dist/commentRepository/api/tests/integration/deleteComment.integration.test.d.ts +2 -0
  8. package/dist/commentRepository/api/tests/integration/deleteComment.integration.test.d.ts.map +1 -0
  9. package/dist/commentRepository/api/tests/integration/flagComment.integration.test.d.ts +2 -0
  10. package/dist/commentRepository/api/tests/integration/flagComment.integration.test.d.ts.map +1 -0
  11. package/dist/commentRepository/api/tests/integration/getComment.integration.test.d.ts +2 -0
  12. package/dist/commentRepository/api/tests/integration/getComment.integration.test.d.ts.map +1 -0
  13. package/dist/commentRepository/api/tests/integration/getCommentByIds.integration.test.d.ts +2 -0
  14. package/dist/commentRepository/api/tests/integration/getCommentByIds.integration.test.d.ts.map +1 -0
  15. package/dist/commentRepository/api/tests/integration/getComments.integration.test.d.ts +2 -0
  16. package/dist/commentRepository/api/tests/integration/getComments.integration.test.d.ts.map +1 -0
  17. package/dist/commentRepository/api/tests/integration/hardDeleteComment.integration.test.d.ts +2 -0
  18. package/dist/commentRepository/api/tests/integration/hardDeleteComment.integration.test.d.ts.map +1 -0
  19. package/dist/commentRepository/api/tests/integration/isCommentFlaggedByMe.integration.test.d.ts +2 -0
  20. package/dist/commentRepository/api/tests/integration/isCommentFlaggedByMe.integration.test.d.ts.map +1 -0
  21. package/dist/commentRepository/api/tests/integration/queryComments.integration.test.d.ts +2 -0
  22. package/dist/commentRepository/api/tests/integration/queryComments.integration.test.d.ts.map +1 -0
  23. package/dist/commentRepository/api/tests/integration/softDeleteComment.integration.test.d.ts +2 -0
  24. package/dist/commentRepository/api/tests/integration/softDeleteComment.integration.test.d.ts.map +1 -0
  25. package/dist/commentRepository/api/tests/integration/unflagComment.integration.test.d.ts +2 -0
  26. package/dist/commentRepository/api/tests/integration/unflagComment.integration.test.d.ts.map +1 -0
  27. package/dist/commentRepository/api/tests/integration/updateComment.integration.test.d.ts +2 -0
  28. package/dist/commentRepository/api/tests/integration/updateComment.integration.test.d.ts.map +1 -0
  29. package/dist/communityRepository/communityMembership/observers/getMembers/CommunityMembersLiveCollectionController.d.ts.map +1 -1
  30. package/dist/communityRepository/communityMembership/observers/getMembers/CommunityMembersQueryStreamController.d.ts.map +1 -1
  31. package/dist/communityRepository/communityMembership/observers/getMembers.d.ts.map +1 -1
  32. package/dist/communityRepository/communityMembership/observers/searchMembers/SearchCommunityMembersLiveCollectionController.d.ts.map +1 -1
  33. package/dist/index.cjs.js +78 -10
  34. package/dist/index.esm.js +78 -10
  35. package/dist/index.umd.js +3 -3
  36. package/dist/postRepository/api/tests/integration/pinProduct.integration.test.d.ts +2 -0
  37. package/dist/postRepository/api/tests/integration/pinProduct.integration.test.d.ts.map +1 -0
  38. package/dist/postRepository/api/tests/integration/setup.d.ts +2 -0
  39. package/dist/postRepository/api/tests/integration/setup.d.ts.map +1 -1
  40. package/dist/postRepository/api/tests/integration/unpinProduct.integration.test.d.ts +2 -0
  41. package/dist/postRepository/api/tests/integration/unpinProduct.integration.test.d.ts.map +1 -0
  42. package/dist/postRepository/api/tests/integration/updateProductTags.integration.test.d.ts +2 -0
  43. package/dist/postRepository/api/tests/integration/updateProductTags.integration.test.d.ts.map +1 -0
  44. package/dist/productRepository/tests/integration/productAnalytics.integration.test.d.ts +2 -0
  45. package/dist/productRepository/tests/integration/productAnalytics.integration.test.d.ts.map +1 -0
  46. package/dist/roomRepository/api/tests/integration/setup.d.ts +11 -0
  47. package/dist/roomRepository/api/tests/integration/setup.d.ts.map +1 -0
  48. package/dist/roomRepository/api/tests/integration/updateCohostPermission.integration.test.d.ts +2 -0
  49. package/dist/roomRepository/api/tests/integration/updateCohostPermission.integration.test.d.ts.map +1 -0
  50. package/dist/userRepository/api/getBlockedUsersList.d.ts +22 -0
  51. package/dist/userRepository/api/getBlockedUsersList.d.ts.map +1 -0
  52. package/dist/userRepository/api/index.d.ts +1 -0
  53. package/dist/userRepository/api/index.d.ts.map +1 -1
  54. package/package.json +3 -2
@@ -158,6 +158,7 @@ declare global {
158
158
  communityId: string;
159
159
  memberships?: ('banned' | 'member')[];
160
160
  roles?: string[];
161
+ excludingRoles?: string[];
161
162
  sortBy?: Amity.CommunityMemberSortByEnum | Amity.CommunityMemberSortBy;
162
163
  page?: string;
163
164
  limit?: number;
@@ -167,6 +168,7 @@ declare global {
167
168
  communityId: string;
168
169
  memberships?: ('banned' | 'member')[];
169
170
  roles?: string[];
171
+ excludingRoles?: string[];
170
172
  sortBy?: Amity.SearchCommunityMemberSortByEnum | Amity.SearchCommunityMemberSortBy;
171
173
  search?: Amity.InternalUser['displayName'] | Amity.InternalUser['userId'];
172
174
  page?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"community.d.ts","sourceRoot":"","sources":["../../../src/@types/domains/community.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gCAAgC,EAAE,MAAM,iCAAiC,CAAC;AAEnF,eAAO,MAAM,qBAAqB;;;;EAIhC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;EAanC,CAAC;AAEH,eAAO,MAAM,2BAA2B,wBAAwB,CAAC;AAEjE,oBAAY,kBAAkB;IAC5B,OAAO,YAAY;IACnB,KAAK,UAAU;CAChB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,KAAK,CAAC;QACd,WAAW,mBAAmB;YAC5B,YAAY,iBAAiB;YAC7B,WAAW,gBAAgB;YAC3B,WAAW,gBAAgB;SAC5B;QAED,KAAK,eAAe,GAAG,GAAG,KAAK,CAAC,mB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,IAAI,EAAE,MAAM,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;YACtC,eAAe,EAAE,CACf,MAAM,EAAE,gBAAgB,EACxB,QAAQ,EAAE,KAAK,CAAC,sBAAsB,CAAC,KAAK,CAAC,WAAW,CAAC,KACtD,KAAK,CAAC,YAAY,CAAC;YACxB,gBAAgB,EAAE,MAAM,OAAO,CAAC,KAAK,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;SAChE,CAAC;KACH;CACF"}
@@ -11,7 +11,7 @@ export declare enum ContentFlagReasonEnum {
11
11
  SelfHarmOrSuicide = "Self-harm or suicide",
12
12
  ViolenceOrThreateningContent = "Violence or threatening content",
13
13
  SellingRestrictedItems = "Selling and promoting restricted items",
14
- SexualContentOrNudity = "Sexual message or nudity",
14
+ SexualContentOrNudity = "Sexual content or nudity",
15
15
  SpamOrScams = "Spam or scams",
16
16
  FalseInformation = "False information or misinformation",
17
17
  Others = "Others"
@@ -1 +1 @@
1
- {"version":3,"file":"ingestInCache.d.ts","sourceRoot":"","sources":["../../../src/cache/api/ingestInCache.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAe,MAAM,cAAc,CAAC;AAK1D;;;;;;;;;GASG;AACH,eAAO,MAAM,aAAa,aACf,OAAO,MAAM,oBAAoB,EAAE,MAAM,KAAK,EAAE,CAAC,YAChD,MAAM,YAAY,4BAc7B,CAAC"}
1
+ {"version":3,"file":"ingestInCache.d.ts","sourceRoot":"","sources":["../../../src/cache/api/ingestInCache.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAe,MAAM,cAAc,CAAC;AAK1D;;;;;;;;;GASG;AACH,eAAO,MAAM,aAAa,aACf,OAAO,MAAM,oBAAoB,EAAE,MAAM,KAAK,EAAE,CAAC,YAChD,MAAM,YAAY,4BAe7B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=createComment.integration.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createComment.integration.test.d.ts","sourceRoot":"","sources":["../../../../../src/commentRepository/api/tests/integration/createComment.integration.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=deleteComment.integration.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deleteComment.integration.test.d.ts","sourceRoot":"","sources":["../../../../../src/commentRepository/api/tests/integration/deleteComment.integration.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=flagComment.integration.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flagComment.integration.test.d.ts","sourceRoot":"","sources":["../../../../../src/commentRepository/api/tests/integration/flagComment.integration.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=getComment.integration.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getComment.integration.test.d.ts","sourceRoot":"","sources":["../../../../../src/commentRepository/api/tests/integration/getComment.integration.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=getCommentByIds.integration.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getCommentByIds.integration.test.d.ts","sourceRoot":"","sources":["../../../../../src/commentRepository/api/tests/integration/getCommentByIds.integration.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=getComments.integration.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getComments.integration.test.d.ts","sourceRoot":"","sources":["../../../../../src/commentRepository/api/tests/integration/getComments.integration.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=hardDeleteComment.integration.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hardDeleteComment.integration.test.d.ts","sourceRoot":"","sources":["../../../../../src/commentRepository/api/tests/integration/hardDeleteComment.integration.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=isCommentFlaggedByMe.integration.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isCommentFlaggedByMe.integration.test.d.ts","sourceRoot":"","sources":["../../../../../src/commentRepository/api/tests/integration/isCommentFlaggedByMe.integration.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=queryComments.integration.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"queryComments.integration.test.d.ts","sourceRoot":"","sources":["../../../../../src/commentRepository/api/tests/integration/queryComments.integration.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=softDeleteComment.integration.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"softDeleteComment.integration.test.d.ts","sourceRoot":"","sources":["../../../../../src/commentRepository/api/tests/integration/softDeleteComment.integration.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=unflagComment.integration.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unflagComment.integration.test.d.ts","sourceRoot":"","sources":["../../../../../src/commentRepository/api/tests/integration/unflagComment.integration.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=updateComment.integration.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updateComment.integration.test.d.ts","sourceRoot":"","sources":["../../../../../src/commentRepository/api/tests/integration/updateComment.integration.test.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"CommunityMembersLiveCollectionController.d.ts","sourceRoot":"","sources":["../../../../../src/communityRepository/communityMembership/observers/getMembers/CommunityMembersLiveCollectionController.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oCAAoC,EAAE,MAAM,wCAAwC,CAAC;AAE9F,OAAO,EAAE,wBAAwB,EAAE,MAAM,gDAAgD,CAAC;AA2B1F,qBAAa,wCAAyC,SAAQ,wBAAwB,CACpF,eAAe,EACf,KAAK,CAAC,6BAA6B,EACnC,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,EAC7B,oCAAoC,CACrC;IACC,OAAO,CAAC,qBAAqB,CAAwC;IAErE,OAAO,CAAC,KAAK,CAAsC;gBAGjD,KAAK,EAAE,KAAK,CAAC,6BAA6B,EAC1C,QAAQ,EAAE,KAAK,CAAC,sBAAsB,CAAC,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC;IAoBvE,SAAS,CAAC,KAAK;cAUC,YAAY,CAAC,YAAY,EAAE,KAAK,CAAC,0BAA0B,GAAG,KAAK,CAAC,UAAU;IAI9F,SAAS,CAAC,kBAAkB,CAAC,EAC3B,QAAQ,EACR,SAAS,EACT,OAAO,GACR,EAAE,KAAK,CAAC,sCAAsC,CAAC,eAAe,CAAC;IAIhE,iBAAiB;IAkCjB,YAAY,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,CAAC,0BAA0B;IAsBzE,WAAW,CAAC,IAAI,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,EAAE;CA0BlD"}
1
+ {"version":3,"file":"CommunityMembersLiveCollectionController.d.ts","sourceRoot":"","sources":["../../../../../src/communityRepository/communityMembership/observers/getMembers/CommunityMembersLiveCollectionController.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oCAAoC,EAAE,MAAM,wCAAwC,CAAC;AAE9F,OAAO,EAAE,wBAAwB,EAAE,MAAM,gDAAgD,CAAC;AA2B1F,qBAAa,wCAAyC,SAAQ,wBAAwB,CACpF,eAAe,EACf,KAAK,CAAC,6BAA6B,EACnC,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,EAC7B,oCAAoC,CACrC;IACC,OAAO,CAAC,qBAAqB,CAAwC;IAErE,OAAO,CAAC,KAAK,CAAsC;gBAGjD,KAAK,EAAE,KAAK,CAAC,6BAA6B,EAC1C,QAAQ,EAAE,KAAK,CAAC,sBAAsB,CAAC,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC;IAoBvE,SAAS,CAAC,KAAK;cAUC,YAAY,CAAC,YAAY,EAAE,KAAK,CAAC,0BAA0B,GAAG,KAAK,CAAC,UAAU;IAI9F,SAAS,CAAC,kBAAkB,CAAC,EAC3B,QAAQ,EACR,SAAS,EACT,OAAO,GACR,EAAE,KAAK,CAAC,sCAAsC,CAAC,eAAe,CAAC;IAIhE,iBAAiB;IAkCjB,YAAY,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,CAAC,0BAA0B;IAsBzE,WAAW,CAAC,IAAI,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,EAAE;CAgClD"}
@@ -1 +1 @@
1
- {"version":3,"file":"CommunityMembersQueryStreamController.d.ts","sourceRoot":"","sources":["../../../../../src/communityRepository/communityMembership/observers/getMembers/CommunityMembersQueryStreamController.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AAKpF,OAAO,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAC;AAErD,qBAAa,qCAAsC,SAAQ,qBAAqB,CAC9E,KAAK,CAAC,0BAA0B,EAChC,KAAK,CAAC,6BAA6B,CACpC;IACC,OAAO,CAAC,YAAY,CAAqD;IAEzE,OAAO,CAAC,cAAc,CAEyB;gBAG7C,KAAK,EAAE,KAAK,CAAC,6BAA6B,EAC1C,QAAQ,EAAE,MAAM,EAAE,EAClB,YAAY,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC,0BAA0B,KAAK,IAAI,EAChE,cAAc,EAAE,CACd,QAAQ,EAAE,KAAK,CAAC,0BAA0B,KACvC,KAAK,CAAC,mCAAmC;IAO1C,YAAY,CAAC,QAAQ,EAAE,KAAK,CAAC,0BAA0B;IAW7D,mBAAmB,CACjB,QAAQ,EAAE,KAAK,CAAC,0BAA0B,GAAG,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,EACtE,SAAS,EAAE,KAAK,CAAC,2BAA2B,EAC5C,OAAO,UAAQ;IA2BjB,OAAO,CAAC,MAAM,EAAE,0BAA0B,eAE3B,MAAM,iBAAiB,oBAChB,MAAM,UAAU,CAAC,WAAW,CAAC,EAAE;IAyBrD,YAAY,CACV,gBAAgB,EAAE;QAChB,EAAE,EAAE,CACF,OAAO,EAAE,CACP,OAAO,EAAE,KAAK,CAAC,iBAAiB,EAChC,aAAa,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,EAAE,KAC3C,IAAI,KACN,KAAK,CAAC,YAAY,CAAC;QACxB,MAAM,EAAE,0BAA0B,CAAC;KACpC,EAAE;CAIN"}
1
+ {"version":3,"file":"CommunityMembersQueryStreamController.d.ts","sourceRoot":"","sources":["../../../../../src/communityRepository/communityMembership/observers/getMembers/CommunityMembersQueryStreamController.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AAKpF,OAAO,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAC;AAErD,qBAAa,qCAAsC,SAAQ,qBAAqB,CAC9E,KAAK,CAAC,0BAA0B,EAChC,KAAK,CAAC,6BAA6B,CACpC;IACC,OAAO,CAAC,YAAY,CAAqD;IAEzE,OAAO,CAAC,cAAc,CAEyB;gBAG7C,KAAK,EAAE,KAAK,CAAC,6BAA6B,EAC1C,QAAQ,EAAE,MAAM,EAAE,EAClB,YAAY,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC,0BAA0B,KAAK,IAAI,EAChE,cAAc,EAAE,CACd,QAAQ,EAAE,KAAK,CAAC,0BAA0B,KACvC,KAAK,CAAC,mCAAmC;IAO1C,YAAY,CAAC,QAAQ,EAAE,KAAK,CAAC,0BAA0B;IAW7D,mBAAmB,CACjB,QAAQ,EAAE,KAAK,CAAC,0BAA0B,GAAG,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,EACtE,SAAS,EAAE,KAAK,CAAC,2BAA2B,EAC5C,OAAO,UAAQ;IA2BjB,OAAO,CAAC,MAAM,EAAE,0BAA0B,eAE3B,MAAM,iBAAiB,oBAChB,MAAM,UAAU,CAAC,WAAW,CAAC,EAAE;IAgCrD,YAAY,CACV,gBAAgB,EAAE;QAChB,EAAE,EAAE,CACF,OAAO,EAAE,CACP,OAAO,EAAE,KAAK,CAAC,iBAAiB,EAChC,aAAa,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,EAAE,KAC3C,IAAI,KACN,KAAK,CAAC,YAAY,CAAC;QACxB,MAAM,EAAE,0BAA0B,CAAC;KACpC,EAAE;CAIN"}
@@ -1 +1 @@
1
- {"version":3,"file":"getMembers.d.ts","sourceRoot":"","sources":["../../../../src/communityRepository/communityMembership/observers/getMembers.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,WAAW,+DAEd,MAAM,6BAA6B,QAiB5C,CAAC;AAKF;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,UAAU,WACb,MAAM,6BAA6B,YACjC,MAAM,sBAAsB,CAAC,MAAM,UAAU,CAAC,WAAW,CAAC,CAAC,WAC5D,MAAM,oBAAoB,eA6BpC,CAAC"}
1
+ {"version":3,"file":"getMembers.d.ts","sourceRoot":"","sources":["../../../../src/communityRepository/communityMembership/observers/getMembers.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,WAAW,+DAEd,MAAM,6BAA6B,QAuB5C,CAAC;AAKF;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,UAAU,WACb,MAAM,6BAA6B,YACjC,MAAM,sBAAsB,CAAC,MAAM,UAAU,CAAC,WAAW,CAAC,CAAC,WAC5D,MAAM,oBAAoB,eA6BpC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SearchCommunityMembersLiveCollectionController.d.ts","sourceRoot":"","sources":["../../../../../src/communityRepository/communityMembership/observers/searchMembers/SearchCommunityMembersLiveCollectionController.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,0CAA0C,EAAE,MAAM,8CAA8C,CAAC;AAE1G,OAAO,EAAE,wBAAwB,EAAE,MAAM,gDAAgD,CAAC;AAkB1F,qBAAa,8CAA+C,SAAQ,wBAAwB,CAC1F,eAAe,EACf,KAAK,CAAC,mCAAmC,EACzC,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,EAC7B,0CAA0C,CAC3C;IACC,OAAO,CAAC,qBAAqB,CAA8C;IAE3E,OAAO,CAAC,KAAK,CAA4C;gBAGvD,KAAK,EAAE,KAAK,CAAC,mCAAmC,EAChD,QAAQ,EAAE,KAAK,CAAC,sBAAsB,CAAC,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC;IAoBvE,SAAS,CAAC,KAAK;cAYC,YAAY,CAAC,YAAY,EAAE,KAAK,CAAC,0BAA0B,GAAG,KAAK,CAAC,UAAU;IAI9F,SAAS,CAAC,kBAAkB,CAAC,EAC3B,QAAQ,EACR,SAAS,EACT,OAAO,GACR,EAAE,KAAK,CAAC,sCAAsC,CAAC,eAAe,CAAC;IAIhE,iBAAiB;IAwBjB,YAAY,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,CAAC,0BAA0B;IAwBzE,WAAW,CAAC,IAAI,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,EAAE;CAoBlD"}
1
+ {"version":3,"file":"SearchCommunityMembersLiveCollectionController.d.ts","sourceRoot":"","sources":["../../../../../src/communityRepository/communityMembership/observers/searchMembers/SearchCommunityMembersLiveCollectionController.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,0CAA0C,EAAE,MAAM,8CAA8C,CAAC;AAE1G,OAAO,EAAE,wBAAwB,EAAE,MAAM,gDAAgD,CAAC;AAkB1F,qBAAa,8CAA+C,SAAQ,wBAAwB,CAC1F,eAAe,EACf,KAAK,CAAC,mCAAmC,EACzC,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,EAC7B,0CAA0C,CAC3C;IACC,OAAO,CAAC,qBAAqB,CAA8C;IAE3E,OAAO,CAAC,KAAK,CAA4C;gBAGvD,KAAK,EAAE,KAAK,CAAC,mCAAmC,EAChD,QAAQ,EAAE,KAAK,CAAC,sBAAsB,CAAC,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC;IAoBvE,SAAS,CAAC,KAAK;cAYC,YAAY,CAAC,YAAY,EAAE,KAAK,CAAC,0BAA0B,GAAG,KAAK,CAAC,UAAU;IAI9F,SAAS,CAAC,kBAAkB,CAAC,EAC3B,QAAQ,EACR,SAAS,EACT,OAAO,GACR,EAAE,KAAK,CAAC,sCAAsC,CAAC,eAAe,CAAC;IAIhE,iBAAiB;IAwBjB,YAAY,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,CAAC,0BAA0B;IAwBzE,WAAW,CAAC,IAAI,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,EAAE;CA0BlD"}
package/dist/index.cjs.js CHANGED
@@ -114,7 +114,7 @@ exports.ContentFlagReasonEnum = void 0;
114
114
  ContentFlagReasonEnum["SelfHarmOrSuicide"] = "Self-harm or suicide";
115
115
  ContentFlagReasonEnum["ViolenceOrThreateningContent"] = "Violence or threatening content";
116
116
  ContentFlagReasonEnum["SellingRestrictedItems"] = "Selling and promoting restricted items";
117
- ContentFlagReasonEnum["SexualContentOrNudity"] = "Sexual message or nudity";
117
+ ContentFlagReasonEnum["SexualContentOrNudity"] = "Sexual content or nudity";
118
118
  ContentFlagReasonEnum["SpamOrScams"] = "Spam or scams";
119
119
  ContentFlagReasonEnum["FalseInformation"] = "False information or misinformation";
120
120
  ContentFlagReasonEnum["Others"] = "Others";
@@ -4879,6 +4879,8 @@ const ingestInCache = (payload = {}, options, replace = true) => {
4879
4879
  const resolver = getResolver(type);
4880
4880
  if (!resolver)
4881
4881
  return;
4882
+ if (!models)
4883
+ return;
4882
4884
  models.forEach(model => {
4883
4885
  (replace ? pushToCache : upsertInCache)([type, 'get', resolver(model)], model, options);
4884
4886
  });
@@ -13051,7 +13053,7 @@ const getWatchSessionStorage = () => {
13051
13053
  return storageInstance;
13052
13054
  };
13053
13055
 
13054
- const privateKey = "-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDHo80SecH7FuF2\nhFYnb+l26/VN8UMLXAQFLnxciNTEwkGVFMpdezlH8rU2HtUJL4RETogbAOLVY0XM\njs6sPn8G1nALmh9qeDpUtVqFOVtBHxEZ910TLOtQiunjqJKO5nWdqZ71EC3OFluR\niGQkO84BiIFbv37ub7xl3S8XarbtKoLcyVpkDHi+1wx1pgCAn6gtBUgckPL5NR8j\nLseabl3HAXQfhTCKo4tmOFM2Dxwl1IUMmIJrJg/aIU/U0tj/1Eoo7mG0JcNWX19l\nW3EecCbi0ncCJOrkUdwlBrcjaMayaX/ubEwyUeTGiLdyc4L3GRLHjyK8xgVNXRMH\nbZWJ2a5NAgMBAAECggEASxuE+35zTFO/XydKgmvIGcWL9FbgMlXb7Vcf0nBoG945\nbiz0NVc2paraIhJXc608xbYF3qLmtAE1MVBI0ORyRdBHNxY024l/6H6SH60Ed+uI\nM4ysp5ourY6Vj+DLwpdRiI9YDjqYAQDIUmhNxJP7XPhOMoZI6st+xZQBM34ic/bv\nAMSJm9OZphSp3+qXVkFZztr2mxD2EZSJJLYxi8BCdgM2qhazalbcJ6zDKHCZWVWm\n8RRxDGldyMb/237JxETzP40tAlzOZDmBAbUgEnurDJ93RVDIE3rbZUshwgeQd18a\nem096mWgvB1AIKYgsTAR3pw+V19YWAjq/glP6fz8wQKBgQD/oQq+ukKF0PRgBeM5\ngeTjSwsdGppQLmf5ndujvoiz/TpdjDEPu6R8kigQr1rG2t4K/yfdZoI8RdmJD1al\n3Q7N9hofooSy4rj6E3txzWZCHJj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6dHMWaJQmAULYpVIwMi9L6gtyJ9fzoI6uqMtxRDMUqKdaSsTGOY/kJ6KhQ/unXi1K3XXjR+yd1+C0q+HUm1+CYxvrZYLfskCgYEArsEy+IQOiqniJ0NE2vVUF+UK/IRZaic9YKcpov5Ot7Vvzm/MnnW4N1ljVskocETBWMmPUvNSExVjPebi+rxd8fa5kY8BJScPTzMFbunZn/wjtGdcM10qdlVQ9doG61A/9P3ezFKCfS4AvF/H/59LcSx2Bh28fp3/efiVIOpVd4Y=";
13055
13057
  /*
13056
13058
  * The crypto algorithm used for importing key and signing string
13057
13059
  */
@@ -15562,6 +15564,59 @@ const isUserFlaggedByMe = async (userId) => {
15562
15564
  };
15563
15565
  /* end_public_function */
15564
15566
 
15567
+ function prepareBlockedUserPayload(response) {
15568
+ const { users, follows } = response, rest = __rest(response, ["users", "follows"]);
15569
+ return Object.assign(Object.assign({}, rest), { follows: follows.map(follow => {
15570
+ const followUser = users.find(user => user.userId === follow.from);
15571
+ return Object.assign(Object.assign({}, follow), { user: convertRawUserToInternalUser(followUser) });
15572
+ }), users: users.map(convertRawUserToInternalUser) });
15573
+ }
15574
+
15575
+ const BLOCK_LIST_DEFAULT_PAGE_LIMIT = 100;
15576
+ /* begin_public_function
15577
+ id: user.get_blocked_users_list
15578
+ */
15579
+ /**
15580
+ * ```js
15581
+ * import { UserRepository } from '@amityco/ts-sdk'
15582
+ * const blockedUsers = await UserRepository.getBlockedUsersList()
15583
+ * // or with a limit on total results:
15584
+ * const blockedUsers = await UserRepository.getBlockedUsersList({ limit: 3 })
15585
+ * ```
15586
+ *
15587
+ * Fetches blocked {@link Amity.User} objects without requiring manual pagination.
15588
+ * Intended for UI interception to filter content from blocked users.
15589
+ *
15590
+ * @param params Optional parameters
15591
+ * @param params.limit Maximum total number of blocked users to return (max: 100). Fetches all if not specified.
15592
+ * @returns Array of blocked {@link Amity.User} objects
15593
+ *
15594
+ * @category Block API
15595
+ * @async
15596
+ */
15597
+ const getBlockedUsersList = async (params) => {
15598
+ const client = getActiveClient();
15599
+ client.log('user/getBlockedUsersList');
15600
+ const maxResults = (params === null || params === void 0 ? void 0 : params.limit) !== undefined ? Math.min(params.limit, BLOCK_LIST_DEFAULT_PAGE_LIMIT) : undefined;
15601
+ const allUsers = [];
15602
+ let token;
15603
+ do {
15604
+ const remaining = maxResults !== undefined ? maxResults - allUsers.length : BLOCK_LIST_DEFAULT_PAGE_LIMIT;
15605
+ const options = token ? { token } : { limit: remaining };
15606
+ // eslint-disable-next-line no-await-in-loop
15607
+ const { data } = await client.http.get('/api/v4/me/user-blocks', { params: { options, isDeleted: false } });
15608
+ const cachedAt = client.cache && Date.now();
15609
+ const payload = prepareBlockedUserPayload(data);
15610
+ if (client.cache) {
15611
+ ingestInCache(payload, { cachedAt });
15612
+ }
15613
+ allUsers.push(...payload.users);
15614
+ token = data.paging.next;
15615
+ } while (token && (maxResults === undefined || allUsers.length < maxResults));
15616
+ return allUsers.map(userLinkedObject);
15617
+ };
15618
+ /* end_public_function */
15619
+
15565
15620
  /**
15566
15621
  * ```js
15567
15622
  * import { onUserUpdated } from '@amityco/ts-sdk'
@@ -15983,14 +16038,6 @@ class BlockedUserQueryStreamController extends QueryStreamController {
15983
16038
  }
15984
16039
  }
15985
16040
 
15986
- function prepareBlockedUserPayload(response) {
15987
- const { users, follows } = response, rest = __rest(response, ["users", "follows"]);
15988
- return Object.assign(Object.assign({}, rest), { follows: follows.map(follow => {
15989
- const followUser = users.find(user => user.userId === follow.from);
15990
- return Object.assign(Object.assign({}, follow), { user: convertRawUserToInternalUser(followUser) });
15991
- }), users: users.map(convertRawUserToInternalUser) });
15992
- }
15993
-
15994
16041
  const convertEventPayload = (eventHandler, sourceModelProp, destinationDomain) => (callback) => eventHandler(sourceModel => {
15995
16042
  var _a;
15996
16043
  if (!sourceModel) {
@@ -16377,6 +16424,7 @@ var index$q = /*#__PURE__*/Object.freeze({
16377
16424
  flagUser: flagUser,
16378
16425
  unflagUser: unflagUser,
16379
16426
  isUserFlaggedByMe: isUserFlaggedByMe,
16427
+ getBlockedUsersList: getBlockedUsersList,
16380
16428
  onUserUpdated: onUserUpdated,
16381
16429
  onUserDeleted: onUserDeleted$2,
16382
16430
  onUserFlagged: onUserFlagged,
@@ -23194,6 +23242,7 @@ class CommunityMembersQueryStreamController extends QueryStreamController {
23194
23242
  if (!collection)
23195
23243
  return;
23196
23244
  communityMembers.forEach(communityMember => {
23245
+ var _a;
23197
23246
  const communityMemberCacheId = getResolver('communityUsers')({
23198
23247
  communityId: this.query.communityId,
23199
23248
  userId: communityMember.userId,
@@ -23202,6 +23251,13 @@ class CommunityMembersQueryStreamController extends QueryStreamController {
23202
23251
  collection.data = collection.data.filter(m => m !== communityMemberCacheId);
23203
23252
  }
23204
23253
  else if (!collection.data.includes(communityMemberCacheId)) {
23254
+ // Reactor-level exclusion: prevent excluded items from entering query stream
23255
+ if ((_a = this.query.excludingRoles) === null || _a === void 0 ? void 0 : _a.length) {
23256
+ const memberRoles = communityMember.roles || [];
23257
+ if (memberRoles.some(role => this.query.excludingRoles.includes(role))) {
23258
+ return; // Skip — don't add to query stream
23259
+ }
23260
+ }
23205
23261
  collection.data = [communityMemberCacheId, ...collection.data];
23206
23262
  }
23207
23263
  });
@@ -23689,6 +23745,7 @@ class CommunityMembersLiveCollectionController extends LiveCollectionController
23689
23745
  });
23690
23746
  }
23691
23747
  applyFilter(data) {
23748
+ var _a;
23692
23749
  let communityMembers = filterByPropIntersection(data, 'roles', this.query.roles);
23693
23750
  if (this.query.memberships) {
23694
23751
  communityMembers = communityMembers.filter(({ communityMembership }) => {
@@ -23696,6 +23753,9 @@ class CommunityMembersLiveCollectionController extends LiveCollectionController
23696
23753
  return memberships.includes(communityMembership);
23697
23754
  });
23698
23755
  }
23756
+ if ((_a = this.query.excludingRoles) === null || _a === void 0 ? void 0 : _a.length) {
23757
+ communityMembers = communityMembers.filter(item => !(item.roles || []).some(role => this.query.excludingRoles.includes(role)));
23758
+ }
23699
23759
  if (this.query.includeDeleted === false) {
23700
23760
  communityMembers = communityMembers.filter(({ user }) => (user === null || user === void 0 ? void 0 : user.isDeleted) !== true);
23701
23761
  }
@@ -23717,6 +23777,7 @@ class CommunityMembersLiveCollectionController extends LiveCollectionController
23717
23777
  * @hidden
23718
23778
  */
23719
23779
  const applyFilter = (data, params) => {
23780
+ var _a;
23720
23781
  let communityMembers = filterByPropIntersection(data, 'roles', params.roles);
23721
23782
  if (params.memberships) {
23722
23783
  communityMembers = communityMembers.filter(({ communityMembership }) => {
@@ -23724,6 +23785,9 @@ const applyFilter = (data, params) => {
23724
23785
  return membership.includes(communityMembership);
23725
23786
  });
23726
23787
  }
23788
+ if ((_a = params.excludingRoles) === null || _a === void 0 ? void 0 : _a.length) {
23789
+ communityMembers = communityMembers.filter(item => !(item.roles || []).some(role => params.excludingRoles.includes(role)));
23790
+ }
23727
23791
  const sortBy = params.sortBy ? params.sortBy : 'lastCreated';
23728
23792
  communityMembers = communityMembers.sort(sortBy === 'lastCreated' ? sortByLastCreated : sortByFirstCreated);
23729
23793
  return communityMembers;
@@ -23927,6 +23991,7 @@ class SearchCommunityMembersLiveCollectionController extends LiveCollectionContr
23927
23991
  });
23928
23992
  }
23929
23993
  applyFilter(data) {
23994
+ var _a;
23930
23995
  let communityMembers = filterByPropIntersection(data, 'roles', this.query.roles);
23931
23996
  if (this.query.memberships) {
23932
23997
  communityMembers = communityMembers.filter(({ communityMembership }) => {
@@ -23937,6 +24002,9 @@ class SearchCommunityMembersLiveCollectionController extends LiveCollectionContr
23937
24002
  if (this.query.search) {
23938
24003
  communityMembers = filterBySearchTerm(communityMembers, this.query.search);
23939
24004
  }
24005
+ if ((_a = this.query.excludingRoles) === null || _a === void 0 ? void 0 : _a.length) {
24006
+ communityMembers = communityMembers.filter(item => !(item.roles || []).some(role => this.query.excludingRoles.includes(role)));
24007
+ }
23940
24008
  if (this.query.includeDeleted === false) {
23941
24009
  communityMembers = communityMembers.filter(({ user }) => (user === null || user === void 0 ? void 0 : user.isDeleted) !== true);
23942
24010
  }
package/dist/index.esm.js CHANGED
@@ -99,7 +99,7 @@ var ContentFlagReasonEnum;
99
99
  ContentFlagReasonEnum["SelfHarmOrSuicide"] = "Self-harm or suicide";
100
100
  ContentFlagReasonEnum["ViolenceOrThreateningContent"] = "Violence or threatening content";
101
101
  ContentFlagReasonEnum["SellingRestrictedItems"] = "Selling and promoting restricted items";
102
- ContentFlagReasonEnum["SexualContentOrNudity"] = "Sexual message or nudity";
102
+ ContentFlagReasonEnum["SexualContentOrNudity"] = "Sexual content or nudity";
103
103
  ContentFlagReasonEnum["SpamOrScams"] = "Spam or scams";
104
104
  ContentFlagReasonEnum["FalseInformation"] = "False information or misinformation";
105
105
  ContentFlagReasonEnum["Others"] = "Others";
@@ -20955,6 +20955,8 @@ const ingestInCache = (payload = {}, options, replace = true) => {
20955
20955
  const resolver = getResolver(type);
20956
20956
  if (!resolver)
20957
20957
  return;
20958
+ if (!models)
20959
+ return;
20958
20960
  models.forEach(model => {
20959
20961
  (replace ? pushToCache : upsertInCache)([type, 'get', resolver(model)], model, options);
20960
20962
  });
@@ -29143,7 +29145,7 @@ const getWatchSessionStorage = () => {
29143
29145
  return storageInstance;
29144
29146
  };
29145
29147
 
29146
- const privateKey = "-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDHo80SecH7FuF2\nhFYnb+l26/VN8UMLXAQFLnxciNTEwkGVFMpdezlH8rU2HtUJL4RETogbAOLVY0XM\njs6sPn8G1nALmh9qeDpUtVqFOVtBHxEZ910TLOtQiunjqJKO5nWdqZ71EC3OFluR\niGQkO84BiIFbv37ub7xl3S8XarbtKoLcyVpkDHi+1wx1pgCAn6gtBUgckPL5NR8j\nLseabl3HAXQfhTCKo4tmOFM2Dxwl1IUMmIJrJg/aIU/U0tj/1Eoo7mG0JcNWX19l\nW3EecCbi0ncCJOrkUdwlBrcjaMayaX/ubEwyUeTGiLdyc4L3GRLHjyK8xgVNX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xasFbqpvJaGo7F3pd2Fqj1XR4mp5BO7c/t7LJ0CgYEA3aouEzXQ9THRKYocdfY69EI1Il1t/d/RSqqd9BxEjxBgxkM13ZiYIn/R4WW/nCUrlmhxG44Aa2Gob4Ahfsui2xKTg/g/3Zk/rAxAEGkfOLGoenaJMD41fH4wUq3FRYwkvnaMb9Hd6f/TlBHslIRa2NN58bSBGJCyBP2b59+2+EcCgYEAixDVRXvV37GlYUOa/XVdosk5Zoe6oDGRuQm0xbNdoUBoZvDHDvme7ONWEiQha/8qtVsD+CyQ7awcPfb8kK9c0bBt+bTS6d4BkTcxkEkMgtrkBVR8Nqfu5jXsLH4VCv4G61zbMhZw8+ut+az5YX2yCN7Frj9sFlxapMRPQmzMEe0CgYEAumsAzM8ZqNv4mAK65Mnr0rhLj1cbxcKRdUYACOgtEFQpzxN/HZnTeFAe5nx3pI3uFlRHq3DFEYnT6dHMWaJQmAULYpVIwMi9L6gtyJ9fzoI6uqMtxRDMUqKdaSsTGOY/kJ6KhQ/unXi1K3XXjR+yd1+C0q+HUm1+CYxvrZYLfskCgYEArsEy+IQOiqniJ0NE2vVUF+UK/IRZaic9YKcpov5Ot7Vvzm/MnnW4N1ljVskocETBWMmPUvNSExVjPebi+rxd8fa5kY8BJScPTzMFbunZn/wjtGdcM10qdlVQ9doG61A/9P3ezFKCfS4AvF/H/59LcSx2Bh28fp3/efiVIOpVd4Y=";
29147
29149
  /*
29148
29150
  * The crypto algorithm used for importing key and signing string
29149
29151
  */
@@ -31654,6 +31656,59 @@ const isUserFlaggedByMe = async (userId) => {
31654
31656
  };
31655
31657
  /* end_public_function */
31656
31658
 
31659
+ function prepareBlockedUserPayload(response) {
31660
+ const { users, follows } = response, rest = __rest(response, ["users", "follows"]);
31661
+ return Object.assign(Object.assign({}, rest), { follows: follows.map(follow => {
31662
+ const followUser = users.find(user => user.userId === follow.from);
31663
+ return Object.assign(Object.assign({}, follow), { user: convertRawUserToInternalUser(followUser) });
31664
+ }), users: users.map(convertRawUserToInternalUser) });
31665
+ }
31666
+
31667
+ const BLOCK_LIST_DEFAULT_PAGE_LIMIT = 100;
31668
+ /* begin_public_function
31669
+ id: user.get_blocked_users_list
31670
+ */
31671
+ /**
31672
+ * ```js
31673
+ * import { UserRepository } from '@amityco/ts-sdk'
31674
+ * const blockedUsers = await UserRepository.getBlockedUsersList()
31675
+ * // or with a limit on total results:
31676
+ * const blockedUsers = await UserRepository.getBlockedUsersList({ limit: 3 })
31677
+ * ```
31678
+ *
31679
+ * Fetches blocked {@link Amity.User} objects without requiring manual pagination.
31680
+ * Intended for UI interception to filter content from blocked users.
31681
+ *
31682
+ * @param params Optional parameters
31683
+ * @param params.limit Maximum total number of blocked users to return (max: 100). Fetches all if not specified.
31684
+ * @returns Array of blocked {@link Amity.User} objects
31685
+ *
31686
+ * @category Block API
31687
+ * @async
31688
+ */
31689
+ const getBlockedUsersList = async (params) => {
31690
+ const client = getActiveClient();
31691
+ client.log('user/getBlockedUsersList');
31692
+ const maxResults = (params === null || params === void 0 ? void 0 : params.limit) !== undefined ? Math.min(params.limit, BLOCK_LIST_DEFAULT_PAGE_LIMIT) : undefined;
31693
+ const allUsers = [];
31694
+ let token;
31695
+ do {
31696
+ const remaining = maxResults !== undefined ? maxResults - allUsers.length : BLOCK_LIST_DEFAULT_PAGE_LIMIT;
31697
+ const options = token ? { token } : { limit: remaining };
31698
+ // eslint-disable-next-line no-await-in-loop
31699
+ const { data } = await client.http.get('/api/v4/me/user-blocks', { params: { options, isDeleted: false } });
31700
+ const cachedAt = client.cache && Date.now();
31701
+ const payload = prepareBlockedUserPayload(data);
31702
+ if (client.cache) {
31703
+ ingestInCache(payload, { cachedAt });
31704
+ }
31705
+ allUsers.push(...payload.users);
31706
+ token = data.paging.next;
31707
+ } while (token && (maxResults === undefined || allUsers.length < maxResults));
31708
+ return allUsers.map(userLinkedObject);
31709
+ };
31710
+ /* end_public_function */
31711
+
31657
31712
  /**
31658
31713
  * ```js
31659
31714
  * import { onUserUpdated } from '@amityco/ts-sdk'
@@ -32075,14 +32130,6 @@ class BlockedUserQueryStreamController extends QueryStreamController {
32075
32130
  }
32076
32131
  }
32077
32132
 
32078
- function prepareBlockedUserPayload(response) {
32079
- const { users, follows } = response, rest = __rest(response, ["users", "follows"]);
32080
- return Object.assign(Object.assign({}, rest), { follows: follows.map(follow => {
32081
- const followUser = users.find(user => user.userId === follow.from);
32082
- return Object.assign(Object.assign({}, follow), { user: convertRawUserToInternalUser(followUser) });
32083
- }), users: users.map(convertRawUserToInternalUser) });
32084
- }
32085
-
32086
32133
  const convertEventPayload = (eventHandler, sourceModelProp, destinationDomain) => (callback) => eventHandler(sourceModel => {
32087
32134
  var _a;
32088
32135
  if (!sourceModel) {
@@ -32469,6 +32516,7 @@ var index$q = /*#__PURE__*/Object.freeze({
32469
32516
  flagUser: flagUser,
32470
32517
  unflagUser: unflagUser,
32471
32518
  isUserFlaggedByMe: isUserFlaggedByMe,
32519
+ getBlockedUsersList: getBlockedUsersList,
32472
32520
  onUserUpdated: onUserUpdated,
32473
32521
  onUserDeleted: onUserDeleted$2,
32474
32522
  onUserFlagged: onUserFlagged,
@@ -39286,6 +39334,7 @@ class CommunityMembersQueryStreamController extends QueryStreamController {
39286
39334
  if (!collection)
39287
39335
  return;
39288
39336
  communityMembers.forEach(communityMember => {
39337
+ var _a;
39289
39338
  const communityMemberCacheId = getResolver('communityUsers')({
39290
39339
  communityId: this.query.communityId,
39291
39340
  userId: communityMember.userId,
@@ -39294,6 +39343,13 @@ class CommunityMembersQueryStreamController extends QueryStreamController {
39294
39343
  collection.data = collection.data.filter(m => m !== communityMemberCacheId);
39295
39344
  }
39296
39345
  else if (!collection.data.includes(communityMemberCacheId)) {
39346
+ // Reactor-level exclusion: prevent excluded items from entering query stream
39347
+ if ((_a = this.query.excludingRoles) === null || _a === void 0 ? void 0 : _a.length) {
39348
+ const memberRoles = communityMember.roles || [];
39349
+ if (memberRoles.some(role => this.query.excludingRoles.includes(role))) {
39350
+ return; // Skip — don't add to query stream
39351
+ }
39352
+ }
39297
39353
  collection.data = [communityMemberCacheId, ...collection.data];
39298
39354
  }
39299
39355
  });
@@ -39781,6 +39837,7 @@ class CommunityMembersLiveCollectionController extends LiveCollectionController
39781
39837
  });
39782
39838
  }
39783
39839
  applyFilter(data) {
39840
+ var _a;
39784
39841
  let communityMembers = filterByPropIntersection(data, 'roles', this.query.roles);
39785
39842
  if (this.query.memberships) {
39786
39843
  communityMembers = communityMembers.filter(({ communityMembership }) => {
@@ -39788,6 +39845,9 @@ class CommunityMembersLiveCollectionController extends LiveCollectionController
39788
39845
  return memberships.includes(communityMembership);
39789
39846
  });
39790
39847
  }
39848
+ if ((_a = this.query.excludingRoles) === null || _a === void 0 ? void 0 : _a.length) {
39849
+ communityMembers = communityMembers.filter(item => !(item.roles || []).some(role => this.query.excludingRoles.includes(role)));
39850
+ }
39791
39851
  if (this.query.includeDeleted === false) {
39792
39852
  communityMembers = communityMembers.filter(({ user }) => (user === null || user === void 0 ? void 0 : user.isDeleted) !== true);
39793
39853
  }
@@ -39809,6 +39869,7 @@ class CommunityMembersLiveCollectionController extends LiveCollectionController
39809
39869
  * @hidden
39810
39870
  */
39811
39871
  const applyFilter = (data, params) => {
39872
+ var _a;
39812
39873
  let communityMembers = filterByPropIntersection(data, 'roles', params.roles);
39813
39874
  if (params.memberships) {
39814
39875
  communityMembers = communityMembers.filter(({ communityMembership }) => {
@@ -39816,6 +39877,9 @@ const applyFilter = (data, params) => {
39816
39877
  return membership.includes(communityMembership);
39817
39878
  });
39818
39879
  }
39880
+ if ((_a = params.excludingRoles) === null || _a === void 0 ? void 0 : _a.length) {
39881
+ communityMembers = communityMembers.filter(item => !(item.roles || []).some(role => params.excludingRoles.includes(role)));
39882
+ }
39819
39883
  const sortBy = params.sortBy ? params.sortBy : 'lastCreated';
39820
39884
  communityMembers = communityMembers.sort(sortBy === 'lastCreated' ? sortByLastCreated : sortByFirstCreated);
39821
39885
  return communityMembers;
@@ -40019,6 +40083,7 @@ class SearchCommunityMembersLiveCollectionController extends LiveCollectionContr
40019
40083
  });
40020
40084
  }
40021
40085
  applyFilter(data) {
40086
+ var _a;
40022
40087
  let communityMembers = filterByPropIntersection(data, 'roles', this.query.roles);
40023
40088
  if (this.query.memberships) {
40024
40089
  communityMembers = communityMembers.filter(({ communityMembership }) => {
@@ -40029,6 +40094,9 @@ class SearchCommunityMembersLiveCollectionController extends LiveCollectionContr
40029
40094
  if (this.query.search) {
40030
40095
  communityMembers = filterBySearchTerm(communityMembers, this.query.search);
40031
40096
  }
40097
+ if ((_a = this.query.excludingRoles) === null || _a === void 0 ? void 0 : _a.length) {
40098
+ communityMembers = communityMembers.filter(item => !(item.roles || []).some(role => this.query.excludingRoles.includes(role)));
40099
+ }
40032
40100
  if (this.query.includeDeleted === false) {
40033
40101
  communityMembers = communityMembers.filter(({ user }) => (user === null || user === void 0 ? void 0 : user.isDeleted) !== true);
40034
40102
  }