├── .eslintignore ├── .gitattributes ├── .gitignore ├── .prettierrc.js ├── CHANGELOG.md ├── LICENSE.md ├── README.md ├── index.d.ts ├── index.js ├── index.ts ├── package.json ├── test.js ├── tests ├── animal │ ├── schema.graphql.diff │ ├── schema.simplified.graphql │ ├── schema.sql │ └── schema.unsimplified.graphql ├── companies │ ├── schema.graphql.diff │ ├── schema.simplified.graphql │ ├── schema.sql │ └── schema.unsimplified.graphql ├── fish │ ├── schema.graphql.diff │ ├── schema.simplified.graphql │ ├── schema.sql │ └── schema.unsimplified.graphql ├── issue_29 │ ├── schema.graphql.diff │ ├── schema.simplified.graphql │ ├── schema.sql │ └── schema.unsimplified.graphql ├── list_suffix_omit │ ├── schema.graphql.diff │ ├── schema.simplified.graphql │ ├── schema.sql │ ├── schema.unsimplified.graphql │ └── settings.json ├── multikey_refs │ ├── schema.graphql.diff │ ├── schema.simplified.graphql │ ├── schema.sql │ └── schema.unsimplified.graphql └── pg_omit_list_suffix │ ├── schema.graphql.diff │ ├── schema.simplified.graphql │ ├── schema.sql │ ├── schema.unsimplified.graphql │ └── settings.json ├── tsconfig.json └── yarn.lock /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/pg-simplify-inflector/HEAD/.eslintignore -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/pg-simplify-inflector/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/pg-simplify-inflector/HEAD/.prettierrc.js -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/pg-simplify-inflector/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/pg-simplify-inflector/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/pg-simplify-inflector/HEAD/README.md -------------------------------------------------------------------------------- /index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/pg-simplify-inflector/HEAD/index.d.ts -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/pg-simplify-inflector/HEAD/index.js -------------------------------------------------------------------------------- /index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/pg-simplify-inflector/HEAD/index.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/pg-simplify-inflector/HEAD/package.json -------------------------------------------------------------------------------- /test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/pg-simplify-inflector/HEAD/test.js -------------------------------------------------------------------------------- /tests/animal/schema.graphql.diff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/pg-simplify-inflector/HEAD/tests/animal/schema.graphql.diff -------------------------------------------------------------------------------- /tests/animal/schema.simplified.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/pg-simplify-inflector/HEAD/tests/animal/schema.simplified.graphql -------------------------------------------------------------------------------- /tests/animal/schema.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/pg-simplify-inflector/HEAD/tests/animal/schema.sql -------------------------------------------------------------------------------- /tests/animal/schema.unsimplified.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/pg-simplify-inflector/HEAD/tests/animal/schema.unsimplified.graphql -------------------------------------------------------------------------------- /tests/companies/schema.graphql.diff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/pg-simplify-inflector/HEAD/tests/companies/schema.graphql.diff -------------------------------------------------------------------------------- /tests/companies/schema.simplified.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/pg-simplify-inflector/HEAD/tests/companies/schema.simplified.graphql -------------------------------------------------------------------------------- /tests/companies/schema.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/pg-simplify-inflector/HEAD/tests/companies/schema.sql -------------------------------------------------------------------------------- /tests/companies/schema.unsimplified.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/pg-simplify-inflector/HEAD/tests/companies/schema.unsimplified.graphql -------------------------------------------------------------------------------- /tests/fish/schema.graphql.diff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/pg-simplify-inflector/HEAD/tests/fish/schema.graphql.diff -------------------------------------------------------------------------------- /tests/fish/schema.simplified.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/pg-simplify-inflector/HEAD/tests/fish/schema.simplified.graphql -------------------------------------------------------------------------------- /tests/fish/schema.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/pg-simplify-inflector/HEAD/tests/fish/schema.sql -------------------------------------------------------------------------------- /tests/fish/schema.unsimplified.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/pg-simplify-inflector/HEAD/tests/fish/schema.unsimplified.graphql -------------------------------------------------------------------------------- /tests/issue_29/schema.graphql.diff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/pg-simplify-inflector/HEAD/tests/issue_29/schema.graphql.diff -------------------------------------------------------------------------------- /tests/issue_29/schema.simplified.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/pg-simplify-inflector/HEAD/tests/issue_29/schema.simplified.graphql -------------------------------------------------------------------------------- /tests/issue_29/schema.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/pg-simplify-inflector/HEAD/tests/issue_29/schema.sql -------------------------------------------------------------------------------- /tests/issue_29/schema.unsimplified.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/pg-simplify-inflector/HEAD/tests/issue_29/schema.unsimplified.graphql -------------------------------------------------------------------------------- /tests/list_suffix_omit/schema.graphql.diff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/pg-simplify-inflector/HEAD/tests/list_suffix_omit/schema.graphql.diff -------------------------------------------------------------------------------- /tests/list_suffix_omit/schema.simplified.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/pg-simplify-inflector/HEAD/tests/list_suffix_omit/schema.simplified.graphql -------------------------------------------------------------------------------- /tests/list_suffix_omit/schema.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/pg-simplify-inflector/HEAD/tests/list_suffix_omit/schema.sql -------------------------------------------------------------------------------- /tests/list_suffix_omit/schema.unsimplified.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/pg-simplify-inflector/HEAD/tests/list_suffix_omit/schema.unsimplified.graphql -------------------------------------------------------------------------------- /tests/list_suffix_omit/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "disableDefaultMutations": true 3 | } 4 | -------------------------------------------------------------------------------- /tests/multikey_refs/schema.graphql.diff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/pg-simplify-inflector/HEAD/tests/multikey_refs/schema.graphql.diff -------------------------------------------------------------------------------- /tests/multikey_refs/schema.simplified.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/pg-simplify-inflector/HEAD/tests/multikey_refs/schema.simplified.graphql -------------------------------------------------------------------------------- /tests/multikey_refs/schema.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/pg-simplify-inflector/HEAD/tests/multikey_refs/schema.sql -------------------------------------------------------------------------------- /tests/multikey_refs/schema.unsimplified.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/pg-simplify-inflector/HEAD/tests/multikey_refs/schema.unsimplified.graphql -------------------------------------------------------------------------------- /tests/pg_omit_list_suffix/schema.graphql.diff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/pg-simplify-inflector/HEAD/tests/pg_omit_list_suffix/schema.graphql.diff -------------------------------------------------------------------------------- /tests/pg_omit_list_suffix/schema.simplified.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/pg-simplify-inflector/HEAD/tests/pg_omit_list_suffix/schema.simplified.graphql -------------------------------------------------------------------------------- /tests/pg_omit_list_suffix/schema.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/pg-simplify-inflector/HEAD/tests/pg_omit_list_suffix/schema.sql -------------------------------------------------------------------------------- /tests/pg_omit_list_suffix/schema.unsimplified.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/pg-simplify-inflector/HEAD/tests/pg_omit_list_suffix/schema.unsimplified.graphql -------------------------------------------------------------------------------- /tests/pg_omit_list_suffix/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/pg-simplify-inflector/HEAD/tests/pg_omit_list_suffix/settings.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/pg-simplify-inflector/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/pg-simplify-inflector/HEAD/yarn.lock --------------------------------------------------------------------------------