GraphQL and MUI license updates

This commit is contained in:
Darren Clarke 2023-07-17 12:23:12 +00:00 committed by GitHub
parent 90143e5e41
commit 21db95a8e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 811 additions and 207 deletions

View file

@ -0,0 +1,21 @@
import { gql } from 'graphql-request';
export const getTicketArticlesQuery = gql`
query getTicketArticles($ticketId: ID!) {
ticketArticles(ticket: { ticketId: $ticketId }) {
edges {
node {
id
body
internal
type {
name
}
sender {
name
}
}
}
}
}
`;

View file

@ -20,20 +20,13 @@ query getTicket($ticketId: ID!) {
id
email
}
articles {
edges {
node {
id
body
internal
type {
name
}
sender {
name
}
}
}
group {
id
name
}
priority {
id
name
}
}
}