link-stack/apps/link/app/_graphql/getTicketArticlesQuery.ts
2023-11-22 11:11:28 +01:00

26 lines
437 B
TypeScript

import { gql } from 'graphql-request';
export const getTicketArticlesQuery = gql`
query getTicketArticles($ticketId: ID!) {
ticketArticles(ticket: { ticketId: $ticketId }) {
edges {
node {
id
bodyWithUrls
internal
type {
name
}
sender {
name
}
from {
parsed {
emailAddress
}
}
}
}
}
}
`;