@permaweb/libs 0.0.59 → 0.0.60
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/index.cjs +13 -13
- package/dist/index.esm.js +30 -30
- package/dist/index.js +13 -13
- package/dist/types/index.d.ts +17 -1
- package/dist/types/services/comments.d.ts +17 -1
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -56,7 +56,23 @@ declare function init(deps: Helpers.DependencyType): {
|
|
|
56
56
|
removeComment: (args: {
|
|
57
57
|
commentsId: string;
|
|
58
58
|
commentId: string;
|
|
59
|
-
|
|
59
|
+
}) => Promise<string>;
|
|
60
|
+
updateCommentContent: (args: {
|
|
61
|
+
commentsId: string;
|
|
62
|
+
commentId: string;
|
|
63
|
+
content: string;
|
|
64
|
+
}) => Promise<string>;
|
|
65
|
+
userRemoveComment: (args: {
|
|
66
|
+
commentsId: string;
|
|
67
|
+
commentId: string;
|
|
68
|
+
}) => Promise<string>;
|
|
69
|
+
pinComment: (args: {
|
|
70
|
+
commentsId: string;
|
|
71
|
+
commentId: string;
|
|
72
|
+
}) => Promise<string>;
|
|
73
|
+
unpinComment: (args: {
|
|
74
|
+
commentsId: string;
|
|
75
|
+
commentId: string;
|
|
60
76
|
}) => Promise<string>;
|
|
61
77
|
createCollection: (args: {
|
|
62
78
|
title: string;
|
|
@@ -8,8 +8,24 @@ export declare function updateCommentStatusWith(deps: DependencyType): (args: {
|
|
|
8
8
|
commentId: string;
|
|
9
9
|
status: "active" | "inactive";
|
|
10
10
|
}) => Promise<string>;
|
|
11
|
+
export declare function updateCommentContentWith(deps: DependencyType): (args: {
|
|
12
|
+
commentsId: string;
|
|
13
|
+
commentId: string;
|
|
14
|
+
content: string;
|
|
15
|
+
}) => Promise<string>;
|
|
11
16
|
export declare function removeCommentWith(deps: DependencyType): (args: {
|
|
12
17
|
commentsId: string;
|
|
13
18
|
commentId: string;
|
|
14
|
-
|
|
19
|
+
}) => Promise<string>;
|
|
20
|
+
export declare function removeUserCommentWith(deps: DependencyType): (args: {
|
|
21
|
+
commentsId: string;
|
|
22
|
+
commentId: string;
|
|
23
|
+
}) => Promise<string>;
|
|
24
|
+
export declare function pinCommentWith(deps: DependencyType): (args: {
|
|
25
|
+
commentsId: string;
|
|
26
|
+
commentId: string;
|
|
27
|
+
}) => Promise<string>;
|
|
28
|
+
export declare function unpinCommentWith(deps: DependencyType): (args: {
|
|
29
|
+
commentsId: string;
|
|
30
|
+
commentId: string;
|
|
15
31
|
}) => Promise<string>;
|