graphql.ts 408 B

123456789101112131415
  1. import type { introspection } from './graphql-env.d.ts';
  2. import { initGraphQLTada } from 'gql.tada';
  3. export const graphql = initGraphQLTada<{
  4. disableMasking: true;
  5. introspection: introspection;
  6. scalars: {
  7. DateTime: string;
  8. JSON: any;
  9. Money: number;
  10. };
  11. }>();
  12. export type { FragmentOf, ResultOf, VariablesOf } from 'gql.tada';
  13. export { readFragment } from 'gql.tada';