├── .circleci └── config.yml ├── .editorconfig ├── .gitignore ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── code-of-conduct.md ├── package.json ├── rollup.config.ts ├── src ├── RewriteHandler.ts ├── ast.ts ├── index.ts ├── matchConditions │ ├── fragmentMatchCondition.ts │ ├── index.ts │ ├── matchCondition.ts │ ├── mutationMatchCondition.ts │ ├── operationMatchCondition.ts │ └── queryMatchCondition.ts ├── rewriters │ ├── FieldArgNameRewriter.ts │ ├── FieldArgTypeRewriter.ts │ ├── FieldArgsToInputTypeRewriter.ts │ ├── JsonToTypedObjectRewriter.ts │ ├── NestFieldOutputsRewriter.ts │ ├── Rewriter.ts │ ├── ScalarFieldToObjectFieldRewriter.ts │ └── index.ts └── utils.ts ├── test ├── ast.test.ts ├── functional │ ├── fragmentMatchCondition.test.ts │ ├── matchCondition.test.ts │ ├── mutationMatchCondition.test.ts │ ├── queryMatchCondition.test.ts │ ├── rewriteFieldArgName.test.ts │ ├── rewriteFieldArgType.test.ts │ ├── rewriteFieldArgsToInputType.test.ts │ ├── rewriteJsonToTypedObjectRewriter.test.ts │ ├── rewriteNestFieldOutputs.test.ts │ ├── rewriteScalarFieldToObjectField.test.ts │ └── rewriter.test.ts ├── testUtils.ts └── utils.test.ts ├── tools ├── gh-pages-publish.ts └── semantic-release-prepare.ts ├── tsconfig.json ├── tslint.json └── yarn.lock /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphql-query-rewriter/core/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphql-query-rewriter/core/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphql-query-rewriter/core/HEAD/.gitignore -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphql-query-rewriter/core/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphql-query-rewriter/core/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphql-query-rewriter/core/HEAD/README.md -------------------------------------------------------------------------------- /code-of-conduct.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphql-query-rewriter/core/HEAD/code-of-conduct.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphql-query-rewriter/core/HEAD/package.json -------------------------------------------------------------------------------- /rollup.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphql-query-rewriter/core/HEAD/rollup.config.ts -------------------------------------------------------------------------------- /src/RewriteHandler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphql-query-rewriter/core/HEAD/src/RewriteHandler.ts -------------------------------------------------------------------------------- /src/ast.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphql-query-rewriter/core/HEAD/src/ast.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphql-query-rewriter/core/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/matchConditions/fragmentMatchCondition.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphql-query-rewriter/core/HEAD/src/matchConditions/fragmentMatchCondition.ts -------------------------------------------------------------------------------- /src/matchConditions/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphql-query-rewriter/core/HEAD/src/matchConditions/index.ts -------------------------------------------------------------------------------- /src/matchConditions/matchCondition.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphql-query-rewriter/core/HEAD/src/matchConditions/matchCondition.ts -------------------------------------------------------------------------------- /src/matchConditions/mutationMatchCondition.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphql-query-rewriter/core/HEAD/src/matchConditions/mutationMatchCondition.ts -------------------------------------------------------------------------------- /src/matchConditions/operationMatchCondition.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphql-query-rewriter/core/HEAD/src/matchConditions/operationMatchCondition.ts -------------------------------------------------------------------------------- /src/matchConditions/queryMatchCondition.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphql-query-rewriter/core/HEAD/src/matchConditions/queryMatchCondition.ts -------------------------------------------------------------------------------- /src/rewriters/FieldArgNameRewriter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphql-query-rewriter/core/HEAD/src/rewriters/FieldArgNameRewriter.ts -------------------------------------------------------------------------------- /src/rewriters/FieldArgTypeRewriter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphql-query-rewriter/core/HEAD/src/rewriters/FieldArgTypeRewriter.ts -------------------------------------------------------------------------------- /src/rewriters/FieldArgsToInputTypeRewriter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphql-query-rewriter/core/HEAD/src/rewriters/FieldArgsToInputTypeRewriter.ts -------------------------------------------------------------------------------- /src/rewriters/JsonToTypedObjectRewriter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphql-query-rewriter/core/HEAD/src/rewriters/JsonToTypedObjectRewriter.ts -------------------------------------------------------------------------------- /src/rewriters/NestFieldOutputsRewriter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphql-query-rewriter/core/HEAD/src/rewriters/NestFieldOutputsRewriter.ts -------------------------------------------------------------------------------- /src/rewriters/Rewriter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphql-query-rewriter/core/HEAD/src/rewriters/Rewriter.ts -------------------------------------------------------------------------------- /src/rewriters/ScalarFieldToObjectFieldRewriter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphql-query-rewriter/core/HEAD/src/rewriters/ScalarFieldToObjectFieldRewriter.ts -------------------------------------------------------------------------------- /src/rewriters/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphql-query-rewriter/core/HEAD/src/rewriters/index.ts -------------------------------------------------------------------------------- /src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphql-query-rewriter/core/HEAD/src/utils.ts -------------------------------------------------------------------------------- /test/ast.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphql-query-rewriter/core/HEAD/test/ast.test.ts -------------------------------------------------------------------------------- /test/functional/fragmentMatchCondition.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphql-query-rewriter/core/HEAD/test/functional/fragmentMatchCondition.test.ts -------------------------------------------------------------------------------- /test/functional/matchCondition.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphql-query-rewriter/core/HEAD/test/functional/matchCondition.test.ts -------------------------------------------------------------------------------- /test/functional/mutationMatchCondition.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphql-query-rewriter/core/HEAD/test/functional/mutationMatchCondition.test.ts -------------------------------------------------------------------------------- /test/functional/queryMatchCondition.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphql-query-rewriter/core/HEAD/test/functional/queryMatchCondition.test.ts -------------------------------------------------------------------------------- /test/functional/rewriteFieldArgName.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphql-query-rewriter/core/HEAD/test/functional/rewriteFieldArgName.test.ts -------------------------------------------------------------------------------- /test/functional/rewriteFieldArgType.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphql-query-rewriter/core/HEAD/test/functional/rewriteFieldArgType.test.ts -------------------------------------------------------------------------------- /test/functional/rewriteFieldArgsToInputType.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphql-query-rewriter/core/HEAD/test/functional/rewriteFieldArgsToInputType.test.ts -------------------------------------------------------------------------------- /test/functional/rewriteJsonToTypedObjectRewriter.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphql-query-rewriter/core/HEAD/test/functional/rewriteJsonToTypedObjectRewriter.test.ts -------------------------------------------------------------------------------- /test/functional/rewriteNestFieldOutputs.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphql-query-rewriter/core/HEAD/test/functional/rewriteNestFieldOutputs.test.ts -------------------------------------------------------------------------------- /test/functional/rewriteScalarFieldToObjectField.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphql-query-rewriter/core/HEAD/test/functional/rewriteScalarFieldToObjectField.test.ts -------------------------------------------------------------------------------- /test/functional/rewriter.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphql-query-rewriter/core/HEAD/test/functional/rewriter.test.ts -------------------------------------------------------------------------------- /test/testUtils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphql-query-rewriter/core/HEAD/test/testUtils.ts -------------------------------------------------------------------------------- /test/utils.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphql-query-rewriter/core/HEAD/test/utils.test.ts -------------------------------------------------------------------------------- /tools/gh-pages-publish.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphql-query-rewriter/core/HEAD/tools/gh-pages-publish.ts -------------------------------------------------------------------------------- /tools/semantic-release-prepare.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphql-query-rewriter/core/HEAD/tools/semantic-release-prepare.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphql-query-rewriter/core/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphql-query-rewriter/core/HEAD/tslint.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphql-query-rewriter/core/HEAD/yarn.lock --------------------------------------------------------------------------------