├── .autorc ├── .eslintignore ├── .eslintrc.js ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.yml │ └── feature_request.yml ├── stale.yml └── workflows │ ├── build.yml │ ├── codeql-analysis.yml │ ├── deploy.yml │ ├── lint.yml │ └── test.yml ├── .gitignore ├── .husky └── pre-commit ├── .prettierrc.js ├── CHANGELOG.md ├── LICENSE ├── README.md ├── jest.config.js ├── package.json ├── src ├── index.ts └── mockValueGenerator.ts ├── tests ├── __snapshots__ │ └── typescript-mock-data.spec.ts.snap ├── enumValues │ ├── __snapshots__ │ │ └── spec.ts.snap │ ├── schema.ts │ └── spec.ts ├── generateLibrary │ ├── casual │ │ ├── __snapshots__ │ │ │ └── spec.ts.snap │ │ └── spec.ts │ ├── faker │ │ ├── __snapshots__ │ │ │ └── spec.ts.snap │ │ └── spec.ts │ ├── schema.ts │ └── types.ts ├── globalSetup.ts ├── perTypeFieldGeneration │ ├── __snapshots__ │ │ └── spec.ts.snap │ ├── schema.ts │ └── spec.ts ├── scalars │ ├── __snapshots__ │ │ └── spec.ts.snap │ ├── schema.ts │ ├── spec.ts │ └── types.ts ├── terminateCircularRelationships │ ├── schema.ts │ ├── spec.ts │ └── types.ts ├── terminateCircularRelationshipsImmediately │ ├── __snapshots__ │ │ └── spec.ts.snap │ ├── schema.ts │ ├── spec.ts │ └── types.ts ├── typeNamesMapping │ ├── schema.ts │ └── spec.ts ├── typesPrefixAndTerminateCircularRelationships │ ├── __snapshots__ │ │ └── spec.ts.snap │ ├── schema.ts │ └── spec.ts ├── typescript-mock-data.spec.ts ├── useImplementingTypes │ ├── __snapshots__ │ │ └── spec.ts.snap │ ├── schema.ts │ └── spec.ts ├── useImplementingTypesAndDefaultNullableToNull │ ├── __snapshots__ │ │ └── spec.ts.snap │ ├── schema.ts │ └── spec.ts ├── useImplementingTypesAndTerminateCircularRelationships │ ├── __snapshots__ │ │ └── spec.ts.snap │ ├── schema.ts │ └── spec.ts └── useTypeImports │ ├── __snapshots__ │ └── spec.ts.snap │ ├── schema.ts │ └── spec.ts ├── tsconfig.json └── yarn.lock /.autorc: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | node_modules -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/.github/ISSUE_TEMPLATE/bug_report.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/.github/ISSUE_TEMPLATE/feature_request.yml -------------------------------------------------------------------------------- /.github/stale.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/.github/stale.yml -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.github/workflows/codeql-analysis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/.github/workflows/codeql-analysis.yml -------------------------------------------------------------------------------- /.github/workflows/deploy.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/.github/workflows/deploy.yml -------------------------------------------------------------------------------- /.github/workflows/lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/.github/workflows/lint.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | yarn lint-staged 5 | -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- 1 | module.exports = require('prettier-config-landr'); 2 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/README.md -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/package.json -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/mockValueGenerator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/src/mockValueGenerator.ts -------------------------------------------------------------------------------- /tests/__snapshots__/typescript-mock-data.spec.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/tests/__snapshots__/typescript-mock-data.spec.ts.snap -------------------------------------------------------------------------------- /tests/enumValues/__snapshots__/spec.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/tests/enumValues/__snapshots__/spec.ts.snap -------------------------------------------------------------------------------- /tests/enumValues/schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/tests/enumValues/schema.ts -------------------------------------------------------------------------------- /tests/enumValues/spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/tests/enumValues/spec.ts -------------------------------------------------------------------------------- /tests/generateLibrary/casual/__snapshots__/spec.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/tests/generateLibrary/casual/__snapshots__/spec.ts.snap -------------------------------------------------------------------------------- /tests/generateLibrary/casual/spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/tests/generateLibrary/casual/spec.ts -------------------------------------------------------------------------------- /tests/generateLibrary/faker/__snapshots__/spec.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/tests/generateLibrary/faker/__snapshots__/spec.ts.snap -------------------------------------------------------------------------------- /tests/generateLibrary/faker/spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/tests/generateLibrary/faker/spec.ts -------------------------------------------------------------------------------- /tests/generateLibrary/schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/tests/generateLibrary/schema.ts -------------------------------------------------------------------------------- /tests/generateLibrary/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/tests/generateLibrary/types.ts -------------------------------------------------------------------------------- /tests/globalSetup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/tests/globalSetup.ts -------------------------------------------------------------------------------- /tests/perTypeFieldGeneration/__snapshots__/spec.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/tests/perTypeFieldGeneration/__snapshots__/spec.ts.snap -------------------------------------------------------------------------------- /tests/perTypeFieldGeneration/schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/tests/perTypeFieldGeneration/schema.ts -------------------------------------------------------------------------------- /tests/perTypeFieldGeneration/spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/tests/perTypeFieldGeneration/spec.ts -------------------------------------------------------------------------------- /tests/scalars/__snapshots__/spec.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/tests/scalars/__snapshots__/spec.ts.snap -------------------------------------------------------------------------------- /tests/scalars/schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/tests/scalars/schema.ts -------------------------------------------------------------------------------- /tests/scalars/spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/tests/scalars/spec.ts -------------------------------------------------------------------------------- /tests/scalars/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/tests/scalars/types.ts -------------------------------------------------------------------------------- /tests/terminateCircularRelationships/schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/tests/terminateCircularRelationships/schema.ts -------------------------------------------------------------------------------- /tests/terminateCircularRelationships/spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/tests/terminateCircularRelationships/spec.ts -------------------------------------------------------------------------------- /tests/terminateCircularRelationships/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/tests/terminateCircularRelationships/types.ts -------------------------------------------------------------------------------- /tests/terminateCircularRelationshipsImmediately/__snapshots__/spec.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/tests/terminateCircularRelationshipsImmediately/__snapshots__/spec.ts.snap -------------------------------------------------------------------------------- /tests/terminateCircularRelationshipsImmediately/schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/tests/terminateCircularRelationshipsImmediately/schema.ts -------------------------------------------------------------------------------- /tests/terminateCircularRelationshipsImmediately/spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/tests/terminateCircularRelationshipsImmediately/spec.ts -------------------------------------------------------------------------------- /tests/terminateCircularRelationshipsImmediately/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/tests/terminateCircularRelationshipsImmediately/types.ts -------------------------------------------------------------------------------- /tests/typeNamesMapping/schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/tests/typeNamesMapping/schema.ts -------------------------------------------------------------------------------- /tests/typeNamesMapping/spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/tests/typeNamesMapping/spec.ts -------------------------------------------------------------------------------- /tests/typesPrefixAndTerminateCircularRelationships/__snapshots__/spec.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/tests/typesPrefixAndTerminateCircularRelationships/__snapshots__/spec.ts.snap -------------------------------------------------------------------------------- /tests/typesPrefixAndTerminateCircularRelationships/schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/tests/typesPrefixAndTerminateCircularRelationships/schema.ts -------------------------------------------------------------------------------- /tests/typesPrefixAndTerminateCircularRelationships/spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/tests/typesPrefixAndTerminateCircularRelationships/spec.ts -------------------------------------------------------------------------------- /tests/typescript-mock-data.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/tests/typescript-mock-data.spec.ts -------------------------------------------------------------------------------- /tests/useImplementingTypes/__snapshots__/spec.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/tests/useImplementingTypes/__snapshots__/spec.ts.snap -------------------------------------------------------------------------------- /tests/useImplementingTypes/schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/tests/useImplementingTypes/schema.ts -------------------------------------------------------------------------------- /tests/useImplementingTypes/spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/tests/useImplementingTypes/spec.ts -------------------------------------------------------------------------------- /tests/useImplementingTypesAndDefaultNullableToNull/__snapshots__/spec.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/tests/useImplementingTypesAndDefaultNullableToNull/__snapshots__/spec.ts.snap -------------------------------------------------------------------------------- /tests/useImplementingTypesAndDefaultNullableToNull/schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/tests/useImplementingTypesAndDefaultNullableToNull/schema.ts -------------------------------------------------------------------------------- /tests/useImplementingTypesAndDefaultNullableToNull/spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/tests/useImplementingTypesAndDefaultNullableToNull/spec.ts -------------------------------------------------------------------------------- /tests/useImplementingTypesAndTerminateCircularRelationships/__snapshots__/spec.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/tests/useImplementingTypesAndTerminateCircularRelationships/__snapshots__/spec.ts.snap -------------------------------------------------------------------------------- /tests/useImplementingTypesAndTerminateCircularRelationships/schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/tests/useImplementingTypesAndTerminateCircularRelationships/schema.ts -------------------------------------------------------------------------------- /tests/useImplementingTypesAndTerminateCircularRelationships/spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/tests/useImplementingTypesAndTerminateCircularRelationships/spec.ts -------------------------------------------------------------------------------- /tests/useTypeImports/__snapshots__/spec.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/tests/useTypeImports/__snapshots__/spec.ts.snap -------------------------------------------------------------------------------- /tests/useTypeImports/schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/tests/useTypeImports/schema.ts -------------------------------------------------------------------------------- /tests/useTypeImports/spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/tests/useTypeImports/spec.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardeois/graphql-codegen-typescript-mock-data/HEAD/yarn.lock --------------------------------------------------------------------------------