gql-updates
This commit is contained in:
parent
46810edaae
commit
6dcc4f37d3
|
@ -8,9 +8,9 @@ export default gql`
|
|||
id
|
||||
body
|
||||
author
|
||||
createdAt
|
||||
replyTo
|
||||
updatedAt
|
||||
created_at
|
||||
reply_to
|
||||
updated_at
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
9
src/graphql/mutation/mark-as-read.ts
Normal file
9
src/graphql/mutation/mark-as-read.ts
Normal file
|
@ -0,0 +1,9 @@
|
|||
import { gql } from '@urql/core'
|
||||
|
||||
export default gql`
|
||||
mutation MarkAsReadMutation($message_id: Int!, $chat_id: String!) {
|
||||
markAsRead(message_id: $message_id, chat_id: $chat_id) {
|
||||
error
|
||||
}
|
||||
}
|
||||
`
|
|
@ -8,9 +8,9 @@ export default gql`
|
|||
author
|
||||
body
|
||||
replyTo
|
||||
createdAt
|
||||
created_at
|
||||
id
|
||||
updatedAt
|
||||
updated_at
|
||||
replyTo
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user