├── .babelrc ├── .gitignore ├── .prettierrc ├── .vscode └── launch.json ├── docker-compose.yml ├── package.json ├── preflight.js ├── readme.md ├── sample.env ├── src ├── __tests__ │ ├── prisma.test.ts │ └── schemas │ │ └── test.graphql ├── adapters │ ├── adapter.ts │ ├── hasura.ts │ └── index.ts ├── index.ts ├── interfaces.ts ├── parsers │ ├── index.ts │ ├── parser.ts │ └── prisma.ts ├── run.ts └── util │ └── utils.ts ├── tsconfig.json ├── tslint.json └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woss/graphql-to-sql/HEAD/.babelrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | node_modules 3 | .env 4 | docs 5 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woss/graphql-to-sql/HEAD/.prettierrc -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woss/graphql-to-sql/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woss/graphql-to-sql/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woss/graphql-to-sql/HEAD/package.json -------------------------------------------------------------------------------- /preflight.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woss/graphql-to-sql/HEAD/preflight.js -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woss/graphql-to-sql/HEAD/readme.md -------------------------------------------------------------------------------- /sample.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woss/graphql-to-sql/HEAD/sample.env -------------------------------------------------------------------------------- /src/__tests__/prisma.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woss/graphql-to-sql/HEAD/src/__tests__/prisma.test.ts -------------------------------------------------------------------------------- /src/__tests__/schemas/test.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woss/graphql-to-sql/HEAD/src/__tests__/schemas/test.graphql -------------------------------------------------------------------------------- /src/adapters/adapter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woss/graphql-to-sql/HEAD/src/adapters/adapter.ts -------------------------------------------------------------------------------- /src/adapters/hasura.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woss/graphql-to-sql/HEAD/src/adapters/hasura.ts -------------------------------------------------------------------------------- /src/adapters/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woss/graphql-to-sql/HEAD/src/adapters/index.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woss/graphql-to-sql/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/interfaces.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woss/graphql-to-sql/HEAD/src/interfaces.ts -------------------------------------------------------------------------------- /src/parsers/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woss/graphql-to-sql/HEAD/src/parsers/index.ts -------------------------------------------------------------------------------- /src/parsers/parser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woss/graphql-to-sql/HEAD/src/parsers/parser.ts -------------------------------------------------------------------------------- /src/parsers/prisma.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woss/graphql-to-sql/HEAD/src/parsers/prisma.ts -------------------------------------------------------------------------------- /src/run.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woss/graphql-to-sql/HEAD/src/run.ts -------------------------------------------------------------------------------- /src/util/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woss/graphql-to-sql/HEAD/src/util/utils.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woss/graphql-to-sql/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woss/graphql-to-sql/HEAD/tslint.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woss/graphql-to-sql/HEAD/yarn.lock --------------------------------------------------------------------------------