@amityco/ts-sdk 7.27.2-a5056412.0 → 7.27.2-d978f145.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.
@@ -9,9 +9,8 @@
9
9
  * Not exported from the public API. It is reached through the deprecated
10
10
  * `CommentRepository.flagComment(commentId, reason)` overload; see `flagComment.ts`.
11
11
  *
12
- * Not itself deprecated: it implements the deprecated legacy-string overload of the public
13
- * `flagComment`, which carries the deprecation tag. New code should use `flagCommentWithOptions`
14
- * (the `{ reason, detail? }` contract). This path stays available throughout the current major version.
12
+ * @deprecated Use `flagCommentWithOptions` (the `{ reason, detail? }` contract) for new code.
13
+ * This path stays available throughout the current major version.
15
14
  */
16
15
  export declare const flagCommentWithReasonString: (commentId: Amity.Comment['commentId'], reason?: Amity.ContentFlagReason) => Promise<boolean>;
17
16
  //# sourceMappingURL=flagCommentWithReasonString.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"flagCommentWithReasonString.d.ts","sourceRoot":"","sources":["../../../src/commentRepository/api/flagCommentWithReasonString.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,2BAA2B,cAC3B,aAAa,CAAC,WAAW,CAAC,WAC5B,MAAM,iBAAiB,KAC/B,QAAQ,OAAO,CA2BjB,CAAC"}
