0.0.36 • Published 3 years ago
@cuser/express-middleware-graphql v0.0.36
@cuser/express-middleware-graphql
Status
mutation {
publishMessage(input: {
topicId: "RANDOM_TOPIC_CID",
content: {
data: "Message content"
},
user: {
peerId: "RANDOM_PEER_ID",
username: "exampleuser",
avatar: "https://www.w3schools.com/howto/img_avatar.png"
}
}) {
messageId
}
}
mutation {
updateMessage(input: {
topicId: "RANDOM_TOPIC_CID",
messageId: "message_id",
content: {
data: "Message content"
},
user: {
peerId: "RANDOM_PEER_ID",
username: "exampleuser",
avatar: "https://www.w3schools.com/howto/img_avatar.png"
}
}) {
messageId
}
}
mutation {
deleteMessage(input: {
topicId: "RANDOM_TOPIC_CID",
messageId: "message_id",
user: {
peerId: "RANDOM_PEER_ID",
username: "exampleuser",
avatar: "https://www.w3schools.com/howto/img_avatar.png"
}
})
}
References
0.0.30
3 years ago
0.0.31
3 years ago
0.0.32
3 years ago
0.0.33
3 years ago
0.0.34
3 years ago
0.0.35
3 years ago
0.0.36
3 years ago
0.0.29
3 years ago
0.0.27
3 years ago
0.0.25
3 years ago
0.0.26
3 years ago
0.0.18
3 years ago
0.0.17
3 years ago
0.0.12
3 years ago
0.0.16
3 years ago
0.0.8
3 years ago
0.0.2
3 years ago
0.0.1
3 years ago