link-stack/apps/link/app/_graphql/getTicketArticlesQuery.ts

22 lines
348 B
TypeScript
Raw Normal View History

2023-07-17 12:23:12 +00:00
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
}
}
}
}
}
`;