├── .all-contributorsrc ├── .editorconfig ├── .env.sample ├── .eslintignore ├── .eslintrc.js ├── .github ├── ISSUE_TEMPLATE.md ├── ISSUE_TEMPLATE │ ├── Bug_Report.md │ └── Feature_Request.md ├── PULL_REQUEST_TEMPLATE.md ├── dependabot.yml └── workflows │ ├── acceptance-tests.yml │ ├── check-linked-issues.yml │ ├── ci.yml │ ├── create-react-app-server.yml │ ├── notify-release.yml │ └── stale.yml ├── .gitignore ├── .husky ├── commit-msg └── pre-commit ├── .netlify └── functions │ └── deploy-succeeded.js ├── .npmrc ├── .nvmrc ├── .prettierignore ├── .prettierrc ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── RELEASE_PROCESS.md ├── babel.config.js ├── commitlint.config.js ├── config ├── rollup.config.js └── tsconfig.base.json ├── cypress.config.ts ├── cypress ├── e2e │ ├── create-react-app.cy.ts │ └── persisted-queries.cy.ts ├── support │ ├── commands.js │ └── e2e.js └── tsconfig.json ├── examples ├── create-react-app │ ├── .env │ ├── CHANGELOG.md │ ├── Dockerfile │ ├── README.md │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ ├── index.html │ │ └── manifest.json │ ├── server │ │ └── db.cjs │ ├── src │ │ ├── App.js │ │ ├── components │ │ │ ├── CreatePost.js │ │ │ ├── CreatePostForm.js │ │ │ ├── ErrorBoundary.js │ │ │ ├── Posts.js │ │ │ └── PostsWithErrorBoundary.js │ │ ├── index.css │ │ └── index.js │ └── test │ │ ├── CreatePost.test.tsx │ │ ├── Posts.test.tsx │ │ ├── setup.js │ │ └── test-utils.tsx ├── fastify-ssr │ ├── CHANGELOG.md │ ├── README.md │ ├── package.json │ ├── src │ │ ├── app │ │ │ ├── AppShell.js │ │ │ ├── components │ │ │ │ └── Hello.js │ │ │ └── pages │ │ │ │ ├── HomePage.js │ │ │ │ ├── NotFoundPage.js │ │ │ │ └── PaginationPage.js │ │ ├── client │ │ │ └── js │ │ │ │ └── app-shell.js │ │ ├── index.js │ │ └── server │ │ │ ├── graphql │ │ │ ├── index.js │ │ │ ├── resolvers.js │ │ │ └── schema.js │ │ │ ├── handlers │ │ │ └── app-shell.js │ │ │ ├── helpers │ │ │ └── manifest.js │ │ │ └── index.js │ └── webpack.config.js ├── full-ws-transport │ ├── CHANGELOG.md │ ├── README.md │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ └── index.html │ ├── server │ │ ├── index.js │ │ └── package.json │ └── src │ │ ├── App.js │ │ ├── index.css │ │ └── index.js ├── persisted-queries │ ├── README.md │ ├── client │ │ ├── CHANGELOG.md │ │ ├── README.md │ │ ├── package.json │ │ ├── public │ │ │ ├── favicon.ico │ │ │ ├── index.html │ │ │ └── manifest.json │ │ ├── src │ │ │ ├── App.tsx │ │ │ ├── index.css │ │ │ ├── index.tsx │ │ │ └── react-app-env.d.ts │ │ └── tsconfig.json │ └── server │ │ ├── CHANGELOG.md │ │ ├── apollo.ts │ │ ├── mercurius.ts │ │ ├── package-lock.json │ │ ├── package.json │ │ └── tsconfig.json ├── subscription │ ├── .gitignore │ ├── CHANGELOG.md │ ├── README.md │ ├── package.json │ ├── src │ │ ├── client │ │ │ ├── App.js │ │ │ └── index.js │ │ └── server │ │ │ ├── index.html │ │ │ └── index.js │ └── webpack.config.js └── typescript │ ├── .env │ ├── CHANGELOG.md │ ├── README.md │ ├── codegen.ts │ ├── package.json │ ├── public │ ├── favicon.ico │ ├── index.html │ └── manifest.json │ ├── src │ ├── App.tsx │ ├── gql │ │ ├── fragment-masking.ts │ │ ├── gql.ts │ │ ├── graphql.ts │ │ └── index.ts │ ├── index.css │ ├── index.tsx │ └── react-app-env.d.ts │ └── tsconfig.json ├── jest.config.js ├── lerna.json ├── package.json └── packages ├── babel-plugin-extract-gql ├── .babelrc ├── .gitignore ├── CHANGELOG.md ├── README.md ├── examples │ ├── mercurius │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ └── proj-a │ │ ├── README.md │ │ └── src │ │ ├── App.js │ │ ├── components │ │ └── MyComp │ │ │ ├── MyComp.js │ │ │ └── index.js │ │ └── index.js ├── package.json ├── src │ └── index.js └── test │ └── unit │ ├── fixtures │ ├── actual │ │ ├── .4.js │ │ ├── 1.js │ │ ├── 2.js │ │ └── 3.js │ └── expected │ │ ├── 1.js │ │ ├── 2.js │ │ ├── 3.js │ │ └── 4.js │ └── index.js ├── graphql-hooks-memcache ├── CHANGELOG.md ├── README.md ├── babel.config.js ├── index.d.ts ├── package.json ├── rollup.config.js ├── src │ ├── fnv1a.js │ └── index.js └── test │ ├── fnv1a.test.ts │ └── index.test.ts ├── graphql-hooks-ssr ├── CHANGELOG.md ├── README.md ├── index.d.ts ├── index.js ├── index.test.tsx └── package.json └── graphql-hooks ├── CHANGELOG.md ├── package.json ├── rollup.config.js ├── src ├── .babelrc.js ├── ClientContext.ts ├── GraphQLClient.ts ├── LocalGraphQLClient.ts ├── LocalGraphQLError.ts ├── Middleware.js ├── canUseDOM.js ├── createRefetchMutationsMap.ts ├── events.ts ├── index.ts ├── isExtractableFileEnhanced.ts ├── middlewares │ ├── README.md │ ├── apqMiddleware.ts │ └── examples │ │ ├── cacheMiddleware.ts │ │ └── debugMiddleware.ts ├── types │ ├── common-types.ts │ └── typedDocumentNode.ts ├── useClientRequest.ts ├── useDeepCompareCallback.ts ├── useManualQuery.ts ├── useMutation.ts ├── useQuery.ts ├── useQueryClient.ts ├── useSubscription.ts └── utils.ts ├── test-jsdom ├── integration │ ├── GraphQLClient.test.ts │ ├── useManualQuery.test.tsx │ └── useQuery.test.tsx ├── setup.js ├── unit │ ├── GraphQLClient.test.ts │ ├── LocalGraphQLClient.test.tsx │ ├── Middleware.test.ts │ ├── apqMiddleware.test.ts │ ├── createRefetchMutationsMap.test.ts │ ├── useClientRequest.test.tsx │ ├── useDeepCompareCallback.test.ts │ ├── useManualQuery.test.ts │ ├── useMutation.test.tsx │ ├── useQuery.test.tsx │ ├── useQueryClient.test.tsx │ ├── useSubscription.test.tsx │ └── utils.test.ts └── utils.ts ├── test-node ├── GraphQLClient.test.ts ├── sample.txt └── utils.test.ts └── tsconfig.json /.all-contributorsrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/.all-contributorsrc -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/.editorconfig -------------------------------------------------------------------------------- /.env.sample: -------------------------------------------------------------------------------- 1 | // used when publishing to create a GitHub release 2 | GH_TOKEN= 3 | -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/.github/ISSUE_TEMPLATE.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/Bug_Report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/.github/ISSUE_TEMPLATE/Bug_Report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/Feature_Request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/.github/ISSUE_TEMPLATE/Feature_Request.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/acceptance-tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/.github/workflows/acceptance-tests.yml -------------------------------------------------------------------------------- /.github/workflows/check-linked-issues.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/.github/workflows/check-linked-issues.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/create-react-app-server.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/.github/workflows/create-react-app-server.yml -------------------------------------------------------------------------------- /.github/workflows/notify-release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/.github/workflows/notify-release.yml -------------------------------------------------------------------------------- /.github/workflows/stale.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/.github/workflows/stale.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- 1 | npx --no-install commitlint --edit $1 2 | -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | npx --no-install lint-staged 2 | -------------------------------------------------------------------------------- /.netlify/functions/deploy-succeeded.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/.netlify/functions/deploy-succeeded.js -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | package-lock=false 2 | -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | lts/* 2 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | es 4 | lib 5 | build 6 | CHANGELOG.md 7 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/.prettierrc -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/README.md -------------------------------------------------------------------------------- /RELEASE_PROCESS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/RELEASE_PROCESS.md -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/babel.config.js -------------------------------------------------------------------------------- /commitlint.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { extends: ['@commitlint/config-conventional'] } 2 | -------------------------------------------------------------------------------- /config/rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/config/rollup.config.js -------------------------------------------------------------------------------- /config/tsconfig.base.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/config/tsconfig.base.json -------------------------------------------------------------------------------- /cypress.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/cypress.config.ts -------------------------------------------------------------------------------- /cypress/e2e/create-react-app.cy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/cypress/e2e/create-react-app.cy.ts -------------------------------------------------------------------------------- /cypress/e2e/persisted-queries.cy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/cypress/e2e/persisted-queries.cy.ts -------------------------------------------------------------------------------- /cypress/support/commands.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/cypress/support/commands.js -------------------------------------------------------------------------------- /cypress/support/e2e.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/cypress/support/e2e.js -------------------------------------------------------------------------------- /cypress/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/cypress/tsconfig.json -------------------------------------------------------------------------------- /examples/create-react-app/.env: -------------------------------------------------------------------------------- 1 | SKIP_PREFLIGHT_CHECK=true 2 | -------------------------------------------------------------------------------- /examples/create-react-app/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/create-react-app/CHANGELOG.md -------------------------------------------------------------------------------- /examples/create-react-app/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/create-react-app/Dockerfile -------------------------------------------------------------------------------- /examples/create-react-app/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/create-react-app/README.md -------------------------------------------------------------------------------- /examples/create-react-app/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/create-react-app/package.json -------------------------------------------------------------------------------- /examples/create-react-app/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/create-react-app/public/favicon.ico -------------------------------------------------------------------------------- /examples/create-react-app/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/create-react-app/public/index.html -------------------------------------------------------------------------------- /examples/create-react-app/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/create-react-app/public/manifest.json -------------------------------------------------------------------------------- /examples/create-react-app/server/db.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/create-react-app/server/db.cjs -------------------------------------------------------------------------------- /examples/create-react-app/src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/create-react-app/src/App.js -------------------------------------------------------------------------------- /examples/create-react-app/src/components/CreatePost.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/create-react-app/src/components/CreatePost.js -------------------------------------------------------------------------------- /examples/create-react-app/src/components/CreatePostForm.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/create-react-app/src/components/CreatePostForm.js -------------------------------------------------------------------------------- /examples/create-react-app/src/components/ErrorBoundary.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/create-react-app/src/components/ErrorBoundary.js -------------------------------------------------------------------------------- /examples/create-react-app/src/components/Posts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/create-react-app/src/components/Posts.js -------------------------------------------------------------------------------- /examples/create-react-app/src/components/PostsWithErrorBoundary.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/create-react-app/src/components/PostsWithErrorBoundary.js -------------------------------------------------------------------------------- /examples/create-react-app/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/create-react-app/src/index.css -------------------------------------------------------------------------------- /examples/create-react-app/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/create-react-app/src/index.js -------------------------------------------------------------------------------- /examples/create-react-app/test/CreatePost.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/create-react-app/test/CreatePost.test.tsx -------------------------------------------------------------------------------- /examples/create-react-app/test/Posts.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/create-react-app/test/Posts.test.tsx -------------------------------------------------------------------------------- /examples/create-react-app/test/setup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/create-react-app/test/setup.js -------------------------------------------------------------------------------- /examples/create-react-app/test/test-utils.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/create-react-app/test/test-utils.tsx -------------------------------------------------------------------------------- /examples/fastify-ssr/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/fastify-ssr/CHANGELOG.md -------------------------------------------------------------------------------- /examples/fastify-ssr/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/fastify-ssr/README.md -------------------------------------------------------------------------------- /examples/fastify-ssr/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/fastify-ssr/package.json -------------------------------------------------------------------------------- /examples/fastify-ssr/src/app/AppShell.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/fastify-ssr/src/app/AppShell.js -------------------------------------------------------------------------------- /examples/fastify-ssr/src/app/components/Hello.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/fastify-ssr/src/app/components/Hello.js -------------------------------------------------------------------------------- /examples/fastify-ssr/src/app/pages/HomePage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/fastify-ssr/src/app/pages/HomePage.js -------------------------------------------------------------------------------- /examples/fastify-ssr/src/app/pages/NotFoundPage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/fastify-ssr/src/app/pages/NotFoundPage.js -------------------------------------------------------------------------------- /examples/fastify-ssr/src/app/pages/PaginationPage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/fastify-ssr/src/app/pages/PaginationPage.js -------------------------------------------------------------------------------- /examples/fastify-ssr/src/client/js/app-shell.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/fastify-ssr/src/client/js/app-shell.js -------------------------------------------------------------------------------- /examples/fastify-ssr/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/fastify-ssr/src/index.js -------------------------------------------------------------------------------- /examples/fastify-ssr/src/server/graphql/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/fastify-ssr/src/server/graphql/index.js -------------------------------------------------------------------------------- /examples/fastify-ssr/src/server/graphql/resolvers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/fastify-ssr/src/server/graphql/resolvers.js -------------------------------------------------------------------------------- /examples/fastify-ssr/src/server/graphql/schema.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/fastify-ssr/src/server/graphql/schema.js -------------------------------------------------------------------------------- /examples/fastify-ssr/src/server/handlers/app-shell.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/fastify-ssr/src/server/handlers/app-shell.js -------------------------------------------------------------------------------- /examples/fastify-ssr/src/server/helpers/manifest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/fastify-ssr/src/server/helpers/manifest.js -------------------------------------------------------------------------------- /examples/fastify-ssr/src/server/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/fastify-ssr/src/server/index.js -------------------------------------------------------------------------------- /examples/fastify-ssr/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/fastify-ssr/webpack.config.js -------------------------------------------------------------------------------- /examples/full-ws-transport/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/full-ws-transport/CHANGELOG.md -------------------------------------------------------------------------------- /examples/full-ws-transport/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/full-ws-transport/README.md -------------------------------------------------------------------------------- /examples/full-ws-transport/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/full-ws-transport/package.json -------------------------------------------------------------------------------- /examples/full-ws-transport/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/full-ws-transport/public/favicon.ico -------------------------------------------------------------------------------- /examples/full-ws-transport/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/full-ws-transport/public/index.html -------------------------------------------------------------------------------- /examples/full-ws-transport/server/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/full-ws-transport/server/index.js -------------------------------------------------------------------------------- /examples/full-ws-transport/server/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "module" 3 | } -------------------------------------------------------------------------------- /examples/full-ws-transport/src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/full-ws-transport/src/App.js -------------------------------------------------------------------------------- /examples/full-ws-transport/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/full-ws-transport/src/index.css -------------------------------------------------------------------------------- /examples/full-ws-transport/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/full-ws-transport/src/index.js -------------------------------------------------------------------------------- /examples/persisted-queries/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/persisted-queries/README.md -------------------------------------------------------------------------------- /examples/persisted-queries/client/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/persisted-queries/client/CHANGELOG.md -------------------------------------------------------------------------------- /examples/persisted-queries/client/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/persisted-queries/client/README.md -------------------------------------------------------------------------------- /examples/persisted-queries/client/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/persisted-queries/client/package.json -------------------------------------------------------------------------------- /examples/persisted-queries/client/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/persisted-queries/client/public/favicon.ico -------------------------------------------------------------------------------- /examples/persisted-queries/client/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/persisted-queries/client/public/index.html -------------------------------------------------------------------------------- /examples/persisted-queries/client/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/persisted-queries/client/public/manifest.json -------------------------------------------------------------------------------- /examples/persisted-queries/client/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/persisted-queries/client/src/App.tsx -------------------------------------------------------------------------------- /examples/persisted-queries/client/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/persisted-queries/client/src/index.css -------------------------------------------------------------------------------- /examples/persisted-queries/client/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/persisted-queries/client/src/index.tsx -------------------------------------------------------------------------------- /examples/persisted-queries/client/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /examples/persisted-queries/client/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/persisted-queries/client/tsconfig.json -------------------------------------------------------------------------------- /examples/persisted-queries/server/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/persisted-queries/server/CHANGELOG.md -------------------------------------------------------------------------------- /examples/persisted-queries/server/apollo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/persisted-queries/server/apollo.ts -------------------------------------------------------------------------------- /examples/persisted-queries/server/mercurius.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/persisted-queries/server/mercurius.ts -------------------------------------------------------------------------------- /examples/persisted-queries/server/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/persisted-queries/server/package-lock.json -------------------------------------------------------------------------------- /examples/persisted-queries/server/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/persisted-queries/server/package.json -------------------------------------------------------------------------------- /examples/persisted-queries/server/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/persisted-queries/server/tsconfig.json -------------------------------------------------------------------------------- /examples/subscription/.gitignore: -------------------------------------------------------------------------------- 1 | votes.json 2 | -------------------------------------------------------------------------------- /examples/subscription/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/subscription/CHANGELOG.md -------------------------------------------------------------------------------- /examples/subscription/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/subscription/README.md -------------------------------------------------------------------------------- /examples/subscription/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/subscription/package.json -------------------------------------------------------------------------------- /examples/subscription/src/client/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/subscription/src/client/App.js -------------------------------------------------------------------------------- /examples/subscription/src/client/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/subscription/src/client/index.js -------------------------------------------------------------------------------- /examples/subscription/src/server/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/subscription/src/server/index.html -------------------------------------------------------------------------------- /examples/subscription/src/server/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/subscription/src/server/index.js -------------------------------------------------------------------------------- /examples/subscription/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/subscription/webpack.config.js -------------------------------------------------------------------------------- /examples/typescript/.env: -------------------------------------------------------------------------------- 1 | SKIP_PREFLIGHT_CHECK=true 2 | -------------------------------------------------------------------------------- /examples/typescript/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/typescript/CHANGELOG.md -------------------------------------------------------------------------------- /examples/typescript/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/typescript/README.md -------------------------------------------------------------------------------- /examples/typescript/codegen.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/typescript/codegen.ts -------------------------------------------------------------------------------- /examples/typescript/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/typescript/package.json -------------------------------------------------------------------------------- /examples/typescript/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/typescript/public/favicon.ico -------------------------------------------------------------------------------- /examples/typescript/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/typescript/public/index.html -------------------------------------------------------------------------------- /examples/typescript/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/typescript/public/manifest.json -------------------------------------------------------------------------------- /examples/typescript/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/typescript/src/App.tsx -------------------------------------------------------------------------------- /examples/typescript/src/gql/fragment-masking.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/typescript/src/gql/fragment-masking.ts -------------------------------------------------------------------------------- /examples/typescript/src/gql/gql.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/typescript/src/gql/gql.ts -------------------------------------------------------------------------------- /examples/typescript/src/gql/graphql.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/typescript/src/gql/graphql.ts -------------------------------------------------------------------------------- /examples/typescript/src/gql/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/typescript/src/gql/index.ts -------------------------------------------------------------------------------- /examples/typescript/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/typescript/src/index.css -------------------------------------------------------------------------------- /examples/typescript/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/typescript/src/index.tsx -------------------------------------------------------------------------------- /examples/typescript/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /examples/typescript/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/examples/typescript/tsconfig.json -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/jest.config.js -------------------------------------------------------------------------------- /lerna.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/lerna.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/package.json -------------------------------------------------------------------------------- /packages/babel-plugin-extract-gql/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/babel-plugin-extract-gql/.babelrc -------------------------------------------------------------------------------- /packages/babel-plugin-extract-gql/.gitignore: -------------------------------------------------------------------------------- 1 | gql-queries.json 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-extract-gql/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/babel-plugin-extract-gql/CHANGELOG.md -------------------------------------------------------------------------------- /packages/babel-plugin-extract-gql/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/babel-plugin-extract-gql/README.md -------------------------------------------------------------------------------- /packages/babel-plugin-extract-gql/examples/mercurius/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/babel-plugin-extract-gql/examples/mercurius/README.md -------------------------------------------------------------------------------- /packages/babel-plugin-extract-gql/examples/mercurius/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/babel-plugin-extract-gql/examples/mercurius/index.js -------------------------------------------------------------------------------- /packages/babel-plugin-extract-gql/examples/mercurius/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/babel-plugin-extract-gql/examples/mercurius/package.json -------------------------------------------------------------------------------- /packages/babel-plugin-extract-gql/examples/proj-a/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/babel-plugin-extract-gql/examples/proj-a/README.md -------------------------------------------------------------------------------- /packages/babel-plugin-extract-gql/examples/proj-a/src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/babel-plugin-extract-gql/examples/proj-a/src/App.js -------------------------------------------------------------------------------- /packages/babel-plugin-extract-gql/examples/proj-a/src/components/MyComp/MyComp.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/babel-plugin-extract-gql/examples/proj-a/src/components/MyComp/MyComp.js -------------------------------------------------------------------------------- /packages/babel-plugin-extract-gql/examples/proj-a/src/components/MyComp/index.js: -------------------------------------------------------------------------------- 1 | export { default } from './MyComp' 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-extract-gql/examples/proj-a/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/babel-plugin-extract-gql/examples/proj-a/src/index.js -------------------------------------------------------------------------------- /packages/babel-plugin-extract-gql/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/babel-plugin-extract-gql/package.json -------------------------------------------------------------------------------- /packages/babel-plugin-extract-gql/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/babel-plugin-extract-gql/src/index.js -------------------------------------------------------------------------------- /packages/babel-plugin-extract-gql/test/unit/fixtures/actual/.4.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/babel-plugin-extract-gql/test/unit/fixtures/actual/.4.js -------------------------------------------------------------------------------- /packages/babel-plugin-extract-gql/test/unit/fixtures/actual/1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/babel-plugin-extract-gql/test/unit/fixtures/actual/1.js -------------------------------------------------------------------------------- /packages/babel-plugin-extract-gql/test/unit/fixtures/actual/2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/babel-plugin-extract-gql/test/unit/fixtures/actual/2.js -------------------------------------------------------------------------------- /packages/babel-plugin-extract-gql/test/unit/fixtures/actual/3.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/babel-plugin-extract-gql/test/unit/fixtures/actual/3.js -------------------------------------------------------------------------------- /packages/babel-plugin-extract-gql/test/unit/fixtures/expected/1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/babel-plugin-extract-gql/test/unit/fixtures/expected/1.js -------------------------------------------------------------------------------- /packages/babel-plugin-extract-gql/test/unit/fixtures/expected/2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/babel-plugin-extract-gql/test/unit/fixtures/expected/2.js -------------------------------------------------------------------------------- /packages/babel-plugin-extract-gql/test/unit/fixtures/expected/3.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/babel-plugin-extract-gql/test/unit/fixtures/expected/3.js -------------------------------------------------------------------------------- /packages/babel-plugin-extract-gql/test/unit/fixtures/expected/4.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/babel-plugin-extract-gql/test/unit/fixtures/expected/4.js -------------------------------------------------------------------------------- /packages/babel-plugin-extract-gql/test/unit/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/babel-plugin-extract-gql/test/unit/index.js -------------------------------------------------------------------------------- /packages/graphql-hooks-memcache/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks-memcache/CHANGELOG.md -------------------------------------------------------------------------------- /packages/graphql-hooks-memcache/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks-memcache/README.md -------------------------------------------------------------------------------- /packages/graphql-hooks-memcache/babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks-memcache/babel.config.js -------------------------------------------------------------------------------- /packages/graphql-hooks-memcache/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks-memcache/index.d.ts -------------------------------------------------------------------------------- /packages/graphql-hooks-memcache/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks-memcache/package.json -------------------------------------------------------------------------------- /packages/graphql-hooks-memcache/rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks-memcache/rollup.config.js -------------------------------------------------------------------------------- /packages/graphql-hooks-memcache/src/fnv1a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks-memcache/src/fnv1a.js -------------------------------------------------------------------------------- /packages/graphql-hooks-memcache/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks-memcache/src/index.js -------------------------------------------------------------------------------- /packages/graphql-hooks-memcache/test/fnv1a.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks-memcache/test/fnv1a.test.ts -------------------------------------------------------------------------------- /packages/graphql-hooks-memcache/test/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks-memcache/test/index.test.ts -------------------------------------------------------------------------------- /packages/graphql-hooks-ssr/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks-ssr/CHANGELOG.md -------------------------------------------------------------------------------- /packages/graphql-hooks-ssr/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks-ssr/README.md -------------------------------------------------------------------------------- /packages/graphql-hooks-ssr/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks-ssr/index.d.ts -------------------------------------------------------------------------------- /packages/graphql-hooks-ssr/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks-ssr/index.js -------------------------------------------------------------------------------- /packages/graphql-hooks-ssr/index.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks-ssr/index.test.tsx -------------------------------------------------------------------------------- /packages/graphql-hooks-ssr/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks-ssr/package.json -------------------------------------------------------------------------------- /packages/graphql-hooks/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/CHANGELOG.md -------------------------------------------------------------------------------- /packages/graphql-hooks/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/package.json -------------------------------------------------------------------------------- /packages/graphql-hooks/rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/rollup.config.js -------------------------------------------------------------------------------- /packages/graphql-hooks/src/.babelrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/src/.babelrc.js -------------------------------------------------------------------------------- /packages/graphql-hooks/src/ClientContext.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/src/ClientContext.ts -------------------------------------------------------------------------------- /packages/graphql-hooks/src/GraphQLClient.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/src/GraphQLClient.ts -------------------------------------------------------------------------------- /packages/graphql-hooks/src/LocalGraphQLClient.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/src/LocalGraphQLClient.ts -------------------------------------------------------------------------------- /packages/graphql-hooks/src/LocalGraphQLError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/src/LocalGraphQLError.ts -------------------------------------------------------------------------------- /packages/graphql-hooks/src/Middleware.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/src/Middleware.js -------------------------------------------------------------------------------- /packages/graphql-hooks/src/canUseDOM.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/src/canUseDOM.js -------------------------------------------------------------------------------- /packages/graphql-hooks/src/createRefetchMutationsMap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/src/createRefetchMutationsMap.ts -------------------------------------------------------------------------------- /packages/graphql-hooks/src/events.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/src/events.ts -------------------------------------------------------------------------------- /packages/graphql-hooks/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/src/index.ts -------------------------------------------------------------------------------- /packages/graphql-hooks/src/isExtractableFileEnhanced.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/src/isExtractableFileEnhanced.ts -------------------------------------------------------------------------------- /packages/graphql-hooks/src/middlewares/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/src/middlewares/README.md -------------------------------------------------------------------------------- /packages/graphql-hooks/src/middlewares/apqMiddleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/src/middlewares/apqMiddleware.ts -------------------------------------------------------------------------------- /packages/graphql-hooks/src/middlewares/examples/cacheMiddleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/src/middlewares/examples/cacheMiddleware.ts -------------------------------------------------------------------------------- /packages/graphql-hooks/src/middlewares/examples/debugMiddleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/src/middlewares/examples/debugMiddleware.ts -------------------------------------------------------------------------------- /packages/graphql-hooks/src/types/common-types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/src/types/common-types.ts -------------------------------------------------------------------------------- /packages/graphql-hooks/src/types/typedDocumentNode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/src/types/typedDocumentNode.ts -------------------------------------------------------------------------------- /packages/graphql-hooks/src/useClientRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/src/useClientRequest.ts -------------------------------------------------------------------------------- /packages/graphql-hooks/src/useDeepCompareCallback.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/src/useDeepCompareCallback.ts -------------------------------------------------------------------------------- /packages/graphql-hooks/src/useManualQuery.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/src/useManualQuery.ts -------------------------------------------------------------------------------- /packages/graphql-hooks/src/useMutation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/src/useMutation.ts -------------------------------------------------------------------------------- /packages/graphql-hooks/src/useQuery.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/src/useQuery.ts -------------------------------------------------------------------------------- /packages/graphql-hooks/src/useQueryClient.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/src/useQueryClient.ts -------------------------------------------------------------------------------- /packages/graphql-hooks/src/useSubscription.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/src/useSubscription.ts -------------------------------------------------------------------------------- /packages/graphql-hooks/src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/src/utils.ts -------------------------------------------------------------------------------- /packages/graphql-hooks/test-jsdom/integration/GraphQLClient.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/test-jsdom/integration/GraphQLClient.test.ts -------------------------------------------------------------------------------- /packages/graphql-hooks/test-jsdom/integration/useManualQuery.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/test-jsdom/integration/useManualQuery.test.tsx -------------------------------------------------------------------------------- /packages/graphql-hooks/test-jsdom/integration/useQuery.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/test-jsdom/integration/useQuery.test.tsx -------------------------------------------------------------------------------- /packages/graphql-hooks/test-jsdom/setup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/test-jsdom/setup.js -------------------------------------------------------------------------------- /packages/graphql-hooks/test-jsdom/unit/GraphQLClient.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/test-jsdom/unit/GraphQLClient.test.ts -------------------------------------------------------------------------------- /packages/graphql-hooks/test-jsdom/unit/LocalGraphQLClient.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/test-jsdom/unit/LocalGraphQLClient.test.tsx -------------------------------------------------------------------------------- /packages/graphql-hooks/test-jsdom/unit/Middleware.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/test-jsdom/unit/Middleware.test.ts -------------------------------------------------------------------------------- /packages/graphql-hooks/test-jsdom/unit/apqMiddleware.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/test-jsdom/unit/apqMiddleware.test.ts -------------------------------------------------------------------------------- /packages/graphql-hooks/test-jsdom/unit/createRefetchMutationsMap.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/test-jsdom/unit/createRefetchMutationsMap.test.ts -------------------------------------------------------------------------------- /packages/graphql-hooks/test-jsdom/unit/useClientRequest.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/test-jsdom/unit/useClientRequest.test.tsx -------------------------------------------------------------------------------- /packages/graphql-hooks/test-jsdom/unit/useDeepCompareCallback.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/test-jsdom/unit/useDeepCompareCallback.test.ts -------------------------------------------------------------------------------- /packages/graphql-hooks/test-jsdom/unit/useManualQuery.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/test-jsdom/unit/useManualQuery.test.ts -------------------------------------------------------------------------------- /packages/graphql-hooks/test-jsdom/unit/useMutation.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/test-jsdom/unit/useMutation.test.tsx -------------------------------------------------------------------------------- /packages/graphql-hooks/test-jsdom/unit/useQuery.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/test-jsdom/unit/useQuery.test.tsx -------------------------------------------------------------------------------- /packages/graphql-hooks/test-jsdom/unit/useQueryClient.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/test-jsdom/unit/useQueryClient.test.tsx -------------------------------------------------------------------------------- /packages/graphql-hooks/test-jsdom/unit/useSubscription.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/test-jsdom/unit/useSubscription.test.tsx -------------------------------------------------------------------------------- /packages/graphql-hooks/test-jsdom/unit/utils.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/test-jsdom/unit/utils.test.ts -------------------------------------------------------------------------------- /packages/graphql-hooks/test-jsdom/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/test-jsdom/utils.ts -------------------------------------------------------------------------------- /packages/graphql-hooks/test-node/GraphQLClient.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/test-node/GraphQLClient.test.ts -------------------------------------------------------------------------------- /packages/graphql-hooks/test-node/sample.txt: -------------------------------------------------------------------------------- 1 | sample -------------------------------------------------------------------------------- /packages/graphql-hooks/test-node/utils.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/test-node/utils.test.ts -------------------------------------------------------------------------------- /packages/graphql-hooks/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nearform/graphql-hooks/HEAD/packages/graphql-hooks/tsconfig.json --------------------------------------------------------------------------------