mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
26 lines
532 B
JavaScript
26 lines
532 B
JavaScript
import gql from 'graphql-tag'
|
|
|
|
export const listContributionMessages = gql`
|
|
query ($contributionId: Int!, $pageSize: Int = 25, $currentPage: Int = 1, $order: Order = ASC) {
|
|
listContributionMessages(
|
|
contributionId: $contributionId
|
|
pageSize: $pageSize
|
|
currentPage: $currentPage
|
|
order: $order
|
|
) {
|
|
count
|
|
messages {
|
|
id
|
|
message
|
|
createdAt
|
|
updatedAt
|
|
type
|
|
userFirstName
|
|
userLastName
|
|
userId
|
|
isModerator
|
|
}
|
|
}
|
|
}
|
|
`
|