link-stack/apps/link/app/_graphql/getTicketArticlesQuery.ts
2023-07-17 12:23:12 +00:00

21 lines
348 B
TypeScript

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
}
}
}
}
}
`;