saleor-dashboard/src/custom-apps/queries.ts
2023-02-21 12:38:28 +01:00

28 lines
638 B
TypeScript

import { gql } from "@apollo/client";
export const webhooksDetails = gql`
query WebhookDetails($id: ID!) {
webhook(id: $id) {
...WebhookDetails
}
}
`;
// TODO As of Feb 15, 2023 GraphQL Codegen is unable to
// handle the introspection queries i.e. queries with the
// `__schema`. Thus, the following query is defined in
// `./utils.ts` as-is, without codegen handling it
// export const introspectionQueryList = gql`
// query IntrospectionQueryList {
// __schema {
// queryType {
// name
// fields {
// name
// description
// }
// }
// }
// }
// `;