glitch-javascript-sdk 2.3.7 → 2.3.8
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/cjs/index.js +11 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/api/SocialPosts.d.ts +8 -0
- package/dist/esm/index.js +11 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +8 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3628,6 +3628,14 @@ declare class SocialPosts {
|
|
|
3628
3628
|
* @returns promise
|
|
3629
3629
|
*/
|
|
3630
3630
|
static performAction<T>(post_id: string, action: 'like' | 'unlike' | 'repost' | 'unrepost' | 'vote_up' | 'vote_down' | 'unvote'): AxiosPromise<Response<T>>;
|
|
3631
|
+
/**
|
|
3632
|
+
* Perform a social action (Like, Repost, Vote) on a comment.
|
|
3633
|
+
*
|
|
3634
|
+
* @param comment_id The ID of the comment.
|
|
3635
|
+
* @param action The action to perform.
|
|
3636
|
+
* @returns promise
|
|
3637
|
+
*/
|
|
3638
|
+
static performCommentAction<T>(comment_id: string, action: 'like' | 'unlike' | 'repost' | 'unrepost' | 'vote_up' | 'vote_down' | 'unvote'): AxiosPromise<Response<T>>;
|
|
3631
3639
|
}
|
|
3632
3640
|
|
|
3633
3641
|
declare class Titles {
|