1
+ {"version":3,"file":"flagCommentWithReasonString.d.ts","sourceRoot":"","sources":["../../../src/commentRepository/api/flagCommentWithReasonString.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,2BAA2B,cAC3B,aAAa,CAAC,WAAW,CAAC,WAC5B,MAAM,iBAAiB,KAC/B,QAAQ,OAAO,CA2BjB,CAAC"}
package/dist/index.cjs.js CHANGED
@@ -20410,9 +20410,8 @@ const flagMessageWithOptions = async (messageId, options) => {
20410
20410
  * Not exported from the public API. It is reached through the deprecated
20411
20411
  * `MessageRepository.flagMessage(messageId, reason)` overload; see `flagMessage.ts`.
20412
20412
  *
20413
- * Not itself deprecated: it implements the deprecated legacy-string overload of the public
20414
- * `flagMessage`, which carries the deprecation tag. New code should use `flagMessageWithOptions`
20415
- * (the `{ reason, detail? }` contract). This path stays available throughout the current major version.
20413
+ * @deprecated Use `flagMessageWithOptions` (the `{ reason, detail? }` contract) for new code.
20414
+ * This path stays available throughout the current major version.
20416
20415
  */
20417
20416
  const flagMessageWithReasonString = async (messageId, reason) => {
20418
20417
  const client = getActiveClient();
@@ -27623,9 +27622,8 @@ const declineComment = async (commentId, reason) => {
27623
27622
  * Not exported from the public API. It is reached through the deprecated
27624
27623
  * `CommentRepository.flagComment(commentId, reason)` overload; see `flagComment.ts`.
27625
27624
  *
27626
- * Not itself deprecated: it implements the deprecated legacy-string overload of the public
27627
- * `flagComment`, which carries the deprecation tag. New code should use `flagCommentWithOptions`
27628
- * (the `{ reason, detail? }` contract). This path stays available throughout the current major version.
27625
+ * @deprecated Use `flagCommentWithOptions` (the `{ reason, detail? }` contract) for new code.
27626
+ * This path stays available throughout the current major version.
27629
27627
  */
27630
27628
  const flagCommentWithReasonString = async (commentId, reason) => {
27631
27629
  const client = getActiveClient();
@@ -30093,9 +30091,8 @@ const flagPostWithOptions = async (postId, options) => {
30093
30091
  * Not exported from the public API. It is reached through the deprecated
30094
30092
  * `PostRepository.flagPost(postId, reason)` overload; see `flagPost.ts`.
30095
30093
  *
30096
- * Not itself deprecated: it implements the deprecated legacy-string overload of the public
30097
- * `flagPost`, which carries the deprecation tag. New code should use `flagPostWithOptions`
30098
- * (the `{ reason, detail? }` contract). This path stays available throughout the current major version.
30094
+ * @deprecated Use `flagPostWithOptions` (the `{ reason, detail? }` contract) for new code.
30095
+ * This path stays available throughout the current major version.
30099
30096
  */
30100
30097
  const flagPostWithReasonString = async (postId, reason) => {
30101
30098
  const client = getActiveClient();
package/dist/index.esm.js CHANGED
@@ -20410,9 +20410,8 @@ const flagMessageWithOptions = async (messageId, options) => {
20410
20410
  * Not exported from the public API. It is reached through the deprecated
20411
20411
  * `MessageRepository.flagMessage(messageId, reason)` overload; see `flagMessage.ts`.
20412
20412
  *
20413
- * Not itself deprecated: it implements the deprecated legacy-string overload of the public
20414
- * `flagMessage`, which carries the deprecation tag. New code should use `flagMessageWithOptions`
20415
- * (the `{ reason, detail? }` contract). This path stays available throughout the current major version.
20413
+ * @deprecated Use `flagMessageWithOptions` (the `{ reason, detail? }` contract) for new code.
20414
+ * This path stays available throughout the current major version.
20416
20415
  */
20417
20416
  const flagMessageWithReasonString = async (messageId, reason) => {
20418
20417
  const client = getActiveClient();
@@ -27623,9 +27622,8 @@ const declineComment = async (commentId, reason) => {
27623
27622
  * Not exported from the public API. It is reached through the deprecated
27624
27623
  * `CommentRepository.flagComment(commentId, reason)` overload; see `flagComment.ts`.
27625
27624
  *
27626
- * Not itself deprecated: it implements the deprecated legacy-string overload of the public
27627
- * `flagComment`, which carries the deprecation tag. New code should use `flagCommentWithOptions`
27628
- * (the `{ reason, detail? }` contract). This path stays available throughout the current major version.
27625
+ * @deprecated Use `flagCommentWithOptions` (the `{ reason, detail? }` contract) for new code.
27626
+ * This path stays available throughout the current major version.
27629
27627
  */
27630
27628
  const flagCommentWithReasonString = async (commentId, reason) => {
27631
27629
  const client = getActiveClient();
@@ -30093,9 +30091,8 @@ const flagPostWithOptions = async (postId, options) => {
30093
30091
  * Not exported from the public API. It is reached through the deprecated
30094
30092
  * `PostRepository.flagPost(postId, reason)` overload; see `flagPost.ts`.
30095
30093
  *
30096
- * Not itself deprecated: it implements the deprecated legacy-string overload of the public
30097
- * `flagPost`, which carries the deprecation tag. New code should use `flagPostWithOptions`
30098
- * (the `{ reason, detail? }` contract). This path stays available throughout the current major version.
30094
+ * @deprecated Use `flagPostWithOptions` (the `{ reason, detail? }` contract) for new code.
30095
+ * This path stays available throughout the current major version.
30099
30096
  */
30100
30097
  const flagPostWithReasonString = async (postId, reason) => {
30101
30098
  const client = getActiveClient();
@@ -10,9 +10,8 @@
10
10
  * Not exported from the public API. It is reached through the deprecated
11
11
  * `MessageRepository.flagMessage(messageId, reason)` overload; see `flagMessage.ts`.
12
12
  *
13
- * Not itself deprecated: it implements the deprecated legacy-string overload of the public
14
- * `flagMessage`, which carries the deprecation tag. New code should use `flagMessageWithOptions`
15
- * (the `{ reason, detail? }` contract). This path stays available throughout the current major version.
13
+ * @deprecated Use `flagMessageWithOptions` (the `{ reason, detail? }` contract) for new code.
14
+ * This path stays available throughout the current major version.
16
15
  */
17
16
  export declare const flagMessageWithReasonString: (messageId: Amity.Message['messageId'], reason?: Amity.ContentFlagReason) => Promise<boolean>;
18
17
  //# sourceMappingURL=flagMessageWithReasonString.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"flagMessageWithReasonString.d.ts","sourceRoot":"","sources":["../../../src/messageRepository/api/flagMessageWithReasonString.ts"],"names":[],"mappings":"AAMA;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,2BAA2B,cAC3B,MAAM,OAAO,CAAC,WAAW,CAAC,WAC5B,MAAM,iBAAiB,KAC/B,QAAQ,OAAO,CA4BjB,CAAC"}
1
+ {"version":3,"file":"flagMessageWithReasonString.d.ts","sourceRoot":"","sources":["../../../src/messageRepository/api/flagMessageWithReasonString.ts"],"names":[],"mappings":"AAMA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,2BAA2B,cAC3B,MAAM,OAAO,CAAC,WAAW,CAAC,WAC5B,MAAM,iBAAiB,KAC/B,QAAQ,OAAO,CA4BjB,CAAC"}
@@ -9,9 +9,8 @@
9
9
  * Not exported from the public API. It is reached through the deprecated
10
10
  * `PostRepository.flagPost(postId, reason)` overload; see `flagPost.ts`.
11
11
  *
12
- * Not itself deprecated: it implements the deprecated legacy-string overload of the public
13
- * `flagPost`, which carries the deprecation tag. New code should use `flagPostWithOptions`
14
- * (the `{ reason, detail? }` contract). This path stays available throughout the current major version.
12
+ * @deprecated Use `flagPostWithOptions` (the `{ reason, detail? }` contract) for new code.
13
+ * This path stays available throughout the current major version.
15
14
  */
16
15
  export declare const flagPostWithReasonString: (postId: Amity.Post['postId'], reason?: Amity.ContentFlagReason) => Promise<boolean>;
17
16
  //# sourceMappingURL=flagPostWithReasonString.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"flagPostWithReasonString.d.ts","sourceRoot":"","sources":["../../../src/postRepository/api/flagPostWithReasonString.ts"],"names":[],"mappings":"AAMA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,wBAAwB,WAC3B,MAAM,IAAI,CAAC,QAAQ,CAAC,WACnB,MAAM,iBAAiB,KAC/B,QAAQ,OAAO,CA2BjB,CAAC"}
1
+ {"version":3,"file":"flagPostWithReasonString.d.ts","sourceRoot":"","sources":["../../../src/postRepository/api/flagPostWithReasonString.ts"],"names":[],"mappings":"AAMA;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,wBAAwB,WAC3B,MAAM,IAAI,CAAC,QAAQ,CAAC,WACnB,MAAM,iBAAiB,KAC/B,QAAQ,OAAO,CA2BjB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amityco/ts-sdk",
3
- "version": "7.27.2-a5056412.0",
3
+ "version": "7.27.2-d978f145.0",
4
4
  "license": "CC-BY-ND-4.0",
5
5
  "author": "amity.co <developers@amity.co> (https://amity.co)",
6
6
  "description": "Amity Social Cloud Typescript SDK",