@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.
- package/dist/commentRepository/api/flagCommentWithReasonString.d.ts +2 -3
- package/dist/commentRepository/api/flagCommentWithReasonString.d.ts.map +1 -1
- package/dist/index.cjs.js +6 -9
- package/dist/index.esm.js +6 -9
- package/dist/messageRepository/api/flagMessageWithReasonString.d.ts +2 -3
- package/dist/messageRepository/api/flagMessageWithReasonString.d.ts.map +1 -1
- package/dist/postRepository/api/flagPostWithReasonString.d.ts +2 -3
- package/dist/postRepository/api/flagPostWithReasonString.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -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
|
-
*
|
|
13
|
-
*
|
|
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
|
|
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
|
-
*
|
|
20414
|
-
*
|
|
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
|
-
*
|
|
27627
|
-
*
|
|
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
|
-
*
|
|
30097
|
-
*
|
|
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
|
-
*
|
|
20414
|
-
*
|
|
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
|
-
*
|
|
27627
|
-
*
|
|
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
|
-
*
|
|
30097
|
-
*
|
|
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
|
-
*
|
|
14
|
-
*
|
|
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
|
|
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
|
-
*
|
|
13
|
-
*
|
|
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
|
|
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