wamygraphql 0.1.0 → 0.2.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/mutation/comment.graphql +12 -0
- package/mutation/message.graphql +17 -0
- package/package.json +4 -1
- package/query/message.graphql +1 -0
package/mutation/comment.graphql
CHANGED
|
@@ -6,3 +6,15 @@ mutation mutCreateComment($input: CreateCommentInput!) {
|
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
+
|
|
10
|
+
mutation mutDeleteComment($id: UUID!) {
|
|
11
|
+
mutDeleteComment(id: $id)
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
mutation mutEditComment($id: UUID!, $content: String!) {
|
|
15
|
+
mutEditComment(id: $id, content: $content) {
|
|
16
|
+
id
|
|
17
|
+
content
|
|
18
|
+
hasMore
|
|
19
|
+
}
|
|
20
|
+
}
|
package/mutation/message.graphql
CHANGED
|
@@ -6,9 +6,26 @@ mutation mutSendMessage($peerID: UUID!, $content: String!) {
|
|
|
6
6
|
...FragPidLinkResp
|
|
7
7
|
}
|
|
8
8
|
createdAt
|
|
9
|
+
isEdited
|
|
9
10
|
}
|
|
10
11
|
}
|
|
11
12
|
|
|
12
13
|
mutation mutMarkMessagePeerAsRead($peerID: UUID!) {
|
|
13
14
|
mutMarkMessagePeerAsRead(peerID: $peerID)
|
|
14
15
|
}
|
|
16
|
+
|
|
17
|
+
mutation mutDeleteMessage($peerID: UUID!, $createdAt: Time!) {
|
|
18
|
+
mutDeleteMessage(peerID: $peerID, createdAt: $createdAt)
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
mutation mutEditMessage($peerID: UUID!, $createdAt: Time!, $content: String!) {
|
|
22
|
+
mutEditMessage(peerID: $peerID, createdAt: $createdAt, content: $content) {
|
|
23
|
+
isFromMe
|
|
24
|
+
content
|
|
25
|
+
pidLinks {
|
|
26
|
+
...FragPidLinkResp
|
|
27
|
+
}
|
|
28
|
+
createdAt
|
|
29
|
+
isEdited
|
|
30
|
+
}
|
|
31
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wamygraphql",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Shared GraphQL operations (queries, mutations, fragments) for pmain, consumed by wamy and wamymobile codegen",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"deploy": "npm publish"
|
|
7
|
+
},
|
|
5
8
|
"files": [
|
|
6
9
|
"query",
|
|
7
10
|
"mutation",
|