0.0.36 • Published 5 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
5 years ago
0.0.31
5 years ago
0.0.32
5 years ago
0.0.33
5 years ago
0.0.34
5 years ago
0.0.35
5 years ago
0.0.36
5 years ago
0.0.29
5 years ago
0.0.27
5 years ago
0.0.25
5 years ago
0.0.26
5 years ago
0.0.18
5 years ago
0.0.17
5 years ago
0.0.12
5 years ago
0.0.16
5 years ago
0.0.8
5 years ago
0.0.2
5 years ago
0.0.1
5 years ago