@amityco/ts-sdk 7.17.1-2db1f64.0 → 7.17.1-3d2d30d.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 (51) 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/commentRepository/events/utils.d.ts.map +1 -1
  30. package/dist/communityRepository/communityMembership/observers/getMembers/CommunityMembersLiveCollectionController.d.ts.map +1 -1
  31. package/dist/communityRepository/communityMembership/observers/getMembers/CommunityMembersQueryStreamController.d.ts.map +1 -1
  32. package/dist/communityRepository/communityMembership/observers/getMembers.d.ts.map +1 -1
  33. package/dist/communityRepository/communityMembership/observers/searchMembers/SearchCommunityMembersLiveCollectionController.d.ts.map +1 -1
  34. package/dist/index.cjs.js +27 -3
  35. package/dist/index.esm.js +27 -3
  36. package/dist/index.umd.js +2 -2
  37. package/dist/postRepository/api/tests/integration/pinProduct.integration.test.d.ts +2 -0
  38. package/dist/postRepository/api/tests/integration/pinProduct.integration.test.d.ts.map +1 -0
  39. package/dist/postRepository/api/tests/integration/setup.d.ts +2 -0
  40. package/dist/postRepository/api/tests/integration/setup.d.ts.map +1 -1
  41. package/dist/postRepository/api/tests/integration/unpinProduct.integration.test.d.ts +2 -0
  42. package/dist/postRepository/api/tests/integration/unpinProduct.integration.test.d.ts.map +1 -0
  43. package/dist/postRepository/api/tests/integration/updateProductTags.integration.test.d.ts +2 -0
  44. package/dist/postRepository/api/tests/integration/updateProductTags.integration.test.d.ts.map +1 -0
  45. package/dist/productRepository/tests/integration/productAnalytics.integration.test.d.ts +2 -0
  46. package/dist/productRepository/tests/integration/productAnalytics.integration.test.d.ts.map +1 -0
  47. package/dist/roomRepository/api/tests/integration/setup.d.ts +11 -0
  48. package/dist/roomRepository/api/tests/integration/setup.d.ts.map +1 -0
  49. package/dist/roomRepository/api/tests/integration/updateCohostPermission.integration.test.d.ts +2 -0
  50. package/dist/roomRepository/api/tests/integration/updateCohostPermission.integration.test.d.ts.map +1 -0
  51. 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,mBAAmB,EAAE,CAAC;QAEtD,WAAW,yBAAyB;YAClC,YAAY,iBAAiB;YAC7B,WAAW,gBAAgB;YAC3B,WAAW,gBAAgB;SAC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xB,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":"utils.d.ts","sourceRoot":"","sources":["../../../src/commentRepository/events/utils.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,4BAA4B,UAChC,MAAM,MAAM,iBAAiB,YAC1B,MAAM,QAAQ,CAAC,MAAM,eAAe,CAAC,uBA0FhD,CAAC;AAEF,eAAO,MAAM,iCAAiC,UACrC,MAAM,KACX,MAAM,kBAAkB,EACxB,2BAA2B,GAAG,8BAA8B,CAC7D,YACS,MAAM,QAAQ,CAAC,MAAM,eAAe,CAAC,uBAmIhD,CAAC"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/commentRepository/events/utils.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,4BAA4B,UAChC,MAAM,MAAM,iBAAiB,YAC1B,MAAM,QAAQ,CAAC,MAAM,eAAe,CAAC,uBA0FhD,CAAC;AAEF,eAAO,MAAM,iCAAiC,UACrC,MAAM,KACX,MAAM,kBAAkB,EACxB,2BAA2B,GAAG,8BAA8B,CAC7D,YACS,MAAM,QAAQ,CAAC,MAAM,eAAe,CAAC,uBAqIhD,CAAC"}
@@ -1 +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
  });
