├── .gitignore ├── README.md ├── generate.sh ├── package.json ├── src ├── config.ts ├── helpers │ ├── concat.js │ ├── each-backwards.js │ ├── index.ts │ ├── io-ts-primitive.js │ ├── io-ts-recursive.js │ ├── multiline-comment.js │ └── subtype-or-primitive.js ├── index.ts └── templates │ ├── createEnum.handlebars │ ├── documents.handlebars │ ├── enum.handlebars │ ├── fragment.handlebars │ ├── index.handlebars │ ├── index.ts │ ├── innerModels.handlebars │ ├── inputFields.handlebars │ ├── iotsFields.handlebars │ ├── operation.handlebars │ ├── outputFields.handlebars │ ├── polyfills.d.ts │ ├── schema.handlebars │ ├── tsFields.handlebars │ └── type.handlebars ├── tests └── example.spec.ts ├── tsconfig.json └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micimize/graphql-to-io-ts/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micimize/graphql-to-io-ts/HEAD/README.md -------------------------------------------------------------------------------- /generate.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micimize/graphql-to-io-ts/HEAD/generate.sh -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micimize/graphql-to-io-ts/HEAD/package.json -------------------------------------------------------------------------------- /src/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micimize/graphql-to-io-ts/HEAD/src/config.ts -------------------------------------------------------------------------------- /src/helpers/concat.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micimize/graphql-to-io-ts/HEAD/src/helpers/concat.js -------------------------------------------------------------------------------- /src/helpers/each-backwards.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micimize/graphql-to-io-ts/HEAD/src/helpers/each-backwards.js -------------------------------------------------------------------------------- /src/helpers/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micimize/graphql-to-io-ts/HEAD/src/helpers/index.ts -------------------------------------------------------------------------------- /src/helpers/io-ts-primitive.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micimize/graphql-to-io-ts/HEAD/src/helpers/io-ts-primitive.js -------------------------------------------------------------------------------- /src/helpers/io-ts-recursive.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micimize/graphql-to-io-ts/HEAD/src/helpers/io-ts-recursive.js -------------------------------------------------------------------------------- /src/helpers/multiline-comment.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micimize/graphql-to-io-ts/HEAD/src/helpers/multiline-comment.js -------------------------------------------------------------------------------- /src/helpers/subtype-or-primitive.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micimize/graphql-to-io-ts/HEAD/src/helpers/subtype-or-primitive.js -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micimize/graphql-to-io-ts/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/templates/createEnum.handlebars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micimize/graphql-to-io-ts/HEAD/src/templates/createEnum.handlebars -------------------------------------------------------------------------------- /src/templates/documents.handlebars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micimize/graphql-to-io-ts/HEAD/src/templates/documents.handlebars -------------------------------------------------------------------------------- /src/templates/enum.handlebars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micimize/graphql-to-io-ts/HEAD/src/templates/enum.handlebars -------------------------------------------------------------------------------- /src/templates/fragment.handlebars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micimize/graphql-to-io-ts/HEAD/src/templates/fragment.handlebars -------------------------------------------------------------------------------- /src/templates/index.handlebars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micimize/graphql-to-io-ts/HEAD/src/templates/index.handlebars -------------------------------------------------------------------------------- /src/templates/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micimize/graphql-to-io-ts/HEAD/src/templates/index.ts -------------------------------------------------------------------------------- /src/templates/innerModels.handlebars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micimize/graphql-to-io-ts/HEAD/src/templates/innerModels.handlebars -------------------------------------------------------------------------------- /src/templates/inputFields.handlebars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micimize/graphql-to-io-ts/HEAD/src/templates/inputFields.handlebars -------------------------------------------------------------------------------- /src/templates/iotsFields.handlebars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micimize/graphql-to-io-ts/HEAD/src/templates/iotsFields.handlebars -------------------------------------------------------------------------------- /src/templates/operation.handlebars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micimize/graphql-to-io-ts/HEAD/src/templates/operation.handlebars -------------------------------------------------------------------------------- /src/templates/outputFields.handlebars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micimize/graphql-to-io-ts/HEAD/src/templates/outputFields.handlebars -------------------------------------------------------------------------------- /src/templates/polyfills.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micimize/graphql-to-io-ts/HEAD/src/templates/polyfills.d.ts -------------------------------------------------------------------------------- /src/templates/schema.handlebars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micimize/graphql-to-io-ts/HEAD/src/templates/schema.handlebars -------------------------------------------------------------------------------- /src/templates/tsFields.handlebars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micimize/graphql-to-io-ts/HEAD/src/templates/tsFields.handlebars -------------------------------------------------------------------------------- /src/templates/type.handlebars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micimize/graphql-to-io-ts/HEAD/src/templates/type.handlebars -------------------------------------------------------------------------------- /tests/example.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micimize/graphql-to-io-ts/HEAD/tests/example.spec.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micimize/graphql-to-io-ts/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micimize/graphql-to-io-ts/HEAD/yarn.lock --------------------------------------------------------------------------------