@@ -18102,8 +18104,10 @@ const createLocalCommentEventSubscriber = (event, callback) => {
18102
18104
  else {
18103
18105
  const postCacheKey = ['post', 'get', comments[0].referenceId];
18104
18106
  const postCache = (_d = pullFromCache(postCacheKey)) === null || _d === void 0 ? void 0 : _d.data;
18105
- const updatedPost = Object.assign(Object.assign({}, postCache), { comments: postCache === null || postCache === void 0 ? void 0 : postCache.comments.filter(commentId => { var _a; return commentId !== ((_a = comments[0]) === null || _a === void 0 ? void 0 : _a.commentId); }) });
18106
- pushToCache(postCacheKey, updatedPost);
18107
+ if (postCache) {
18108
+ const updatedPost = Object.assign(Object.assign({}, postCache), { comments: postCache === null || postCache === void 0 ? void 0 : postCache.comments.filter(commentId => { var _a; return commentId !== ((_a = comments[0]) === null || _a === void 0 ? void 0 : _a.commentId); }) });
18109
+ pushToCache(postCacheKey, updatedPost);
18110
+ }
18107
18111
  }
18108
18112
  const queries = (_e = queryCache(['comment', 'query'])) === null || _e === void 0 ? void 0 : _e.filter(({ key }) => { var _a; return ((_a = key[2]) === null || _a === void 0 ? void 0 : _a.referenceId) === comment.data.referenceId; });
18109
18113
  queries === null || queries === void 0 ? void 0 : queries.map(({ key, data }) => upsertInCache(key, data, { cachedAt: -1 }));
@@ -23240,6 +23244,7 @@ class CommunityMembersQueryStreamController extends QueryStreamController {
23240
23244
  if (!collection)
23241
23245
  return;
23242
23246
  communityMembers.forEach(communityMember => {
23247
+ var _a;
23243
23248
  const communityMemberCacheId = getResolver('communityUsers')({
23244
23249
  communityId: this.query.communityId,
23245
23250
  userId: communityMember.userId,
@@ -23248,6 +23253,13 @@ class CommunityMembersQueryStreamController extends QueryStreamController {
23248
23253
  collection.data = collection.data.filter(m => m !== communityMemberCacheId);
23249
23254
  }
23250
23255
  else if (!collection.data.includes(communityMemberCacheId)) {
23256
+ // Reactor-level exclusion: prevent excluded items from entering query stream
23257
+ if ((_a = this.query.excludingRoles) === null || _a === void 0 ? void 0 : _a.length) {
23258
+ const memberRoles = communityMember.roles || [];
23259
+ if (memberRoles.some(role => this.query.excludingRoles.includes(role))) {
23260
+ return; // Skip — don't add to query stream
23261
+ }
23262
+ }
23251
23263
  collection.data = [communityMemberCacheId, ...collection.data];
23252
23264
  }
23253
23265
  });
@@ -23735,6 +23747,7 @@ class CommunityMembersLiveCollectionController extends LiveCollectionController
23735
23747
  });
23736
23748
  }
23737
23749
  applyFilter(data) {
23750
+ var _a;
23738
23751
  let communityMembers = filterByPropIntersection(data, 'roles', this.query.roles);
23739
23752
  if (this.query.memberships) {
23740
23753
  communityMembers = communityMembers.filter(({ communityMembership }) => {
@@ -23742,6 +23755,9 @@ class CommunityMembersLiveCollectionController extends LiveCollectionController
23742
23755
  return memberships.includes(communityMembership);
23743
23756
  });
23744
23757
  }
23758
+ if ((_a = this.query.excludingRoles) === null || _a === void 0 ? void 0 : _a.length) {
23759
+ communityMembers = communityMembers.filter(item => !(item.roles || []).some(role => this.query.excludingRoles.includes(role)));
23760
+ }
23745
23761
  if (this.query.includeDeleted === false) {
23746
23762
  communityMembers = communityMembers.filter(({ user }) => (user === null || user === void 0 ? void 0 : user.isDeleted) !== true);
23747
23763
  }
@@ -23763,6 +23779,7 @@ class CommunityMembersLiveCollectionController extends LiveCollectionController
23763
23779
  * @hidden
23764
23780
  */
23765
23781
  const applyFilter = (data, params) => {
23782
+ var _a;
23766
23783
  let communityMembers = filterByPropIntersection(data, 'roles', params.roles);
23767
23784
  if (params.memberships) {
23768
23785
  communityMembers = communityMembers.filter(({ communityMembership }) => {
@@ -23770,6 +23787,9 @@ const applyFilter = (data, params) => {
23770
23787
  return membership.includes(communityMembership);
23771
23788
  });
23772
23789
  }
23790
+ if ((_a = params.excludingRoles) === null || _a === void 0 ? void 0 : _a.length) {
23791
+ communityMembers = communityMembers.filter(item => !(item.roles || []).some(role => params.excludingRoles.includes(role)));
23792
+ }
23773
23793
  const sortBy = params.sortBy ? params.sortBy : 'lastCreated';
23774
23794
  communityMembers = communityMembers.sort(sortBy === 'lastCreated' ? sortByLastCreated : sortByFirstCreated);
23775
23795
  return communityMembers;
@@ -23973,6 +23993,7 @@ class SearchCommunityMembersLiveCollectionController extends LiveCollectionContr
23973
23993
  });
23974
23994
  }
23975
23995
  applyFilter(data) {
23996
+ var _a;
23976
23997
  let communityMembers = filterByPropIntersection(data, 'roles', this.query.roles);
23977
23998
  if (this.query.memberships) {
23978
23999
  communityMembers = communityMembers.filter(({ communityMembership }) => {
@@ -23983,6 +24004,9 @@ class SearchCommunityMembersLiveCollectionController extends LiveCollectionContr
23983
24004
  if (this.query.search) {
23984
24005
  communityMembers = filterBySearchTerm(communityMembers, this.query.search);
23985
24006
  }
24007
+ if ((_a = this.query.excludingRoles) === null || _a === void 0 ? void 0 : _a.length) {
24008
+ communityMembers = communityMembers.filter(item => !(item.roles || []).some(role => this.query.excludingRoles.includes(role)));
24009
+ }
23986
24010
  if (this.query.includeDeleted === false) {
23987
24011
  communityMembers = communityMembers.filter(({ user }) => (user === null || user === void 0 ? void 0 : user.isDeleted) !== true);
23988
24012
  }
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
  });
@@ -34194,8 +34196,10 @@ const createLocalCommentEventSubscriber = (event, callback) => {
34194
34196
  else {
34195
34197
  const postCacheKey = ['post', 'get', comments[0].referenceId];
34196
34198
  const postCache = (_d = pullFromCache(postCacheKey)) === null || _d === void 0 ? void 0 : _d.data;
34197
- const updatedPost = Object.assign(Object.assign({}, postCache), { comments: postCache === null || postCache === void 0 ? void 0 : postCache.comments.filter(commentId => { var _a; return commentId !== ((_a = comments[0]) === null || _a === void 0 ? void 0 : _a.commentId); }) });
34198
- pushToCache(postCacheKey, updatedPost);
34199
+ if (postCache) {
34200
+ const updatedPost = Object.assign(Object.assign({}, postCache), { comments: postCache === null || postCache === void 0 ? void 0 : postCache.comments.filter(commentId => { var _a; return commentId !== ((_a = comments[0]) === null || _a === void 0 ? void 0 : _a.commentId); }) });
34201
+ pushToCache(postCacheKey, updatedPost);
34202
+ }
34199
34203
  }
34200
34204
  const queries = (_e = queryCache(['comment', 'query'])) === null || _e === void 0 ? void 0 : _e.filter(({ key }) => { var _a; return ((_a = key[2]) === null || _a === void 0 ? void 0 : _a.referenceId) === comment.data.referenceId; });
34201
34205
  queries === null || queries === void 0 ? void 0 : queries.map(({ key, data }) => upsertInCache(key, data, { cachedAt: -1 }));
@@ -39332,6 +39336,7 @@ class CommunityMembersQueryStreamController extends QueryStreamController {
39332
39336
  if (!collection)
39333
39337
  return;
39334
39338
  communityMembers.forEach(communityMember => {
39339
+ var _a;
39335
39340
  const communityMemberCacheId = getResolver('communityUsers')({
39336
39341
  communityId: this.query.communityId,
39337
39342
  userId: communityMember.userId,
@@ -39340,6 +39345,13 @@ class CommunityMembersQueryStreamController extends QueryStreamController {
39340
39345
  collection.data = collection.data.filter(m => m !== communityMemberCacheId);
39341
39346
  }
39342
39347
  else if (!collection.data.includes(communityMemberCacheId)) {
39348
+ // Reactor-level exclusion: prevent excluded items from entering query stream
39349
+ if ((_a = this.query.excludingRoles) === null || _a === void 0 ? void 0 : _a.length) {
39350
+ const memberRoles = communityMember.roles || [];
39351
+ if (memberRoles.some(role => this.query.excludingRoles.includes(role))) {
39352
+ return; // Skip — don't add to query stream
39353
+ }
39354
+ }
39343
39355
  collection.data = [communityMemberCacheId, ...collection.data];
39344
39356
  }
39345
39357
  });
@@ -39827,6 +39839,7 @@ class CommunityMembersLiveCollectionController extends LiveCollectionController
39827
39839
  });
39828
39840
  }
39829
39841
  applyFilter(data) {
39842
+ var _a;
39830
39843
  let communityMembers = filterByPropIntersection(data, 'roles', this.query.roles);
39831
39844
  if (this.query.memberships) {
39832
39845
  communityMembers = communityMembers.filter(({ communityMembership }) => {
@@ -39834,6 +39847,9 @@ class CommunityMembersLiveCollectionController extends LiveCollectionController
39834
39847
  return memberships.includes(communityMembership);
39835
39848
  });
39836
39849
  }
39850
+ if ((_a = this.query.excludingRoles) === null || _a === void 0 ? void 0 : _a.length) {
39851
+ communityMembers = communityMembers.filter(item => !(item.roles || []).some(role => this.query.excludingRoles.includes(role)));
39852
+ }
39837
39853
  if (this.query.includeDeleted === false) {
39838
39854
  communityMembers = communityMembers.filter(({ user }) => (user === null || user === void 0 ? void 0 : user.isDeleted) !== true);
39839
39855
  }
@@ -39855,6 +39871,7 @@ class CommunityMembersLiveCollectionController extends LiveCollectionController
39855
39871
  * @hidden
39856
39872
  */
39857
39873
  const applyFilter = (data, params) => {
39874
+ var _a;
39858
39875
  let communityMembers = filterByPropIntersection(data, 'roles', params.roles);
39859
39876
  if (params.memberships) {
39860
39877
  communityMembers = communityMembers.filter(({ communityMembership }) => {
@@ -39862,6 +39879,9 @@ const applyFilter = (data, params) => {
39862
39879
  return membership.includes(communityMembership);
39863
39880
  });
39864
39881
  }
39882
+ if ((_a = params.excludingRoles) === null || _a === void 0 ? void 0 : _a.length) {
39883
+ communityMembers = communityMembers.filter(item => !(item.roles || []).some(role => params.excludingRoles.includes(role)));
39884
+ }
39865
39885
  const sortBy = params.sortBy ? params.sortBy : 'lastCreated';
39866
39886
  communityMembers = communityMembers.sort(sortBy === 'lastCreated' ? sortByLastCreated : sortByFirstCreated);
39867
39887
  return communityMembers;
@@ -40065,6 +40085,7 @@ class SearchCommunityMembersLiveCollectionController extends LiveCollectionContr
40065
40085
  });
40066
40086
  }
40067
40087
  applyFilter(data) {
40088
+ var _a;
40068
40089
  let communityMembers = filterByPropIntersection(data, 'roles', this.query.roles);
40069
40090
  if (this.query.memberships) {
40070
40091
  communityMembers = communityMembers.filter(({ communityMembership }) => {
@@ -40075,6 +40096,9 @@ class SearchCommunityMembersLiveCollectionController extends LiveCollectionContr
40075
40096
  if (this.query.search) {
40076
40097
  communityMembers = filterBySearchTerm(communityMembers, this.query.search);
40077
40098
  }
40099
+ if ((_a = this.query.excludingRoles) === null || _a === void 0 ? void 0 : _a.length) {
40100
+ communityMembers = communityMembers.filter(item => !(item.roles || []).some(role => this.query.excludingRoles.includes(role)));
40101
+ }
40078
40102
  if (this.query.includeDeleted === false) {
40079
40103
  communityMembers = communityMembers.filter(({ user }) => (user === null || user === void 0 ? void 0 : user.isDeleted) !== true);
40080
40104
  }